Skip to content

Commit

Permalink
build(deps): bump nanoid from 3.3.8 to 5.0.9 (#1493)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
dependabot[bot] and andrewazores authored Jan 7, 2025
1 parent 516da01 commit ddf3500
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
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

0 comments on commit ddf3500

Please sign in to comment.