Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
"devDependencies": {
"@prefresh/core": "^1.5.10",
"@prefresh/utils": "^1.2.1",
"@rspack/core": "^2.1.10",
"@rspack/test-tools": "2.1.10",
"@rspack/core": "^2.2.8",
"@rspack/test-tools": "2.2.8",
"@swc/helpers": "0.5.23",
"@swc/plugin-prefresh": "^12.19.0",
"@swc/plugin-prefresh": "^16.0.0",
"@types/node": "^24.13.3",
"heading-case": "^2.0.1",
"preact": "^10.29.8",
Expand Down
768 changes: 412 additions & 356 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ minimumReleaseAgeExclude:
- '@rspress/*'
- '@rstackjs/*'
- '@rstest/*'
- '@swc/plugin-prefresh@16.0.0'
- '@typescript/*'
- 'rsbuild-plugin-*'
- rstack
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
## Asset Files
- Bundle: bundle.js
- Manifest: main.LAST_HASH.hot-update.json, size: 28
- Update: main.LAST_HASH.hot-update.js, size: 4806
- Update: main.LAST_HASH.hot-update.js, size: 4812

## Manifest

Expand Down Expand Up @@ -143,7 +143,7 @@ if (moduleHot) {
data.moduleExports = __prefresh_utils__.getExports(module);
});

moduleHot.accept(function errorRecovery() {
moduleHot.accept(function errorRecovery(error) {
if (
typeof __prefresh_errors__ !== 'undefined' &&
__prefresh_errors__ &&
Expand All @@ -157,6 +157,7 @@ if (moduleHot) {
}
}


},

},function(__webpack_require__) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
## Asset Files
- Bundle: bundle.js
- Manifest: main.LAST_HASH.hot-update.json, size: 28
- Update: main.LAST_HASH.hot-update.js, size: 5137
- Update: main.LAST_HASH.hot-update.js, size: 5143

## Manifest

Expand Down Expand Up @@ -150,7 +150,7 @@ if (moduleHot) {
data.moduleExports = __prefresh_utils__.getExports(module);
});

moduleHot.accept(function errorRecovery() {
moduleHot.accept(function errorRecovery(error) {
if (
typeof __prefresh_errors__ !== 'undefined' &&
__prefresh_errors__ &&
Expand All @@ -164,6 +164,7 @@ if (moduleHot) {
}
}


},

},function(__webpack_require__) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
## Asset Files
- Bundle: bundle.js
- Manifest: main.LAST_HASH.hot-update.json, size: 28
- Update: main.LAST_HASH.hot-update.js, size: 5150
- Update: main.LAST_HASH.hot-update.js, size: 5156

## Manifest

Expand Down Expand Up @@ -150,7 +150,7 @@ if (moduleHot) {
data.moduleExports = __prefresh_utils__.getExports(module);
});

moduleHot.accept(function errorRecovery() {
moduleHot.accept(function errorRecovery(error) {
if (
typeof __prefresh_errors__ !== 'undefined' &&
__prefresh_errors__ &&
Expand All @@ -164,6 +164,7 @@ if (moduleHot) {
}
}


},

},function(__webpack_require__) {
Expand Down
5 changes: 3 additions & 2 deletions test/hotCases/hook/useState_keep/__snapshots__/web/1.snap.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
## Asset Files
- Bundle: bundle.js
- Manifest: main.LAST_HASH.hot-update.json, size: 28
- Update: main.LAST_HASH.hot-update.js, size: 4354
- Update: main.LAST_HASH.hot-update.js, size: 4360

## Manifest

Expand Down Expand Up @@ -132,7 +132,7 @@ if (moduleHot) {
data.moduleExports = __prefresh_utils__.getExports(module);
});

moduleHot.accept(function errorRecovery() {
moduleHot.accept(function errorRecovery(error) {
if (
typeof __prefresh_errors__ !== 'undefined' &&
__prefresh_errors__ &&
Expand All @@ -146,6 +146,7 @@ if (moduleHot) {
}
}


},

},function(__webpack_require__) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
## Asset Files
- Bundle: bundle.js
- Manifest: main.LAST_HASH.hot-update.json, size: 28
- Update: main.LAST_HASH.hot-update.js, size: 4257
- Update: main.LAST_HASH.hot-update.js, size: 4263

## Manifest

Expand Down Expand Up @@ -131,7 +131,7 @@ if (moduleHot) {
data.moduleExports = __prefresh_utils__.getExports(module);
});

moduleHot.accept(function errorRecovery() {
moduleHot.accept(function errorRecovery(error) {
if (
typeof __prefresh_errors__ !== 'undefined' &&
__prefresh_errors__ &&
Expand All @@ -145,6 +145,7 @@ if (moduleHot) {
}
}


},

},function(__webpack_require__) {
Expand Down
5 changes: 3 additions & 2 deletions test/hotCases/jsx/basic/__snapshots__/web/1.snap.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
## Asset Files
- Bundle: bundle.js
- Manifest: main.LAST_HASH.hot-update.json, size: 28
- Update: main.LAST_HASH.hot-update.js, size: 3697
- Update: main.LAST_HASH.hot-update.js, size: 3703

## Manifest

Expand Down Expand Up @@ -120,7 +120,7 @@ if (moduleHot) {
data.moduleExports = __prefresh_utils__.getExports(module);
});

moduleHot.accept(function errorRecovery() {
moduleHot.accept(function errorRecovery(error) {
if (
typeof __prefresh_errors__ !== 'undefined' &&
__prefresh_errors__ &&
Expand All @@ -134,6 +134,7 @@ if (moduleHot) {
}
}


},

},function(__webpack_require__) {
Expand Down
5 changes: 3 additions & 2 deletions test/hotCases/jsx/basic/__snapshots__/web/2.snap.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
## Asset Files
- Bundle: bundle.js
- Manifest: main.LAST_HASH.hot-update.json, size: 28
- Update: main.LAST_HASH.hot-update.js, size: 3697
- Update: main.LAST_HASH.hot-update.js, size: 3703

## Manifest

Expand Down Expand Up @@ -120,7 +120,7 @@ if (moduleHot) {
data.moduleExports = __prefresh_utils__.getExports(module);
});

moduleHot.accept(function errorRecovery() {
moduleHot.accept(function errorRecovery(error) {
if (
typeof __prefresh_errors__ !== 'undefined' &&
__prefresh_errors__ &&
Expand All @@ -134,6 +134,7 @@ if (moduleHot) {
}
}


},

},function(__webpack_require__) {
Expand Down
8 changes: 5 additions & 3 deletions test/hotCases/jsx/child/__snapshots__/web/1.snap.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## Asset Files
- Bundle: bundle.js
- Manifest: main.LAST_HASH.hot-update.json, size: 28
- Update: main.LAST_HASH.hot-update.js, size: 6982
- Update: main.LAST_HASH.hot-update.js, size: 6994

## Manifest

Expand Down Expand Up @@ -122,7 +122,7 @@ if (moduleHot) {
data.moduleExports = __prefresh_utils__.getExports(module);
});

moduleHot.accept(function errorRecovery() {
moduleHot.accept(function errorRecovery(error) {
if (
typeof __prefresh_errors__ !== 'undefined' &&
__prefresh_errors__ &&
Expand All @@ -136,6 +136,7 @@ if (moduleHot) {
}
}


},
"./child.jsx"(module, __webpack_exports__, __webpack_require__) {
__webpack_require__.r(__webpack_exports__);
Expand Down Expand Up @@ -219,7 +220,7 @@ if (moduleHot) {
data.moduleExports = __prefresh_utils__.getExports(module);
});

moduleHot.accept(function errorRecovery() {
moduleHot.accept(function errorRecovery(error) {
if (
typeof __prefresh_errors__ !== 'undefined' &&
__prefresh_errors__ &&
Expand All @@ -233,6 +234,7 @@ if (moduleHot) {
}
}


},

},function(__webpack_require__) {
Expand Down
5 changes: 3 additions & 2 deletions test/hotCases/jsx/child/__snapshots__/web/2.snap.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## Asset Files
- Bundle: bundle.js
- Manifest: main.LAST_HASH.hot-update.json, size: 28
- Update: main.LAST_HASH.hot-update.js, size: 3411
- Update: main.LAST_HASH.hot-update.js, size: 3417

## Manifest

Expand Down Expand Up @@ -115,7 +115,7 @@ if (moduleHot) {
data.moduleExports = __prefresh_utils__.getExports(module);
});

moduleHot.accept(function errorRecovery() {
moduleHot.accept(function errorRecovery(error) {
if (
typeof __prefresh_errors__ !== 'undefined' &&
__prefresh_errors__ &&
Expand All @@ -129,6 +129,7 @@ if (moduleHot) {
}
}


},

},function(__webpack_require__) {
Expand Down
5 changes: 3 additions & 2 deletions test/hotCases/jsx/value/__snapshots__/web/1.snap.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
## Asset Files
- Bundle: bundle.js
- Manifest: main.LAST_HASH.hot-update.json, size: 28
- Update: main.LAST_HASH.hot-update.js, size: 3720
- Update: main.LAST_HASH.hot-update.js, size: 3726

## Manifest

Expand Down Expand Up @@ -121,7 +121,7 @@ if (moduleHot) {
data.moduleExports = __prefresh_utils__.getExports(module);
});

moduleHot.accept(function errorRecovery() {
moduleHot.accept(function errorRecovery(error) {
if (
typeof __prefresh_errors__ !== 'undefined' &&
__prefresh_errors__ &&
Expand All @@ -135,6 +135,7 @@ if (moduleHot) {
}
}


},

},function(__webpack_require__) {
Expand Down
5 changes: 3 additions & 2 deletions test/hotCases/jsx/value/__snapshots__/web/2.snap.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
## Asset Files
- Bundle: bundle.js
- Manifest: main.LAST_HASH.hot-update.json, size: 28
- Update: main.LAST_HASH.hot-update.js, size: 3720
- Update: main.LAST_HASH.hot-update.js, size: 3726

## Manifest

Expand Down Expand Up @@ -121,7 +121,7 @@ if (moduleHot) {
data.moduleExports = __prefresh_utils__.getExports(module);
});

moduleHot.accept(function errorRecovery() {
moduleHot.accept(function errorRecovery(error) {
if (
typeof __prefresh_errors__ !== 'undefined' &&
__prefresh_errors__ &&
Expand All @@ -135,6 +135,7 @@ if (moduleHot) {
}
}


},

},function(__webpack_require__) {
Expand Down
Loading
Loading