{"name":"jest-matcher-utils","description":"A set of utility functions for expect and related packages","version":"30.4.1","repository":{"type":"git","url":"https://github.com/jestjs/jest.git","directory":"packages/jest-matcher-utils"},"engines":{"node":"^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"},"license":"MIT","main":"./build/index.js","types":"./build/index.d.ts","exports":{".":{"types":"./build/index.d.ts","require":"./build/index.js","import":"./build/index.mjs","default":"./build/index.js"},"./package.json":"./package.json"},"dependencies":{"@jest/get-type":"30.1.0","chalk":"^4.1.2","jest-diff":"30.4.1","pretty-format":"30.4.1"},"devDependencies":{"@jest/test-utils":"30.4.1","@types/node":"*"},"publishConfig":{"access":"public"},"gitHead":"b3b4a09ed3005369dacc7466d1d2122797283785","_nodeVersion":"26.1.0","_npmVersion":"lerna/4.3.0/node@v26.1.0+arm64 (darwin)","_id":"jest-matcher-utils@30.4.1","dist":{"integrity":"sha512-zvYfX5CaeEkFrrLS9suWe9rvJrm9J1Iv3ua8kIBv9GEPzcnsfBf0bob37la7s67fs0nlBC3EuvkOLnXQKxtx4A==","shasum":"3fee8c89dbd8fc6e60eb590def9897e18f110ec4","tarball":"http://registry-npm.ywwl.com/jest-matcher-utils/download/jest-matcher-utils-30.4.1.tgz","fileCount":6,"unpackedSize":32734,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDMHV2Cb2Q4ubuAJaXSWo5HJFnYEVVNDa2MUIkxAg2FSwIgPvCwjoyDQk/yRvYf6HQJG130Gu5EBTkSTCSsI3tz6aU="}],"size":8925,"noattachment":false,"key":"/jest-matcher-utils/-/jest-matcher-utils-30.4.1.tgz"},"_npmUser":{"name":"simenb","email":"sbekkhus91@gmail.com"},"directories":{},"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"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/jest-matcher-utils_30.4.1_1778229293755_0.0018878475039985076"},"_hasShrinkwrap":false,"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":1778229293894,"_cnpm_publish_time":1778229293894,"dist-tags":{"latest":"30.5.2","next":"30.0.0-rc.1"}}