Remove `ensure-error` and `clean-error` dependency

It potentially could leak information from serialized non-errors that are thrown
due to `util.inspect`.
This commit is contained in:
Daniel Gasienica 2018-03-08 17:38:05 -05:00
parent c7305db8c8
commit c317f34f67
2 changed files with 3 additions and 15 deletions

View File

@ -52,13 +52,12 @@
"electron-config": "^1.0.0",
"electron-editor-context-menu": "^1.1.1",
"electron-is-dev": "^0.3.0",
"electron-unhandled": "https://github.com/gasi/electron-unhandled.git#dfb5d7688c3e1659ace7beaabacc0f547488dea1",
"electron-unhandled": "https://github.com/gasi/electron-unhandled.git#1edf81fe542e505368fafaeef27609dc21678f8c",
"electron-updater": "^2.21.0",
"emoji-datasource": "4.0.0",
"emoji-datasource-apple": "4.0.0",
"emoji-js": "^3.4.0",
"emoji-panel": "https://github.com/scottnonnenberg/emoji-panel.git#v0.5.5",
"ensure-error": "^1.0.0",
"firstline": "^1.2.1",
"form-data": "^2.3.2",
"google-libphonenumber": "^3.0.7",

View File

@ -785,10 +785,6 @@ circular-json@^0.3.1:
version "0.3.3"
resolved "https://registry.yarnpkg.com/circular-json/-/circular-json-0.3.3.tgz#815c99ea84f6809529d2f45791bdf82711352d66"
clean-stack@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-1.3.0.tgz#9e821501ae979986c46b1d66d2d432db2fd4ae31"
cli-boxes@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/cli-boxes/-/cli-boxes-1.0.0.tgz#4fa917c3e59c94a004cd61f8ee509da651687143"
@ -1542,12 +1538,9 @@ electron-publisher-s3@^20.2.0:
fs-extra-p "^4.5.2"
mime "^2.2.0"
"electron-unhandled@https://github.com/gasi/electron-unhandled.git#dfb5d7688c3e1659ace7beaabacc0f547488dea1":
"electron-unhandled@https://github.com/gasi/electron-unhandled.git#1edf81fe542e505368fafaeef27609dc21678f8c":
version "1.0.0"
resolved "https://github.com/gasi/electron-unhandled.git#dfb5d7688c3e1659ace7beaabacc0f547488dea1"
dependencies:
clean-stack "^1.3.0"
ensure-error "^1.0.0"
resolved "https://github.com/gasi/electron-unhandled.git#1edf81fe542e505368fafaeef27609dc21678f8c"
electron-updater@^2.21.0:
version "2.21.0"
@ -1603,10 +1596,6 @@ end-of-stream@^1.0.0:
dependencies:
once "^1.4.0"
ensure-error@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/ensure-error/-/ensure-error-1.0.0.tgz#c54c13329132cad06f847423b52c22fd88099d0d"
entities@1.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/entities/-/entities-1.0.0.tgz#b2987aa3821347fcde642b24fdfc9e4fb712bf26"