@fuel-ts/errors
Advanced tools
Comparing version 0.56.1 to 0.57.0
@@ -26,3 +26,3 @@ "use strict"; | ||
FUEL_CORE: "0.20.4", | ||
FUELS: "0.56.1" | ||
FUELS: "0.57.0" | ||
}; | ||
@@ -29,0 +29,0 @@ } |
"use strict"; | ||
(() => { | ||
var __create = Object.create; | ||
var __defProp = Object.defineProperty; | ||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
var __getOwnPropNames = Object.getOwnPropertyNames; | ||
var __getProtoOf = Object.getPrototypeOf; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
var __commonJS = (cb, mod) => function __require() { | ||
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; | ||
}; | ||
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 to; | ||
}; | ||
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( | ||
// If the importer is in node compatibility mode or this is not an ESM | ||
// file that has been converted to a CommonJS file using a Babel- | ||
// compatible transform (i.e. "__esModule" has not been set), then set | ||
// "default" to the CommonJS "module.exports" for node compatibility. | ||
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, | ||
mod | ||
)); | ||
// ../../node_modules/.pnpm/lodash.upperfirst@4.3.1/node_modules/lodash.upperfirst/index.js | ||
var require_lodash = __commonJS({ | ||
"../../node_modules/.pnpm/lodash.upperfirst@4.3.1/node_modules/lodash.upperfirst/index.js"(exports, module) { | ||
var INFINITY = 1 / 0; | ||
var symbolTag = "[object Symbol]"; | ||
var rsAstralRange = "\\ud800-\\udfff"; | ||
var rsComboMarksRange = "\\u0300-\\u036f\\ufe20-\\ufe23"; | ||
var rsComboSymbolsRange = "\\u20d0-\\u20f0"; | ||
var rsVarRange = "\\ufe0e\\ufe0f"; | ||
var rsAstral = "[" + rsAstralRange + "]"; | ||
var rsCombo = "[" + rsComboMarksRange + rsComboSymbolsRange + "]"; | ||
var rsFitz = "\\ud83c[\\udffb-\\udfff]"; | ||
var rsModifier = "(?:" + rsCombo + "|" + rsFitz + ")"; | ||
var rsNonAstral = "[^" + rsAstralRange + "]"; | ||
var rsRegional = "(?:\\ud83c[\\udde6-\\uddff]){2}"; | ||
var rsSurrPair = "[\\ud800-\\udbff][\\udc00-\\udfff]"; | ||
var rsZWJ = "\\u200d"; | ||
var reOptMod = rsModifier + "?"; | ||
var rsOptVar = "[" + rsVarRange + "]?"; | ||
var rsOptJoin = "(?:" + rsZWJ + "(?:" + [rsNonAstral, rsRegional, rsSurrPair].join("|") + ")" + rsOptVar + reOptMod + ")*"; | ||
var rsSeq = rsOptVar + reOptMod + rsOptJoin; | ||
var rsSymbol = "(?:" + [rsNonAstral + rsCombo + "?", rsCombo, rsRegional, rsSurrPair, rsAstral].join("|") + ")"; | ||
var reUnicode = RegExp(rsFitz + "(?=" + rsFitz + ")|" + rsSymbol + rsSeq, "g"); | ||
var reHasUnicode = RegExp("[" + rsZWJ + rsAstralRange + rsComboMarksRange + rsComboSymbolsRange + rsVarRange + "]"); | ||
var freeGlobal = typeof global == "object" && global && global.Object === Object && global; | ||
var freeSelf = typeof self == "object" && self && self.Object === Object && self; | ||
var root = freeGlobal || freeSelf || Function("return this")(); | ||
function asciiToArray(string) { | ||
return string.split(""); | ||
} | ||
function hasUnicode(string) { | ||
return reHasUnicode.test(string); | ||
} | ||
function stringToArray(string) { | ||
return hasUnicode(string) ? unicodeToArray(string) : asciiToArray(string); | ||
} | ||
function unicodeToArray(string) { | ||
return string.match(reUnicode) || []; | ||
} | ||
var objectProto = Object.prototype; | ||
var objectToString = objectProto.toString; | ||
var Symbol2 = root.Symbol; | ||
var symbolProto = Symbol2 ? Symbol2.prototype : void 0; | ||
var symbolToString = symbolProto ? symbolProto.toString : void 0; | ||
function baseSlice(array, start, end) { | ||
var index = -1, length = array.length; | ||
if (start < 0) { | ||
start = -start > length ? 0 : length + start; | ||
} | ||
end = end > length ? length : end; | ||
if (end < 0) { | ||
end += length; | ||
} | ||
length = start > end ? 0 : end - start >>> 0; | ||
start >>>= 0; | ||
var result = Array(length); | ||
while (++index < length) { | ||
result[index] = array[index + start]; | ||
} | ||
return result; | ||
} | ||
function baseToString(value) { | ||
if (typeof value == "string") { | ||
return value; | ||
} | ||
if (isSymbol(value)) { | ||
return symbolToString ? symbolToString.call(value) : ""; | ||
} | ||
var result = value + ""; | ||
return result == "0" && 1 / value == -INFINITY ? "-0" : result; | ||
} | ||
function castSlice(array, start, end) { | ||
var length = array.length; | ||
end = end === void 0 ? length : end; | ||
return !start && end >= length ? array : baseSlice(array, start, end); | ||
} | ||
function createCaseFirst(methodName) { | ||
return function(string) { | ||
string = toString(string); | ||
var strSymbols = hasUnicode(string) ? stringToArray(string) : void 0; | ||
var chr = strSymbols ? strSymbols[0] : string.charAt(0); | ||
var trailing = strSymbols ? castSlice(strSymbols, 1).join("") : string.slice(1); | ||
return chr[methodName]() + trailing; | ||
}; | ||
} | ||
function isObjectLike(value) { | ||
return !!value && typeof value == "object"; | ||
} | ||
function isSymbol(value) { | ||
return typeof value == "symbol" || isObjectLike(value) && objectToString.call(value) == symbolTag; | ||
} | ||
function toString(value) { | ||
return value == null ? "" : baseToString(value); | ||
} | ||
var upperFirst2 = createCaseFirst("toUpperCase"); | ||
module.exports = upperFirst2; | ||
} | ||
}); | ||
// ../utils/dist/test-utils.mjs | ||
var import_lodash = __toESM(require_lodash(), 1); | ||
var safeExec = async (lambda) => { | ||
@@ -446,3 +320,3 @@ let error; | ||
FUEL_CORE: "0.20.4", | ||
FUELS: "0.56.1" | ||
FUELS: "0.57.0" | ||
}; | ||
@@ -449,0 +323,0 @@ } |
{ | ||
"name": "@fuel-ts/errors", | ||
"version": "0.56.1", | ||
"version": "0.57.0", | ||
"description": "Error class and error codes that the fuels-ts library throws", | ||
@@ -33,4 +33,4 @@ "author": "Fuel Labs <contact@fuel.sh> (https://fuel.network/)", | ||
"dependencies": { | ||
"@fuel-ts/utils": "0.56.1", | ||
"@fuel-ts/versions": "0.56.1" | ||
"@fuel-ts/utils": "0.57.0", | ||
"@fuel-ts/versions": "0.57.0" | ||
}, | ||
@@ -37,0 +37,0 @@ "scripts": { |
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
100816
688
+ Added@fuel-ts/utils@0.57.0(transitive)
+ Added@fuel-ts/versions@0.57.0(transitive)
+ Addedramda@0.29.1(transitive)
- Removed@fuel-ts/utils@0.56.1(transitive)
- Removed@fuel-ts/versions@0.56.1(transitive)
- Removedlodash.upperfirst@4.3.1(transitive)
Updated@fuel-ts/utils@0.57.0
Updated@fuel-ts/versions@0.57.0