Comparing version 1.16.1 to 1.16.2
@@ -95,3 +95,3 @@ define(["../global", "../has", "./config", "require", "module"], function(global, has, config, require, module){ | ||
major: 1, minor: 16, patch: 1, flag: "", | ||
major: 1, minor: 16, patch: 2, flag: "", | ||
revision: rev ? rev[0] : NaN, | ||
@@ -98,0 +98,0 @@ toString: function(){ |
{ | ||
"name": "dojo", | ||
"version": "1.16.1", | ||
"version": "1.16.2", | ||
"directories": { | ||
@@ -14,3 +14,3 @@ "lib": "." | ||
"sinon": "1.12.2", | ||
"dojo": "1.16.1" | ||
"dojo": "1.16.2" | ||
}, | ||
@@ -17,0 +17,0 @@ "main": "main", |
@@ -47,3 +47,3 @@ define([ | ||
sval = source[name]; | ||
if (tval !== sval) { | ||
if (name !== '__proto__' && tval !== sval) { | ||
if (shouldDeepCopy(sval)) { | ||
@@ -50,0 +50,0 @@ if (Object.prototype.toString.call(sval) === '[object Date]') { // use this date test to handle crossing frame boundaries |
@@ -37,2 +37,8 @@ define([ | ||
'.deepCopy should ignore the __proto__ property': function() { | ||
var payload = JSON.parse('{ "__proto__": { "protoPollution": true }}'); | ||
util.deepCopy({}, payload); | ||
assert.isUndefined(({}).protoPollution); | ||
}, | ||
'deepCopy with FormData': function(){ | ||
@@ -39,0 +45,0 @@ if (has('native-formdata')) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4658830
138557