Skip to content

Commit ddf3500

Browse files
build(deps): bump nanoid from 3.3.8 to 5.0.9 (#1493)
* build(deps): bump nanoid from 3.3.8 to 5.0.9 Bumps [nanoid](https://github.com/ai/nanoid) from 3.3.8 to 5.0.9. - [Release notes](https://github.com/ai/nanoid/releases) - [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md) - [Commits](ai/nanoid@3.3.8...5.0.9) --- updated-dependencies: - dependency-name: nanoid dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * build(deps): bump nanoid from 3.3.8 to 5.0.9 * comment --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Andrew Azores <[email protected]>
1 parent 516da01 commit ddf3500

File tree

4 files changed

+14
-10
lines changed

4 files changed

+14
-10
lines changed

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ module.exports = {
5656
}
5757
},
5858

59-
// An array of regexp pattern strings that are matched against all source file paths before transformation.
59+
// An array of regexp pattern strings that are matched against all source file paths before transformation.
6060
// If the file path matches any of the patterns, it will not be transformed.
6161
transformIgnorePatterns: [
6262
"/node_modules/(?!@patternfly|d3|d3-array|internmap|delaunator|robust-predicates)",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
"i18next-parser": "^9.0.2",
108108
"js-base64": "3.7.7",
109109
"lodash": "^4.17.21",
110-
"nanoid": "^3.3.8",
110+
"nanoid": "^5.0.9",
111111
"react": "^17.0.2",
112112
"react-dom": "^17.0.2",
113113
"react-i18next": "^15.1.0",

test-setup.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Mock out the services shared across the app in order to help isolate
1+
// Mock out the services shared across the app in order to help isolate
22
// components from the ServiceContext
33
import '@i18n/config';
44

@@ -27,7 +27,7 @@ jest.mock('@i18n/datetime', () => ({
2727
short: 'EST',
2828
},
2929
],
30-
defaultDatetimeFormat:
30+
defaultDatetimeFormat:
3131
{
3232
dateLocale: {
3333
key: 'en',
@@ -51,3 +51,7 @@ jest.mock('@i18n/datetime', () => ({
5151
}
5252
]
5353
}));
54+
// https://github.com/ai/nanoid/issues/365#issuecomment-2035498047
55+
jest.mock('nanoid', () => {
56+
return { nanoid: () => '1234' };
57+
});

yarn.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4392,7 +4392,7 @@ __metadata:
43924392
mini-css-extract-plugin: ^2.9.1
43934393
miragejs: ^0.1.48
43944394
mock-socket: ^9.3.1
4395-
nanoid: ^3.3.8
4395+
nanoid: ^5.0.9
43964396
npm-run-all: ^4.1.5
43974397
prettier: ^3.3.3
43984398
prop-types: ^15.7.2
@@ -10030,12 +10030,12 @@ __metadata:
1003010030
languageName: node
1003110031
linkType: hard
1003210032

10033-
"nanoid@npm:^3.3.8":
10034-
version: 3.3.8
10035-
resolution: "nanoid@npm:3.3.8"
10033+
"nanoid@npm:^5.0.9":
10034+
version: 5.0.9
10035+
resolution: "nanoid@npm:5.0.9"
1003610036
bin:
10037-
nanoid: bin/nanoid.cjs
10038-
checksum: dfe0adbc0c77e9655b550c333075f51bb28cfc7568afbf3237249904f9c86c9aaaed1f113f0fddddba75673ee31c758c30c43d4414f014a52a7a626efc5958c9
10037+
nanoid: bin/nanoid.js
10038+
checksum: 8a3f9104f81095e3e4785f58caae47a05755599824b8611b9730cbf73db706b664f100e6189f8303f08764f144d499613d8e4a39e83125c53f4b4986d6576621
1003910039
languageName: node
1004010040
linkType: hard
1004110041

0 commit comments

Comments
 (0)