Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump nanoid from 3.3.4 to 5.0.9 #1493

Merged
merged 3 commits into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ module.exports = {
}
},

// An array of regexp pattern strings that are matched against all source file paths before transformation.
// An array of regexp pattern strings that are matched against all source file paths before transformation.
// If the file path matches any of the patterns, it will not be transformed.
transformIgnorePatterns: [
"/node_modules/(?!@patternfly|d3|d3-array|internmap|delaunator|robust-predicates)",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
"i18next-parser": "^9.0.2",
"js-base64": "3.7.7",
"lodash": "^4.17.21",
"nanoid": "^3.3.8",
"nanoid": "^5.0.9",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-i18next": "^15.1.0",
Expand Down
8 changes: 6 additions & 2 deletions test-setup.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Mock out the services shared across the app in order to help isolate
// Mock out the services shared across the app in order to help isolate
// components from the ServiceContext
import '@i18n/config';

Expand Down Expand Up @@ -27,7 +27,7 @@ jest.mock('@i18n/datetime', () => ({
short: 'EST',
},
],
defaultDatetimeFormat:
defaultDatetimeFormat:
{
dateLocale: {
key: 'en',
Expand All @@ -51,3 +51,7 @@ jest.mock('@i18n/datetime', () => ({
}
]
}));
// https://github.com/ai/nanoid/issues/365#issuecomment-2035498047
jest.mock('nanoid', () => {
return { nanoid: () => '1234' };
});
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4392,7 +4392,7 @@ __metadata:
mini-css-extract-plugin: ^2.9.1
miragejs: ^0.1.48
mock-socket: ^9.3.1
nanoid: ^3.3.8
nanoid: ^5.0.9
npm-run-all: ^4.1.5
prettier: ^3.3.3
prop-types: ^15.7.2
Expand Down Expand Up @@ -10030,12 +10030,12 @@ __metadata:
languageName: node
linkType: hard

"nanoid@npm:^3.3.8":
version: 3.3.8
resolution: "nanoid@npm:3.3.8"
"nanoid@npm:^5.0.9":
version: 5.0.9
resolution: "nanoid@npm:5.0.9"
bin:
nanoid: bin/nanoid.cjs
checksum: dfe0adbc0c77e9655b550c333075f51bb28cfc7568afbf3237249904f9c86c9aaaed1f113f0fddddba75673ee31c758c30c43d4414f014a52a7a626efc5958c9
nanoid: bin/nanoid.js
checksum: 8a3f9104f81095e3e4785f58caae47a05755599824b8611b9730cbf73db706b664f100e6189f8303f08764f144d499613d8e4a39e83125c53f4b4986d6576621
languageName: node
linkType: hard

Expand Down
Loading