Jarred Sumner
6142715c06
Introduce import.meta.primordials for builtin JS
...
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-11-03 00:18:26 -07:00
..
2022-09-16 00:53:03 -07:00
2022-05-19 05:37:18 -07:00
2022-08-24 09:10:49 -07:00
2022-11-03 00:18:26 -07:00
2022-10-09 02:02:47 -07:00
2022-10-28 18:09:55 -07:00
2022-10-30 01:03:11 -07:00
2022-10-25 00:44:25 -07:00
2022-10-23 21:53:54 -07:00
2022-10-27 18:26:32 -07:00
2022-07-25 01:37:58 -07:00
2022-10-15 21:01:50 -07:00
2022-09-14 19:15:05 -07:00
2022-10-06 00:47:03 -07:00
2022-06-22 23:21:48 -07:00
2022-07-04 06:03:31 -07:00
2022-06-26 06:01:22 -07:00
2022-10-09 19:04:25 -07:00
2022-08-10 17:40:17 -07:00
2022-06-22 23:21:48 -07:00
2022-10-27 18:25:43 -07:00
2022-10-03 11:07:00 -07:00
2022-07-27 21:16:22 -07:00
2022-08-27 02:59:07 -07:00
2022-09-04 21:43:53 -07:00
2022-10-06 00:47:03 -07:00
2022-08-10 21:26:20 -07:00
2022-10-03 01:10:38 -07:00
2022-05-09 00:24:25 -07:00
2022-09-25 13:14:23 -07:00
2022-09-28 00:11:15 -07:00
2022-07-09 18:25:25 -07:00
2022-07-09 00:57:08 -07:00
2022-09-16 00:53:03 -07:00
2022-09-05 23:05:22 -07:00
2022-09-01 00:14:20 -07:00
2022-10-11 20:25:16 -07:00
2022-07-09 18:25:25 -07:00
2022-09-11 13:37:17 -07:00
2022-10-25 00:44:25 -07:00
2022-10-06 00:47:03 -07:00
2022-09-03 03:57:43 -07:00
2022-11-01 21:25:30 -07:00
2022-10-24 19:02:56 -07:00
2022-11-01 21:25:30 -07:00
2022-10-23 21:53:54 -07:00
2022-10-25 00:44:25 -07:00
2022-09-16 03:20:28 -07:00
2022-06-22 06:56:47 -07:00
2022-09-06 07:23:05 -07:00
2022-09-25 13:14:23 -07:00
2022-06-22 06:56:47 -07:00
2022-07-09 18:25:25 -07:00
2022-06-07 22:32:46 -07:00
2022-07-09 05:09:16 -07:00
2022-09-16 00:53:03 -07:00
2022-10-16 17:02:56 -07:00
2022-07-09 16:29:57 -07:00
2022-10-27 21:25:32 -07:00
2022-07-09 18:25:25 -07:00
2022-09-30 00:44:36 -07:00
2022-10-16 17:03:06 -07:00
2022-09-16 00:53:03 -07:00
2022-08-07 23:23:42 -07:00
2022-08-17 07:37:14 -07:00
2022-11-01 21:25:30 -07:00
2022-11-01 21:25:30 -07:00
2022-11-01 21:25:30 -07:00
2022-11-01 21:25:30 -07:00
2022-11-01 21:25:30 -07:00
2022-11-01 21:25:30 -07:00
2022-08-10 23:11:24 -07:00
2022-06-22 06:56:47 -07:00
2022-10-16 00:13:18 -07:00
2022-09-17 17:41:13 -07:00
2022-09-30 00:44:36 -07:00
2022-10-01 13:23:32 -07:00
2022-10-01 13:23:32 -07:00
2022-08-12 03:04:00 -07:00
2022-05-03 04:35:49 -07:00
2022-10-05 16:49:37 -07:00
2022-08-07 15:58:41 -07:00
2022-10-06 00:47:03 -07:00
2022-06-22 23:21:48 -07:00
2022-08-17 07:37:14 -07:00