You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@vitest/expect

Package Overview
Dependencies
Maintainers
4
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0-beta.9 to 2.0.0-beta.10

6

dist/index.js

@@ -309,4 +309,5 @@ import { getType, getColors, stringify, isObject, assertTypes } from '@vitest/utils';

function iterableEquality(a, b, customTesters = [], aStack = [], bStack = []) {
if (typeof a !== "object" || typeof b !== "object" || Array.isArray(a) || Array.isArray(b) || !hasIterator(a) || !hasIterator(b))
if (typeof a !== "object" || typeof b !== "object" || Array.isArray(a) || Array.isArray(b) || !hasIterator(a) || !hasIterator(b)) {
return void 0;
}
if (a.constructor !== b.constructor)

@@ -383,4 +384,5 @@ return false;

const nextB = bIterator.next();
if (nextB.done || !equals(aValue, nextB.value, filteredCustomTesters))
if (nextB.done || !equals(aValue, nextB.value, filteredCustomTesters)) {
return false;
}
}

@@ -387,0 +389,0 @@ if (!bIterator.next().done)

{
"name": "@vitest/expect",
"type": "module",
"version": "2.0.0-beta.9",
"version": "2.0.0-beta.10",
"description": "Jest's expect matchers as a Chai plugin",

@@ -34,10 +34,10 @@ "license": "MIT",

"chai": "^5.1.1",
"@vitest/spy": "2.0.0-beta.9",
"@vitest/utils": "2.0.0-beta.9"
"@vitest/spy": "2.0.0-beta.10",
"@vitest/utils": "2.0.0-beta.10"
},
"devDependencies": {
"@types/chai": "4.3.6",
"picocolors": "^1.0.0",
"picocolors": "^1.0.1",
"rollup-plugin-copy": "^3.5.0",
"@vitest/runner": "2.0.0-beta.9"
"@vitest/runner": "2.0.0-beta.10"
},

@@ -44,0 +44,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc