Skip to content

Commit d32ff57

Browse files
authored
chore: bump deps (#995)
1 parent 2b11f10 commit d32ff57

8 files changed

Lines changed: 711 additions & 743 deletions

File tree

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
*dist/
22
*node_modules/
3+
*types/
34
*umd/
45
*__tmp__
56

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
cache: yarn
5252
node-version: ${{ matrix.node-version }}
5353
- name: Install Dependencies
54-
run: yarn install --frozen-lockfile${{ matrix.node-version == '18' && ' --ignore-engines' || '' }}
54+
run: yarn install --frozen-lockfile${{ matrix.node-version < '22' && ' --ignore-engines' || '' }}
5555
- name: Run Tests
5656
run: yarn test --testPathIgnorePatterns conformance
5757
env:
@@ -80,7 +80,7 @@ jobs:
8080
cache: yarn
8181
node-version: ${{ matrix.node-version }}
8282
- name: Install Dependencies
83-
run: yarn install --frozen-lockfile${{ matrix.node-version == '18' && ' --ignore-engines' || '' }}
83+
run: yarn install --frozen-lockfile${{ matrix.node-version < '22' && ' --ignore-engines' || '' }}
8484
- name: Disable AppArmor
8585
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
8686
- name: Run Conformance Tests

package.json

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@
7878
"@types/node": "^24.10.1",
7979
"@types/webpack": "^5.28.5",
8080
"babel-loader": "^10.0.0",
81-
"cross-env": "^7.0.3",
81+
"cross-env": "^10.1.0",
8282
"cross-spawn": "^7.0.5",
83-
"del-cli": "^6.0.0",
83+
"del-cli": "^7.0.0",
8484
"eslint": "^8.6.0",
8585
"eslint-config-prettier": "^10.1.1",
8686
"eslint-plugin-prettier": "^5.1.3",
@@ -93,17 +93,17 @@
9393
"jest-location-mock": "^2.0.0",
9494
"memfs": "^4.9.2",
9595
"module-alias": "^2.2.3",
96-
"nanoid": "^3.3.8",
97-
"npm-run-all2": "^7.0.2",
96+
"nanoid": "^3.3.12",
97+
"npm-run-all2": "^9.0.1",
9898
"prettier": "^3.3.0",
99-
"puppeteer": "^24.4.0",
99+
"puppeteer": "^24.43.1",
100100
"react-refresh": "^0.18.0",
101101
"sourcemap-validator": "^2.1.0",
102102
"terser-webpack-plugin": "^5.3.10",
103-
"type-fest": "^4.41.0",
104-
"typescript": "~5.9.3",
103+
"type-fest": "^5.6.0",
104+
"typescript": "~6.0.3",
105105
"webpack": "^5.104.1",
106-
"webpack-cli": "^6.0.1",
106+
"webpack-cli": "^7.0.3",
107107
"webpack-dev-server": "^5.2.4",
108108
"webpack-dev-server-v4": "npm:webpack-dev-server@^4.8.0",
109109
"webpack-hot-middleware": "^2.26.1",
@@ -141,9 +141,14 @@
141141
}
142142
},
143143
"resolutions": {
144+
"@types/retry": "^0.12.0",
144145
"memfs": "^4.0.0",
145-
"rimraf": "^5.0.0",
146-
"type-fest": "^4.41.0"
146+
"memfs/@jsonjoy.com/json-pack": "^17.67.0",
147+
"memfs/@jsonjoy.com/util": "^17.67.0",
148+
"nanoid": "^3.3.12",
149+
"rimraf": "^6.0.0",
150+
"tslib": "^2.8.0",
151+
"type-fest": "^5.6.0"
147152
},
148153
"engines": {
149154
"node": ">=18.12"

test/loader/loader.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,6 @@ if (typeof Promise !== 'undefined' && $ReactRefreshCurrentExports$ instanceof Pr
238238
"module.exports = 'Test';\\n"
239239
],
240240
"names": [],
241-
"ignoreList": [],
242241
"sourceRoot": ""
243242
}"
244243
`);

types/lib/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ declare class ReactRefreshPlugin {
33
/**
44
* @param {import('./types').ReactRefreshPluginOptions} [options] Options for react-refresh-plugin.
55
*/
6-
constructor(options?: import('./types').ReactRefreshPluginOptions | undefined);
6+
constructor(options?: import('./types').ReactRefreshPluginOptions);
77
/**
88
* @readonly
99
* @type {import('./types').NormalizedPluginOptions}

types/loader/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ export = ReactRefreshLoader;
1212
declare function ReactRefreshLoader(
1313
this: import('webpack').LoaderContext<import('./types').ReactRefreshLoaderOptions>,
1414
source: string,
15-
inputSourceMap?: import('source-map').RawSourceMap | undefined,
15+
inputSourceMap?: import('source-map').RawSourceMap,
1616
meta?: any
1717
): void;

types/options/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
export function d<T, Property extends keyof T>(
1111
object: T,
1212
property: Property,
13-
defaultValue?: T[Property] | undefined
13+
defaultValue?: T[Property]
1414
): T[Property];
1515
/**
1616
* Resolves the value for a nested object option.

yarn.lock

Lines changed: 690 additions & 727 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)