Comparing version 2.3.0 to 2.3.1
@@ -104,2 +104,5 @@ 'use strict'; | ||
return new Int32Array(uint8Array.buffer, 0, uint8Array.length / 4); | ||
case 64: | ||
// eslint-disable-next-line no-undef | ||
return new BigInt64Array(uint8Array.buffer, 0, uint8Array.length / 8); | ||
default: | ||
@@ -106,0 +109,0 @@ throw new TypeError(`Incorrect precision: ${precision}`); |
{ | ||
"name": "mzdata", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"description": "Read and explore mzData v1.05 files", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -93,2 +93,5 @@ import pako from 'pako'; | ||
return new Int32Array(uint8Array.buffer, 0, uint8Array.length / 4); | ||
case 64: | ||
// eslint-disable-next-line no-undef | ||
return new BigInt64Array(uint8Array.buffer, 0, uint8Array.length / 8); | ||
default: | ||
@@ -95,0 +98,0 @@ throw new TypeError(`Incorrect precision: ${precision}`); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29604
837