aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/ImportMetaObject.cpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-11-03Introduce `import.meta.primordials` for builtin JSGravatar Jarred Sumner 1-0/+1
the `import.meta` object in Bun now has a `primordials` object which makes a handful of globals safe for access. Inside of bun: or node: modules, it is a special object (ownKeys is not implemented, so Object.keys() wont work on it) - Array - String - `isPromise` - `isCallable` - `isConstructable` - `tryGetById(foo, "bar')` which is like foo?.bar - `arrayPush` which is like `Array.prototype.push` - `Bun` - `isAbortSignal` cc @ThatOneBro @lawrencecchen
2022-09-04`[node:module]` Implement `_resolveFileName`, stub `_nodeModulePaths` & `_cache`Gravatar Jarred Sumner 1-22/+13
Closes https://github.com/oven-sh/bun/issues/1111
2022-09-03Fix `createRequire()` in `node:module`Gravatar Jarred Sumner 1-0/+19
Fixes https://github.com/oven-sh/bun/issues/831 Fixes https://github.com/oven-sh/bun/issues/453
2022-08-12Update WebKitGravatar Jarred Sumner 1-0/+2
2022-08-09[node compat] Implement `require.resolve`Gravatar Jarred Sumner 1-3/+105
2022-07-01Zig::ImportMetaGravatar Jarred Sumner 1-0/+249