Comparing version 1.14.5 to 1.14.6
@@ -82,3 +82,3 @@ define(["../global", "../has", "./config", "require", "module"], function(global, has, config, require, module){ | ||
var rev = "$Rev: 8468a71f $".match(/[0-9a-f]{7,}/); | ||
var rev = "$Rev: 9f603a40 $".match(/[0-9a-f]{7,}/); | ||
dojo.version = { | ||
@@ -96,3 +96,3 @@ // summary: | ||
major: 1, minor: 14, patch: 5, flag: "", | ||
major: 1, minor: 14, patch: 6, flag: "", | ||
revision: rev ? rev[0] : NaN, | ||
@@ -99,0 +99,0 @@ toString: function(){ |
{ | ||
"name": "dojo", | ||
"version": "1.14.5", | ||
"version": "1.14.6", | ||
"directories": { | ||
@@ -14,3 +14,3 @@ "lib": "." | ||
"sinon": "1.12.2", | ||
"dojo": "1.14.5" | ||
"dojo": "1.14.6" | ||
}, | ||
@@ -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
4650637
138346