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

can-diff

Package Overview
Dependencies
Maintainers
5
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

can-diff - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

10

merge-deep/merge-deep-test.js

@@ -307,2 +307,12 @@ var DefineMap = require('can-define/map/map');

QUnit.test("can merge array of primitives (#10)", function(){
var listA = ["a","b","c"];
var listB = ["a","c"];
smartMerge(listA,listB);
QUnit.deepEqual(listA,["a","c"]);
});
/*

@@ -309,0 +319,0 @@ QUnit.test('smartMerge can-connect behavior', function(assert) {

5

merge-deep/merge-deep.js

@@ -100,3 +100,6 @@ "use strict";

// If id is the same we merge data in. Case #2
mergeMap(a, b);
if(! canReflect.isPrimitive(a) ) {
mergeMap(a, b);
}
}

@@ -103,0 +106,0 @@ return eq;

2

package.json
{
"name": "can-diff",
"version": "1.4.1",
"version": "1.4.2",
"description": "Diffing helpers for can-reflect",

@@ -5,0 +5,0 @@ "homepage": "http://canjs.com",

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