Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

uvu

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uvu - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

11

diff/index.js

@@ -197,9 +197,8 @@ const kleur = require('kleur');

if (/\r?\n/.test(String(expect))) {
return lines(input, expect);
}
let isA = typeof input == 'string';
let isB = typeof expect == 'string';
if (typeof expect == 'string') {
return chars(input, expect);
}
if (isA && /\r?\n/.test(input)) return lines(input, ''+expect);
if (isB && /\r?\n/.test(expect)) return lines(''+input, expect);
if (isA && isB) return chars(input, expect);

@@ -206,0 +205,0 @@ return direct(input, expect);

{
"name": "uvu",
"version": "0.2.2",
"version": "0.2.3",
"repository": "lukeed/uvu",

@@ -5,0 +5,0 @@ "description": "uvu is an extremely fast and lightweight test runner for Node.js and the browser",

@@ -125,5 +125,6 @@ <div align="center">

```
~> "jest" took 1,630ms (861 ms)
~> "mocha" took 215ms ( 3 ms)
~> "tape" took 132ms ( ??? )
~> "ava" took 598ms ( ??? )
~> "jest" took 1,560ms (839 ms)
~> "mocha" took 212ms ( 4 ms)
~> "tape" took 129ms ( ??? )
~> "uvu" took 74ms ( 1.4ms)

@@ -130,0 +131,0 @@ ```

Sorry, the diff of this file is not supported yet

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