From 18a56c2fab6110be9b3687ae5aaa73e89a12059b Mon Sep 17 00:00:00 2001 From: Nate Fischer Date: Thu, 29 Nov 2018 03:54:09 -0800 Subject: [PATCH] chore: remove es6-object-assign dependency (#152) No change to logic, this just removes a dependency because we target node >= v4 (which already supports Object.assign). Fixes #146 --- package-lock.json | 5 ----- package.json | 1 - src/shx.js | 2 -- 3 files changed, 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1b91ad3..f8bf0fc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1274,11 +1274,6 @@ "event-emitter": "~0.3.5" } }, - "es6-object-assign": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/es6-object-assign/-/es6-object-assign-1.1.0.tgz", - "integrity": "sha1-wsNYJlYkfDnqEHyx5mUrb58kUjw=" - }, "es6-set": { "version": "0.1.5", "resolved": "https://registry.npmjs.org/es6-set/-/es6-set-0.1.5.tgz", diff --git a/package.json b/package.json index c072e56..8456ed2 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,6 @@ "watch": "^1.0.2" }, "dependencies": { - "es6-object-assign": "^1.0.3", "minimist": "^1.2.0", "shelljs": "^0.8.1" }, diff --git a/src/shx.js b/src/shx.js index 2a79c07..6595752 100644 --- a/src/shx.js +++ b/src/shx.js @@ -6,8 +6,6 @@ import { CMD_BLACKLIST, EXIT_CODES, CONFIG_FILE } from './config'; import { printCmdRet } from './printCmdRet'; import path from 'path'; import fs from 'fs'; -import objAssign from 'es6-object-assign'; -objAssign.polyfill(); // modifies the global object shell.help = help;