ADAPT-Chase commited on
Commit
a303500
·
verified ·
1 Parent(s): a86e27b

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2015/tables/typed-array-objects.js +32 -0
  2. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2016/tables/typed-array-objects.js +32 -0
  3. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2017/tables/typed-array-objects.js +32 -0
  4. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2018/tables/typed-array-objects.js +32 -0
  5. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2019/tables/typed-array-objects.js +32 -0
  6. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/add.js +14 -0
  7. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/bitwiseAND.js +14 -0
  8. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/bitwiseNOT.js +15 -0
  9. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/bitwiseOR.js +14 -0
  10. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/bitwiseXOR.js +14 -0
  11. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/divide.js +20 -0
  12. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/equal.js +13 -0
  13. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/exponentiate.js +29 -0
  14. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/index.js +43 -0
  15. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/leftShift.js +14 -0
  16. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/lessThan.js +14 -0
  17. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/multiply.js +14 -0
  18. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/remainder.js +28 -0
  19. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/sameValue.js +15 -0
  20. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/sameValueZero.js +15 -0
  21. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/signedRightShift.js +15 -0
  22. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/subtract.js +14 -0
  23. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/toString.js +16 -0
  24. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/unaryMinus.js +22 -0
  25. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/unsignedRightShift.js +13 -0
  26. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/add.js +40 -0
  27. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/bitwiseAND.js +14 -0
  28. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/bitwiseNOT.js +16 -0
  29. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/bitwiseOR.js +14 -0
  30. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/bitwiseXOR.js +14 -0
  31. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/divide.js +18 -0
  32. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/equal.js +18 -0
  33. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/exponentiate.js +74 -0
  34. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/index.js +43 -0
  35. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/leftShift.js +21 -0
  36. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/lessThan.js +22 -0
  37. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/multiply.js +29 -0
  38. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/remainder.js +28 -0
  39. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/sameValue.js +18 -0
  40. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/sameValueZero.js +20 -0
  41. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/signedRightShift.js +21 -0
  42. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/subtract.js +12 -0
  43. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/toString.js +16 -0
  44. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/unaryMinus.js +17 -0
  45. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/unsignedRightShift.js +21 -0
  46. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/tables/typed-array-objects.js +36 -0
  47. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2021/BigInt/add.js +14 -0
  48. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2021/BigInt/bitwiseAND.js +14 -0
  49. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2021/BigInt/bitwiseNOT.js +15 -0
  50. novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2022/IteratorClose.js +49 -0
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2015/tables/typed-array-objects.js ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ // https://262.ecma-international.org/6.0/#table-49
4
+
5
+ module.exports = {
6
+ __proto__: null,
7
+ name: {
8
+ __proto__: null,
9
+ $Int8Array: 'Int8',
10
+ $Uint8Array: 'Uint8',
11
+ $Uint8ClampedArray: 'Uint8C',
12
+ $Int16Array: 'Int16',
13
+ $Uint16Array: 'Uint16',
14
+ $Int32Array: 'Int32',
15
+ $Uint32Array: 'Uint32',
16
+ $Float32Array: 'Float32',
17
+ $Float64Array: 'Float64'
18
+ },
19
+ size: {
20
+ __proto__: null,
21
+ $Int8: 1,
22
+ $Uint8: 1,
23
+ $Uint8C: 1,
24
+ $Int16: 2,
25
+ $Uint16: 2,
26
+ $Int32: 4,
27
+ $Uint32: 4,
28
+ $Float32: 4,
29
+ $Float64: 8
30
+ },
31
+ choices: '"Int8", "Uint8", "Uint8C", "Int16", "Uint16", "Int32", "Uint32", "Float32", or "Float64"'
32
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2016/tables/typed-array-objects.js ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ // https://262.ecma-international.org/6.0/#table-49
4
+
5
+ module.exports = {
6
+ __proto__: null,
7
+ name: {
8
+ __proto__: null,
9
+ $Int8Array: 'Int8',
10
+ $Uint8Array: 'Uint8',
11
+ $Uint8ClampedArray: 'Uint8C',
12
+ $Int16Array: 'Int16',
13
+ $Uint16Array: 'Uint16',
14
+ $Int32Array: 'Int32',
15
+ $Uint32Array: 'Uint32',
16
+ $Float32Array: 'Float32',
17
+ $Float64Array: 'Float64'
18
+ },
19
+ size: {
20
+ __proto__: null,
21
+ $Int8: 1,
22
+ $Uint8: 1,
23
+ $Uint8C: 1,
24
+ $Int16: 2,
25
+ $Uint16: 2,
26
+ $Int32: 4,
27
+ $Uint32: 4,
28
+ $Float32: 4,
29
+ $Float64: 8
30
+ },
31
+ choices: '"Int8", "Uint8", "Uint8C", "Int16", "Uint16", "Int32", "Uint32", "Float32", or "Float64"'
32
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2017/tables/typed-array-objects.js ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ // https://262.ecma-international.org/8.0/#table-49
4
+
5
+ module.exports = {
6
+ __proto__: null,
7
+ name: {
8
+ __proto__: null,
9
+ $Int8Array: 'Int8',
10
+ $Uint8Array: 'Uint8',
11
+ $Uint8ClampedArray: 'Uint8C',
12
+ $Int16Array: 'Int16',
13
+ $Uint16Array: 'Uint16',
14
+ $Int32Array: 'Int32',
15
+ $Uint32Array: 'Uint32',
16
+ $Float32Array: 'Float32',
17
+ $Float64Array: 'Float64'
18
+ },
19
+ size: {
20
+ __proto__: null,
21
+ $Int8: 1,
22
+ $Uint8: 1,
23
+ $Uint8C: 1,
24
+ $Int16: 2,
25
+ $Uint16: 2,
26
+ $Int32: 4,
27
+ $Uint32: 4,
28
+ $Float32: 4,
29
+ $Float64: 8
30
+ },
31
+ choices: '"Int8", "Uint8", "Uint8C", "Int16", "Uint16", "Int32", "Uint32", "Float32", or "Float64"'
32
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2018/tables/typed-array-objects.js ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ // https://262.ecma-international.org/8.0/#table-49
4
+
5
+ module.exports = {
6
+ __proto__: null,
7
+ name: {
8
+ __proto__: null,
9
+ $Int8Array: 'Int8',
10
+ $Uint8Array: 'Uint8',
11
+ $Uint8ClampedArray: 'Uint8C',
12
+ $Int16Array: 'Int16',
13
+ $Uint16Array: 'Uint16',
14
+ $Int32Array: 'Int32',
15
+ $Uint32Array: 'Uint32',
16
+ $Float32Array: 'Float32',
17
+ $Float64Array: 'Float64'
18
+ },
19
+ size: {
20
+ __proto__: null,
21
+ $Int8: 1,
22
+ $Uint8: 1,
23
+ $Uint8C: 1,
24
+ $Int16: 2,
25
+ $Uint16: 2,
26
+ $Int32: 4,
27
+ $Uint32: 4,
28
+ $Float32: 4,
29
+ $Float64: 8
30
+ },
31
+ choices: '"Int8", "Uint8", "Uint8C", "Int16", "Uint16", "Int32", "Uint32", "Float32", or "Float64"'
32
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2019/tables/typed-array-objects.js ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ // https://262.ecma-international.org/10.0/#table-49
4
+
5
+ module.exports = {
6
+ __proto__: null,
7
+ name: {
8
+ __proto__: null,
9
+ $Int8Array: 'Int8',
10
+ $Uint8Array: 'Uint8',
11
+ $Uint8ClampedArray: 'Uint8C',
12
+ $Int16Array: 'Int16',
13
+ $Uint16Array: 'Uint16',
14
+ $Int32Array: 'Int32',
15
+ $Uint32Array: 'Uint32',
16
+ $Float32Array: 'Float32',
17
+ $Float64Array: 'Float64'
18
+ },
19
+ size: {
20
+ __proto__: null,
21
+ $Int8: 1,
22
+ $Uint8: 1,
23
+ $Uint8C: 1,
24
+ $Int16: 2,
25
+ $Uint16: 2,
26
+ $Int32: 4,
27
+ $Uint32: 4,
28
+ $Float32: 4,
29
+ $Float64: 8
30
+ },
31
+ choices: '"Int8", "Uint8", "Uint8C", "Int16", "Uint16", "Int32", "Uint32", "Float32", or "Float64"'
32
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/add.js ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var $TypeError = require('es-errors/type');
4
+
5
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-add
6
+
7
+ module.exports = function BigIntAdd(x, y) {
8
+ if (typeof x !== 'bigint' || typeof y !== 'bigint') {
9
+ throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts');
10
+ }
11
+
12
+ // shortcut for the actual spec mechanics
13
+ return x + y;
14
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/bitwiseAND.js ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var $TypeError = require('es-errors/type');
4
+
5
+ var BigIntBitwiseOp = require('../BigIntBitwiseOp');
6
+
7
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-bitwiseAND
8
+
9
+ module.exports = function BigIntBitwiseAND(x, y) {
10
+ if (typeof x !== 'bigint' || typeof y !== 'bigint') {
11
+ throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts');
12
+ }
13
+ return BigIntBitwiseOp('&', x, y);
14
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/bitwiseNOT.js ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var GetIntrinsic = require('get-intrinsic');
4
+
5
+ var $BigInt = GetIntrinsic('%BigInt%', true);
6
+ var $TypeError = require('es-errors/type');
7
+
8
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-bitwiseNOT
9
+
10
+ module.exports = function BigIntBitwiseNOT(x) {
11
+ if (typeof x !== 'bigint') {
12
+ throw new $TypeError('Assertion failed: `x` argument must be a BigInt');
13
+ }
14
+ return -x - $BigInt(1);
15
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/bitwiseOR.js ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var $TypeError = require('es-errors/type');
4
+
5
+ var BigIntBitwiseOp = require('../BigIntBitwiseOp');
6
+
7
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-bitwiseOR
8
+
9
+ module.exports = function BigIntBitwiseOR(x, y) {
10
+ if (typeof x !== 'bigint' || typeof y !== 'bigint') {
11
+ throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts');
12
+ }
13
+ return BigIntBitwiseOp('|', x, y);
14
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/bitwiseXOR.js ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var $TypeError = require('es-errors/type');
4
+
5
+ var BigIntBitwiseOp = require('../BigIntBitwiseOp');
6
+
7
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-bitwiseXOR
8
+
9
+ module.exports = function BigIntBitwiseXOR(x, y) {
10
+ if (typeof x !== 'bigint' || typeof y !== 'bigint') {
11
+ throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts');
12
+ }
13
+ return BigIntBitwiseOp('^', x, y);
14
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/divide.js ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var GetIntrinsic = require('get-intrinsic');
4
+
5
+ var $BigInt = GetIntrinsic('%BigInt%', true);
6
+ var $RangeError = require('es-errors/range');
7
+ var $TypeError = require('es-errors/type');
8
+
9
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-divide
10
+
11
+ module.exports = function BigIntDivide(x, y) {
12
+ if (typeof x !== 'bigint' || typeof y !== 'bigint') {
13
+ throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts');
14
+ }
15
+ if (y === $BigInt(0)) {
16
+ throw new $RangeError('Division by zero');
17
+ }
18
+ // shortcut for the actual spec mechanics
19
+ return x / y;
20
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/equal.js ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var $TypeError = require('es-errors/type');
4
+
5
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-equal
6
+
7
+ module.exports = function BigIntEqual(x, y) {
8
+ if (typeof x !== 'bigint' || typeof y !== 'bigint') {
9
+ throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts');
10
+ }
11
+ // shortcut for the actual spec mechanics
12
+ return x === y;
13
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/exponentiate.js ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var GetIntrinsic = require('get-intrinsic');
4
+
5
+ var $BigInt = GetIntrinsic('%BigInt%', true);
6
+ var $RangeError = require('es-errors/range');
7
+ var $TypeError = require('es-errors/type');
8
+
9
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-exponentiate
10
+
11
+ module.exports = function BigIntExponentiate(base, exponent) {
12
+ if (typeof base !== 'bigint' || typeof exponent !== 'bigint') {
13
+ throw new $TypeError('Assertion failed: `base` and `exponent` arguments must be BigInts');
14
+ }
15
+ if (exponent < $BigInt(0)) {
16
+ throw new $RangeError('Exponent must be positive');
17
+ }
18
+ if (/* base === $BigInt(0) && */ exponent === $BigInt(0)) {
19
+ return $BigInt(1);
20
+ }
21
+
22
+ var square = base;
23
+ var remaining = exponent;
24
+ while (remaining > $BigInt(0)) {
25
+ square += exponent;
26
+ --remaining; // eslint-disable-line no-plusplus
27
+ }
28
+ return square;
29
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/index.js ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var add = require('./add');
4
+ var bitwiseAND = require('./bitwiseAND');
5
+ var bitwiseNOT = require('./bitwiseNOT');
6
+ var bitwiseOR = require('./bitwiseOR');
7
+ var bitwiseXOR = require('./bitwiseXOR');
8
+ var divide = require('./divide');
9
+ var equal = require('./equal');
10
+ var exponentiate = require('./exponentiate');
11
+ var leftShift = require('./leftShift');
12
+ var lessThan = require('./lessThan');
13
+ var multiply = require('./multiply');
14
+ var remainder = require('./remainder');
15
+ var sameValue = require('./sameValue');
16
+ var sameValueZero = require('./sameValueZero');
17
+ var signedRightShift = require('./signedRightShift');
18
+ var subtract = require('./subtract');
19
+ var toString = require('./toString');
20
+ var unaryMinus = require('./unaryMinus');
21
+ var unsignedRightShift = require('./unsignedRightShift');
22
+
23
+ module.exports = {
24
+ add: add,
25
+ bitwiseAND: bitwiseAND,
26
+ bitwiseNOT: bitwiseNOT,
27
+ bitwiseOR: bitwiseOR,
28
+ bitwiseXOR: bitwiseXOR,
29
+ divide: divide,
30
+ equal: equal,
31
+ exponentiate: exponentiate,
32
+ leftShift: leftShift,
33
+ lessThan: lessThan,
34
+ multiply: multiply,
35
+ remainder: remainder,
36
+ sameValue: sameValue,
37
+ sameValueZero: sameValueZero,
38
+ signedRightShift: signedRightShift,
39
+ subtract: subtract,
40
+ toString: toString,
41
+ unaryMinus: unaryMinus,
42
+ unsignedRightShift: unsignedRightShift
43
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/leftShift.js ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var $TypeError = require('es-errors/type');
4
+
5
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-leftShift
6
+
7
+ module.exports = function BigIntLeftShift(x, y) {
8
+ if (typeof x !== 'bigint' || typeof y !== 'bigint') {
9
+ throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts');
10
+ }
11
+
12
+ // shortcut for the actual spec mechanics
13
+ return x << y;
14
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/lessThan.js ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var $TypeError = require('es-errors/type');
4
+
5
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-lessThan
6
+
7
+ module.exports = function BigIntLessThan(x, y) {
8
+ if (typeof x !== 'bigint' || typeof y !== 'bigint') {
9
+ throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts');
10
+ }
11
+
12
+ // shortcut for the actual spec mechanics
13
+ return x < y;
14
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/multiply.js ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var $TypeError = require('es-errors/type');
4
+
5
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-multiply
6
+
7
+ module.exports = function BigIntMultiply(x, y) {
8
+ if (typeof x !== 'bigint' || typeof y !== 'bigint') {
9
+ throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts');
10
+ }
11
+
12
+ // shortcut for the actual spec mechanics
13
+ return x * y;
14
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/remainder.js ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var GetIntrinsic = require('get-intrinsic');
4
+
5
+ var $BigInt = GetIntrinsic('%BigInt%', true);
6
+ var $RangeError = require('es-errors/range');
7
+ var $TypeError = require('es-errors/type');
8
+
9
+ var zero = $BigInt && $BigInt(0);
10
+
11
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-remainder
12
+
13
+ module.exports = function BigIntRemainder(n, d) {
14
+ if (typeof n !== 'bigint' || typeof d !== 'bigint') {
15
+ throw new $TypeError('Assertion failed: `n` and `d` arguments must be BigInts');
16
+ }
17
+
18
+ if (d === zero) {
19
+ throw new $RangeError('Division by zero');
20
+ }
21
+
22
+ if (n === zero) {
23
+ return zero;
24
+ }
25
+
26
+ // shortcut for the actual spec mechanics
27
+ return n % d;
28
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/sameValue.js ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var $TypeError = require('es-errors/type');
4
+
5
+ var BigIntEqual = require('./equal');
6
+
7
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-sameValue
8
+
9
+ module.exports = function BigIntSameValue(x, y) {
10
+ if (typeof x !== 'bigint' || typeof y !== 'bigint') {
11
+ throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts');
12
+ }
13
+
14
+ return BigIntEqual(x, y);
15
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/sameValueZero.js ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var $TypeError = require('es-errors/type');
4
+
5
+ var BigIntEqual = require('./equal');
6
+
7
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-sameValueZero
8
+
9
+ module.exports = function BigIntSameValueZero(x, y) {
10
+ if (typeof x !== 'bigint' || typeof y !== 'bigint') {
11
+ throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts');
12
+ }
13
+
14
+ return BigIntEqual(x, y);
15
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/signedRightShift.js ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var $TypeError = require('es-errors/type');
4
+
5
+ var BigIntLeftShift = require('./leftShift');
6
+
7
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-signedRightShift
8
+
9
+ module.exports = function BigIntSignedRightShift(x, y) {
10
+ if (typeof x !== 'bigint' || typeof y !== 'bigint') {
11
+ throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts');
12
+ }
13
+
14
+ return BigIntLeftShift(x, -y);
15
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/subtract.js ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var $TypeError = require('es-errors/type');
4
+
5
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-subtract
6
+
7
+ module.exports = function BigIntSubtract(x, y) {
8
+ if (typeof x !== 'bigint' || typeof y !== 'bigint') {
9
+ throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts');
10
+ }
11
+
12
+ // shortcut for the actual spec mechanics
13
+ return x - y;
14
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/toString.js ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var GetIntrinsic = require('get-intrinsic');
4
+
5
+ var $String = GetIntrinsic('%String%');
6
+ var $TypeError = require('es-errors/type');
7
+
8
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-tostring
9
+
10
+ module.exports = function BigIntToString(x) {
11
+ if (typeof x !== 'bigint') {
12
+ throw new $TypeError('Assertion failed: `x` must be a BigInt');
13
+ }
14
+
15
+ return $String(x);
16
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/unaryMinus.js ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var GetIntrinsic = require('get-intrinsic');
4
+
5
+ var $BigInt = GetIntrinsic('%BigInt%', true);
6
+ var $TypeError = require('es-errors/type');
7
+
8
+ var zero = $BigInt && $BigInt(0);
9
+
10
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-unaryMinus
11
+
12
+ module.exports = function BigIntUnaryMinus(x) {
13
+ if (typeof x !== 'bigint') {
14
+ throw new $TypeError('Assertion failed: `x` argument must be a BigInt');
15
+ }
16
+
17
+ if (x === zero) {
18
+ return zero;
19
+ }
20
+
21
+ return -x;
22
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/BigInt/unsignedRightShift.js ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var $TypeError = require('es-errors/type');
4
+
5
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-unsignedRightShift
6
+
7
+ module.exports = function BigIntUnsignedRightShift(x, y) {
8
+ if (typeof x !== 'bigint' || typeof y !== 'bigint') {
9
+ throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts');
10
+ }
11
+
12
+ throw new $TypeError('BigInts have no unsigned right shift, use >> instead');
13
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/add.js ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var $TypeError = require('es-errors/type');
4
+
5
+ var isNaN = require('../../helpers/isNaN');
6
+
7
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-number-add
8
+
9
+ module.exports = function NumberAdd(x, y) {
10
+ if (typeof x !== 'number' || typeof y !== 'number') {
11
+ throw new $TypeError('Assertion failed: `x` and `y` arguments must be Numbers');
12
+ }
13
+
14
+ if (isNaN(x) || isNaN(y) || (x === Infinity && y === -Infinity) || (x === -Infinity && y === Infinity)) {
15
+ return NaN;
16
+ }
17
+
18
+ if ((x === Infinity && y === Infinity) || (x === -Infinity && y === -Infinity)) {
19
+ return x;
20
+ }
21
+
22
+ if (x === Infinity) {
23
+ return x;
24
+ }
25
+
26
+ if (y === Infinity) {
27
+ return y;
28
+ }
29
+
30
+ if (x === y && x === 0) {
31
+ return Infinity / x === -Infinity && Infinity / y === -Infinity ? -0 : +0;
32
+ }
33
+
34
+ if (x === -y || -x === y) {
35
+ return +0;
36
+ }
37
+
38
+ // shortcut for the actual spec mechanics
39
+ return x + y;
40
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/bitwiseAND.js ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var $TypeError = require('es-errors/type');
4
+
5
+ var NumberBitwiseOp = require('../NumberBitwiseOp');
6
+
7
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-number-bitwiseAND
8
+
9
+ module.exports = function NumberBitwiseAND(x, y) {
10
+ if (typeof x !== 'number' || typeof y !== 'number') {
11
+ throw new $TypeError('Assertion failed: `x` and `y` arguments must be Numbers');
12
+ }
13
+ return NumberBitwiseOp('&', x, y);
14
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/bitwiseNOT.js ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var $TypeError = require('es-errors/type');
4
+
5
+ var ToInt32 = require('../ToInt32');
6
+
7
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-number-bitwiseNOT
8
+
9
+ module.exports = function NumberBitwiseNOT(x) {
10
+ if (typeof x !== 'number') {
11
+ throw new $TypeError('Assertion failed: `x` argument must be a Number');
12
+ }
13
+ var oldValue = ToInt32(x);
14
+ // Return the result of applying the bitwise operator op to lnum and rnum. The result is a signed 32-bit integer.
15
+ return ~oldValue;
16
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/bitwiseOR.js ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var $TypeError = require('es-errors/type');
4
+
5
+ var NumberBitwiseOp = require('../NumberBitwiseOp');
6
+
7
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-number-bitwiseOR
8
+
9
+ module.exports = function NumberBitwiseOR(x, y) {
10
+ if (typeof x !== 'number' || typeof y !== 'number') {
11
+ throw new $TypeError('Assertion failed: `x` and `y` arguments must be Numbers');
12
+ }
13
+ return NumberBitwiseOp('|', x, y);
14
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/bitwiseXOR.js ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var $TypeError = require('es-errors/type');
4
+
5
+ var NumberBitwiseOp = require('../NumberBitwiseOp');
6
+
7
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-number-bitwiseXOR
8
+
9
+ module.exports = function NumberBitwiseXOR(x, y) {
10
+ if (typeof x !== 'number' || typeof y !== 'number') {
11
+ throw new $TypeError('Assertion failed: `x` and `y` arguments must be Numbers');
12
+ }
13
+ return NumberBitwiseOp('^', x, y);
14
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/divide.js ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var $TypeError = require('es-errors/type');
4
+ var isFinite = require('math-intrinsics/isFinite');
5
+ var isNaN = require('math-intrinsics/isNaN');
6
+
7
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-number-divide
8
+
9
+ module.exports = function NumberDivide(x, y) {
10
+ if (typeof x !== 'number' || typeof y !== 'number') {
11
+ throw new $TypeError('Assertion failed: `x` and `y` arguments must be Numbers');
12
+ }
13
+ if (isNaN(x) || isNaN(y) || (!isFinite(x) && !isFinite(y))) {
14
+ return NaN;
15
+ }
16
+ // shortcut for the actual spec mechanics
17
+ return x / y;
18
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/equal.js ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var $TypeError = require('es-errors/type');
4
+
5
+ var isNaN = require('../../helpers/isNaN');
6
+
7
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-number-equal
8
+
9
+ module.exports = function NumberEqual(x, y) {
10
+ if (typeof x !== 'number' || typeof y !== 'number') {
11
+ throw new $TypeError('Assertion failed: `x` and `y` arguments must be Numbers');
12
+ }
13
+ if (isNaN(x) || isNaN(y)) {
14
+ return false;
15
+ }
16
+ // shortcut for the actual spec mechanics
17
+ return x === y;
18
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/exponentiate.js ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ // var isNegativeZero = require('math-intrinsics/isNegativeZero');
4
+ var $pow = require('math-intrinsics/pow');
5
+
6
+ var $TypeError = require('es-errors/type');
7
+
8
+ /*
9
+ var abs = require('math-intrinsics/abs');
10
+ var isFinite = require('math-intrinsics/isFinite');
11
+ var isNaN = require('math-intrinsics/isNaN');
12
+
13
+ var IsInteger = require('math-intrinsics/isInteger');
14
+ */
15
+
16
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-number-exponentiate
17
+
18
+ /* eslint max-lines-per-function: 0, max-statements: 0 */
19
+
20
+ module.exports = function NumberExponentiate(base, exponent) {
21
+ if (typeof base !== 'number' || typeof exponent !== 'number') {
22
+ throw new $TypeError('Assertion failed: `base` and `exponent` arguments must be Numbers');
23
+ }
24
+ return $pow(base, exponent);
25
+ /*
26
+ if (isNaN(exponent)) {
27
+ return NaN;
28
+ }
29
+ if (exponent === 0) {
30
+ return 1;
31
+ }
32
+ if (isNaN(base)) {
33
+ return NaN;
34
+ }
35
+ var aB = abs(base);
36
+ if (aB > 1 && exponent === Infinity) {
37
+ return Infinity;
38
+ }
39
+ if (aB > 1 && exponent === -Infinity) {
40
+ return 0;
41
+ }
42
+ if (aB === 1 && (exponent === Infinity || exponent === -Infinity)) {
43
+ return NaN;
44
+ }
45
+ if (aB < 1 && exponent === Infinity) {
46
+ return +0;
47
+ }
48
+ if (aB < 1 && exponent === -Infinity) {
49
+ return Infinity;
50
+ }
51
+ if (base === Infinity) {
52
+ return exponent > 0 ? Infinity : 0;
53
+ }
54
+ if (base === -Infinity) {
55
+ var isOdd = true;
56
+ if (exponent > 0) {
57
+ return isOdd ? -Infinity : Infinity;
58
+ }
59
+ return isOdd ? -0 : 0;
60
+ }
61
+ if (exponent > 0) {
62
+ return isNegativeZero(base) ? Infinity : 0;
63
+ }
64
+ if (isNegativeZero(base)) {
65
+ if (exponent > 0) {
66
+ return isOdd ? -0 : 0;
67
+ }
68
+ return isOdd ? -Infinity : Infinity;
69
+ }
70
+ if (base < 0 && isFinite(base) && isFinite(exponent) && !IsInteger(exponent)) {
71
+ return NaN;
72
+ }
73
+ */
74
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/index.js ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var add = require('./add');
4
+ var bitwiseAND = require('./bitwiseAND');
5
+ var bitwiseNOT = require('./bitwiseNOT');
6
+ var bitwiseOR = require('./bitwiseOR');
7
+ var bitwiseXOR = require('./bitwiseXOR');
8
+ var divide = require('./divide');
9
+ var equal = require('./equal');
10
+ var exponentiate = require('./exponentiate');
11
+ var leftShift = require('./leftShift');
12
+ var lessThan = require('./lessThan');
13
+ var multiply = require('./multiply');
14
+ var remainder = require('./remainder');
15
+ var sameValue = require('./sameValue');
16
+ var sameValueZero = require('./sameValueZero');
17
+ var signedRightShift = require('./signedRightShift');
18
+ var subtract = require('./subtract');
19
+ var toString = require('./toString');
20
+ var unaryMinus = require('./unaryMinus');
21
+ var unsignedRightShift = require('./unsignedRightShift');
22
+
23
+ module.exports = {
24
+ add: add,
25
+ bitwiseAND: bitwiseAND,
26
+ bitwiseNOT: bitwiseNOT,
27
+ bitwiseOR: bitwiseOR,
28
+ bitwiseXOR: bitwiseXOR,
29
+ divide: divide,
30
+ equal: equal,
31
+ exponentiate: exponentiate,
32
+ leftShift: leftShift,
33
+ lessThan: lessThan,
34
+ multiply: multiply,
35
+ remainder: remainder,
36
+ sameValue: sameValue,
37
+ sameValueZero: sameValueZero,
38
+ signedRightShift: signedRightShift,
39
+ subtract: subtract,
40
+ toString: toString,
41
+ unaryMinus: unaryMinus,
42
+ unsignedRightShift: unsignedRightShift
43
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/leftShift.js ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var $TypeError = require('es-errors/type');
4
+
5
+ var ToInt32 = require('../ToInt32');
6
+ var ToUint32 = require('../ToUint32');
7
+
8
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-number-leftShift
9
+
10
+ module.exports = function NumberLeftShift(x, y) {
11
+ if (typeof x !== 'number' || typeof y !== 'number') {
12
+ throw new $TypeError('Assertion failed: `x` and `y` arguments must be Numbers');
13
+ }
14
+
15
+ var lnum = ToInt32(x);
16
+ var rnum = ToUint32(y);
17
+
18
+ var shiftCount = rnum & 0x1F;
19
+
20
+ return lnum << shiftCount;
21
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/lessThan.js ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var $TypeError = require('es-errors/type');
4
+
5
+ var isNaN = require('../../helpers/isNaN');
6
+
7
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-number-lessThan
8
+
9
+ module.exports = function NumberLessThan(x, y) {
10
+ if (typeof x !== 'number' || typeof y !== 'number') {
11
+ throw new $TypeError('Assertion failed: `x` and `y` arguments must be Numbers');
12
+ }
13
+
14
+ // If x is NaN, return undefined.
15
+ // If y is NaN, return undefined.
16
+ if (isNaN(x) || isNaN(y)) {
17
+ return void undefined;
18
+ }
19
+
20
+ // shortcut for the actual spec mechanics
21
+ return x < y;
22
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/multiply.js ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var $TypeError = require('es-errors/type');
4
+
5
+ var isNaN = require('../../helpers/isNaN');
6
+
7
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-number-multiply
8
+
9
+ module.exports = function NumberMultiply(x, y) {
10
+ if (typeof x !== 'number' || typeof y !== 'number') {
11
+ throw new $TypeError('Assertion failed: `x` and `y` arguments must be Numbers');
12
+ }
13
+
14
+ if (isNaN(x) || isNaN(y) || (x === 0 && !isFinite(y)) || (!isFinite(x) && y === 0)) {
15
+ return NaN;
16
+ }
17
+ if (!isFinite(x) && !isFinite(y)) {
18
+ return x === y ? Infinity : -Infinity;
19
+ }
20
+ if (!isFinite(x) && y !== 0) {
21
+ return x > 0 ? Infinity : -Infinity;
22
+ }
23
+ if (!isFinite(y) && x !== 0) {
24
+ return y > 0 ? Infinity : -Infinity;
25
+ }
26
+
27
+ // shortcut for the actual spec mechanics
28
+ return x * y;
29
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/remainder.js ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var $TypeError = require('es-errors/type');
4
+
5
+ var isNaN = require('../../helpers/isNaN');
6
+
7
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-number-remainder
8
+
9
+ module.exports = function NumberRemainder(n, d) {
10
+ if (typeof n !== 'number' || typeof d !== 'number') {
11
+ throw new $TypeError('Assertion failed: `n` and `d` arguments must be Numbers');
12
+ }
13
+
14
+ // If either operand is NaN, the result is NaN.
15
+ // If the dividend is an infinity, or the divisor is a zero, or both, the result is NaN.
16
+ if (isNaN(n) || isNaN(d) || !isFinite(n) || d === 0) {
17
+ return NaN;
18
+ }
19
+
20
+ // If the dividend is finite and the divisor is an infinity, the result equals the dividend.
21
+ // If the dividend is a zero and the divisor is nonzero and finite, the result is the same as the dividend.
22
+ if (!isFinite(d) || (n === 0 && d !== 0)) {
23
+ return n;
24
+ }
25
+
26
+ // In the remaining cases, where neither an infinity, nor a zero, nor NaN is involved…
27
+ return n % d;
28
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/sameValue.js ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var isNegativeZero = require('math-intrinsics/isNegativeZero');
4
+ var $TypeError = require('es-errors/type');
5
+
6
+ var NumberSameValueZero = require('./sameValueZero');
7
+
8
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-number-sameValue
9
+
10
+ module.exports = function NumberSameValue(x, y) {
11
+ if (typeof x !== 'number' || typeof y !== 'number') {
12
+ throw new $TypeError('Assertion failed: `x` and `y` arguments must be Numbers');
13
+ }
14
+ if (x === 0 && y === 0) {
15
+ return !(isNegativeZero(x) ^ isNegativeZero(y));
16
+ }
17
+ return NumberSameValueZero(x, y);
18
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/sameValueZero.js ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var $TypeError = require('es-errors/type');
4
+
5
+ var isNaN = require('../../helpers/isNaN');
6
+
7
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-number-sameValueZero
8
+
9
+ module.exports = function NumberSameValueZero(x, y) {
10
+ if (typeof x !== 'number' || typeof y !== 'number') {
11
+ throw new $TypeError('Assertion failed: `x` and `y` arguments must be Numbers');
12
+ }
13
+
14
+ var xNaN = isNaN(x);
15
+ var yNaN = isNaN(y);
16
+ if (xNaN || yNaN) {
17
+ return xNaN === yNaN;
18
+ }
19
+ return x === y;
20
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/signedRightShift.js ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var $TypeError = require('es-errors/type');
4
+
5
+ var ToInt32 = require('../ToInt32');
6
+ var ToUint32 = require('../ToUint32');
7
+
8
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-number-signedRightShift
9
+
10
+ module.exports = function NumberSignedRightShift(x, y) {
11
+ if (typeof x !== 'number' || typeof y !== 'number') {
12
+ throw new $TypeError('Assertion failed: `x` and `y` arguments must be Numbers');
13
+ }
14
+
15
+ var lnum = ToInt32(x);
16
+ var rnum = ToUint32(y);
17
+
18
+ var shiftCount = rnum & 0x1F;
19
+
20
+ return lnum >> shiftCount;
21
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/subtract.js ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var $TypeError = require('es-errors/type');
4
+
5
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-number-subtract
6
+
7
+ module.exports = function NumberSubtract(x, y) {
8
+ if (typeof x !== 'number' || typeof y !== 'number') {
9
+ throw new $TypeError('Assertion failed: `x` and `y` arguments must be Numbers');
10
+ }
11
+ return x - y;
12
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/toString.js ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var GetIntrinsic = require('get-intrinsic');
4
+
5
+ var $String = GetIntrinsic('%String%');
6
+ var $TypeError = require('es-errors/type');
7
+
8
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-number-tostring
9
+
10
+ module.exports = function NumberToString(x) {
11
+ if (typeof x !== 'number') {
12
+ throw new $TypeError('Assertion failed: `x` must be a Number');
13
+ }
14
+
15
+ return $String(x);
16
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/unaryMinus.js ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var $TypeError = require('es-errors/type');
4
+
5
+ var isNaN = require('../../helpers/isNaN');
6
+
7
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-number-unaryMinus
8
+
9
+ module.exports = function NumberUnaryMinus(x) {
10
+ if (typeof x !== 'number') {
11
+ throw new $TypeError('Assertion failed: `x` argument must be a Number');
12
+ }
13
+ if (isNaN(x)) {
14
+ return NaN;
15
+ }
16
+ return -x;
17
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/Number/unsignedRightShift.js ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var $TypeError = require('es-errors/type');
4
+
5
+ var ToInt32 = require('../ToInt32');
6
+ var ToUint32 = require('../ToUint32');
7
+
8
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-number-unsignedRightShift
9
+
10
+ module.exports = function NumberUnsignedRightShift(x, y) {
11
+ if (typeof x !== 'number' || typeof y !== 'number') {
12
+ throw new $TypeError('Assertion failed: `x` and `y` arguments must be Numbers');
13
+ }
14
+
15
+ var lnum = ToInt32(x);
16
+ var rnum = ToUint32(y);
17
+
18
+ var shiftCount = rnum & 0x1F;
19
+
20
+ return lnum >>> shiftCount;
21
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2020/tables/typed-array-objects.js ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ // https://262.ecma-international.org/11.0/#table-the-typedarray-constructors
4
+
5
+ module.exports = {
6
+ __proto__: null,
7
+ name: {
8
+ __proto__: null,
9
+ $Int8Array: 'Int8',
10
+ $Uint8Array: 'Uint8',
11
+ $Uint8ClampedArray: 'Uint8C',
12
+ $Int16Array: 'Int16',
13
+ $Uint16Array: 'Uint16',
14
+ $Int32Array: 'Int32',
15
+ $Uint32Array: 'Uint32',
16
+ $BigInt64Array: 'BigInt64',
17
+ $BigUint64Array: 'BigUint64',
18
+ $Float32Array: 'Float32',
19
+ $Float64Array: 'Float64'
20
+ },
21
+ size: {
22
+ __proto__: null,
23
+ $Int8: 1,
24
+ $Uint8: 1,
25
+ $Uint8C: 1,
26
+ $Int16: 2,
27
+ $Uint16: 2,
28
+ $Int32: 4,
29
+ $Uint32: 4,
30
+ $BigInt64: 8,
31
+ $BigUint64: 8,
32
+ $Float32: 4,
33
+ $Float64: 8
34
+ },
35
+ choices: '"Int8", "Uint8", "Uint8C", "Int16", "Uint16", "Int32", "Uint32", "BigInt64", "BigUint64", "Float32", or "Float64"'
36
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2021/BigInt/add.js ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var $TypeError = require('es-errors/type');
4
+
5
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-add
6
+
7
+ module.exports = function BigIntAdd(x, y) {
8
+ if (typeof x !== 'bigint' || typeof y !== 'bigint') {
9
+ throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts');
10
+ }
11
+
12
+ // shortcut for the actual spec mechanics
13
+ return x + y;
14
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2021/BigInt/bitwiseAND.js ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var $TypeError = require('es-errors/type');
4
+
5
+ var BigIntBitwiseOp = require('../BigIntBitwiseOp');
6
+
7
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-bitwiseAND
8
+
9
+ module.exports = function BigIntBitwiseAND(x, y) {
10
+ if (typeof x !== 'bigint' || typeof y !== 'bigint') {
11
+ throw new $TypeError('Assertion failed: `x` and `y` arguments must be BigInts');
12
+ }
13
+ return BigIntBitwiseOp('&', x, y);
14
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2021/BigInt/bitwiseNOT.js ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var GetIntrinsic = require('get-intrinsic');
4
+
5
+ var $BigInt = GetIntrinsic('%BigInt%', true);
6
+ var $TypeError = require('es-errors/type');
7
+
8
+ // https://262.ecma-international.org/11.0/#sec-numeric-types-bigint-bitwiseNOT
9
+
10
+ module.exports = function BigIntBitwiseNOT(x) {
11
+ if (typeof x !== 'bigint') {
12
+ throw new $TypeError('Assertion failed: `x` argument must be a BigInt');
13
+ }
14
+ return -x - $BigInt(1);
15
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/es-abstract/2022/IteratorClose.js ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var $TypeError = require('es-errors/type');
4
+ var isObject = require('es-object-atoms/isObject');
5
+
6
+ var Call = require('./Call');
7
+ var CompletionRecord = require('./CompletionRecord');
8
+ var GetMethod = require('./GetMethod');
9
+ var IsCallable = require('./IsCallable');
10
+
11
+ // https://262.ecma-international.org/6.0/#sec-iteratorclose
12
+
13
+ module.exports = function IteratorClose(iterator, completion) {
14
+ if (!isObject(iterator)) {
15
+ throw new $TypeError('Assertion failed: Type(iterator) is not Object');
16
+ }
17
+ if (!IsCallable(completion) && !(completion instanceof CompletionRecord)) {
18
+ throw new $TypeError('Assertion failed: completion is not a thunk representing a Completion Record, nor a Completion Record instance');
19
+ }
20
+ var completionThunk = completion instanceof CompletionRecord ? function () { return completion['?'](); } : completion;
21
+
22
+ var iteratorReturn = GetMethod(iterator, 'return');
23
+
24
+ if (typeof iteratorReturn === 'undefined') {
25
+ return completionThunk();
26
+ }
27
+
28
+ var completionRecord;
29
+ try {
30
+ var innerResult = Call(iteratorReturn, iterator, []);
31
+ } catch (e) {
32
+ // if we hit here, then "e" is the innerResult completion that needs re-throwing
33
+
34
+ // if the completion is of type "throw", this will throw.
35
+ completionThunk();
36
+ completionThunk = null; // ensure it's not called twice.
37
+
38
+ // if not, then return the innerResult completion
39
+ throw e;
40
+ }
41
+ completionRecord = completionThunk(); // if innerResult worked, then throw if the completion does
42
+ completionThunk = null; // ensure it's not called twice.
43
+
44
+ if (!isObject(innerResult)) {
45
+ throw new $TypeError('iterator .return must return an object');
46
+ }
47
+
48
+ return completionRecord;
49
+ };