porffor 0.19.10 → 0.19.11

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.
@@ -3,7 +3,7 @@ export default () => {
3
3
 
4
4
  const error = name => out += `export const ${name} = function (message: bytestring) {
5
5
  new.target;
6
- return {};
6
+ return Object();
7
7
  };`;
8
8
 
9
9
  error('Error');
@@ -1199,59 +1199,59 @@ export const BuiltinFuncs = function() {
1199
1199
  constr: 1,
1200
1200
  };
1201
1201
  this.Error = {
1202
- wasm: (scope, {builtin}) => [[32,-1],[184],[26],[65,1],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('Map')],[26],[34,3],[65,5],[15]],
1202
+ wasm: (scope, {builtin}) => [[32,-1],[184],[26],[65,0],[68,0,0,0,0,0,0,0,0],[16, builtin('Object')],[65,5],[15]],
1203
1203
  params: [124,127], typedParams: 1,
1204
1204
  returns: [124,127], typedReturns: 1,
1205
- locals: [127,124], localNames: ["message","message#type","#last_type","#objectexpr.4f2edb37542"],
1205
+ locals: [127], localNames: ["message","message#type","#last_type"],
1206
1206
  constr: 1,
1207
1207
  };
1208
1208
  this.AggregateError = {
1209
- wasm: (scope, {builtin}) => [[32,-1],[184],[26],[65,1],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('Map')],[26],[34,3],[65,5],[15]],
1209
+ wasm: (scope, {builtin}) => [[32,-1],[184],[26],[65,0],[68,0,0,0,0,0,0,0,0],[16, builtin('Object')],[65,5],[15]],
1210
1210
  params: [124,127], typedParams: 1,
1211
1211
  returns: [124,127], typedReturns: 1,
1212
- locals: [127,124], localNames: ["message","message#type","#last_type","#objectexpr.9b187f0c85e"],
1212
+ locals: [127], localNames: ["message","message#type","#last_type"],
1213
1213
  constr: 1,
1214
1214
  };
1215
1215
  this.TypeError = {
1216
- wasm: (scope, {builtin}) => [[32,-1],[184],[26],[65,1],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('Map')],[26],[34,3],[65,5],[15]],
1216
+ wasm: (scope, {builtin}) => [[32,-1],[184],[26],[65,0],[68,0,0,0,0,0,0,0,0],[16, builtin('Object')],[65,5],[15]],
1217
1217
  params: [124,127], typedParams: 1,
1218
1218
  returns: [124,127], typedReturns: 1,
1219
- locals: [127,124], localNames: ["message","message#type","#last_type","#objectexpr.de5fa414d2d"],
1219
+ locals: [127], localNames: ["message","message#type","#last_type"],
1220
1220
  constr: 1,
1221
1221
  };
1222
1222
  this.ReferenceError = {
1223
- wasm: (scope, {builtin}) => [[32,-1],[184],[26],[65,1],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('Map')],[26],[34,3],[65,5],[15]],
1223
+ wasm: (scope, {builtin}) => [[32,-1],[184],[26],[65,0],[68,0,0,0,0,0,0,0,0],[16, builtin('Object')],[65,5],[15]],
1224
1224
  params: [124,127], typedParams: 1,
1225
1225
  returns: [124,127], typedReturns: 1,
1226
- locals: [127,124], localNames: ["message","message#type","#last_type","#objectexpr.e9bab759fa9"],
1226
+ locals: [127], localNames: ["message","message#type","#last_type"],
1227
1227
  constr: 1,
1228
1228
  };
1229
1229
  this.SyntaxError = {
1230
- wasm: (scope, {builtin}) => [[32,-1],[184],[26],[65,1],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('Map')],[26],[34,3],[65,5],[15]],
1230
+ wasm: (scope, {builtin}) => [[32,-1],[184],[26],[65,0],[68,0,0,0,0,0,0,0,0],[16, builtin('Object')],[65,5],[15]],
1231
1231
  params: [124,127], typedParams: 1,
1232
1232
  returns: [124,127], typedReturns: 1,
1233
- locals: [127,124], localNames: ["message","message#type","#last_type","#objectexpr.db7d5bd930a"],
1233
+ locals: [127], localNames: ["message","message#type","#last_type"],
1234
1234
  constr: 1,
1235
1235
  };
1236
1236
  this.RangeError = {
1237
- wasm: (scope, {builtin}) => [[32,-1],[184],[26],[65,1],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('Map')],[26],[34,3],[65,5],[15]],
1237
+ wasm: (scope, {builtin}) => [[32,-1],[184],[26],[65,0],[68,0,0,0,0,0,0,0,0],[16, builtin('Object')],[65,5],[15]],
1238
1238
  params: [124,127], typedParams: 1,
1239
1239
  returns: [124,127], typedReturns: 1,
1240
- locals: [127,124], localNames: ["message","message#type","#last_type","#objectexpr.1cc9b65c1c8"],
1240
+ locals: [127], localNames: ["message","message#type","#last_type"],
1241
1241
  constr: 1,
1242
1242
  };
1243
1243
  this.EvalError = {
1244
- wasm: (scope, {builtin}) => [[32,-1],[184],[26],[65,1],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('Map')],[26],[34,3],[65,5],[15]],
1244
+ wasm: (scope, {builtin}) => [[32,-1],[184],[26],[65,0],[68,0,0,0,0,0,0,0,0],[16, builtin('Object')],[65,5],[15]],
1245
1245
  params: [124,127], typedParams: 1,
1246
1246
  returns: [124,127], typedReturns: 1,
1247
- locals: [127,124], localNames: ["message","message#type","#last_type","#objectexpr.eff57e5083e"],
1247
+ locals: [127], localNames: ["message","message#type","#last_type"],
1248
1248
  constr: 1,
1249
1249
  };
1250
1250
  this.URIError = {
1251
- wasm: (scope, {builtin}) => [[32,-1],[184],[26],[65,1],[68,0,0,0,0,0,0,0,0],[65,128,1],[16, builtin('Map')],[26],[34,3],[65,5],[15]],
1251
+ wasm: (scope, {builtin}) => [[32,-1],[184],[26],[65,0],[68,0,0,0,0,0,0,0,0],[16, builtin('Object')],[65,5],[15]],
1252
1252
  params: [124,127], typedParams: 1,
1253
1253
  returns: [124,127], typedReturns: 1,
1254
- locals: [127,124], localNames: ["message","message#type","#last_type","#objectexpr.256087acb80"],
1254
+ locals: [127], localNames: ["message","message#type","#last_type"],
1255
1255
  constr: 1,
1256
1256
  };
1257
1257
  this.escape = {
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.19.10+d1a9d685a",
4
+ "version": "0.19.11+0843169d5",
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.19.10+d1a9d685a';
3
+ globalThis.version = '0.19.11+0843169d5';
4
4
 
5
5
  // deno compat
6
6
  if (typeof process === 'undefined' && typeof Deno !== 'undefined') {