@proficient/ds
Advanced tools
Comparing version
@@ -1,4 +0,3 @@ | ||
export * from './api'; | ||
export { EmptyCollectionError } from './EmptyCollectionError'; | ||
export { ImplementationError } from './ImplementationError'; | ||
export { SLLQueue } from './SLLQueue'; | ||
export * from './classes'; | ||
export * from './errors'; | ||
export * from './interfaces'; |
@@ -13,10 +13,5 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SLLQueue = exports.ImplementationError = exports.EmptyCollectionError = void 0; | ||
__exportStar(require("./api"), exports); | ||
var EmptyCollectionError_1 = require("./EmptyCollectionError"); | ||
Object.defineProperty(exports, "EmptyCollectionError", { enumerable: true, get: function () { return EmptyCollectionError_1.EmptyCollectionError; } }); | ||
var ImplementationError_1 = require("./ImplementationError"); | ||
Object.defineProperty(exports, "ImplementationError", { enumerable: true, get: function () { return ImplementationError_1.ImplementationError; } }); | ||
var SLLQueue_1 = require("./SLLQueue"); | ||
Object.defineProperty(exports, "SLLQueue", { enumerable: true, get: function () { return SLLQueue_1.SLLQueue; } }); | ||
__exportStar(require("./classes"), exports); | ||
__exportStar(require("./errors"), exports); | ||
__exportStar(require("./interfaces"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
import type { Collection } from '../api'; | ||
import type { Collection } from '../interfaces'; | ||
export declare abstract class AbstractCollection<E> implements Collection<E> { | ||
@@ -3,0 +3,0 @@ get isEmpty(): boolean; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.AbstractCollection = void 0; | ||
const EmptyCollectionError_1 = require("../EmptyCollectionError"); | ||
const ImplementationError_1 = require("../ImplementationError"); | ||
const errors_1 = require("../errors"); | ||
class AbstractCollection { | ||
@@ -35,6 +34,6 @@ get isEmpty() { | ||
throwEmptyCollectionError() { | ||
throw new EmptyCollectionError_1.EmptyCollectionError(); | ||
throw new errors_1.EmptyCollectionError(); | ||
} | ||
throwImplementationError() { | ||
throw new ImplementationError_1.ImplementationError(); | ||
throw new errors_1.ImplementationError(); | ||
} | ||
@@ -41,0 +40,0 @@ } |
{ | ||
"name": "@proficient/ds", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "High-quality and essential Typescript data structures", | ||
@@ -40,3 +40,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "ff2cb30962b60bce0be86334776806df53f4e0d7" | ||
"gitHead": "b244c3ff42659af3ba48d717a44e33f1d6addd51" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
28773
49.71%39
44.44%579
55.23%1
Infinity%