Socket
Socket
Sign inDemoInstall

@vitest/expect

Package Overview
Dependencies
Maintainers
3
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vitest/expect - npm Package Compare versions

Comparing version 0.29.2 to 0.29.3

12

dist/index.d.ts
import { use } from 'chai';
import { stringify } from '@vitest/utils';
export { setColors as setupColors } from '@vitest/utils';
export { setupColors } from '@vitest/utils';

@@ -8,7 +8,7 @@ type Formatter = (input: string | number | null | undefined) => string;

declare function getMatcherUtils(): {
EXPECTED_COLOR: Formatter;
RECEIVED_COLOR: Formatter;
INVERTED_COLOR: Formatter;
BOLD_WEIGHT: Formatter;
DIM_COLOR: Formatter;
EXPECTED_COLOR: (input: unknown) => string;
RECEIVED_COLOR: (input: unknown) => string;
INVERTED_COLOR: (input: unknown) => string;
BOLD_WEIGHT: (input: unknown) => string;
DIM_COLOR: (input: unknown) => string;
matcherHint: (matcherName: string, received?: string, expected?: string, options?: MatcherHintOptions) => string;

@@ -15,0 +15,0 @@ printReceived: (object: unknown) => string;

import { getColors, stringify, isObject, assertTypes } from '@vitest/utils';
export { setColors as setupColors } from '@vitest/utils';
export { setupColors } from '@vitest/utils';
import { unifiedDiff } from '@vitest/utils/diff';

@@ -4,0 +4,0 @@ import { AssertionError, util } from 'chai';

{
"name": "@vitest/expect",
"type": "module",
"version": "0.29.2",
"version": "0.29.3",
"description": "Jest's expect matchers as a Chai plugin",

@@ -28,4 +28,4 @@ "license": "MIT",

"chai": "^4.3.7",
"@vitest/spy": "0.29.2",
"@vitest/utils": "0.29.2"
"@vitest/utils": "0.29.3",
"@vitest/spy": "0.29.3"
},

@@ -32,0 +32,0 @@ "devDependencies": {

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