Skip to content

Commit

Permalink
upgrade nanoid to v4 (#3904)
Browse files Browse the repository at this point in the history
`nanoid` recently released a new ESM-only version.
  • Loading branch information
aduh95 committed Jul 26, 2022
1 parent 0689f83 commit c838453
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 11 deletions.
2 changes: 1 addition & 1 deletion packages/@uppy/aws-s3/package.json
Expand Up @@ -26,7 +26,7 @@
"@uppy/companion-client": "workspace:^",
"@uppy/utils": "workspace:^",
"@uppy/xhr-upload": "workspace:^",
"nanoid": "^3.1.25"
"nanoid": "^4.0.0"
},
"devDependencies": {
"@jest/globals": "^27.4.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/@uppy/core/package.json
Expand Up @@ -27,7 +27,7 @@
"lodash.throttle": "^4.1.1",
"mime-match": "^1.0.2",
"namespace-emitter": "^2.0.1",
"nanoid": "^3.1.25",
"nanoid": "^4.0.0",
"preact": "^10.5.13"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/@uppy/dashboard/package.json
Expand Up @@ -33,7 +33,7 @@
"is-shallow-equal": "^1.0.1",
"lodash.debounce": "^4.0.8",
"memoize-one": "^5.0.4",
"nanoid": "^3.1.25",
"nanoid": "^4.0.0",
"preact": "^10.5.13"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/@uppy/store-redux/package.json
Expand Up @@ -21,7 +21,7 @@
"url": "git+https://github.com/transloadit/uppy.git"
},
"dependencies": {
"nanoid": "^3.1.25"
"nanoid": "^4.0.0"
},
"devDependencies": {
"@jest/globals": "^27.4.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/@uppy/xhr-upload/package.json
Expand Up @@ -27,7 +27,7 @@
"dependencies": {
"@uppy/companion-client": "workspace:^",
"@uppy/utils": "workspace:^",
"nanoid": "^3.1.25"
"nanoid": "^4.0.0"
},
"devDependencies": {
"@jest/globals": "^27.4.2",
Expand Down
21 changes: 15 additions & 6 deletions yarn.lock
Expand Up @@ -10104,7 +10104,7 @@ __metadata:
"@uppy/companion-client": "workspace:^"
"@uppy/utils": "workspace:^"
"@uppy/xhr-upload": "workspace:^"
nanoid: ^3.1.25
nanoid: ^4.0.0
whatwg-fetch: 3.6.2
peerDependencies:
"@uppy/core": "workspace:^"
Expand Down Expand Up @@ -10226,7 +10226,7 @@ __metadata:
lodash.throttle: ^4.1.1
mime-match: ^1.0.2
namespace-emitter: ^2.0.1
nanoid: ^3.1.25
nanoid: ^4.0.0
preact: ^10.5.13
languageName: unknown
linkType: soft
Expand All @@ -10247,7 +10247,7 @@ __metadata:
is-shallow-equal: ^1.0.1
lodash.debounce: ^4.0.8
memoize-one: ^5.0.4
nanoid: ^3.1.25
nanoid: ^4.0.0
preact: ^10.5.13
resize-observer-polyfill: ^1.5.0
peerDependencies:
Expand Down Expand Up @@ -10559,7 +10559,7 @@ __metadata:
resolution: "@uppy/store-redux@workspace:packages/@uppy/store-redux"
dependencies:
"@jest/globals": ^27.4.2
nanoid: ^3.1.25
nanoid: ^4.0.0
redux: 4.0.5
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -10698,7 +10698,7 @@ __metadata:
"@jest/globals": ^27.4.2
"@uppy/companion-client": "workspace:^"
"@uppy/utils": "workspace:^"
nanoid: ^3.1.25
nanoid: ^4.0.0
nock: ^13.1.0
peerDependencies:
"@uppy/core": "workspace:^"
Expand Down Expand Up @@ -28930,7 +28930,7 @@ hexo-filter-github-emojis@arturi/hexo-filter-github-emojis:
languageName: node
linkType: hard

"nanoid@npm:^3.1.25, nanoid@npm:^3.1.30":
"nanoid@npm:^3.1.30":
version: 3.1.30
resolution: "nanoid@npm:3.1.30"
bin:
Expand All @@ -28948,6 +28948,15 @@ hexo-filter-github-emojis@arturi/hexo-filter-github-emojis:
languageName: node
linkType: hard

"nanoid@npm:^4.0.0":
version: 4.0.0
resolution: "nanoid@npm:4.0.0"
bin:
nanoid: bin/nanoid.js
checksum: 7d5946df5c6d383694195b781ae7b5067c149d164ec71e910d6b06676309c3459b68af570b944fb5ecd5065d19df464f05700d141d70bb712ff8ca06642fd8df
languageName: node
linkType: hard

"nanomatch@npm:^1.2.9":
version: 1.2.13
resolution: "nanomatch@npm:1.2.13"
Expand Down

0 comments on commit c838453

Please sign in to comment.