{"name":"jest-matcher-utils","version":"30.4.0","license":"MIT","_id":"jest-matcher-utils@30.4.0","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":"dc111e3568bf28891687bbe84a3095b1da7633f3","tarball":"http://registry-npm.ywwl.com/jest-matcher-utils/download/jest-matcher-utils-30.4.0.tgz","fileCount":6,"integrity":"sha512-m28k6fJ1hsHxYRBMbQvIfHz8FQA1e8U/I3o/Z+id0etJJL7Af6mJqMKvH11lTFX6rRKANi/8iVwdche9E+wz8w==","signatures":[{"sig":"MEYCIQCqZLGz606jvgWDE9Tj6qHN2MqEwtBQXp2GXmvB7PaPOAIhAMdixpZGlFQcX6UMLZYRXGDU6un2t3wnjhanf5ODRxQT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32734,"size":8918,"noattachment":false,"key":"/jest-matcher-utils/-/jest-matcher-utils-30.4.0.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":"5cbb21e0b3037edb42e503ec1a1ce80efad40c20","_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"repository":{"url":"https://github.com/jestjs/jest.git","type":"git","directory":"packages/jest-matcher-utils"},"_npmVersion":"lerna/4.3.0/node@v26.0.0+arm64 (darwin)","description":"A set of utility functions for expect and related packages","directories":{},"_nodeVersion":"26.0.0","dependencies":{"chalk":"^4.1.2","jest-diff":"30.4.0","pretty-format":"30.4.0","@jest/get-type":"30.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"*","@jest/test-utils":"30.4.0"},"_npmOperationalInternal":{"tmp":"tmp/jest-matcher-utils_30.4.0_1778179314448_0.2675138597971216","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":1778179314586,"_cnpm_publish_time":1778179314586,"dist-tags":{"latest":"30.5.2","next":"30.0.0-rc.1"}}