This commit is contained in:
Jarred Sumner
2022-09-23 09:03:51 -07:00
parent 5b222996c8
commit 68f45ef54e
47 changed files with 150 additions and 242 deletions

Binary file not shown.

View File

@@ -2,15 +2,13 @@ import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
Bun.activate(true);
import {
__FastRefreshModule as FastHMR
} from "http://localhost:8080/bun:wrap";
import {
__FastRefreshRuntime as FastRefresh
} from "http://localhost:8080/bun:wrap";
var hmr = new FastHMR(3474597122, "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]) => ({

View File

@@ -1,11 +1,9 @@
import {
__require as require
__require
} from "http://localhost:8080/bun:wrap";
import * as $bbcd215f 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);
}
//# sourceMappingURL=http://localhost:8080/bundled-entry-point.js.map

View File

@@ -1,20 +1,18 @@
import {
__require as require
__require
} from "http://localhost:8080/bun:wrap";
import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
Bun.activate(true);
import {
__FastRefreshModule as FastHMR
} from "http://localhost:8080/bun:wrap";
import {
__FastRefreshRuntime as FastRefresh
} from "http://localhost:8080/bun:wrap";
import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js";
var hmr = new FastHMR(3012834585, "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);

View File

@@ -1,12 +1,12 @@
import {
__require as require
} from "http://localhost:8080/bun:wrap";
var this_package_should_not_exist_f335_0 = (() => ({}));
var this_package_should_not_exist_f335_1 = (() => ({}));
try {
require((() => { throw (new Error(`Cannot require module '"this-package-should-not-exist"'`)); } )());
require((() => { throw (new Error(`Cannot require module "this-package-should-not-exist"`)); } )());
} catch (exception) {
}
try {
await import("this-package-should-not-exist");
} catch (exception) {
@@ -16,7 +16,7 @@ import("this-package-should-not-exist").then(() => {
});
export async function test() {
try {
require((() => { throw (new Error(`Cannot require module '"this-package-should-not-exist"'`)); } )());
require((() => { throw (new Error(`Cannot require module "this-package-should-not-exist"`)); } )());
} catch (exception) {
}
try {

View File

@@ -2,7 +2,6 @@ import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
Bun.activate(true);
import {
__require as require
} from "http://localhost:8080/bun:wrap";
@@ -12,11 +11,12 @@ __FastRefreshModule as FastHMR
import {
__FastRefreshRuntime as FastRefresh
} from "http://localhost:8080/bun:wrap";
var hmr = new FastHMR(2398506918, "caught-require.js", FastRefresh), exports = hmr.exports;
var this_package_should_not_exist_f335_0 = (() => ({}));
var this_package_should_not_exist_f335_1 = (() => ({}));
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"'`)); } )());
require((() => { throw (new Error(`Cannot require module "this-package-should-not-exist"`)); } )());
} catch (exception) {
}
try {
@@ -28,7 +28,7 @@ await (hmr._load = async function() {
});
async function test() {
try {
require((() => { throw (new Error(`Cannot require module '"this-package-should-not-exist"'`)); } )());
require((() => { throw (new Error(`Cannot require module "this-package-should-not-exist"`)); } )());
} catch (exception) {
}
try {

View File

@@ -5,7 +5,6 @@ import * as _loginReally2 from "http://localhost:8080/_login.js";
import * as _authReally from "http://localhost:8080/_auth.js";
export { _login as login };
export function test() {
return testDone(import.meta.url);
}

View File

@@ -2,7 +2,6 @@ import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
Bun.activate(true);
import {
__FastRefreshModule as FastHMR
} from "http://localhost:8080/bun:wrap";
@@ -14,8 +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(3878252498, "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);

View File

@@ -11,7 +11,7 @@ export var $f332019d = $$m({
var RelayQueryResponseCache = function() {
var foo = function RelayQueryResponseCache(_ref) {
var size = _ref.size, ttl = _ref.ttl;
!(size > 0) && invariant(false, "RelayQueryResponseCache: Expected the max cache size to be > 0, got " + "`%s`.", size);
!(size > 0) && invariant(false, "RelayQueryResponseCache: Expected the max cache size to be > 0, got `%s`.", size);
!(ttl > 0) && invariant(false, "RelayQueryResponseCache: Expected the max ttl to be > 0, got `%s`.", ttl);
};
foo({ size: 100, ttl: 3600 });

View File

@@ -2,15 +2,13 @@ import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
Bun.activate(true);
import {
__FastRefreshModule as FastHMR
} from "http://localhost:8080/bun:wrap";
import {
__FastRefreshRuntime as FastRefresh
} from "http://localhost:8080/bun:wrap";
var hmr = new FastHMR(726376257, "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 = () => {
@@ -25,7 +23,7 @@ var hmr = new FastHMR(726376257, "code-simplification-neql-define.js", FastRefre
var RelayQueryResponseCache = function() {
var foo = function RelayQueryResponseCache(_ref) {
var size = _ref.size, ttl = _ref.ttl;
!(size > 0) && invariant(false, "RelayQueryResponseCache: Expected the max cache size to be > 0, got " + "`%s`.", size);
!(size > 0) && invariant(false, "RelayQueryResponseCache: Expected the max cache size to be > 0, got `%s`.", size);
!(ttl > 0) && invariant(false, "RelayQueryResponseCache: Expected the max ttl to be > 0, got `%s`.", ttl);
};
foo({ size: 100, ttl: 3600 });

View File

@@ -1,16 +1,14 @@
import {
__require as require
} from "http://localhost:8080/bun:wrap";
import * as $72625799 from "http://localhost:8080/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js";
var JSX = require($72625799);
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 $5b3cea55 from "http://localhost:8080/node_modules/react-dom/index.js";
var ReactDOM = require($5b3cea55);
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);
export function test() {
const element = document.createElement("div");
element.id = "custom-emotion-jsx";

View File

@@ -5,21 +5,18 @@ import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
Bun.activate(true);
import {
__require as require
} from "http://localhost:8080/bun:wrap";
import {
__FastRefreshModule as FastHMR
} from "http://localhost:8080/bun:wrap";
import * as $72625799 from "http://localhost:8080/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js";
var JSX = require($72625799);
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 $5b3cea55 from "http://localhost:8080/node_modules/react-dom/index.js";
var ReactDOM = require($5b3cea55);
var hmr = new FastHMR(2497996991, "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!"' }

View File

@@ -2,15 +2,13 @@ import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
Bun.activate(true);
import {
__FastRefreshModule as FastHMR
} from "http://localhost:8080/bun:wrap";
import {
__FastRefreshRuntime as FastRefresh
} from "http://localhost:8080/bun:wrap";
var hmr = new FastHMR(2909748314, "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() {

View File

@@ -1,6 +1,5 @@
import what from "http://localhost:8080/_auth.js";
export { default as auth } from "http://localhost:8080/_auth.js";
export { default as login } from "http://localhost:8080/_login.js";
export * from "http://localhost:8080/_bacon.js";
export let yoyoyo = "yoyoyo";
@@ -18,7 +17,6 @@ export { } from "http://localhost:8080/_bacon.js";
import * as where from "http://localhost:8080/_auth.js";
export { where };
export { bar as booop };
export function test() {
hey();

View File

@@ -2,7 +2,6 @@ import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
Bun.activate(true);
import {
__FastRefreshModule as FastHMR
} from "http://localhost:8080/bun:wrap";
@@ -11,8 +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(1879780259, "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() {

View File

@@ -2,15 +2,13 @@ import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
Bun.activate(true);
import {
__FastRefreshModule as FastHMR
} from "http://localhost:8080/bun:wrap";
import {
__FastRefreshRuntime as FastRefresh
} from "http://localhost:8080/bun:wrap";
var hmr = new FastHMR(346837007, "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);

View File

@@ -2,15 +2,13 @@ import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
Bun.activate(true);
import {
__FastRefreshModule as FastHMR
} from "http://localhost:8080/bun:wrap";
import {
__FastRefreshRuntime as FastRefresh
} from "http://localhost:8080/bun:wrap";
var hmr = new FastHMR(713665787, "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);

View File

@@ -1,14 +1,13 @@
import {
__require as require
} from "http://localhost:8080/bun:wrap";
import * as $2f488e5b from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js";
var JSX = require($2f488e5b);
import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js";
var JSXClassic = require($bbcd215f);
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 $1f6f0e67 from "http://localhost:8080/node_modules/react-dom/server.browser.js";
var ReactDOM = require($1f6f0e67);
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: '"'
@@ -2751,7 +2750,6 @@ const elements = {
children: "\u0294"
}, undefined, false, undefined, this))]: 660
};
export function test() {
for (let rawKey in elements) {
var key = rawKey;

View File

@@ -5,23 +5,20 @@ import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
Bun.activate(true);
import {
__require as require
} from "http://localhost:8080/bun:wrap";
import {
__FastRefreshModule as FastHMR
} from "http://localhost:8080/bun:wrap";
import * as $2f488e5b from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js";
var JSX = require($2f488e5b);
import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js";
var JSXClassic = require($bbcd215f);
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 $1f6f0e67 from "http://localhost:8080/node_modules/react-dom/server.browser.js";
var ReactDOM = require($1f6f0e67);
var hmr = new FastHMR(817082122, "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, {

View File

@@ -1,14 +1,12 @@
import {
__require as require
} from "http://localhost:8080/bun:wrap";
import * as $2f488e5b from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js";
var JSX = require($2f488e5b);
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 $1f6f0e67 from "http://localhost:8080/node_modules/react-dom/server.browser.js";
var ReactDOM = require($1f6f0e67);
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, {
description: `line1

View File

@@ -5,21 +5,18 @@ import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
Bun.activate(true);
import {
__require as require
} from "http://localhost:8080/bun:wrap";
import {
__FastRefreshModule as FastHMR
} from "http://localhost:8080/bun:wrap";
import * as $2f488e5b from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js";
var JSX = require($2f488e5b);
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 $1f6f0e67 from "http://localhost:8080/node_modules/react-dom/server.browser.js";
var ReactDOM = require($1f6f0e67);
var hmr = new FastHMR(3614189736, "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() {

View File

@@ -2,15 +2,13 @@ import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
Bun.activate(true);
import {
__FastRefreshModule as FastHMR
} from "http://localhost:8080/bun:wrap";
import {
__FastRefreshRuntime as FastRefresh
} from "http://localhost:8080/bun:wrap";
var hmr = new FastHMR(1430071586, "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([

View File

@@ -1,11 +1,10 @@
import {
__require as require
__require
} from "http://localhost:8080/bun:wrap";
import * as $60f52dc2 from "http://localhost:8080/node_modules/lodash/lodash.js";
var { shuffle} = require($60f52dc2);
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);
console.assert(bar !== foo);
console.assert(bar.length === foo.length);
@@ -19,5 +18,4 @@ export function test() {
return testDone(import.meta.url);
}
//# sourceMappingURL=http://localhost:8080/lodash-regexp.js.map

View File

@@ -1,21 +1,19 @@
import {
__require as require
__require
} from "http://localhost:8080/bun:wrap";
import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
Bun.activate(true);
import {
__FastRefreshModule as FastHMR
} from "http://localhost:8080/bun:wrap";
import {
__FastRefreshRuntime as FastRefresh
} from "http://localhost:8080/bun:wrap";
import * as $60f52dc2 from "http://localhost:8080/node_modules/lodash/lodash.js";
var { shuffle} = require($60f52dc2);
var hmr = new FastHMR(2158065009, "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];

View File

@@ -1,16 +1,14 @@
import {
__require as require
} from "http://localhost:8080/bun:wrap";
import * as $2f488e5b from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js";
var JSX = require($2f488e5b);
import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js";
var JSXClassic = require($bbcd215f);
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($bbcd215f);
var { default: React2} = require($bbcd215f);
var { default: React} = require($a66742df);
var { default: React2} = require($a66742df);
const bacon = React;
const bacon2 = jsx(JSXFrag, {
children: "hello"
}, undefined, false, undefined, this);

View File

@@ -5,23 +5,20 @@ import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
Bun.activate(true);
import {
__require as require
} from "http://localhost:8080/bun:wrap";
import {
__FastRefreshModule as FastHMR
} from "http://localhost:8080/bun:wrap";
import * as $2f488e5b from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js";
var JSX = require($2f488e5b);
import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js";
var JSXClassic = require($bbcd215f);
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($bbcd215f);
var { default: React2} = require($bbcd215f);
var hmr = new FastHMR(2165509932, "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, {

View File

@@ -2,15 +2,13 @@ import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
Bun.activate(true);
import {
__FastRefreshModule as FastHMR
} from "http://localhost:8080/bun:wrap";
import {
__FastRefreshRuntime as FastRefresh
} from "http://localhost:8080/bun:wrap";
var hmr = new FastHMR(2883558553, "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;

View File

@@ -2,15 +2,13 @@ import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
Bun.activate(true);
import {
__FastRefreshModule as FastHMR
} from "http://localhost:8080/bun:wrap";
import {
__FastRefreshRuntime as FastRefresh
} from "http://localhost:8080/bun:wrap";
var hmr = new FastHMR(583570002, "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;

View File

@@ -2,15 +2,13 @@ import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
Bun.activate(true);
import {
__FastRefreshModule as FastHMR
} from "http://localhost:8080/bun:wrap";
import {
__FastRefreshRuntime as FastRefresh
} from "http://localhost:8080/bun:wrap";
var hmr = new FastHMR(3608848620, "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 {

View File

@@ -1,22 +1,20 @@
import {
__require as require
__require
} from "http://localhost:8080/bun:wrap";
import * as $4068f25b from "http://localhost:8080/package-json-exports/node_modules/inexact/browser/index.js";
var InexactRoot = require($4068f25b);
import * as $d2a171d2 from "http://localhost:8080/package-json-exports/node_modules/inexact/browser/dir/file.js";
var InexactFile = require($d2a171d2);
import * as $522c6d1f from "http://localhost:8080/package-json-exports/node_modules/inexact/browser/foo.js";
var ExactFile = require($522c6d1f);
import * as $fce83cd7 from "http://localhost:8080/package-json-exports/node_modules/js-only-exports/browser/js-file.js";
var JSFileExtensionOnly = require($fce83cd7);
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");
console.assert(ExactFile.target === "browser");
console.assert(JSFileExtensionOnly.isJS === true);
return testDone(import.meta.url);
}
//# sourceMappingURL=http://localhost:8080/package-json-exports/index.js.map

View File

@@ -1,27 +1,25 @@
import {
__require as require
__require
} from "http://localhost:8080/bun:wrap";
import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
Bun.activate(true);
import {
__FastRefreshModule as FastHMR
} from "http://localhost:8080/bun:wrap";
import {
__FastRefreshRuntime as FastRefresh
} from "http://localhost:8080/bun:wrap";
import * as $4068f25b from "http://localhost:8080/package-json-exports/node_modules/inexact/browser/index.js";
var InexactRoot = require($4068f25b);
import * as $d2a171d2 from "http://localhost:8080/package-json-exports/node_modules/inexact/browser/dir/file.js";
var InexactFile = require($d2a171d2);
import * as $522c6d1f from "http://localhost:8080/package-json-exports/node_modules/inexact/browser/foo.js";
var ExactFile = require($522c6d1f);
import * as $fce83cd7 from "http://localhost:8080/package-json-exports/node_modules/js-only-exports/browser/js-file.js";
var JSFileExtensionOnly = require($fce83cd7);
var hmr = new FastHMR(1953708113, "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");

View File

@@ -1,9 +1,7 @@
import pkg from "http://localhost:8080/utf8-package-json.json";
export function test() {
console.assert(!!pkg.author);
return testDone(import.meta.url);
}
//# sourceMappingURL=http://localhost:8080/package-json-utf8.js.map

View File

@@ -2,7 +2,6 @@ import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
Bun.activate(true);
import {
__FastRefreshModule as FastHMR
} from "http://localhost:8080/bun:wrap";
@@ -10,8 +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(4111115104, "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);

View File

@@ -1,14 +1,12 @@
import {
__require as require
} from "http://localhost:8080/bun:wrap";
import * as $2f488e5b from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js";
var JSX = require($2f488e5b);
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 $bbcd215f from "http://localhost:8080/node_modules/react/index.js";
var { default: React} = require($bbcd215f);
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() {
});

View File

@@ -5,21 +5,18 @@ import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
Bun.activate(true);
import {
__require as require
} from "http://localhost:8080/bun:wrap";
import {
__FastRefreshModule as FastHMR
} from "http://localhost:8080/bun:wrap";
import * as $2f488e5b from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js";
var JSX = require($2f488e5b);
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 $bbcd215f from "http://localhost:8080/node_modules/react/index.js";
var { default: React} = require($bbcd215f);
var hmr = new FastHMR(3514348331, "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 }) => {

View File

@@ -1,16 +1,14 @@
import {
__require as require
} from "http://localhost:8080/bun:wrap";
import * as $2f488e5b from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js";
var JSX = require($2f488e5b);
import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js";
var JSXClassic = require($bbcd215f);
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($bbcd215f);
var { default: React} = require($a66742df);
export function SpreadWithTheKey({ className }) {
const rest = {};
return jsxEl("div", {
className,
...rest,
@@ -18,7 +16,6 @@ export function SpreadWithTheKey({ className }) {
key: "spread-with-the-key"
}, "Rendered component containing warning");
}
export function test() {
console.assert(React.isValidElement(jsx(SpreadWithTheKey, {
className: "foo"

View File

@@ -5,22 +5,19 @@ import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
Bun.activate(true);
import {
__require as require
} from "http://localhost:8080/bun:wrap";
import {
__FastRefreshModule as FastHMR
} from "http://localhost:8080/bun:wrap";
import * as $2f488e5b from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js";
var JSX = require($2f488e5b);
import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js";
var JSXClassic = require($bbcd215f);
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($bbcd215f);
var hmr = new FastHMR(2717584935, "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 = {};

View File

@@ -1,12 +1,11 @@
import {
__require as require
} from "http://localhost:8080/bun:wrap";
import * as $2f488e5b from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js";
var JSX = require($2f488e5b);
import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js";
var JSXClassic = require($bbcd215f);
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 = "";
var f = "\u2087";

View File

@@ -5,20 +5,18 @@ import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
Bun.activate(true);
import {
__require as require
} from "http://localhost:8080/bun:wrap";
import {
__FastRefreshModule as FastHMR
} from "http://localhost:8080/bun:wrap";
import * as $2f488e5b from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js";
var JSX = require($2f488e5b);
import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js";
var JSXClassic = require($bbcd215f);
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(2482749838, "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 = "";

View File

@@ -1,16 +1,15 @@
import {
__require as require
} from "http://localhost:8080/bun:wrap";
import * as $2f488e5b from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js";
var JSX = require($2f488e5b);
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 $d4051a2e from "http://localhost:8080/node_modules/styled-components/dist/styled-components.browser.esm.js";
var { default: styled} = require($d4051a2e);
import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js";
var { default: React} = require($bbcd215f);
import * as $5b3cea55 from "http://localhost:8080/node_modules/react-dom/index.js";
var { default: ReactDOM} = require($5b3cea55);
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;
@@ -39,7 +38,6 @@ const ErrorScreenRoot = styled.div`
color: inherit;
}
`;
export function test() {
if (typeof window !== "undefined") {
const reactEl = document.createElement("div");

View File

@@ -5,25 +5,22 @@ import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
Bun.activate(true);
import {
__require as require
} from "http://localhost:8080/bun:wrap";
import {
__FastRefreshModule as FastHMR
} from "http://localhost:8080/bun:wrap";
import * as $2f488e5b from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js";
var JSX = require($2f488e5b);
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 $d4051a2e from "http://localhost:8080/node_modules/styled-components/dist/styled-components.browser.esm.js";
var { default: styled} = require($d4051a2e);
import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js";
var { default: React} = require($bbcd215f);
import * as $5b3cea55 from "http://localhost:8080/node_modules/react-dom/index.js";
var { default: ReactDOM} = require($5b3cea55);
var hmr = new FastHMR(1290604342, "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,

View File

@@ -2,15 +2,13 @@ import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
Bun.activate(true);
import {
__FastRefreshModule as FastHMR
} from "http://localhost:8080/bun:wrap";
import {
__FastRefreshRuntime as FastRefresh
} from "http://localhost:8080/bun:wrap";
var hmr = new FastHMR(2201713056, "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`

View File

@@ -2,12 +2,10 @@ import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
Bun.activate(true);
import {
__HMRModule as HMR
} from "http://localhost:8080/bun:wrap";
var hmr = new HMR(421762902, "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);

View File

@@ -2,15 +2,13 @@ import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
Bun.activate(true);
import {
__FastRefreshModule as FastHMR
} from "http://localhost:8080/bun:wrap";
import {
__FastRefreshRuntime as FastRefresh
} from "http://localhost:8080/bun:wrap";
var hmr = new FastHMR(2117426367, "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);

View File

@@ -2,12 +2,10 @@ import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
Bun.activate(true);
import {
__HMRModule as HMR
} from "http://localhost:8080/bun:wrap";
var hmr = new HMR(650094581, "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;

View File

@@ -2,15 +2,13 @@ import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
Bun.activate(true);
import {
__FastRefreshModule as FastHMR
} from "http://localhost:8080/bun:wrap";
import {
__FastRefreshRuntime as FastRefresh
} from "http://localhost:8080/bun:wrap";
var hmr = new FastHMR(1398361736, "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 = ε * ε;

View File

@@ -2,15 +2,13 @@ import {
__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
Bun.activate(true);
import {
__FastRefreshModule as FastHMR
} from "http://localhost:8080/bun:wrap";
import {
__FastRefreshRuntime as FastRefresh
} from "http://localhost:8080/bun:wrap";
var hmr = new FastHMR(635901064, "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() {