Comparing version 2.1.2-next.1616c88.0 to 2.1.2-next.1a69cb8.0
@@ -7,3 +7,2 @@ "use strict"; | ||
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 +13,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); | ||
@@ -57,3 +52,2 @@ // src/index.ts | ||
}; | ||
__name(DeserializerError, "DeserializerError"); | ||
var DeserializerReason = /* @__PURE__ */ ((DeserializerReason2) => { | ||
@@ -134,3 +128,2 @@ DeserializerReason2["UnknownType"] = "UnknownType"; | ||
RegExps2.flagsAsInteger = flagsAsInteger; | ||
__name(flagsAsInteger, "flagsAsInteger"); | ||
function flagsFromInteger(integer) { | ||
@@ -153,3 +146,2 @@ let ret = ""; | ||
RegExps2.flagsFromInteger = flagsFromInteger; | ||
__name(flagsFromInteger, "flagsFromInteger"); | ||
})(RegExps || (RegExps = {})); | ||
@@ -170,3 +162,2 @@ var BigIntegers; | ||
Numbers2.nextPowerOfTwo = nextPowerOfTwo; | ||
__name(nextPowerOfTwo, "nextPowerOfTwo"); | ||
})(Numbers || (Numbers = {})); | ||
@@ -414,3 +405,2 @@ var TypedArrays; | ||
var Deserializer = _Deserializer; | ||
__name(Deserializer, "Deserializer"); | ||
Deserializer._textDecoder = new TextDecoder(); | ||
@@ -425,3 +415,2 @@ | ||
}; | ||
__name(SerializerError, "SerializerError"); | ||
var SerializerReason = /* @__PURE__ */ ((SerializerReason2) => { | ||
@@ -740,3 +729,2 @@ SerializerReason2["UnsupportedType"] = "UnsupportedType"; | ||
var Serializer = _Serializer; | ||
__name(Serializer, "Serializer"); | ||
Serializer._textEncoder = new TextEncoder(); | ||
@@ -748,3 +736,2 @@ | ||
} | ||
__name(serialize, "serialize"); | ||
function deserialize(buffer, offset = -1) { | ||
@@ -758,3 +745,2 @@ const deserializer = new Deserializer(buffer); | ||
} | ||
__name(deserialize, "deserialize"); | ||
function deserializeWithMetadata(buffer, offset = -1) { | ||
@@ -772,5 +758,4 @@ const deserializer = new Deserializer(buffer); | ||
} | ||
__name(deserializeWithMetadata, "deserializeWithMetadata"); | ||
return __toCommonJS(src_exports); | ||
})(); | ||
//# sourceMappingURL=index.global.js.map |
@@ -6,3 +6,2 @@ "use strict"; | ||
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 +12,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 +43,3 @@ // src/index.ts | ||
}); | ||
module.exports = __toCommonJS(src_exports); | ||
@@ -57,3 +53,2 @@ // src/lib/errors/DeserializerError.ts | ||
}; | ||
__name(DeserializerError, "DeserializerError"); | ||
var DeserializerReason = /* @__PURE__ */ ((DeserializerReason2) => { | ||
@@ -134,3 +129,2 @@ DeserializerReason2["UnknownType"] = "UnknownType"; | ||
RegExps2.flagsAsInteger = flagsAsInteger; | ||
__name(flagsAsInteger, "flagsAsInteger"); | ||
function flagsFromInteger(integer) { | ||
@@ -153,3 +147,2 @@ let ret = ""; | ||
RegExps2.flagsFromInteger = flagsFromInteger; | ||
__name(flagsFromInteger, "flagsFromInteger"); | ||
})(RegExps || (RegExps = {})); | ||
@@ -170,3 +163,2 @@ var BigIntegers; | ||
Numbers2.nextPowerOfTwo = nextPowerOfTwo; | ||
__name(nextPowerOfTwo, "nextPowerOfTwo"); | ||
})(Numbers || (Numbers = {})); | ||
@@ -414,3 +406,2 @@ var TypedArrays; | ||
var Deserializer = _Deserializer; | ||
__name(Deserializer, "Deserializer"); | ||
Deserializer._textDecoder = new TextDecoder(); | ||
@@ -425,3 +416,2 @@ | ||
}; | ||
__name(SerializerError, "SerializerError"); | ||
var SerializerReason = /* @__PURE__ */ ((SerializerReason2) => { | ||
@@ -740,3 +730,2 @@ SerializerReason2["UnsupportedType"] = "UnsupportedType"; | ||
var Serializer = _Serializer; | ||
__name(Serializer, "Serializer"); | ||
Serializer._textEncoder = new TextEncoder(); | ||
@@ -748,3 +737,2 @@ | ||
} | ||
__name(serialize, "serialize"); | ||
function deserialize(buffer, offset = -1) { | ||
@@ -758,3 +746,2 @@ const deserializer = new Deserializer(buffer); | ||
} | ||
__name(deserialize, "deserialize"); | ||
function deserializeWithMetadata(buffer, offset = -1) { | ||
@@ -772,4 +759,2 @@ const deserializer = new Deserializer(buffer); | ||
} | ||
__name(deserializeWithMetadata, "deserializeWithMetadata"); | ||
module.exports = __toCommonJS(src_exports); | ||
// Annotate the CommonJS export names for ESM import in node: | ||
@@ -776,0 +761,0 @@ 0 && (module.exports = { |
{ | ||
"name": "binarytf", | ||
"version": "2.1.2-next.1616c88.0", | ||
"version": "2.1.2-next.1a69cb8.0", | ||
"description": "Binary Term Format", | ||
@@ -30,15 +30,15 @@ "author": "kyranet <kyradiscord@gmail.com>", | ||
"devDependencies": { | ||
"@commitlint/cli": "^16.2.1", | ||
"@commitlint/cli": "^16.2.3", | ||
"@commitlint/config-conventional": "^16.2.1", | ||
"@favware/rollup-type-bundler": "^1.0.7", | ||
"@sapphire/eslint-config": "^4.2.2", | ||
"@sapphire/prettier-config": "^1.3.0", | ||
"@sapphire/ts-config": "^3.3.1", | ||
"@sapphire/eslint-config": "^4.3.3", | ||
"@sapphire/prettier-config": "^1.4.2", | ||
"@sapphire/ts-config": "^3.3.4", | ||
"@types/jest": "^27.4.1", | ||
"@types/node": "^17.0.10", | ||
"@typescript-eslint/eslint-plugin": "^5.13.0", | ||
"@typescript-eslint/parser": "^5.13.0", | ||
"@typescript-eslint/eslint-plugin": "^5.17.0", | ||
"@typescript-eslint/parser": "^5.17.0", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"esbuild-jest": "^0.5.0", | ||
"eslint": "^8.10.0", | ||
"eslint": "^8.12.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
@@ -49,9 +49,9 @@ "eslint-plugin-prettier": "^4.0.0", | ||
"jest-circus": "^27.5.1", | ||
"lint-staged": "^12.3.5", | ||
"prettier": "^2.5.1", | ||
"lint-staged": "^12.3.7", | ||
"prettier": "^2.6.2", | ||
"pretty-quick": "^3.1.3", | ||
"standard-version": "^9.3.2", | ||
"tsup": "^5.11.13", | ||
"typedoc": "^0.22.12", | ||
"typescript": "^4.6.2" | ||
"tsup": "^5.12.3", | ||
"typedoc": "^0.22.13", | ||
"typescript": "^4.6.3" | ||
}, | ||
@@ -58,0 +58,0 @@ "repository": { |
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
211841
2387