Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

celia

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

celia - npm Package Compare versions

Comparing version 7.0.0-beta.1 to 7.0.0

className.js

2

_append.js

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
(function (global, factory) {

@@ -14,2 +14,46 @@ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :

const { isArray } = Array;
const { keys } = Object;
function className(arg) {
if (arg) {
if (isArray(arg)) {
return arg.length ? classNames(arg) : '';
} else if (typeof arg === 'object') {
const classes = [];
keys(arg).forEach((key) => {
const val = arg[key];
if (val) {
classes[classes.length] = key;
}
});
return classes.join(' ');
} else {
return arg;
}
}
}
function classNames(args) {
const classes = [];
args.forEach((arg) => {
const str = className(arg);
if (str) {
classes[classes.length] = str;
}
});
return classes.join(' ');
}
function classNames$1 () {
const classes = [];
for (let i = 0, len = arguments.length; i < len; i++) {
const str = className(arguments[i]);
if (str) {
classes[classes.length] = str;
}
}
return classes.join(' ');
}
function isNil (value) {

@@ -118,6 +162,6 @@ /* eslint eqeqeq: 0 */

const { isArray } = Array;
const { isArray: isArray$1 } = Array;
function copyDeep(value) {
let target = value;
if (isArray(value)) {
if (isArray$1(value)) {
target = [];

@@ -154,3 +198,3 @@ value.forEach((val, i) => {

const { isArray: isArray$1 } = Array;
const { isArray: isArray$2 } = Array;
function looseEqual(a, b) {

@@ -161,3 +205,3 @@ if (a === b) {

if (isObject(a) && isObject(b)) {
if (isArray$1(a) && isArray$1(b)) { // 判断是否是数组
if (isArray$2(a) && isArray$2(b)) { // 判断是否是数组
return a.length === b.length && a.every((e, i) => {

@@ -222,3 +266,3 @@ return looseEqual(e, b[i]);

const { isArray: isArray$2 } = Array;
const { isArray: isArray$3 } = Array;

@@ -228,3 +272,3 @@ function flatten(arr, result, depth) {

if (depth > 0) {
if (isArray$2(n)) {
if (isArray$3(n)) {
flatten(n, result, --depth);

@@ -235,3 +279,3 @@ } else {

} else {
if (isArray$2(n)) {
if (isArray$3(n)) {
iterate(n, 0, n.length, (m) => {

@@ -292,5 +336,5 @@ append(result, m);

const { isArray: isArray$3 } = Array;
const { isArray: isArray$4 } = Array;
function remove$1 (elems, value) {
if (isArray$3(elems)) {
if (isArray$4(elems)) {
return remove(elems, value);

@@ -301,5 +345,5 @@ }

const { isArray: isArray$4 } = Array;
const { isArray: isArray$5 } = Array;
function removeAt$1 (elems, index) {
if (isArray$4(elems)) {
if (isArray$5(elems)) {
return removeAt(elems, index);

@@ -438,3 +482,3 @@ }

const { isArray: isArray$5 } = Array;
const { isArray: isArray$6 } = Array;

@@ -445,3 +489,3 @@ function alias (proto, mappings) {

const fn = proto[key];
isArray$5(mapping)
isArray$6(mapping)
? mapping.forEach((m) => {

@@ -647,2 +691,4 @@ proto[m] = fn;

exports.capitalize = capitalize;
exports.className = className;
exports.classNames = classNames$1;
exports.debounce = debounce;

@@ -649,0 +695,0 @@ exports.deepAssign = deepAssign;

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((n=n||self).celia={})}(this,(function(n){"use strict";function t(n){return null==n}function e(n){return"function"==typeof n}function r(n){return"number"==typeof n}function o(n){return!t(n)&&r(n.length)&&!e(n)}function i(n,t,e,r){for(;t<e;)!1===r(n[t],t,n)?t=e:t++}function u(n,t){const e=Object.keys(n);i(e,0,e.length,e=>t(n[e],e,n))}function c(n,t){for(let e=0;e<n;)!1===t(e,e,n)?e=n:e++}function f(n,e){o(n)?i(n,0,n.length,e):r(n)?c(n,e):t(n)||u(n,e)}function s(n){return null!==n&&"object"==typeof n}const l="celia_uid_"+(1e9*Math.random()>>>0);let a=0;function p(n){return n[l]||(++a,Object.defineProperty(n,l,{configurable:!0,value:a}),a)}const{hasOwnProperty:_}=Object.prototype;function d(n,t,e,r){for(;t<e;t++)r(n[t],t,n)}function y(n){if(t(n))throw new TypeError("Cannot convert undefined or null to object");const e=Object(n);return d(arguments,1,arguments.length,n=>{!t(n)&&u(n,(n,t)=>{e[t]=n})}),e}var g=Object.assign||y;const{isArray:h}=Array;function E(n){return n instanceof Date}function b(n){return n instanceof RegExp}const{isArray:A}=Array;function O(n,t){return n[n.length]=t,n}const P=Object.prototype.toString;function m(n){return P.call(n)}const{isArray:j}=Array;function R(n,t,e){return d(n,0,n.length,n=>{e>0?j(n)?R(n,t,--e):O(t,n):j(n)?d(n,0,n.length,n=>{O(t,n)}):O(t,n)}),t}function v(n,t){return n?R(n,[],t||1):[]}function w(n,t){return n<0?(e=0)>(r=t+n)?e:r:n;var e,r}function C(n,t){return n.splice(t,1)[0]||null}function I(n,t){let e=n.indexOf(t);return e>-1?C(n,e):null}const{isArray:S}=Array;const{isArray:x}=Array;const N=/^([a-z][a-z\d+\-.]*:)?\/\//i;const D={false:!0,null:!0,undefined:!0,0:!0,NaN:!0,"":!0};function F(n){return r(n)&&isFinite(n)&&n>>0===n}var k=Number.isInteger||F;function M(n){return"string"==typeof n}function z(n,e,r){!t(n)&&u(n,e)}const{isArray:L}=Array;function T(n,e){let r;!t(e)&&u(e,(t,e)=>{r=n[e],s(r)&&s(t)?T(r,t):n[e]=t})}function U(n,t){for(let e in n)if(!1===t(n[e],e))break}var $={PROP_NAME_RE:/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ESCAPE_CHAR_RE:/\\(\\)?/g,IS_DEEP_PROP_RE:/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/};const{PROP_NAME_RE:H,ESCAPE_CHAR_RE:V,IS_DEEP_PROP_RE:q}=$;function B(n,e){if(!M(e)||!q.test(e))return n[e];let r;for(H.lastIndex=0;!t(n)&&(r=H.exec(e));){const[t,e,o,i]=r;n=n[o?i.replace(V,"$1"):e||t]}return n}const{PROP_NAME_RE:J,ESCAPE_CHAR_RE:W,IS_DEEP_PROP_RE:X}=$;const Y=/[-_. ]+([a-z])/g,G=Object.create(null);const K=Object.create(null);const Q=/\{\s*(\w+)\s*\}/g;n._append=O,n._assign=y,n._flatten=R,n._forEach=i,n._forIn=U,n._forNumber=c,n._forOwn=u,n._get=B,n._isInteger=F,n._iterate=d,n._loop=function(n,t,e){for(;n<t;n++)e(n,t)},n._ore=$,n._remove=I,n._removeAt=C,n._some=function(n,t,e,r){for(;t<e;t++)if(r(n[t],t,n))return!0;return!1},n._transIndex=w,n.afterCall=function(n,t,e){if(s(n)){const r=n[t];n[t]=function(...n){const t=r.apply(this,n);return e.call(this,n,t)}}},n.alias=function(n,t){s(n)&&z(t,(t,e)=>{const r=n[e];L(t)?t.forEach(t=>{n[t]=r}):n[t]=r})},n.aroundCall=function(n,t,e){if(s(n)){const r=n[t];n[t]=function(...n){return e.call(this,n,r)}}},n.assert=function(n,t){if(!n)throw new Error(t)},n.assign=g,n.beforeCall=function(n,t,e){if(s(n)){const r=n[t];n[t]=function(...n){const t=e.apply(this,n);return r.call(this,n,t)}}},n.camelize=function(n){if(M(n)){return G[n]||(G[n]=n.replace(Y,(n,t)=>t.toUpperCase()))}return n},n.capitalize=function(n){if(M(n)){return K[n]||(K[n]=n.charAt(0).toUpperCase()+n.slice(1))}return n},n.debounce=function(n,t){let e=null;function r(){null!==e&&(clearTimeout(e),e=null)}function o(){r(),e=setTimeout(n,t)}return o.cancel=r,o},n.deepAssign=function(n){if(t(n))throw new TypeError("Cannot convert undefined or null to object");const e=Object(n);return d(arguments,1,arguments.length,n=>{T(e,n)}),e},n.deepFlat=function(n){return v(n,Number.MAX_VALUE)},n.each=f,n.easyHash=function(n){return s(n)?`o${p(n)}`:(typeof n)[0]+n},n.flat=v,n.forEach=function(n,t,r,o){if(n){const u=n.length;e(t)?i(n,0,u,t):e(r)?i(n,w(t,u),u,r):i(n,w(t,u),w(r,u),o)}},n.forIn=function(n,e,r){!t(n)&&U(n,e)},n.forOwn=z,n.get=function(n,e,r){const o=t(n)?void 0:B(n,e);return void 0===o?r:o},n.hasOwn=function(n,t){return _.call(n,t)},n.isAbsoluteURL=function(n){return N.test(n)},n.isArrayLike=o,n.isAsyncFunction=function(n){return"[object AsyncFunction]"===m(n)},n.isBoolean=function(n){return"boolean"==typeof n},n.isDate=E,n.isFalsy=function(n){return!!D[n]},n.isFunction=e,n.isInteger=k,n.isLeapYear=function(n){return n%4==0&&n%100!=0||n%400==0},n.isNil=t,n.isNumber=r,n.isObject=s,n.isPlainObject=function(n){return!t(n)&&"[object Object]"===m(n)},n.isPromiseLike=function(n){return!!n&&e(n.then)&&e(n.catch)},n.isRegExp=b,n.isString=M,n.isUndefined=function(n){return void 0===n},n.isValidDate=function(n){return E(n)&&"Invalid Date"!==n.toString()},n.isWindow=function(n){return!!n&&n===n.window},n.looseClone=function(n,t){return t?function n(t){let e=t;return h(t)?(e=[],t.forEach((t,r)=>{e[r]=n(t)})):s(t)&&(e={},u(t,(t,r)=>{e[r]=n(t)})),e}(n):function(n){return s(n)?g({},n):n}(n)},n.looseEqual=function n(t,e){if(t===e)return!0;if(s(t)&&s(e)){if(A(t)&&A(e))return t.length===e.length&&t.every((t,r)=>n(t,e[r]));if(E(t)&&E(e))return+t==+e;if(b(t)&&b(e))return t.toString()===e.toString();{const r=Object.keys(t),o=Object.keys(e);return r.length===o.length&&r.every(r=>n(t[r],e[r]))}}return!1},n.map=function(n,e){const r=[];return f(n,(n,o)=>{!t(n=e(n,o))&&O(r,n)}),r},n.noop=function(){},n.pathJoin=function(n){const e=arguments.length;if(!e||t(n))return".";let r="";return d(arguments,1,e,n=>{n&&(r+="/",r+=n)}),r&&(n=n.replace(/\/+$/,"")+r.replace(/\/+/g,"/")),n},n.remove=function(n,t){return S(n)?I(n,t):null},n.removeAt=function(n,t){return x(n)?C(n,t):null},n.set=function(n,e,r){if(!t(n)){if(!M(e)||!X.test(e))return void(n[e]=r);let o;const i=[];let u,c=0;for(J.lastIndex=0;o=J.exec(e);){const[e,r,f,s]=o;let l;f?(u=s.replace(W,"$1"),l=n[u],t(l)&&(l=n[u]={})):r?(l=n[u=r],t(l)&&(l=n[r]=[])):(l=n[u=e],t(l)&&(l=n[e]={})),n=l,i[c++]=l}(n=i[c-2])[u]=r}},n.sleep=function(n){return new Promise(t=>{setTimeout(t,n)})},n.stringFormat=function(n,e){if(n&&!t(e)){const r=Q;n=n.replace(r,(function(n,r){const o=e[r];return t(o)?n:o}))}return n},n.toString=m,n.transform=function(n,t,e){return f(n,(function(n,r,o){return t(e,n,r,o)})),e},n.uid=p,Object.defineProperty(n,"__esModule",{value:!0})}));
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((n=n||self).celia={})}(this,(function(n){"use strict";const{isArray:t}=Array,{keys:e}=Object;function r(n){if(n){if(t(n))return n.length?function(n){const t=[];return n.forEach(n=>{const e=r(n);e&&(t[t.length]=e)}),t.join(" ")}(n):"";if("object"==typeof n){const t=[];return e(n).forEach(e=>{n[e]&&(t[t.length]=e)}),t.join(" ")}return n}}function o(n){return null==n}function i(n){return"function"==typeof n}function c(n){return"number"==typeof n}function u(n){return!o(n)&&c(n.length)&&!i(n)}function f(n,t,e,r){for(;t<e;)!1===r(n[t],t,n)?t=e:t++}function s(n,t){const e=Object.keys(n);f(e,0,e.length,e=>t(n[e],e,n))}function l(n,t){for(let e=0;e<n;)!1===t(e,e,n)?e=n:e++}function a(n,t){u(n)?f(n,0,n.length,t):c(n)?l(n,t):o(n)||s(n,t)}function p(n){return null!==n&&"object"==typeof n}const g="celia_uid_"+(1e9*Math.random()>>>0);let y=0;function h(n){return n[g]||(++y,Object.defineProperty(n,g,{configurable:!0,value:y}),y)}const{hasOwnProperty:_}=Object.prototype;function d(n,t,e,r){for(;t<e;t++)r(n[t],t,n)}function E(n){if(o(n))throw new TypeError("Cannot convert undefined or null to object");const t=Object(n);return d(arguments,1,arguments.length,n=>{!o(n)&&s(n,(n,e)=>{t[e]=n})}),t}var b=Object.assign||E;const{isArray:A}=Array;function O(n){return n instanceof Date}function j(n){return n instanceof RegExp}const{isArray:m}=Array;function P(n,t){return n[n.length]=t,n}const R=Object.prototype.toString;function v(n){return R.call(n)}const{isArray:w}=Array;function C(n,t,e){return d(n,0,n.length,n=>{e>0?w(n)?C(n,t,--e):P(t,n):w(n)?d(n,0,n.length,n=>{P(t,n)}):P(t,n)}),t}function I(n,t){return n?C(n,[],t||1):[]}function N(n,t){return n<0?(e=0)>(r=t+n)?e:r:n;var e,r}function S(n,t){return n.splice(t,1)[0]||null}function x(n,t){let e=n.indexOf(t);return e>-1?S(n,e):null}const{isArray:k}=Array;const{isArray:D}=Array;const F=/^([a-z][a-z\d+\-.]*:)?\/\//i;const M={false:!0,null:!0,undefined:!0,0:!0,NaN:!0,"":!0};function z(n){return c(n)&&isFinite(n)&&n>>0===n}var L=Number.isInteger||z;function T(n){return"string"==typeof n}function U(n,t,e){!o(n)&&s(n,t)}const{isArray:$}=Array;function H(n,t){let e;!o(t)&&s(t,(t,r)=>{e=n[r],p(e)&&p(t)?H(e,t):n[r]=t})}function V(n,t){for(let e in n)if(!1===t(n[e],e))break}var q={PROP_NAME_RE:/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ESCAPE_CHAR_RE:/\\(\\)?/g,IS_DEEP_PROP_RE:/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/};const{PROP_NAME_RE:B,ESCAPE_CHAR_RE:J,IS_DEEP_PROP_RE:W}=q;function X(n,t){if(!T(t)||!W.test(t))return n[t];let e;for(B.lastIndex=0;!o(n)&&(e=B.exec(t));){const[t,r,o,i]=e;n=n[o?i.replace(J,"$1"):r||t]}return n}const{PROP_NAME_RE:Y,ESCAPE_CHAR_RE:G,IS_DEEP_PROP_RE:K}=q;const Q=/[-_. ]+([a-z])/g,Z=Object.create(null);const nn=Object.create(null);const tn=/\{\s*(\w+)\s*\}/g;n._append=P,n._assign=E,n._flatten=C,n._forEach=f,n._forIn=V,n._forNumber=l,n._forOwn=s,n._get=X,n._isInteger=z,n._iterate=d,n._loop=function(n,t,e){for(;n<t;n++)e(n,t)},n._ore=q,n._remove=x,n._removeAt=S,n._some=function(n,t,e,r){for(;t<e;t++)if(r(n[t],t,n))return!0;return!1},n._transIndex=N,n.afterCall=function(n,t,e){if(p(n)){const r=n[t];n[t]=function(...n){const t=r.apply(this,n);return e.call(this,n,t)}}},n.alias=function(n,t){p(n)&&U(t,(t,e)=>{const r=n[e];$(t)?t.forEach(t=>{n[t]=r}):n[t]=r})},n.aroundCall=function(n,t,e){if(p(n)){const r=n[t];n[t]=function(...n){return e.call(this,n,r)}}},n.assert=function(n,t){if(!n)throw new Error(t)},n.assign=b,n.beforeCall=function(n,t,e){if(p(n)){const r=n[t];n[t]=function(...n){const t=e.apply(this,n);return r.call(this,n,t)}}},n.camelize=function(n){if(T(n)){return Z[n]||(Z[n]=n.replace(Q,(n,t)=>t.toUpperCase()))}return n},n.capitalize=function(n){if(T(n)){return nn[n]||(nn[n]=n.charAt(0).toUpperCase()+n.slice(1))}return n},n.className=r,n.classNames=function(){const n=[];for(let t=0,e=arguments.length;t<e;t++){const e=r(arguments[t]);e&&(n[n.length]=e)}return n.join(" ")},n.debounce=function(n,t){let e=null;function r(){null!==e&&(clearTimeout(e),e=null)}function o(){r(),e=setTimeout(n,t)}return o.cancel=r,o},n.deepAssign=function(n){if(o(n))throw new TypeError("Cannot convert undefined or null to object");const t=Object(n);return d(arguments,1,arguments.length,n=>{H(t,n)}),t},n.deepFlat=function(n){return I(n,Number.MAX_VALUE)},n.each=a,n.easyHash=function(n){return p(n)?`o${h(n)}`:(typeof n)[0]+n},n.flat=I,n.forEach=function(n,t,e,r){if(n){const o=n.length;i(t)?f(n,0,o,t):i(e)?f(n,N(t,o),o,e):f(n,N(t,o),N(e,o),r)}},n.forIn=function(n,t,e){!o(n)&&V(n,t)},n.forOwn=U,n.get=function(n,t,e){const r=o(n)?void 0:X(n,t);return void 0===r?e:r},n.hasOwn=function(n,t){return _.call(n,t)},n.isAbsoluteURL=function(n){return F.test(n)},n.isArrayLike=u,n.isAsyncFunction=function(n){return"[object AsyncFunction]"===v(n)},n.isBoolean=function(n){return"boolean"==typeof n},n.isDate=O,n.isFalsy=function(n){return!!M[n]},n.isFunction=i,n.isInteger=L,n.isLeapYear=function(n){return n%4==0&&n%100!=0||n%400==0},n.isNil=o,n.isNumber=c,n.isObject=p,n.isPlainObject=function(n){return!o(n)&&"[object Object]"===v(n)},n.isPromiseLike=function(n){return!!n&&i(n.then)&&i(n.catch)},n.isRegExp=j,n.isString=T,n.isUndefined=function(n){return void 0===n},n.isValidDate=function(n){return O(n)&&"Invalid Date"!==n.toString()},n.isWindow=function(n){return!!n&&n===n.window},n.looseClone=function(n,t){return t?function n(t){let e=t;return A(t)?(e=[],t.forEach((t,r)=>{e[r]=n(t)})):p(t)&&(e={},s(t,(t,r)=>{e[r]=n(t)})),e}(n):function(n){return p(n)?b({},n):n}(n)},n.looseEqual=function n(t,e){if(t===e)return!0;if(p(t)&&p(e)){if(m(t)&&m(e))return t.length===e.length&&t.every((t,r)=>n(t,e[r]));if(O(t)&&O(e))return+t==+e;if(j(t)&&j(e))return t.toString()===e.toString();{const r=Object.keys(t),o=Object.keys(e);return r.length===o.length&&r.every(r=>n(t[r],e[r]))}}return!1},n.map=function(n,t){const e=[];return a(n,(n,r)=>{!o(n=t(n,r))&&P(e,n)}),e},n.noop=function(){},n.pathJoin=function(n){const t=arguments.length;if(!t||o(n))return".";let e="";return d(arguments,1,t,n=>{n&&(e+="/",e+=n)}),e&&(n=n.replace(/\/+$/,"")+e.replace(/\/+/g,"/")),n},n.remove=function(n,t){return k(n)?x(n,t):null},n.removeAt=function(n,t){return D(n)?S(n,t):null},n.set=function(n,t,e){if(!o(n)){if(!T(t)||!K.test(t))return void(n[t]=e);let r;const i=[];let c,u=0;for(Y.lastIndex=0;r=Y.exec(t);){const[t,e,f,s]=r;let l;f?(c=s.replace(G,"$1"),l=n[c],o(l)&&(l=n[c]={})):e?(l=n[c=e],o(l)&&(l=n[e]=[])):(l=n[c=t],o(l)&&(l=n[t]={})),n=l,i[u++]=l}(n=i[u-2])[c]=e}},n.sleep=function(n){return new Promise(t=>{setTimeout(t,n)})},n.stringFormat=function(n,t){if(n&&!o(t)){const e=tn;n=n.replace(e,(function(n,e){const r=t[e];return o(r)?n:r}))}return n},n.toString=v,n.transform=function(n,t,e){return a(n,(function(n,r,o){return t(e,n,r,o)})),e},n.uid=h,Object.defineProperty(n,"__esModule",{value:!0})}));

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
function append (arr, obj) {

@@ -3,0 +3,0 @@ arr[arr.length] = obj;

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import isNil from './isNil.js';

@@ -3,0 +3,0 @@ import './_forEach.js';

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import iterate from './_iterate.js';

@@ -3,0 +3,0 @@ import append from './_append.js';

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
function _forEach (value, start, end, iterator) {

@@ -3,0 +3,0 @@ for (; start < end;) {

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
function forIn (value, iterator) {

@@ -3,0 +3,0 @@ for (let key in value) {

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
function forNumber (value, iterator) {

@@ -3,0 +3,0 @@ for (let i = 0; i < value;) {

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import _forEach from './_forEach.js';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import isNil from './isNil.js';

@@ -3,0 +3,0 @@ import isString from './isString.js';

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import isNumber from './isNumber.js';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
function iterate (arr, start, end, callback) {

@@ -3,0 +3,0 @@ for (; start < end; start++) {

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
function _loop (start, end, callback) {

@@ -3,0 +3,0 @@ for (; start < end; start++) {

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
var ore = {

@@ -3,0 +3,0 @@ PROP_NAME_RE: /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import removeAt from './_removeAt.js';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
function removeAt (elems, index) {

@@ -3,0 +3,0 @@ return elems.splice(index, 1)[0] || null;

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
function _some(value, start, end, iterator) {

@@ -3,0 +3,0 @@ for (; start < end; start++) {

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
function max(a, b) {

@@ -3,0 +3,0 @@ return a > b ? a : b;

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import isObject from './isObject.js';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import './isNil.js';

@@ -3,0 +3,0 @@ import './_forEach.js';

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import isObject from './isObject.js';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
function assert (condition, msg) {

@@ -3,0 +3,0 @@ if (!condition) {

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import './isNil.js';

@@ -3,0 +3,0 @@ import './_forEach.js';

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import isObject from './isObject.js';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import isString from './isString.js';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import isString from './isString.js';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
function debounce (fn, wait) {

@@ -3,0 +3,0 @@ let timeout = null;

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import isNil from './isNil.js';

@@ -3,0 +3,0 @@ import './_forEach.js';

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import './_iterate.js';

@@ -3,0 +3,0 @@ import './_append.js';

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import isNil from './isNil.js';

@@ -3,0 +3,0 @@ import './isFunction.js';

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import isObject from './isObject.js';

@@ -3,0 +3,0 @@ import uid from './uid.js';

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import './_iterate.js';

@@ -3,0 +3,0 @@ import './_append.js';

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import isFunction from './isFunction.js';

@@ -3,0 +3,0 @@ import _forEach from './_forEach.js';

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import isNil from './isNil.js';

@@ -3,0 +3,0 @@ import forIn$1 from './_forIn.js';

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import isNil from './isNil.js';

@@ -3,0 +3,0 @@ import './_forEach.js';

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import isNil from './isNil.js';

@@ -3,0 +3,0 @@ import './isString.js';

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
const { hasOwnProperty } = Object.prototype;

@@ -3,0 +3,0 @@

@@ -1,3 +0,5 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
export { default as assert } from './assert.js';
export { default as className } from './className.js';
export { default as classNames } from './classNames.js';
export { default as isNil } from './isNil.js';

@@ -4,0 +6,0 @@ export { default as isFunction } from './isFunction.js';

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
const PROTOCOL = /^([a-z][a-z\d+\-.]*:)?\/\//i;

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import isNil from './isNil.js';

@@ -3,0 +3,0 @@ import isFunction from './isFunction.js';

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import toString from './toString.js';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
function isBoolean (value) {

@@ -3,0 +3,0 @@ return typeof value === 'boolean';

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
// import toString from '../toString';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
const falseLike = {

@@ -3,0 +3,0 @@ false: true,

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
function isFunction (value) {

@@ -3,0 +3,0 @@ return typeof value === 'function';

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import './isNumber.js';

@@ -3,0 +3,0 @@ import _isInteger from './_isInteger.js';

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
function isLeapYear (year) {

@@ -3,0 +3,0 @@ return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0;

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
function isNil (value) {

@@ -3,0 +3,0 @@ /* eslint eqeqeq: 0 */

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
function isNumber (value) {

@@ -3,0 +3,0 @@ return typeof value === 'number';

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
function isObject (value) {

@@ -3,0 +3,0 @@ return value !== null && typeof value === 'object';

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import isNil from './isNil.js';

@@ -3,0 +3,0 @@ import toString from './toString.js';

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import isFunction from './isFunction.js';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
// import toString from '../toString';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
function isString (value) {

@@ -3,0 +3,0 @@ return typeof value === 'string';

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
function isUndefined (value) {

@@ -3,0 +3,0 @@ return typeof value === 'undefined';

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import isDate from './isDate.js';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
function isWindow (elem) {

@@ -3,0 +3,0 @@ return !!elem && elem === elem.window;

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import './isNil.js';

@@ -3,0 +3,0 @@ import './_forEach.js';

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import isObject from './isObject.js';

@@ -3,0 +3,0 @@ import isDate from './isDate.js';

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import isNil from './isNil.js';

@@ -3,0 +3,0 @@ import './isFunction.js';

@@ -1,4 +0,4 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
function noop() { }
export default noop;

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import isNil from './isNil.js';

@@ -3,0 +3,0 @@ import iterate from './_iterate.js';

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import './_removeAt.js';

@@ -3,0 +3,0 @@ import remove$1 from './_remove.js';

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import removeAt$1 from './_removeAt.js';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import isNil from './isNil.js';

@@ -3,0 +3,0 @@ import isString from './isString.js';

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
function sleep (ms) {

@@ -3,0 +3,0 @@ return new Promise((resolve) => {

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import isNil from './isNil.js';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
const toString = Object.prototype.toString;

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
import './isNil.js';

@@ -3,0 +3,0 @@ import './isFunction.js';

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
const UID_PROPERTY = 'celia_uid_' + ((Math.random() * 1e9) >>> 0);

@@ -3,0 +3,0 @@ let uidCounter = 0;

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -7,2 +7,4 @@

var assert = require('./assert.js');
var className = require('./className.js');
var classNames = require('./classNames.js');
var isNil = require('./isNil.js');

@@ -78,2 +80,4 @@ var isFunction = require('./isFunction.js');

exports.assert = assert;
exports.className = className;
exports.classNames = classNames;
exports.isNil = isNil;

@@ -80,0 +84,0 @@ exports.isFunction = isFunction;

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

{
"name": "celia",
"version": "7.0.0-beta.1",
"version": "7.0.0",
"description": "A modern JavaScript utility library delivering modularity, performance, and extras.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

/* celia.js v7.0.0-beta.1 (c) 2018-2020 Jesse Feng Released under the MIT License. */
/* celia.js v7.0.0 (c) 2018-2020 Jesse Feng Released under the MIT License. */
'use strict';

@@ -3,0 +3,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc