Comparing version 5.5.1 to 5.6.0
/*! | ||
* celia.js v5.5.1 | ||
* celia.js v5.6.0 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.5.1 | ||
* celia.js v5.6.0 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.5.1 | ||
* celia.js v5.6.0 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.5.1 | ||
* celia.js v5.6.0 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.5.1 | ||
* celia.js v5.6.0 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.5.1 | ||
* celia.js v5.6.0 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.5.1 | ||
* celia.js v5.6.0 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -250,4 +250,7 @@ * Released under the MIT License. | ||
// import toString from './_internal/_toString'; | ||
function isDate (value) { | ||
return toString$1(value) === '[object Date]'; | ||
// return toString(value) === '[object Date]'; | ||
return value instanceof Date; | ||
} | ||
@@ -284,2 +287,29 @@ | ||
var isArray = Array.isArray; | ||
function looseEqual(a, b) { | ||
if (a !== b) { | ||
if (!a || !b) { // null or undefined | ||
return false; | ||
} else if (isArray(a) && isArray(b)) { // 判断是否是数组 | ||
return a.length === b.length && a.every(function (e, i) { | ||
return looseEqual(e, b[i]); | ||
}); | ||
} else if (isDate(a) && isDate(b)) { // 判断日期 | ||
return +a === +b; | ||
} else if (isRegExp(a) && isRegExp(b)) { // 正则 | ||
return a.toString() === b.toString(); | ||
} else if (isObject(a) && isObject(b)) { // 对象 | ||
var keysA = Object.keys(a); | ||
var keysB = Object.keys(b); | ||
return keysA.length === keysB.length && keysA.every(function (key) { | ||
return looseEqual(a[key], b[key]); | ||
}); | ||
} else { | ||
return String(a) === String(b); | ||
} | ||
} | ||
return true; | ||
} | ||
function append (arr, obj) { | ||
@@ -306,2 +336,4 @@ arr[arr.length] = obj; | ||
function noop() { } | ||
function map$2 (elems, callback, context) { | ||
@@ -363,3 +395,3 @@ return map(forNumber$1, elems, callback, context); | ||
var rParser = /([^=?&]+)=?([^&]*)/g; | ||
var isArray = Array.isArray; | ||
var isArray$1 = Array.isArray; | ||
@@ -378,3 +410,3 @@ function parse (query) { | ||
result[key] = decode(value); | ||
} else if (isArray(last)) { // 继续追加 | ||
} else if (isArray$1(last)) { // 继续追加 | ||
append(last, decode(value)); | ||
@@ -488,3 +520,5 @@ } else { // 已存在key | ||
isWindow: isWindow, | ||
looseEqual: looseEqual, | ||
map: map$1, | ||
noop: noop, | ||
number: number, | ||
@@ -491,0 +525,0 @@ object: object, |
/*! | ||
* celia.js v5.5.1 | ||
* celia.js v5.6.0 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -248,4 +248,7 @@ * Released under the MIT License. | ||
// import toString from './_internal/_toString'; | ||
function isDate (value) { | ||
return toString$1(value) === '[object Date]'; | ||
// return toString(value) === '[object Date]'; | ||
return value instanceof Date; | ||
} | ||
@@ -282,2 +285,29 @@ | ||
var isArray = Array.isArray; | ||
function looseEqual(a, b) { | ||
if (a !== b) { | ||
if (!a || !b) { // null or undefined | ||
return false; | ||
} else if (isArray(a) && isArray(b)) { // 判断是否是数组 | ||
return a.length === b.length && a.every(function (e, i) { | ||
return looseEqual(e, b[i]); | ||
}); | ||
} else if (isDate(a) && isDate(b)) { // 判断日期 | ||
return +a === +b; | ||
} else if (isRegExp(a) && isRegExp(b)) { // 正则 | ||
return a.toString() === b.toString(); | ||
} else if (isObject(a) && isObject(b)) { // 对象 | ||
var keysA = Object.keys(a); | ||
var keysB = Object.keys(b); | ||
return keysA.length === keysB.length && keysA.every(function (key) { | ||
return looseEqual(a[key], b[key]); | ||
}); | ||
} else { | ||
return String(a) === String(b); | ||
} | ||
} | ||
return true; | ||
} | ||
function append (arr, obj) { | ||
@@ -304,2 +334,4 @@ arr[arr.length] = obj; | ||
function noop() { } | ||
function map$2 (elems, callback, context) { | ||
@@ -361,3 +393,3 @@ return map(forNumber$1, elems, callback, context); | ||
var rParser = /([^=?&]+)=?([^&]*)/g; | ||
var isArray = Array.isArray; | ||
var isArray$1 = Array.isArray; | ||
@@ -376,3 +408,3 @@ function parse (query) { | ||
result[key] = decode(value); | ||
} else if (isArray(last)) { // 继续追加 | ||
} else if (isArray$1(last)) { // 继续追加 | ||
append(last, decode(value)); | ||
@@ -486,3 +518,5 @@ } else { // 已存在key | ||
isWindow: isWindow, | ||
looseEqual: looseEqual, | ||
map: map$1, | ||
noop: noop, | ||
number: number, | ||
@@ -489,0 +523,0 @@ object: object, |
/*! | ||
* celia.js v5.5.1 | ||
* celia.js v5.6.0 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -254,4 +254,7 @@ * Released under the MIT License. | ||
// import toString from './_internal/_toString'; | ||
function isDate (value) { | ||
return toString$1(value) === '[object Date]'; | ||
// return toString(value) === '[object Date]'; | ||
return value instanceof Date; | ||
} | ||
@@ -288,2 +291,29 @@ | ||
var isArray = Array.isArray; | ||
function looseEqual(a, b) { | ||
if (a !== b) { | ||
if (!a || !b) { // null or undefined | ||
return false; | ||
} else if (isArray(a) && isArray(b)) { // 判断是否是数组 | ||
return a.length === b.length && a.every(function (e, i) { | ||
return looseEqual(e, b[i]); | ||
}); | ||
} else if (isDate(a) && isDate(b)) { // 判断日期 | ||
return +a === +b; | ||
} else if (isRegExp(a) && isRegExp(b)) { // 正则 | ||
return a.toString() === b.toString(); | ||
} else if (isObject(a) && isObject(b)) { // 对象 | ||
var keysA = Object.keys(a); | ||
var keysB = Object.keys(b); | ||
return keysA.length === keysB.length && keysA.every(function (key) { | ||
return looseEqual(a[key], b[key]); | ||
}); | ||
} else { | ||
return String(a) === String(b); | ||
} | ||
} | ||
return true; | ||
} | ||
function append (arr, obj) { | ||
@@ -310,2 +340,4 @@ arr[arr.length] = obj; | ||
function noop() { } | ||
function map$2 (elems, callback, context) { | ||
@@ -367,3 +399,3 @@ return map(forNumber$1, elems, callback, context); | ||
var rParser = /([^=?&]+)=?([^&]*)/g; | ||
var isArray = Array.isArray; | ||
var isArray$1 = Array.isArray; | ||
@@ -382,3 +414,3 @@ function parse (query) { | ||
result[key] = decode(value); | ||
} else if (isArray(last)) { // 继续追加 | ||
} else if (isArray$1(last)) { // 继续追加 | ||
append(last, decode(value)); | ||
@@ -492,3 +524,5 @@ } else { // 已存在key | ||
isWindow: isWindow, | ||
looseEqual: looseEqual, | ||
map: map$1, | ||
noop: noop, | ||
number: number, | ||
@@ -495,0 +529,0 @@ object: object, |
/*! | ||
* celia.js v5.5.1 | ||
* celia.js v5.6.0 | ||
* (c) 2018-2019 Jesse Feng | ||
* Released under the MIT License. | ||
*/ | ||
var n,t;n=this,t=function(){"use strict";var n={after:function(n,t,e){var r=n[t];n[t]=function(){r.apply(this,arguments),e.call(this)}},around:function(n,t,e){var r=n[t];n[t]=function(){for(var n=[],t=arguments.length;t--;)n[t]=arguments[t];return e.call(this,r,n)}},before:function(n,t,e){var r=n[t];n[t]=function(){e.call(this),r.apply(this,arguments)}}},t={objectobject:7,objectundefined:6};var e={msie:function(){return document.documentMode||t[typeof document.all+typeof XMLHttpRequest]},os:function(n){n=n||"";var t={};t.webkit=n.match(/WebKit\/([\d.]+)/),t.android=n.match(/(Android)\s+([\d.]+)/)||n.match(/Silk-Accelerated/),t.androidICS=t.android&&n.match(/(Android)\s4/),t.ipad=n.match(/(iPad).*OS\s([\d_]+)/),t.iphone=!t.ipad&&n.match(/(iPhone\sOS)\s([\d_]+)/),t.ios7=(t.ipad||t.iphone)&&(n.match(/7_/)||n.match(/8_/)),t.webos=n.match(/(webOS|hpwOS)[\s/]([\d.]+)/),t.touchpad=t.webos&&n.match(/TouchPad/),t.ios=t.ipad||t.iphone,t.playbook=n.match(/PlayBook/),t.blackberry10=n.match(/BB10/),t.blackberry=t.playbook||t.blackberry10||n.match(/BlackBerry/),t.chrome=n.match(/Chrome/),t.opera=n.match(/Opera/),t.safari=n.match(/Safari\/([\d.]+)/),t.fennec=n.match(/fennec/i)||n.match(/Firefox/);var e=n.match(/MSIE\s([\d.]+)/)||n.match(/(?:trident)(?:.*rv:([\w.]+))?/i);return e&&(t.ie=parseFloat(e[1])),t.ieTouch=t.ie&&n.toLowerCase().match(/touch/i),t.tizen=n.match(/Tizen/i),t.kindle=n.match(/Silk-Accelerated/),t.wechat=n.match(/MicroMessenger/i),t}},r=/[-_. ]+([a-z])/g,a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,f=/\\(\\)?/g;function c(n){return"string"==typeof n}function s(n){return null==n}function o(n){return"function"==typeof n}function i(n){return"number"==typeof n}function u(n){return!s(n)&&i(n.length)&&!o(n)}function l(n,t){return t?n.bind(t):n}function d(n,t,e,r,o){for(var i=l(r,o),c=t,u=void 0;!1!==u&&c<e;c++)u=i(n[c],c,n)}function p(n,t,e){d(n,0,n.length,t,e)}function h(n,t,e,r){var o=l(e,r);for(var i in t)if(!1===n(o,t[i],i))break}function m(r,n,t){h(function(n,t,e){return r.hasOwnProperty(e)&&n(t,e,r)},r,n,t)}function b(n,t,e){for(var r=l(t,e),o=0,i=void 0;!1!==i&&o<n;o++)i=r(o,o,o)}function v(n,t,e){n&&(u(n)?p(n,t,e):i(n)?b(n,t,e):m(n,t,e))}function y(n,t,e){return n&&b(n,t,e)}function g(n){return null!==n&&"object"==typeof n}function j(n,t,e){return g(n)&&m(n,t,e)}function w(n){return void 0===n}function O(n,t,e){for(var r;!s(n)&&(r=a.exec(t));){var o=r[0],i=r[1],c=r[2],u=r[3];n=n[c?u.replace(f,"$1"):i||o]}return w(n)?e:n}var k="celia_uid_"+(1e9*Math.random()>>>0),S=0;var A=Object.prototype.hasOwnProperty;var C=Object.prototype.toString;function x(n){return C.call(n)}var P=Number.isInteger||function(n){return i(n)&&isFinite(n)&&n>>0===n};function E(n,t){return n[n.length]=t,n}function F(n,t,e,r){var o=[],i=l(e,r);return n(t,function(n,t){s(n=i(n,t))||E(o,n)}),o}var I={forNumber:y,map:function(n,t,e){return F(y,n,t,e)}};var N={assign:Object.assign||function(n){if(s(n))throw new TypeError("Cannot convert undefined or null to object");var e=Object(n);return d(arguments,1,arguments.length,function(n){m(n,function(n,t){e[t]=n})}),e},forIn:function(n,t,e){return g(n)&&function(r,n,t){h(function(n,t,e){return n(t,e,r)},r,n,t)}(n,t,e)},forOwn:j,get:O,map:function(n,t,e){return F(j,n,t,e)}};function B(n){return decodeURIComponent(n.replace(/\+/g," "))}var R=/([^=?&]+)=?([^&]*)/g,T=Array.isArray;var _={parse:function(n){var t={};if(c(n))for(var e;e=R.exec(n);){var r=e[1];if(e[0]!==r){var o=e[2],i=t[r];w(i)?t[r]=B(o):T(i)?E(i,B(o)):t[r]=[i,B(o)]}}return t},prefix:function(n,t){return n?(t||"?")+n:n},stringify:function(n,t,e){void 0===t&&(t="&"),void 0===e&&(e="=");var r=[];return j(n,function(n,t){n||!s(n)&&!isNaN(n)||(n=""),E(r,encodeURIComponent(t)+e+encodeURIComponent(n))}),r.length?r.join(t):""}};var M={};"Boolean,Number,String,Function,AsyncFunction,Array,Date,RegExp,Object,Error,Symbol".split(",").forEach(function(n){M["[object "+n+"]"]=n.toLowerCase()});var U={isAbsolute:function(n){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)},join:function(n){var t=arguments.length;s(n)?1<t&&(n=""):n=n.replace(/\/+$/,"");var e="";return d(arguments,1,t,function(n){n&&(e+="/",e+=n)}),e&&(n+=e.replace(/\/+/g,"/")),n}};return{aop:n,browser:e,camelCase:function(n){return c(n)?n.replace(r,function(n,t){return t.toUpperCase()}):n},debounce:function(n,t){var e=null;function r(){null!==e&&(clearTimeout(e),e=null)}function o(){r(),e=setTimeout(n,t)}return o.cancel=r,o},each:v,forEach:function(n,t,e){return n&&p(n,t,e)},forNumber:y,forOwn:j,get:O,getUid:function(n){return n[k]||(n[k]=++S)},hasOwn:function(n,t){return A.call(n,t)},isArrayLike:u,isAsyncFunction:function(n){return"[object AsyncFunction]"===x(n)},isBoolean:function(n){return"boolean"==typeof n},isDate:function(n){return"[object Date]"===x(n)},isFunction:o,isInteger:P,isNil:s,isNumber:i,isObject:g,isPlainObject:function(n){return!s(n)&&"[object Object]"===x(n)},isPromiseLike:function(n){return!!n&&o(n.then)&&o(n.catch)},isRegExp:function(n){return n instanceof RegExp},isString:c,isUndefined:w,isWindow:function(n){return n&&n===n.window},map:function(n,t,e){return F(v,n,t,e)},number:I,object:N,qs:_,sleep:function(t){return new Promise(function(n){setTimeout(n,t)})},type:function(n){return s(n)?n+"":g(n)||o(n)?M[x(n)]||"object":typeof n},url:U}},"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(n=n||self).celia=t(); | ||
var n,t;n=this,t=function(){"use strict";var n={after:function(n,t,e){var r=n[t];n[t]=function(){r.apply(this,arguments),e.call(this)}},around:function(n,t,e){var r=n[t];n[t]=function(){for(var n=[],t=arguments.length;t--;)n[t]=arguments[t];return e.call(this,r,n)}},before:function(n,t,e){var r=n[t];n[t]=function(){e.call(this),r.apply(this,arguments)}}},t={objectobject:7,objectundefined:6};var e={msie:function(){return document.documentMode||t[typeof document.all+typeof XMLHttpRequest]},os:function(n){n=n||"";var t={};t.webkit=n.match(/WebKit\/([\d.]+)/),t.android=n.match(/(Android)\s+([\d.]+)/)||n.match(/Silk-Accelerated/),t.androidICS=t.android&&n.match(/(Android)\s4/),t.ipad=n.match(/(iPad).*OS\s([\d_]+)/),t.iphone=!t.ipad&&n.match(/(iPhone\sOS)\s([\d_]+)/),t.ios7=(t.ipad||t.iphone)&&(n.match(/7_/)||n.match(/8_/)),t.webos=n.match(/(webOS|hpwOS)[\s/]([\d.]+)/),t.touchpad=t.webos&&n.match(/TouchPad/),t.ios=t.ipad||t.iphone,t.playbook=n.match(/PlayBook/),t.blackberry10=n.match(/BB10/),t.blackberry=t.playbook||t.blackberry10||n.match(/BlackBerry/),t.chrome=n.match(/Chrome/),t.opera=n.match(/Opera/),t.safari=n.match(/Safari\/([\d.]+)/),t.fennec=n.match(/fennec/i)||n.match(/Firefox/);var e=n.match(/MSIE\s([\d.]+)/)||n.match(/(?:trident)(?:.*rv:([\w.]+))?/i);return e&&(t.ie=parseFloat(e[1])),t.ieTouch=t.ie&&n.toLowerCase().match(/touch/i),t.tizen=n.match(/Tizen/i),t.kindle=n.match(/Silk-Accelerated/),t.wechat=n.match(/MicroMessenger/i),t}},r=/[-_. ]+([a-z])/g,a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,f=/\\(\\)?/g;function c(n){return"string"==typeof n}function s(n){return null==n}function o(n){return"function"==typeof n}function i(n){return"number"==typeof n}function u(n){return!s(n)&&i(n.length)&&!o(n)}function l(n,t){return t?n.bind(t):n}function d(n,t,e,r,o){for(var i=l(r,o),c=t,u=void 0;!1!==u&&c<e;c++)u=i(n[c],c,n)}function h(n,t,e){d(n,0,n.length,t,e)}function p(n,t,e,r){var o=l(e,r);for(var i in t)if(!1===n(o,t[i],i))break}function m(r,n,t){p(function(n,t,e){return r.hasOwnProperty(e)&&n(t,e,r)},r,n,t)}function b(n,t,e){for(var r=l(t,e),o=0,i=void 0;!1!==i&&o<n;o++)i=r(o,o,o)}function v(n,t,e){n&&(u(n)?h(n,t,e):i(n)?b(n,t,e):m(n,t,e))}function y(n,t,e){return n&&b(n,t,e)}function g(n){return null!==n&&"object"==typeof n}function j(n,t,e){return g(n)&&m(n,t,e)}function w(n){return void 0===n}function O(n,t,e){for(var r;!s(n)&&(r=a.exec(t));){var o=r[0],i=r[1],c=r[2],u=r[3];n=n[c?u.replace(f,"$1"):i||o]}return w(n)?e:n}var S="celia_uid_"+(1e9*Math.random()>>>0),k=0;var A=Object.prototype.hasOwnProperty;var C=Object.prototype.toString;function x(n){return C.call(n)}function E(n){return n instanceof Date}var P=Number.isInteger||function(n){return i(n)&&isFinite(n)&&n>>0===n};function F(n){return n instanceof RegExp}var I=Array.isArray;function N(n,t){return n[n.length]=t,n}function B(n,t,e,r){var o=[],i=l(e,r);return n(t,function(n,t){s(n=i(n,t))||N(o,n)}),o}var R={forNumber:y,map:function(n,t,e){return B(y,n,t,e)}};var T={assign:Object.assign||function(n){if(s(n))throw new TypeError("Cannot convert undefined or null to object");var e=Object(n);return d(arguments,1,arguments.length,function(n){m(n,function(n,t){e[t]=n})}),e},forIn:function(n,t,e){return g(n)&&function(r,n,t){p(function(n,t,e){return n(t,e,r)},r,n,t)}(n,t,e)},forOwn:j,get:O,map:function(n,t,e){return B(j,n,t,e)}};function _(n){return decodeURIComponent(n.replace(/\+/g," "))}var M=/([^=?&]+)=?([^&]*)/g,U=Array.isArray;var z={parse:function(n){var t={};if(c(n))for(var e;e=M.exec(n);){var r=e[1];if(e[0]!==r){var o=e[2],i=t[r];w(i)?t[r]=_(o):U(i)?N(i,_(o)):t[r]=[i,_(o)]}}return t},prefix:function(n,t){return n?(t||"?")+n:n},stringify:function(n,t,e){void 0===t&&(t="&"),void 0===e&&(e="=");var r=[];return j(n,function(n,t){n||!s(n)&&!isNaN(n)||(n=""),N(r,encodeURIComponent(t)+e+encodeURIComponent(n))}),r.length?r.join(t):""}};var L={};"Boolean,Number,String,Function,AsyncFunction,Array,Date,RegExp,Object,Error,Symbol".split(",").forEach(function(n){L["[object "+n+"]"]=n.toLowerCase()});var q={isAbsolute:function(n){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)},join:function(n){var t=arguments.length;s(n)?1<t&&(n=""):n=n.replace(/\/+$/,"");var e="";return d(arguments,1,t,function(n){n&&(e+="/",e+=n)}),e&&(n+=e.replace(/\/+/g,"/")),n}};return{aop:n,browser:e,camelCase:function(n){return c(n)?n.replace(r,function(n,t){return t.toUpperCase()}):n},debounce:function(n,t){var e=null;function r(){null!==e&&(clearTimeout(e),e=null)}function o(){r(),e=setTimeout(n,t)}return o.cancel=r,o},each:v,forEach:function(n,t,e){return n&&h(n,t,e)},forNumber:y,forOwn:j,get:O,getUid:function(n){return n[S]||(n[S]=++k)},hasOwn:function(n,t){return A.call(n,t)},isArrayLike:u,isAsyncFunction:function(n){return"[object AsyncFunction]"===x(n)},isBoolean:function(n){return"boolean"==typeof n},isDate:E,isFunction:o,isInteger:P,isNil:s,isNumber:i,isObject:g,isPlainObject:function(n){return!s(n)&&"[object Object]"===x(n)},isPromiseLike:function(n){return!!n&&o(n.then)&&o(n.catch)},isRegExp:F,isString:c,isUndefined:w,isWindow:function(n){return n&&n===n.window},looseEqual:function e(t,r){if(t===r)return!0;if(t&&r){if(I(t)&&I(r))return t.length===r.length&&t.every(function(n,t){return e(n,r[t])});if(E(t)&&E(r))return+t==+r;if(F(t)&&F(r))return t.toString()===r.toString();if(g(t)&&g(r)){var n=Object.keys(t),o=Object.keys(r);return n.length===o.length&&n.every(function(n){return e(t[n],r[n])})}return String(t)===String(r)}return!1},map:function(n,t,e){return B(v,n,t,e)},noop:function(){},number:R,object:T,qs:z,sleep:function(t){return new Promise(function(n){setTimeout(n,t)})},type:function(n){return s(n)?n+"":g(n)||o(n)?L[x(n)]||"object":typeof n},url:q}},"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(n=n||self).celia=t(); |
/*! | ||
* celia.js v5.5.1 | ||
* celia.js v5.6.0 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.5.1 | ||
* celia.js v5.6.0 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.5.1 | ||
* celia.js v5.6.0 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.5.1 | ||
* celia.js v5.6.0 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.5.1 | ||
* celia.js v5.6.0 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.5.1 | ||
* celia.js v5.6.0 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.5.1 | ||
* celia.js v5.6.0 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.5.1 | ||
* celia.js v5.6.0 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.5.1 | ||
* celia.js v5.6.0 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.5.1 | ||
* celia.js v5.6.0 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.5.1 | ||
* celia.js v5.6.0 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.5.1 | ||
* celia.js v5.6.0 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
@@ -27,3 +27,5 @@ import aop from './aop.js'; | ||
import isWindow from './isWindow.js'; | ||
import looseEqual from './looseEqual.js'; | ||
import map from './map.js'; | ||
import noop from './noop.js'; | ||
import number from './number.js'; | ||
@@ -62,3 +64,5 @@ import object from './object.js'; | ||
isWindow, | ||
looseEqual, | ||
map, | ||
noop, | ||
number, | ||
@@ -65,0 +69,0 @@ object, |
@@ -1,5 +0,6 @@ | ||
import toString from './_internal/_toString'; | ||
// import toString from './_internal/_toString'; | ||
export default function (value) { | ||
return toString(value) === '[object Date]'; | ||
// return toString(value) === '[object Date]'; | ||
return value instanceof Date; | ||
}; |
{ | ||
"name": "celia", | ||
"version": "5.5.1", | ||
"version": "5.6.0", | ||
"description": "A modern JavaScript utility library delivering modularity, performance, & extras.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/celia.c.js", |
@@ -96,3 +96,5 @@ # celia | ||
- isWindow | ||
- looseEqual | ||
- map | ||
- noop | ||
- sleep | ||
@@ -99,0 +101,0 @@ - type |
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
93578
97
2714
120