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

jest-serializer-path

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-serializer-path - npm Package Compare versions

Comparing version 0.1.11 to 0.1.12

8

lib/index_test.js

@@ -193,2 +193,10 @@ 'use strict'

it('returns false when value is NaN', () => {
const val = NaN
const result = Serializer.test(val)
expect(result).toEqual(false)
})
})

@@ -195,0 +203,0 @@

@@ -119,2 +119,10 @@ 'use strict'

/* eslint-disable no-self-compare */
// NaN is the only JS value which never equals itself
if (value !== value) {
return false
}
// return true if value is different from normalized value

@@ -121,0 +129,0 @@ return normalizePaths(value) !== value

2

package.json
{
"name": "jest-serializer-path",
"version": "0.1.11",
"version": "0.1.12",
"description": "Remove absolute paths from your Jest snapshots",

@@ -5,0 +5,0 @@ "author": "tribou",

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