@tsdotnet/collection-base
Advanced tools
Comparing version 2.0.9 to 2.0.10
@@ -8,3 +8,3 @@ "use strict"; | ||
const tslib_1 = require("tslib"); | ||
const indexIterable_1 = tslib_1.__importDefault(require("./indexIterable")); | ||
const indexIterable_1 = (0, tslib_1.__importDefault)(require("./indexIterable")); | ||
/** | ||
@@ -19,5 +19,5 @@ * Ensures an iterable from an `ArrayLike` object. | ||
return source; | ||
return indexIterable_1.default(source); | ||
return (0, indexIterable_1.default)(source); | ||
} | ||
exports.default = arrayLikeIterable; | ||
//# sourceMappingURL=arrayLikeIterable.js.map |
@@ -9,19 +9,19 @@ "use strict"; | ||
const tslib_1 = require("tslib"); | ||
const arrayLikeIterable_1 = tslib_1.__importDefault(require("./arrayLikeIterable")); | ||
const arrayLikeIterable_1 = (0, tslib_1.__importDefault)(require("./arrayLikeIterable")); | ||
exports.arrayLikeIterable = arrayLikeIterable_1.default; | ||
const CollectionBase_1 = tslib_1.__importDefault(require("./CollectionBase")); | ||
const CollectionBase_1 = (0, tslib_1.__importDefault)(require("./CollectionBase")); | ||
exports.CollectionBase = CollectionBase_1.default; | ||
const copyIterableTo_1 = tslib_1.__importDefault(require("./copyIterableTo")); | ||
const copyIterableTo_1 = (0, tslib_1.__importDefault)(require("./copyIterableTo")); | ||
exports.copyIterableTo = copyIterableTo_1.default; | ||
const indexIterable_1 = tslib_1.__importDefault(require("./indexIterable")); | ||
const indexIterable_1 = (0, tslib_1.__importDefault)(require("./indexIterable")); | ||
exports.indexIterable = indexIterable_1.default; | ||
const IterableBase_1 = tslib_1.__importDefault(require("./IterableBase")); | ||
const IterableBase_1 = (0, tslib_1.__importDefault)(require("./IterableBase")); | ||
exports.IterableBase = IterableBase_1.default; | ||
const IterableCollectionBase_1 = tslib_1.__importDefault(require("./IterableCollectionBase")); | ||
const IterableCollectionBase_1 = (0, tslib_1.__importDefault)(require("./IterableCollectionBase")); | ||
exports.IterableCollectionBase = IterableCollectionBase_1.default; | ||
const ReadOnlyCollectionBase_1 = tslib_1.__importDefault(require("./ReadOnlyCollectionBase")); | ||
const ReadOnlyCollectionBase_1 = (0, tslib_1.__importDefault)(require("./ReadOnlyCollectionBase")); | ||
exports.ReadOnlyCollectionBase = ReadOnlyCollectionBase_1.default; | ||
const ReadOnlyIterableCollectionBase_1 = tslib_1.__importStar(require("./ReadOnlyIterableCollectionBase")); | ||
const ReadOnlyIterableCollectionBase_1 = (0, tslib_1.__importStar)(require("./ReadOnlyIterableCollectionBase")); | ||
exports.ReadOnlyIterableCollectionBase = ReadOnlyIterableCollectionBase_1.default; | ||
Object.defineProperty(exports, "ExtendedIterable", { enumerable: true, get: function () { return ReadOnlyIterableCollectionBase_1.ExtendedIterable; } }); | ||
//# sourceMappingURL=collection-base.js.map |
@@ -8,4 +8,4 @@ "use strict"; | ||
const tslib_1 = require("tslib"); | ||
const areEqual_1 = tslib_1.__importDefault(require("@tsdotnet/compare/dist/areEqual")); | ||
const ReadOnlyCollectionBase_1 = tslib_1.__importDefault(require("./ReadOnlyCollectionBase")); | ||
const areEqual_1 = (0, tslib_1.__importDefault)(require("@tsdotnet/compare/dist/areEqual")); | ||
const ReadOnlyCollectionBase_1 = (0, tslib_1.__importDefault)(require("./ReadOnlyCollectionBase")); | ||
/** | ||
@@ -12,0 +12,0 @@ * Base class for implementing an externally modifiable collection. |
@@ -8,3 +8,3 @@ "use strict"; | ||
const tslib_1 = require("tslib"); | ||
const ArgumentNullException_1 = tslib_1.__importDefault(require("@tsdotnet/exceptions/dist/ArgumentNullException")); | ||
const ArgumentNullException_1 = (0, tslib_1.__importDefault)(require("@tsdotnet/exceptions/dist/ArgumentNullException")); | ||
/** | ||
@@ -11,0 +11,0 @@ * Copies all values to a numerically indexable object. |
@@ -8,3 +8,3 @@ "use strict"; | ||
const tslib_1 = require("tslib"); | ||
const ArgumentNullException_1 = tslib_1.__importDefault(require("@tsdotnet/exceptions/dist/ArgumentNullException")); | ||
const ArgumentNullException_1 = (0, tslib_1.__importDefault)(require("@tsdotnet/exceptions/dist/ArgumentNullException")); | ||
/* | ||
@@ -11,0 +11,0 @@ * NOTE: Care should be taken not to introduce methods here that would cause an iterable to never complete. |
@@ -8,4 +8,4 @@ "use strict"; | ||
const tslib_1 = require("tslib"); | ||
const InvalidOperationException_1 = tslib_1.__importDefault(require("@tsdotnet/exceptions/dist/InvalidOperationException")); | ||
const ReadOnlyIterableCollectionBase_1 = tslib_1.__importDefault(require("./ReadOnlyIterableCollectionBase")); | ||
const InvalidOperationException_1 = (0, tslib_1.__importDefault)(require("@tsdotnet/exceptions/dist/InvalidOperationException")); | ||
const ReadOnlyIterableCollectionBase_1 = (0, tslib_1.__importDefault)(require("./ReadOnlyIterableCollectionBase")); | ||
/** | ||
@@ -12,0 +12,0 @@ * Base class for implementing an iterable (finite) collection. |
@@ -8,4 +8,4 @@ "use strict"; | ||
const tslib_1 = require("tslib"); | ||
const areEqual_1 = tslib_1.__importDefault(require("@tsdotnet/compare/dist/areEqual")); | ||
const IterableCollectionBase_1 = tslib_1.__importDefault(require("./IterableCollectionBase")); | ||
const areEqual_1 = (0, tslib_1.__importDefault)(require("@tsdotnet/compare/dist/areEqual")); | ||
const IterableCollectionBase_1 = (0, tslib_1.__importDefault)(require("./IterableCollectionBase")); | ||
/** | ||
@@ -12,0 +12,0 @@ * Base class for implementing an internally modifiable, eternally read-only collection. |
@@ -9,6 +9,6 @@ "use strict"; | ||
const tslib_1 = require("tslib"); | ||
const ArgumentNullException_1 = tslib_1.__importDefault(require("@tsdotnet/exceptions/dist/ArgumentNullException")); | ||
const InvalidOperationException_1 = tslib_1.__importDefault(require("@tsdotnet/exceptions/dist/InvalidOperationException")); | ||
const copyIterableTo_1 = tslib_1.__importDefault(require("./copyIterableTo")); | ||
const IterableBase_1 = tslib_1.__importDefault(require("./IterableBase")); | ||
const ArgumentNullException_1 = (0, tslib_1.__importDefault)(require("@tsdotnet/exceptions/dist/ArgumentNullException")); | ||
const InvalidOperationException_1 = (0, tslib_1.__importDefault)(require("@tsdotnet/exceptions/dist/InvalidOperationException")); | ||
const copyIterableTo_1 = (0, tslib_1.__importDefault)(require("./copyIterableTo")); | ||
const IterableBase_1 = (0, tslib_1.__importDefault)(require("./IterableBase")); | ||
/** | ||
@@ -87,3 +87,3 @@ * Base class for implementing finite read-only iterables. | ||
copyTo(target, index = 0) { | ||
return copyIterableTo_1.default(this, target, index); | ||
return (0, copyIterableTo_1.default)(this, target, index); | ||
} | ||
@@ -90,0 +90,0 @@ /** |
{ | ||
"name": "@tsdotnet/collection-base", | ||
"version": "2.0.9", | ||
"version": "2.0.10", | ||
"description": "", | ||
@@ -14,10 +14,10 @@ "author": "electricessence", | ||
"build:dist-esm": "rimraf dist-esm/* && tsc -p tsconfig.esm.json", | ||
"build": "pnpm i && run-p build:*", | ||
"bump": "npm run precommit && npm version patch", | ||
"docs": "rimraf docs/* && rimraf docs/.nojekyll && typedoc --options typedoc.json --readme none", | ||
"build": "pnpm i && pnpm run build:dist && pnpm run build:dist-esm", | ||
"bump": "npm run-script precommit && npm version patch", | ||
"docs": "rimraf docs/* && typedoc --options typedoc.json --readme none", | ||
"lint": "eslint src/**/*.ts", | ||
"precommit": "pnpm i && run-p lint test && run-p build:* && npm run validate && git status -s", | ||
"prepublishOnly": "npm run build && run-p validate test", | ||
"precommit": "pnpm i && run-p lint test && run-p build:* && npm run-script validate && git status -s", | ||
"prepublishOnly": "npm run-script build && run-p validate test", | ||
"preversion": "run-p lint test", | ||
"postversion": "git push && git push --tags && npm run docs && git commit -m \"Updated docs.\" docs && git push", | ||
"postversion": "git push && git push --tags && npm run-script docs && git commit -m \"Updated docs.\" docs && git push", | ||
"test": "mocha -r ts-node/register tests/**/*.ts", | ||
@@ -35,28 +35,28 @@ "validate": "node ./.build/validate-package.js" | ||
"devDependencies": { | ||
"@types/chai": "^4.2.16", | ||
"@types/mocha": "^8.2.2", | ||
"@typescript-eslint/eslint-plugin": "^4.22.0", | ||
"@typescript-eslint/parser": "^4.22.0", | ||
"chai": "^4.3.4", | ||
"@types/chai": "^4.3.0", | ||
"@types/mocha": "^9.1.0", | ||
"@types/node": "^17.0.17", | ||
"@typescript-eslint/eslint-plugin": "^5.11.0", | ||
"@typescript-eslint/parser": "^5.11.0", | ||
"chai": "^4.3.6", | ||
"copyfiles": "^2.4.1", | ||
"eslint": "^7.24.0", | ||
"eslint": "^8.9.0", | ||
"eslint-config-typescript": "^3.0.0", | ||
"eslint-plugin-import": "^2.22.1", | ||
"eslint-plugin-import": "^2.25.4", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-promise": "^5.1.0", | ||
"mocha": "^8.3.2", | ||
"eslint-plugin-promise": "^6.0.0", | ||
"mocha": "^9.2.0", | ||
"npm-run-all": "^4.1.5", | ||
"nyc": "^15.1.0", | ||
"rimraf": "^3.0.2", | ||
"ts-node": "^9.1.1", | ||
"typedoc": "^0.20.35", | ||
"typedoc-plugin-nojekyll": "^1.0.1", | ||
"typescript": "^4.2.4" | ||
"ts-node": "^10.5.0", | ||
"typedoc": "^0.22.11", | ||
"typescript": "^4.5.5" | ||
}, | ||
"dependencies": { | ||
"@tsdotnet/common-interfaces": "^1.0.4", | ||
"@tsdotnet/compare": "^1.3.17", | ||
"@tsdotnet/exceptions": "^1.0.17", | ||
"tslib": "^2.2.0" | ||
"@tsdotnet/compare": "^1.3.20", | ||
"@tsdotnet/exceptions": "^1.0.18", | ||
"tslib": "^2.3.1" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
59334
Updated@tsdotnet/compare@^1.3.20
Updated@tsdotnet/exceptions@^1.0.18
Updatedtslib@^2.3.1