File tree Expand file tree Collapse file tree 4 files changed +14
-10
lines changed Expand file tree Collapse file tree 4 files changed +14
-10
lines changed Original file line number Diff line number Diff 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)" ,
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change 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
33import '@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+ } ) ;
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments