Comparing version 2.1.2-next.fe31009.0 to 2.1.2
"use strict"; | ||
"use strict"; | ||
var BinaryTF = (() => { | ||
@@ -7,3 +8,2 @@ var __defProp = Object.defineProperty; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true }); | ||
var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); | ||
@@ -14,15 +14,11 @@ var __export = (target, all) => { | ||
}; | ||
var __reExport = (target, module, copyDefault, desc) => { | ||
if (module && typeof module === "object" || typeof module === "function") { | ||
for (let key of __getOwnPropNames(module)) | ||
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default")) | ||
__defProp(target, key, { get: () => module[key], enumerable: !(desc = __getOwnPropDesc(module, key)) || desc.enumerable }); | ||
var __copyProps = (to, from, except, desc) => { | ||
if (from && typeof from === "object" || typeof from === "function") { | ||
for (let key of __getOwnPropNames(from)) | ||
if (!__hasOwnProp.call(to, key) && key !== except) | ||
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); | ||
} | ||
return target; | ||
return to; | ||
}; | ||
var __toCommonJS = /* @__PURE__ */ ((cache) => { | ||
return (module, temp) => { | ||
return cache && cache.get(module) || (temp = __reExport(__markAsModule({}), module, 1), cache && cache.set(module, temp), temp); | ||
}; | ||
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0); | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
@@ -187,4 +183,12 @@ // src/index.ts | ||
TypedArrays2.constructors.push(BigUint64Array); | ||
TypedArrays2.typedArrayTags = new Map(TypedArrays2.constructors.map((typedArray) => [Object.prototype.toString.call(new typedArray(new ArrayBuffer(0))), BinaryTokens[typedArray.name]])); | ||
TypedArrays2.typedArrayTagToConstructor = new Map(TypedArrays2.constructors.map((typedArray) => [BinaryTokens[typedArray.name], typedArray])); | ||
TypedArrays2.typedArrayTags = new Map( | ||
TypedArrays2.constructors.map( | ||
(typedArray) => [Object.prototype.toString.call(new typedArray(new ArrayBuffer(0))), BinaryTokens[typedArray.name]] | ||
) | ||
); | ||
TypedArrays2.typedArrayTagToConstructor = new Map( | ||
TypedArrays2.constructors.map( | ||
(typedArray) => [BinaryTokens[typedArray.name], typedArray] | ||
) | ||
); | ||
})(TypedArrays || (TypedArrays = {})); | ||
@@ -191,0 +195,0 @@ |
"use strict"; | ||
"use strict"; | ||
var __defProp = Object.defineProperty; | ||
@@ -6,3 +7,2 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true }); | ||
var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); | ||
@@ -13,15 +13,11 @@ var __export = (target, all) => { | ||
}; | ||
var __reExport = (target, module2, copyDefault, desc) => { | ||
if (module2 && typeof module2 === "object" || typeof module2 === "function") { | ||
for (let key of __getOwnPropNames(module2)) | ||
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default")) | ||
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable }); | ||
var __copyProps = (to, from, except, desc) => { | ||
if (from && typeof from === "object" || typeof from === "function") { | ||
for (let key of __getOwnPropNames(from)) | ||
if (!__hasOwnProp.call(to, key) && key !== except) | ||
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); | ||
} | ||
return target; | ||
return to; | ||
}; | ||
var __toCommonJS = /* @__PURE__ */ ((cache) => { | ||
return (module2, temp) => { | ||
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp); | ||
}; | ||
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0); | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
@@ -48,2 +44,3 @@ // src/index.ts | ||
}); | ||
module.exports = __toCommonJS(src_exports); | ||
@@ -187,4 +184,12 @@ // src/lib/errors/DeserializerError.ts | ||
TypedArrays2.constructors.push(BigUint64Array); | ||
TypedArrays2.typedArrayTags = new Map(TypedArrays2.constructors.map((typedArray) => [Object.prototype.toString.call(new typedArray(new ArrayBuffer(0))), BinaryTokens[typedArray.name]])); | ||
TypedArrays2.typedArrayTagToConstructor = new Map(TypedArrays2.constructors.map((typedArray) => [BinaryTokens[typedArray.name], typedArray])); | ||
TypedArrays2.typedArrayTags = new Map( | ||
TypedArrays2.constructors.map( | ||
(typedArray) => [Object.prototype.toString.call(new typedArray(new ArrayBuffer(0))), BinaryTokens[typedArray.name]] | ||
) | ||
); | ||
TypedArrays2.typedArrayTagToConstructor = new Map( | ||
TypedArrays2.constructors.map( | ||
(typedArray) => [BinaryTokens[typedArray.name], typedArray] | ||
) | ||
); | ||
})(TypedArrays || (TypedArrays = {})); | ||
@@ -765,3 +770,2 @@ | ||
__name(deserializeWithMetadata, "deserializeWithMetadata"); | ||
module.exports = __toCommonJS(src_exports); | ||
// Annotate the CommonJS export names for ESM import in node: | ||
@@ -768,0 +772,0 @@ 0 && (module.exports = { |
{ | ||
"name": "binarytf", | ||
"version": "2.1.2-next.fe31009.0", | ||
"version": "2.1.2", | ||
"description": "Binary Term Format", | ||
@@ -30,27 +30,26 @@ "author": "kyranet <kyradiscord@gmail.com>", | ||
"devDependencies": { | ||
"@commitlint/cli": "^16.2.1", | ||
"@commitlint/config-conventional": "^16.2.1", | ||
"@favware/rollup-type-bundler": "^1.0.7", | ||
"@sapphire/eslint-config": "^4.2.1", | ||
"@sapphire/prettier-config": "^1.3.0", | ||
"@sapphire/ts-config": "^3.3.1", | ||
"@types/jest": "^27.4.1", | ||
"@types/node": "^17.0.10", | ||
"@typescript-eslint/eslint-plugin": "^5.12.1", | ||
"@typescript-eslint/parser": "^5.12.1", | ||
"@commitlint/cli": "^17.1.2", | ||
"@commitlint/config-conventional": "^17.1.0", | ||
"@favware/rollup-type-bundler": "^1.0.11", | ||
"@sapphire/eslint-config": "^4.3.8", | ||
"@sapphire/prettier-config": "^1.4.4", | ||
"@sapphire/ts-config": "^3.3.4", | ||
"@types/jest": "^28.1.8", | ||
"@types/node": "^18.7.13", | ||
"@typescript-eslint/eslint-plugin": "^5.35.1", | ||
"@typescript-eslint/parser": "^5.35.1", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"esbuild-jest": "^0.5.0", | ||
"eslint": "^8.10.0", | ||
"eslint-config-prettier": "^8.4.0", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"husky": "^7.0.4", | ||
"jest": "^27.5.1", | ||
"jest-circus": "^27.5.1", | ||
"lint-staged": "^12.3.4", | ||
"prettier": "^2.5.1", | ||
"eslint": "^8.23.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"husky": "^8.0.1", | ||
"jest": "^29.0.1", | ||
"lint-staged": "^13.0.3", | ||
"prettier": "^2.7.1", | ||
"pretty-quick": "^3.1.3", | ||
"standard-version": "^9.3.2", | ||
"tsup": "^5.11.13", | ||
"typedoc": "^0.22.12", | ||
"typescript": "^4.5.5" | ||
"standard-version": "^9.5.0", | ||
"tsup": "^6.2.3", | ||
"typedoc": "^0.23.11", | ||
"typescript": "^4.8.2" | ||
}, | ||
@@ -96,7 +95,7 @@ "repository": { | ||
"resolutions": { | ||
"jest-environment-jsdom": "https://registry.yarnpkg.com/@favware/skip-dependency/-/skip-dependency-1.1.3.tgz", | ||
"jest-jasmine2": "https://registry.yarnpkg.com/@favware/skip-dependency/-/skip-dependency-1.1.3.tgz" | ||
"ansi-regex": "^5.0.1", | ||
"minimist": "^1.2.6" | ||
}, | ||
"prettier": "@sapphire/prettier-config", | ||
"packageManager": "yarn@3.2.0" | ||
"packageManager": "yarn@3.2.3" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
215069
24
2443
0
0