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 1.0.1 to 1.0.2

2

dist/index.js

@@ -154,3 +154,3 @@ import { getColors, stringify, isObject, assertTypes } from '@vitest/utils';

return a.message === b.message;
if (a instanceof URL && b instanceof URL)
if (typeof URL === "function" && a instanceof URL && b instanceof URL)
return a.href === b.href;

@@ -157,0 +157,0 @@ if (Object.is(a, b))

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

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

"chai": "^4.3.10",
"@vitest/spy": "1.0.1",
"@vitest/utils": "1.0.1"
"@vitest/spy": "1.0.2",
"@vitest/utils": "1.0.2"
},

@@ -42,3 +42,3 @@ "devDependencies": {

"rollup-plugin-copy": "^3.5.0",
"@vitest/runner": "1.0.1"
"@vitest/runner": "1.0.2"
},

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

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