@math.gl/types 3.6.0 → 3.6.3

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/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
- "version": "3.6.0",
8
+ "version": "3.6.3",
9
9
  "keywords": [
10
10
  "typescript",
11
11
  "javascript",
@@ -27,5 +27,5 @@
27
27
  "sideEffects": [
28
28
  "./src/bigint.js"
29
29
  ],
30
- "gitHead": "8fd38abb4c44b89ccd8def81903b2f4d11fde7c4"
30
+ "gitHead": "0efab394df9babad7ed93027c1003f30528b2090"
31
31
  }
package/dist/bigint.js DELETED
@@ -1,44 +0,0 @@
1
- // BigInt compatibility layer
2
- // Inspired by ArrowJS (under Apache2 license)
3
- // https://github.com/apache/arrow/blob/master/js/src/util/compat.ts
4
- // Requires tsconfig.json: target=esnext or (lib: esnext.bigint)
5
- // Requires eslint: env: {es2020: true}
6
- const ERR_BIGINT_UNAVAILABLE = 'BigInt is not available in this environment';
7
- function BigIntUnavailable() {
8
- throw new Error(ERR_BIGINT_UNAVAILABLE);
9
- }
10
- BigIntUnavailable.asIntN = () => {
11
- throw new Error(ERR_BIGINT_UNAVAILABLE);
12
- };
13
- BigIntUnavailable.asUintN = () => {
14
- throw new Error(ERR_BIGINT_UNAVAILABLE);
15
- };
16
- class BigInt64ArrayUnavailable {
17
- static get BYTES_PER_ELEMENT() {
18
- return 8;
19
- }
20
- static of() {
21
- throw new Error(ERR_BIGINT_UNAVAILABLE);
22
- }
23
- static from() {
24
- throw new Error(ERR_BIGINT_UNAVAILABLE);
25
- }
26
- constructor() {
27
- throw new Error(ERR_BIGINT_UNAVAILABLE);
28
- }
29
- }
30
- export const BigIntAvailable = typeof BigInt !== 'undefined';
31
- export const BigInt64ArrayAvailable = typeof BigInt64Array !== 'undefined';
32
- export const BigUint64ArrayAvailable = typeof BigUint64Array !== 'undefined';
33
- const BigIntCtor = (() => {
34
- return BigIntAvailable ? BigInt : BigIntUnavailable;
35
- })();
36
- const BigInt64ArrayCtor = (() => {
37
- return BigInt64ArrayAvailable ? BigInt64Array : BigInt64ArrayUnavailable;
38
- })();
39
- const BigUint64ArrayCtor = (() => {
40
- return BigUint64ArrayAvailable ? [BigUint64Array] : [BigInt64ArrayUnavailable];
41
- })();
42
- export { BigIntCtor as BigInt };
43
- export { BigInt64ArrayCtor as BigInt64Array };
44
- export { BigUint64ArrayCtor as BigUint64Array };
package/dist/index.js DELETED
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};