porffor 0.36.4 → 0.36.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -183,8 +183,6 @@ export default function({ builtinFuncs }, Prefs) {
183
183
  ...autoFuncs('Math')
184
184
  });
185
185
 
186
- object('Reflect', autoFuncs('Reflect'));
187
-
188
186
  // automatically generate objects for prototypes
189
187
  for (const x of builtinFuncKeys.reduce((acc, x) => {
190
188
  const ind = x.indexOf('_prototype_');
@@ -224,7 +222,9 @@ export default function({ builtinFuncs }, Prefs) {
224
222
  ...autoFuncs('Number')
225
223
  });
226
224
 
225
+ object('Reflect', autoFuncs('Reflect'));
227
226
  object('Object', autoFuncs('Object'));
227
+ object('JSON', autoFuncs('JSON'));
228
228
 
229
229
 
230
230
  // these technically not spec compliant as it should be classes or non-enumerable but eh
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "porffor",
3
3
  "description": "a basic experimental wip aot optimizing js -> wasm engine/compiler/runtime in js",
4
- "version": "0.36.4+2bd354932",
4
+ "version": "0.36.5+1b34b2d12",
5
5
  "author": "CanadaHonk",
6
6
  "license": "MIT",
7
7
  "scripts": {},
package/runner/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import fs from 'node:fs';
3
- globalThis.version = '0.36.4+2bd354932';
3
+ globalThis.version = '0.36.5+1b34b2d12';
4
4
 
5
5
  // deno compat
6
6
  if (typeof process === 'undefined' && typeof Deno !== 'undefined') {