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
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@
"@prefresh/core": "^1.5.3",
"@prefresh/utils": "^1.2.0",
"@rslib/core": "^0.4.0",
"@rspack/core": "1.2.2",
"@rspack/test-tools": "1.2.2",
"@swc/helpers": "0.5.15",
"@swc/plugin-prefresh": "^6.2.0",
"@rspack/core": "npm:@rspack-canary/core@1.5.8-canary-f37fe028-20250928065933",
"@rspack/test-tools": "npm:@rspack-canary/test-tools@1.5.8-canary-f37fe028-20250928065933",
"@swc/helpers": "0.5.17",
"@swc/plugin-prefresh": "^9.1.0",
"@types/jest": "29.5.14",
"@types/node": "^22.13.0",
"cross-env": "^7.0.3",
Expand Down
1,192 changes: 781 additions & 411 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Case useContext#initial: Step 0
# Case useContext_initial: Step 0

## Changed Files

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Case useContext#initial: Step 1
# Case useContext_initial: Step 1

## Changed Files
- app.jsx

## Asset Files
- Bundle: bundle.js
- Manifest: main.LAST_HASH.hot-update.json, size: 28
- Update: main.LAST_HASH.hot-update.js, size: 5034
- Update: main.LAST_HASH.hot-update.js, size: 5063

## Manifest

Expand All @@ -23,16 +23,20 @@
### main.LAST_HASH.hot-update.js

#### Changed Modules
- ../useContext​#initial/app.jsx
- ./app.jsx

#### Changed Runtime Modules
- webpack/runtime/get_full_hash

#### Changed Content
```js
"use strict";
self["webpackHotUpdate"]('main', {
"../useContext​#initial/app.jsx": (function (module, __webpack_exports__, __webpack_require__) {
self["webpackHotUpdate"]("main", {
"./app.jsx":
/*!*****************!*\
!*** ./app.jsx ***!
\*****************/
(function (module, __webpack_exports__, __webpack_require__) {
__webpack_require__.r(__webpack_exports__);
__webpack_require__.d(__webpack_exports__, {
App: () => (App)
Expand All @@ -59,12 +63,12 @@ function Inner() {
theme
]
}, void 0, true, {
fileName: "<ROOT>/test/hotCases/hook/useContext#initial/app.jsx",
fileName: "<ROOT>/test/hotCases/hook/useContext_initial/app.jsx",
lineNumber: 8,
columnNumber: 16
}, this)
}, void 0, false, {
fileName: "<ROOT>/test/hotCases/hook/useContext#initial/app.jsx",
fileName: "<ROOT>/test/hotCases/hook/useContext_initial/app.jsx",
lineNumber: 8,
columnNumber: 11
}, this);
Expand All @@ -73,7 +77,7 @@ _s(Inner, "+C1P7ukOg/azcV4AZ819oyezFOE=");
_c = Inner;
function App() {
return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(Inner, {}, void 0, false, {
fileName: "<ROOT>/test/hotCases/hook/useContext#initial/app.jsx",
fileName: "<ROOT>/test/hotCases/hook/useContext_initial/app.jsx",
lineNumber: 13,
columnNumber: 5
}, this);
Expand Down Expand Up @@ -162,10 +166,7 @@ if (moduleHot) {
},function(__webpack_require__) {
// webpack/runtime/get_full_hash
(() => {
__webpack_require__.h = function () {
return "CURRENT_HASH";
};

__webpack_require__.h = () => ("CURRENT_HASH")
})();

}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Case useContext#keep: Step 0
# Case useContext_keep: Step 0

## Changed Files

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Case useContext#keep: Step 1
# Case useContext_keep: Step 1

## Changed Files
- app.jsx

## Asset Files
- Bundle: bundle.js
- Manifest: main.LAST_HASH.hot-update.json, size: 28
- Update: main.LAST_HASH.hot-update.js, size: 5331
- Update: main.LAST_HASH.hot-update.js, size: 5363

## Manifest

Expand All @@ -23,16 +23,20 @@
### main.LAST_HASH.hot-update.js

#### Changed Modules
- ../useContext​#keep/app.jsx
- ./app.jsx

#### Changed Runtime Modules
- webpack/runtime/get_full_hash

#### Changed Content
```js
"use strict";
self["webpackHotUpdate"]('main', {
"../useContext​#keep/app.jsx": (function (module, __webpack_exports__, __webpack_require__) {
self["webpackHotUpdate"]("main", {
"./app.jsx":
/*!*****************!*\
!*** ./app.jsx ***!
\*****************/
(function (module, __webpack_exports__, __webpack_require__) {
__webpack_require__.r(__webpack_exports__);
__webpack_require__.d(__webpack_exports__, {
App: () => (App)
Expand All @@ -59,12 +63,12 @@ function Inner() {
theme
]
}, void 0, true, {
fileName: "<ROOT>/test/hotCases/hook/useContext#keep/app.jsx",
fileName: "<ROOT>/test/hotCases/hook/useContext_keep/app.jsx",
lineNumber: 8,
columnNumber: 16
}, this)
}, void 0, false, {
fileName: "<ROOT>/test/hotCases/hook/useContext#keep/app.jsx",
fileName: "<ROOT>/test/hotCases/hook/useContext_keep/app.jsx",
lineNumber: 8,
columnNumber: 11
}, this);
Expand All @@ -75,12 +79,12 @@ function App() {
return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(Theme.Provider, {
value: "dark",
children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(Inner, {}, void 0, false, {
fileName: "<ROOT>/test/hotCases/hook/useContext#keep/app.jsx",
fileName: "<ROOT>/test/hotCases/hook/useContext_keep/app.jsx",
lineNumber: 14,
columnNumber: 7
}, this)
}, void 0, false, {
fileName: "<ROOT>/test/hotCases/hook/useContext#keep/app.jsx",
fileName: "<ROOT>/test/hotCases/hook/useContext_keep/app.jsx",
lineNumber: 13,
columnNumber: 5
}, this);
Expand Down Expand Up @@ -169,10 +173,7 @@ if (moduleHot) {
},function(__webpack_require__) {
// webpack/runtime/get_full_hash
(() => {
__webpack_require__.h = function () {
return "CURRENT_HASH";
};

__webpack_require__.h = () => ("CURRENT_HASH")
})();

}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Case useContext#provide: Step 0
# Case useContext_provide: Step 0

## Changed Files

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Case useContext#provide: Step 1
# Case useContext_provide: Step 1

## Changed Files
- app.jsx

## Asset Files
- Bundle: bundle.js
- Manifest: main.LAST_HASH.hot-update.json, size: 28
- Update: main.LAST_HASH.hot-update.js, size: 5347
- Update: main.LAST_HASH.hot-update.js, size: 5376

## Manifest

Expand All @@ -23,16 +23,20 @@
### main.LAST_HASH.hot-update.js

#### Changed Modules
- ../useContext​#provide/app.jsx
- ./app.jsx

#### Changed Runtime Modules
- webpack/runtime/get_full_hash

#### Changed Content
```js
"use strict";
self["webpackHotUpdate"]('main', {
"../useContext​#provide/app.jsx": (function (module, __webpack_exports__, __webpack_require__) {
self["webpackHotUpdate"]("main", {
"./app.jsx":
/*!*****************!*\
!*** ./app.jsx ***!
\*****************/
(function (module, __webpack_exports__, __webpack_require__) {
__webpack_require__.r(__webpack_exports__);
__webpack_require__.d(__webpack_exports__, {
App: () => (App)
Expand All @@ -59,12 +63,12 @@ function Inner() {
theme
]
}, void 0, true, {
fileName: "<ROOT>/test/hotCases/hook/useContext#provide/app.jsx",
fileName: "<ROOT>/test/hotCases/hook/useContext_provide/app.jsx",
lineNumber: 8,
columnNumber: 16
}, this)
}, void 0, false, {
fileName: "<ROOT>/test/hotCases/hook/useContext#provide/app.jsx",
fileName: "<ROOT>/test/hotCases/hook/useContext_provide/app.jsx",
lineNumber: 8,
columnNumber: 11
}, this);
Expand All @@ -75,12 +79,12 @@ function App() {
return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(Theme.Provider, {
value: "light",
children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(Inner, {}, void 0, false, {
fileName: "<ROOT>/test/hotCases/hook/useContext#provide/app.jsx",
fileName: "<ROOT>/test/hotCases/hook/useContext_provide/app.jsx",
lineNumber: 14,
columnNumber: 7
}, this)
}, void 0, false, {
fileName: "<ROOT>/test/hotCases/hook/useContext#provide/app.jsx",
fileName: "<ROOT>/test/hotCases/hook/useContext_provide/app.jsx",
lineNumber: 13,
columnNumber: 5
}, this);
Expand Down Expand Up @@ -169,10 +173,7 @@ if (moduleHot) {
},function(__webpack_require__) {
// webpack/runtime/get_full_hash
(() => {
__webpack_require__.h = function () {
return "CURRENT_HASH";
};

__webpack_require__.h = () => ("CURRENT_HASH")
})();

}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Case useState#keep: Step 0
# Case useState_keep: Step 0

## Changed Files

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Case useState#keep: Step 1
# Case useState_keep: Step 1

## Changed Files
- app.jsx

## Asset Files
- Bundle: bundle.js
- Manifest: main.LAST_HASH.hot-update.json, size: 28
- Update: main.LAST_HASH.hot-update.js, size: 4614
- Update: main.LAST_HASH.hot-update.js, size: 4648

## Manifest

Expand All @@ -23,16 +23,20 @@
### main.LAST_HASH.hot-update.js

#### Changed Modules
- ../useState​#keep/app.jsx
- ./app.jsx

#### Changed Runtime Modules
- webpack/runtime/get_full_hash

#### Changed Content
```js
"use strict";
self["webpackHotUpdate"]('main', {
"../useState​#keep/app.jsx": (function (module, __webpack_exports__, __webpack_require__) {
self["webpackHotUpdate"]("main", {
"./app.jsx":
/*!*****************!*\
!*** ./app.jsx ***!
\*****************/
(function (module, __webpack_exports__, __webpack_require__) {
__webpack_require__.r(__webpack_exports__);
__webpack_require__.d(__webpack_exports__, {
App: () => (App)
Expand All @@ -57,12 +61,12 @@ function App() {
theme
]
}, void 0, true, {
fileName: "<ROOT>/test/hotCases/hook/useState#keep/app.jsx",
fileName: "<ROOT>/test/hotCases/hook/useState_keep/app.jsx",
lineNumber: 6,
columnNumber: 16
}, this)
}, void 0, false, {
fileName: "<ROOT>/test/hotCases/hook/useState#keep/app.jsx",
fileName: "<ROOT>/test/hotCases/hook/useState_keep/app.jsx",
lineNumber: 6,
columnNumber: 11
}, this);
Expand Down Expand Up @@ -151,10 +155,7 @@ if (moduleHot) {
},function(__webpack_require__) {
// webpack/runtime/get_full_hash
(() => {
__webpack_require__.h = function () {
return "CURRENT_HASH";
};

__webpack_require__.h = () => ("CURRENT_HASH")
})();

}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Case useState#reset: Step 0
# Case useState_reset: Step 0

## Changed Files

Expand Down
Loading