Comparing version 5.3.0 to 5.3.1
/*! | ||
* celia.js v5.3.0 | ||
* celia.js v5.3.1 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.3.0 | ||
* celia.js v5.3.1 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.3.0 | ||
* celia.js v5.3.1 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.3.0 | ||
* celia.js v5.3.1 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.3.0 | ||
* celia.js v5.3.1 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.3.0 | ||
* celia.js v5.3.1 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.3.0 | ||
* celia.js v5.3.1 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -209,4 +209,7 @@ * Released under the MIT License. | ||
// import toString from './_internal/_toString'; | ||
function isRegExp (value) { | ||
return toString$1(value) === '[object RegExp]'; | ||
// return toString(value) === '[object RegExp]'; | ||
return value instanceof RegExp; | ||
} | ||
@@ -213,0 +216,0 @@ |
/*! | ||
* celia.js v5.3.0 | ||
* celia.js v5.3.1 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -207,4 +207,7 @@ * Released under the MIT License. | ||
// import toString from './_internal/_toString'; | ||
function isRegExp (value) { | ||
return toString$1(value) === '[object RegExp]'; | ||
// return toString(value) === '[object RegExp]'; | ||
return value instanceof RegExp; | ||
} | ||
@@ -211,0 +214,0 @@ |
/*! | ||
* celia.js v5.3.0 | ||
* celia.js v5.3.1 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -213,4 +213,7 @@ * Released under the MIT License. | ||
// import toString from './_internal/_toString'; | ||
function isRegExp (value) { | ||
return toString$1(value) === '[object RegExp]'; | ||
// return toString(value) === '[object RegExp]'; | ||
return value instanceof RegExp; | ||
} | ||
@@ -217,0 +220,0 @@ |
/*! | ||
* celia.js v5.3.0 | ||
* celia.js v5.3.1 | ||
* (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]}},r=/-([a-z])/g,f=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g;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 p(n,t){return t?n.bind(t):n}function c(n,t,e,r,o){for(var i=p(r,o),u=t,c=void 0;!1!==c&&u<e;u++)c=i(n[u],u,n)}function l(n,t,e){c(n,0,n.length,t,e)}function d(n,t,e,r){var o=p(e,r);for(var i in t)if(!1===n(o,t[i],i))break}function v(r,n,t){d(function(n,t,e){return r.hasOwnProperty(e)&&n(t,e,r)},r,n,t)}function b(n,t,e){for(var r=p(t,e),o=0,i=void 0;!1!==i&&o<n;o++)i=r(o,o,o)}function g(n,t,e){n&&(u(n)?l(n,t,e):i(n)?b(n,t,e):v(n,t,e))}function m(n,t,e){return n&&b(n,t,e)}function y(n){return!s(n)&&"object"==typeof n}function h(n,t,e){return y(n)&&v(n,t,e)}function j(n){return void 0===n}function w(n,t,e){for(var r;!s(n)&&(r=f.exec(t));){var o=r[0],i=r[1],u=r[2],c=r[3];n=n[u?c.replace(a,"$1"):i||o]}return j(n)?e:n}var x="celia_uid_"+(1e9*Math.random()>>>0),A=0;var N=Object.prototype.toString;function O(n){return N.call(n)}var C=Number.isInteger;function E(n){return"string"==typeof n}function R(n,t){return n[n.length]=t,n}function F(n,t,e,r){var o=[],i=p(e,r);return n(t,function(n,t){s(n=i(n,t))||R(o,n)}),o}C||(C=function(n){return i(n)&&isFinite(n)&&n>>0===n});var I={forNumber:m,map:function(n,t,e){return F(m,n,t,e)}};var U={assign:Object.assign||function(n){if(s(n))throw new TypeError("Cannot convert undefined or null to object");var e=Object(n);return c(arguments,1,arguments.length,function(n){h(n,function(n,t){e[t]=n})}),e},forIn:function(n,t,e){return y(n)&&function(r,n,t){d(function(n,t,e){return n(t,e,r)},r,n,t)}(n,t,e)},forOwn:h,get:w,map:function(n,t,e){return F(h,n,t,e)}};function L(n){return decodeURIComponent(n.replace(/\+/g," "))}var S=/([^=?&]+)=?([^&]*)/g,k=Array.isArray;var z={parse:function(n){var t={};if(E(n))for(var e;e=S.exec(n);){var r=e[1];if(e[0]!==r){var o=e[2],i=t[r];j(i)?t[r]=L(o):k(i)?R(i,L(o)):t[r]=[i,L(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 h(n,function(n,t){n||!s(n)&&!isNaN(n)||(n=""),R(r,encodeURIComponent(t)+e+encodeURIComponent(n))}),r.length?r.join(t):""}};var D={};"Boolean,Number,String,Function,AsyncFunction,Array,Date,RegExp,Object,Error,Symbol".split(",").forEach(function(n){D["[object "+n+"]"]=n.toLowerCase()});var M={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 c(arguments,1,t,function(n){n&&(e+="/",e+=n)}),e&&(n+=e.replace(/\/+/g,"/")),n}};return{aop:n,browser:e,camelCase:function(n){return n.replace(r,function(n,t){return t.toUpperCase()})},each:g,forEach:function(n,t,e){return n&&l(n,t,e)},forNumber:m,forOwn:h,get:w,getUid:function(n){return n[x]||(n[x]=++A)},isArrayLike:u,isAsyncFunction:function(n){return"[object AsyncFunction]"===O(n)},isBoolean:function(n){return"boolean"==typeof n},isDate:function(n){return"[object Date]"===O(n)},isFunction:o,isInteger:function(n){return C(n)},isNil:s,isNumber:i,isObject:y,isPromiseLike:function(n){return!!n&&o(n.then)},isRegExp:function(n){return"[object RegExp]"===O(n)},isString:E,isUndefined:j,isWindow:function(n){return n&&n===n.window},map:function(n,t,e){return F(g,n,t,e)},number:I,object:U,qs:z,sleep:function(t){return new Promise(function(n){setTimeout(n,t)})},type:function(n){return s(n)?n+"":y(n)||o(n)?D[O(n)]||"object":typeof n},url:M}},"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]}},r=/-([a-z])/g,f=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g;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 p(n,t){return t?n.bind(t):n}function c(n,t,e,r,o){for(var i=p(r,o),u=t,c=void 0;!1!==c&&u<e;u++)c=i(n[u],u,n)}function l(n,t,e){c(n,0,n.length,t,e)}function d(n,t,e,r){var o=p(e,r);for(var i in t)if(!1===n(o,t[i],i))break}function v(r,n,t){d(function(n,t,e){return r.hasOwnProperty(e)&&n(t,e,r)},r,n,t)}function b(n,t,e){for(var r=p(t,e),o=0,i=void 0;!1!==i&&o<n;o++)i=r(o,o,o)}function g(n,t,e){n&&(u(n)?l(n,t,e):i(n)?b(n,t,e):v(n,t,e))}function m(n,t,e){return n&&b(n,t,e)}function y(n){return!s(n)&&"object"==typeof n}function h(n,t,e){return y(n)&&v(n,t,e)}function j(n){return void 0===n}function w(n,t,e){for(var r;!s(n)&&(r=f.exec(t));){var o=r[0],i=r[1],u=r[2],c=r[3];n=n[u?c.replace(a,"$1"):i||o]}return j(n)?e:n}var x="celia_uid_"+(1e9*Math.random()>>>0),A=0;var N=Object.prototype.toString;function O(n){return N.call(n)}var C=Number.isInteger;function E(n){return"string"==typeof n}function R(n,t){return n[n.length]=t,n}function F(n,t,e,r){var o=[],i=p(e,r);return n(t,function(n,t){s(n=i(n,t))||R(o,n)}),o}C||(C=function(n){return i(n)&&isFinite(n)&&n>>0===n});var I={forNumber:m,map:function(n,t,e){return F(m,n,t,e)}};var U={assign:Object.assign||function(n){if(s(n))throw new TypeError("Cannot convert undefined or null to object");var e=Object(n);return c(arguments,1,arguments.length,function(n){h(n,function(n,t){e[t]=n})}),e},forIn:function(n,t,e){return y(n)&&function(r,n,t){d(function(n,t,e){return n(t,e,r)},r,n,t)}(n,t,e)},forOwn:h,get:w,map:function(n,t,e){return F(h,n,t,e)}};function L(n){return decodeURIComponent(n.replace(/\+/g," "))}var S=/([^=?&]+)=?([^&]*)/g,k=Array.isArray;var z={parse:function(n){var t={};if(E(n))for(var e;e=S.exec(n);){var r=e[1];if(e[0]!==r){var o=e[2],i=t[r];j(i)?t[r]=L(o):k(i)?R(i,L(o)):t[r]=[i,L(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 h(n,function(n,t){n||!s(n)&&!isNaN(n)||(n=""),R(r,encodeURIComponent(t)+e+encodeURIComponent(n))}),r.length?r.join(t):""}};var D={};"Boolean,Number,String,Function,AsyncFunction,Array,Date,RegExp,Object,Error,Symbol".split(",").forEach(function(n){D["[object "+n+"]"]=n.toLowerCase()});var M={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 c(arguments,1,t,function(n){n&&(e+="/",e+=n)}),e&&(n+=e.replace(/\/+/g,"/")),n}};return{aop:n,browser:e,camelCase:function(n){return n.replace(r,function(n,t){return t.toUpperCase()})},each:g,forEach:function(n,t,e){return n&&l(n,t,e)},forNumber:m,forOwn:h,get:w,getUid:function(n){return n[x]||(n[x]=++A)},isArrayLike:u,isAsyncFunction:function(n){return"[object AsyncFunction]"===O(n)},isBoolean:function(n){return"boolean"==typeof n},isDate:function(n){return"[object Date]"===O(n)},isFunction:o,isInteger:function(n){return C(n)},isNil:s,isNumber:i,isObject:y,isPromiseLike:function(n){return!!n&&o(n.then)},isRegExp:function(n){return n instanceof RegExp},isString:E,isUndefined:j,isWindow:function(n){return n&&n===n.window},map:function(n,t,e){return F(g,n,t,e)},number:I,object:U,qs:z,sleep:function(t){return new Promise(function(n){setTimeout(n,t)})},type:function(n){return s(n)?n+"":y(n)||o(n)?D[O(n)]||"object":typeof n},url:M}},"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(n=n||self).celia=t(); |
/*! | ||
* celia.js v5.3.0 | ||
* celia.js v5.3.1 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.3.0 | ||
* celia.js v5.3.1 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.3.0 | ||
* celia.js v5.3.1 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.3.0 | ||
* celia.js v5.3.1 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.3.0 | ||
* celia.js v5.3.1 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.3.0 | ||
* celia.js v5.3.1 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.3.0 | ||
* celia.js v5.3.1 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.3.0 | ||
* celia.js v5.3.1 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.3.0 | ||
* celia.js v5.3.1 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.3.0 | ||
* celia.js v5.3.1 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.3.0 | ||
* celia.js v5.3.1 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.3.0 | ||
* celia.js v5.3.1 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
@@ -1,5 +0,6 @@ | ||
import toString from './_internal/_toString'; | ||
// import toString from './_internal/_toString'; | ||
export default function (value) { | ||
return toString(value) === '[object RegExp]'; | ||
// return toString(value) === '[object RegExp]'; | ||
return value instanceof RegExp; | ||
}; |
{ | ||
"name": "celia", | ||
"version": "5.3.0", | ||
"version": "5.3.1", | ||
"description": "A modern JavaScript utility library delivering modularity, performance, & extras.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/celia.c.js", |
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
74956
2289