diff options
author | 2022-01-19 02:29:07 -0800 | |
---|---|---|
committer | 2022-01-19 02:29:07 -0800 | |
commit | d3a93d527336af73df838d69ca42ad1b18adebb8 (patch) | |
tree | 726dad460bf4ee2608ffa9557943df11da56f8c3 /integration/snapshots | |
parent | ed9637de5056af4572ec5e0a75feee9ca858798e (diff) | |
download | bun-d3a93d527336af73df838d69ca42ad1b18adebb8.tar.gz bun-d3a93d527336af73df838d69ca42ad1b18adebb8.tar.zst bun-d3a93d527336af73df838d69ca42ad1b18adebb8.zip |
`fs.*Sync()`, `bun wiptest`, and More ™ (#106)
* very very wip
* almost ready to fix the errors
* Update identity_context.zig
* Update base.zig
* [bun test] It runs successfully
* Remove unnecessary call
* [Bun.js] Improve JS <> Zig unicode string interop
This fixes longstanding unicode bugs with `console.log` & `fetch`.
I believe @evanwashere reported this first awhile ago
* [Bun.js] Implement `Object.is()` binding and a way to set a timeout for script execution
* Update PLCrashReport.zig
* [Bun.js] Make `console.log` more closely match Node.js and Deno
* [Bun.js] Implement formatting specifier for console.*
* Implement `console.clear()`
* bug fix
* Support console.clear()
* Buffer stderr
* [bun test] Begin implementing Node.js `fs`
* Update darwin_c.zig
* Implement more of `fs`
* `mkdir`, `mkdir` recursive, `mkdtemp`
* `open`, `read` (and pread)
* Move some things into more files
* Implement readdir
* `readFile`, `readLink`, and `realpath`
* `writeFile`, `symlink`, `chown`, `rename`, `stat`, `unlink`, `truncate`
* `lutimes`
* Implement `SystemError` and begin wiring up the `fs` module
* `"fs"` - Most of the arguments / validation
* `fs` - Rest of the arguments / validations
* Begin wiring up the `fs` module
* Fix all the build errors
* support printing typed arrays in console.log
* It...works?
* Support `require("fs")`, `import fs from 'fs';`, `import * as fs from 'fs'`
* Fix a couple bugs
* get rid of the crash reporter for now
* Update fs.exports.js
* [bun.js] slight improvement to startup time
* [bun.js] Improve error message printing
* [Bun.js] Add `Bun.gc()` to run the garbage collector manually and report heap size
* [Bun.js] Add Bun.generateHeapSnapshot to return what JS types are using memory
* [Bun.js] Add `Bun.shrink()` to tell JSC to shrink the VM size
* Improve encoding reader
* [bun.js] Improve callback & microtask performance
* Update node_fs.zig
* Implement `console.assert`
* simple test
* [Bun.js] Prepare for multiple globals/realms to support testing
* Create callbacks-overhead.mjs
* Update http.zig
* [Bun.js] Implement `queueMicrotask`
* Add test for queueMicrotask
* :sleepy:
* [Bun.js] Implement `process.versions`, `process.pid`, `process.ppid`, `process.nextTick`, `process.versions`,
* Implement `process.env.toJSON()`
* [Bun.js] Improve performance of `fs.existsSync`
* :nail_care:
* [Bun.js] Implement `process.chdir(str)` and `process.cwd()`, support up to 4 args in `process.nextTick`
* Make creating Zig::Process lazy
* Split processi nto separte file
* [Bun.js] Node.js Streams - Part 1/?
* [Bun.js] Node.js streams 2/?
* WIP streams
* fix crash
* Reduce allocations in many places
* swap
* Make `bun` start 2ms faster
* Always use an apiLock()
* libBacktrace doesn't really work yet
* Fix crash in the upgrade checker
* Clean up code for importing the runtime when not bundling
* :camera:
* Update linker.zig
* 68!
* backtrace
* no, really backtrace
* Fix
* Linux fixes
* Fixes on Linux
* Update mimalloc
* [bun test] Automatically scan for {.test,_test,.spec,_spec}.{jsx,tsx,js,cts,mts,ts,cjs}
Diffstat (limited to 'integration/snapshots')
78 files changed, 156 insertions, 156 deletions
diff --git a/integration/snapshots/array-args-with-default-values.hmr.debug.js b/integration/snapshots/array-args-with-default-values.hmr.debug.js index 58e8b47bf..f55cb290e 100644 --- a/integration/snapshots/array-args-with-default-values.hmr.debug.js +++ b/integration/snapshots/array-args-with-default-values.hmr.debug.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; Bun.activate(true); var hmr = new HMR(3474597122, "array-args-with-default-values.js"), exports = hmr.exports; diff --git a/integration/snapshots/array-args-with-default-values.hmr.js b/integration/snapshots/array-args-with-default-values.hmr.js index aae356eed..5c67d0c6c 100644 --- a/integration/snapshots/array-args-with-default-values.hmr.js +++ b/integration/snapshots/array-args-with-default-values.hmr.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; Bun.activate(false); var hmr = new HMR(3474597122, "array-args-with-default-values.js"), exports = hmr.exports; diff --git a/integration/snapshots/bundled-entry-point.debug.js b/integration/snapshots/bundled-entry-point.debug.js index 04f92d63a..0ffe267f1 100644 --- a/integration/snapshots/bundled-entry-point.debug.js +++ b/integration/snapshots/bundled-entry-point.debug.js @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; var hello = null ?? "world"; diff --git a/integration/snapshots/bundled-entry-point.hmr.debug.js b/integration/snapshots/bundled-entry-point.hmr.debug.js index fd211daa2..4b62d3dbc 100644 --- a/integration/snapshots/bundled-entry-point.hmr.debug.js +++ b/integration/snapshots/bundled-entry-point.hmr.debug.js @@ -1,12 +1,12 @@ import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; Bun.activate(true); diff --git a/integration/snapshots/bundled-entry-point.hmr.js b/integration/snapshots/bundled-entry-point.hmr.js index f3008327a..b04c38495 100644 --- a/integration/snapshots/bundled-entry-point.hmr.js +++ b/integration/snapshots/bundled-entry-point.hmr.js @@ -1,12 +1,12 @@ import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; Bun.activate(false); diff --git a/integration/snapshots/bundled-entry-point.js b/integration/snapshots/bundled-entry-point.js index 04f92d63a..0ffe267f1 100644 --- a/integration/snapshots/bundled-entry-point.js +++ b/integration/snapshots/bundled-entry-point.js @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; var hello = null ?? "world"; diff --git a/integration/snapshots/caught-require.debug.js b/integration/snapshots/caught-require.debug.js index 690ec4db5..f4f12c29d 100644 --- a/integration/snapshots/caught-require.debug.js +++ b/integration/snapshots/caught-require.debug.js @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; try { require((() => { throw (new Error(`Cannot require module '"this-package-should-not-exist"'`)); } )()); diff --git a/integration/snapshots/caught-require.hmr.debug.js b/integration/snapshots/caught-require.hmr.debug.js index 25883fac7..2cd9f386d 100644 --- a/integration/snapshots/caught-require.hmr.debug.js +++ b/integration/snapshots/caught-require.hmr.debug.js @@ -1,12 +1,12 @@ import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; Bun.activate(true); var hmr = new HMR(2398506918, "caught-require.js"), exports = hmr.exports; diff --git a/integration/snapshots/caught-require.hmr.js b/integration/snapshots/caught-require.hmr.js index ea7bccc2c..c57c6f90e 100644 --- a/integration/snapshots/caught-require.hmr.js +++ b/integration/snapshots/caught-require.hmr.js @@ -1,12 +1,12 @@ import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; Bun.activate(false); var hmr = new HMR(2398506918, "caught-require.js"), exports = hmr.exports; diff --git a/integration/snapshots/caught-require.js b/integration/snapshots/caught-require.js index 690ec4db5..f4f12c29d 100644 --- a/integration/snapshots/caught-require.js +++ b/integration/snapshots/caught-require.js @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; try { require((() => { throw (new Error(`Cannot require module '"this-package-should-not-exist"'`)); } )()); diff --git a/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.debug.js b/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.debug.js index 2ca15542e..c5aa62729 100644 --- a/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.debug.js +++ b/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.debug.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import _login from "http://localhost:8080/_login.js"; import _auth from "http://localhost:8080/_auth.js"; import * as _loginReally from "http://localhost:8080/_login.js"; diff --git a/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.js b/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.js index ef0bd004e..82d8617f0 100644 --- a/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.js +++ b/integration/snapshots/cjs-transform-shouldnt-have-static-imports-in-cjs-function.hmr.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import _login from "http://localhost:8080/_login.js"; import _auth from "http://localhost:8080/_auth.js"; import * as _loginReally from "http://localhost:8080/_login.js"; diff --git a/integration/snapshots/code-simplification-neql-define.hmr.debug.js b/integration/snapshots/code-simplification-neql-define.hmr.debug.js index 80aedf8bb..860c514ba 100644 --- a/integration/snapshots/code-simplification-neql-define.hmr.debug.js +++ b/integration/snapshots/code-simplification-neql-define.hmr.debug.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; Bun.activate(true); var hmr = new HMR(726376257, "code-simplification-neql-define.js"), exports = hmr.exports; diff --git a/integration/snapshots/code-simplification-neql-define.hmr.js b/integration/snapshots/code-simplification-neql-define.hmr.js index 1e517c533..9fdd73d14 100644 --- a/integration/snapshots/code-simplification-neql-define.hmr.js +++ b/integration/snapshots/code-simplification-neql-define.hmr.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; Bun.activate(false); var hmr = new HMR(726376257, "code-simplification-neql-define.js"), exports = hmr.exports; diff --git a/integration/snapshots/custom-emotion-jsx/file.debug.jsx b/integration/snapshots/custom-emotion-jsx/file.debug.jsx index b6be3371f..97987ff3f 100644 --- a/integration/snapshots/custom-emotion-jsx/file.debug.jsx +++ b/integration/snapshots/custom-emotion-jsx/file.debug.jsx @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as JSX from "http://localhost:8080/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js"; var jsx = require(JSX).jsxDEV; diff --git a/integration/snapshots/custom-emotion-jsx/file.hmr.debug.jsx b/integration/snapshots/custom-emotion-jsx/file.hmr.debug.jsx index c595a5957..bd299b2a8 100644 --- a/integration/snapshots/custom-emotion-jsx/file.hmr.debug.jsx +++ b/integration/snapshots/custom-emotion-jsx/file.hmr.debug.jsx @@ -1,12 +1,12 @@ import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as JSX from "http://localhost:8080/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js"; var jsx = require(JSX).jsxDEV; diff --git a/integration/snapshots/custom-emotion-jsx/file.hmr.jsx b/integration/snapshots/custom-emotion-jsx/file.hmr.jsx index da190ef0d..ffc4f8c96 100644 --- a/integration/snapshots/custom-emotion-jsx/file.hmr.jsx +++ b/integration/snapshots/custom-emotion-jsx/file.hmr.jsx @@ -1,12 +1,12 @@ import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as JSX from "http://localhost:8080/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js"; var jsx = require(JSX).jsxDEV; diff --git a/integration/snapshots/custom-emotion-jsx/file.jsx b/integration/snapshots/custom-emotion-jsx/file.jsx index b6be3371f..97987ff3f 100644 --- a/integration/snapshots/custom-emotion-jsx/file.jsx +++ b/integration/snapshots/custom-emotion-jsx/file.jsx @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as JSX from "http://localhost:8080/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js"; var jsx = require(JSX).jsxDEV; diff --git a/integration/snapshots/export.hmr.debug.js b/integration/snapshots/export.hmr.debug.js index b5d3e0ad1..ed800afa1 100644 --- a/integration/snapshots/export.hmr.debug.js +++ b/integration/snapshots/export.hmr.debug.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import what from "http://localhost:8080/_auth.js"; import * as where from "http://localhost:8080/_auth.js"; Bun.activate(true); diff --git a/integration/snapshots/export.hmr.js b/integration/snapshots/export.hmr.js index 6088ffd77..a7d1f9b31 100644 --- a/integration/snapshots/export.hmr.js +++ b/integration/snapshots/export.hmr.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import what from "http://localhost:8080/_auth.js"; import * as where from "http://localhost:8080/_auth.js"; Bun.activate(false); diff --git a/integration/snapshots/forbid-in-is-correct.hmr.debug.js b/integration/snapshots/forbid-in-is-correct.hmr.debug.js index 7014ea1e8..e38cadb7f 100644 --- a/integration/snapshots/forbid-in-is-correct.hmr.debug.js +++ b/integration/snapshots/forbid-in-is-correct.hmr.debug.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; Bun.activate(true); var hmr = new HMR(346837007, "forbid-in-is-correct.js"), exports = hmr.exports; diff --git a/integration/snapshots/forbid-in-is-correct.hmr.js b/integration/snapshots/forbid-in-is-correct.hmr.js index bd20b7b42..e44263095 100644 --- a/integration/snapshots/forbid-in-is-correct.hmr.js +++ b/integration/snapshots/forbid-in-is-correct.hmr.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; Bun.activate(false); var hmr = new HMR(346837007, "forbid-in-is-correct.js"), exports = hmr.exports; diff --git a/integration/snapshots/global-is-remapped-to-globalThis.hmr.debug.js b/integration/snapshots/global-is-remapped-to-globalThis.hmr.debug.js index dace8fa7a..c2a6edc5f 100644 --- a/integration/snapshots/global-is-remapped-to-globalThis.hmr.debug.js +++ b/integration/snapshots/global-is-remapped-to-globalThis.hmr.debug.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; Bun.activate(true); var hmr = new HMR(713665787, "global-is-remapped-to-globalThis.js"), exports = hmr.exports; diff --git a/integration/snapshots/global-is-remapped-to-globalThis.hmr.js b/integration/snapshots/global-is-remapped-to-globalThis.hmr.js index a5a3723a6..d1dd77003 100644 --- a/integration/snapshots/global-is-remapped-to-globalThis.hmr.js +++ b/integration/snapshots/global-is-remapped-to-globalThis.hmr.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; Bun.activate(false); var hmr = new HMR(713665787, "global-is-remapped-to-globalThis.js"), exports = hmr.exports; diff --git a/integration/snapshots/jsx-entities.debug.jsx b/integration/snapshots/jsx-entities.debug.jsx index cfaf14c10..63128a105 100644 --- a/integration/snapshots/jsx-entities.debug.jsx +++ b/integration/snapshots/jsx-entities.debug.jsx @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as JSX from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; var JSXClassic = require($bbcd215f); diff --git a/integration/snapshots/jsx-entities.hmr.debug.jsx b/integration/snapshots/jsx-entities.hmr.debug.jsx index 73f00bdef..5427483d3 100644 --- a/integration/snapshots/jsx-entities.hmr.debug.jsx +++ b/integration/snapshots/jsx-entities.hmr.debug.jsx @@ -1,12 +1,12 @@ import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as JSX from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; var JSXClassic = require($bbcd215f); diff --git a/integration/snapshots/jsx-entities.hmr.jsx b/integration/snapshots/jsx-entities.hmr.jsx index 2ec3158d6..fee5ba0f3 100644 --- a/integration/snapshots/jsx-entities.hmr.jsx +++ b/integration/snapshots/jsx-entities.hmr.jsx @@ -1,12 +1,12 @@ import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as JSX from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; var JSXClassic = require($bbcd215f); diff --git a/integration/snapshots/jsx-entities.jsx b/integration/snapshots/jsx-entities.jsx index cfaf14c10..63128a105 100644 --- a/integration/snapshots/jsx-entities.jsx +++ b/integration/snapshots/jsx-entities.jsx @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as JSX from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; var JSXClassic = require($bbcd215f); diff --git a/integration/snapshots/jsx-spacing.debug.jsx b/integration/snapshots/jsx-spacing.debug.jsx index 0b1914722..29c8995d3 100644 --- a/integration/snapshots/jsx-spacing.debug.jsx +++ b/integration/snapshots/jsx-spacing.debug.jsx @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as JSX from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; var jsx = require(JSX).jsxDEV; diff --git a/integration/snapshots/jsx-spacing.hmr.debug.jsx b/integration/snapshots/jsx-spacing.hmr.debug.jsx index 8d45ec417..462469ba5 100644 --- a/integration/snapshots/jsx-spacing.hmr.debug.jsx +++ b/integration/snapshots/jsx-spacing.hmr.debug.jsx @@ -1,12 +1,12 @@ import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as JSX from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; var jsx = require(JSX).jsxDEV; diff --git a/integration/snapshots/jsx-spacing.hmr.jsx b/integration/snapshots/jsx-spacing.hmr.jsx index d41bc53c7..a17970a7d 100644 --- a/integration/snapshots/jsx-spacing.hmr.jsx +++ b/integration/snapshots/jsx-spacing.hmr.jsx @@ -1,12 +1,12 @@ import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as JSX from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; var jsx = require(JSX).jsxDEV; diff --git a/integration/snapshots/jsx-spacing.jsx b/integration/snapshots/jsx-spacing.jsx index 0b1914722..29c8995d3 100644 --- a/integration/snapshots/jsx-spacing.jsx +++ b/integration/snapshots/jsx-spacing.jsx @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as JSX from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; var jsx = require(JSX).jsxDEV; diff --git a/integration/snapshots/latin1-chars-in-regexp.hmr.debug.js b/integration/snapshots/latin1-chars-in-regexp.hmr.debug.js index f0e79c488..db7f60ee3 100644 --- a/integration/snapshots/latin1-chars-in-regexp.hmr.debug.js +++ b/integration/snapshots/latin1-chars-in-regexp.hmr.debug.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; Bun.activate(true); var hmr = new HMR(1430071586, "latin1-chars-in-regexp.js"), exports = hmr.exports; diff --git a/integration/snapshots/latin1-chars-in-regexp.hmr.js b/integration/snapshots/latin1-chars-in-regexp.hmr.js index 03b9344e4..db6eec375 100644 --- a/integration/snapshots/latin1-chars-in-regexp.hmr.js +++ b/integration/snapshots/latin1-chars-in-regexp.hmr.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; Bun.activate(false); var hmr = new HMR(1430071586, "latin1-chars-in-regexp.js"), exports = hmr.exports; diff --git a/integration/snapshots/lodash-regexp.debug.js b/integration/snapshots/lodash-regexp.debug.js index 6e0e6190a..dd6bca362 100644 --- a/integration/snapshots/lodash-regexp.debug.js +++ b/integration/snapshots/lodash-regexp.debug.js @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as $60f52dc2 from "http://localhost:8080/node_modules/lodash/lodash.js"; var { shuffle} = require($60f52dc2); export function test() { diff --git a/integration/snapshots/lodash-regexp.hmr.debug.js b/integration/snapshots/lodash-regexp.hmr.debug.js index 3030e47c6..a66de3069 100644 --- a/integration/snapshots/lodash-regexp.hmr.debug.js +++ b/integration/snapshots/lodash-regexp.hmr.debug.js @@ -1,12 +1,12 @@ import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as $60f52dc2 from "http://localhost:8080/node_modules/lodash/lodash.js"; var { shuffle} = require($60f52dc2); Bun.activate(true); diff --git a/integration/snapshots/lodash-regexp.hmr.js b/integration/snapshots/lodash-regexp.hmr.js index cd9ca40f7..357568704 100644 --- a/integration/snapshots/lodash-regexp.hmr.js +++ b/integration/snapshots/lodash-regexp.hmr.js @@ -1,12 +1,12 @@ import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as $60f52dc2 from "http://localhost:8080/node_modules/lodash/lodash.js"; var { shuffle} = require($60f52dc2); Bun.activate(false); diff --git a/integration/snapshots/lodash-regexp.js b/integration/snapshots/lodash-regexp.js index 6e0e6190a..dd6bca362 100644 --- a/integration/snapshots/lodash-regexp.js +++ b/integration/snapshots/lodash-regexp.js @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as $60f52dc2 from "http://localhost:8080/node_modules/lodash/lodash.js"; var { shuffle} = require($60f52dc2); export function test() { diff --git a/integration/snapshots/multiple-imports.debug.js b/integration/snapshots/multiple-imports.debug.js index a98366885..dcf7b6231 100644 --- a/integration/snapshots/multiple-imports.debug.js +++ b/integration/snapshots/multiple-imports.debug.js @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as JSX from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; var JSXClassic = require($bbcd215f); diff --git a/integration/snapshots/multiple-imports.hmr.debug.js b/integration/snapshots/multiple-imports.hmr.debug.js index 3c40e88a6..78cf5bd0e 100644 --- a/integration/snapshots/multiple-imports.hmr.debug.js +++ b/integration/snapshots/multiple-imports.hmr.debug.js @@ -1,12 +1,12 @@ import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as JSX from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; var JSXClassic = require($bbcd215f); diff --git a/integration/snapshots/multiple-imports.hmr.js b/integration/snapshots/multiple-imports.hmr.js index 03cfe9d1a..4f57d33b8 100644 --- a/integration/snapshots/multiple-imports.hmr.js +++ b/integration/snapshots/multiple-imports.hmr.js @@ -1,12 +1,12 @@ import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as JSX from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; var JSXClassic = require($bbcd215f); diff --git a/integration/snapshots/multiple-imports.js b/integration/snapshots/multiple-imports.js index a98366885..dcf7b6231 100644 --- a/integration/snapshots/multiple-imports.js +++ b/integration/snapshots/multiple-imports.js @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as JSX from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; var JSXClassic = require($bbcd215f); diff --git a/integration/snapshots/number-literal-bug.hmr.debug.js b/integration/snapshots/number-literal-bug.hmr.debug.js index e9d9f7b06..96e0dc96c 100644 --- a/integration/snapshots/number-literal-bug.hmr.debug.js +++ b/integration/snapshots/number-literal-bug.hmr.debug.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; Bun.activate(true); var hmr = new HMR(583570002, "number-literal-bug.js"), exports = hmr.exports; diff --git a/integration/snapshots/number-literal-bug.hmr.js b/integration/snapshots/number-literal-bug.hmr.js index 87cd08433..1d128538c 100644 --- a/integration/snapshots/number-literal-bug.hmr.js +++ b/integration/snapshots/number-literal-bug.hmr.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; Bun.activate(false); var hmr = new HMR(583570002, "number-literal-bug.js"), exports = hmr.exports; diff --git a/integration/snapshots/optional-chain-with-function.hmr.debug.js b/integration/snapshots/optional-chain-with-function.hmr.debug.js index acd656901..f4c7a3641 100644 --- a/integration/snapshots/optional-chain-with-function.hmr.debug.js +++ b/integration/snapshots/optional-chain-with-function.hmr.debug.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; Bun.activate(true); var hmr = new HMR(3608848620, "optional-chain-with-function.js"), exports = hmr.exports; diff --git a/integration/snapshots/optional-chain-with-function.hmr.js b/integration/snapshots/optional-chain-with-function.hmr.js index 91666bf96..780c8b425 100644 --- a/integration/snapshots/optional-chain-with-function.hmr.js +++ b/integration/snapshots/optional-chain-with-function.hmr.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; Bun.activate(false); var hmr = new HMR(3608848620, "optional-chain-with-function.js"), exports = hmr.exports; diff --git a/integration/snapshots/package-json-exports/index.debug.js b/integration/snapshots/package-json-exports/index.debug.js index 882f9d489..cfeee9a4a 100644 --- a/integration/snapshots/package-json-exports/index.debug.js +++ b/integration/snapshots/package-json-exports/index.debug.js @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; 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"; diff --git a/integration/snapshots/package-json-exports/index.hmr.debug.js b/integration/snapshots/package-json-exports/index.hmr.debug.js index 26be6ac7b..8c23e74fc 100644 --- a/integration/snapshots/package-json-exports/index.hmr.debug.js +++ b/integration/snapshots/package-json-exports/index.hmr.debug.js @@ -1,12 +1,12 @@ import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; 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"; diff --git a/integration/snapshots/package-json-exports/index.hmr.js b/integration/snapshots/package-json-exports/index.hmr.js index d4e1aff18..eaaad675c 100644 --- a/integration/snapshots/package-json-exports/index.hmr.js +++ b/integration/snapshots/package-json-exports/index.hmr.js @@ -1,12 +1,12 @@ import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; 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"; diff --git a/integration/snapshots/package-json-exports/index.js b/integration/snapshots/package-json-exports/index.js index 882f9d489..cfeee9a4a 100644 --- a/integration/snapshots/package-json-exports/index.js +++ b/integration/snapshots/package-json-exports/index.js @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; 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"; diff --git a/integration/snapshots/react-context-value-func.debug.tsx b/integration/snapshots/react-context-value-func.debug.tsx index 5d151afba..6ce4b09db 100644 --- a/integration/snapshots/react-context-value-func.debug.tsx +++ b/integration/snapshots/react-context-value-func.debug.tsx @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as JSX from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; var jsx = require(JSX).jsxDEV; diff --git a/integration/snapshots/react-context-value-func.hmr.debug.tsx b/integration/snapshots/react-context-value-func.hmr.debug.tsx index 9280a638d..4632802d4 100644 --- a/integration/snapshots/react-context-value-func.hmr.debug.tsx +++ b/integration/snapshots/react-context-value-func.hmr.debug.tsx @@ -1,12 +1,12 @@ import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as JSX from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; var jsx = require(JSX).jsxDEV; diff --git a/integration/snapshots/react-context-value-func.hmr.tsx b/integration/snapshots/react-context-value-func.hmr.tsx index c6313661e..5ad188422 100644 --- a/integration/snapshots/react-context-value-func.hmr.tsx +++ b/integration/snapshots/react-context-value-func.hmr.tsx @@ -1,12 +1,12 @@ import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as JSX from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; var jsx = require(JSX).jsxDEV; diff --git a/integration/snapshots/react-context-value-func.tsx b/integration/snapshots/react-context-value-func.tsx index 5d151afba..6ce4b09db 100644 --- a/integration/snapshots/react-context-value-func.tsx +++ b/integration/snapshots/react-context-value-func.tsx @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as JSX from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; var jsx = require(JSX).jsxDEV; diff --git a/integration/snapshots/spread_with_key.debug.tsx b/integration/snapshots/spread_with_key.debug.tsx index cb079bb95..25f380a8d 100644 --- a/integration/snapshots/spread_with_key.debug.tsx +++ b/integration/snapshots/spread_with_key.debug.tsx @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as JSX from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; var JSXClassic = require($bbcd215f); diff --git a/integration/snapshots/spread_with_key.hmr.debug.tsx b/integration/snapshots/spread_with_key.hmr.debug.tsx index 7f5076f1a..78754d7dd 100644 --- a/integration/snapshots/spread_with_key.hmr.debug.tsx +++ b/integration/snapshots/spread_with_key.hmr.debug.tsx @@ -1,12 +1,12 @@ import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as JSX from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; var JSXClassic = require($bbcd215f); diff --git a/integration/snapshots/spread_with_key.hmr.tsx b/integration/snapshots/spread_with_key.hmr.tsx index 4b5d9ccf6..9e4da7bf4 100644 --- a/integration/snapshots/spread_with_key.hmr.tsx +++ b/integration/snapshots/spread_with_key.hmr.tsx @@ -1,12 +1,12 @@ import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as JSX from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; var JSXClassic = require($bbcd215f); diff --git a/integration/snapshots/spread_with_key.tsx b/integration/snapshots/spread_with_key.tsx index cb079bb95..25f380a8d 100644 --- a/integration/snapshots/spread_with_key.tsx +++ b/integration/snapshots/spread_with_key.tsx @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as JSX from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; var JSXClassic = require($bbcd215f); diff --git a/integration/snapshots/string-escapes.debug.js b/integration/snapshots/string-escapes.debug.js index af9c53abf..9feb91e50 100644 --- a/integration/snapshots/string-escapes.debug.js +++ b/integration/snapshots/string-escapes.debug.js @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as JSX from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; var JSXClassic = require($bbcd215f); diff --git a/integration/snapshots/string-escapes.hmr.debug.js b/integration/snapshots/string-escapes.hmr.debug.js index 19045846a..923c8b8b3 100644 --- a/integration/snapshots/string-escapes.hmr.debug.js +++ b/integration/snapshots/string-escapes.hmr.debug.js @@ -1,12 +1,12 @@ import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as JSX from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; var JSXClassic = require($bbcd215f); diff --git a/integration/snapshots/string-escapes.hmr.js b/integration/snapshots/string-escapes.hmr.js index e1f38c7af..2ffed5df4 100644 --- a/integration/snapshots/string-escapes.hmr.js +++ b/integration/snapshots/string-escapes.hmr.js @@ -1,12 +1,12 @@ import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as JSX from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; var JSXClassic = require($bbcd215f); diff --git a/integration/snapshots/string-escapes.js b/integration/snapshots/string-escapes.js index af9c53abf..9feb91e50 100644 --- a/integration/snapshots/string-escapes.js +++ b/integration/snapshots/string-escapes.js @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as JSX from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js"; var JSXClassic = require($bbcd215f); diff --git a/integration/snapshots/styledcomponents-output.debug.js b/integration/snapshots/styledcomponents-output.debug.js index b99d434da..7dcaa3d08 100644 --- a/integration/snapshots/styledcomponents-output.debug.js +++ b/integration/snapshots/styledcomponents-output.debug.js @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as JSX from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; var jsx = require(JSX).jsxDEV; diff --git a/integration/snapshots/styledcomponents-output.hmr.debug.js b/integration/snapshots/styledcomponents-output.hmr.debug.js index dc9e2de7d..cecb4780e 100644 --- a/integration/snapshots/styledcomponents-output.hmr.debug.js +++ b/integration/snapshots/styledcomponents-output.hmr.debug.js @@ -1,12 +1,12 @@ import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as JSX from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; var jsx = require(JSX).jsxDEV; diff --git a/integration/snapshots/styledcomponents-output.hmr.js b/integration/snapshots/styledcomponents-output.hmr.js index 5f0d525a4..c9bd340d1 100644 --- a/integration/snapshots/styledcomponents-output.hmr.js +++ b/integration/snapshots/styledcomponents-output.hmr.js @@ -1,12 +1,12 @@ import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as JSX from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; var jsx = require(JSX).jsxDEV; diff --git a/integration/snapshots/styledcomponents-output.js b/integration/snapshots/styledcomponents-output.js index b99d434da..7dcaa3d08 100644 --- a/integration/snapshots/styledcomponents-output.js +++ b/integration/snapshots/styledcomponents-output.js @@ -1,6 +1,6 @@ import { __require as require -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import * as JSX from "http://localhost:8080/node_modules/react/jsx-dev-runtime.js"; var jsx = require(JSX).jsxDEV; diff --git a/integration/snapshots/template-literal.hmr.debug.js b/integration/snapshots/template-literal.hmr.debug.js index af93a6fa5..a603ab705 100644 --- a/integration/snapshots/template-literal.hmr.debug.js +++ b/integration/snapshots/template-literal.hmr.debug.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; Bun.activate(true); var hmr = new HMR(2201713056, "template-literal.js"), exports = hmr.exports; diff --git a/integration/snapshots/template-literal.hmr.js b/integration/snapshots/template-literal.hmr.js index d27857c77..b237b0ec5 100644 --- a/integration/snapshots/template-literal.hmr.js +++ b/integration/snapshots/template-literal.hmr.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; Bun.activate(false); var hmr = new HMR(2201713056, "template-literal.js"), exports = hmr.exports; diff --git a/integration/snapshots/ts-fallback-rewrite-works.hmr.debug.js b/integration/snapshots/ts-fallback-rewrite-works.hmr.debug.js index c90ac6d25..1b2c6fbf2 100644 --- a/integration/snapshots/ts-fallback-rewrite-works.hmr.debug.js +++ b/integration/snapshots/ts-fallback-rewrite-works.hmr.debug.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; Bun.activate(true); var hmr = new HMR(421762902, "ts-fallback-rewrite-works.ts"), exports = hmr.exports; diff --git a/integration/snapshots/ts-fallback-rewrite-works.hmr.js b/integration/snapshots/ts-fallback-rewrite-works.hmr.js index e728c5f14..577275c99 100644 --- a/integration/snapshots/ts-fallback-rewrite-works.hmr.js +++ b/integration/snapshots/ts-fallback-rewrite-works.hmr.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; Bun.activate(false); var hmr = new HMR(421762902, "ts-fallback-rewrite-works.ts"), exports = hmr.exports; diff --git a/integration/snapshots/tsx-fallback-rewrite-works.hmr.debug.js b/integration/snapshots/tsx-fallback-rewrite-works.hmr.debug.js index d3aa0919a..b9155a35f 100644 --- a/integration/snapshots/tsx-fallback-rewrite-works.hmr.debug.js +++ b/integration/snapshots/tsx-fallback-rewrite-works.hmr.debug.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; Bun.activate(true); var hmr = new HMR(2117426367, "tsx-fallback-rewrite-works.tsx"), exports = hmr.exports; diff --git a/integration/snapshots/tsx-fallback-rewrite-works.hmr.js b/integration/snapshots/tsx-fallback-rewrite-works.hmr.js index 3f2f754e2..98449f355 100644 --- a/integration/snapshots/tsx-fallback-rewrite-works.hmr.js +++ b/integration/snapshots/tsx-fallback-rewrite-works.hmr.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; Bun.activate(false); var hmr = new HMR(2117426367, "tsx-fallback-rewrite-works.tsx"), exports = hmr.exports; diff --git a/integration/snapshots/type-only-imports.hmr.debug.ts b/integration/snapshots/type-only-imports.hmr.debug.ts index c647843ea..c6ddfa45f 100644 --- a/integration/snapshots/type-only-imports.hmr.debug.ts +++ b/integration/snapshots/type-only-imports.hmr.debug.ts @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; Bun.activate(true); var hmr = new HMR(650094581, "type-only-imports.ts"), exports = hmr.exports; diff --git a/integration/snapshots/type-only-imports.hmr.ts b/integration/snapshots/type-only-imports.hmr.ts index 84740d0d9..4c3d9b9bb 100644 --- a/integration/snapshots/type-only-imports.hmr.ts +++ b/integration/snapshots/type-only-imports.hmr.ts @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; Bun.activate(false); var hmr = new HMR(650094581, "type-only-imports.ts"), exports = hmr.exports; diff --git a/integration/snapshots/unicode-identifiers.hmr.debug.js b/integration/snapshots/unicode-identifiers.hmr.debug.js index 894cd0fe5..81017ff5c 100644 --- a/integration/snapshots/unicode-identifiers.hmr.debug.js +++ b/integration/snapshots/unicode-identifiers.hmr.debug.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; Bun.activate(true); var hmr = new HMR(1398361736, "unicode-identifiers.js"), exports = hmr.exports; diff --git a/integration/snapshots/unicode-identifiers.hmr.js b/integration/snapshots/unicode-identifiers.hmr.js index f43fef51c..d85c42c72 100644 --- a/integration/snapshots/unicode-identifiers.hmr.js +++ b/integration/snapshots/unicode-identifiers.hmr.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; Bun.activate(false); var hmr = new HMR(1398361736, "unicode-identifiers.js"), exports = hmr.exports; diff --git a/integration/snapshots/void-shouldnt-delete-call-expressions.hmr.debug.js b/integration/snapshots/void-shouldnt-delete-call-expressions.hmr.debug.js index ebc46c9ba..fa25488ec 100644 --- a/integration/snapshots/void-shouldnt-delete-call-expressions.hmr.debug.js +++ b/integration/snapshots/void-shouldnt-delete-call-expressions.hmr.debug.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; Bun.activate(true); var hmr = new HMR(635901064, "void-shouldnt-delete-call-expressions.js"), exports = hmr.exports; diff --git a/integration/snapshots/void-shouldnt-delete-call-expressions.hmr.js b/integration/snapshots/void-shouldnt-delete-call-expressions.hmr.js index 239b40fbd..fb14bc53a 100644 --- a/integration/snapshots/void-shouldnt-delete-call-expressions.hmr.js +++ b/integration/snapshots/void-shouldnt-delete-call-expressions.hmr.js @@ -1,9 +1,9 @@ import { __HMRModule as HMR -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; import { __HMRClient as Bun -} from "http://localhost:8080/__runtime.js"; +} from "http://localhost:8080/bun:runtime"; Bun.activate(false); var hmr = new HMR(635901064, "void-shouldnt-delete-call-expressions.js"), exports = hmr.exports; |