Skip to content

Commit

Permalink
fix: update dependencies and prevent npm errors (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
roperzh committed Mar 18, 2020
1 parent 8acceef commit 78720b0
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 18 deletions.
3 changes: 1 addition & 2 deletions src/cli/cli-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
"fs-extra": "^7.0.1",
"package-json": "^6.3.0",
"server-destroy": "^1.0.1",
"stack-trace": "^0.0.10",
"typed-errors": "^1.1.0"
"stack-trace": "^0.0.10"
},
"publishConfig": {
"access": "public"
Expand Down
6 changes: 3 additions & 3 deletions src/cli/cli-core/src/errors.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {makeTypedError} from 'typed-errors';

/**
* A typed error for unauthorized requests.
* @ignore
*/
export const UnauthorizedRequestException = makeTypedError('UnauthorizedRequestException');
export class UnauthorizedRequestException extends Error {
name = 'UnauthorizedRequestException';
}
4 changes: 2 additions & 2 deletions src/utils/createproject/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
"change-case": "^3.1.0",
"enquirer": "^2.3.0",
"fs-extra": "^7.0.1",
"tar": "^4.4.8",
"tar": "^6.0.1",
"validate-npm-package-name": "^3.0.0"
},
"devDependencies": {
"@diez/test-utils": "^10.4.0-beta.0",
"@types/jest": "^24.0.11",
"@types/tar": "^4.0.0",
"@types/tar": "^4.0.3",
"istanbul-reporter-cobertura-haiku": "^1.0.4",
"jest": "^24.7.1",
"jest-tap-reporter": "^1.9.0",
Expand Down
49 changes: 38 additions & 11 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1495,7 +1495,7 @@
version "10.3.1"
resolved "https://registry.yarnpkg.com/@diez/framework-core/-/framework-core-10.3.1.tgz#8153a15d496cf98cb2c1919c2f28975e3ed9385b"

"@diez/web-sdk-common@^10.1.0", "@diez/web-sdk-common@^10.3.1":
"@diez/web-sdk-common@^10.1.0":
version "10.3.1"
resolved "https://registry.yarnpkg.com/@diez/web-sdk-common/-/web-sdk-common-10.3.1.tgz#b6ad12a16822d29497f21a2e309a1b4580d34b9b"
dependencies:
Expand Down Expand Up @@ -2813,6 +2813,12 @@
version "3.0.3"
resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d"

"@types/minipass@*":
version "2.2.0"
resolved "https://registry.yarnpkg.com/@types/minipass/-/minipass-2.2.0.tgz#51ad404e8eb1fa961f75ec61205796807b6f9651"
dependencies:
"@types/node" "*"

"@types/node-fetch@^2.3.3":
version "2.3.3"
resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.3.3.tgz#eb9c2a0ce8e9424ebe0c0cbe6f1e8ea7576c1310"
Expand Down Expand Up @@ -2894,10 +2900,11 @@
version "1.0.4"
resolved "https://registry.yarnpkg.com/@types/tapable/-/tapable-1.0.4.tgz#b4ffc7dc97b498c969b360a41eee247f82616370"

"@types/tar@^4.0.0":
version "4.0.0"
resolved "https://registry.yarnpkg.com/@types/tar/-/tar-4.0.0.tgz#e3239d969eeb693a012200613860d0eb871c94f0"
"@types/tar@^4.0.3":
version "4.0.3"
resolved "https://registry.yarnpkg.com/@types/tar/-/tar-4.0.3.tgz#e2cce0b8ff4f285293243f5971bd7199176ac489"
dependencies:
"@types/minipass" "*"
"@types/node" "*"

"@types/tough-cookie@*":
Expand Down Expand Up @@ -4501,6 +4508,10 @@ chownr@^1.1.2:
version "1.1.3"
resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.3.tgz#42d837d5239688d55f303003a508230fa6727142"

chownr@^1.1.3:
version "1.1.4"
resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b"

chrome-trace-event@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.2.tgz#234090ee97c7d4ad1a2c4beae27505deffc608a4"
Expand Down Expand Up @@ -10156,6 +10167,13 @@ minizlib@^1.1.1:
dependencies:
minipass "^2.2.1"

minizlib@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-2.1.0.tgz#fd52c645301ef09a63a2c209697c294c6ce02cf3"
dependencies:
minipass "^3.0.0"
yallist "^4.0.0"

mississippi@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/mississippi/-/mississippi-3.0.0.tgz#ea0a3291f97e0b5e8776b363d5f0a12d94c67022"
Expand Down Expand Up @@ -10195,6 +10213,10 @@ mkdirp@0.5.1, mkdirp@0.5.x, mkdirp@0.x, "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@
dependencies:
minimist "0.0.8"

mkdirp@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.3.tgz#4cf2e30ad45959dddea53ad97d518b6c8205e1ea"

modify-values@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022"
Expand Down Expand Up @@ -13989,6 +14011,17 @@ tar@^4, tar@^4.4.8:
safe-buffer "^5.1.2"
yallist "^3.0.2"

tar@^6.0.1:
version "6.0.1"
resolved "https://registry.yarnpkg.com/tar/-/tar-6.0.1.tgz#7b3bd6c313cb6e0153770108f8d70ac298607efa"
dependencies:
chownr "^1.1.3"
fs-minipass "^2.0.0"
minipass "^3.0.0"
minizlib "^2.1.0"
mkdirp "^1.0.3"
yallist "^4.0.0"

temp-dir@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/temp-dir/-/temp-dir-1.0.0.tgz#0a7c0ea26d3a39afa7e0ebea9c1fc0bc4daa011d"
Expand Down Expand Up @@ -14426,12 +14459,6 @@ type@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/type/-/type-2.0.0.tgz#5f16ff6ef2eb44f260494dae271033b29c09a9c3"

typed-errors@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/typed-errors/-/typed-errors-1.1.0.tgz#89d5a0b83d3550fed6099c9f13a57badec10a330"
dependencies:
underscore "^1.8.3"

typedarray@^0.0.6:
version "0.0.6"
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
Expand Down Expand Up @@ -14525,7 +14552,7 @@ unc-path-regex@^0.1.2:
version "0.1.2"
resolved "https://registry.yarnpkg.com/unc-path-regex/-/unc-path-regex-0.1.2.tgz#e73dd3d7b0d7c5ed86fbac6b0ae7d8c6a69d50fa"

underscore@>=1.8.3, underscore@^1.8.3, underscore@^1.9.1, underscore@~1.9.1:
underscore@>=1.8.3, underscore@^1.9.1, underscore@~1.9.1:
version "1.9.1"
resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.9.1.tgz#06dce34a0e68a7babc29b365b8e74b8925203961"

Expand Down

0 comments on commit 78720b0

Please sign in to comment.