Socket
Socket
Sign inDemoInstall

jest-validate

Package Overview
Dependencies
Maintainers
6
Versions
219
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-validate - npm Package Compare versions

Comparing version 27.0.0-next.8 to 27.0.0-next.9

6

build/errors.js

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc