aboutsummaryrefslogtreecommitdiff
path: root/src/js/out/modules_dev/node/perf_hooks.js.map
diff options
context:
space:
mode:
authorGravatar dave caruso <me@paperdave.net> 2023-06-03 00:36:05 -0400
committerGravatar GitHub <noreply@github.com> 2023-06-02 21:36:05 -0700
commitcfd73cec816cb73e0017cf306e133a7b0e5ae4eb (patch)
treeb628d48e6962f9e71e3b9b75884f684d8297e180 /src/js/out/modules_dev/node/perf_hooks.js.map
parent3e437a6ae0d4a68f8f29c60276918d662ad7bbc7 (diff)
downloadbun-cfd73cec816cb73e0017cf306e133a7b0e5ae4eb.tar.gz
bun-cfd73cec816cb73e0017cf306e133a7b0e5ae4eb.tar.zst
bun-cfd73cec816cb73e0017cf306e133a7b0e5ae4eb.zip
fixes with hardcoded modules (#3182)
* fixes with hardcoded modules * add make hardcoded to make dev * adjust this message * remove debugging logs * this * restore2
Diffstat (limited to 'src/js/out/modules_dev/node/perf_hooks.js.map')
-rw-r--r--src/js/out/modules_dev/node/perf_hooks.js.map11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/js/out/modules_dev/node/perf_hooks.js.map b/src/js/out/modules_dev/node/perf_hooks.js.map
deleted file mode 100644
index 6527996f0..000000000
--- a/src/js/out/modules_dev/node/perf_hooks.js.map
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "version": 3,
- "sources": ["src/js/shared.ts", "src/js/node/perf_hooks.js"],
- "sourcesContent": [
- "export class NotImplementedError extends Error {\n code: string;\n constructor(feature: string, issue?: number) {\n super(\n feature +\n \" is not yet implemented in Bun.\" +\n (issue ? \" Track the status & thumbs up the issue: https://github.com/oven-sh/bun/issues/\" + issue : \"\"),\n );\n this.name = \"NotImplementedError\";\n this.code = \"ERR_NOT_IMPLEMENTED\";\n\n // in the definition so that it isn't bundled unless used\n hideFromStack(NotImplementedError);\n }\n}\n\nexport function throwNotImplemented(feature: string, issue?: number): never {\n // in the definition so that it isn't bundled unless used\n hideFromStack(throwNotImplemented);\n\n throw new NotImplementedError(feature, issue);\n}\n\nexport function hideFromStack(...fns) {\n for (const fn of fns) {\n Object.defineProperty(fn, \"name\", {\n value: \"::bunternal::\",\n });\n }\n}\n",
- "// Hardcoded module \"node:perf_hooks\"\nimport { throwNotImplemented } from \"../shared\";\n\nexport var performance = globalThis.performance;\n\nexport class PerformanceObserver {\n constructor() {\n throwNotImplemented(\"PerformanceObserver\");\n }\n}\n\nexport class PerformanceEntry {\n constructor() {\n throwNotImplemented(\"PerformanceEntry\");\n }\n}\nexport class PerformanceNodeTiming {\n constructor() {\n throw new Error(\"PerformanceNodeTiming is not supported in this environment.\");\n }\n}\n\nexport default {\n performance,\n PerformanceEntry,\n PerformanceNodeTiming,\n [Symbol.for(\"CommonJS\")]: 0,\n};\n"
- ],
- "mappings": ";;A//////DAgBO,SAAS,mBAAmB,CAAC,SAAiB,OAAuB;AAI1E,QAFA,cAAc,mBAAmB,GAE3B,IAAI,oBAAoB,SAAS,KAAK;AAAA;AAGvC,SAAS,aAAa,IAAI,KAAK;AACpC,WAAW,MAAM;AACf,WAAO,eAAe,IAAI,QAAQ;AAAA,MAChC,OAAO;AAAA,IACT,CAAC;AAAA;AA3BE;AAAA,MAAM,4BAA4B,MAAM;AAAA,EAC7C;AAAA,EACA,WAAW,CAAC,SAAiB,OAAgB;AAC3C,UACE,UACE,qCACC,QAAQ,oFAAoF,QAAQ,GACzG;AACA,SAAK,OAAO,uBACZ,KAAK,OAAO,uBAGZ,cAAc,mBAAmB;AAAA;AAErC;;;A9/////DdGO,IAAI,cAAc,WAAW;AAE7B;AAAA,MAAM,oBAAoB;AAAA,EAC/B,WAAW,GAAG;AACZ,wBAAoB,qBAAqB;AAAA;AAE7C;AAEO;AAAA,MAAM,iBAAiB;AAAA,EAC5B,WAAW,GAAG;AACZ,wBAAoB,kBAAkB;AAAA;AAE1C;AACO;AAAA,MAAM,sBAAsB;AAAA,EACjC,WAAW,GAAG;AACZ,UAAM,IAAI,MAAM,6DAA6D;AAAA;AAEjF;AAEA,IAToB;AAAA,EAUlB;AAAA,EACA;AAAA,EACA;AAAA,GACC,OAAO,IAAI,UAAU,IAAI;AAC5B;",
- "debugId": "D961496BC6C9612064756e2164756e21",
- "names": []
-} \ No newline at end of file