Skip to content

Commit 4d2cfb8

Browse files
committed
Remove dependency
1 parent 7ed2f1e commit 4d2cfb8

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ var find = require('property-information/find')
66
var ns = require('web-namespaces')
77
var s = require('hastscript/svg')
88
var h = require('hastscript')
9-
var xtend = require('xtend')
109
var count = require('ccount')
1110

1211
module.exports = wrapper
@@ -191,7 +190,7 @@ function location(node, location, config) {
191190
reference.position &&
192191
reference.position.end
193192
) {
194-
pos.end = xtend(reference.position.end)
193+
pos.end = Object.assign({}, reference.position.end)
195194
}
196195

197196
if (verbose) {

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@
3434
"hastscript": "^5.0.0",
3535
"property-information": "^5.0.0",
3636
"vfile": "^4.0.0",
37-
"web-namespaces": "^1.0.0",
38-
"xtend": "^4.0.0"
37+
"web-namespaces": "^1.0.0"
3938
},
4039
"devDependencies": {
4140
"browserify": "^16.0.0",

0 commit comments

Comments
 (0)