porffor 0.55.0 → 0.55.1

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.
package/.fails.cjs CHANGED
@@ -1,6 +1,13 @@
1
1
  const all = require('./all.json').map(x => x.slice(21));
2
2
  const { passes } = require('./test262/results.json');
3
3
  const fails = all.filter(x => !passes.includes(x));
4
- const dirs = Object.groupBy(fails, x => x.split('/').slice(0, 3).join('/'));
5
- const top = Object.keys(dirs).sort((a, b) => dirs[b].length - dirs[a].length);
6
- console.log(top.slice(0, 40).map(x => `${x}: ${dirs[x].length} (${((dirs[x].length / all.length) * 100).toFixed(2)}%)`).join('\n'));
4
+ {
5
+ const dirs = Object.groupBy(fails, x => x.split('/').slice(0, 3).join('/'));
6
+ const top = Object.keys(dirs).sort((a, b) => dirs[b].length - dirs[a].length);
7
+ console.log(top.slice(0, 40).map(x => `${x}: ${dirs[x].length} (${((dirs[x].length / all.length) * 100).toFixed(2)}%)`).join('\n'));
8
+ }
9
+ {
10
+ const dirs = Object.groupBy(fails, x => x.split('/').slice(0, 4).join('/'));
11
+ const top = Object.keys(dirs).sort((a, b) => dirs[b].length - dirs[a].length);
12
+ console.log(top.slice(0, 40).map(x => `${x}: ${dirs[x].length} (${((dirs[x].length / all.length) * 100).toFixed(2)}%)`).join('\n'));
13
+ }
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.55.0",
4
+ "version": "0.55.1",
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.55.0';
3
+ globalThis.version = '0.55.1';
4
4
 
5
5
  // deno compat
6
6
  if (typeof process === 'undefined' && typeof Deno !== 'undefined') {
package/.hermes.cjs DELETED
@@ -1,4 +0,0 @@
1
- const uniq = [...new Set(require('../hermes.json').pass.map(x => x.slice(5))).difference(new Set(require('./test262/results.json').passes))];
2
- console.log([...uniq.reduce((acc, x) => { let k = x.split('/').slice(0, -1).join('/'); return acc.set(k, (acc.get(k) || 0) + 1); }, new Map()).entries()].sort((a, b) => a[1] - b[1]).slice(-20).map(x => x[0] + ': ' + x[1]).join('\n'));
3
-
4
- if (process.argv[2]) console.log(uniq.filter(x => x.startsWith(process.argv[2])).join('\n'));