Comparing version 5.0.2 to 5.0.3
/*! | ||
* celia.js v5.0.2 | ||
* celia.js v5.0.3 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.0.2 | ||
* celia.js v5.0.3 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.0.2 | ||
* celia.js v5.0.3 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.0.2 | ||
* celia.js v5.0.3 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -98,2 +98,10 @@ * Released under the MIT License. | ||
var UID_PROPERTY = 'celia_uid_' + ((Math.random() * 1e9) >>> 0); | ||
var uidCounter = 0; | ||
function getUid (obj) { | ||
return obj[UID_PROPERTY] || | ||
(obj[UID_PROPERTY] = ++uidCounter); | ||
} | ||
var toString = Object.prototype.toString; | ||
@@ -312,2 +320,3 @@ | ||
forOwn: forOwn$1, | ||
getUid: getUid, | ||
isArrayLike: isArrayLike, | ||
@@ -314,0 +323,0 @@ isAsyncFunction: isAsyncFunction, |
/*! | ||
* celia.js v5.0.2 | ||
* celia.js v5.0.3 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -96,2 +96,10 @@ * Released under the MIT License. | ||
var UID_PROPERTY = 'celia_uid_' + ((Math.random() * 1e9) >>> 0); | ||
var uidCounter = 0; | ||
function getUid (obj) { | ||
return obj[UID_PROPERTY] || | ||
(obj[UID_PROPERTY] = ++uidCounter); | ||
} | ||
var toString = Object.prototype.toString; | ||
@@ -310,2 +318,3 @@ | ||
forOwn: forOwn$1, | ||
getUid: getUid, | ||
isArrayLike: isArrayLike, | ||
@@ -312,0 +321,0 @@ isAsyncFunction: isAsyncFunction, |
/*! | ||
* celia.js v5.0.2 | ||
* celia.js v5.0.3 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -102,2 +102,10 @@ * Released under the MIT License. | ||
var UID_PROPERTY = 'celia_uid_' + ((Math.random() * 1e9) >>> 0); | ||
var uidCounter = 0; | ||
function getUid (obj) { | ||
return obj[UID_PROPERTY] || | ||
(obj[UID_PROPERTY] = ++uidCounter); | ||
} | ||
var toString = Object.prototype.toString; | ||
@@ -316,2 +324,3 @@ | ||
forOwn: forOwn$1, | ||
getUid: getUid, | ||
isArrayLike: isArrayLike, | ||
@@ -318,0 +327,0 @@ isAsyncFunction: isAsyncFunction, |
/*! | ||
* celia.js v5.0.2 | ||
* celia.js v5.0.3 | ||
* (c) 2018-2019 Jesse Feng | ||
* Released under the MIT License. | ||
*/ | ||
var n,t;n=this,t=function(){"use strict";var t=/-([a-z])/g;function u(n){return null==n}function r(n){return"function"==typeof n}function e(n){return"number"==typeof n}function o(n){return!u(n)&&e(n.length)&&!r(n)}function f(n,t){return t?n.bind(t):n}function i(n,t,r,e,o){for(var i=f(e,o),u=t,c=void 0;!1!==c&&u<r;u++)c=i(n[u],u,n)}function c(n,t,r){i(n,0,n.length,t,r)}function a(n,t,r,e){var o=f(r,e);for(var i in t)if(n(o,t[i],i))break}function s(e,n,t){a(function(n,t,r){return e.hasOwnProperty(r)&&!1===n(t,r,e)},e,n,t)}function p(n,t,r){for(var e=f(t,r),o=0,i=void 0;!1!==i&&o<n;o++)i=e(o,o,o)}function l(n,t,r){n&&(o(n)?c(n,t,r):e(n)?p(n,t,r):s(n,t,r))}function v(n,t,r){return n&&p(n,t,r)}function b(n){return!u(n)&&"object"==typeof n}function d(n,t,r){return b(n)&&s(n,t,r)}var y=Object.prototype.toString;function g(n){return y.call(n)}function m(n){return"string"==typeof n}function j(n){return void 0===n}function h(n,t){return n[n.length]=t,n}function w(n,t,r,e){var o=[],i=f(r,e);return n(t,function(n,t){u(n=i(n,t))||h(o,n)}),o}var n={forNumber:v,map:function(n,t,r){return w(v,n,t,r)}};var O={assign:Object.assign||function(n){if(u(n))throw new TypeError("Cannot convert undefined or null to object");var r=Object(n);return i(arguments,1,arguments.length,function(n){d(n,function(n,t){r[t]=n})}),r},forIn:function(n,t,r){return b(n)&&function(e,n,t){a(function(n,t,r){return!1===n(t,r,e)},e,n,t)}(n,t,r)},forOwn:d,map:function(n,t,r){return w(d,n,t,r)}};function x(n){return decodeURIComponent(n.replace(/\+/g," "))}var A=/([^=?&]+)=?([^&]*)/g,C=Array.isArray;var E={parse:function(n){var t={};if(m(n))for(var r;r=A.exec(n);){var e=r[1];if(r[0]!==e){var o=r[2],i=t[e];j(i)?t[e]=x(o):C(i)?h(i,x(o)):t[e]=[i,x(o)]}}return t},prefix:function(n,t){return n?(t||"?")+n:n},stringify:function(n,t,r){void 0===t&&(t="&"),void 0===r&&(r="=");var e=[];return d(n,function(n,t){n||!u(n)&&!isNaN(n)||(n=""),h(e,encodeURIComponent(t)+r+encodeURIComponent(n))}),e.length?e.join(t):""}};var N={};"Boolean,Number,String,Function,Array,Date,RegExp,Object,Error,Symbol".split(",").forEach(function(n){N["[object "+n+"]"]=n.toLowerCase()});var R={isAbsolute:function(n){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)},join:function(n){var t=arguments,r=t.length;u(n)?1<r&&(n=""):n=n.replace(/\/+$/,"");var e="";return i(t,1,r,function(n){e+="/",e+=n||""}),e&&(n+=e.replace(/\/+/g,"/")),n}};return{camelCase:function(n){return n.replace(t,function(n,t){return t.toUpperCase()})},each:l,forEach:function(n,t,r){return n&&c(n,t,r)},forNumber:v,forOwn:d,isArrayLike:o,isAsyncFunction:function(n){return"[object AsyncFunction]"===g(n)},isBoolean:function(n){return"boolean"==typeof n},isDate:function(n){return"[object Date]"===g(n)},isFunction:r,isNil:u,isNumber:e,isObject:b,isPromiseLike:function(n){return!!n&&r(n.then)},isRegExp:function(n){return"[object RegExp]"===g(n)},isString:m,isUndefined:j,isWindow:function(n){return n&&n===n.window},map:function(n,t,r){return w(l,n,t,r)},number:n,object:O,qs:E,sleep:function(t){return new Promise(function(n){setTimeout(n,t)})},type:function(n){return u(n)?n+"":b(n)||r(n)?N[g(n)]||"object":typeof n},url:R}},"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 t=/-([a-z])/g;function u(n){return null==n}function r(n){return"function"==typeof n}function e(n){return"number"==typeof n}function o(n){return!u(n)&&e(n.length)&&!r(n)}function f(n,t){return t?n.bind(t):n}function i(n,t,r,e,o){for(var i=f(e,o),u=t,c=void 0;!1!==c&&u<r;u++)c=i(n[u],u,n)}function c(n,t,r){i(n,0,n.length,t,r)}function a(n,t,r,e){var o=f(r,e);for(var i in t)if(n(o,t[i],i))break}function s(e,n,t){a(function(n,t,r){return e.hasOwnProperty(r)&&!1===n(t,r,e)},e,n,t)}function p(n,t,r){for(var e=f(t,r),o=0,i=void 0;!1!==i&&o<n;o++)i=e(o,o,o)}function l(n,t,r){n&&(o(n)?c(n,t,r):e(n)?p(n,t,r):s(n,t,r))}function v(n,t,r){return n&&p(n,t,r)}function d(n){return!u(n)&&"object"==typeof n}function b(n,t,r){return d(n)&&s(n,t,r)}var g="celia_uid_"+(1e9*Math.random()>>>0),m=0;var y=Object.prototype.toString;function j(n){return y.call(n)}function h(n){return"string"==typeof n}function w(n){return void 0===n}function O(n,t){return n[n.length]=t,n}function x(n,t,r,e){var o=[],i=f(r,e);return n(t,function(n,t){u(n=i(n,t))||O(o,n)}),o}var n={forNumber:v,map:function(n,t,r){return x(v,n,t,r)}};var A={assign:Object.assign||function(n){if(u(n))throw new TypeError("Cannot convert undefined or null to object");var r=Object(n);return i(arguments,1,arguments.length,function(n){b(n,function(n,t){r[t]=n})}),r},forIn:function(n,t,r){return d(n)&&function(e,n,t){a(function(n,t,r){return!1===n(t,r,e)},e,n,t)}(n,t,r)},forOwn:b,map:function(n,t,r){return x(b,n,t,r)}};function C(n){return decodeURIComponent(n.replace(/\+/g," "))}var E=/([^=?&]+)=?([^&]*)/g,N=Array.isArray;var R={parse:function(n){var t={};if(h(n))for(var r;r=E.exec(n);){var e=r[1];if(r[0]!==e){var o=r[2],i=t[e];w(i)?t[e]=C(o):N(i)?O(i,C(o)):t[e]=[i,C(o)]}}return t},prefix:function(n,t){return n?(t||"?")+n:n},stringify:function(n,t,r){void 0===t&&(t="&"),void 0===r&&(r="=");var e=[];return b(n,function(n,t){n||!u(n)&&!isNaN(n)||(n=""),O(e,encodeURIComponent(t)+r+encodeURIComponent(n))}),e.length?e.join(t):""}};var U={};"Boolean,Number,String,Function,Array,Date,RegExp,Object,Error,Symbol".split(",").forEach(function(n){U["[object "+n+"]"]=n.toLowerCase()});var F={isAbsolute:function(n){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)},join:function(n){var t=arguments,r=t.length;u(n)?1<r&&(n=""):n=n.replace(/\/+$/,"");var e="";return i(t,1,r,function(n){e+="/",e+=n||""}),e&&(n+=e.replace(/\/+/g,"/")),n}};return{camelCase:function(n){return n.replace(t,function(n,t){return t.toUpperCase()})},each:l,forEach:function(n,t,r){return n&&c(n,t,r)},forNumber:v,forOwn:b,getUid:function(n){return n[g]||(n[g]=++m)},isArrayLike:o,isAsyncFunction:function(n){return"[object AsyncFunction]"===j(n)},isBoolean:function(n){return"boolean"==typeof n},isDate:function(n){return"[object Date]"===j(n)},isFunction:r,isNil:u,isNumber:e,isObject:d,isPromiseLike:function(n){return!!n&&r(n.then)},isRegExp:function(n){return"[object RegExp]"===j(n)},isString:h,isUndefined:w,isWindow:function(n){return n&&n===n.window},map:function(n,t,r){return x(l,n,t,r)},number:n,object:A,qs:R,sleep:function(t){return new Promise(function(n){setTimeout(n,t)})},type:function(n){return u(n)?n+"":d(n)||r(n)?U[j(n)]||"object":typeof n},url:F}},"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(n=n||self).celia=t(); |
/*! | ||
* celia.js v5.0.2 | ||
* celia.js v5.0.3 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.0.2 | ||
* celia.js v5.0.3 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.0.2 | ||
* celia.js v5.0.3 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.0.2 | ||
* celia.js v5.0.3 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.0.2 | ||
* celia.js v5.0.3 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.0.2 | ||
* celia.js v5.0.3 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.0.2 | ||
* celia.js v5.0.3 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.0.2 | ||
* celia.js v5.0.3 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.0.2 | ||
* celia.js v5.0.3 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.0.2 | ||
* celia.js v5.0.3 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.0.2 | ||
* celia.js v5.0.3 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.0.2 | ||
* celia.js v5.0.3 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
@@ -6,2 +6,3 @@ import camelCase from './camelCase.js'; | ||
import forOwn from './forOwn.js'; | ||
import getUid from './getUid.js'; | ||
import isArrayLike from './isArrayLike.js'; | ||
@@ -33,2 +34,3 @@ import isAsyncFunction from './isAsyncFunction.js'; | ||
forOwn, | ||
getUid, | ||
isArrayLike, | ||
@@ -35,0 +37,0 @@ isAsyncFunction, |
{ | ||
"name": "celia", | ||
"version": "5.0.2", | ||
"version": "5.0.3", | ||
"description": "A modern JavaScript utility library delivering modularity, performance, & extras.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/celia.c.js", |
@@ -72,2 +72,3 @@ # celia | ||
- forOwn | ||
- getUid | ||
- isArrayLike | ||
@@ -74,0 +75,0 @@ - isAsyncFunction |
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
62338
78
1889
103