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

jsprim

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsprim - npm Package Compare versions

Comparing version 1.4.1 to 2.0.0

8

CHANGES.md

@@ -7,2 +7,10 @@ # Changelog

## v2.0.0 (2017-10-25)
Major bump due to a change in the semantics of `deepEqual`. Code that relies on
`deepEqual` to fail if inherited properties are present on the objects compared
should be updated accordingly.
* #24 `deepEqual` is incorrect when there are inherited properties
## v1.4.1 (2017-08-02)

@@ -9,0 +17,0 @@

4

lib/jsprim.js

@@ -105,3 +105,3 @@ /*

for (k in obj1) {
if (!obj2.hasOwnProperty(k))
if (!(k in obj2))
return (false);

@@ -114,3 +114,3 @@

for (k in obj2) {
if (!obj1.hasOwnProperty(k))
if (!(k in obj1))
return (false);

@@ -117,0 +117,0 @@ }

{
"name": "jsprim",
"version": "1.4.1",
"version": "2.0.0",
"description": "utilities for primitive JavaScript types",

@@ -5,0 +5,0 @@ "main": "./lib/jsprim.js",

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