@form8ion/javascript-core
Advanced tools
Comparing version 9.0.1 to 9.1.0
@@ -90,3 +90,3 @@ 'use strict'; | ||
} = {}) { | ||
return [14, 16, 18, 19, 20].filter(majorVersion => { | ||
return [14, 16, 18, 20].filter(majorVersion => { | ||
if (!withinRange) return true; | ||
@@ -93,0 +93,0 @@ return semver.satisfies(`${majorVersion}.0.0`, withinRange); |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "9.0.1", | ||
"version": "9.1.0", | ||
"engines": { | ||
@@ -71,6 +71,6 @@ "node": "^16.13 || >=18" | ||
"@babel/register": "7.22.5", | ||
"@cucumber/cucumber": "9.2.0", | ||
"@form8ion/babel-preset": "1.6.105", | ||
"@cucumber/cucumber": "9.3.0", | ||
"@form8ion/babel-preset": "1.6.107", | ||
"@form8ion/commitlint-config": "1.0.52", | ||
"@form8ion/eslint-config": "5.0.35", | ||
"@form8ion/eslint-config": "5.0.36", | ||
"@form8ion/eslint-config-cucumber": "1.4.1", | ||
@@ -103,4 +103,4 @@ "@form8ion/eslint-config-mocha": "2.0.3", | ||
"testdouble": "3.18.0", | ||
"vitest": "0.32.4" | ||
"vitest": "0.33.0" | ||
} | ||
} |
@@ -25,3 +25,3 @@ coverageShouldBeReported# javascript-core | ||
* [`options` __object__ (_optional_)](#options-object-optional) | ||
* [`validateOptions`](#validateoptions) | ||
* [`validateOptions` (_deprecated_)](#validateoptions-deprecated) | ||
* [`schema` (_required_)](#schema-required) | ||
@@ -118,6 +118,10 @@ * [`options` (_required_)](#options-required) | ||
#### `validateOptions` | ||
#### `validateOptions` (_deprecated_) | ||
Validates provided options against a [joi](https://joi.dev/) schema. | ||
This function has been lifted to the [@form8ion/core](https://npm.im/@form8ion/core#validateoptions) | ||
package and will be removed in the next major version. | ||
Please use that version instead. | ||
##### `schema` (_required_) | ||
@@ -124,0 +128,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
34929
337