Socket
Socket
Sign inDemoInstall

@vitest/utils

Package Overview
Dependencies
Maintainers
4
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vitest/utils - npm Package Compare versions

Comparing version 2.0.0-beta.2 to 2.0.0-beta.3

2

dist/chunk-display.js

@@ -44,3 +44,3 @@ import { format as format$1, plugins } from 'pretty-format';

const formatRegExp = /%[sdjifoOcj%]/g;
const formatRegExp = /%[sdjifoOc%]/g;
function format(...args) {

@@ -47,0 +47,0 @@ if (typeof args[0] !== "string") {

@@ -184,3 +184,3 @@ import { format, plugins } from 'pretty-format';

};
const nonAlphaNumericRegex_ = /[^a-zA-Z0-9]/;
const nonAlphaNumericRegex_ = /[^a-z0-9]/i;
const whitespaceRegex_ = /\s/;

@@ -187,0 +187,0 @@ const linebreakRegex_ = /[\r\n]/;

@@ -763,4 +763,4 @@ import { notNullish, isPrimitive } from './helpers.js';

const CHROME_IE_STACK_REGEXP = /^\s*at .*(\S+:\d+|\(native\))/m;
const SAFARI_NATIVE_CODE_REGEXP = /^(eval@)?(\[native code])?$/;
const CHROME_IE_STACK_REGEXP = /^\s*at .*(?:\S:\d+|\(native\))/m;
const SAFARI_NATIVE_CODE_REGEXP = /^(?:eval@)?(?:\[native code\])?$/;
const stackIgnorePatterns = [

@@ -805,3 +805,3 @@ "node:internal",

return null;
const functionNameRegex = /((.*".+"[^@]*)?[^@]*)(?:@)/;
const functionNameRegex = /((.*".+"[^@]*)?[^@]*)(@)/;
const matches = line.match(functionNameRegex);

@@ -808,0 +808,0 @@ const functionName = matches && matches[1] ? matches[1] : void 0;

{
"name": "@vitest/utils",
"type": "module",
"version": "2.0.0-beta.2",
"version": "2.0.0-beta.3",
"description": "Shared Vitest utility functions",

@@ -6,0 +6,0 @@ "license": "MIT",

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