@pushrocks/lik
Advanced tools
Comparing version 5.0.4 to 5.0.5
@@ -1,9 +0,9 @@ | ||
export * from './lik.fastmap'; | ||
export * from './lik.interestmap'; | ||
export * from './lik.interestmap.interest'; | ||
export * from './lik.limitedarray'; | ||
export * from './lik.looptracker'; | ||
export * from './lik.objectmap'; | ||
export * from './lik.stringmap'; | ||
export * from './lik.timedaggregator'; | ||
export * from './lik.tree'; | ||
export * from './lik.fastmap.js'; | ||
export * from './lik.interestmap.js'; | ||
export * from './lik.interestmap.interest.js'; | ||
export * from './lik.limitedarray.js'; | ||
export * from './lik.looptracker.js'; | ||
export * from './lik.objectmap.js'; | ||
export * from './lik.stringmap.js'; | ||
export * from './lik.timedaggregator.js'; | ||
export * from './lik.tree.js'; |
@@ -1,22 +0,10 @@ | ||
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./lik.fastmap"), exports); | ||
__exportStar(require("./lik.interestmap"), exports); | ||
__exportStar(require("./lik.interestmap.interest"), exports); | ||
__exportStar(require("./lik.limitedarray"), exports); | ||
__exportStar(require("./lik.looptracker"), exports); | ||
__exportStar(require("./lik.objectmap"), exports); | ||
__exportStar(require("./lik.stringmap"), exports); | ||
__exportStar(require("./lik.timedaggregator"), exports); | ||
__exportStar(require("./lik.tree"), exports); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFBQSxnREFBOEI7QUFDOUIsb0RBQWtDO0FBQ2xDLDZEQUEyQztBQUMzQyxxREFBbUM7QUFDbkMsb0RBQWtDO0FBQ2xDLGtEQUFnQztBQUNoQyxrREFBZ0M7QUFDaEMsd0RBQXNDO0FBQ3RDLDZDQUEyQiJ9 | ||
export * from './lik.fastmap.js'; | ||
export * from './lik.interestmap.js'; | ||
export * from './lik.interestmap.interest.js'; | ||
export * from './lik.limitedarray.js'; | ||
export * from './lik.looptracker.js'; | ||
export * from './lik.objectmap.js'; | ||
export * from './lik.stringmap.js'; | ||
export * from './lik.timedaggregator.js'; | ||
export * from './lik.tree.js'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGNBQWMsc0JBQXNCLENBQUM7QUFDckMsY0FBYywrQkFBK0IsQ0FBQztBQUM5QyxjQUFjLHVCQUF1QixDQUFDO0FBQ3RDLGNBQWMsc0JBQXNCLENBQUM7QUFDckMsY0FBYyxvQkFBb0IsQ0FBQztBQUNuQyxjQUFjLG9CQUFvQixDQUFDO0FBQ25DLGNBQWMsMEJBQTBCLENBQUM7QUFDekMsY0FBYyxlQUFlLENBQUMifQ== |
@@ -1,9 +0,10 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.FastMap = void 0; | ||
require("./lik.plugins"); | ||
/* ============ | ||
The FastMap has the goal of creating the fastes to use map possible in JS | ||
============ */ | ||
import './lik.plugins.js'; | ||
/** | ||
* fast map allows for very quick lookups of objects with a unique key | ||
*/ | ||
class FastMap { | ||
export class FastMap { | ||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UFFO2dCQUN0QixPQUFPLElBQUksQ0FBQzthQUNiO1NBQ0Y7SUFDSCxDQUFDO0NBQ0YifQ== |
@@ -1,3 +0,3 @@ | ||
import * as plugins from './lik.plugins'; | ||
import { Interest } from './lik.interestmap.interest'; | ||
import * as plugins from './lik.plugins.js'; | ||
import { Interest } from './lik.interestmap.interest.js'; | ||
export declare type IInterestComparisonFunc<T> = (objectArg: T) => string; | ||
@@ -20,9 +20,8 @@ export interface IInterestMapOptions { | ||
* adds an interest to the InterestMap | ||
* @param objectArg | ||
* @param interestId | ||
*/ | ||
addInterest(objectArg: DTInterestId, defaultFullfillmentArg?: DTInterestFullfillment): Promise<Interest<DTInterestId, DTInterestFullfillment>>; | ||
addInterest(interestId: DTInterestId, defaultFullfillmentArg?: DTInterestFullfillment): Promise<Interest<DTInterestId, DTInterestFullfillment>>; | ||
interestObservable: plugins.smartrx.ObservableIntake<Interest<DTInterestId, any>>; | ||
/** | ||
* removes an interest from the interest map | ||
* @param objectArg removes an interest from the InterestMap | ||
*/ | ||
@@ -46,5 +45,5 @@ removeInterest(interestArg: Interest<DTInterestId, DTInterestFullfillment>): void; | ||
* finds an interest | ||
* @param objectArg | ||
* @param interestId | ||
*/ | ||
findInterest(objectArg: DTInterestId): Interest<DTInterestId, DTInterestFullfillment>; | ||
findInterest(interestId: DTInterestId): Interest<DTInterestId, DTInterestFullfillment>; | ||
} |
@@ -1,3 +0,3 @@ | ||
import * as plugins from './lik.plugins'; | ||
import { InterestMap, IInterestComparisonFunc } from './lik.interestmap'; | ||
import * as plugins from './lik.plugins.js'; | ||
import { InterestMap, IInterestComparisonFunc } from './lik.interestmap.js'; | ||
export interface IInterestOptions<DTInterestFullfillment> { | ||
@@ -4,0 +4,0 @@ markLostAfterDefault: number; |
@@ -1,26 +0,4 @@ | ||
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Interest = void 0; | ||
const plugins = __importStar(require("./lik.plugins")); | ||
require("./lik.interestmap"); | ||
class Interest { | ||
import * as plugins from './lik.plugins.js'; | ||
import './lik.interestmap.js'; | ||
export class Interest { | ||
/** | ||
@@ -30,3 +8,2 @@ * | ||
constructor(interestMapArg, interestArg, comparisonFuncArg, optionsArg) { | ||
var _a; | ||
this.destructionTimer = new plugins.smarttime.Timer(10000); | ||
@@ -47,3 +24,3 @@ this.isFullfilled = false; | ||
}); | ||
if ((_a = this.options) === null || _a === void 0 ? void 0 : _a.markLostAfterDefault) { | ||
if (this.options?.markLostAfterDefault) { | ||
plugins.smartdelay.delayFor(this.options.markLostAfterDefault).then(this.markLost); | ||
@@ -91,3 +68,2 @@ } | ||
} | ||
exports.Interest = Interest; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlrLmludGVyZXN0bWFwLmludGVyZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvbGlrLmludGVyZXN0bWFwLmludGVyZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSx1REFBeUM7QUFFekMsNkJBQX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var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.InterestMap = void 0; | ||
const plugins = __importStar(require("./lik.plugins")); | ||
const lik_objectmap_1 = require("./lik.objectmap"); | ||
const lik_interestmap_interest_1 = require("./lik.interestmap.interest"); | ||
class InterestMap { | ||
/* =========== | ||
The InterestMap is an mechanism that collects interests into something | ||
An interest is expressed by an object, string or number. | ||
A comparison func can be specified to make interests comparable | ||
For every unique interestId an interest is created. | ||
Subssequent interests will be mapped to the same interest | ||
which is then is only fullfilled once. | ||
=========== */ | ||
import * as plugins from './lik.plugins.js'; | ||
import { ObjectMap } from './lik.objectmap.js'; | ||
import { Interest } from './lik.interestmap.interest.js'; | ||
export class InterestMap { | ||
constructor(comparisonFuncArg, optionsArg = {}) { | ||
@@ -31,4 +18,3 @@ /** | ||
*/ | ||
this.interestObjectMap = new lik_objectmap_1.ObjectMap(); | ||
// tslint:disable-next-line:member-ordering | ||
this.interestObjectMap = new ObjectMap(); | ||
this.interestObservable = new plugins.smartrx.ObservableIntake(); | ||
@@ -40,8 +26,8 @@ this.comparisonFunc = comparisonFuncArg; | ||
* adds an interest to the InterestMap | ||
* @param objectArg | ||
* @param interestId | ||
*/ | ||
async addInterest(objectArg, defaultFullfillmentArg) { | ||
const comparisonString = this.comparisonFunc(objectArg); | ||
async addInterest(interestId, defaultFullfillmentArg) { | ||
const comparisonString = this.comparisonFunc(interestId); | ||
let returnInterest; | ||
const newInterest = new lik_interestmap_interest_1.Interest(this, objectArg, this.comparisonFunc, { | ||
const newInterest = new Interest(this, interestId, this.comparisonFunc, { | ||
markLostAfterDefault: this.options.markLostAfterDefault, | ||
@@ -68,3 +54,2 @@ defaultFullfillment: defaultFullfillmentArg, | ||
* removes an interest from the interest map | ||
* @param objectArg removes an interest from the InterestMap | ||
*/ | ||
@@ -110,6 +95,6 @@ removeInterest(interestArg) { | ||
* finds an interest | ||
* @param objectArg | ||
* @param interestId | ||
*/ | ||
findInterest(objectArg) { | ||
const comparableString = this.comparisonFunc(objectArg); | ||
findInterest(interestId) { | ||
const comparableString = this.comparisonFunc(interestId); | ||
const interest = this.interestObjectMap.findSync((interestArg) => { | ||
@@ -121,3 +106,2 @@ return interestArg.comparisonString === comparableString; | ||
} | ||
exports.InterestMap = InterestMap; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlrLmludGVyZXN0bWFwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvbGlrLmludGVyZXN0bWFwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSx1REFBeUM7QUFDekMsbURBQTRDO0FBQzVDLHlFQUFzRDtBQVF0RCxNQUFhLFdBQVc7SUFhdEIsWUFDRSxpQkFBd0QsRUFDeEQsYUFBa0MsRUFBRTtRQVp0Qzs7V0FFRztRQUNLLHNCQUFpQixHQUFHLElBQUkseUJBQVMsRUFBa0QsQ0FBQztRQW1ENUYsMkNBQTJDO1FBQ3BDLHVCQUFrQixHQUFHLElBQUksT0FBTyxDQUFDLE9BQU8sQ0FBQyxn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QyxDQUFDO1FBQ0gsSUFBSSxhQUFhLEVBQUU7WUFDakIsT0FBTyxJQUFJLENBQUM7U0FDYjthQUFNO1lBQ0wsT0FBTyxLQUFLLENBQUM7U0FDZDtJQUNILENBQUM7SUFFRDs7O09BR0c7SUFDSSxrQkFBa0IsQ0FBQyxVQUF3QjtRQUNoRCxNQUFNLGNBQWMsR0FBRyxJQUFJLENBQUMsWUFBWSxDQUFDLFVBQVUsQ0FBQyxDQUFDO1FBQ3JELElBQUksY0FBYyxFQUFFO1lBQ2xCLGNBQWMsQ0FBQyxRQUFRLEVBQUUsQ0FBQztTQUMzQjtJQUNILENBQUM7SUFFRDs7O09BR0c7SUFDSSxZQUFZLENBQUMsVUFBd0I7UUFDMUMsTUFBTSxnQkFBZ0IsR0FBRyxJQUFJLENBQUMsY0FBYyxDQUFDLFVBQVUsQ0FBQyxDQUFDO1FBQ3pELE1BQU0sUUFBUSxHQUFHLElBQUksQ0FBQyxpQkFBaUIsQ0FBQyxRQUFRLENBQUMsQ0FBQyxXQUFXLEVBQUUsRUFBRTtZQUMvRCxPQUFPLFdBQVcsQ0FBQyxnQkFBZ0IsS0FBSyxnQkFBZ0IsQ0FBQztRQUMzRCxDQUFDLENBQUMsQ0FBQztRQUNILE9BQU8sUUFBUSxDQUFDLENBQUMsZ0ZBQWdGO0lBQ25HLENBQUM7Q0FDRiJ9 |
@@ -1,6 +0,3 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.LimitedArray = void 0; | ||
require("./lik.plugins"); | ||
class LimitedArray { | ||
import './lik.plugins.js'; | ||
export class LimitedArray { | ||
constructor(limitArg) { | ||
@@ -41,3 +38,2 @@ this.array = []; | ||
} | ||
exports.LimitedArray = LimitedArray; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlrLmxpbWl0ZWRhcnJheS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3Rz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TSxDQUFDLFNBQVMsQ0FBQyxDQUFDO1NBQ3hCO0lBQ0gsQ0FBQztJQUVELFFBQVEsQ0FBQyxRQUFnQjtRQUN2QixJQUFJLENBQUMsVUFBVSxHQUFHLFFBQVEsQ0FBQztRQUMzQixJQUFJLElBQUksQ0FBQyxLQUFLLENBQUMsTUFBTSxHQUFHLElBQUksQ0FBQyxVQUFVLEVBQUU7WUFDdkMsSUFBSSxDQUFDLEtBQUssQ0FBQyxNQUFNLEdBQUcsSUFBSSxDQUFDLFVBQVUsQ0FBQztTQUNyQztJQUNILENBQUM7SUFFRCxVQUFVO1FBQ1IsSUFBSSxPQUFPLElBQUksQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFDLEtBQUssUUFBUSxFQUFFO1lBQ3JDLElBQUksR0FBRyxHQUFHLENBQUMsQ0FBQztZQUNaLEtBQUssSUFBSSxXQUFXLElBQUksSUFBSSxDQUFDLEtBQUssRUFBRTtnQkFDbEMsSUFBSSxjQUFjLEdBQVEsV0FBVyxDQUFDO2dCQUN0QyxHQUFHLEdBQUcsR0FBRyxHQUFHLGNBQWMsQ0FBQzthQUM1QjtZQUNELE9BQU8sR0FBRyxHQUFHLElBQUksQ0FBQyxLQUFLLENBQUMsTUFBTSxDQUFDO1NBQ2hDO2FBQU07WUFDTCxPQUFPLElBQUksQ0FBQztTQUNiO0lBQ0gsQ0FBQztDQUNGIn0= |
@@ -1,2 +0,2 @@ | ||
import { ObjectMap } from './lik.objectmap'; | ||
import { ObjectMap } from './lik.objectmap.js'; | ||
export declare class LoopTracker<T> { | ||
@@ -3,0 +3,0 @@ referenceObjectMap: ObjectMap<any>; |
@@ -1,9 +0,6 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.LoopTracker = void 0; | ||
require("./lik.plugins"); | ||
const lik_objectmap_1 = require("./lik.objectmap"); | ||
class LoopTracker { | ||
import './lik.plugins.js'; | ||
import { ObjectMap } from './lik.objectmap.js'; | ||
export class LoopTracker { | ||
constructor() { | ||
this.referenceObjectMap = new lik_objectmap_1.ObjectMap(); | ||
this.referenceObjectMap = new ObjectMap(); | ||
// nothing here | ||
@@ -25,3 +22,2 @@ } | ||
} | ||
exports.LoopTracker = LoopTracker; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlrLmxvb3B0cmFja2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvbGlrLmxvb3B0cmFja2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLHlCQUF5QztBQUV6QyxtREFBNEM7QUFFNUMsTUFBYSxXQUFXO0lBRXRCO1FBREEsdUJBQWtCLEdBQUcsSUFBSSx5QkFBUyxFQUFPLENBQUM7UUFFeEMsZUFBZTtJQUNqQixDQUFDO0lBRUQ7OztPQUdHO0lBQ0gsYUFBYSxDQUFDLFNBQVk7UUFDeEIsSUFBSSxDQUFDLElBQUksQ0FBQyxrQkFBa0IsQ0FBQyxjQUFjLENBQUMsU0FBUyxDQUFDLEVBQUU7WUFDdEQsSUFBSSxDQUFDLGtCQUFrQixDQUFDLEdBQUcsQ0FBQyxTQUFTLENBQUMsQ0FBQztZQUN2QyxPQUFPLElBQUksQ0FBQztTQUNiO2FBQU07WUFDTCxPQUFPLEtBQUssQ0FBQztTQUNkO0lBQ0gsQ0FBQztDQUNGO0FBbEJELGtDQWtCQyJ9 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlrLmxvb3B0cmFja2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvbGlrLmxvb3B0cmFja2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQXlCLGtCQUFrQixDQUFDO0FBRTVDLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUUvQyxNQUFNLE9BQU8sV0FBVztJQUV0QjtRQURBLHVCQUFrQixHQUFHLElBQUksU0FBUyxFQUFPLENBQUM7UUFFeEMsZUFBZTtJQUNqQixDQUFDO0lBRUQ7OztPQUdHO0lBQ0gsYUFBYSxDQUFDLFNBQVk7UUFDeEIsSUFBSSxDQUFDLElBQUksQ0FBQyxrQkFBa0IsQ0FBQyxjQUFjLENBQUMsU0FBUyxDQUFDLEVBQUU7WUFDdEQsSUFBSSxDQUFDLGtCQUFrQixDQUFDLEdBQUcsQ0FBQyxTQUFTLENBQUMsQ0FBQztZQUN2QyxPQUFPLElBQUksQ0FBQztTQUNiO2FBQU07WUFDTCxPQUFPLEtBQUssQ0FBQztTQUNkO0lBQ0gsQ0FBQztDQUNGIn0= |
@@ -1,2 +0,2 @@ | ||
import * as plugins from './lik.plugins'; | ||
import * as plugins from './lik.plugins.js'; | ||
export declare const uni: (prefix?: string) => string; | ||
@@ -3,0 +3,0 @@ export interface IObjectmapForEachFunction<T> { |
@@ -1,26 +0,4 @@ | ||
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ObjectMap = exports.uni = void 0; | ||
const plugins = __importStar(require("./lik.plugins")); | ||
const lik_fastmap_1 = require("./lik.fastmap"); | ||
const uni = (prefix = 'uni') => { | ||
import * as plugins from './lik.plugins.js'; | ||
import { FastMap } from './lik.fastmap.js'; | ||
export const uni = (prefix = 'uni') => { | ||
return `${prefix}xxxxxxxxxxx`.replace(/[xy]/g, (c) => { | ||
@@ -32,7 +10,6 @@ const r = (Math.random() * 16) | 0; | ||
}; | ||
exports.uni = uni; | ||
/** | ||
* allows keeping track of objects | ||
*/ | ||
class ObjectMap { | ||
export class ObjectMap { | ||
/** | ||
@@ -42,3 +19,3 @@ * returns a new instance | ||
constructor() { | ||
this.fastMap = new lik_fastmap_1.FastMap(); | ||
this.fastMap = new FastMap(); | ||
// events | ||
@@ -83,3 +60,3 @@ this.eventSubject = new plugins.smartrx.rxjs.Subject(); | ||
// otherwise lets create it | ||
const uniqueKey = (0, exports.uni)('key'); | ||
const uniqueKey = uni('key'); | ||
this.addMappedUnique(uniqueKey, objectArg); | ||
@@ -235,3 +212,2 @@ this.eventSubject.next({ | ||
} | ||
exports.ObjectMap = ObjectMap; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlrLm9iamVjdG1hcC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL2xpay5vYmplY3RtYXAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLHVEQUF5QztBQUN6QywrQ0FBd0M7QUFFakMsTUFBTSxHQUFHLEdBQUcsQ0FBQyxTQUFpQixLQUFLLEVBQUUsRUFBRTtJQUM1QyxPQUFPLEdBQUcsTUFBTSxhQUFhLENBQUMsT0FBTyxDQUFDLE9BQU8sRUFBRSxDQUFDLENBQUMsRUFBRSxFQUFFO1FBQ25ELE1BQU0sQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxHQUFHLEVBQU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QUMsT0FBTyxDQUFDLENBQUM7UUFDakUsT0FBTyxrQkFBa0IsQ0FBQztJQUM1QixDQUFDO0lBRUQ7Ozs7T0FJRztJQUNJLGVBQWUsQ0FBQyxZQUEwQjtRQUMvQyxJQUFJLENBQUMsT0FBTyxDQUFDLGVBQWUsQ0FBQyxZQUFZLENBQUMsT0FBTyxDQUFDLENBQUM7SUFDckQsQ0FBQztDQUNGIn0= |
@@ -7,3 +7,3 @@ import * as smartdelay from '@pushrocks/smartdelay'; | ||
export { smartdelay, smartmatch, smartpromise, smartrx, smarttime }; | ||
declare const symbolTree: any; | ||
import symbolTree from 'symbol-tree'; | ||
export { symbolTree }; |
@@ -1,41 +0,15 @@ | ||
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.symbolTree = exports.smarttime = exports.smartrx = exports.smartpromise = exports.smartmatch = exports.smartdelay = void 0; | ||
// ============== | ||
// @pushrocks | ||
// ============== | ||
const smartdelay = __importStar(require("@pushrocks/smartdelay")); | ||
exports.smartdelay = smartdelay; | ||
const smartmatch = __importStar(require("@pushrocks/smartmatch")); | ||
exports.smartmatch = smartmatch; | ||
const smartpromise = __importStar(require("@pushrocks/smartpromise")); | ||
exports.smartpromise = smartpromise; | ||
const smartrx = __importStar(require("@pushrocks/smartrx")); | ||
exports.smartrx = smartrx; | ||
const smarttime = __importStar(require("@pushrocks/smarttime")); | ||
exports.smarttime = smarttime; | ||
import * as smartdelay from '@pushrocks/smartdelay'; | ||
import * as smartmatch from '@pushrocks/smartmatch'; | ||
import * as smartpromise from '@pushrocks/smartpromise'; | ||
import * as smartrx from '@pushrocks/smartrx'; | ||
import * as smarttime from '@pushrocks/smarttime'; | ||
export { smartdelay, smartmatch, smartpromise, smartrx, smarttime }; | ||
// ============== | ||
// third party | ||
// ============== | ||
const symbolTree = require('symbol-tree'); | ||
exports.symbolTree = symbolTree; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlrLnBsdWdpbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9saWsucGx1Z2lucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsaUJBQWlCO0FBQ2pCLGFBQWE7QUFDYixpQkFBaUI7QUFDakIsa0VBQW9EO0FBTTNDLGdDQUFVO0FBTG5CLGtFQUFvRDtBQUsvQixnQ0FBVTtBQUovQixzRUFBd0Q7QUFJdkIsb0NBQVk7QUFIN0MsNERBQThDO0FBR0MsMEJBQU87QUFGdEQsZ0VBQWtEO0FBRU0sOEJBQVM7QUFFakUsaUJBQWlCO0FBQ2pCLGNBQWM7QUFDZCxpQkFBaUI7QUFDakIsTUFBTSxVQUFVLEdBQUcsT0FBTyxDQUFDLGFBQWEsQ0FBQyxDQUFDO0FBRWpDLGdDQUFVIn0= | ||
import symbolTree from 'symbol-tree'; | ||
export { symbolTree }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlrLnBsdWdpbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9saWsucGx1Z2lucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxpQkFBaUI7QUFDakIsYUFBYTtBQUNiLGlCQUFpQjtBQUNqQixPQUFPLEtBQUssVUFBVSxNQUFNLHVCQUF1QixDQUFDO0FBQ3BELE9BQU8sS0FBSyxVQUFVLE1BQU0sdUJBQXVCLENBQUM7QUFDcEQsT0FBTyxLQUFLLFlBQVksTUFBTSx5QkFBeUIsQ0FBQztBQUN4RCxPQUFPLEtBQUssT0FBTyxNQUFNLG9CQUFvQixDQUFDO0FBQzlDLE9BQU8sS0FBSyxTQUFTLE1BQU0sc0JBQXNCLENBQUM7QUFFbEQsT0FBTyxFQUFFLFVBQVUsRUFBRSxVQUFVLEVBQUUsWUFBWSxFQUFFLE9BQU8sRUFBRSxTQUFTLEVBQUUsQ0FBQztBQUVwRSxpQkFBaUI7QUFDakIsY0FBYztBQUNkLGlCQUFpQjtBQUNqQixPQUFPLFVBQVUsTUFBTSxhQUFhLENBQUM7QUFFckMsT0FBTyxFQUFFLFVBQVUsRUFBRSxDQUFDIn0= |
@@ -1,25 +0,3 @@ | ||
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Stringmap = void 0; | ||
const plugins = __importStar(require("./lik.plugins")); | ||
class Stringmap { | ||
import * as plugins from './lik.plugins.js'; | ||
export class Stringmap { | ||
constructor() { | ||
@@ -126,3 +104,2 @@ this._stringArray = []; | ||
} | ||
exports.Stringmap = Stringmap; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlrLnN0cmluZ21hcC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL2xpay5zdHJpbmdtYXAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLHVEQUF5QztBQVF6QyxNQUFhLFNBQVM7SUFHcEI7UUFGUSxpQkFBWSxHQUFhLEVBQUUsQ0FBQztRQUM1QixtQ0FBOEIsR0FBdUIsRUFBRSxDQUFDO0lBQ2pELENBQUM7SUFDaEI7O09BRUc7SUFDSCxTQUFTLENBQUMsU0FBaUI7UUFDekIsSUFBSSxDQUFDLFlBQVksQ0FBQyxJQUFJLENBQUMsU0FBUyxDQUFDLENBQUM7UUFDbEMsSUFBSSxDQUFDLGFBQWEsRUFBRSxDQUFDO0lBQ3ZCLENBQUM7SUFFRDs7T0FFRztJQUNILGNBQWMsQ0FBQyxjQUF3QjtRQUNyQyxLQUFLLE1BQU0sVUFBVSxJQUFJLGNBQWMsRUFBRTtZQUN2QyxJQUFJLENBQUMsU0FBUyxDQUFDLFVBQVUsQ0FBQyxDQUFDO1NBQzVCO0lBQ0gsQ0FBQztJQUVEOztPQUVHO0lBQ0gsWUFBWSxDQUFDLFNBQWlCO1FBQzVCLEtBQUssTUFBTSxNQUFNLElBQUksSUFBSSxDQUFDLFlBQVksRUFBRTtZQUN0QyxJQUFJLElBQUksQ0FBQyxZQUFZLENBQUMsTUFBTSxDQUFDLEtBQUssU0FBUyxF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0Qjs7T0FFRztJQUNJLGlCQUFpQixDQUFDLFdBQTZCLEVBQUUsV0FBdUI7UUFDN0UsTUFBTSxZQUFZLEdBQUcsT0FBTyxDQUFDLFlBQVksQ0FBQyxLQUFLLEVBQUUsQ0FBQztRQUNsRCxJQUFJLENBQUMsOEJBQThCLENBQUMsSUFBSSxDQUFDLEdBQUcsRUFBRTtZQUM1QyxNQUFNLE1BQU0sR0FBRyxXQUFXLENBQUMsSUFBSSxDQUFDLGNBQWMsRUFBRSxDQUFDLENBQUM7WUFDbEQsSUFBSSxNQUFNLEtBQUssSUFBSSxFQUFFO2dCQUNuQixJQUFJLFdBQVcsRUFBRTtvQkFDZixXQUFXLEVBQUUsQ0FBQztpQkFDZjtnQkFDRCxZQUFZLENBQUMsT0FBTyxFQUFFLENBQUM7YUFDeEI7WUFDRCxPQUFPLE1BQU0sQ0FBQztRQUNoQixDQUFDLENBQUMsQ0FBQztRQUNILElBQUksQ0FBQyxhQUFhLEVBQUUsQ0FBQztRQUNyQixPQUFPLFlBQVksQ0FBQyxPQUFPLENBQUM7SUFDOUIsQ0FBQztJQUVEOztPQUVHO0lBQ0ssYUFBYTtRQUNuQixNQUFNLGFBQWEsR0FBRyxJQUFJLENBQUMsOEJBQThCLENBQUMsTUFBTSxDQUFDLENBQUMsV0FBVyxFQUFFLEVBQUU7WUFDL0UsT0FBTyxDQUFDLFdBQVcsRUFBRSxDQUFDO1FBQ3hCLENBQUMsQ0FBQyxDQUFDO1FBQ0gsSUFBSSxDQUFDLDhCQUE4QixHQUFHLGFBQWEsQ0FBQztJQUN0RCxDQUFDO0NBQ0YifQ== |
@@ -1,25 +0,3 @@ | ||
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.TimedAggregtor = void 0; | ||
const plugins = __importStar(require("./lik.plugins")); | ||
class TimedAggregtor { | ||
import * as plugins from './lik.plugins.js'; | ||
export class TimedAggregtor { | ||
constructor(optionsArg) { | ||
@@ -53,3 +31,2 @@ this.storageArray = []; | ||
} | ||
exports.TimedAggregtor = TimedAggregtor; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlrLnRpbWVkYWdncmVnYXRvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL2xpay50aW1lZGFnZ3JlZ2F0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLHVEQUF5QztBQU96QyxNQUFhLGNBQWM7SUFJekIsWUFBWSxVQUFzQztRQUYxQyxpQkFBWSxHQUFRLEVBQUUsQ0FBQztRQUc3QixJQUFJLENBQUMsT0FBTyxHQUFHLFVBQVUsQ0FBQztJQUM1QixDQUFDO0lBR08sc0JBQXNCO1FBQzVCLE1BQU0sbUJBQW1CLEdBQUcsR0FBRyxFQUFFO1lBQy9CLElBQUksQ0FBQyxnQkFBZ0IsR0FBRyxJQUFJLE9BQU8sQ0FBQyxTQUFTLENBQUMsS0FBSyxDQUFDLElBQUksQ0FBQyxPQUFPLENBQUMsMkJBQTJCLENBQUMsQ0FBQztZ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FZLENBQUMsSUFBSSxDQUFDLGNBQWMsQ0FBQyxDQUFDO1FBQ3ZDLElBQUksQ0FBQyxzQkFBc0IsRUFBRSxDQUFDO0lBQ2hDLENBQUM7Q0FDRiJ9 |
@@ -1,25 +0,3 @@ | ||
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Tree = void 0; | ||
const plugins = __importStar(require("./lik.plugins")); | ||
class Tree { | ||
import * as plugins from './lik.plugins.js'; | ||
export class Tree { | ||
constructor() { | ||
@@ -132,3 +110,2 @@ this.symbolTree = new plugins.symbolTree(); | ||
} | ||
exports.Tree = Tree; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlrLnRyZWUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9saWsudHJlZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsdURBQXlDO0FBRXpDLE1BQWEsSUFBSTtJQUVmO1FBQ0UsSUFBSSxDQUFDLFVBQVUsR0FBRyxJQUFJLE9BQU8s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UsWUFBZTtRQUNqRCxPQUFPLElBQUksQ0FBQyxVQUFVLENBQUMsWUFBWSxDQUFDLGtCQUFrQixFQUFFLFlBQVksQ0FBQyxDQUFDO0lBQ3hFLENBQUM7SUFFRCxXQUFXLENBQUMsa0JBQXFCLEVBQUUsWUFBZTtRQUNoRCxPQUFPLElBQUksQ0FBQyxVQUFVLENBQUMsV0FBVyxDQUFDLGtCQUFrQixFQUFFLFlBQVksQ0FBQyxDQUFDO0lBQ3ZFLENBQUM7SUFFRCw4Q0FBOEM7SUFDOUMsNENBQTRDO0lBQzVDLDhDQUE4QztJQUU5Qzs7O09BR0c7SUFDSCxrQkFBa0IsQ0FBQyxXQUFjO1FBQy9CLE1BQU0sWUFBWSxHQUFHLElBQUksQ0FBQyxZQUFZLENBQUMsV0FBVyxFQUFFLEVBQUUsQ0FBQyxDQUFDO1FBQ3hELEtBQUssTUFBTSxRQUFRLElBQUksWUFBWSxFQUFFO1lBQ25DLE9BQU8sQ0FBQyxHQUFHLENBQUMsUUFBUSxDQUFDLENBQUM7U0FDdkI7SUFDSCxDQUFDO0lBRUQ7OztPQUdHO0lBQ0gsb0JBQW9CLENBQUMsV0FBYyxJQUFHLENBQUM7Q0FDeEMifQ== |
{ | ||
"name": "@pushrocks/lik", | ||
"version": "5.0.4", | ||
"version": "5.0.5", | ||
"private": false, | ||
@@ -8,5 +8,6 @@ "description": "light little helpers for node", | ||
"typings": "dist_ts/index.d.ts", | ||
"type": "module", | ||
"scripts": { | ||
"test": "(tstest test/)", | ||
"build": "(tsbuild --web && tsbundle npm)" | ||
"build": "(tsbuild --web --allowimplicitany && tsbundle npm)" | ||
}, | ||
@@ -24,8 +25,8 @@ "repository": { | ||
"devDependencies": { | ||
"@gitzone/tsbuild": "^2.1.29", | ||
"@gitzone/tsbundle": "^1.0.89", | ||
"@gitzone/tsrun": "^1.2.18", | ||
"@gitzone/tstest": "^1.0.60", | ||
"@pushrocks/tapbundle": "^4.0.0", | ||
"@types/node": "^17.0.10", | ||
"@gitzone/tsbuild": "^2.1.63", | ||
"@gitzone/tsbundle": "^2.0.4", | ||
"@gitzone/tsrun": "^1.2.34", | ||
"@gitzone/tstest": "^1.0.71", | ||
"@pushrocks/tapbundle": "^5.0.3", | ||
"@types/node": "^17.0.35", | ||
"tslint": "^6.1.3", | ||
@@ -37,5 +38,5 @@ "tslint-config-prettier": "^1.18.0" | ||
"@pushrocks/smartmatch": "^1.0.7", | ||
"@pushrocks/smartpromise": "^3.1.6", | ||
"@pushrocks/smartpromise": "^3.1.7", | ||
"@pushrocks/smartrx": "^2.0.25", | ||
"@pushrocks/smarttime": "^3.0.43", | ||
"@pushrocks/smarttime": "^3.0.45", | ||
"@types/minimatch": "^3.0.5", | ||
@@ -42,0 +43,0 @@ "symbol-tree": "^3.2.4" |
@@ -1,9 +0,9 @@ | ||
export * from './lik.fastmap'; | ||
export * from './lik.interestmap'; | ||
export * from './lik.interestmap.interest'; | ||
export * from './lik.limitedarray'; | ||
export * from './lik.looptracker'; | ||
export * from './lik.objectmap'; | ||
export * from './lik.stringmap'; | ||
export * from './lik.timedaggregator'; | ||
export * from './lik.tree'; | ||
export * from './lik.fastmap.js'; | ||
export * from './lik.interestmap.js'; | ||
export * from './lik.interestmap.interest.js'; | ||
export * from './lik.limitedarray.js'; | ||
export * from './lik.looptracker.js'; | ||
export * from './lik.objectmap.js'; | ||
export * from './lik.stringmap.js'; | ||
export * from './lik.timedaggregator.js'; | ||
export * from './lik.tree.js'; |
@@ -1,3 +0,8 @@ | ||
import * as plugins from './lik.plugins'; | ||
/* ============ | ||
The FastMap has the goal of creating the fastes to use map possible in JS | ||
============ */ | ||
import * as plugins from './lik.plugins.js'; | ||
/** | ||
@@ -4,0 +9,0 @@ * fast map allows for very quick lookups of objects with a unique key |
@@ -1,4 +0,4 @@ | ||
import * as plugins from './lik.plugins'; | ||
import * as plugins from './lik.plugins.js'; | ||
import { InterestMap, IInterestComparisonFunc } from './lik.interestmap'; | ||
import { InterestMap, IInterestComparisonFunc } from './lik.interestmap.js'; | ||
@@ -5,0 +5,0 @@ export interface IInterestOptions<DTInterestFullfillment> { |
@@ -1,5 +0,16 @@ | ||
import * as plugins from './lik.plugins'; | ||
import { ObjectMap } from './lik.objectmap'; | ||
import { Interest } from './lik.interestmap.interest'; | ||
/* =========== | ||
The InterestMap is an mechanism that collects interests into something | ||
An interest is expressed by an object, string or number. | ||
A comparison func can be specified to make interests comparable | ||
For every unique interestId an interest is created. | ||
Subssequent interests will be mapped to the same interest | ||
which is then is only fullfilled once. | ||
=========== */ | ||
import * as plugins from './lik.plugins.js'; | ||
import { ObjectMap } from './lik.objectmap.js'; | ||
import { Interest } from './lik.interestmap.interest.js'; | ||
export type IInterestComparisonFunc<T> = (objectArg: T) => string; | ||
@@ -34,13 +45,13 @@ | ||
* adds an interest to the InterestMap | ||
* @param objectArg | ||
* @param interestId | ||
*/ | ||
public async addInterest( | ||
objectArg: DTInterestId, | ||
interestId: DTInterestId, | ||
defaultFullfillmentArg?: DTInterestFullfillment | ||
): Promise<Interest<DTInterestId, DTInterestFullfillment>> { | ||
const comparisonString = this.comparisonFunc(objectArg); | ||
const comparisonString = this.comparisonFunc(interestId); | ||
let returnInterest: Interest<DTInterestId, DTInterestFullfillment>; | ||
const newInterest = new Interest<DTInterestId, DTInterestFullfillment>( | ||
this, | ||
objectArg, | ||
interestId, | ||
this.comparisonFunc, | ||
@@ -69,3 +80,2 @@ { | ||
// tslint:disable-next-line:member-ordering | ||
public interestObservable = new plugins.smartrx.ObservableIntake<Interest<DTInterestId, any>>(); | ||
@@ -75,3 +85,2 @@ | ||
* removes an interest from the interest map | ||
* @param objectArg removes an interest from the InterestMap | ||
*/ | ||
@@ -120,6 +129,6 @@ public removeInterest(interestArg: Interest<DTInterestId, DTInterestFullfillment>) { | ||
* finds an interest | ||
* @param objectArg | ||
* @param interestId | ||
*/ | ||
public findInterest(objectArg: DTInterestId): Interest<DTInterestId, DTInterestFullfillment> { | ||
const comparableString = this.comparisonFunc(objectArg); | ||
public findInterest(interestId: DTInterestId): Interest<DTInterestId, DTInterestFullfillment> { | ||
const comparableString = this.comparisonFunc(interestId); | ||
const interest = this.interestObjectMap.findSync((interestArg) => { | ||
@@ -126,0 +135,0 @@ return interestArg.comparisonString === comparableString; |
@@ -1,2 +0,2 @@ | ||
import * as plugins from './lik.plugins'; | ||
import * as plugins from './lik.plugins.js'; | ||
@@ -3,0 +3,0 @@ export class LimitedArray<T> { |
@@ -1,4 +0,4 @@ | ||
import * as plugins from './lik.plugins'; | ||
import * as plugins from './lik.plugins.js'; | ||
import { ObjectMap } from './lik.objectmap'; | ||
import { ObjectMap } from './lik.objectmap.js'; | ||
@@ -5,0 +5,0 @@ export class LoopTracker<T> { |
@@ -1,3 +0,3 @@ | ||
import * as plugins from './lik.plugins'; | ||
import { FastMap } from './lik.fastmap'; | ||
import * as plugins from './lik.plugins.js'; | ||
import { FastMap } from './lik.fastmap.js'; | ||
@@ -4,0 +4,0 @@ export const uni = (prefix: string = 'uni') => { |
@@ -15,4 +15,4 @@ // ============== | ||
// ============== | ||
const symbolTree = require('symbol-tree'); | ||
import symbolTree from 'symbol-tree'; | ||
export { symbolTree }; |
@@ -1,2 +0,2 @@ | ||
import * as plugins from './lik.plugins'; | ||
import * as plugins from './lik.plugins.js'; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import * as plugins from './lik.plugins'; | ||
import * as plugins from './lik.plugins.js'; | ||
@@ -3,0 +3,0 @@ export interface ITimedAggregatorOptions<T> { |
@@ -1,2 +0,2 @@ | ||
import * as plugins from './lik.plugins'; | ||
import * as plugins from './lik.plugins.js'; | ||
@@ -3,0 +3,0 @@ export class Tree<T> { |
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
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
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
836497
41
13709
Yes
1