Skip to content

Commit 243b2ca

Browse files
committed
chore: merge origin main
2 parents 5e0ffca + edf4038 commit 243b2ca

File tree

59 files changed

+674
-411
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+674
-411
lines changed

β€Ž.github/workflows/ci-rust.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,13 @@ jobs:
8383
key: check
8484

8585
- name: Install cargo-deny
86-
uses: taiki-e/install-action@97a83ae1347bc407f550a16fb0694d6f446eec88 # v2
86+
uses: taiki-e/install-action@13608a19a2204ea4cc0b5888e995ab288684b613 # v2
8787
with:
8888
8989
- name: Check licenses
9090
run: cargo deny check license
9191

92-
- uses: cargo-bins/cargo-binstall@13f9d60d5358393bf14644dba56d9f123bc5d595 # v1.12.4
92+
- uses: cargo-bins/cargo-binstall@5cbf019d8cb9b9d5b086218c41458ea35d817691 # v1.12.5
9393
- run: cargo binstall --no-confirm [email protected] --force
9494
- run: cargo shear
9595

β€Ž.github/workflows/issue-pr-trigger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1414
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
1515
with:
16-
node-version: "22.15.0"
16+
node-version: "22.15.1"
1717
- name: Check if triggered by project member
1818
id: check_member
1919
if: github.event.sender.type == 'User' && github.actor != 'renovate'

β€Ž.github/workflows/reusable-build-bench.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
key: build-bench-${{ inputs.target }}
4343

4444
- name: Install cargo-codspeed binary
45-
uses: taiki-e/install-action@97a83ae1347bc407f550a16fb0694d6f446eec88 # v2
45+
uses: taiki-e/install-action@13608a19a2204ea4cc0b5888e995ab288684b613 # v2
4646
with:
4747
4848

β€Žpackages/rspack-test-tools/tests/configCases/builtin-lightningcss-loader/basic-include/__snapshot__/bundle0.css.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
body {
2-
& .-_6ec1c834ac8cc99e-used {
2+
& ._6ec1c834ac8cc99e-used {
33
color: #00f;
44
}
55
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
Object {
2-
"style": "-_6ec1c834ac8cc99e-style",
2+
"style": "_6ec1c834ac8cc99e-style",
33
}
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Object {
2-
"class": "-bd00b1e0e0954270-class -a700d75440d0c95b-lessClass",
3-
"ghi": "-bd00b1e0e0954270-ghi",
4-
"other": "-bd00b1e0e0954270-other -_59c82bab3b83825a-scssClass",
5-
"otherClassName": "-bd00b1e0e0954270-otherClassName globalClassName",
2+
"class": "bd00b1e0e0954270-class a700d75440d0c95b-lessClass",
3+
"ghi": "bd00b1e0e0954270-ghi",
4+
"other": "bd00b1e0e0954270-other _59c82bab3b83825a-scssClass",
5+
"otherClassName": "bd00b1e0e0954270-otherClassName globalClassName",
66
}
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
Object {
2-
"bar": "-_6f71ebaec3a61562-bar -d2e32b33f9cd5760-foo",
2+
"bar": "_6f71ebaec3a61562-bar d2e32b33f9cd5760-foo",
33
}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Object {
2-
"simple-bar": "-bd00b1e0e0954270-simple-bar -e631de715f468814-imported-simple",
3-
"simple-foo": "-bd00b1e0e0954270-simple-foo -e631de715f468814-imported-simple",
2+
"simple-bar": "bd00b1e0e0954270-simple-bar e631de715f468814-imported-simple",
3+
"simple-foo": "bd00b1e0e0954270-simple-foo e631de715f468814-imported-simple",
44
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Object {
2-
"backButton": "-_1f9dde4a2b9fd39e-backButton -_3c0cdf795e5ee8e4-secondaryButton -_542ff2973456bd9e-button",
3-
"nextButton": "-_1f9dde4a2b9fd39e-nextButton -_7fe530a949364eca-primaryButton -_542ff2973456bd9e-button",
2+
"backButton": "_1f9dde4a2b9fd39e-backButton _3c0cdf795e5ee8e4-secondaryButton _542ff2973456bd9e-button",
3+
"nextButton": "_1f9dde4a2b9fd39e-nextButton _7fe530a949364eca-primaryButton _542ff2973456bd9e-button",
44
}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Object {
2-
"simple-bar": "-bd00b1e0e0954270-simple-bar -e631de715f468814-imported-simple",
3-
"simple-foo": "-bd00b1e0e0954270-simple-foo -e631de715f468814-imported-simple",
2+
"simple-bar": "bd00b1e0e0954270-simple-bar e631de715f468814-imported-simple",
3+
"simple-foo": "bd00b1e0e0954270-simple-foo e631de715f468814-imported-simple",
44
}
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
Object {
2-
"btn--info_is-disabled_1": "-bd00b1e0e0954270-btn--info_is-disabled_1",
3-
"btn-info_is-disabled": "-bd00b1e0e0954270-btn-info_is-disabled",
4-
"btnInfoIsDisabled": "-bd00b1e0e0954270-btn-info_is-disabled",
5-
"btnInfoIsDisabled1": "-bd00b1e0e0954270-btn--info_is-disabled_1",
6-
"fooBar": "-bd00b1e0e0954270-foo_bar",
7-
"foo_bar": "-bd00b1e0e0954270-foo_bar",
8-
"simple": "-bd00b1e0e0954270-simple",
2+
"btn--info_is-disabled_1": "bd00b1e0e0954270-btn--info_is-disabled_1",
3+
"btn-info_is-disabled": "bd00b1e0e0954270-btn-info_is-disabled",
4+
"btnInfoIsDisabled": "bd00b1e0e0954270-btn-info_is-disabled",
5+
"btnInfoIsDisabled1": "bd00b1e0e0954270-btn--info_is-disabled_1",
6+
"fooBar": "bd00b1e0e0954270-foo_bar",
7+
"foo_bar": "bd00b1e0e0954270-foo_bar",
8+
"simple": "bd00b1e0e0954270-simple",
99
}
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Object {
2-
"btnInfoIsDisabled": "-bd00b1e0e0954270-btn-info_is-disabled",
3-
"btnInfoIsDisabled1": "-bd00b1e0e0954270-btn--info_is-disabled_1",
4-
"fooBar": "-bd00b1e0e0954270-foo_bar",
5-
"simple": "-bd00b1e0e0954270-simple",
2+
"btnInfoIsDisabled": "bd00b1e0e0954270-btn-info_is-disabled",
3+
"btnInfoIsDisabled1": "bd00b1e0e0954270-btn--info_is-disabled_1",
4+
"fooBar": "bd00b1e0e0954270-foo_bar",
5+
"simple": "bd00b1e0e0954270-simple",
66
}
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
Object {
2-
"btn--info_is-disabled_1": "-bd00b1e0e0954270-btn--info_is-disabled_1",
3-
"btn-info-is-disabled": "-bd00b1e0e0954270-btn-info_is-disabled",
4-
"btn-info-is-disabled-1": "-bd00b1e0e0954270-btn--info_is-disabled_1",
5-
"btn-info_is-disabled": "-bd00b1e0e0954270-btn-info_is-disabled",
6-
"foo-bar": "-bd00b1e0e0954270-foo_bar",
7-
"foo_bar": "-bd00b1e0e0954270-foo_bar",
8-
"simple": "-bd00b1e0e0954270-simple",
2+
"btn--info_is-disabled_1": "bd00b1e0e0954270-btn--info_is-disabled_1",
3+
"btn-info-is-disabled": "bd00b1e0e0954270-btn-info_is-disabled",
4+
"btn-info-is-disabled-1": "bd00b1e0e0954270-btn--info_is-disabled_1",
5+
"btn-info_is-disabled": "bd00b1e0e0954270-btn-info_is-disabled",
6+
"foo-bar": "bd00b1e0e0954270-foo_bar",
7+
"foo_bar": "bd00b1e0e0954270-foo_bar",
8+
"simple": "bd00b1e0e0954270-simple",
99
}
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
Object {
2-
"bar": "-bd00b1e0e0954270-bar",
3-
"bav": "-bd00b1e0e0954270-bav",
4-
"foo": "-bd00b1e0e0954270-foo",
5-
"four": "-bd00b1e0e0954270-four",
6-
"one": "-bd00b1e0e0954270-one",
7-
"three": "-bd00b1e0e0954270-three",
8-
"two": "-bd00b1e0e0954270-two",
2+
"bar": "bd00b1e0e0954270-bar",
3+
"bav": "bd00b1e0e0954270-bav",
4+
"foo": "bd00b1e0e0954270-foo",
5+
"four": "bd00b1e0e0954270-four",
6+
"one": "bd00b1e0e0954270-one",
7+
"three": "bd00b1e0e0954270-three",
8+
"two": "bd00b1e0e0954270-two",
99
}
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
Object {
2-
"style": "-_6ec1c834ac8cc99e-style",
2+
"style": "_6ec1c834ac8cc99e-style",
33
}

β€Žpackages/rspack-test-tools/tests/configCases/css/override-exports/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import * as classes from "./index.module.css";
22

33
it("should have correct classes", function () {
44
expect(classes).toEqual(nsObj({
5-
base: "-_index_module_css-base",
6-
first: "-_index_module_css-first -_index_module_css-base",
7-
second: "-_index_module_css-second -_index_module_css-base",
8-
container: "-_index_module_css-container",
5+
base: "_index_module_css-base",
6+
first: "_index_module_css-first _index_module_css-base",
7+
second: "_index_module_css-second _index_module_css-base",
8+
container: "_index_module_css-container",
99
}))
1010
});

β€Žpackages/rspack-test-tools/tests/configCases/mangle-exports/skipping-mangle-css-modules/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ it("should not mangle css module", () => {
66
// Using this to trigger a none provided export
77
test.res;
88

9-
expect(test.test).toBe("-_6ec1c834ac8cc99e-test");
9+
expect(test.test).toBe("_6ec1c834ac8cc99e-test");
1010
});

β€Žpackages/rspack-test-tools/tests/defaultsCases/experiments/future-defaults.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,13 @@ module.exports = {
8383
+ "esModule": true,
8484
+ "exportsConvention": "as-is",
8585
+ "exportsOnly": false,
86-
+ "localIdentName": "[uniqueName]-[id]-[local]",
86+
+ "localIdentName": "[id]-[local]",
8787
+ },
8888
+ "css/module": Object {
8989
+ "esModule": true,
9090
+ "exportsConvention": "as-is",
9191
+ "exportsOnly": false,
92-
+ "localIdentName": "[uniqueName]-[id]-[local]",
92+
+ "localIdentName": "[id]-[local]",
9393
+ },
9494
@@ ... @@
9595
+ },

β€Žpackages/rspack-test-tools/tests/errorCases/error-test-push.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ module.exports = {
1818
Object {
1919
"errors": Array [
2020
Object {
21-
"message": " Γ— Error: test push\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n",
21+
"message": " Γ— Error: test push\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n",
2222
"moduleTrace": Array [],
23-
"stack": "Error: test push\\n at Object.fn (<TEST_TOOLS_ROOT>/tests/errorCases/error-test-push.js<LINE_COL>)\\n at next (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at AsyncSeriesHook.callAsyncStageRange (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at AsyncSeriesHook.callAsync (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at <RSPACK_ROOT>/dist/index.js<LINE_COL>",
23+
"stack": "Error: test push\\n at <TEST_TOOLS_ROOT>/tests/errorCases/error-test-push.js<LINE_COL>\\n at Object.fn (<RSPACK_ROOT>/dist/index.js<LINE_COL>)\\n at next (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at AsyncSeriesHook.callAsyncStageRange (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at AsyncSeriesHook.callAsync (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at <RSPACK_ROOT>/dist/index.js<LINE_COL>",
2424
},
2525
Object {
2626
"loc": "1:0-33",

β€Žpackages/rspack-test-tools/tests/errorCases/error-test-set-with-index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ module.exports = {
2020
Object {
2121
"errors": Array [
2222
Object {
23-
"message": " Γ— Error: error 1\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n",
23+
"message": " Γ— Error: error 1\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n",
2424
"moduleTrace": Array [],
25-
"stack": "Error: error 1\\n at Object.fn (<TEST_TOOLS_ROOT>/tests/errorCases/error-test-set-with-index.js<LINE_COL>)\\n at next (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at AsyncSeriesHook.callAsyncStageRange (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at AsyncSeriesHook.callAsync (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at <RSPACK_ROOT>/dist/index.js<LINE_COL>",
25+
"stack": "Error: error 1\\n at <TEST_TOOLS_ROOT>/tests/errorCases/error-test-set-with-index.js<LINE_COL>\\n at Object.fn (<RSPACK_ROOT>/dist/index.js<LINE_COL>)\\n at next (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at AsyncSeriesHook.callAsyncStageRange (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at AsyncSeriesHook.callAsync (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at <RSPACK_ROOT>/dist/index.js<LINE_COL>",
2626
},
2727
],
2828
"warnings": Array [],

β€Žpackages/rspack-test-tools/tests/errorCases/error-test-set.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ module.exports = {
1818
Object {
1919
"errors": Array [
2020
Object {
21-
"message": " Γ— Error: error 1\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n",
21+
"message": " Γ— Error: error 1\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n",
2222
"moduleTrace": Array [],
23-
"stack": "Error: error 1\\n at Object.fn (<TEST_TOOLS_ROOT>/tests/errorCases/error-test-set.js<LINE_COL>)\\n at next (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at AsyncSeriesHook.callAsyncStageRange (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at AsyncSeriesHook.callAsync (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at <RSPACK_ROOT>/dist/index.js<LINE_COL>",
23+
"stack": "Error: error 1\\n at <TEST_TOOLS_ROOT>/tests/errorCases/error-test-set.js<LINE_COL>\\n at Object.fn (<RSPACK_ROOT>/dist/index.js<LINE_COL>)\\n at next (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at AsyncSeriesHook.callAsyncStageRange (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at AsyncSeriesHook.callAsync (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at <RSPACK_ROOT>/dist/index.js<LINE_COL>",
2424
},
2525
Object {
26-
"message": " Γ— Error: error 2\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n",
26+
"message": " Γ— Error: error 2\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n",
2727
"moduleTrace": Array [],
28-
"stack": "Error: error 2\\n at Object.fn (<TEST_TOOLS_ROOT>/tests/errorCases/error-test-set.js<LINE_COL>)\\n at next (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at AsyncSeriesHook.callAsyncStageRange (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at AsyncSeriesHook.callAsync (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at <RSPACK_ROOT>/dist/index.js<LINE_COL>",
28+
"stack": "Error: error 2\\n at <TEST_TOOLS_ROOT>/tests/errorCases/error-test-set.js<LINE_COL>\\n at Object.fn (<RSPACK_ROOT>/dist/index.js<LINE_COL>)\\n at next (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at AsyncSeriesHook.callAsyncStageRange (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at AsyncSeriesHook.callAsync (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at <RSPACK_ROOT>/dist/index.js<LINE_COL>",
2929
},
3030
],
3131
"warnings": Array [],

β€Žpackages/rspack-test-tools/tests/errorCases/error-test-shift.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ module.exports = {
2222
Object {
2323
"errors": Array [
2424
Object {
25-
"message": " Γ— Error: test unshift\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n",
25+
"message": " Γ— Error: test unshift\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n",
2626
"moduleTrace": Array [],
27-
"stack": "Error: test unshift\\n at Object.fn (<TEST_TOOLS_ROOT>/tests/errorCases/error-test-shift.js<LINE_COL>)\\n at next (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at AsyncSeriesHook.callAsyncStageRange (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at AsyncSeriesHook.callAsync (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at <RSPACK_ROOT>/dist/index.js<LINE_COL>",
27+
"stack": "Error: test unshift\\n at <TEST_TOOLS_ROOT>/tests/errorCases/error-test-shift.js<LINE_COL>\\n at Object.fn (<RSPACK_ROOT>/dist/index.js<LINE_COL>)\\n at next (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at AsyncSeriesHook.callAsyncStageRange (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at AsyncSeriesHook.callAsync (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at <RSPACK_ROOT>/dist/index.js<LINE_COL>",
2828
},
2929
],
3030
"warnings": Array [],

β€Žpackages/rspack-test-tools/tests/errorCases/error-test-splice-1.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ module.exports = {
1818
Object {
1919
"errors": Array [
2020
Object {
21-
"message": " Γ— Error: test splice\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n",
21+
"message": " Γ— Error: test splice\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n",
2222
"moduleTrace": Array [],
23-
"stack": "Error: test splice\\n at Object.fn (<TEST_TOOLS_ROOT>/tests/errorCases/error-test-splice-1.js<LINE_COL>)\\n at next (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at AsyncSeriesHook.callAsyncStageRange (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at AsyncSeriesHook.callAsync (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at <RSPACK_ROOT>/dist/index.js<LINE_COL>",
23+
"stack": "Error: test splice\\n at <TEST_TOOLS_ROOT>/tests/errorCases/error-test-splice-1.js<LINE_COL>\\n at Object.fn (<RSPACK_ROOT>/dist/index.js<LINE_COL>)\\n at next (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at AsyncSeriesHook.callAsyncStageRange (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at AsyncSeriesHook.callAsync (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at <RSPACK_ROOT>/dist/index.js<LINE_COL>",
2424
},
2525
],
2626
"warnings": Array [],

β€Žpackages/rspack-test-tools/tests/errorCases/error-test-splice-2.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ module.exports = {
1818
Object {
1919
"errors": Array [
2020
Object {
21-
"message": " Γ— Error: test splice\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n",
21+
"message": " Γ— Error: test splice\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n β”‚ at xxx\\n",
2222
"moduleTrace": Array [],
23-
"stack": "Error: test splice\\n at Object.fn (<TEST_TOOLS_ROOT>/tests/errorCases/error-test-splice-2.js<LINE_COL>)\\n at next (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at AsyncSeriesHook.callAsyncStageRange (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at AsyncSeriesHook.callAsync (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at <RSPACK_ROOT>/dist/index.js<LINE_COL>",
23+
"stack": "Error: test splice\\n at <TEST_TOOLS_ROOT>/tests/errorCases/error-test-splice-2.js<LINE_COL>\\n at Object.fn (<RSPACK_ROOT>/dist/index.js<LINE_COL>)\\n at next (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at AsyncSeriesHook.callAsyncStageRange (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at AsyncSeriesHook.callAsync (<ROOT>/node_modules/<PNPM_INNER>/@rspack/lite-tapable/dist/index.js<LINE_COL>)\\n at <RSPACK_ROOT>/dist/index.js<LINE_COL>",
2424
},
2525
Object {
2626
"loc": "1:0-33",

0 commit comments

Comments
Β (0)