Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jest-matcher-utils

Package Overview
Dependencies
Maintainers
6
Versions
232
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-matcher-utils - npm Package Compare versions

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

40

build/index.js

@@ -6,3 +6,25 @@ 'use strict';

});
exports.matcherHint = exports.matcherErrorMessage = exports.getLabelPrinter = exports.pluralize = exports.diff = exports.printDiffOrStringify = exports.ensureExpectedIsNonNegativeInteger = exports.ensureNumbers = exports.ensureExpectedIsNumber = exports.ensureActualIsNumber = exports.ensureNoExpected = exports.printWithType = exports.printExpected = exports.printReceived = exports.highlightTrailingWhitespace = exports.stringify = exports.SUGGEST_TO_CONTAIN_EQUAL = exports.DIM_COLOR = exports.BOLD_WEIGHT = exports.INVERTED_COLOR = exports.RECEIVED_COLOR = exports.EXPECTED_COLOR = void 0;
exports.matcherHint =
exports.matcherErrorMessage =
exports.getLabelPrinter =
exports.pluralize =
exports.diff =
exports.printDiffOrStringify =
exports.ensureExpectedIsNonNegativeInteger =
exports.ensureNumbers =
exports.ensureExpectedIsNumber =
exports.ensureActualIsNumber =
exports.ensureNoExpected =
exports.printWithType =
exports.printExpected =
exports.printReceived =
exports.highlightTrailingWhitespace =
exports.stringify =
exports.SUGGEST_TO_CONTAIN_EQUAL =
exports.DIM_COLOR =
exports.BOLD_WEIGHT =
exports.INVERTED_COLOR =
exports.RECEIVED_COLOR =
exports.EXPECTED_COLOR =
void 0;

@@ -353,11 +375,9 @@ var _chalk = _interopRequireDefault(require('chalk'));

if (isLineDiffable(expected, received)) {
const {
replacedExpected,
replacedReceived
} = replaceMatchedToAsymmetricMatcher(
(0, _deepCyclicCopyReplaceable.default)(expected),
(0, _deepCyclicCopyReplaceable.default)(received),
[],
[]
);
const {replacedExpected, replacedReceived} =
replaceMatchedToAsymmetricMatcher(
(0, _deepCyclicCopyReplaceable.default)(expected),
(0, _deepCyclicCopyReplaceable.default)(received),
[],
[]
);
const difference = (0, _jestDiff.diff)(replacedExpected, replacedReceived, {

@@ -364,0 +384,0 @@ aAnnotation: expectedLabel,

{
"name": "jest-matcher-utils",
"description": "A set of utility functions for expect and related packages",
"version": "27.0.0-next.9",
"version": "27.0.0-next.10",
"repository": {

@@ -22,8 +22,8 @@ "type": "git",

"chalk": "^4.0.0",
"jest-diff": "^27.0.0-next.9",
"jest-diff": "^27.0.0-next.10",
"jest-get-type": "^27.0.0-next.9",
"pretty-format": "^27.0.0-next.9"
"pretty-format": "^27.0.0-next.10"
},
"devDependencies": {
"@jest/test-utils": "^27.0.0-next.9",
"@jest/test-utils": "^27.0.0-next.10",
"@types/node": "*"

@@ -34,3 +34,3 @@ },

},
"gitHead": "d836f33f98845794b4eae8149548a81ddcfc6521"
"gitHead": "6f44529270310b7dbdf9a0b72b21b5cd50fda4b1"
}
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