parsegraph-collections
Advanced tools
Comparing version 1.4.3-dev to 1.4.3
@@ -1,118 +0,1 @@ | ||
/* | ||
* ATTENTION: An "eval-source-map" devtool has been used. | ||
* This devtool is neither made for production nor for readable output files. | ||
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools. | ||
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) | ||
* or disable the default devtool with "devtool: false". | ||
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). | ||
*/ | ||
(function webpackUniversalModuleDefinition(root, factory) { | ||
if(typeof exports === 'object' && typeof module === 'object') | ||
module.exports = factory(); | ||
else if(typeof define === 'function' && define.amd) | ||
define([], factory); | ||
else if(typeof exports === 'object') | ||
exports["parsegraph_collections"] = factory(); | ||
else | ||
root["parsegraph_collections"] = factory(); | ||
})(this, function() { | ||
return /******/ (() => { // webpackBootstrap | ||
/******/ "use strict"; | ||
/******/ var __webpack_modules__ = ({ | ||
/***/ "./src/ArrayList.ts": | ||
/*!**************************!*\ | ||
!*** ./src/ArrayList.ts ***! | ||
\**************************/ | ||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { | ||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar ArrayList =\n/** @class */\nfunction () {\n function ArrayList() {\n this._data = [];\n this._length = 0;\n }\n\n ArrayList.prototype.clear = function () {\n this._length = 0;\n };\n\n ArrayList.prototype.length = function () {\n return this._length;\n };\n\n ArrayList.prototype.slice = function () {\n return this._data.slice(0, this.length());\n };\n\n ArrayList.prototype.forEach = function (cb) {\n for (var i = 0; i < this.length(); ++i) {\n cb(this.at(i), i);\n }\n };\n\n ArrayList.prototype.concat = function (other) {\n var _this = this;\n\n other.forEach(function (val) {\n return _this.push(val);\n });\n };\n\n ArrayList.prototype.push = function () {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n\n for (var i = 0; i < args.length; ++i) {\n if (this._length == this._data.length) {\n this._data.push(args[i]);\n } else {\n this._data[this._length] = args[i];\n }\n\n this._length++;\n }\n };\n\n ArrayList.prototype.at = function (i) {\n if (i >= this._length || i < 0) {\n throw new Error(\"Index out of bounds: \" + i);\n }\n\n return this._data[i];\n };\n\n return ArrayList;\n}();\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ArrayList);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvQXJyYXlMaXN0LnRzLmpzIiwibWFwcGluZ3MiOiI7Ozs7QUFBQSxJQUFJQSxTQUFTO0FBQUc7QUFBZSxZQUFZO0FBQ3ZDLFdBQVNBLFNBQVQsR0FBcUI7QUFDakIsU0FBS0MsS0FBTCxHQUFhLEVBQWI7QUFDQSxTQUFLQyxPQUFMLEdBQWUsQ0FBZjtBQUNIOztBQUNERixFQUFBQSxTQUFTLENBQUNHLFNBQVYsQ0FBb0JDLEtBQXBCLEdBQTRCLFlBQVk7QUFDcEMsU0FBS0YsT0FBTCxHQUFlLENBQWY7QUFDSCxHQUZEOztBQUdBRixFQUFBQSxTQUFTLENBQUNHLFNBQVYsQ0FBb0JFLE1BQXBCLEdBQTZCLFlBQVk7QUFDckMsV0FBTyxLQUFLSCxPQUFaO0FBQ0gsR0FGRDs7QUFHQUYsRUFBQUEsU0FBUyxDQUFDRyxTQUFWLENBQW9CRyxLQUFwQixHQUE0QixZQUFZO0FBQ3BDLFdBQU8sS0FBS0wsS0FBTCxDQUFXSyxLQUFYLENBQWlCLENBQWpCLEVBQW9CLEtBQUtELE1BQUwsRUFBcEIsQ0FBUDtBQUNILEdBRkQ7O0FBR0FMLEVBQUFBLFNBQVMsQ0FBQ0csU0FBVixDQUFvQkksT0FBcEIsR0FBOEIsVUFBVUMsRUFBVixFQUFjO0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SA9IGFyZ3NbaV07XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICB0aGlzLl9sZW5ndGgrKztcbiAgICAgICAgfVxuICAgIH07XG4gICAgQXJyYXlMaXN0LnByb3RvdHlwZS5hdCA9IGZ1bmN0aW9uIChpKSB7XG4gICAgICAgIGlmIChpID49IHRoaXMuX2xlbmd0aCB8fCBpIDwgMCkge1xuICAgICAgICAgICAgdGhyb3cgbmV3IEVycm9yKFwiSW5kZXggb3V0IG9mIGJvdW5kczogXCIgKyBpKTtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gdGhpcy5fZGF0YVtpXTtcbiAgICB9O1xuICAgIHJldHVybiBBcnJheUxpc3Q7XG59KCkpO1xuZXhwb3J0IGRlZmF1bHQgQXJyYXlMaXN0O1xuIl0sIm5hbWVzIjpbIkFycmF5TGlzdCIsIl9kYXRhIiwiX2xlbmd0aCIsInByb3RvdHlwZSIsImNsZWFyIiwibGVuZ3RoIiwic2xpY2UiLCJmb3JFYWNoIiwiY2IiLCJpIiwiYXQiLCJjb25jYXQiLCJvdGhlciIsIl90aGlzIiwidmFsIiwicHVzaCIsImFyZ3MiLCJfaSIsImFyZ3VtZW50cyIsIkVycm9yIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/ArrayList.ts\n"); | ||
/***/ }), | ||
/***/ "./src/Float32List.ts": | ||
/*!****************************!*\ | ||
!*** ./src/Float32List.ts ***! | ||
\****************************/ | ||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { | ||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar Float32List =\n/** @class */\nfunction () {\n function Float32List(initialSize) {\n if (initialSize === void 0) {\n initialSize = 8;\n }\n\n this._data = new Float32Array(initialSize);\n this._length = 0;\n }\n\n Float32List.prototype.push = function () {\n var args = [];\n\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n\n for (var i = 0; i < args.length; ++i) {\n if (this._length == this._data.length) {\n var created = new Float32Array(2 * this._data.length);\n\n for (var i_1 = 0; i_1 < this._data.length; ++i_1) {\n created[i_1] = this._data[i_1];\n }\n\n this._data = created;\n }\n\n var v = args[i];\n\n if (Number.isNaN(v)) {\n throw new Error(\"Pushed value is NaN\");\n }\n\n this._data[this._length++] = v;\n }\n };\n\n Float32List.prototype.clear = function () {\n this._length = 0;\n };\n\n Float32List.prototype.length = function () {\n return this._length;\n };\n\n Float32List.prototype.slice = function () {\n return this._data.subarray(0, this._length);\n };\n\n return Float32List;\n}();\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Float32List);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvRmxvYXQzMkxpc3QudHMuanMiLCJtYXBwaW5ncyI6Ijs7OztBQUFBLElBQUlBLFdBQVc7QUFBRztBQUFlLFlBQVk7QUFDekMsV0FBU0EsV0FBVCxDQUFxQkMsV0FBckIsRUFBa0M7QUFDOUIsUUFBSUEsV0FBVyxLQUFLLEtBQUssQ0FBekIsRUFBNEI7QUFBRUEsTUFBQUEsV0FBVyxHQUFHLENBQWQ7QUFBa0I7O0FBQ2hELFNBQUtDLEtBQUwsR0FBYSxJQUFJQyxZQUFKLENBQWlCRixXQUFqQixDQUFiO0FBQ0EsU0FBS0csT0FBTCxHQUFlLENBQWY7QUFDSDs7QUFDREosRUFBQUEsV0FBVyxDQUFDSyxTQUFaLENBQXNCQyxJQUF0QixHQUE2QixZQUFZO0FBQ3JDLFFBQUlDLElBQUksR0FBRyxFQUFYOztBQUNBLFNBQUssSUFBSUMsRUFBRSxHQUFHLENBQWQsRUFBaUJBLEVBQUUsR0FBR0MsU0FBUyxDQUFDQyxNQUFoQyxFQUF3Q0YsRUFBRSxFQUExQyxFQUE4Qzt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0dXJuIEZsb2F0MzJMaXN0O1xufSgpKTtcbmV4cG9ydCBkZWZhdWx0IEZsb2F0MzJMaXN0O1xuIl0sIm5hbWVzIjpbIkZsb2F0MzJMaXN0IiwiaW5pdGlhbFNpemUiLCJfZGF0YSIsIkZsb2F0MzJBcnJheSIsIl9sZW5ndGgiLCJwcm90b3R5cGUiLCJwdXNoIiwiYXJncyIsIl9pIiwiYXJndW1lbnRzIiwibGVuZ3RoIiwiaSIsImNyZWF0ZWQiLCJpXzEiLCJ2IiwiTnVtYmVyIiwiaXNOYU4iLCJFcnJvciIsImNsZWFyIiwic2xpY2UiLCJzdWJhcnJheSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/Float32List.ts\n"); | ||
/***/ }), | ||
/***/ "./src/index.ts": | ||
/*!**********************!*\ | ||
!*** ./src/index.ts ***! | ||
\**********************/ | ||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { | ||
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"ArrayList\": () => (/* reexport safe */ _ArrayList__WEBPACK_IMPORTED_MODULE_0__[\"default\"]),\n/* harmony export */ \"Float32List\": () => (/* reexport safe */ _Float32List__WEBPACK_IMPORTED_MODULE_1__[\"default\"])\n/* harmony export */ });\n/* harmony import */ var _ArrayList__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ArrayList */ \"./src/ArrayList.ts\");\n/* harmony import */ var _Float32List__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Float32List */ \"./src/Float32List.ts\");\n\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvaW5kZXgudHMuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBO0FBQ0EiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9wYXJzZWdyYXBoX2NvbGxlY3Rpb25zLy4vc3JjL2luZGV4LnRzP2ZmYjQiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IEFycmF5TGlzdCBmcm9tIFwiLi9BcnJheUxpc3RcIjtcbmltcG9ydCBGbG9hdDMyTGlzdCBmcm9tIFwiLi9GbG9hdDMyTGlzdFwiO1xuZXhwb3J0IHsgQXJyYXlMaXN0LCBGbG9hdDMyTGlzdCB9O1xuIl0sIm5hbWVzIjpbIkFycmF5TGlzdCIsIkZsb2F0MzJMaXN0Il0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/index.ts\n"); | ||
/***/ }) | ||
/******/ }); | ||
/************************************************************************/ | ||
/******/ // The module cache | ||
/******/ var __webpack_module_cache__ = {}; | ||
/******/ | ||
/******/ // The require function | ||
/******/ function __webpack_require__(moduleId) { | ||
/******/ // Check if module is in cache | ||
/******/ var cachedModule = __webpack_module_cache__[moduleId]; | ||
/******/ if (cachedModule !== undefined) { | ||
/******/ return cachedModule.exports; | ||
/******/ } | ||
/******/ // Create a new module (and put it into the cache) | ||
/******/ var module = __webpack_module_cache__[moduleId] = { | ||
/******/ // no module.id needed | ||
/******/ // no module.loaded needed | ||
/******/ exports: {} | ||
/******/ }; | ||
/******/ | ||
/******/ // Execute the module function | ||
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); | ||
/******/ | ||
/******/ // Return the exports of the module | ||
/******/ return module.exports; | ||
/******/ } | ||
/******/ | ||
/************************************************************************/ | ||
/******/ /* webpack/runtime/define property getters */ | ||
/******/ (() => { | ||
/******/ // define getter functions for harmony exports | ||
/******/ __webpack_require__.d = (exports, definition) => { | ||
/******/ for(var key in definition) { | ||
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { | ||
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); | ||
/******/ } | ||
/******/ } | ||
/******/ }; | ||
/******/ })(); | ||
/******/ | ||
/******/ /* webpack/runtime/hasOwnProperty shorthand */ | ||
/******/ (() => { | ||
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) | ||
/******/ })(); | ||
/******/ | ||
/******/ /* webpack/runtime/make namespace object */ | ||
/******/ (() => { | ||
/******/ // define __esModule on exports | ||
/******/ __webpack_require__.r = (exports) => { | ||
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { | ||
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); | ||
/******/ } | ||
/******/ Object.defineProperty(exports, '__esModule', { value: true }); | ||
/******/ }; | ||
/******/ })(); | ||
/******/ | ||
/************************************************************************/ | ||
/******/ | ||
/******/ // startup | ||
/******/ // Load entry module and return exports | ||
/******/ // This entry module can't be inlined because the eval-source-map devtool is used. | ||
/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts"); | ||
/******/ | ||
/******/ return __webpack_exports__; | ||
/******/ })() | ||
; | ||
}); | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.parsegraph_collections=e():t.parsegraph_collections=e()}(this,(function(){return(()=>{"use strict";var t={d:(e,o)=>{for(var n in o)t.o(o,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:o[n]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{ArrayList:()=>n,Float32List:()=>i});var o=function(){function t(){this._data=[],this._length=0}return t.prototype.clear=function(){this._length=0},t.prototype.length=function(){return this._length},t.prototype.slice=function(){return this._data.slice(0,this.length())},t.prototype.forEach=function(t){for(var e=0;e<this.length();++e)t(this.at(e),e)},t.prototype.concat=function(t){var e=this;t.forEach((function(t){return e.push(t)}))},t.prototype.push=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var o=0;o<t.length;++o)this._length==this._data.length?this._data.push(t[o]):this._data[this._length]=t[o],this._length++},t.prototype.at=function(t){if(t>=this._length||t<0)throw new Error("Index out of bounds: "+t);return this._data[t]},t}();const n=o;var r=function(){function t(t){void 0===t&&(t=8),this._data=new Float32Array(t),this._length=0}return t.prototype.push=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var o=0;o<t.length;++o){if(this._length==this._data.length){for(var n=new Float32Array(2*this._data.length),r=0;r<this._data.length;++r)n[r]=this._data[r];this._data=n}var i=t[o];if(Number.isNaN(i))throw new Error("Pushed value is NaN");this._data[this._length++]=i}},t.prototype.clear=function(){this._length=0},t.prototype.length=function(){return this._length},t.prototype.slice=function(){return this._data.subarray(0,this._length)},t}();const i=r;return e})()})); |
{ | ||
"name": "parsegraph-collections", | ||
"version": "1.4.3-dev", | ||
"version": "1.4.3", | ||
"description": "collections", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
6473
10
24