Comparing version 0.1.7 to 0.1.8
16
clone.js
"use strict"; | ||
function objectToString(o) { | ||
return Object.prototype.toString.call(o); | ||
} | ||
var util = { | ||
isArray: function (ar) { | ||
return Array.isArray(ar) || (typeof ar === 'object' && objectToString(ar) === '[object Array]'); | ||
}, | ||
isDate: function (d) { | ||
return typeof d === 'object' && objectToString(d) === '[object Date]'; | ||
}, | ||
isRegExp: function (re) { | ||
return typeof re === 'object' && objectToString(re) === '[object RegExp]'; | ||
} | ||
}; | ||
var util = require('util'); | ||
module.exports = clone; | ||
@@ -6,0 +18,0 @@ |
@@ -11,3 +11,3 @@ { | ||
], | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"repository": { | ||
@@ -30,3 +30,4 @@ "type": "git", | ||
"w1nk (https://github.com/w1nk)", | ||
"Hugh Kennedy (http://twitter.com/hughskennedy)" | ||
"Hugh Kennedy (http://twitter.com/hughskennedy)", | ||
"Dustin Diaz (http://dustindiaz.com)" | ||
], | ||
@@ -33,0 +34,0 @@ "engines": { |
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
13979
281