aboutsummaryrefslogtreecommitdiff
path: root/test/snapshots/caught-require.js
blob: 7c356a21dbebe85de5ad9836072515696484cf6a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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"`)); } )());
} catch (exception) {
}
try {
  await import("this-package-should-not-exist");
} catch (exception) {
}
import("this-package-should-not-exist").then(() => {
}, () => {
});
export async function test() {
  try {
    require((() => { throw (new Error(`Cannot require module "this-package-should-not-exist"`)); } )());
  } catch (exception) {
  }
  try {
    await import("this-package-should-not-exist");
  } catch (exception) {
  }
  import("this-package-should-not-exist").then(() => {
  }, () => {
  });
  return testDone(import.meta.url);
}

//# sourceMappingURL=http://localhost:8080/caught-require.js.map
umner 1-4/+31 2021-12-16[bun bun] Fix a race condition introduced in #55ff681976f7bae5a428c409061991c...Gravatar Jarred Sumner 2-4/+9 2021-12-16Update js_printer.zigGravatar Jarred Sumner 1-1/+8 2021-12-16[http] Fix bug with `Link` headerGravatar Jarred Sumner 1-1/+5 2021-12-16Update js_printer.zigGravatar Jarred Sumner 1-1/+1 2021-12-16:camera:Gravatar Jarred Sumner 30-129/+226 2021-12-16bump build idGravatar Jarred Sumner 1-1/+1 2021-12-16[macros] Do not automatically load node_modules.bun in macrosGravatar Jarred Sumner 1-11/+11 2021-12-16[macros] Slightly improve error message if macros fail to loadGravatar Jarred Sumner 1-2/+7 2021-12-16[bundler][JS transpiler] Improve reliability of ESM <> CommonJS interopGravatar Jarred Sumner 6-242/+165 2021-12-16[http] Ensure errors from macros can see source codeGravatar Jarred Sumner 1-1/+19 2021-12-16[internal] disable debug workaroundGravatar Jarred Sumner 1-1/+1 2021-12-16[bundler] Fix edgecase where certain modules would load unbundled versionsGravatar Jarred Sumner 2-2/+17 2021-12-16[resolver] Change extension order based on import kindGravatar Jarred Sumner 1-1/+6 2021-12-16[resolver] When importing from an ES Module, prefer `.{m,c}{t,j}s`Gravatar Jarred Sumner 1-2/+28 2021-12-15wip fix live bindingsGravatar Jarred Sumner 6-418/+359 2021-12-15[JS transpiler] Simplify CommonJS interop callbackGravatar Jarred Sumner 2-67/+65 2021-12-15[JS transpiler] Ensure reserved words don't end up in nonUniqueIdentifier()Gravatar Jarred Sumner 2-0/+18 2021-12-15[JS Parser] Add regression testGravatar Jarred Sumner 1-0/+14 2021-12-15[JS Parser] Fix bug with template literals that create new scopes in the tag ...Gravatar Jarred Sumner 1-4/+4 2021-12-11Add a resource hint for preloading node_modules.bun and route asset in the fa...Gravatar Jarred Sumner 1-1/+43 2021-12-04[resolver] Do not throw on require()/import errors when they're caught (and i...Gravatar Jarred Sumner 2-53/+62 2021-11-26Bumpbun-v0.0.52Gravatar Jarred Sumner 1-1/+1 2021-11-25Fix occasional segfault when parsing JSON in http serverGravatar Jarred Sumner 1-2/+2 2021-11-25Revert "Merge pull request #70 from Jarred-Sumner/lithdew/picohttp-mimalloc"Gravatar Jarred Sumner 2-153/+132 2021-11-24mimalloc: patch malloc/freelithdew/picohttp-mimallocGravatar Kenta Iwasaki 2-7/+35 2021-11-24deps: add missing mimalloc dep to jsc bindings header generatorGravatar Kenta Iwasaki 2-2/+3 2021-11-24deps: build picohttp and mimalloc using zigGravatar Kenta Iwasaki 2-131/+123 2021-11-23update Next version on globalGravatar Jack Hanford 1-1/+1 2021-11-23Update build-idGravatar Jarred Sumner 1-1/+1 2021-11-23fix shallow routingGravatar Jack Hanford 1-4/+6 2021-11-23remove commentGravatar Jack Hanford 1-1/+0 2021-11-23add react-dom as devDepGravatar Jack Hanford 1-0/+1 2021-11-23stop installing textencoderGravatar Jack Hanford 3-2/+308 2021-11-23begin addressing more feedbackGravatar Jack Hanford 1-3/+3 2021-11-22remove .thenGravatar Jack Hanford 1-12/+3 2021-11-22another tryGravatar Jack Hanford 2-5/+1 2021-11-22add type fnsGravatar Jack Hanford 1-1/+4