File tree 4 files changed +14
-10
lines changed 4 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ module.exports = {
56
56
}
57
57
} ,
58
58
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.
60
60
// If the file path matches any of the patterns, it will not be transformed.
61
61
transformIgnorePatterns : [
62
62
"/node_modules/(?!@patternfly|d3|d3-array|internmap|delaunator|robust-predicates)" ,
Original file line number Diff line number Diff line change 107
107
"i18next-parser" : " ^9.0.2" ,
108
108
"js-base64" : " 3.7.7" ,
109
109
"lodash" : " ^4.17.21" ,
110
- "nanoid" : " ^3.3.8 " ,
110
+ "nanoid" : " ^5.0.9 " ,
111
111
"react" : " ^17.0.2" ,
112
112
"react-dom" : " ^17.0.2" ,
113
113
"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
2
2
// components from the ServiceContext
3
3
import '@i18n/config' ;
4
4
@@ -27,7 +27,7 @@ jest.mock('@i18n/datetime', () => ({
27
27
short : 'EST' ,
28
28
} ,
29
29
] ,
30
- defaultDatetimeFormat :
30
+ defaultDatetimeFormat :
31
31
{
32
32
dateLocale : {
33
33
key : 'en' ,
@@ -51,3 +51,7 @@ jest.mock('@i18n/datetime', () => ({
51
51
}
52
52
]
53
53
} ) ) ;
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:
4392
4392
mini-css-extract-plugin: ^2.9.1
4393
4393
miragejs: ^0.1.48
4394
4394
mock-socket: ^9.3.1
4395
- nanoid: ^3.3.8
4395
+ nanoid: ^5.0.9
4396
4396
npm-run-all: ^4.1.5
4397
4397
prettier: ^3.3.3
4398
4398
prop-types: ^15.7.2
@@ -10030,12 +10030,12 @@ __metadata:
10030
10030
languageName: node
10031
10031
linkType: hard
10032
10032
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 "
10036
10036
bin:
10037
- nanoid: bin/nanoid.cjs
10038
- checksum: dfe0adbc0c77e9655b550c333075f51bb28cfc7568afbf3237249904f9c86c9aaaed1f113f0fddddba75673ee31c758c30c43d4414f014a52a7a626efc5958c9
10037
+ nanoid: bin/nanoid.js
10038
+ checksum: 8a3f9104f81095e3e4785f58caae47a05755599824b8611b9730cbf73db706b664f100e6189f8303f08764f144d499613d8e4a39e83125c53f4b4986d6576621
10039
10039
languageName: node
10040
10040
linkType: hard
10041
10041
You can’t perform that action at this time.
0 commit comments