Comparing version 5.1.1 to 5.1.2
@@ -6,4 +6,4 @@ const versions = { | ||
export default (function (doc) { | ||
return doc.documentMode || versions[typeof doc.all + typeof XMLHttpRequest]; | ||
})(document || {}); | ||
export default function () { | ||
return document.documentMode || versions[typeof document.all + typeof XMLHttpRequest]; | ||
} |
/*! | ||
* celia.js v5.1.1 | ||
* celia.js v5.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -13,5 +13,5 @@ * Released under the MIT License. | ||
var msie = (function (doc) { | ||
return doc.documentMode || versions[typeof doc.all + typeof XMLHttpRequest]; | ||
})(document || {}); | ||
function msie () { | ||
return document.documentMode || versions[typeof document.all + typeof XMLHttpRequest]; | ||
} | ||
@@ -18,0 +18,0 @@ var browser = { |
/*! | ||
* celia.js v5.1.1 | ||
* celia.js v5.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -17,5 +17,5 @@ * Released under the MIT License. | ||
var msie = (function (doc) { | ||
return doc.documentMode || versions[typeof doc.all + typeof XMLHttpRequest]; | ||
})(document || {}); | ||
function msie () { | ||
return document.documentMode || versions[typeof document.all + typeof XMLHttpRequest]; | ||
} | ||
@@ -22,0 +22,0 @@ var browser = { |
/*! | ||
* celia.js v5.1.1 | ||
* celia.js v5.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
* Released under the MIT License. | ||
*/ | ||
var e,t;e=this,t=function(){"use strict";var e,t={objectobject:7,objectundefined:6};return{msie:(e=document||{}).documentMode||t[typeof e.all+typeof XMLHttpRequest]}},"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).celia=t(); | ||
var e,t;e=this,t=function(){"use strict";var e={objectobject:7,objectundefined:6};return{msie:function(){return document.documentMode||e[typeof document.all+typeof XMLHttpRequest]}}},"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).celia=t(); |
/*! | ||
* celia.js v5.1.1 | ||
* celia.js v5.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -13,5 +13,5 @@ * Released under the MIT License. | ||
var msie = (function (doc) { | ||
return doc.documentMode || versions[typeof doc.all + typeof XMLHttpRequest]; | ||
})(document || {}); | ||
function msie () { | ||
return document.documentMode || versions[typeof document.all + typeof XMLHttpRequest]; | ||
} | ||
@@ -18,0 +18,0 @@ var browser = { |
/*! | ||
* celia.js v5.1.1 | ||
* celia.js v5.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -11,5 +11,5 @@ * Released under the MIT License. | ||
var msie = (function (doc) { | ||
return doc.documentMode || versions[typeof doc.all + typeof XMLHttpRequest]; | ||
})(document || {}); | ||
function msie () { | ||
return document.documentMode || versions[typeof document.all + typeof XMLHttpRequest]; | ||
} | ||
@@ -16,0 +16,0 @@ var browser = { |
/*! | ||
* celia.js v5.1.1 | ||
* celia.js v5.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -17,5 +17,5 @@ * Released under the MIT License. | ||
var msie = (function (doc) { | ||
return doc.documentMode || versions[typeof doc.all + typeof XMLHttpRequest]; | ||
})(document || {}); | ||
function msie () { | ||
return document.documentMode || versions[typeof document.all + typeof XMLHttpRequest]; | ||
} | ||
@@ -22,0 +22,0 @@ var browser = { |
/*! | ||
* celia.js v5.1.1 | ||
* celia.js v5.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
* Released under the MIT License. | ||
*/ | ||
var n,t;n=this,t=function(){"use strict";var n,t={objectobject:7,objectundefined:6},e={msie:(n=document||{}).documentMode||t[typeof n.all+typeof XMLHttpRequest]},r=/-([a-z])/g;function f(n){return null==n}function o(n){return"function"==typeof n}function i(n){return"number"==typeof n}function u(n){return!f(n)&&i(n.length)&&!o(n)}function a(n,t){return t?n.bind(t):n}function c(n,t,e,r,o){for(var i=a(r,o),u=t,c=void 0;!1!==c&&u<e;u++)c=i(n[u],u,n)}function s(n,t,e){c(n,0,n.length,t,e)}function p(n,t,e,r){var o=a(e,r);for(var i in t)if(n(o,t[i],i))break}function d(r,n,t){p(function(n,t,e){return r.hasOwnProperty(e)&&!1===n(t,e,r)},r,n,t)}function l(n,t,e){for(var r=a(t,e),o=0,i=void 0;!1!==i&&o<n;o++)i=r(o,o,o)}function v(n,t,e){n&&(u(n)?s(n,t,e):i(n)?l(n,t,e):d(n,t,e))}function b(n,t,e){return n&&l(n,t,e)}function g(n){return!f(n)&&"object"==typeof n}function m(n,t,e){return g(n)&&d(n,t,e)}function y(n){return void 0===n}var j=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,h=/\\(\\)?/g;var w="celia_uid_"+(1e9*Math.random()>>>0),x=0;var O=Object.prototype.toString;function A(n){return O.call(n)}function C(n){return"string"==typeof n}function E(n,t){return n[n.length]=t,n}function N(n,t,e,r){var o=[],i=a(e,r);return n(t,function(n,t){f(n=i(n,t))||E(o,n)}),o}var R={forNumber:b,map:function(n,t,e){return N(b,n,t,e)}};var U={assign:Object.assign||function(n){if(f(n))throw new TypeError("Cannot convert undefined or null to object");var e=Object(n);return c(arguments,1,arguments.length,function(n){m(n,function(n,t){e[t]=n})}),e},forIn:function(n,t,e){return g(n)&&function(r,n,t){p(function(n,t,e){return!1===n(t,e,r)},r,n,t)}(n,t,e)},forOwn:m,map:function(n,t,e){return N(m,n,t,e)}};function F(n){return decodeURIComponent(n.replace(/\+/g," "))}var I=/([^=?&]+)=?([^&]*)/g,L=Array.isArray;var S={parse:function(n){var t={};if(C(n))for(var e;e=I.exec(n);){var r=e[1];if(e[0]!==r){var o=e[2],i=t[r];y(i)?t[r]=F(o):L(i)?E(i,F(o)):t[r]=[i,F(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 m(n,function(n,t){n||!f(n)&&!isNaN(n)||(n=""),E(r,encodeURIComponent(t)+e+encodeURIComponent(n))}),r.length?r.join(t):""}};var k={};"Boolean,Number,String,Function,Array,Date,RegExp,Object,Error,Symbol".split(",").forEach(function(n){k["[object "+n+"]"]=n.toLowerCase()});var z={isAbsolute:function(n){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)},join:function(n){var t=arguments.length;f(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{browser:e,camelCase:function(n){return n.replace(r,function(n,t){return t.toUpperCase()})},each:v,forEach:function(n,t,e){return n&&s(n,t,e)},forNumber:b,forOwn:m,get:function(n,t,e){for(var r;!f(n)&&(r=j.exec(t));){var o=r[0],i=r[1],u=r[2],c=r[3];n=n[u?c.replace(h,"$1"):i||o]}return y(n)?e:n},getUid:function(n){return n[w]||(n[w]=++x)},isArrayLike:u,isAsyncFunction:function(n){return"[object AsyncFunction]"===A(n)},isBoolean:function(n){return"boolean"==typeof n},isDate:function(n){return"[object Date]"===A(n)},isFunction:o,isNil:f,isNumber:i,isObject:g,isPromiseLike:function(n){return!!n&&o(n.then)},isRegExp:function(n){return"[object RegExp]"===A(n)},isString:C,isUndefined:y,isWindow:function(n){return n&&n===n.window},map:function(n,t,e){return N(v,n,t,e)},number:R,object:U,qs:S,sleep:function(t){return new Promise(function(n){setTimeout(n,t)})},type:function(n){return f(n)?n+"":g(n)||o(n)?k[A(n)]||"object":typeof n},url:z}},"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={objectobject:7,objectundefined:6};var t={msie:function(){return document.documentMode||n[typeof document.all+typeof XMLHttpRequest]}},e=/-([a-z])/g;function f(n){return null==n}function r(n){return"function"==typeof n}function o(n){return"number"==typeof n}function u(n){return!f(n)&&o(n.length)&&!r(n)}function a(n,t){return t?n.bind(t):n}function i(n,t,e,r,o){for(var u=a(r,o),i=t,c=void 0;!1!==c&&i<e;i++)c=u(n[i],i,n)}function c(n,t,e){i(n,0,n.length,t,e)}function s(n,t,e,r){var o=a(e,r);for(var u in t)if(n(o,t[u],u))break}function p(r,n,t){s(function(n,t,e){return r.hasOwnProperty(e)&&!1===n(t,e,r)},r,n,t)}function d(n,t,e){for(var r=a(t,e),o=0,u=void 0;!1!==u&&o<n;o++)u=r(o,o,o)}function l(n,t,e){n&&(u(n)?c(n,t,e):o(n)?d(n,t,e):p(n,t,e))}function v(n,t,e){return n&&d(n,t,e)}function b(n){return!f(n)&&"object"==typeof n}function m(n,t,e){return b(n)&&p(n,t,e)}function g(n){return void 0===n}var y=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,j=/\\(\\)?/g;var h="celia_uid_"+(1e9*Math.random()>>>0),w=0;var x=Object.prototype.toString;function O(n){return x.call(n)}function A(n){return"string"==typeof n}function C(n,t){return n[n.length]=t,n}function E(n,t,e,r){var o=[],u=a(e,r);return n(t,function(n,t){f(n=u(n,t))||C(o,n)}),o}var N={forNumber:v,map:function(n,t,e){return E(v,n,t,e)}};var R={assign:Object.assign||function(n){if(f(n))throw new TypeError("Cannot convert undefined or null to object");var e=Object(n);return i(arguments,1,arguments.length,function(n){m(n,function(n,t){e[t]=n})}),e},forIn:function(n,t,e){return b(n)&&function(r,n,t){s(function(n,t,e){return!1===n(t,e,r)},r,n,t)}(n,t,e)},forOwn:m,map:function(n,t,e){return E(m,n,t,e)}};function U(n){return decodeURIComponent(n.replace(/\+/g," "))}var F=/([^=?&]+)=?([^&]*)/g,I=Array.isArray;var L={parse:function(n){var t={};if(A(n))for(var e;e=F.exec(n);){var r=e[1];if(e[0]!==r){var o=e[2],u=t[r];g(u)?t[r]=U(o):I(u)?C(u,U(o)):t[r]=[u,U(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 m(n,function(n,t){n||!f(n)&&!isNaN(n)||(n=""),C(r,encodeURIComponent(t)+e+encodeURIComponent(n))}),r.length?r.join(t):""}};var S={};"Boolean,Number,String,Function,Array,Date,RegExp,Object,Error,Symbol".split(",").forEach(function(n){S["[object "+n+"]"]=n.toLowerCase()});var k={isAbsolute:function(n){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)},join:function(n){var t=arguments.length;f(n)?1<t&&(n=""):n=n.replace(/\/+$/,"");var e="";return i(arguments,1,t,function(n){n&&(e+="/",e+=n)}),e&&(n+=e.replace(/\/+/g,"/")),n}};return{browser:t,camelCase:function(n){return n.replace(e,function(n,t){return t.toUpperCase()})},each:l,forEach:function(n,t,e){return n&&c(n,t,e)},forNumber:v,forOwn:m,get:function(n,t,e){for(var r;!f(n)&&(r=y.exec(t));){var o=r[0],u=r[1],i=r[2],c=r[3];n=n[i?c.replace(j,"$1"):u||o]}return g(n)?e:n},getUid:function(n){return n[h]||(n[h]=++w)},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:r,isNil:f,isNumber:o,isObject:b,isPromiseLike:function(n){return!!n&&r(n.then)},isRegExp:function(n){return"[object RegExp]"===O(n)},isString:A,isUndefined:g,isWindow:function(n){return n&&n===n.window},map:function(n,t,e){return E(l,n,t,e)},number:N,object:R,qs:L,sleep:function(t){return new Promise(function(n){setTimeout(n,t)})},type:function(n){return f(n)?n+"":b(n)||r(n)?S[O(n)]||"object":typeof n},url:k}},"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(n=n||self).celia=t(); |
/*! | ||
* celia.js v5.1.1 | ||
* celia.js v5.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.1.1 | ||
* celia.js v5.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.1.1 | ||
* celia.js v5.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.1.1 | ||
* celia.js v5.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.1.1 | ||
* celia.js v5.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.1.1 | ||
* celia.js v5.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.1.1 | ||
* celia.js v5.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.1.1 | ||
* celia.js v5.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.1.1 | ||
* celia.js v5.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.1.1 | ||
* celia.js v5.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.1.1 | ||
* celia.js v5.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* celia.js v5.1.1 | ||
* celia.js v5.1.2 | ||
* (c) 2018-2019 Jesse Feng | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
{ | ||
"name": "celia", | ||
"version": "5.1.1", | ||
"version": "5.1.2", | ||
"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
65957