{"name":"jest-matcher-utils","version":"30.0.4","license":"MIT","_id":"jest-matcher-utils@30.0.4","maintainers":[{"name":"aaronabramov","email":"aaron@abramov.io"},{"name":"simenb","email":"sbekkhus91@gmail.com"},{"name":"rickhanlonii","email":"rickhanlonii@gmail.com"},{"name":"openjs-operations","email":"operations@openjsf.org"},{"name":"cpojer","email":"christoph.pojer@gmail.com"}],"dist":{"shasum":"1aab71eb7ba401f81d9ef7231feb88392e4a6e54","tarball":"http://registry-npm.ywwl.com/jest-matcher-utils/download/jest-matcher-utils-30.0.4.tgz","fileCount":7,"integrity":"sha512-ubCewJ54YzeAZ2JeHHGVoU+eDIpQFsfPQs0xURPWoNiO42LGJ+QGgfSf+hFIRplkZDkhH5MOvuxHKXRTUU3dUQ==","signatures":[{"sig":"MEUCIQC2fYkrzbPh7KGNF5pLVNTCHL7B9CIjNdZiBpXcwR1U9gIgZiJYm/ZYnt9DnbU+rwyZ+q6rpoH/4DOA858busdBRP8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":36106,"size":9330,"noattachment":false,"key":"/jest-matcher-utils/-/jest-matcher-utils-30.0.4.tgz"},"main":"./build/index.js","types":"./build/index.d.ts","engines":{"node":"^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"},"exports":{".":{"types":"./build/index.d.ts","import":"./build/index.mjs","default":"./build/index.js","require":"./build/index.js"},"./package.json":"./package.json"},"gitHead":"f4296d2bc85c1405f84ddf613a25d0bc3766b7e5","_npmUser":{"name":"cpojer","actor":{"name":"cpojer","type":"user","email":"christoph.pojer@gmail.com"},"email":"christoph.pojer@gmail.com"},"repository":{"url":"https://github.com/jestjs/jest.git","type":"git","directory":"packages/jest-matcher-utils"},"_npmVersion":"lerna/4.3.0/node@v24.3.0+arm64 (darwin)","description":"A set of utility functions for expect and related packages","directories":{},"_nodeVersion":"24.3.0","dependencies":{"chalk":"^4.1.2","jest-diff":"30.0.4","pretty-format":"30.0.2","@jest/get-type":"30.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"*","@jest/test-utils":"30.0.4"},"_npmOperationalInternal":{"tmp":"tmp/jest-matcher-utils_30.0.4_1751499948037_0.9246615164477638","host":"s3://npm-registry-packages-npm-production"},"readme":"# jest-matcher-utils\n\nThis package's exports are most notably used by `expect`'s [`this.utils`](https://jestjs.io/docs/expect#thisutils).\n\n## Installation\n\nTo add this package as a dependency of a project, run either of the following commands:\n\n- `npm install jest-matcher-utils`\n- `yarn add jest-matcher-utils`\n\n## Exports ([src/index.ts](https://github.com/jestjs/jest/blob/HEAD/packages/jest-matcher-utils/src/index.ts))\n\n### Functions\n\n`stringify` `highlightTrailingWhitespace` `printReceived` `printExpected` `printWithType` `ensureNoExpected` `ensureActualIsNumber` `ensureExpectedIsNumber` `ensureNumbers` `ensureExpectedIsNonNegativeInteger` `printDiffOrStringify` `diff` `pluralize` `getLabelPrinter` `matcherErrorMessage` `matcherHint`\n\n### Types\n\n`MatcherHintOptions` `DiffOptions`\n\n### Constants\n\n`EXPECTED_COLOR` `RECEIVED_COLOR` `INVERTED_COLOR` `BOLD_WEIGHT` `DIM_COLOR` `SUGGEST_TO_CONTAIN_EQUAL` `SERIALIZABLE_PROPERTIES`\n","publish_time":1751499948235,"_cnpm_publish_time":1751499948235,"dist-tags":{"latest":"30.5.2","next":"30.0.0-rc.1"}}