Skip to content

Commit

Permalink
remove xtend dep, closes #1044
Browse files Browse the repository at this point in the history
  • Loading branch information
joehand committed Feb 21, 2019
1 parent ef4b5cf commit 3ccd79d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@
"speedometer": "^1.1.0",
"subcommand": "^2.1.0",
"throttle": "^1.0.3",
"update-notifier": "^2.3.0",
"xtend": "^4.0.1"
"update-notifier": "^2.3.0"
},
"devDependencies": {
"cross-zip-cli": "^1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/commands/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function publish (opts) {
var prompt = require('prompt')
var chalk = require('chalk')
var DatJson = require('dat-json')
var xtend = require('xtend')
var xtend = Object.assign
var Registry = require('../registry')

if (!opts.dir) opts.dir = process.cwd()
Expand Down
2 changes: 1 addition & 1 deletion src/registry.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var xtend = require('xtend')
var xtend = Object.assign
var RegistryClient = require('dat-registry')

module.exports = function (opts) {
Expand Down

0 comments on commit 3ccd79d

Please sign in to comment.