@form8ion/core
Advanced tools
Comparing version 3.2.2 to 4.0.0
@@ -148,2 +148,16 @@ 'use strict'; | ||
} | ||
function _toPrimitive(t, r) { | ||
if ("object" != typeof t || !t) return t; | ||
var e = t[Symbol.toPrimitive]; | ||
if (void 0 !== e) { | ||
var i = e.call(t, r || "default"); | ||
if ("object" != typeof i) return i; | ||
throw new TypeError("@@toPrimitive must return a primitive value."); | ||
} | ||
return ("string" === r ? String : Number)(t); | ||
} | ||
function _toPropertyKey(t) { | ||
var i = _toPrimitive(t, "string"); | ||
return "symbol" == typeof i ? i : String(i); | ||
} | ||
function _defineProperty(obj, key, value) { | ||
@@ -163,16 +177,2 @@ key = _toPropertyKey(key); | ||
} | ||
function _toPrimitive(input, hint) { | ||
if (typeof input !== "object" || input === null) return input; | ||
var prim = input[Symbol.toPrimitive]; | ||
if (prim !== undefined) { | ||
var res = prim.call(input, hint || "default"); | ||
if (typeof res !== "object") return res; | ||
throw new TypeError("@@toPrimitive must return a primitive value."); | ||
} | ||
return (hint === "string" ? String : Number)(input); | ||
} | ||
function _toPropertyKey(arg) { | ||
var key = _toPrimitive(arg, "string"); | ||
return typeof key === "symbol" ? key : String(key); | ||
} | ||
@@ -179,0 +179,0 @@ async function enhancerApplier ({ |
@@ -5,5 +5,5 @@ { | ||
"license": "MIT", | ||
"version": "3.2.2", | ||
"version": "4.0.0", | ||
"engines": { | ||
"node": "^16.14 || >=18" | ||
"node": "^18.17 || >=20.6.1" | ||
}, | ||
@@ -66,7 +66,7 @@ "author": "Matt Travi <npm@travi.org> (https://matt.travi.org/)", | ||
"devDependencies": { | ||
"@babel/register": "7.22.15", | ||
"@cucumber/cucumber": "9.6.0", | ||
"@form8ion/babel-preset": "1.6.116", | ||
"@form8ion/commitlint-config": "1.0.61", | ||
"@form8ion/eslint-config": "7.0.3", | ||
"@babel/register": "7.23.7", | ||
"@cucumber/cucumber": "10.2.1", | ||
"@form8ion/babel-preset": "1.6.121", | ||
"@form8ion/commitlint-config": "1.0.66", | ||
"@form8ion/eslint-config": "7.0.8", | ||
"@form8ion/eslint-config-cucumber": "1.4.1", | ||
@@ -76,24 +76,24 @@ "@form8ion/eslint-config-mocha": "3.0.1", | ||
"@rollup/plugin-babel": "6.0.4", | ||
"@travi/any": "3.0.1", | ||
"@travi/any": "3.0.2", | ||
"ban-sensitive-files": "1.10.1", | ||
"c8": "8.0.1", | ||
"chai": "4.3.10", | ||
"c8": "9.0.0", | ||
"chai": "4.4.0", | ||
"cross-env": "7.0.3", | ||
"cz-conventional-changelog": "3.3.0", | ||
"gherkin-lint": "4.2.2", | ||
"gherkin-lint": "4.2.4", | ||
"husky": "8.0.3", | ||
"lockfile-lint": "4.12.1", | ||
"ls-engines": "0.9.0", | ||
"ls-engines": "0.9.1", | ||
"mocha": "10.2.0", | ||
"mock-fs": "5.2.0", | ||
"npm-run-all2": "6.1.1", | ||
"publint": "0.2.5", | ||
"publint": "0.2.7", | ||
"remark-cli": "12.0.0", | ||
"remark-toc": "9.0.0", | ||
"remark-usage": "11.0.0", | ||
"remark-usage": "11.0.1", | ||
"rimraf": "5.0.5", | ||
"rollup": "4.1.5", | ||
"rollup": "4.9.4", | ||
"rollup-plugin-auto-external": "2.0.0", | ||
"sinon": "17.0.0" | ||
"sinon": "17.0.1" | ||
} | ||
} |
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
51197