diff options
Diffstat (limited to 'test/snapshots')
43 files changed, 142 insertions, 142 deletions
diff --git a/test/snapshots/array-args-with-default-values.hmr.js b/test/snapshots/array-args-with-default-values.hmr.js index 421272052..a6b3e1090 100644 --- a/test/snapshots/array-args-with-default-values.hmr.js +++ b/test/snapshots/array-args-with-default-values.hmr.js @@ -8,7 +8,7 @@ __FastRefreshModule as FastHMR import { __FastRefreshRuntime as FastRefresh } from "http://localhost:8080/bun:wrap"; -var hmr = new FastHMR(3022324119, "array-args-with-default-values.js", FastRefresh), exports = hmr.exports; +var hmr = new FastHMR(326432150, "array-args-with-default-values.js", FastRefresh), exports = hmr.exports; (hmr._load = function() { var lines; const data = () => lines.map(([a = null, b = null, c = null, d = null]) => ({ diff --git a/test/snapshots/bundled-entry-point.hmr.js b/test/snapshots/bundled-entry-point.hmr.js index 4440f8f36..2e5bcbf18 100644 --- a/test/snapshots/bundled-entry-point.hmr.js +++ b/test/snapshots/bundled-entry-point.hmr.js @@ -1,5 +1,5 @@ import { -__require as require +__require } from "http://localhost:8080/bun:wrap"; import { __HMRClient as Bun @@ -11,8 +11,8 @@ __FastRefreshModule as FastHMR import { __FastRefreshRuntime as FastRefresh } from "http://localhost:8080/bun:wrap"; -import * as $45b81229 from "http://localhost:8080/node_modules/react/index.js"; -var hmr = new FastHMR(2903293251, "bundled-entry-point.js", FastRefresh), exports = hmr.exports; +import * as $a66742df from "http://localhost:8080/node_modules/react/index.js"; +var hmr = new FastHMR(173057717, "bundled-entry-point.js", FastRefresh), exports = hmr.exports; (hmr._load = function() { function test() { return testDone(import.meta.url); diff --git a/test/snapshots/bundled-entry-point.js b/test/snapshots/bundled-entry-point.js index 4f5a59894..12722a5c1 100644 --- a/test/snapshots/bundled-entry-point.js +++ b/test/snapshots/bundled-entry-point.js @@ -1,7 +1,7 @@ import { -__require as require +__require } from "http://localhost:8080/bun:wrap"; -import * as $45b81229 from "http://localhost:8080/node_modules/react/index.js"; +import * as $a66742df from "http://localhost:8080/node_modules/react/index.js"; export function test() { return testDone(import.meta.url); } diff --git a/test/snapshots/caught-require.hmr.js b/test/snapshots/caught-require.hmr.js index e1229ee3f..3bed4f5d2 100644 --- a/test/snapshots/caught-require.hmr.js +++ b/test/snapshots/caught-require.hmr.js @@ -13,7 +13,7 @@ __FastRefreshRuntime as FastRefresh } from "http://localhost:8080/bun:wrap"; var this_package_should_not_exist_f335_0 = (() => ({})); var this_package_should_not_exist_f335_1 = (() => ({})); -var hmr = new FastHMR(2167781, "caught-require.js", FastRefresh), exports = hmr.exports; +var hmr = new FastHMR(3165260286, "caught-require.js", FastRefresh), exports = hmr.exports; await (hmr._load = async function() { try { require((() => { throw (new Error(`Cannot require module "this-package-should-not-exist"`)); } )()); diff --git a/test/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.js b/test/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.js index 3d98612c6..5eab4a981 100644 --- a/test/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.js +++ b/test/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.js @@ -13,7 +13,7 @@ import _auth from "http://localhost:8080/_auth.js"; import * as _loginReally from "http://localhost:8080/_login.js"; import * as _loginReally2 from "http://localhost:8080/_login.js"; import * as _authReally from "http://localhost:8080/_auth.js"; -var hmr = new FastHMR(2970650542, "cjs-transform-shouldnt-have-static-imports-in-cjs-function.js", FastRefresh), exports = hmr.exports; +var hmr = new FastHMR(1284442761, "cjs-transform-shouldnt-have-static-imports-in-cjs-function.js", FastRefresh), exports = hmr.exports; (hmr._load = function() { function test() { return testDone(import.meta.url); diff --git a/test/snapshots/code-simplification-neql-define.hmr.js b/test/snapshots/code-simplification-neql-define.hmr.js index 51111af01..93dfde11f 100644 --- a/test/snapshots/code-simplification-neql-define.hmr.js +++ b/test/snapshots/code-simplification-neql-define.hmr.js @@ -8,7 +8,7 @@ __FastRefreshModule as FastHMR import { __FastRefreshRuntime as FastRefresh } from "http://localhost:8080/bun:wrap"; -var hmr = new FastHMR(3365801599, "code-simplification-neql-define.js", FastRefresh), exports = hmr.exports; +var hmr = new FastHMR(373889696, "code-simplification-neql-define.js", FastRefresh), exports = hmr.exports; (hmr._load = function() { var testFailed = false; const invariant = () => { diff --git a/test/snapshots/custom-emotion-jsx/file.hmr.jsx b/test/snapshots/custom-emotion-jsx/file.hmr.jsx index d16266fd1..a66333a61 100644 --- a/test/snapshots/custom-emotion-jsx/file.hmr.jsx +++ b/test/snapshots/custom-emotion-jsx/file.hmr.jsx @@ -11,12 +11,12 @@ __require as require import { __FastRefreshModule as FastHMR } from "http://localhost:8080/bun:wrap"; -import * as $5bf278c5 from "http://localhost:8080/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.cjs.js"; -var JSX = require($5bf278c5); +import * as $f1431544 from "http://localhost:8080/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.cjs.js"; +var JSX = require($f1431544); var jsx = require(JSX).jsxDEV; -import * as $d2dc5006 from "http://localhost:8080/node_modules/react-dom/index.js"; -var ReactDOM = require($d2dc5006); -var hmr = new FastHMR(1769322314, "custom-emotion-jsx/file.jsx", FastRefresh), exports = hmr.exports; +import * as $12d4369 from "http://localhost:8080/node_modules/react-dom/index.js"; +var ReactDOM = require($12d4369); +var hmr = new FastHMR(3560219886, "custom-emotion-jsx/file.jsx", FastRefresh), exports = hmr.exports; (hmr._load = function() { var Foo = () => jsx("div", { css: { content: '"it worked!"' } diff --git a/test/snapshots/custom-emotion-jsx/file.jsx b/test/snapshots/custom-emotion-jsx/file.jsx index bef09a0c3..48cb6b175 100644 --- a/test/snapshots/custom-emotion-jsx/file.jsx +++ b/test/snapshots/custom-emotion-jsx/file.jsx @@ -1,11 +1,11 @@ import { __require as require } from "http://localhost:8080/bun:wrap"; -import * as $5bf278c5 from "http://localhost:8080/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.cjs.js"; -var JSX = require($5bf278c5); +import * as $f1431544 from "http://localhost:8080/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.cjs.js"; +var JSX = require($f1431544); var jsx = require(JSX).jsxDEV; -import * as $d2dc5006 from "http://localhost:8080/node_modules/react-dom/index.js"; -var ReactDOM = require($d2dc5006); +import * as $12d4369 from "http://localhost:8080/node_modules/react-dom/index.js"; +var ReactDOM = require($12d4369); export const Foo = () => jsx("div", { css: { content: '"it worked!"' } }, undefined, false, undefined, this); diff --git a/test/snapshots/export-default-module-hot.hmr.js b/test/snapshots/export-default-module-hot.hmr.js index a1b5a69a2..0b228609e 100644 --- a/test/snapshots/export-default-module-hot.hmr.js +++ b/test/snapshots/export-default-module-hot.hmr.js @@ -8,7 +8,7 @@ __FastRefreshModule as FastHMR import { __FastRefreshRuntime as FastRefresh } from "http://localhost:8080/bun:wrap"; -var hmr = new FastHMR(2744655916, "export-default-module-hot.js", FastRefresh), exports = hmr.exports; +var hmr = new FastHMR(2073254346, "export-default-module-hot.js", FastRefresh), exports = hmr.exports; (hmr._load = function() { var export_default_module_hot_default = typeof module !== "undefined" && module.id; function test() { diff --git a/test/snapshots/export.hmr.js b/test/snapshots/export.hmr.js index 2ec5e1a80..1cb71d0bd 100644 --- a/test/snapshots/export.hmr.js +++ b/test/snapshots/export.hmr.js @@ -10,7 +10,7 @@ __FastRefreshRuntime as FastRefresh } from "http://localhost:8080/bun:wrap"; import what from "http://localhost:8080/_auth.js"; import * as where from "http://localhost:8080/_auth.js"; -var hmr = new FastHMR(2026450590, "export.js", FastRefresh), exports = hmr.exports; +var hmr = new FastHMR(1805832743, "export.js", FastRefresh), exports = hmr.exports; (hmr._load = function() { var yoyoyo = "yoyoyo"; function hey() { diff --git a/test/snapshots/forbid-in-is-correct.hmr.js b/test/snapshots/forbid-in-is-correct.hmr.js index fc01825b5..b107826b2 100644 --- a/test/snapshots/forbid-in-is-correct.hmr.js +++ b/test/snapshots/forbid-in-is-correct.hmr.js @@ -8,7 +8,7 @@ __FastRefreshModule as FastHMR import { __FastRefreshRuntime as FastRefresh } from "http://localhost:8080/bun:wrap"; -var hmr = new FastHMR(30801918, "forbid-in-is-correct.js", FastRefresh), exports = hmr.exports; +var hmr = new FastHMR(483885974, "forbid-in-is-correct.js", FastRefresh), exports = hmr.exports; (hmr._load = function() { var foo = () => { var D = (i, r) => () => (r || i((r = { exports: {} }).exports, r), r.exports); diff --git a/test/snapshots/global-is-remapped-to-globalThis.hmr.js b/test/snapshots/global-is-remapped-to-globalThis.hmr.js index 7db0c2ef9..588209909 100644 --- a/test/snapshots/global-is-remapped-to-globalThis.hmr.js +++ b/test/snapshots/global-is-remapped-to-globalThis.hmr.js @@ -8,7 +8,7 @@ __FastRefreshModule as FastHMR import { __FastRefreshRuntime as FastRefresh } from "http://localhost:8080/bun:wrap"; -var hmr = new FastHMR(997256900, "global-is-remapped-to-globalThis.js", FastRefresh), exports = hmr.exports; +var hmr = new FastHMR(614040514, "global-is-remapped-to-globalThis.js", FastRefresh), exports = hmr.exports; (hmr._load = function() { function test() { console.assert(globalThis === globalThis); diff --git a/test/snapshots/jsx-entities.hmr.jsx b/test/snapshots/jsx-entities.hmr.jsx index cee60e53e..b1988be52 100644 --- a/test/snapshots/jsx-entities.hmr.jsx +++ b/test/snapshots/jsx-entities.hmr.jsx @@ -11,14 +11,14 @@ __require as require import { __FastRefreshModule as FastHMR } from "http://localhost:8080/bun:wrap"; -import * as $1407d117 from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; -var JSX = require($1407d117); -import * as $45b81229 from "http://localhost:8080/node_modules/react/index.js"; -var JSXClassic = require($45b81229); +import * as $a77976b9 from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; +var JSX = require($a77976b9); +import * as $a66742df from "http://localhost:8080/node_modules/react/index.js"; +var JSXClassic = require($a66742df); var jsx = require(JSX).jsxDEV, JSXFrag = require(JSXClassic).Fragment; -import * as $72f3f54c from "http://localhost:8080/node_modules/react-dom/server.browser.js"; -var ReactDOM = require($72f3f54c); -var hmr = new FastHMR(2026553427, "jsx-entities.jsx", FastRefresh), exports = hmr.exports; +import * as $66da6d1a from "http://localhost:8080/node_modules/react-dom/server.browser.js"; +var ReactDOM = require($66da6d1a); +var hmr = new FastHMR(3960480319, "jsx-entities.jsx", FastRefresh), exports = hmr.exports; (hmr._load = function() { const elements = { [ReactDOM.renderToString(jsx(JSXFrag, { diff --git a/test/snapshots/jsx-entities.jsx b/test/snapshots/jsx-entities.jsx index e4f9a8745..7fd4f1eac 100644 --- a/test/snapshots/jsx-entities.jsx +++ b/test/snapshots/jsx-entities.jsx @@ -1,13 +1,13 @@ import { __require as require } from "http://localhost:8080/bun:wrap"; -import * as $1407d117 from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; -var JSX = require($1407d117); -import * as $45b81229 from "http://localhost:8080/node_modules/react/index.js"; -var JSXClassic = require($45b81229); +import * as $a77976b9 from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; +var JSX = require($a77976b9); +import * as $a66742df from "http://localhost:8080/node_modules/react/index.js"; +var JSXClassic = require($a66742df); var jsx = require(JSX).jsxDEV, JSXFrag = require(JSXClassic).Fragment; -import * as $72f3f54c from "http://localhost:8080/node_modules/react-dom/server.browser.js"; -var ReactDOM = require($72f3f54c); +import * as $66da6d1a from "http://localhost:8080/node_modules/react-dom/server.browser.js"; +var ReactDOM = require($66da6d1a); const elements = { [ReactDOM.renderToString(jsx(JSXFrag, { children: '"' diff --git a/test/snapshots/jsx-spacing.hmr.jsx b/test/snapshots/jsx-spacing.hmr.jsx index b626bd920..05629e1f7 100644 --- a/test/snapshots/jsx-spacing.hmr.jsx +++ b/test/snapshots/jsx-spacing.hmr.jsx @@ -11,12 +11,12 @@ __require as require import { __FastRefreshModule as FastHMR } from "http://localhost:8080/bun:wrap"; -import * as $1407d117 from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; -var JSX = require($1407d117); +import * as $a77976b9 from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; +var JSX = require($a77976b9); var jsx = require(JSX).jsxDEV; -import * as $72f3f54c from "http://localhost:8080/node_modules/react-dom/server.browser.js"; -var ReactDOM = require($72f3f54c); -var hmr = new FastHMR(1284217403, "jsx-spacing.jsx", FastRefresh), exports = hmr.exports; +import * as $66da6d1a from "http://localhost:8080/node_modules/react-dom/server.browser.js"; +var ReactDOM = require($66da6d1a); +var hmr = new FastHMR(4107634022, "jsx-spacing.jsx", FastRefresh), exports = hmr.exports; (hmr._load = function() { const ReturnDescriptionAsString = ({ description }) => description; function test() { diff --git a/test/snapshots/jsx-spacing.jsx b/test/snapshots/jsx-spacing.jsx index 2d79ddee7..477e56fc5 100644 --- a/test/snapshots/jsx-spacing.jsx +++ b/test/snapshots/jsx-spacing.jsx @@ -1,11 +1,11 @@ import { __require as require } from "http://localhost:8080/bun:wrap"; -import * as $1407d117 from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; -var JSX = require($1407d117); +import * as $a77976b9 from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; +var JSX = require($a77976b9); var jsx = require(JSX).jsxDEV; -import * as $72f3f54c from "http://localhost:8080/node_modules/react-dom/server.browser.js"; -var ReactDOM = require($72f3f54c); +import * as $66da6d1a from "http://localhost:8080/node_modules/react-dom/server.browser.js"; +var ReactDOM = require($66da6d1a); const ReturnDescriptionAsString = ({ description }) => description; export function test() { const _bun = ReactDOM.renderToString(jsx(ReturnDescriptionAsString, { diff --git a/test/snapshots/latin1-chars-in-regexp.hmr.js b/test/snapshots/latin1-chars-in-regexp.hmr.js index 88183696a..88bc29f21 100644 --- a/test/snapshots/latin1-chars-in-regexp.hmr.js +++ b/test/snapshots/latin1-chars-in-regexp.hmr.js @@ -8,7 +8,7 @@ __FastRefreshModule as FastHMR import { __FastRefreshRuntime as FastRefresh } from "http://localhost:8080/bun:wrap"; -var hmr = new FastHMR(3684541220, "latin1-chars-in-regexp.js", FastRefresh), exports = hmr.exports; +var hmr = new FastHMR(3390984578, "latin1-chars-in-regexp.js", FastRefresh), exports = hmr.exports; (hmr._load = function() { var re_utob = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g; var re_btou = new RegExp([ diff --git a/test/snapshots/lodash-regexp.hmr.js b/test/snapshots/lodash-regexp.hmr.js index 896ad287a..92df71384 100644 --- a/test/snapshots/lodash-regexp.hmr.js +++ b/test/snapshots/lodash-regexp.hmr.js @@ -1,5 +1,5 @@ import { -__require as require +__require } from "http://localhost:8080/bun:wrap"; import { __HMRClient as Bun @@ -11,9 +11,9 @@ __FastRefreshModule as FastHMR import { __FastRefreshRuntime as FastRefresh } from "http://localhost:8080/bun:wrap"; -import * as $2f2e4966 from "http://localhost:8080/node_modules/lodash/lodash.js"; -var { shuffle} = require($2f2e4966); -var hmr = new FastHMR(639488503, "lodash-regexp.js", FastRefresh), exports = hmr.exports; +import * as $75175720 from "http://localhost:8080/node_modules/lodash/lodash.js"; +var { shuffle} = __require($75175720); +var hmr = new FastHMR(2675673186, "lodash-regexp.js", FastRefresh), exports = hmr.exports; (hmr._load = function() { function test() { const foo = [1, 2, 3, 4, 6]; diff --git a/test/snapshots/lodash-regexp.js b/test/snapshots/lodash-regexp.js index 5f3950b6a..fa168dcae 100644 --- a/test/snapshots/lodash-regexp.js +++ b/test/snapshots/lodash-regexp.js @@ -1,8 +1,8 @@ import { -__require as require +__require } from "http://localhost:8080/bun:wrap"; -import * as $2f2e4966 from "http://localhost:8080/node_modules/lodash/lodash.js"; -var { shuffle} = require($2f2e4966); +import * as $75175720 from "http://localhost:8080/node_modules/lodash/lodash.js"; +var { shuffle} = __require($75175720); export function test() { const foo = [1, 2, 3, 4, 6]; const bar = shuffle(foo); diff --git a/test/snapshots/multiple-imports.hmr.js b/test/snapshots/multiple-imports.hmr.js index 4e42537f0..aee3e8262 100644 --- a/test/snapshots/multiple-imports.hmr.js +++ b/test/snapshots/multiple-imports.hmr.js @@ -11,14 +11,14 @@ __require as require import { __FastRefreshModule as FastHMR } from "http://localhost:8080/bun:wrap"; -import * as $1407d117 from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; -var JSX = require($1407d117); -import * as $45b81229 from "http://localhost:8080/node_modules/react/index.js"; -var JSXClassic = require($45b81229); +import * as $a77976b9 from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; +var JSX = require($a77976b9); +import * as $a66742df from "http://localhost:8080/node_modules/react/index.js"; +var JSXClassic = require($a66742df); var jsx = require(JSX).jsxDEV, JSXFrag = require(JSXClassic).Fragment; -var { default: React} = require($45b81229); -var { default: React2} = require($45b81229); -var hmr = new FastHMR(2063938930, "multiple-imports.js", FastRefresh), exports = hmr.exports; +var { default: React} = require($a66742df); +var { default: React2} = require($a66742df); +var hmr = new FastHMR(2469023238, "multiple-imports.js", FastRefresh), exports = hmr.exports; (hmr._load = function() { const bacon = React; const bacon2 = jsx(JSXFrag, { diff --git a/test/snapshots/multiple-imports.js b/test/snapshots/multiple-imports.js index e8717b572..ce4e25988 100644 --- a/test/snapshots/multiple-imports.js +++ b/test/snapshots/multiple-imports.js @@ -1,13 +1,13 @@ import { __require as require } from "http://localhost:8080/bun:wrap"; -import * as $1407d117 from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; -var JSX = require($1407d117); -import * as $45b81229 from "http://localhost:8080/node_modules/react/index.js"; -var JSXClassic = require($45b81229); +import * as $a77976b9 from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; +var JSX = require($a77976b9); +import * as $a66742df from "http://localhost:8080/node_modules/react/index.js"; +var JSXClassic = require($a66742df); var jsx = require(JSX).jsxDEV, JSXFrag = require(JSXClassic).Fragment; -var { default: React} = require($45b81229); -var { default: React2} = require($45b81229); +var { default: React} = require($a66742df); +var { default: React2} = require($a66742df); const bacon = React; const bacon2 = jsx(JSXFrag, { children: "hello" diff --git a/test/snapshots/multiple-var.hmr.js b/test/snapshots/multiple-var.hmr.js index 940dbddad..ac54f3ea4 100644 --- a/test/snapshots/multiple-var.hmr.js +++ b/test/snapshots/multiple-var.hmr.js @@ -8,7 +8,7 @@ __FastRefreshModule as FastHMR import { __FastRefreshRuntime as FastRefresh } from "http://localhost:8080/bun:wrap"; -var hmr = new FastHMR(1028067224, "multiple-var.js", FastRefresh), exports = hmr.exports; +var hmr = new FastHMR(1943563621, "multiple-var.js", FastRefresh), exports = hmr.exports; (hmr._load = function() { var foo = true; globalThis.TRUE_BUT_WE_CANT_TREESHAKE_IT = true; diff --git a/test/snapshots/number-literal-bug.hmr.js b/test/snapshots/number-literal-bug.hmr.js index 18e3748fa..eef2a876e 100644 --- a/test/snapshots/number-literal-bug.hmr.js +++ b/test/snapshots/number-literal-bug.hmr.js @@ -8,7 +8,7 @@ __FastRefreshModule as FastHMR import { __FastRefreshRuntime as FastRefresh } from "http://localhost:8080/bun:wrap"; -var hmr = new FastHMR(3925211795, "number-literal-bug.js", FastRefresh), exports = hmr.exports; +var hmr = new FastHMR(472725871, "number-literal-bug.js", FastRefresh), exports = hmr.exports; (hmr._load = function() { function test() { const precision = 10; diff --git a/test/snapshots/optional-chain-with-function.hmr.js b/test/snapshots/optional-chain-with-function.hmr.js index 96b06cfe0..5f0489926 100644 --- a/test/snapshots/optional-chain-with-function.hmr.js +++ b/test/snapshots/optional-chain-with-function.hmr.js @@ -8,7 +8,7 @@ __FastRefreshModule as FastHMR import { __FastRefreshRuntime as FastRefresh } from "http://localhost:8080/bun:wrap"; -var hmr = new FastHMR(2063149784, "optional-chain-with-function.js", FastRefresh), exports = hmr.exports; +var hmr = new FastHMR(2145684817, "optional-chain-with-function.js", FastRefresh), exports = hmr.exports; (hmr._load = function() { function test() { try { diff --git a/test/snapshots/package-json-exports/index.hmr.js b/test/snapshots/package-json-exports/index.hmr.js index 7220e2a6d..54e1abf17 100644 --- a/test/snapshots/package-json-exports/index.hmr.js +++ b/test/snapshots/package-json-exports/index.hmr.js @@ -1,5 +1,5 @@ import { -__require as require +__require } from "http://localhost:8080/bun:wrap"; import { __HMRClient as Bun @@ -11,15 +11,15 @@ __FastRefreshModule as FastHMR import { __FastRefreshRuntime as FastRefresh } from "http://localhost:8080/bun:wrap"; -import * as $147f6594 from "http://localhost:8080/package-json-exports/node_modules/inexact/browser/index.js"; -var InexactRoot = require($147f6594); -import * as $f9f33cd5 from "http://localhost:8080/package-json-exports/node_modules/inexact/browser/dir/file.js"; -var InexactFile = require($f9f33cd5); -import * as $efd1f056 from "http://localhost:8080/package-json-exports/node_modules/inexact/browser/foo.js"; -var ExactFile = require($efd1f056); -import * as $3e697ad7 from "http://localhost:8080/package-json-exports/node_modules/js-only-exports/browser/js-file.js"; -var JSFileExtensionOnly = require($3e697ad7); -var hmr = new FastHMR(2713515135, "package-json-exports/index.js", FastRefresh), exports = hmr.exports; +import * as $a4de9925 from "http://localhost:8080/package-json-exports/node_modules/inexact/browser/index.js"; +var InexactRoot = __require($a4de9925); +import * as $725c641 from "http://localhost:8080/package-json-exports/node_modules/inexact/browser/dir/file.js"; +var InexactFile = __require($725c641); +import * as $fbe61cb7 from "http://localhost:8080/package-json-exports/node_modules/inexact/browser/foo.js"; +var ExactFile = __require($fbe61cb7); +import * as $6a256e60 from "http://localhost:8080/package-json-exports/node_modules/js-only-exports/browser/js-file.js"; +var JSFileExtensionOnly = __require($6a256e60); +var hmr = new FastHMR(879772149, "package-json-exports/index.js", FastRefresh), exports = hmr.exports; (hmr._load = function() { async function test() { console.assert(InexactRoot.target === "browser"); diff --git a/test/snapshots/package-json-exports/index.js b/test/snapshots/package-json-exports/index.js index 7d9ad8b60..8ed8f1376 100644 --- a/test/snapshots/package-json-exports/index.js +++ b/test/snapshots/package-json-exports/index.js @@ -1,14 +1,14 @@ import { -__require as require +__require } from "http://localhost:8080/bun:wrap"; -import * as $147f6594 from "http://localhost:8080/package-json-exports/node_modules/inexact/browser/index.js"; -var InexactRoot = require($147f6594); -import * as $f9f33cd5 from "http://localhost:8080/package-json-exports/node_modules/inexact/browser/dir/file.js"; -var InexactFile = require($f9f33cd5); -import * as $efd1f056 from "http://localhost:8080/package-json-exports/node_modules/inexact/browser/foo.js"; -var ExactFile = require($efd1f056); -import * as $3e697ad7 from "http://localhost:8080/package-json-exports/node_modules/js-only-exports/browser/js-file.js"; -var JSFileExtensionOnly = require($3e697ad7); +import * as $a4de9925 from "http://localhost:8080/package-json-exports/node_modules/inexact/browser/index.js"; +var InexactRoot = __require($a4de9925); +import * as $725c641 from "http://localhost:8080/package-json-exports/node_modules/inexact/browser/dir/file.js"; +var InexactFile = __require($725c641); +import * as $fbe61cb7 from "http://localhost:8080/package-json-exports/node_modules/inexact/browser/foo.js"; +var ExactFile = __require($fbe61cb7); +import * as $6a256e60 from "http://localhost:8080/package-json-exports/node_modules/js-only-exports/browser/js-file.js"; +var JSFileExtensionOnly = __require($6a256e60); export async function test() { console.assert(InexactRoot.target === "browser"); console.assert(InexactFile.target === "browser"); diff --git a/test/snapshots/package-json-utf8.hmr.js b/test/snapshots/package-json-utf8.hmr.js index ba753af0e..d748174e7 100644 --- a/test/snapshots/package-json-utf8.hmr.js +++ b/test/snapshots/package-json-utf8.hmr.js @@ -9,7 +9,7 @@ import { __FastRefreshRuntime as FastRefresh } from "http://localhost:8080/bun:wrap"; import pkg from "http://localhost:8080/utf8-package-json.json"; -var hmr = new FastHMR(1703475520, "package-json-utf8.js", FastRefresh), exports = hmr.exports; +var hmr = new FastHMR(3383656110, "package-json-utf8.js", FastRefresh), exports = hmr.exports; (hmr._load = function() { function test() { console.assert(!!pkg.author); diff --git a/test/snapshots/react-context-value-func.hmr.tsx b/test/snapshots/react-context-value-func.hmr.tsx index 3a11b4342..77603da81 100644 --- a/test/snapshots/react-context-value-func.hmr.tsx +++ b/test/snapshots/react-context-value-func.hmr.tsx @@ -11,12 +11,12 @@ __require as require import { __FastRefreshModule as FastHMR } from "http://localhost:8080/bun:wrap"; -import * as $1407d117 from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; -var JSX = require($1407d117); +import * as $a77976b9 from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; +var JSX = require($a77976b9); var jsx = require(JSX).jsxDEV; -import * as $45b81229 from "http://localhost:8080/node_modules/react/index.js"; -var { default: React} = require($45b81229); -var hmr = new FastHMR(2913325904, "react-context-value-func.tsx", FastRefresh), exports = hmr.exports; +import * as $a66742df from "http://localhost:8080/node_modules/react/index.js"; +var { default: React} = require($a66742df); +var hmr = new FastHMR(4175696745, "react-context-value-func.tsx", FastRefresh), exports = hmr.exports; (hmr._load = function() { const Context = React.createContext({}); const ContextProvider = ({ children }) => { diff --git a/test/snapshots/react-context-value-func.tsx b/test/snapshots/react-context-value-func.tsx index faafc591a..6ebe7c0ce 100644 --- a/test/snapshots/react-context-value-func.tsx +++ b/test/snapshots/react-context-value-func.tsx @@ -1,11 +1,11 @@ import { __require as require } from "http://localhost:8080/bun:wrap"; -import * as $1407d117 from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; -var JSX = require($1407d117); +import * as $a77976b9 from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; +var JSX = require($a77976b9); var jsx = require(JSX).jsxDEV; -import * as $45b81229 from "http://localhost:8080/node_modules/react/index.js"; -var { default: React} = require($45b81229); +import * as $a66742df from "http://localhost:8080/node_modules/react/index.js"; +var { default: React} = require($a66742df); const Context = React.createContext({}); const ContextProvider = ({ children }) => { const [cb, setCB] = React.useState(function() { diff --git a/test/snapshots/spread_with_key.hmr.tsx b/test/snapshots/spread_with_key.hmr.tsx index befb56390..82ebaa1c0 100644 --- a/test/snapshots/spread_with_key.hmr.tsx +++ b/test/snapshots/spread_with_key.hmr.tsx @@ -11,13 +11,13 @@ __require as require import { __FastRefreshModule as FastHMR } from "http://localhost:8080/bun:wrap"; -import * as $1407d117 from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; -var JSX = require($1407d117); -import * as $45b81229 from "http://localhost:8080/node_modules/react/index.js"; -var JSXClassic = require($45b81229); +import * as $a77976b9 from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; +var JSX = require($a77976b9); +import * as $a66742df from "http://localhost:8080/node_modules/react/index.js"; +var JSXClassic = require($a66742df); var jsx = require(JSX).jsxDEV, jsxEl = require(JSXClassic).createElement; -var { default: React} = require($45b81229); -var hmr = new FastHMR(1528600417, "spread_with_key.tsx", FastRefresh), exports = hmr.exports; +var { default: React} = require($a66742df); +var hmr = new FastHMR(1094129250, "spread_with_key.tsx", FastRefresh), exports = hmr.exports; (hmr._load = function() { function SpreadWithTheKey({ className }) { const rest = {}; diff --git a/test/snapshots/spread_with_key.tsx b/test/snapshots/spread_with_key.tsx index 266ec96ea..23ca37805 100644 --- a/test/snapshots/spread_with_key.tsx +++ b/test/snapshots/spread_with_key.tsx @@ -1,12 +1,12 @@ import { __require as require } from "http://localhost:8080/bun:wrap"; -import * as $1407d117 from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; -var JSX = require($1407d117); -import * as $45b81229 from "http://localhost:8080/node_modules/react/index.js"; -var JSXClassic = require($45b81229); +import * as $a77976b9 from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; +var JSX = require($a77976b9); +import * as $a66742df from "http://localhost:8080/node_modules/react/index.js"; +var JSXClassic = require($a66742df); var jsx = require(JSX).jsxDEV, jsxEl = require(JSXClassic).createElement; -var { default: React} = require($45b81229); +var { default: React} = require($a66742df); export function SpreadWithTheKey({ className }) { const rest = {}; return jsxEl("div", { diff --git a/test/snapshots/string-escapes.debug.js b/test/snapshots/string-escapes.debug.js index 4ac8de635..14f17e5cd 100644 --- a/test/snapshots/string-escapes.debug.js +++ b/test/snapshots/string-escapes.debug.js @@ -23,7 +23,7 @@ var obj = { "\uD83D\uDD75\uD83C\uDFFD\u200D\u2642\uFE0F": "\uD83D\uDD75\uD83C\uDFFD\u200D\u2642\uFE0F", "\u32E1": "\u32E1", "\u263A": "\u263A", - "シ": "\u30B7", + シ: "\u30B7", "\uD83D\uDC4B": "\uD83D\uDC4B", f, "\u2639": "\u2639", diff --git a/test/snapshots/string-escapes.hmr.debug.js b/test/snapshots/string-escapes.hmr.debug.js index 4ec50b9e0..034c43de1 100644 --- a/test/snapshots/string-escapes.hmr.debug.js +++ b/test/snapshots/string-escapes.hmr.debug.js @@ -35,7 +35,7 @@ var hmr = new FastHMR(734981694, "string-escapes.js", FastRefresh), exports = hm "\uD83D\uDD75\uD83C\uDFFD\u200D\u2642\uFE0F": "\uD83D\uDD75\uD83C\uDFFD\u200D\u2642\uFE0F", "\u32E1": "\u32E1", "\u263A": "\u263A", - "シ": "\u30B7", + シ: "\u30B7", "\uD83D\uDC4B": "\uD83D\uDC4B", f, "\u2639": "\u2639", diff --git a/test/snapshots/string-escapes.hmr.js b/test/snapshots/string-escapes.hmr.js index 61adda87e..b0b642804 100644 --- a/test/snapshots/string-escapes.hmr.js +++ b/test/snapshots/string-escapes.hmr.js @@ -11,12 +11,12 @@ __require as require import { __FastRefreshModule as FastHMR } from "http://localhost:8080/bun:wrap"; -import * as $1407d117 from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; -var JSX = require($1407d117); -import * as $45b81229 from "http://localhost:8080/node_modules/react/index.js"; -var JSXClassic = require($45b81229); +import * as $a77976b9 from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; +var JSX = require($a77976b9); +import * as $a66742df from "http://localhost:8080/node_modules/react/index.js"; +var JSXClassic = require($a66742df); var jsx = require(JSX).jsxDEV, JSXFrag = require(JSXClassic).Fragment; -var hmr = new FastHMR(3888655093, "string-escapes.js", FastRefresh), exports = hmr.exports; +var hmr = new FastHMR(734981694, "string-escapes.js", FastRefresh), exports = hmr.exports; (hmr._load = function() { var tab = "\t"; var f = ""; diff --git a/test/snapshots/string-escapes.js b/test/snapshots/string-escapes.js index 82122d6a5..4ac8de635 100644 --- a/test/snapshots/string-escapes.js +++ b/test/snapshots/string-escapes.js @@ -1,10 +1,10 @@ import { __require as require } from "http://localhost:8080/bun:wrap"; -import * as $1407d117 from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; -var JSX = require($1407d117); -import * as $45b81229 from "http://localhost:8080/node_modules/react/index.js"; -var JSXClassic = require($45b81229); +import * as $a77976b9 from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; +var JSX = require($a77976b9); +import * as $a66742df from "http://localhost:8080/node_modules/react/index.js"; +var JSXClassic = require($a66742df); var jsx = require(JSX).jsxDEV, JSXFrag = require(JSXClassic).Fragment; var tab = "\t"; var f = ""; diff --git a/test/snapshots/styledcomponents-output.hmr.js b/test/snapshots/styledcomponents-output.hmr.js index 266a24ca1..1bda602bd 100644 --- a/test/snapshots/styledcomponents-output.hmr.js +++ b/test/snapshots/styledcomponents-output.hmr.js @@ -11,16 +11,16 @@ __require as require import { __FastRefreshModule as FastHMR } from "http://localhost:8080/bun:wrap"; -import * as $1407d117 from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; -var JSX = require($1407d117); +import * as $a77976b9 from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; +var JSX = require($a77976b9); var jsx = require(JSX).jsxDEV; -import * as $1dd97690 from "http://localhost:8080/node_modules/styled-components/dist/styled-components.browser.esm.js"; -var { default: styled} = require($1dd97690); -import * as $45b81229 from "http://localhost:8080/node_modules/react/index.js"; -var { default: React} = require($45b81229); -import * as $d2dc5006 from "http://localhost:8080/node_modules/react-dom/index.js"; -var { default: ReactDOM} = require($d2dc5006); -var hmr = new FastHMR(1833563982, "styledcomponents-output.js", FastRefresh), exports = hmr.exports; +import * as $11bd281d from "http://localhost:8080/node_modules/styled-components/dist/styled-components.browser.esm.js"; +var { default: styled} = require($11bd281d); +import * as $a66742df from "http://localhost:8080/node_modules/react/index.js"; +var { default: React} = require($a66742df); +import * as $12d4369 from "http://localhost:8080/node_modules/react-dom/index.js"; +var { default: ReactDOM} = require($12d4369); +var hmr = new FastHMR(2532152522, "styledcomponents-output.js", FastRefresh), exports = hmr.exports; (hmr._load = function() { const ErrorScreenRoot = styled.div` font-family: "Muli", -apple-system, BlinkMacSystemFont, Helvetica, Arial, diff --git a/test/snapshots/styledcomponents-output.js b/test/snapshots/styledcomponents-output.js index 63bfc786d..bf517375f 100644 --- a/test/snapshots/styledcomponents-output.js +++ b/test/snapshots/styledcomponents-output.js @@ -1,15 +1,15 @@ import { __require as require } from "http://localhost:8080/bun:wrap"; -import * as $1407d117 from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; -var JSX = require($1407d117); +import * as $a77976b9 from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; +var JSX = require($a77976b9); var jsx = require(JSX).jsxDEV; -import * as $1dd97690 from "http://localhost:8080/node_modules/styled-components/dist/styled-components.browser.esm.js"; -var { default: styled} = require($1dd97690); -import * as $45b81229 from "http://localhost:8080/node_modules/react/index.js"; -var { default: React} = require($45b81229); -import * as $d2dc5006 from "http://localhost:8080/node_modules/react-dom/index.js"; -var { default: ReactDOM} = require($d2dc5006); +import * as $11bd281d from "http://localhost:8080/node_modules/styled-components/dist/styled-components.browser.esm.js"; +var { default: styled} = require($11bd281d); +import * as $a66742df from "http://localhost:8080/node_modules/react/index.js"; +var { default: React} = require($a66742df); +import * as $12d4369 from "http://localhost:8080/node_modules/react-dom/index.js"; +var { default: ReactDOM} = require($12d4369); const ErrorScreenRoot = styled.div` font-family: "Muli", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif; diff --git a/test/snapshots/template-literal.hmr.js b/test/snapshots/template-literal.hmr.js index 6d9c7b8ca..d35574a5f 100644 --- a/test/snapshots/template-literal.hmr.js +++ b/test/snapshots/template-literal.hmr.js @@ -8,7 +8,7 @@ __FastRefreshModule as FastHMR import { __FastRefreshRuntime as FastRefresh } from "http://localhost:8080/bun:wrap"; -var hmr = new FastHMR(929338545, "template-literal.js", FastRefresh), exports = hmr.exports; +var hmr = new FastHMR(3538874239, "template-literal.js", FastRefresh), exports = hmr.exports; (hmr._load = function() { const css = (templ) => templ.toString(); const fooNoBracesUTF8 = css` diff --git a/test/snapshots/ts-fallback-rewrite-works.hmr.js b/test/snapshots/ts-fallback-rewrite-works.hmr.js index 855c2d89f..fafaf1613 100644 --- a/test/snapshots/ts-fallback-rewrite-works.hmr.js +++ b/test/snapshots/ts-fallback-rewrite-works.hmr.js @@ -5,7 +5,7 @@ Bun.activate(false); import { __HMRModule as HMR } from "http://localhost:8080/bun:wrap"; -var hmr = new HMR(1227236257, "ts-fallback-rewrite-works.ts"), exports = hmr.exports; +var hmr = new HMR(3305050967, "ts-fallback-rewrite-works.ts"), exports = hmr.exports; (hmr._load = function() { function test() { return testDone(import.meta.url); diff --git a/test/snapshots/tsx-fallback-rewrite-works.hmr.js b/test/snapshots/tsx-fallback-rewrite-works.hmr.js index 20b6e7a21..ee29b2b0a 100644 --- a/test/snapshots/tsx-fallback-rewrite-works.hmr.js +++ b/test/snapshots/tsx-fallback-rewrite-works.hmr.js @@ -8,7 +8,7 @@ __FastRefreshModule as FastHMR import { __FastRefreshRuntime as FastRefresh } from "http://localhost:8080/bun:wrap"; -var hmr = new FastHMR(360033594, "tsx-fallback-rewrite-works.tsx", FastRefresh), exports = hmr.exports; +var hmr = new FastHMR(2381755226, "tsx-fallback-rewrite-works.tsx", FastRefresh), exports = hmr.exports; (hmr._load = function() { function test() { return testDone(import.meta.url); diff --git a/test/snapshots/type-only-imports.hmr.ts b/test/snapshots/type-only-imports.hmr.ts index f4cb4c2b1..47af0a405 100644 --- a/test/snapshots/type-only-imports.hmr.ts +++ b/test/snapshots/type-only-imports.hmr.ts @@ -5,7 +5,7 @@ Bun.activate(false); import { __HMRModule as HMR } from "http://localhost:8080/bun:wrap"; -var hmr = new HMR(3679071858, "type-only-imports.ts"), exports = hmr.exports; +var hmr = new HMR(4067108788, "type-only-imports.ts"), exports = hmr.exports; (hmr._load = function() { var baconator = true; var SilentSymbolCollisionsAreOkayInTypeScript = true; diff --git a/test/snapshots/unicode-identifiers.hmr.js b/test/snapshots/unicode-identifiers.hmr.js index af31ee68f..08962834d 100644 --- a/test/snapshots/unicode-identifiers.hmr.js +++ b/test/snapshots/unicode-identifiers.hmr.js @@ -8,7 +8,7 @@ __FastRefreshModule as FastHMR import { __FastRefreshRuntime as FastRefresh } from "http://localhost:8080/bun:wrap"; -var hmr = new FastHMR(3104834253, "unicode-identifiers.js", FastRefresh), exports = hmr.exports; +var hmr = new FastHMR(4019005355, "unicode-identifiers.js", FastRefresh), exports = hmr.exports; (hmr._load = function() { var ε = 0.000001; var ε2 = ε * ε; diff --git a/test/snapshots/void-shouldnt-delete-call-expressions.hmr.js b/test/snapshots/void-shouldnt-delete-call-expressions.hmr.js index e1cef13fe..b00d3d7f7 100644 --- a/test/snapshots/void-shouldnt-delete-call-expressions.hmr.js +++ b/test/snapshots/void-shouldnt-delete-call-expressions.hmr.js @@ -8,7 +8,7 @@ __FastRefreshModule as FastHMR import { __FastRefreshRuntime as FastRefresh } from "http://localhost:8080/bun:wrap"; -var hmr = new FastHMR(4057172107, "void-shouldnt-delete-call-expressions.js", FastRefresh), exports = hmr.exports; +var hmr = new FastHMR(2720826654, "void-shouldnt-delete-call-expressions.js", FastRefresh), exports = hmr.exports; (hmr._load = function() { var was_called = false; function thisShouldBeCalled() { |