ts-checker-rspack-plugin 1.2.0 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -39,7 +39,7 @@ yarn add -D ts-checker-rspack-plugin
39
39
  pnpm add -D ts-checker-rspack-plugin
40
40
  ```
41
41
 
42
- The minimal Rspack config with [builtin:swc-loader](https://rspack.dev/guide/features/builtin-swc-loader).
42
+ The minimal Rspack config with [builtin:swc-loader](https://rspack.rs/guide/features/builtin-swc-loader).
43
43
 
44
44
  ```js
45
45
  // rspack.config.mjs
@@ -119,45 +119,72 @@ Options for the TypeScript checker (`typescript` option object).
119
119
  ### Issues options
120
120
 
121
121
  Options for the issues filtering (`issue` option object).
122
- I could write some plain text explanation of these options but I think code will explain it better:
122
+
123
+ - **Type**:
123
124
 
124
125
  ```typescript
126
+ interface IssueOptions {
127
+ include?: IssuePredicateOption;
128
+ exclude?: IssuePredicateOption;
129
+ defaultSeverity?: 'auto' | 'warning' | 'error';
130
+ }
131
+
125
132
  interface Issue {
126
133
  severity: 'error' | 'warning';
127
134
  code: string;
135
+ // file field supports glob matching
128
136
  file?: string;
129
137
  }
130
138
 
131
- type IssueMatch = Partial<Issue>; // file field supports glob matching
139
+ type IssueMatch = Partial<Issue>;
132
140
  type IssuePredicate = (issue: Issue) => boolean;
133
- type IssueFilter = IssueMatch | IssuePredicate | (IssueMatch | IssuePredicate)[];
141
+ type IssuePredicateOption = IssuePredicate | IssueMatch | (IssuePredicate | IssueMatch)[];
134
142
  ```
135
143
 
136
- | Name | Type | Default value | Description |
137
- | --------- | ------------- | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
138
- | `include` | `IssueFilter` | `undefined` | If `object`, defines issue properties that should be [matched](src/issue/issue-match.ts). If `function`, acts as a predicate where `issue` is an argument. |
139
- | `exclude` | `IssueFilter` | `undefined` | Same as `include` but issues that match this predicate will be excluded. |
144
+ | Name | Type | Default value | Description |
145
+ | ----------------- | -------------------------------- | ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
146
+ | `include` | `IssueFilter` | `undefined` | If `object`, defines issue properties that should be [matched](src/issue/issue-match.ts). If `function`, acts as a predicate where `issue` is an argument. |
147
+ | `exclude` | `IssueFilter` | `undefined` | Same as `include` but issues that match this predicate will be excluded. |
148
+ | `defaultSeverity` | `'auto' \| 'warning' \| 'error'` | `'auto'` | Controls how the plugin assigns the severity of emitted issues. |
149
+
150
+ `defaultSeverity` behavior:
151
+
152
+ - `auto`: Uses the default mapping based on the TypeScript diagnostic category (`Error` → `error`, `Warning` → `warning`).
153
+ - `warning`: Forces all issues to be emitted as warnings.
154
+ - `error`: Forces all issues to be emitted as errors.
140
155
 
141
- <details>
142
- <summary>Expand example</summary>
156
+ - **Example**:
143
157
 
144
158
  Include issues from the `src` directory, exclude issues from `.spec.ts` files:
145
159
 
146
160
  ```js
147
- module.exports = {
148
- // ...the Rspack configuration
149
- plugins: [
150
- new TsCheckerRspackPlugin({
151
- issue: {
152
- include: [{ file: '**/src/**/*' }],
153
- exclude: [{ file: '**/*.spec.ts' }],
154
- },
155
- }),
156
- ],
157
- };
161
+ new TsCheckerRspackPlugin({
162
+ issue: {
163
+ include: [{ file: '**/src/**/*' }],
164
+ exclude: [{ file: '**/*.spec.ts' }],
165
+ },
166
+ });
158
167
  ```
159
168
 
160
- </details>
169
+ Exclude files under `/node_modules/` using `file:`:
170
+
171
+ ```js
172
+ new TsCheckerRspackPlugin({
173
+ issue: {
174
+ exclude: [({ file = '' }) => /[\\/]some-folder[\\/]/.test(file)],
175
+ },
176
+ });
177
+ ```
178
+
179
+ Force all issues to be emitted as warnings and do not break the build:
180
+
181
+ ```js
182
+ new TsCheckerRspackPlugin({
183
+ issue: {
184
+ defaultSeverity: 'warning',
185
+ },
186
+ });
187
+ ```
161
188
 
162
189
  ## Plugin hooks
163
190
 
@@ -172,7 +199,7 @@ This plugin provides some custom Rspack hooks:
172
199
  | `issues` | `SyncWaterfallHook` | `issues, compilation` | Issues have been received and will be reported. It's a waterfall hook, so you can modify the list of received issues. |
173
200
 
174
201
  To access plugin hooks and tap into the event, we need to use the `getCompilerHooks` static method.
175
- When we call this method with a [Rspack compiler instance](https://rspack.dev/api/javascript-api/compiler), it returns the object with
202
+ When we call this method with a [Rspack compiler instance](https://rspack.rs/api/javascript-api/compiler), it returns the object with
176
203
  [tapable](https://github.com/webpack/tapable) hooks where you can pass in your callbacks.
177
204
 
178
205
  ```js
@@ -220,7 +247,27 @@ setting "generateTrace" compiler option. This is an instruction from [microsoft/
220
247
 
221
248
  ## Enabling incremental mode
222
249
 
223
- You must both set "incremental": true in your `tsconfig.json` (under `compilerOptions`) and also specify mode: 'write-references' in `TsCheckerRspackPlugin` settings.
250
+ You must both set `"compilerOptions.incremental": true` in your `tsconfig.json` and also specify `build: true` in `TsCheckerRspackPlugin` settings.
251
+
252
+ - `tsconfig.json`:
253
+
254
+ ```diff
255
+ {
256
+ "compilerOptions": {
257
+ + "incremental": true,
258
+ }
259
+ }
260
+ ```
261
+
262
+ - `TsCheckerRspackPlugin` settings:
263
+
264
+ ```js
265
+ new TsCheckerRspackPlugin({
266
+ typescript: {
267
+ build: true,
268
+ },
269
+ });
270
+ ```
224
271
 
225
272
  ## Vue components
226
273
 
@@ -21,20 +21,30 @@ var __webpack_require__ = {};
21
21
  __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
22
22
  })();
23
23
  var __webpack_exports__ = {};
24
- const external_process_namespaceObject = require("process");
25
- var external_process_default = /*#__PURE__*/ __webpack_require__.n(external_process_namespaceObject);
24
+ const external_node_process_namespaceObject = require("node:process");
25
+ var external_node_process_default = /*#__PURE__*/ __webpack_require__.n(external_node_process_namespaceObject);
26
+ function isClosedIpcChannelError(error) {
27
+ if ('object' == typeof error && null !== error && 'code' in error) {
28
+ const CLOSED_IPC_ERROR_CODES = new Set([
29
+ 'ERR_IPC_CHANNEL_CLOSED',
30
+ 'EPIPE'
31
+ ]);
32
+ return CLOSED_IPC_ERROR_CODES.has(error.code);
33
+ }
34
+ return false;
35
+ }
26
36
  function exposeRpc(fn) {
27
37
  const sendMessage = (message)=>new Promise((resolve, reject)=>{
28
- if (external_process_default().send) if (external_process_default().connected) external_process_default().send(message, void 0, void 0, (error)=>{
38
+ if (external_node_process_default().send) if (external_node_process_default().connected) external_node_process_default().send(message, void 0, void 0, (error)=>{
29
39
  if (error) reject(error);
30
40
  else resolve(void 0);
31
41
  });
32
- else reject(new Error(`Process ${external_process_default().pid} doesn't have open IPC channels`));
33
- else reject(new Error(`Process ${external_process_default().pid} doesn't have IPC channels`));
42
+ else reject(new Error(`Process ${external_node_process_default().pid} doesn't have open IPC channels`));
43
+ else reject(new Error(`Process ${external_node_process_default().pid} doesn't have IPC channels`));
34
44
  });
35
45
  const handleMessage = async (message)=>{
36
46
  if ('call' === message.type) {
37
- if (!external_process_default().send) return;
47
+ if (!external_node_process_default().send) return;
38
48
  let value;
39
49
  let error;
40
50
  try {
@@ -54,14 +64,16 @@ function exposeRpc(fn) {
54
64
  value
55
65
  });
56
66
  } catch (sendError) {
67
+ if (isClosedIpcChannelError(sendError)) return void console.warn('[type-check] Skipped because the parent process exited. Build may have failed or been interrupted.');
57
68
  if (error) console.error(error);
58
69
  console.error(sendError);
59
70
  }
60
71
  }
61
72
  };
62
- external_process_default().on('message', handleMessage);
73
+ external_node_process_default().on('message', handleMessage);
63
74
  }
64
75
  require("child_process");
76
+ const external_process_namespaceObject = require("process");
65
77
  const WORKER_DATA_ENV_KEY = 'WORKER_DATA';
66
78
  function getRpcWorkerData() {
67
79
  return JSON.parse(external_process_namespaceObject.env[WORKER_DATA_ENV_KEY] || '{}');
@@ -21,20 +21,30 @@ var __webpack_require__ = {};
21
21
  __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
22
22
  })();
23
23
  var __webpack_exports__ = {};
24
- const external_process_namespaceObject = require("process");
25
- var external_process_default = /*#__PURE__*/ __webpack_require__.n(external_process_namespaceObject);
24
+ const external_node_process_namespaceObject = require("node:process");
25
+ var external_node_process_default = /*#__PURE__*/ __webpack_require__.n(external_node_process_namespaceObject);
26
+ function isClosedIpcChannelError(error) {
27
+ if ('object' == typeof error && null !== error && 'code' in error) {
28
+ const CLOSED_IPC_ERROR_CODES = new Set([
29
+ 'ERR_IPC_CHANNEL_CLOSED',
30
+ 'EPIPE'
31
+ ]);
32
+ return CLOSED_IPC_ERROR_CODES.has(error.code);
33
+ }
34
+ return false;
35
+ }
26
36
  function exposeRpc(fn) {
27
37
  const sendMessage = (message)=>new Promise((resolve, reject)=>{
28
- if (external_process_default().send) if (external_process_default().connected) external_process_default().send(message, void 0, void 0, (error)=>{
38
+ if (external_node_process_default().send) if (external_node_process_default().connected) external_node_process_default().send(message, void 0, void 0, (error)=>{
29
39
  if (error) reject(error);
30
40
  else resolve(void 0);
31
41
  });
32
- else reject(new Error(`Process ${external_process_default().pid} doesn't have open IPC channels`));
33
- else reject(new Error(`Process ${external_process_default().pid} doesn't have IPC channels`));
42
+ else reject(new Error(`Process ${external_node_process_default().pid} doesn't have open IPC channels`));
43
+ else reject(new Error(`Process ${external_node_process_default().pid} doesn't have IPC channels`));
34
44
  });
35
45
  const handleMessage = async (message)=>{
36
46
  if ('call' === message.type) {
37
- if (!external_process_default().send) return;
47
+ if (!external_node_process_default().send) return;
38
48
  let value;
39
49
  let error;
40
50
  try {
@@ -54,14 +64,16 @@ function exposeRpc(fn) {
54
64
  value
55
65
  });
56
66
  } catch (sendError) {
67
+ if (isClosedIpcChannelError(sendError)) return void console.warn('[type-check] Skipped because the parent process exited. Build may have failed or been interrupted.');
57
68
  if (error) console.error(error);
58
69
  console.error(sendError);
59
70
  }
60
71
  }
61
72
  };
62
- external_process_default().on('message', handleMessage);
73
+ external_node_process_default().on('message', handleMessage);
63
74
  }
64
75
  require("child_process");
76
+ const external_process_namespaceObject = require("process");
65
77
  const WORKER_DATA_ENV_KEY = 'WORKER_DATA';
66
78
  function getRpcWorkerData() {
67
79
  return JSON.parse(external_process_namespaceObject.env[WORKER_DATA_ENV_KEY] || '{}');
@@ -125,12 +137,12 @@ const diagnosticsPerConfigFile = new Map();
125
137
  function updateDiagnostics(configFile, diagnostics) {
126
138
  diagnosticsPerConfigFile.set(configFile, diagnostics);
127
139
  }
128
- function getIssues() {
140
+ function getIssues(defaultSeverity) {
129
141
  const allDiagnostics = [];
130
142
  diagnosticsPerConfigFile.forEach((diagnostics)=>{
131
143
  allDiagnostics.push(...diagnostics);
132
144
  });
133
- return createIssuesFromDiagnostics(allDiagnostics);
145
+ return createIssuesFromDiagnostics(allDiagnostics, defaultSeverity);
134
146
  }
135
147
  function invalidateDiagnostics() {
136
148
  diagnosticsPerConfigFile.clear();
@@ -155,7 +167,7 @@ ${e.stack}`,
155
167
  }
156
168
  return programDiagnostics;
157
169
  }
158
- function createIssueFromDiagnostic(diagnostic) {
170
+ function createIssueFromDiagnostic(diagnostic, defaultSeverity) {
159
171
  let file;
160
172
  let location;
161
173
  if (diagnostic.file) {
@@ -175,16 +187,20 @@ function createIssueFromDiagnostic(diagnostic) {
175
187
  };
176
188
  }
177
189
  }
190
+ const getSeverity = ()=>{
191
+ if ('auto' === defaultSeverity) return 0 === diagnostic.category ? 'warning' : 'error';
192
+ return defaultSeverity;
193
+ };
178
194
  return {
179
195
  code: 'TS' + String(diagnostic.code),
180
- severity: 0 === diagnostic.category ? 'warning' : 'error',
196
+ severity: getSeverity(),
181
197
  message: typescript.flattenDiagnosticMessageText(diagnostic.messageText, external_os_namespaceObject.EOL),
182
198
  file,
183
199
  location
184
200
  };
185
201
  }
186
- function createIssuesFromDiagnostics(diagnostics) {
187
- return deduplicateAndSortIssues(diagnostics.map((diagnostic)=>createIssueFromDiagnostic(diagnostic)));
202
+ function createIssuesFromDiagnostics(diagnostics, defaultSeverity) {
203
+ return deduplicateAndSortIssues(diagnostics.map((diagnostic)=>createIssueFromDiagnostic(diagnostic, defaultSeverity)));
188
204
  }
189
205
  const external_memfs_namespaceObject = require("memfs");
190
206
  const external_node_fs_namespaceObject = require("node:fs");
@@ -679,8 +695,8 @@ function parseConfig(configFileName, configFileContext) {
679
695
  ] : parsedConfigFile.errors
680
696
  };
681
697
  }
682
- function getParseConfigIssues() {
683
- const issues = createIssuesFromDiagnostics(parseConfigDiagnostics);
698
+ function getParseConfigIssues(defaultSeverity) {
699
+ const issues = createIssuesFromDiagnostics(parseConfigDiagnostics, defaultSeverity);
684
700
  issues.forEach((issue)=>{
685
701
  if (!issue.file) issue.file = worker_config_config.configFile;
686
702
  });
@@ -1044,7 +1060,7 @@ function invalidateWatchProgram(withHost = false) {
1044
1060
  function invalidateWatchProgramRootFileNames() {
1045
1061
  shouldUpdateRootFiles = true;
1046
1062
  }
1047
- const getIssuesWorker = async (change, watching)=>{
1063
+ const getIssuesWorker = async (change, watching, defaultSeverity)=>{
1048
1064
  system.invalidateCache();
1049
1065
  if (didConfigFileChanged(change)) {
1050
1066
  invalidateConfig();
@@ -1066,7 +1082,7 @@ const getIssuesWorker = async (change, watching)=>{
1066
1082
  }
1067
1083
  registerArtifacts();
1068
1084
  enablePerformanceIfNeeded();
1069
- const parseConfigIssues = getParseConfigIssues();
1085
+ const parseConfigIssues = getParseConfigIssues(defaultSeverity);
1070
1086
  if (parseConfigIssues.length) return parseConfigIssues;
1071
1087
  if (worker_config_config.build) useSolutionBuilder();
1072
1088
  else if (watching) useWatchProgram();
@@ -1078,7 +1094,7 @@ const getIssuesWorker = async (change, watching)=>{
1078
1094
  system?.invokeFileDeleted(deletedFile);
1079
1095
  });
1080
1096
  await system.waitForQueued();
1081
- const issues = getIssues();
1097
+ const issues = getIssues(defaultSeverity);
1082
1098
  dumpTracingLegendIfNeeded();
1083
1099
  printPerformanceMeasuresIfNeeded();
1084
1100
  disablePerformanceIfNeeded();
package/lib/index.js CHANGED
@@ -356,7 +356,7 @@ function getPluginHooks(compiler) {
356
356
  }
357
357
  return hooks;
358
358
  }
359
- const external_process_namespaceObject = require("process");
359
+ require("node:process");
360
360
  function createControlledPromise() {
361
361
  let resolve = ()=>void 0;
362
362
  let reject = ()=>void 0;
@@ -432,6 +432,7 @@ function uuid() {
432
432
  return new Array(4).fill(0).map(()=>Math.floor(Math.random() * Number.MAX_SAFE_INTEGER).toString(16)).join('-');
433
433
  }
434
434
  const external_child_process_namespaceObject = require("child_process");
435
+ const external_process_namespaceObject = require("process");
435
436
  const WORKER_DATA_ENV_KEY = 'WORKER_DATA';
436
437
  function createRpcWorker(modulePath, data, memoryLimit) {
437
438
  const options = {
@@ -744,7 +745,7 @@ function tapStartToRunWorkers(compiler, getIssuesWorker, getDependenciesWorker,
744
745
  return issuesPool.submit(async ()=>{
745
746
  try {
746
747
  debug(`Running the getIssuesWorker, iteration ${iteration}.`);
747
- const issues = await getIssuesWorker(aggregatedFilesChange, state.watching);
748
+ const issues = await getIssuesWorker(aggregatedFilesChange, state.watching, config.issue.defaultSeverity);
748
749
  if (state.aggregatedFilesChange === aggregatedFilesChange) state.aggregatedFilesChange = void 0;
749
750
  if (state.abortController === abortController) state.abortController = void 0;
750
751
  return issues;
@@ -854,8 +855,10 @@ function createIssueConfig(compiler, options) {
854
855
  if (!options) options = {};
855
856
  const include = options.include ? createIssuePredicateFromOption(context, options.include) : createTrivialIssuePredicate(true);
856
857
  const exclude = options.exclude ? createIssuePredicateFromOption(context, options.exclude) : createTrivialIssuePredicate(false);
858
+ const defaultSeverity = options.defaultSeverity ?? 'auto';
857
859
  return {
858
- predicate: (issue)=>include(issue) && !exclude(issue)
860
+ predicate: (issue)=>include(issue) && !exclude(issue),
861
+ defaultSeverity
859
862
  };
860
863
  }
861
864
  function createTypeScriptWorkerConfig(compiler, options) {
@@ -1,8 +1,10 @@
1
1
  import type * as rspack from '@rspack/core';
2
2
  import type { IssueOptions } from './issue-options';
3
3
  import type { IssuePredicate } from './issue-predicate';
4
+ import type { IssueDefaultSeverity } from './issue-severity';
4
5
  interface IssueConfig {
5
6
  predicate: IssuePredicate;
7
+ defaultSeverity: IssueDefaultSeverity;
6
8
  }
7
9
  declare function createIssueConfig(compiler: rspack.Compiler, options: IssueOptions | undefined): IssueConfig;
8
10
  export { IssueConfig, createIssueConfig };
@@ -1,8 +1,10 @@
1
1
  import type { IssueMatch } from './issue-match';
2
2
  import type { IssuePredicate } from './issue-predicate';
3
+ import type { IssueDefaultSeverity } from './issue-severity';
3
4
  type IssuePredicateOption = IssuePredicate | IssueMatch | (IssuePredicate | IssueMatch)[];
4
5
  interface IssueOptions {
5
6
  include?: IssuePredicateOption;
6
7
  exclude?: IssuePredicateOption;
8
+ defaultSeverity?: IssueDefaultSeverity;
7
9
  }
8
10
  export { IssueOptions, IssuePredicateOption };
@@ -1,4 +1,4 @@
1
- type IssueSeverity = 'error' | 'warning';
2
- declare function isIssueSeverity(value: unknown): value is IssueSeverity;
3
- declare function compareIssueSeverities(severityA: IssueSeverity, severityB: IssueSeverity): number;
4
- export { IssueSeverity, isIssueSeverity, compareIssueSeverities };
1
+ export type IssueSeverity = 'error' | 'warning';
2
+ export type IssueDefaultSeverity = IssueSeverity | 'auto';
3
+ export declare function isIssueSeverity(value: unknown): value is IssueSeverity;
4
+ export declare function compareIssueSeverities(severityA: IssueSeverity, severityB: IssueSeverity): number;
@@ -1,5 +1,5 @@
1
1
  import type { FilesChange } from '../../files-change';
2
- import type { Issue } from '../../issue';
3
- declare const getIssuesWorker: (change: FilesChange, watching: boolean) => Promise<Issue[]>;
2
+ import type { Issue, IssueDefaultSeverity } from '../../issue';
3
+ declare const getIssuesWorker: (change: FilesChange, watching: boolean, defaultSeverity: IssueDefaultSeverity) => Promise<Issue[]>;
4
4
  export type GetIssuesWorker = typeof getIssuesWorker;
5
5
  export {};
@@ -1,9 +1,9 @@
1
1
  import type * as ts from 'typescript';
2
2
  import type { FilesChange } from '../../../files-change';
3
3
  import type { FilesMatch } from '../../../files-match';
4
- import type { Issue } from '../../../issue';
4
+ import type { Issue, IssueDefaultSeverity } from '../../../issue';
5
5
  export declare function parseConfig(configFileName: string, configFileContext: string): ts.ParsedCommandLine;
6
- export declare function getParseConfigIssues(): Issue[];
6
+ export declare function getParseConfigIssues(defaultSeverity: IssueDefaultSeverity): Issue[];
7
7
  export declare function getParsedConfig(force?: boolean): ts.ParsedCommandLine;
8
8
  export declare function parseNextConfig(): readonly [ts.ParsedCommandLine | undefined, ts.ParsedCommandLine];
9
9
  export declare function invalidateConfig(): void;
@@ -1,7 +1,7 @@
1
1
  import type * as ts from 'typescript';
2
- import type { Issue } from '../../../issue';
2
+ import type { Issue, IssueDefaultSeverity } from '../../../issue';
3
3
  export declare function updateDiagnostics(configFile: string, diagnostics: ts.Diagnostic[]): void;
4
- export declare function getIssues(): Issue[];
4
+ export declare function getIssues(defaultSeverity: IssueDefaultSeverity): Issue[];
5
5
  export declare function invalidateDiagnostics(): void;
6
6
  export declare function getDiagnosticsOfProgram(program: ts.Program | ts.BuilderProgram): ts.Diagnostic[];
7
- export declare function createIssuesFromDiagnostics(diagnostics: ts.Diagnostic[]): Issue[];
7
+ export declare function createIssuesFromDiagnostics(diagnostics: ts.Diagnostic[], defaultSeverity: IssueDefaultSeverity): Issue[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-checker-rspack-plugin",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "Runs typescript type checker and linter on separate process.",
5
5
  "keywords": [
6
6
  "rspack",
@@ -35,10 +35,10 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@babel/code-frame": "^7.27.1",
38
- "@rspack/lite-tapable": "^1.0.1",
38
+ "@rspack/lite-tapable": "^1.1.0",
39
39
  "chokidar": "^3.6.0",
40
40
  "is-glob": "^4.0.3",
41
- "memfs": "^4.50.0",
41
+ "memfs": "^4.51.1",
42
42
  "minimatch": "^9.0.5",
43
43
  "picocolors": "^1.1.1"
44
44
  },
@@ -53,8 +53,8 @@
53
53
  },
54
54
  "devDependencies": {
55
55
  "@jest/console": "^27.5.1",
56
- "@rslib/core": "^0.17.0",
57
- "@rspack/core": "^1.6.0",
56
+ "@rslib/core": "^0.18.2",
57
+ "@rspack/core": "^1.6.5",
58
58
  "@types/babel__code-frame": "^7.0.6",
59
59
  "@types/is-glob": "^4.0.4",
60
60
  "@types/jest": "^27.5.2",
@@ -67,7 +67,7 @@
67
67
  "jest-environment-node": "^27.5.1",
68
68
  "jest-runner": "^27.5.1",
69
69
  "mock-fs": "^5.5.0",
70
- "prettier": "^3.6.2",
70
+ "prettier": "^3.7.3",
71
71
  "strip-ansi": "^6.0.1",
72
72
  "ts-jest": "^27.1.5",
73
73
  "typescript": "^5.9.3"
@@ -76,5 +76,5 @@
76
76
  "access": "public",
77
77
  "registry": "https://registry.npmjs.org/"
78
78
  },
79
- "packageManager": "pnpm@10.20.0"
79
+ "packageManager": "pnpm@10.24.0"
80
80
  }