jest-validate
Advanced tools
Comparing version 27.0.0-next.8 to 27.0.0-next.9
@@ -19,3 +19,3 @@ 'use strict'; | ||
function _jestGetType() { | ||
const data = _interopRequireDefault(require('jest-get-type')); | ||
const data = require('jest-get-type'); | ||
@@ -46,3 +46,3 @@ _jestGetType = function () { | ||
const validTypes = Array.from( | ||
new Set(conditions.map(_jestGetType().default)) | ||
new Set(conditions.map(_jestGetType().getType)) | ||
); | ||
@@ -54,3 +54,3 @@ const message = ` Option ${_chalk().default.bold( | ||
but instead received: | ||
${_chalk().default.bold.red((0, _jestGetType().default)(received))} | ||
${_chalk().default.bold.red((0, _jestGetType().getType)(received))} | ||
@@ -57,0 +57,0 @@ Example: |
@@ -29,3 +29,3 @@ 'use strict'; | ||
function _prettyFormat() { | ||
const data = _interopRequireDefault(require('pretty-format')); | ||
const data = require('pretty-format'); | ||
@@ -69,3 +69,3 @@ _prettyFormat = function () { | ||
? value.toString() | ||
: (0, _prettyFormat().default)(value, { | ||
: (0, _prettyFormat().format)(value, { | ||
min: true | ||
@@ -72,0 +72,0 @@ }); |
{ | ||
"name": "jest-validate", | ||
"version": "27.0.0-next.8", | ||
"version": "27.0.0-next.9", | ||
"repository": { | ||
@@ -20,5 +20,5 @@ "type": "git", | ||
"chalk": "^4.0.0", | ||
"jest-get-type": "^27.0.0-next.0", | ||
"jest-get-type": "^27.0.0-next.9", | ||
"leven": "^3.1.0", | ||
"pretty-format": "^27.0.0-next.8" | ||
"pretty-format": "^27.0.0-next.9" | ||
}, | ||
@@ -34,3 +34,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "d7ba5030e274b52f029179dfdb860349a36eea37" | ||
"gitHead": "d836f33f98845794b4eae8149548a81ddcfc6521" | ||
} |
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
31849
Updatedjest-get-type@^27.0.0-next.9
Updatedpretty-format@^27.0.0-next.9