Skip to content

Commit

Permalink
remove xtend dep, closes #1044 (#1065)
Browse files Browse the repository at this point in the history
* remove xtend dep, closes #1044

* update deps to non-xtend versions
  • Loading branch information
joehand committed Apr 3, 2019
1 parent 51302d9 commit c68f2f5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
17 changes: 8 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@
"bytes": "^3.1.0",
"chalk": "^2.4.2",
"cli-truncate": "^1.0.0",
"dat-doctor": "^2.1.1",
"dat-doctor": "^2.1.2",
"dat-encoding": "^5.0.1",
"dat-json": "^1.0.0",
"dat-link-resolve": "^2.2.0",
"dat-json": "^1.0.3",
"dat-link-resolve": "^2.3.0",
"dat-log": "^1.2.0",
"dat-node": "^3.5.11",
"dat-registry": "^4.0.0",
"dat-registry": "^4.0.1",
"debug": "^4.0.0",
"neat-log": "^3.1.0",
"prettier-bytes": "^1.0.3",
Expand All @@ -55,19 +55,18 @@
"pump": "^3.0.0",
"rimraf": "^2.6.3",
"speedometer": "^1.1.0",
"subcommand": "^2.1.0",
"subcommand": "^2.1.1",
"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",
"dependency-check": "^3.3.0",
"hypercore": "^6.25.0",
"hyperdiscovery": "^8.0.0",
"mkdirp": "^0.5.1",
"pkg": "^4.3.3",
"random-access-memory": "^3.0.0",
"pkg": "^4.3.7",
"random-access-memory": "^3.1.1",
"recursive-readdir-sync": "^1.0.6",
"request": "^2.88.0",
"standard": "^12.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 c68f2f5

Please sign in to comment.