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 6.0.0-beta.2 to 6.0.0-beta.3

2

_append.js
/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -121,4 +121,5 @@ * Released under the MIT License.

function getUid (obj) {
return obj[UID_PROPERTY] ||
(obj[UID_PROPERTY] = ++uidCounter);
return obj[UID_PROPERTY] || Object.defineProperty(obj, UID_PROPERTY, {
value: ++uidCounter
});
}

@@ -125,0 +126,0 @@

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
define(["exports"],function(n){"use strict";function u(n,t){return n[n.length]=t,n}function c(n){return null==n}function o(n){return null!==n&&"object"==typeof n}function f(n,t){return t?n.bind(t):n}function i(n,t,r,e,i){for(var o=f(e,i),u=t,c=void 0;!1!==c&&u<r;u++)c=o(n[u],u,n)}function e(t,r,n){r=f(r,n);var e=Object.keys(t);i(Object.keys(t),0,e.length,function(n){return r(t[n],n)})}function t(n){if(c(n))throw new TypeError("Cannot convert undefined or null to object");var r=Object(n);return i(arguments,1,arguments.length,function(n){o(n)&&e(n,function(n,t){r[t]=n})}),r}function a(n,t,r){i(n,0,n.length,t,r)}function s(n,t,r){for(var e=f(t,r),i=0,o=void 0;!1!==o&&i<n;i++)o=e(i,i,i)}function l(n){return"number"==typeof n}function r(n){return l(n)&&isFinite(n)&&n>>0===n}function b(n,t,r,e){var i=[],o=f(r,e);return n(t,function(n,t){c(n=o(n,t))||u(i,n)}),i}var g=Object.assign||t;function y(n){return"function"==typeof n}function p(n){return!c(n)&&l(n.length)&&!y(n)}function v(n,t,r){p(n)?a(n,t,r):o(n)||y(n)?e(n,t,r):l(n)&&s(n,t,r)}var h="celia_uid_"+(1e9*Math.random()>>>0),j=0;var d=Object.prototype.hasOwnProperty;var O=Object.prototype.toString;function m(n){return O.call(n)}function _(n){return n instanceof Date}var w=Number.isInteger||r;function E(n){return n instanceof RegExp}var S=Array.isArray;var k={};"Boolean,Number,String,Function,AsyncFunction,Array,Date,RegExp,Object,Error,Symbol".split(",").forEach(function(n){k["[object "+n+"]"]=n.toLowerCase()}),n._append=u,n._assign=t,n._bindContext=f,n._forEach=a,n._forIn=function(n,t,r){var e=f(t,r);for(var i in n)if(!1===e(n[i],i))break},n._forNumber=s,n._forOwn=e,n._forSlice=i,n._isInteger=r,n._map=b,n.assign=g,n.each=v,n.getUid=function(n){return n[h]||(n[h]=++j)},n.hasOwn=function(n,t){return d.call(n,t)},n.isArrayLike=p,n.isAsyncFunction=function(n){return"[object AsyncFunction]"===m(n)},n.isBoolean=function(n){return"boolean"==typeof n},n.isDate=_,n.isFunction=y,n.isInteger=w,n.isNil=c,n.isNumber=l,n.isObject=o,n.isPlainObject=function(n){return!c(n)&&"[object Object]"===m(n)},n.isPromiseLike=function(n){return!!n&&y(n.then)&&y(n.catch)},n.isRegExp=E,n.isString=function(n){return"string"==typeof n},n.isUndefined=function(n){return void 0===n},n.isWindow=function(n){return n&&n===n.window},n.looseEqual=function r(t,e){if(o(t)&&o(e)){if(S(t)&&S(e))return t.length===e.length&&t.every(function(n,t){return r(n,e[t])});if(_(t)&&_(e))return+t==+e;if(E(t)&&E(e))return t.toString()===e.toString();var n=Object.keys(t),i=Object.keys(e);return n.length===i.length&&n.every(function(n){return r(t[n],e[n])})}return t===e},n.map=function(n,t,r){return b(v,n,t,r)},n.noop=function(){},n.sleep=function(t){return new Promise(function(n){setTimeout(n,t)})},n.toString=m,n.type=function(n){return c(n)?n+"":o(n)||y(n)?k[m(n)]||"object":typeof n}});
define(["exports"],function(n){"use strict";function u(n,t){return n[n.length]=t,n}function c(n){return null==n}function o(n){return null!==n&&"object"==typeof n}function f(n,t){return t?n.bind(t):n}function i(n,t,e,r,i){for(var o=f(r,i),u=t,c=void 0;!1!==c&&u<e;u++)c=o(n[u],u,n)}function r(t,e,n){e=f(e,n);var r=Object.keys(t);i(Object.keys(t),0,r.length,function(n){return e(t[n],n)})}function t(n){if(c(n))throw new TypeError("Cannot convert undefined or null to object");var e=Object(n);return i(arguments,1,arguments.length,function(n){o(n)&&r(n,function(n,t){e[t]=n})}),e}function a(n,t,e){i(n,0,n.length,t,e)}function s(n,t,e){for(var r=f(t,e),i=0,o=void 0;!1!==o&&i<n;i++)o=r(i,i,i)}function l(n){return"number"==typeof n}function e(n){return l(n)&&isFinite(n)&&n>>0===n}function b(n,t,e,r){var i=[],o=f(e,r);return n(t,function(n,t){c(n=o(n,t))||u(i,n)}),i}var g=Object.assign||t;function y(n){return"function"==typeof n}function p(n){return!c(n)&&l(n.length)&&!y(n)}function v(n,t,e){p(n)?a(n,t,e):o(n)||y(n)?r(n,t,e):l(n)&&s(n,t,e)}var j="celia_uid_"+(1e9*Math.random()>>>0),h=0;var d=Object.prototype.hasOwnProperty;var O=Object.prototype.toString;function m(n){return O.call(n)}function _(n){return n instanceof Date}var w=Number.isInteger||e;function E(n){return n instanceof RegExp}var S=Array.isArray;var k={};"Boolean,Number,String,Function,AsyncFunction,Array,Date,RegExp,Object,Error,Symbol".split(",").forEach(function(n){k["[object "+n+"]"]=n.toLowerCase()}),n._append=u,n._assign=t,n._bindContext=f,n._forEach=a,n._forIn=function(n,t,e){var r=f(t,e);for(var i in n)if(!1===r(n[i],i))break},n._forNumber=s,n._forOwn=r,n._forSlice=i,n._isInteger=e,n._map=b,n.assign=g,n.each=v,n.getUid=function(n){return n[j]||Object.defineProperty(n,j,{value:++h})},n.hasOwn=function(n,t){return d.call(n,t)},n.isArrayLike=p,n.isAsyncFunction=function(n){return"[object AsyncFunction]"===m(n)},n.isBoolean=function(n){return"boolean"==typeof n},n.isDate=_,n.isFunction=y,n.isInteger=w,n.isNil=c,n.isNumber=l,n.isObject=o,n.isPlainObject=function(n){return!c(n)&&"[object Object]"===m(n)},n.isPromiseLike=function(n){return!!n&&y(n.then)&&y(n.catch)},n.isRegExp=E,n.isString=function(n){return"string"==typeof n},n.isUndefined=function(n){return void 0===n},n.isWindow=function(n){return n&&n===n.window},n.looseEqual=function e(t,r){if(o(t)&&o(r)){if(S(t)&&S(r))return t.length===r.length&&t.every(function(n,t){return e(n,r[t])});if(_(t)&&_(r))return+t==+r;if(E(t)&&E(r))return t.toString()===r.toString();var n=Object.keys(t),i=Object.keys(r);return n.length===i.length&&n.every(function(n){return e(t[n],r[n])})}return t===r},n.map=function(n,t,e){return b(v,n,t,e)},n.noop=function(){},n.sleep=function(t){return new Promise(function(n){setTimeout(n,t)})},n.toString=m,n.type=function(n){return c(n)?n+"":o(n)||y(n)?k[m(n)]||"object":typeof n}});
/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -121,4 +121,5 @@ * Released under the MIT License.

function getUid (obj) {
return obj[UID_PROPERTY] ||
(obj[UID_PROPERTY] = ++uidCounter);
return obj[UID_PROPERTY] || Object.defineProperty(obj, UID_PROPERTY, {
value: ++uidCounter
});
}

@@ -125,0 +126,0 @@

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -119,4 +119,5 @@ * Released under the MIT License.

function getUid (obj) {
return obj[UID_PROPERTY] ||
(obj[UID_PROPERTY] = ++uidCounter);
return obj[UID_PROPERTY] || Object.defineProperty(obj, UID_PROPERTY, {
value: ++uidCounter
});
}

@@ -123,0 +124,0 @@

@@ -5,4 +5,5 @@ const UID_PROPERTY = 'celia_uid_' + ((Math.random() * 1e9) >>> 0);

export default function (obj) {
return obj[UID_PROPERTY] ||
(obj[UID_PROPERTY] = ++uidCounter);
return obj[UID_PROPERTY] || Object.defineProperty(obj, UID_PROPERTY, {
value: ++uidCounter
});
};
/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -12,6 +12,7 @@ * Released under the MIT License.

function getUid (obj) {
return obj[UID_PROPERTY] ||
(obj[UID_PROPERTY] = ++uidCounter);
return obj[UID_PROPERTY] || Object.defineProperty(obj, UID_PROPERTY, {
value: ++uidCounter
});
}
module.exports = getUid;
/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -122,4 +122,5 @@ * Released under the MIT License.

function getUid (obj) {
return obj[UID_PROPERTY] ||
(obj[UID_PROPERTY] = ++uidCounter);
return obj[UID_PROPERTY] || Object.defineProperty(obj, UID_PROPERTY, {
value: ++uidCounter
});
}

@@ -126,0 +127,0 @@

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
!function(n){"use strict";function u(n,t){return n[n.length]=t,n}function c(n){return null==n}function o(n){return null!==n&&"object"==typeof n}function f(n,t){return t?n.bind(t):n}function i(n,t,r,e,i){for(var o=f(e,i),u=t,c=void 0;!1!==c&&u<r;u++)c=o(n[u],u,n)}function e(t,r,n){r=f(r,n);var e=Object.keys(t);i(Object.keys(t),0,e.length,function(n){return r(t[n],n)})}function t(n){if(c(n))throw new TypeError("Cannot convert undefined or null to object");var r=Object(n);return i(arguments,1,arguments.length,function(n){o(n)&&e(n,function(n,t){r[t]=n})}),r}function a(n,t,r){i(n,0,n.length,t,r)}function s(n,t,r){for(var e=f(t,r),i=0,o=void 0;!1!==o&&i<n;i++)o=e(i,i,i)}function l(n){return"number"==typeof n}function r(n){return l(n)&&isFinite(n)&&n>>0===n}function b(n,t,r,e){var i=[],o=f(r,e);return n(t,function(n,t){c(n=o(n,t))||u(i,n)}),i}var g=Object.assign||t;function y(n){return"function"==typeof n}function p(n){return!c(n)&&l(n.length)&&!y(n)}function v(n,t,r){p(n)?a(n,t,r):o(n)||y(n)?e(n,t,r):l(n)&&s(n,t,r)}var h="celia_uid_"+(1e9*Math.random()>>>0),j=0;var d=Object.prototype.hasOwnProperty;var O=Object.prototype.toString;function m(n){return O.call(n)}function _(n){return n instanceof Date}var w=Number.isInteger||r;function E(n){return n instanceof RegExp}var S=Array.isArray;var k={};"Boolean,Number,String,Function,AsyncFunction,Array,Date,RegExp,Object,Error,Symbol".split(",").forEach(function(n){k["[object "+n+"]"]=n.toLowerCase()}),n._append=u,n._assign=t,n._bindContext=f,n._forEach=a,n._forIn=function(n,t,r){var e=f(t,r);for(var i in n)if(!1===e(n[i],i))break},n._forNumber=s,n._forOwn=e,n._forSlice=i,n._isInteger=r,n._map=b,n.assign=g,n.each=v,n.getUid=function(n){return n[h]||(n[h]=++j)},n.hasOwn=function(n,t){return d.call(n,t)},n.isArrayLike=p,n.isAsyncFunction=function(n){return"[object AsyncFunction]"===m(n)},n.isBoolean=function(n){return"boolean"==typeof n},n.isDate=_,n.isFunction=y,n.isInteger=w,n.isNil=c,n.isNumber=l,n.isObject=o,n.isPlainObject=function(n){return!c(n)&&"[object Object]"===m(n)},n.isPromiseLike=function(n){return!!n&&y(n.then)&&y(n.catch)},n.isRegExp=E,n.isString=function(n){return"string"==typeof n},n.isUndefined=function(n){return void 0===n},n.isWindow=function(n){return n&&n===n.window},n.looseEqual=function r(t,e){if(o(t)&&o(e)){if(S(t)&&S(e))return t.length===e.length&&t.every(function(n,t){return r(n,e[t])});if(_(t)&&_(e))return+t==+e;if(E(t)&&E(e))return t.toString()===e.toString();var n=Object.keys(t),i=Object.keys(e);return n.length===i.length&&n.every(function(n){return r(t[n],e[n])})}return t===e},n.map=function(n,t,r){return b(v,n,t,r)},n.noop=function(){},n.sleep=function(t){return new Promise(function(n){setTimeout(n,t)})},n.toString=m,n.type=function(n){return c(n)?n+"":o(n)||y(n)?k[m(n)]||"object":typeof n}}({});
!function(n){"use strict";function u(n,t){return n[n.length]=t,n}function c(n){return null==n}function o(n){return null!==n&&"object"==typeof n}function f(n,t){return t?n.bind(t):n}function i(n,t,r,e,i){for(var o=f(e,i),u=t,c=void 0;!1!==c&&u<r;u++)c=o(n[u],u,n)}function e(t,r,n){r=f(r,n);var e=Object.keys(t);i(Object.keys(t),0,e.length,function(n){return r(t[n],n)})}function t(n){if(c(n))throw new TypeError("Cannot convert undefined or null to object");var r=Object(n);return i(arguments,1,arguments.length,function(n){o(n)&&e(n,function(n,t){r[t]=n})}),r}function a(n,t,r){i(n,0,n.length,t,r)}function s(n,t,r){for(var e=f(t,r),i=0,o=void 0;!1!==o&&i<n;i++)o=e(i,i,i)}function l(n){return"number"==typeof n}function r(n){return l(n)&&isFinite(n)&&n>>0===n}function b(n,t,r,e){var i=[],o=f(r,e);return n(t,function(n,t){c(n=o(n,t))||u(i,n)}),i}var g=Object.assign||t;function y(n){return"function"==typeof n}function p(n){return!c(n)&&l(n.length)&&!y(n)}function v(n,t,r){p(n)?a(n,t,r):o(n)||y(n)?e(n,t,r):l(n)&&s(n,t,r)}var j="celia_uid_"+(1e9*Math.random()>>>0),h=0;var d=Object.prototype.hasOwnProperty;var O=Object.prototype.toString;function m(n){return O.call(n)}function _(n){return n instanceof Date}var w=Number.isInteger||r;function E(n){return n instanceof RegExp}var S=Array.isArray;var k={};"Boolean,Number,String,Function,AsyncFunction,Array,Date,RegExp,Object,Error,Symbol".split(",").forEach(function(n){k["[object "+n+"]"]=n.toLowerCase()}),n._append=u,n._assign=t,n._bindContext=f,n._forEach=a,n._forIn=function(n,t,r){var e=f(t,r);for(var i in n)if(!1===e(n[i],i))break},n._forNumber=s,n._forOwn=e,n._forSlice=i,n._isInteger=r,n._map=b,n.assign=g,n.each=v,n.getUid=function(n){return n[j]||Object.defineProperty(n,j,{value:++h})},n.hasOwn=function(n,t){return d.call(n,t)},n.isArrayLike=p,n.isAsyncFunction=function(n){return"[object AsyncFunction]"===m(n)},n.isBoolean=function(n){return"boolean"==typeof n},n.isDate=_,n.isFunction=y,n.isInteger=w,n.isNil=c,n.isNumber=l,n.isObject=o,n.isPlainObject=function(n){return!c(n)&&"[object Object]"===m(n)},n.isPromiseLike=function(n){return!!n&&y(n.then)&&y(n.catch)},n.isRegExp=E,n.isString=function(n){return"string"==typeof n},n.isUndefined=function(n){return void 0===n},n.isWindow=function(n){return n&&n===n.window},n.looseEqual=function r(t,e){if(o(t)&&o(e)){if(S(t)&&S(e))return t.length===e.length&&t.every(function(n,t){return r(n,e[t])});if(_(t)&&_(e))return+t==+e;if(E(t)&&E(e))return t.toString()===e.toString();var n=Object.keys(t),i=Object.keys(e);return n.length===i.length&&n.every(function(n){return r(t[n],e[n])})}return t===e},n.map=function(n,t,r){return b(v,n,t,r)},n.noop=function(){},n.sleep=function(t){return new Promise(function(n){setTimeout(n,t)})},n.toString=m,n.type=function(n){return c(n)?n+"":o(n)||y(n)?k[m(n)]||"object":typeof n}}({});
/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

{
"name": "celia",
"version": "6.0.0-beta.2",
"version": "6.0.0-beta.3",
"description": "A modern JavaScript utility library delivering modularity, performance, and extras.",
"main": "./index.js",
"module": "./es.js",
"unpkg": "./umd.js",
"jsdelivr": "./umd.js",
"unpkg": "./iife.js",
"jsdelivr": "./iife.js",
"scripts": {

@@ -44,3 +44,2 @@ "build": "node ./scripts/build.js",

"jest": "^24.0.0",
"kyla": "^1.0.0-beta.2",
"moment": "^2.24.0",

@@ -52,5 +51,5 @@ "rimraf": "^2.6.3",

"rollup-plugin-combine": "^1.0.0",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-commonjs": "^10.0.1",
"rollup-plugin-flow-no-whitespace": "^1.0.0",
"rollup-plugin-node-resolve": "^4.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.1.0",

@@ -57,0 +56,0 @@ "uglify-js": "^3.4.9",

@@ -68,3 +68,3 @@ # celia

import each from 'celia/es/each';
import getUID from 'celia/es/getUID';
import getUid from 'celia/es/getUid';
import hasOwn from 'celia/es/hasOwn';

@@ -97,3 +97,3 @@ import isArrayLike from 'celia/es/isArrayLike';

each,
getUID,
getUid,
hasOwn,

@@ -125,3 +125,3 @@ isArrayLike,

const each = require('celia/each');
const getUID = require('celia/getUID');
const getUid = require('celia/getUid');
const hasOwn = require('celia/hasOwn');

@@ -128,0 +128,0 @@ const isArrayLike = require('celia/isArrayLike');

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng

@@ -125,4 +125,5 @@ * Released under the MIT License.

function getUid (obj) {
return obj[UID_PROPERTY] ||
(obj[UID_PROPERTY] = ++uidCounter);
return obj[UID_PROPERTY] || Object.defineProperty(obj, UID_PROPERTY, {
value: ++uidCounter
});
}

@@ -129,0 +130,0 @@

/*
* celia.js v6.0.0-beta.2
* celia.js v6.0.0-beta.3
* (c) 2018-2019 Jesse Feng
* Released under the MIT License.
*/
var n,t;n=this,t=function(n){"use strict";function u(n,t){return n[n.length]=t,n}function c(n){return null==n}function i(n){return null!==n&&"object"==typeof n}function f(n,t){return t?n.bind(t):n}function o(n,t,e,r,o){for(var i=f(r,o),u=t,c=void 0;!1!==c&&u<e;u++)c=i(n[u],u,n)}function r(t,e,n){e=f(e,n);var r=Object.keys(t);o(Object.keys(t),0,r.length,function(n){return e(t[n],n)})}function t(n){if(c(n))throw new TypeError("Cannot convert undefined or null to object");var e=Object(n);return o(arguments,1,arguments.length,function(n){i(n)&&r(n,function(n,t){e[t]=n})}),e}function a(n,t,e){o(n,0,n.length,t,e)}function s(n,t,e){for(var r=f(t,e),o=0,i=void 0;!1!==i&&o<n;o++)i=r(o,o,o)}function l(n){return"number"==typeof n}function e(n){return l(n)&&isFinite(n)&&n>>0===n}function b(n,t,e,r){var o=[],i=f(e,r);return n(t,function(n,t){c(n=i(n,t))||u(o,n)}),o}var p=Object.assign||t;function y(n){return"function"==typeof n}function g(n){return!c(n)&&l(n.length)&&!y(n)}function d(n,t,e){g(n)?a(n,t,e):i(n)||y(n)?r(n,t,e):l(n)&&s(n,t,e)}var v="celia_uid_"+(1e9*Math.random()>>>0),h=0;var j=Object.prototype.hasOwnProperty;var O=Object.prototype.toString;function m(n){return O.call(n)}function _(n){return n instanceof Date}var w=Number.isInteger||e;function E(n){return n instanceof RegExp}var S=Array.isArray;var k={};"Boolean,Number,String,Function,AsyncFunction,Array,Date,RegExp,Object,Error,Symbol".split(",").forEach(function(n){k["[object "+n+"]"]=n.toLowerCase()}),n._append=u,n._assign=t,n._bindContext=f,n._forEach=a,n._forIn=function(n,t,e){var r=f(t,e);for(var o in n)if(!1===r(n[o],o))break},n._forNumber=s,n._forOwn=r,n._forSlice=o,n._isInteger=e,n._map=b,n.assign=p,n.each=d,n.getUid=function(n){return n[v]||(n[v]=++h)},n.hasOwn=function(n,t){return j.call(n,t)},n.isArrayLike=g,n.isAsyncFunction=function(n){return"[object AsyncFunction]"===m(n)},n.isBoolean=function(n){return"boolean"==typeof n},n.isDate=_,n.isFunction=y,n.isInteger=w,n.isNil=c,n.isNumber=l,n.isObject=i,n.isPlainObject=function(n){return!c(n)&&"[object Object]"===m(n)},n.isPromiseLike=function(n){return!!n&&y(n.then)&&y(n.catch)},n.isRegExp=E,n.isString=function(n){return"string"==typeof n},n.isUndefined=function(n){return void 0===n},n.isWindow=function(n){return n&&n===n.window},n.looseEqual=function e(t,r){if(i(t)&&i(r)){if(S(t)&&S(r))return t.length===r.length&&t.every(function(n,t){return e(n,r[t])});if(_(t)&&_(r))return+t==+r;if(E(t)&&E(r))return t.toString()===r.toString();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 t===r},n.map=function(n,t,e){return b(d,n,t,e)},n.noop=function(){},n.sleep=function(t){return new Promise(function(n){setTimeout(n,t)})},n.toString=m,n.type=function(n){return c(n)?n+"":i(n)||y(n)?k[m(n)]||"object":typeof n}},"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((n=n||self).celia={});
var n,t;n=this,t=function(n){"use strict";function u(n,t){return n[n.length]=t,n}function c(n){return null==n}function i(n){return null!==n&&"object"==typeof n}function f(n,t){return t?n.bind(t):n}function o(n,t,e,r,o){for(var i=f(r,o),u=t,c=void 0;!1!==c&&u<e;u++)c=i(n[u],u,n)}function r(t,e,n){e=f(e,n);var r=Object.keys(t);o(Object.keys(t),0,r.length,function(n){return e(t[n],n)})}function t(n){if(c(n))throw new TypeError("Cannot convert undefined or null to object");var e=Object(n);return o(arguments,1,arguments.length,function(n){i(n)&&r(n,function(n,t){e[t]=n})}),e}function a(n,t,e){o(n,0,n.length,t,e)}function s(n,t,e){for(var r=f(t,e),o=0,i=void 0;!1!==i&&o<n;o++)i=r(o,o,o)}function l(n){return"number"==typeof n}function e(n){return l(n)&&isFinite(n)&&n>>0===n}function b(n,t,e,r){var o=[],i=f(e,r);return n(t,function(n,t){c(n=i(n,t))||u(o,n)}),o}var p=Object.assign||t;function y(n){return"function"==typeof n}function g(n){return!c(n)&&l(n.length)&&!y(n)}function d(n,t,e){g(n)?a(n,t,e):i(n)||y(n)?r(n,t,e):l(n)&&s(n,t,e)}var v="celia_uid_"+(1e9*Math.random()>>>0),j=0;var h=Object.prototype.hasOwnProperty;var O=Object.prototype.toString;function m(n){return O.call(n)}function _(n){return n instanceof Date}var w=Number.isInteger||e;function E(n){return n instanceof RegExp}var S=Array.isArray;var k={};"Boolean,Number,String,Function,AsyncFunction,Array,Date,RegExp,Object,Error,Symbol".split(",").forEach(function(n){k["[object "+n+"]"]=n.toLowerCase()}),n._append=u,n._assign=t,n._bindContext=f,n._forEach=a,n._forIn=function(n,t,e){var r=f(t,e);for(var o in n)if(!1===r(n[o],o))break},n._forNumber=s,n._forOwn=r,n._forSlice=o,n._isInteger=e,n._map=b,n.assign=p,n.each=d,n.getUid=function(n){return n[v]||Object.defineProperty(n,v,{value:++j})},n.hasOwn=function(n,t){return h.call(n,t)},n.isArrayLike=g,n.isAsyncFunction=function(n){return"[object AsyncFunction]"===m(n)},n.isBoolean=function(n){return"boolean"==typeof n},n.isDate=_,n.isFunction=y,n.isInteger=w,n.isNil=c,n.isNumber=l,n.isObject=i,n.isPlainObject=function(n){return!c(n)&&"[object Object]"===m(n)},n.isPromiseLike=function(n){return!!n&&y(n.then)&&y(n.catch)},n.isRegExp=E,n.isString=function(n){return"string"==typeof n},n.isUndefined=function(n){return void 0===n},n.isWindow=function(n){return n&&n===n.window},n.looseEqual=function e(t,r){if(i(t)&&i(r)){if(S(t)&&S(r))return t.length===r.length&&t.every(function(n,t){return e(n,r[t])});if(_(t)&&_(r))return+t==+r;if(E(t)&&E(r))return t.toString()===r.toString();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 t===r},n.map=function(n,t,e){return b(d,n,t,e)},n.noop=function(){},n.sleep=function(t){return new Promise(function(n){setTimeout(n,t)})},n.toString=m,n.type=function(n){return c(n)?n+"":i(n)||y(n)?k[m(n)]||"object":typeof n}},"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((n=n||self).celia={});
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