{"name":"@vitest/expect","version":"2.1.8","license":"MIT","_id":"@vitest/expect@2.1.8","homepage":"https://github.com/vitest-dev/vitest/tree/main/packages/expect#readme","bugs":{"url":"https://github.com/vitest-dev/vitest/issues"},"dist":{"shasum":"13fad0e8d5a0bf0feb675dcf1d1f1a36a1773bc1","tarball":"http://registry-npm.ywwl.com/@vitest/expect/download/@vitest/expect-2.1.8.tgz","fileCount":7,"integrity":"sha512-8ytZ/fFHq2g4PJVAtDX57mayemKgDR6X3Oa2Foro+EygiOJHUXhCqBAAKQYYajZpFoIfvBCF1j6R6IYRSIUFuw==","signatures":[{"sig":"MEQCIEFb8SogJFQ7QvUySOctYoBdkEeTWS//I0jC6jgy3CqIAiBt082SKgllHsfo/0JsEJWI4LEO6+lVWWcSvqUyHWKbNA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@vitest%2fexpect@2.1.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":165487,"size":26672,"noattachment":false,"key":"/@vitest/expect/-/@vitest/expect-2.1.8.tgz"},"main":"./dist/index.js","type":"module","_from":"file:vitest-expect-2.1.8.tgz","types":"./index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./index.d.ts","default":"./dist/index.js"},"./*":"./*"},"funding":"https://opencollective.com/vitest","scripts":{"dev":"rollup -c --watch","build":"rimraf dist && rollup -c"},"_npmUser":{"name":"vitestbot","email":"vitest.dev@gmail.com"},"_resolved":"/tmp/85498feff7c96cd92adf5b5a6b0185d9/vitest-expect-2.1.8.tgz","_integrity":"sha512-8ytZ/fFHq2g4PJVAtDX57mayemKgDR6X3Oa2Foro+EygiOJHUXhCqBAAKQYYajZpFoIfvBCF1j6R6IYRSIUFuw==","repository":{"url":"git+https://github.com/vitest-dev/vitest.git","type":"git","directory":"packages/expect"},"_npmVersion":"10.8.2","description":"Jest's expect matchers as a Chai plugin","directories":{},"sideEffects":false,"_nodeVersion":"20.18.1","dependencies":{"chai":"^5.1.2","@vitest/spy":"2.1.8","tinyrainbow":"^1.2.0","@vitest/utils":"2.1.8"},"_hasShrinkwrap":false,"devDependencies":{"@types/chai":"4.3.6","@vitest/runner":"2.1.8","rollup-plugin-copy":"^3.5.0"},"_npmOperationalInternal":{"tmp":"tmp/expect_2.1.8_1733150790113_0.3262322948584324","host":"s3://npm-registry-packages"},"readme":"# @vitest/expect\n\n[![NPM version](https://img.shields.io/npm/v/@vitest/expect?color=a1b858&label=)](https://npmx.dev/package/@vitest/expect)\n\nJest's expect matchers as a Chai plugin.\n\n## Usage\n\n```js\nimport {\n  JestAsymmetricMatchers,\n  JestChaiExpect,\n  JestExtend,\n} from '@vitest/expect'\nimport * as chai from 'chai'\n\n// allows using expect.extend instead of chai.use to extend plugins\nchai.use(JestExtend)\n// adds all jest matchers to expect\nchai.use(JestChaiExpect)\n// adds asymmetric matchers like stringContaining, objectContaining\nchai.use(JestAsymmetricMatchers)\n```\n\n[GitHub](https://github.com/vitest-dev/vitest/tree/main/packages/expect) | [Documentation](https://vitest.dev/api/expect)\n","publish_time":1733150790294,"maintainers":[{"name":"antfu","email":"anthonyfu117@hotmail.com"},{"name":"patak","email":"hey.patak@gmail.com"},{"name":"oreanno","email":"foxzdavinci@gmail.com"},{"name":"vitestbot","email":"vitest.dev@gmail.com"}],"_cnpm_publish_time":1733150790294,"dist-tags":{"beta":"5.1.0-beta.1","latest":"5.1.0","rc":"5.0.0-rc.4","V3":"3.2.7","V4":"4.1.12"}}