Socket
Socket
Sign inDemoInstall

dojo

Package Overview
Dependencies
0
Maintainers
3
Versions
104
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.14.0 to 1.14.1

4

_base/kernel.js

@@ -82,3 +82,3 @@ define(["../global", "../has", "./config", "require", "module"], function(global, has, config, require, module){

var rev = "$Rev: b27d4da $".match(/[0-9a-f]{7,}/);
var rev = "$Rev: c38f5a72 $".match(/[0-9a-f]{7,}/);
dojo.version = {

@@ -96,3 +96,3 @@ // summary:

major: 1, minor: 14, patch: 0, flag: "",
major: 1, minor: 14, patch: 1, flag: "",
revision: rev ? rev[0] : NaN,

@@ -99,0 +99,0 @@ toString: function(){

{
"name": "dojo",
"version": "1.14.0",
"version": "1.14.1",
"directories": {

@@ -14,3 +14,3 @@ "lib": "."

"sinon": "1.12.2",
"dojo": "1.14.0"
"dojo": "1.14.1"
},

@@ -28,5 +28,9 @@ "main": "main",

"description": "Dojo core is a powerful, lightweight library that makes common tasks quicker and easier. Animate elements, manipulate the DOM, and query with easy CSS syntax, all without sacrificing performance.",
"license" : "BSD-3-Clause OR AFL-2.1",
"license": "BSD-3-Clause OR AFL-2.1",
"bugs": "http://bugs.dojotoolkit.org/",
"keywords": [ "JavaScript", "Dojo", "Toolkit" ],
"keywords": [
"JavaScript",
"Dojo",
"Toolkit"
],
"homepage": "http://dojotoolkit.org/",

@@ -33,0 +37,0 @@ "repository": {

@@ -14,6 +14,6 @@ define([

for (var name in source) {
var tval = target[name],
var tval = target[name],
sval = source[name];
if (tval !== sval) {
if (sval && typeof sval === 'object') {
if (sval && typeof sval === 'object' && !(sval instanceof FormData)) {
if (Object.prototype.toString.call(sval) === '[object Date]') { // use this date test to handle crossing frame boundaries

@@ -20,0 +20,0 @@ target[name] = new Date(sval);

define([
'./request/handlers',
'./request/registry',
'dojo/has!host-browser?./request/util',
'dojo/has!host-browser?./request/xhr',

@@ -5,0 +6,0 @@ 'dojo/has!host-browser?./request/iframe',

@@ -10,2 +10,3 @@ define([

'deepCopy': function () {
var formData = new FormData();
var object1 = {

@@ -16,3 +17,3 @@ apple: 0,

price: 100,
code: "B12345",
code: "B12345",
purchased: new Date(2016, 0, 1)

@@ -25,5 +26,6 @@ },

price: 200,
code: "B98765",
code: "B98765",
purchased: new Date(2017, 0, 1)
},
formData: formData,
durian: 100

@@ -35,6 +37,7 @@ };

assert.strictEqual(object1.banana.code, "B98765");
assert.strictEqual(object1.formData, formData);
assert.equal(object1.banana.purchased.getTime(), new Date(2017, 0, 1).getTime());
}
});
});
});
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc