porffor 0.60.15 → 0.60.16

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.
@@ -7132,7 +7132,8 @@ const generateFunc = (scope, decl, forceNoExpr = false) => {
7132
7132
  __String_prototype_concat: 1,
7133
7133
  __ByteString_prototype_concat: 1,
7134
7134
  __Atomics_wait: 4,
7135
- __Atomics_notify: 3
7135
+ __Atomics_notify: 3,
7136
+ Date: 7
7136
7137
  })[name] ?? jsLength;
7137
7138
  }
7138
7139
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "porffor",
3
3
  "description": "An ahead-of-time JavaScript compiler",
4
- "version": "0.60.15",
4
+ "version": "0.60.16",
5
5
  "author": "Oliver Medhurst <honk@goose.icu>",
6
6
  "license": "MIT",
7
7
  "scripts": {},
package/runtime/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import fs from 'node:fs';
3
- globalThis.version = '0.60.15';
3
+ globalThis.version = '0.60.16';
4
4
 
5
5
  // deno compat
6
6
  if (typeof process === 'undefined' && typeof Deno !== 'undefined') {
package/foo.js DELETED
@@ -1,26 +0,0 @@
1
- const foo = {
2
- get x() {
3
- console.log('get x');
4
- return 42;
5
- }
6
- };
7
-
8
- const bar = { ...foo };
9
- console.log(bar);
10
-
11
- // const foo = {};
12
- // Object.defineProperty(foo, 'wow', {
13
- // value: 2,
14
- // writable: false,
15
- // enumerable: true,
16
- // configurable: true,
17
- // });
18
-
19
- // const bar = {
20
- // set wow(v) {
21
- // console.log('set wow', v);
22
- // },
23
- // ...foo,
24
- // };
25
-
26
- // console.log(bar);