Skip to content

Commit 7d7e97f

Browse files
authored
fix: simplify transform RegExp (#10207)
1 parent ecb31a7 commit 7d7e97f

File tree

32 files changed

+64
-68
lines changed

32 files changed

+64
-68
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
### Fixes
88

9+
- `[jest-config]` Simplify transform RegExp ([#10207](https://github.com/facebook/jest/pull/10207))
910
- `[jest-fake-timers]` Lazily instantiate mock timers ([#10551](https://github.com/facebook/jest/pull/10551))
1011
- `[jest-runtime]` `require.main` is no longer `undefined` when using `jest.resetModules` ([#10626](https://github.com/facebook/jest/pull/10626))
1112
- `[@jest/types]` Add missing values for `timers` ([#10632](https://github.com/facebook/jest/pull/10632))

docs/Configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1223,7 +1223,7 @@ If the value is `modern`, [`@sinonjs/fake-timers`](https://github.com/sinonjs/fa
12231223

12241224
### `transform` [object\<string, pathToTransformer | [pathToTransformer, object]>]
12251225

1226-
Default: `{"^.+\\.[jt]sx?$": "babel-jest"}`
1226+
Default: `{"\\.[jt]sx?$": "babel-jest"}`
12271227

12281228
A map from regular expressions to paths to transformers. A transformer is a module that provides a synchronous function for transforming source files. For example, if you wanted to be able to use a new language feature in your modules or tests that aren't yet supported by node, you might plug in one of many compilers that compile a future version of JavaScript to a current one. Example: see the [examples/typescript](https://github.com/facebook/jest/blob/master/examples/typescript/package.json#L16) example or the [webpack tutorial](Webpack.md).
12291229

@@ -1238,7 +1238,7 @@ You can pass configuration to a transformer like `{filePattern: ['path-to-transf
12381238

12391239
_Note: a transformer is only run once per file unless the file has changed. During the development of a transformer it can be useful to run Jest with `--no-cache` to frequently [delete Jest's cache](Troubleshooting.md#caching-issues)._
12401240

1241-
_Note: when adding additional code transformers, this will overwrite the default config and `babel-jest` is no longer automatically loaded. If you want to use it to compile JavaScript or Typescript, it has to be explicitly defined by adding `{"^.+\\.[jt]sx?$": "babel-jest"}` to the transform property. See [babel-jest plugin](https://github.com/facebook/jest/tree/master/packages/babel-jest#setup)_
1241+
_Note: when adding additional code transformers, this will overwrite the default config and `babel-jest` is no longer automatically loaded. If you want to use it to compile JavaScript or Typescript, it has to be explicitly defined by adding `{"\\.[jt]sx?$": "babel-jest"}` to the transform property. See [babel-jest plugin](https://github.com/facebook/jest/tree/master/packages/babel-jest#setup)_
12421242

12431243
### `transformIgnorePatterns` [array\<string>]
12441244

docs/Webpack.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ _Note: if you are using babel-jest with additional code preprocessors, you have
125125

126126
```json
127127
"transform": {
128-
"^.+\\.js$": "babel-jest",
129-
"^.+\\.css$": "custom-transformer",
128+
"\\.js$": "babel-jest",
129+
"\\.css$": "custom-transformer",
130130
...
131131
}
132132
```

e2e/__tests__/__snapshots__/showConfig.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ exports[`--showConfig outputs config info and exits 1`] = `
6767
"timers": "real",
6868
"transform": [
6969
[
70-
"^.+\\\\.[jt]sx?$",
70+
"\\\\.[jt]sx?$",
7171
"<<REPLACED_JEST_PACKAGES_DIR>>/babel-jest/build/index.js",
7272
{}
7373
]

e2e/coverage-remapping/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"jest": {
33
"rootDir": "./",
44
"transform": {
5-
"^.+\\.(ts|js)$": "<rootDir>/typescriptPreprocessor.js"
5+
"\\.(ts|js)$": "<rootDir>/typescriptPreprocessor.js"
66
},
77
"testEnvironment": "node"
88
},

e2e/coverage-transform-instrumented/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"jest": {
33
"rootDir": "./",
44
"transform": {
5-
"^.+\\.(js)$": "<rootDir>/preprocessor.js"
5+
"\\.(js)$": "<rootDir>/preprocessor.js"
66
},
77
"testRegex": "/__tests__/.*\\.(js)$",
88
"testEnvironment": "node",

e2e/global-setup-custom-transform/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"testEnvironment": "node",
44
"globalSetup": "<rootDir>/setup.js",
55
"transform": {
6-
"^.+\\.js$": "<rootDir>/transformer.js"
6+
"\\.js$": "<rootDir>/transformer.js"
77
}
88
}
99
}

e2e/node-path/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"jest": {
33
"testEnvironment": "node",
44
"transform": {
5-
"^.+\\.jsx?$": "../../packages/babel-jest"
5+
"\\.jsx?$": "../../packages/babel-jest"
66
}
77
}
88
}

e2e/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"jest": {
33
"transform": {
4-
"^.+\\.js$": "<rootDir>/../packages/babel-jest"
4+
"\\.js$": "<rootDir>/../packages/babel-jest"
55
},
66
"testEnvironment": "node",
77
"testPathIgnorePatterns": [

e2e/snapshot-serializers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"jest": {
33
"testEnvironment": "node",
44
"transform": {
5-
"^.+\\.js$": "<rootDir>/transformer.js"
5+
"\\.js$": "<rootDir>/transformer.js"
66
},
77
"snapshotSerializers": [
88
"./plugins/foo",

e2e/stack-trace-source-maps-with-coverage/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"jest": {
33
"rootDir": "./",
44
"transform": {
5-
"^.+\\.(ts)$": "<rootDir>/preprocessor.js"
5+
"\\.(ts)$": "<rootDir>/preprocessor.js"
66
},
77
"testEnvironment": "node",
88
"testRegex": "fails"

e2e/stack-trace-source-maps/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"jest": {
33
"rootDir": "./",
44
"transform": {
5-
"^.+\\.(ts)$": "<rootDir>/preprocessor.js"
5+
"\\.(ts)$": "<rootDir>/preprocessor.js"
66
},
77
"testEnvironment": "node",
88
"testRegex": "fails"

e2e/transform-linked-modules/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"<rootDir>/ignored/"
88
],
99
"transform": {
10-
"^.+\\.js$": "<rootDir>/preprocessor.js"
10+
"\\.js$": "<rootDir>/preprocessor.js"
1111
}
1212
}
1313
}

e2e/transform/cache/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"jest": {
55
"testEnvironment": "node",
66
"transform": {
7-
"^.+\\.js$": "<rootDir>/transformer.js"
7+
"\\.js$": "<rootDir>/transformer.js"
88
}
99
}
1010
}

e2e/transform/custom-instrumenting-preprocessor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"jest": {
33
"transform": {
4-
"^.+\\.js$": "<rootDir>/preprocessor.js"
4+
"\\.js$": "<rootDir>/preprocessor.js"
55
},
66
"testEnvironment": "node"
77
}

e2e/transform/ecmascript-modules-support/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"**/__tests__/**/*.mjs"
1313
],
1414
"transform": {
15-
"^.+\\.mjs?$": "../../../packages/babel-jest"
15+
"\\.mjs?$": "../../../packages/babel-jest"
1616
}
1717
}
1818
}

e2e/transform/multiple-transformers/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"jest": {
33
"transform": {
4-
"^.+\\.css$": "<rootDir>/cssPreprocessor.js",
5-
"^.+\\.js$": "<rootDir>/jsPreprocessor.js",
6-
"^.+\\.svg$": "<rootDir>/filePreprocessor.js"
4+
"\\.css$": "<rootDir>/cssPreprocessor.js",
5+
"\\.js$": "<rootDir>/jsPreprocessor.js",
6+
"\\.svg$": "<rootDir>/filePreprocessor.js"
77
},
88
"testEnvironment": "node"
99
},

e2e/typescript-coverage/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"jest": {
33
"rootDir": "./",
44
"transform": {
5-
"^.+\\.(ts|js)$": "<rootDir>/typescriptPreprocessor.js"
5+
"\\.(ts|js)$": "<rootDir>/typescriptPreprocessor.js"
66
},
77
"testEnvironment": "node"
88
},

e2e/v8-coverage/no-sourcemap/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"jest": {
55
"testEnvironment": "node",
66
"transform": {
7-
"^.+\\.[jt]sx?$": "babel-jest",
8-
"^.+\\.css$": "<rootDir>/cssTransform.js"
7+
"\\.[jt]sx?$": "babel-jest",
8+
"\\.css$": "<rootDir>/cssTransform.js"
99
}
1010
}
1111
}

examples/angular/jest.config.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ module.exports = {
22
moduleFileExtensions: ['ts', 'html', 'js', 'json'],
33
setupFilesAfterEnv: ['<rootDir>/setupJest.js'],
44
transform: {
5-
'^.+\\.[t|j]s$': [
6-
'babel-jest',
7-
{configFile: require.resolve('./.babelrc')},
8-
],
5+
'\\.[tj]s$': ['babel-jest', {configFile: require.resolve('./.babelrc')}],
96
},
107
};

examples/react-native/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = {
22
preset: 'react-native',
33
transform: {
4-
'^.+\\.(js|ts|tsx)$': require.resolve('react-native/jest/preprocessor.js'),
4+
'\\.(js|ts|tsx)$': require.resolve('react-native/jest/preprocessor.js'),
55
},
66
};

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ module.exports = {
6363
'/e2e/__tests__/iterator-to-null-test.ts',
6464
],
6565
transform: {
66-
'^.+\\.[jt]sx?$': '<rootDir>/packages/babel-jest',
66+
'\\.[jt]sx?$': '<rootDir>/packages/babel-jest',
6767
},
6868
watchPathIgnorePatterns: ['coverage'],
6969
watchPlugins: [

packages/babel-jest/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ To explicitly define `babel-jest` as a transformer for your JavaScript code, map
2020

2121
```json
2222
"transform": {
23-
"^.+\\.[t|j]sx?$": "babel-jest"
23+
"\\.[jt]sx?$": "babel-jest"
2424
},
2525
```

packages/jest-config/src/ValidConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ const initialOptions: Config.InitialOptions = {
119119
testURL: 'http://localhost',
120120
timers: 'real',
121121
transform: {
122-
'^.+\\.js$': '<rootDir>/preprocessor.js',
122+
'\\.js$': '<rootDir>/preprocessor.js',
123123
},
124124
transformIgnorePatterns: [NODE_MODULES_REGEXP],
125125
unmockedModulePathPatterns: ['mock'],

packages/jest-config/src/__tests__/normalize.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import Defaults from '../Defaults';
1414

1515
import {DEFAULT_JS_PATTERN} from '../constants';
1616

17-
const DEFAULT_CSS_PATTERN = '^.+\\.(css)$';
17+
const DEFAULT_CSS_PATTERN = '\\.(css)$';
1818

1919
jest
2020
.mock('jest-resolve')
@@ -779,7 +779,7 @@ describe('babel-jest', () => {
779779
});
780780

781781
it('uses babel-jest if babel-jest is explicitly specified in a custom transform options', () => {
782-
const customJSPattern = '^.+\\.js$';
782+
const customJSPattern = '\\.js$';
783783
const {options} = normalize(
784784
{
785785
rootDir: '/root',

packages/jest-config/src/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import * as path from 'path';
99

1010
export const NODE_MODULES = path.sep + 'node_modules' + path.sep;
11-
export const DEFAULT_JS_PATTERN = '^.+\\.[jt]sx?$';
11+
export const DEFAULT_JS_PATTERN = '\\.[jt]sx?$';
1212
export const DEFAULT_REPORTER_LABEL = 'default';
1313
export const PACKAGE_JSON = 'package.json';
1414
export const JEST_CONFIG_BASE_NAME = 'jest.config';

packages/jest-reporters/src/__tests__/generateEmptyCoverage.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ describe('generateEmptyCoverage', () => {
5151
cacheDirectory: os.tmpdir(),
5252
cwd: rootDir,
5353
rootDir,
54-
transform: [['^.+\\.js$', require.resolve('babel-jest')]],
54+
transform: [['\\.js$', require.resolve('babel-jest')]],
5555
}),
5656
);
5757

@@ -95,7 +95,7 @@ describe('generateEmptyCoverage', () => {
9595
cacheDirectory: os.tmpdir(),
9696
cwd: rootDir,
9797
rootDir,
98-
transform: [['^.+\\.js$', require.resolve('babel-jest')]],
98+
transform: [['\\.js$', require.resolve('babel-jest')]],
9999
}),
100100
);
101101

@@ -124,7 +124,7 @@ describe('generateEmptyCoverage', () => {
124124
cacheDirectory: os.tmpdir(),
125125
cwd: rootDir,
126126
rootDir,
127-
transform: [['^.+\\.js$', require.resolve('babel-jest')]],
127+
transform: [['\\.js$', require.resolve('babel-jest')]],
128128
}),
129129
);
130130

packages/jest-runtime/src/__tests__/runtime_internal_module.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ describe('Runtime', () => {
2222
describe('internalModule', () => {
2323
it('loads modules and applies transforms', () =>
2424
createRuntime(__filename, {
25-
transform: {'^.+\\.js$': './test_preprocessor'},
25+
transform: {'\\.js$': './test_preprocessor'},
2626
}).then(runtime => {
2727
const modulePath = path.resolve(
2828
path.dirname(runtime.__mockRootPath),
@@ -35,7 +35,7 @@ describe('Runtime', () => {
3535

3636
it('loads internal modules without applying transforms', () =>
3737
createRuntime(__filename, {
38-
transform: {'^.+\\.js$': './test_preprocessor'},
38+
transform: {'\\.js$': './test_preprocessor'},
3939
}).then(runtime => {
4040
const modulePath = path.resolve(
4141
path.dirname(runtime.__mockRootPath),
@@ -47,7 +47,7 @@ describe('Runtime', () => {
4747

4848
it('loads JSON modules and applies transforms', () =>
4949
createRuntime(__filename, {
50-
transform: {'^.+\\.json$': './test_json_preprocessor'},
50+
transform: {'\\.json$': './test_json_preprocessor'},
5151
}).then(runtime => {
5252
const modulePath = path.resolve(
5353
path.dirname(runtime.__mockRootPath),
@@ -59,7 +59,7 @@ describe('Runtime', () => {
5959

6060
it('loads internal JSON modules without applying transforms', () =>
6161
createRuntime(__filename, {
62-
transform: {'^.+\\.json$': './test_json_preprocessor'},
62+
transform: {'\\.json$': './test_json_preprocessor'},
6363
}).then(runtime => {
6464
const modulePath = path.resolve(
6565
path.dirname(runtime.__mockRootPath),

packages/jest-transform/src/__tests__/__snapshots__/script_transformer.test.js.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Object {
5858
"timers": "real",
5959
"transform": Array [
6060
Array [
61-
"^.+\\\\.js$",
61+
"\\\\.js$",
6262
"test_preprocessor",
6363
],
6464
],
@@ -231,7 +231,7 @@ exports[`ScriptTransformer uses multiple preprocessors 1`] = `
231231
const TRANSFORMED = {
232232
filename: '/fruits/banana.js',
233233
script: 'module.exports = "banana";',
234-
config: '{"automock":false,"cache":true,"cacheDirectory":"/cache/","clearMocks":false,"coveragePathIgnorePatterns":[],"cwd":"/test_root_dir/","detectLeaks":false,"detectOpenHandles":false,"errorOnDeprecated":false,"extraGlobals":[],"forceCoverageMatch":[],"globals":{},"haste":{},"injectGlobals":true,"moduleDirectories":[],"moduleFileExtensions":["js"],"moduleLoader":"/test_module_loader_path","moduleNameMapper":[],"modulePathIgnorePatterns":[],"modulePaths":[],"name":"test","prettierPath":"prettier","resetMocks":false,"resetModules":false,"restoreMocks":false,"rootDir":"/","roots":[],"runner":"jest-runner","setupFiles":[],"setupFilesAfterEnv":[],"skipFilter":false,"skipNodeResolution":false,"slowTestThreshold":5,"snapshotSerializers":[],"testEnvironment":"node","testEnvironmentOptions":{},"testLocationInResults":false,"testMatch":[],"testPathIgnorePatterns":[],"testRegex":["\\\\.test\\\\.js$"],"testRunner":"jest-jasmine2","testURL":"http://localhost","timers":"real","transform":[["^.+\\\\.js$","test_preprocessor"],["^.+\\\\.css$","css-preprocessor"]],"transformIgnorePatterns":["/node_modules/"],"watchPathIgnorePatterns":[]}',
234+
config: '{"automock":false,"cache":true,"cacheDirectory":"/cache/","clearMocks":false,"coveragePathIgnorePatterns":[],"cwd":"/test_root_dir/","detectLeaks":false,"detectOpenHandles":false,"errorOnDeprecated":false,"extraGlobals":[],"forceCoverageMatch":[],"globals":{},"haste":{},"injectGlobals":true,"moduleDirectories":[],"moduleFileExtensions":["js"],"moduleLoader":"/test_module_loader_path","moduleNameMapper":[],"modulePathIgnorePatterns":[],"modulePaths":[],"name":"test","prettierPath":"prettier","resetMocks":false,"resetModules":false,"restoreMocks":false,"rootDir":"/","roots":[],"runner":"jest-runner","setupFiles":[],"setupFilesAfterEnv":[],"skipFilter":false,"skipNodeResolution":false,"slowTestThreshold":5,"snapshotSerializers":[],"testEnvironment":"node","testEnvironmentOptions":{},"testLocationInResults":false,"testMatch":[],"testPathIgnorePatterns":[],"testRegex":["\\\\.test\\\\.js$"],"testRunner":"jest-jasmine2","testURL":"http://localhost","timers":"real","transform":[["\\\\.js$","test_preprocessor"],["\\\\.css$","css-preprocessor"]],"transformIgnorePatterns":["/node_modules/"],"watchPathIgnorePatterns":[]}',
235235
};
236236
`;
237237

@@ -248,7 +248,7 @@ exports[`ScriptTransformer uses the supplied preprocessor 1`] = `
248248
const TRANSFORMED = {
249249
filename: '/fruits/banana.js',
250250
script: 'module.exports = "banana";',
251-
config: '{"automock":false,"cache":true,"cacheDirectory":"/cache/","clearMocks":false,"coveragePathIgnorePatterns":[],"cwd":"/test_root_dir/","detectLeaks":false,"detectOpenHandles":false,"errorOnDeprecated":false,"extraGlobals":[],"forceCoverageMatch":[],"globals":{},"haste":{},"injectGlobals":true,"moduleDirectories":[],"moduleFileExtensions":["js"],"moduleLoader":"/test_module_loader_path","moduleNameMapper":[],"modulePathIgnorePatterns":[],"modulePaths":[],"name":"test","prettierPath":"prettier","resetMocks":false,"resetModules":false,"restoreMocks":false,"rootDir":"/","roots":[],"runner":"jest-runner","setupFiles":[],"setupFilesAfterEnv":[],"skipFilter":false,"skipNodeResolution":false,"slowTestThreshold":5,"snapshotSerializers":[],"testEnvironment":"node","testEnvironmentOptions":{},"testLocationInResults":false,"testMatch":[],"testPathIgnorePatterns":[],"testRegex":["\\\\.test\\\\.js$"],"testRunner":"jest-jasmine2","testURL":"http://localhost","timers":"real","transform":[["^.+\\\\.js$","test_preprocessor"]],"transformIgnorePatterns":["/node_modules/"],"watchPathIgnorePatterns":[]}',
251+
config: '{"automock":false,"cache":true,"cacheDirectory":"/cache/","clearMocks":false,"coveragePathIgnorePatterns":[],"cwd":"/test_root_dir/","detectLeaks":false,"detectOpenHandles":false,"errorOnDeprecated":false,"extraGlobals":[],"forceCoverageMatch":[],"globals":{},"haste":{},"injectGlobals":true,"moduleDirectories":[],"moduleFileExtensions":["js"],"moduleLoader":"/test_module_loader_path","moduleNameMapper":[],"modulePathIgnorePatterns":[],"modulePaths":[],"name":"test","prettierPath":"prettier","resetMocks":false,"resetModules":false,"restoreMocks":false,"rootDir":"/","roots":[],"runner":"jest-runner","setupFiles":[],"setupFilesAfterEnv":[],"skipFilter":false,"skipNodeResolution":false,"slowTestThreshold":5,"snapshotSerializers":[],"testEnvironment":"node","testEnvironmentOptions":{},"testLocationInResults":false,"testMatch":[],"testPathIgnorePatterns":[],"testRegex":["\\\\.test\\\\.js$"],"testRunner":"jest-jasmine2","testURL":"http://localhost","timers":"real","transform":[["\\\\.js$","test_preprocessor"]],"transformIgnorePatterns":["/node_modules/"],"watchPathIgnorePatterns":[]}',
252252
};
253253
`;
254254

0 commit comments

Comments
 (0)