Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove xtend dep, closes #1044 #1065

Merged
merged 2 commits into from
Apr 3, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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