@lumino/coreutils
Advanced tools
Comparing version 1.8.0 to 1.8.1
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : | ||
typeof define === 'function' && define.amd ? define(['exports'], factory) : | ||
(global = global || self, factory(global.lumino_coreutils = {})); | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.lumino_coreutils = {})); | ||
}(this, (function (exports) { 'use strict'; | ||
// Copyright (c) Jupyter Development Team. | ||
// Distributed under the terms of the Modified BSD License. | ||
/*----------------------------------------------------------------------------- | ||
| Copyright (c) 2014-2017, PhosphorJS Contributors | ||
| | ||
| Distributed under the terms of the BSD 3-Clause License. | ||
| | ||
| The full license is in the file LICENSE, distributed with this software. | ||
|----------------------------------------------------------------------------*/ | ||
/** | ||
* The namespace for JSON-specific functions. | ||
*/ | ||
exports.JSONExt = void 0; | ||
(function (JSONExt) { | ||
@@ -324,2 +336,14 @@ /** | ||
// Copyright (c) Jupyter Development Team. | ||
// Distributed under the terms of the Modified BSD License. | ||
/*----------------------------------------------------------------------------- | ||
| Copyright (c) 2014-2017, PhosphorJS Contributors | ||
| | ||
| Distributed under the terms of the BSD 3-Clause License. | ||
| | ||
| The full license is in the file LICENSE, distributed with this software. | ||
|----------------------------------------------------------------------------*/ | ||
/** | ||
* The namespace for random number related functionality. | ||
*/ | ||
exports.Random = void 0; | ||
(function (Random) { | ||
@@ -412,2 +436,6 @@ /** | ||
// Copyright (c) Jupyter Development Team. | ||
/** | ||
* The namespace for UUID related functionality. | ||
*/ | ||
exports.UUID = void 0; | ||
(function (UUID) { | ||
@@ -414,0 +442,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).lumino_coreutils={})}(this,(function(t){"use strict";!function(t){function e(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t}function n(t){return Array.isArray(t)}function r(t,o){if(t===o)return!0;if(e(t)||e(o))return!1;var i=n(t),u=n(o);return i===u&&(i&&u?function(t,e){if(t===e)return!0;if(t.length!==e.length)return!1;for(var n=0,o=t.length;n<o;++n)if(!r(t[n],e[n]))return!1;return!0}(t,o):function(t,e){if(t===e)return!0;for(var n in t)if(void 0!==t[n]&&!(n in e))return!1;for(var n in e)if(void 0!==e[n]&&!(n in t))return!1;for(var n in t){var o=t[n],i=e[n];if(void 0!==o||void 0!==i){if(void 0===o||void 0===i)return!1;if(!r(o,i))return!1}}return!0}(t,o))}function o(t){return e(t)?t:n(t)?function(t){for(var e=new Array(t.length),n=0,r=t.length;n<r;++n)e[n]=o(t[n]);return e}(t):function(t){var e={};for(var n in t){var r=t[n];void 0!==r&&(e[n]=o(r))}return e}(t)}t.emptyObject=Object.freeze({}),t.emptyArray=Object.freeze([]),t.isPrimitive=e,t.isArray=n,t.isObject=function(t){return!e(t)&&!n(t)},t.deepEqual=r,t.deepCopy=o}(t.JSONExt||(t.JSONExt={}));var e,n=function(){function t(){this._types=[],this._values=[]}return t.prototype.types=function(){return this._types.slice()},t.prototype.hasData=function(t){return-1!==this._types.indexOf(t)},t.prototype.getData=function(t){var e=this._types.indexOf(t);return-1!==e?this._values[e]:void 0},t.prototype.setData=function(t,e){this.clearData(t),this._types.push(t),this._values.push(e)},t.prototype.clearData=function(t){var e=this._types.indexOf(t);-1!==e&&(this._types.splice(e,1),this._values.splice(e,1))},t.prototype.clear=function(){this._types.length=0,this._values.length=0},t}(),r=function(){function t(){var t=this;this.promise=new Promise((function(e,n){t._resolve=e,t._reject=n}))}return t.prototype.resolve=function(t){(0,this._resolve)(t)},t.prototype.reject=function(t){(0,this._reject)(t)},t}();(t.Random||(t.Random={})).getRandomValues=(e="undefined"!=typeof window&&(window.crypto||window.msCrypto)||"undefined"!=typeof require&&require("crypto")||null)&&"function"==typeof e.getRandomValues?function(t){return e.getRandomValues(t)}:e&&"function"==typeof e.randomFillSync?function(t){return e.randomFillSync(t)}:e&&"function"==typeof e.randomBytes?function(t){for(var n=e.randomBytes(t.length),r=0,o=n.length;r<o;++r)t[r]=n[r]}:function(t){for(var e=0,n=0,r=t.length;n<r;++n)n%4==0&&(e=4294967295*Math.random()>>>0),t[n]=255&e,e>>>=8};var o=function(t){this.name=t,this._tokenStructuralPropertyT=null};(t.UUID||(t.UUID={})).uuid4=function(){for(var e=new Uint8Array(16),n=new Array(256),r=0;r<16;++r)n[r]="0"+r.toString(16);for(r=16;r<256;++r)n[r]=r.toString(16);return function(){return t.Random.getRandomValues(e),e[6]=64|15&e[6],e[8]=128|63&e[8],n[e[0]]+n[e[1]]+n[e[2]]+n[e[3]]+"-"+n[e[4]]+n[e[5]]+"-"+n[e[6]]+n[e[7]]+"-"+n[e[8]]+n[e[9]]+"-"+n[e[10]]+n[e[11]]+n[e[12]]+n[e[13]]+n[e[14]]+n[e[15]]}}(),t.MimeData=n,t.PromiseDelegate=r,t.Token=o,Object.defineProperty(t,"__esModule",{value:!0})})); | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).lumino_coreutils={})}(this,(function(t){"use strict";t.JSONExt=void 0,function(t){function e(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t}function n(t){return Array.isArray(t)}function r(t,o){if(t===o)return!0;if(e(t)||e(o))return!1;var i=n(t),u=n(o);return i===u&&(i&&u?function(t,e){if(t===e)return!0;if(t.length!==e.length)return!1;for(var n=0,o=t.length;n<o;++n)if(!r(t[n],e[n]))return!1;return!0}(t,o):function(t,e){if(t===e)return!0;for(var n in t)if(void 0!==t[n]&&!(n in e))return!1;for(var n in e)if(void 0!==e[n]&&!(n in t))return!1;for(var n in t){var o=t[n],i=e[n];if(void 0!==o||void 0!==i){if(void 0===o||void 0===i)return!1;if(!r(o,i))return!1}}return!0}(t,o))}function o(t){return e(t)?t:n(t)?function(t){for(var e=new Array(t.length),n=0,r=t.length;n<r;++n)e[n]=o(t[n]);return e}(t):function(t){var e={};for(var n in t){var r=t[n];void 0!==r&&(e[n]=o(r))}return e}(t)}t.emptyObject=Object.freeze({}),t.emptyArray=Object.freeze([]),t.isPrimitive=e,t.isArray=n,t.isObject=function(t){return!e(t)&&!n(t)},t.deepEqual=r,t.deepCopy=o}(t.JSONExt||(t.JSONExt={}));var e,n=function(){function t(){this._types=[],this._values=[]}return t.prototype.types=function(){return this._types.slice()},t.prototype.hasData=function(t){return-1!==this._types.indexOf(t)},t.prototype.getData=function(t){var e=this._types.indexOf(t);return-1!==e?this._values[e]:void 0},t.prototype.setData=function(t,e){this.clearData(t),this._types.push(t),this._values.push(e)},t.prototype.clearData=function(t){var e=this._types.indexOf(t);-1!==e&&(this._types.splice(e,1),this._values.splice(e,1))},t.prototype.clear=function(){this._types.length=0,this._values.length=0},t}(),r=function(){function t(){var t=this;this.promise=new Promise((function(e,n){t._resolve=e,t._reject=n}))}return t.prototype.resolve=function(t){(0,this._resolve)(t)},t.prototype.reject=function(t){(0,this._reject)(t)},t}();t.Random=void 0,(t.Random||(t.Random={})).getRandomValues=(e="undefined"!=typeof window&&(window.crypto||window.msCrypto)||"undefined"!=typeof require&&require("crypto")||null)&&"function"==typeof e.getRandomValues?function(t){return e.getRandomValues(t)}:e&&"function"==typeof e.randomFillSync?function(t){return e.randomFillSync(t)}:e&&"function"==typeof e.randomBytes?function(t){for(var n=e.randomBytes(t.length),r=0,o=n.length;r<o;++r)t[r]=n[r]}:function(t){for(var e=0,n=0,r=t.length;n<r;++n)n%4==0&&(e=4294967295*Math.random()>>>0),t[n]=255&e,e>>>=8};var o=function(t){this.name=t,this._tokenStructuralPropertyT=null};t.UUID=void 0,(t.UUID||(t.UUID={})).uuid4=function(){for(var e=new Uint8Array(16),n=new Array(256),r=0;r<16;++r)n[r]="0"+r.toString(16);for(r=16;r<256;++r)n[r]=r.toString(16);return function(){return t.Random.getRandomValues(e),e[6]=64|15&e[6],e[8]=128|63&e[8],n[e[0]]+n[e[1]]+n[e[2]]+n[e[3]]+"-"+n[e[4]]+n[e[5]]+"-"+n[e[6]]+n[e[7]]+"-"+n[e[8]]+n[e[9]]+"-"+n[e[10]]+n[e[11]]+n[e[12]]+n[e[13]]+n[e[14]]+n[e[15]]}}(),t.MimeData=n,t.PromiseDelegate=r,t.Token=o,Object.defineProperty(t,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=index.min.js.map |
{ | ||
"name": "@lumino/coreutils", | ||
"version": "1.8.0", | ||
"version": "1.8.1", | ||
"description": "Lumino Core Utilities", | ||
@@ -21,8 +21,4 @@ "homepage": "https://github.com/jupyterlab/lumino", | ||
], | ||
"files": [ | ||
"dist/*", | ||
"src/*", | ||
"types/*" | ||
], | ||
"main": "dist/index.js", | ||
"jsdelivr": "dist/index.min.js", | ||
"unpkg": "dist/index.min.js", | ||
@@ -34,2 +30,7 @@ "module": "dist/index.es6", | ||
"types": "types/index.d.ts", | ||
"files": [ | ||
"dist/*", | ||
"src/*", | ||
"types/*" | ||
], | ||
"scripts": { | ||
@@ -54,18 +55,18 @@ "api": "api-extractor run --local --verbose", | ||
"@types/mocha": "^2.2.39", | ||
"chai": "^3.5.0", | ||
"chai": "^4.3.4", | ||
"es6-promise": "^4.0.5", | ||
"karma": "^4.4.1", | ||
"karma-chrome-launcher": "^2.0.0", | ||
"karma-firefox-launcher": "^1.0.0", | ||
"karma": "^6.3.4", | ||
"karma-chrome-launcher": "^3.1.0", | ||
"karma-firefox-launcher": "^2.1.1", | ||
"karma-ie-launcher": "^1.0.0", | ||
"karma-mocha": "^1.3.0", | ||
"karma-mocha-reporter": "^2.2.2", | ||
"mocha": "^6.2.2", | ||
"rimraf": "^2.5.2", | ||
"rollup": "^2.22.1", | ||
"karma-mocha": "^2.0.1", | ||
"karma-mocha-reporter": "^2.2.5", | ||
"mocha": "^9.0.3", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.56.0", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"rollup-plugin-postcss": "^2.0.3", | ||
"rollup-plugin-sourcemaps": "^0.5.0", | ||
"terser": "^4.6.2", | ||
"tslib": "1.10.0", | ||
"rollup-plugin-postcss": "^4.0.0", | ||
"rollup-plugin-sourcemaps": "^0.6.3", | ||
"terser": "^5.7.1", | ||
"tslib": "^2.3.0", | ||
"typedoc": "~0.15.0", | ||
@@ -81,5 +82,3 @@ "typescript": "~3.6.0", | ||
"access": "public" | ||
}, | ||
"jsdelivr": "dist/index.min.js", | ||
"gitHead": "cbb8cfd804b647ff7a150799353b27c2dc17f373" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
0
1939
154103
28