@form8ion/javascript-core
Advanced tools
Comparing version 7.0.1 to 7.0.2
'use strict'; | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
var hoek = require('@hapi/hoek'); | ||
@@ -9,7 +7,2 @@ var semver = require('semver'); | ||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||
var hoek__default = /*#__PURE__*/_interopDefaultLegacy(hoek); | ||
var semver__default = /*#__PURE__*/_interopDefaultLegacy(semver); | ||
function choiceScaffolder (choices, choice, options) { | ||
@@ -34,3 +27,3 @@ const type = choices[choice]; | ||
} = schema.validate(options); | ||
hoek__default["default"].assert(!error, error); | ||
hoek.assert(!error, error); | ||
return value; | ||
@@ -68,5 +61,5 @@ } | ||
} = {}) { | ||
return [12, 14, 16].filter(majorVersion => { | ||
return [14, 16].filter(majorVersion => { | ||
if (!withinRange) return true; | ||
return semver__default["default"].satisfies(`${majorVersion}.0.0`, withinRange); | ||
return semver.satisfies(`${majorVersion}.0.0`, withinRange); | ||
}); | ||
@@ -73,0 +66,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "7.0.1", | ||
"version": "7.0.2", | ||
"files": [ | ||
@@ -58,10 +58,10 @@ "example.js", | ||
"@babel/register": "7.18.9", | ||
"@cucumber/cucumber": "8.5.0", | ||
"@form8ion/babel-preset": "1.6.93", | ||
"@form8ion/commitlint-config": "1.0.36", | ||
"@form8ion/eslint-config": "5.0.7", | ||
"@cucumber/cucumber": "8.6.0", | ||
"@form8ion/babel-preset": "1.6.99", | ||
"@form8ion/commitlint-config": "1.0.38", | ||
"@form8ion/eslint-config": "5.0.12", | ||
"@form8ion/eslint-config-cucumber": "1.4.1", | ||
"@form8ion/eslint-config-mocha": "2.0.3", | ||
"@form8ion/remark-lint-preset": "4.0.1", | ||
"@rollup/plugin-babel": "5.3.1", | ||
"@form8ion/remark-lint-preset": "4.0.2", | ||
"@rollup/plugin-babel": "6.0.0", | ||
"@travi/any": "2.1.5", | ||
@@ -75,6 +75,6 @@ "ban-sensitive-files": "1.9.18", | ||
"husky": "8.0.1", | ||
"lockfile-lint": "4.7.7", | ||
"lockfile-lint": "4.9.6", | ||
"ls-engines": "0.7.0", | ||
"mocha": "10.0.0", | ||
"mock-fs": "5.1.2", | ||
"mock-fs": "5.1.4", | ||
"npm-run-all": "4.1.5", | ||
@@ -85,5 +85,5 @@ "remark-cli": "11.0.0", | ||
"rimraf": "3.0.2", | ||
"rollup": "2.77.0", | ||
"rollup": "3.1.0", | ||
"rollup-plugin-auto-external": "2.0.0", | ||
"sinon": "14.0.0", | ||
"sinon": "14.0.1", | ||
"testdouble": "3.16.6" | ||
@@ -90,0 +90,0 @@ }, |
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
30463
182