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

difference

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

difference - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

13

index.js

@@ -13,10 +13,11 @@

a.map(function(v) {
o_a[v] = v;
})
for (var i = 0; i < a.length; i += 1) {
o_a[a[i]] = a[i];
}
b.map(function(v) {
o_b[v] = v;
});
for (var i = 0; i < b.length; i += 1) {
o_b[b[i]] = b[i];
}
var result = [];

@@ -23,0 +24,0 @@ for (var key in o_b) {

{
"name": "difference",
"version": "1.0.1",
"version": "1.0.2",
"description": "Calculate the difference of two arrays",

@@ -5,0 +5,0 @@ "main": "index.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