@yume-chan/dataview-bigint-polyfill
Advanced tools
Comparing version 0.0.22 to 0.0.23
@@ -5,2 +5,8 @@ { | ||
{ | ||
"version": "0.0.23", | ||
"tag": "@yume-chan/dataview-bigint-polyfill_v0.0.23", | ||
"date": "Thu, 21 Mar 2024 03:15:10 GMT", | ||
"comments": {} | ||
}, | ||
{ | ||
"version": "0.0.22", | ||
@@ -7,0 +13,0 @@ "tag": "@yume-chan/dataview-bigint-polyfill_v0.0.22", |
# Change Log - @yume-chan/dataview-bigint-polyfill | ||
This log was last generated on Wed, 13 Dec 2023 05:57:27 GMT and should not be manually modified. | ||
This log was last generated on Thu, 21 Mar 2024 03:15:10 GMT and should not be manually modified. | ||
## 0.0.23 | ||
Thu, 21 Mar 2024 03:15:10 GMT | ||
_Version update only_ | ||
## 0.0.22 | ||
@@ -6,0 +11,0 @@ Wed, 13 Dec 2023 05:57:27 GMT |
import { getBigInt64, getBigUint64, setBigInt64, setBigUint64, } from "./pure.js"; | ||
if (!("getBigInt64" in DataView)) { | ||
if (!Object.prototype.hasOwnProperty.call(DataView.prototype, "getBigInt64")) { | ||
DataView.prototype.getBigInt64 = function (byteOffset, littleEndian) { | ||
@@ -7,3 +7,3 @@ return getBigInt64(this, byteOffset, littleEndian); | ||
} | ||
if (!("getBigUint64" in DataView)) { | ||
if (!Object.prototype.hasOwnProperty.call(DataView.prototype, "getBigUint64")) { | ||
DataView.prototype.getBigUint64 = function (byteOffset, littleEndian) { | ||
@@ -13,3 +13,3 @@ return getBigUint64(this, byteOffset, littleEndian); | ||
} | ||
if (!("setBigInt64" in DataView)) { | ||
if (!Object.prototype.hasOwnProperty.call(DataView.prototype, "setBigInt64")) { | ||
DataView.prototype.setBigInt64 = function (byteOffset, value, littleEndian) { | ||
@@ -19,3 +19,3 @@ setBigInt64(this, byteOffset, value, littleEndian); | ||
} | ||
if (!("setBigUint64" in DataView)) { | ||
if (!Object.prototype.hasOwnProperty.call(DataView.prototype, "setBigUint64")) { | ||
DataView.prototype.setBigUint64 = function (byteOffset, value, littleEndian) { | ||
@@ -22,0 +22,0 @@ setBigUint64(this, byteOffset, value, littleEndian); |
{ | ||
"name": "@yume-chan/dataview-bigint-polyfill", | ||
"version": "0.0.22", | ||
"version": "0.0.23", | ||
"description": "Polyfill for `DataView#getBigInt64`, `DataView#getBigUint64`, `DataView#setBigInt64` and `DataView#setBigUint64`", | ||
@@ -37,6 +37,6 @@ "keywords": [ | ||
"@yume-chan/tsconfig": "^1.0.0", | ||
"eslint": "^8.55.0", | ||
"jest": "^29.7.0", | ||
"prettier": "^3.1.0", | ||
"typescript": "^5.3.2" | ||
"eslint": "^8.57.0", | ||
"jest": "^30.0.0-alpha.3", | ||
"prettier": "^3.2.5", | ||
"typescript": "^5.4.2" | ||
}, | ||
@@ -43,0 +43,0 @@ "scripts": { |
@@ -8,3 +8,3 @@ import { | ||
if (!("getBigInt64" in DataView)) { | ||
if (!Object.prototype.hasOwnProperty.call(DataView.prototype, "getBigInt64")) { | ||
DataView.prototype.getBigInt64 = function (byteOffset, littleEndian) { | ||
@@ -15,3 +15,3 @@ return getBigInt64(this, byteOffset, littleEndian); | ||
if (!("getBigUint64" in DataView)) { | ||
if (!Object.prototype.hasOwnProperty.call(DataView.prototype, "getBigUint64")) { | ||
DataView.prototype.getBigUint64 = function (byteOffset, littleEndian) { | ||
@@ -22,3 +22,3 @@ return getBigUint64(this, byteOffset, littleEndian); | ||
if (!("setBigInt64" in DataView)) { | ||
if (!Object.prototype.hasOwnProperty.call(DataView.prototype, "setBigInt64")) { | ||
DataView.prototype.setBigInt64 = function ( | ||
@@ -33,3 +33,3 @@ byteOffset, | ||
if (!("setBigUint64" in DataView)) { | ||
if (!Object.prototype.hasOwnProperty.call(DataView.prototype, "setBigUint64")) { | ||
DataView.prototype.setBigUint64 = function ( | ||
@@ -36,0 +36,0 @@ byteOffset, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
40849
340