@pushrocks/lik
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -0,5 +1,6 @@ | ||
export * from './lik.interestmap'; | ||
export * from './lik.limitedarray'; | ||
export * from './lik.looptracker'; | ||
export * from './lik.objectmap'; | ||
export * from './lik.stringmap'; | ||
export * from './lik.limitedarray'; | ||
export * from './lik.tree'; |
@@ -7,7 +7,8 @@ "use strict"; | ||
// import modules | ||
__export(require("./lik.interestmap")); | ||
__export(require("./lik.limitedarray")); | ||
__export(require("./lik.looptracker")); | ||
__export(require("./lik.objectmap")); | ||
__export(require("./lik.stringmap")); | ||
__export(require("./lik.limitedarray")); | ||
__export(require("./lik.tree")); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUVBLGlCQUFpQjtBQUVqQix1Q0FBa0M7QUFDbEMscUNBQWdDO0FBQ2hDLHFDQUFnQztBQUNoQyx3Q0FBbUM7QUFDbkMsZ0NBQTJCIn0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUVBLGlCQUFpQjtBQUVqQix1Q0FBa0M7QUFDbEMsd0NBQW1DO0FBQ25DLHVDQUFrQztBQUNsQyxxQ0FBZ0M7QUFDaEMscUNBQWdDO0FBQ2hDLGdDQUEyQiJ9 |
@@ -40,2 +40,2 @@ "use strict"; | ||
exports.LimitedArray = LimitedArray; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlrLmxpbWl0ZWRhcnJheS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY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hQUFhLENBQUMsU0FBWTtRQUN4QixPQUFPLElBQUksQ0FBQyxrQkFBa0IsQ0FBQyxHQUFHLENBQUMsU0FBUyxDQUFDLENBQUM7SUFDaEQsQ0FBQztDQUNGO0FBYkQsa0NBYUMifQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlrLmxvb3B0cmFja2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvbGlrLmxvb3B0cmFja2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBRUEsbURBQTRDO0FBRTVDLE1BQWEsV0FBVztJQUV0QjtRQURBLHVCQUFrQixHQUFHLElBQUkseUJBQVMsRUFBTyxDQUFDO1FBRXhDLGVBQWU7SUFDakIsQ0FBQztJQUVEOzs7T0FHRztJQUNILGFBQWEsQ0FBQyxTQUFZO1FBQ3hCLE9BQU8sSUFBSSxDQUFDLGtCQUFrQixDQUFDLEdBQUcsQ0FBQyxTQUFTLENBQUMsQ0FBQztJQUNoRCxDQUFDO0NBQ0Y7QUFiRCxrQ0FhQyJ9 |
@@ -49,3 +49,3 @@ export interface IObjectmapForEachFunction<T> { | ||
*/ | ||
getArray(): T[]; | ||
getArray(): any[]; | ||
/** | ||
@@ -52,0 +52,0 @@ * check if Objectmap ist empty |
@@ -11,3 +11,2 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const plugins = require("./lik.plugins"); | ||
/** | ||
@@ -58,3 +57,3 @@ * allows keeping track of objects | ||
find(findFunction) { | ||
let resultArray = this.objectArray.filter(findFunction); | ||
const resultArray = this.objectArray.filter(findFunction); | ||
if (resultArray.length > 0) { | ||
@@ -71,3 +70,3 @@ return resultArray[0]; | ||
findOneAndRemove(findFunction) { | ||
let foundElement = this.find(findFunction); | ||
const foundElement = this.find(findFunction); | ||
if (foundElement) { | ||
@@ -98,3 +97,7 @@ this.remove(foundElement); | ||
getArray() { | ||
return plugins.lodash.cloneDeep(this.objectArray); | ||
const returnArray = []; | ||
for (const objectItem of this.objectArray) { | ||
returnArray.push(objectItem); | ||
} | ||
return returnArray; | ||
} | ||
@@ -132,2 +135,2 @@ /** | ||
exports.Objectmap = Objectmap; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlrLm9iamVjdG1hcC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL2xpay5vYmplY3RtYXAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLHlDQUF5QztBQVV6Qzs7R0FFRztBQUNIO0lBR0U7O09BRUc7SUFDSDtRQUxRLGdCQUFXLEdBQVEsRUFBRSxDQUFDO1FBTTVCLGVBQWU7SUFDakIsQ0FBQztJQUVEOzs7O09BSUc7SUFDSCxHQUFHLENBQUMsU0FBWTtRQUNkLElBQUksSUFBSSxDQUFDLGNBQWMsQ0FBQyxTQUFTLENBQUMsRUFBRTtZQUNsQyx5Q0FBeUM7WUFDekMsT0FBTyxLQUFLLENBQUM7U0FDZDthQUFNO1lBQ0wseUNBQXlDO1lBQ3pDLElBQUksQ0FBQyxXQUFXLENBQUMsSUFBSSxDQUFDLFNBQVMsQ0FBQyxDQUFDO1lBQ2pDLE9BQU8sSUFBSSxDQUFDO1NBQ2I7SUFDSCxDQUFDO0lBRUQ7O09BRUc7SUFDSCxRQUFRLENBQUMsY0FBbUI7UUFDMUIsS0FBSyxJQUFJLElBQUksSUFBSSxjQUFjLEVBQUU7WUFDL0IsSUFBSSxDQUFDLEdBQUcsQ0FBQyxJQUFJLENBQUMsQ0FBQztTQUNoQjtJQUNILENBQUM7SUFFRDs7T0FFRztJQUNILGNBQWMsQ0FBQyxTQUFZO1FBQ3pCLE9BQU8sSUFBSSxDQUFDLFdBQVcsQ0FBQyxPQUFPLENBQUMsU0FBUyxDQUFDLEtBQUssQ0FBQyxDQUFDLENB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EQsOEJBMEhDIn0= |
import * as events from 'events'; | ||
import * as lodash from 'lodash'; | ||
export { events }; | ||
import * as smartdelay from '@pushrocks/smartdelay'; | ||
import * as smartpromise from '@pushrocks/smartpromise'; | ||
import * as smartrx from '@pushrocks/smartrx'; | ||
import * as smarttime from '@pushrocks/smarttime'; | ||
export { smartdelay, smartpromise, smartrx, smarttime }; | ||
import * as minimatch from 'minimatch'; | ||
import * as smartpromise from '@pushrocks/smartpromise'; | ||
declare const symbolTree: any; | ||
export { events, lodash, minimatch, smartpromise, symbolTree }; | ||
export { minimatch, symbolTree }; |
"use strict"; | ||
// ============== | ||
// native | ||
// ============== | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const events = require("events"); | ||
exports.events = events; | ||
const lodash = require("lodash"); | ||
exports.lodash = lodash; | ||
// ============== | ||
// @pushrocks | ||
// ============== | ||
const smartdelay = require("@pushrocks/smartdelay"); | ||
exports.smartdelay = smartdelay; | ||
const smartpromise = require("@pushrocks/smartpromise"); | ||
exports.smartpromise = smartpromise; | ||
const smartrx = require("@pushrocks/smartrx"); | ||
exports.smartrx = smartrx; | ||
const smarttime = require("@pushrocks/smarttime"); | ||
exports.smarttime = smarttime; | ||
// ============== | ||
// third party | ||
// ============== | ||
const minimatch = require("minimatch"); | ||
exports.minimatch = minimatch; | ||
const smartpromise = require("@pushrocks/smartpromise"); | ||
exports.smartpromise = smartpromise; | ||
const symbolTree = require('symbol-tree'); | ||
exports.symbolTree = symbolTree; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlrLnBsdWdpbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9saWsucGx1Z2lucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLGlDQUFpQztBQU14Qix3QkFBTTtBQUxmLGlDQUFpQztBQUtoQix3QkFBTTtBQUp2Qix1Q0FBdUM7QUFJZCw4QkFBUztBQUhsQyx3REFBd0Q7QUFHcEIsb0NBQVk7QUFGaEQsTUFBTSxVQUFVLEdBQUcsT0FBTyxDQUFDLGFBQWEsQ0FBQyxDQUFDO0FBRVEsZ0NBQVUifQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlrLnBsdWdpbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9saWsucGx1Z2lucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsaUJBQWlCO0FBQ2pCLFNBQVM7QUFDVCxpQkFBaUI7O0FBRWpCLGlDQUFpQztBQUV4Qix3QkFBTTtBQUVmLGlCQUFpQjtBQUNqQixhQUFhO0FBQ2IsaUJBQWlCO0FBQ2pCLG9EQUFvRDtBQU1sRCxnQ0FBVTtBQUxaLHdEQUF3RDtBQU10RCxvQ0FBWTtBQUxkLDhDQUE4QztBQU01QywwQkFBTztBQUxULGtEQUFrRDtBQU1oRCw4QkFBUztBQUdYLGlCQUFpQjtBQUNqQixjQUFjO0FBQ2QsaUJBQWlCO0FBQ2pCLHVDQUF1QztBQUc5Qiw4QkFBUztBQUZsQixNQUFNLFVBQVUsR0FBRyxPQUFPLENBQUMsYUFBYSxDQUFDLENBQUM7QUFFdEIsZ0NBQVUifQ== |
@@ -70,3 +70,7 @@ "use strict"; | ||
getStringArray() { | ||
return plugins.lodash.cloneDeep(this._stringArray); | ||
const returnArray = []; | ||
for (const stringItem of this._stringArray) { | ||
returnArray.push(stringItem); | ||
} | ||
return returnArray; | ||
} | ||
@@ -98,2 +102,2 @@ // trigger registering | ||
exports.Stringmap = Stringmap; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlrLnN0cmluZ21hcC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL2xpay5zdHJpbmdtYXAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI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QyxDQUFDO1NBQzlCO1FBQ0QsT0FBTyxXQUFXLENBQUM7SUFDckIsQ0FBQztJQUVELHNCQUFzQjtJQUV0Qjs7T0FFRztJQUNJLGlCQUFpQixDQUFDLFdBQTZCLEVBQUUsYUFBYTtRQUNuRSxJQUFJLENBQUMsOEJBQThCLENBQUMsSUFBSSxDQUFDLEdBQUcsRUFBRTtZQUM1QyxJQUFJLE1BQU0sR0FBRyxXQUFXLEVBQUUsQ0FBQztZQUMzQixJQUFJLE1BQU0sS0FBSyxJQUFJLEVBQUU7Z0JBQ25CLGFBQWEsRUFBRSxDQUFDO2FBQ2pCO1lBQ0QsT0FBTyxNQUFNLENBQUM7UUFDaEIsQ0FBQyxDQUFDLENBQUM7UUFDSCxJQUFJLENBQUMsYUFBYSxFQUFFLENBQUM7SUFDdkIsQ0FBQztJQUVEOztPQUVHO0lBQ0ssYUFBYTtRQUNuQixJQUFJLGFBQWEsR0FBRyxJQUFJLENBQUMsOEJBQThCLENBQUMsTUFBTSxDQUFDLFdBQVcsQ0FBQyxFQUFFO1lBQzNFLE9BQU8sQ0FBQyxXQUFXLEVBQUUsQ0FBQztRQUN4QixDQUFDLENBQUMsQ0FBQztRQUNILElBQUksQ0FBQyw4QkFBOEIsR0FBRyxhQUFhLENBQUM7SUFDdEQsQ0FBQztDQUNGO0FBeEdELDhCQXdHQyJ9 |
@@ -25,3 +25,3 @@ export declare class Tree<T> { | ||
ancestorsIterator(objectArg: any): void; | ||
treeIterator(rootArg: T, optionsArg: any): T; | ||
treeIterator(rootArg: T, optionsArg: any): Iterable<T>; | ||
index(childArg: T): number; | ||
@@ -35,2 +35,12 @@ childrenCount(parentArg: T): number; | ||
appendChild(referenceObjectArg: any, newObjectArg: any): any; | ||
/** | ||
* returns a branch of the tree as JSON | ||
* can be user | ||
*/ | ||
toJsonWithHierachy(rootElement: any): void; | ||
/** | ||
* builds a tree from a JSON with hierachy | ||
* @param rootElement | ||
*/ | ||
fromJsonWithHierachy(rootElement: any): void; | ||
} |
@@ -8,2 +8,5 @@ "use strict"; | ||
} | ||
// ======================================= | ||
// Functions that map to the functionality of symbol-tree | ||
// ======================================= | ||
/** | ||
@@ -91,4 +94,22 @@ * | ||
} | ||
// =========================================== | ||
// Functionionality that extends symbol-tree | ||
// =========================================== | ||
/** | ||
* returns a branch of the tree as JSON | ||
* can be user | ||
*/ | ||
toJsonWithHierachy(rootElement) { | ||
const treeIterable = this.treeIterator(rootElement, {}); | ||
for (const treeItem of treeIterable) { | ||
console.log(treeItem); | ||
} | ||
} | ||
/** | ||
* builds a tree from a JSON with hierachy | ||
* @param rootElement | ||
*/ | ||
fromJsonWithHierachy(rootElement) { } | ||
} | ||
exports.Tree = Tree; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlrLnRyZWUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9saWsudHJlZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHlDQUF5QztBQUV6QztJQUVFO1FBQ0UsSUFBSSxDQUFDLFVBQVUsR0FBRyxJQUFJLE9BQU8sQ0FBQyxVQUFVLEVBQUUsQ0FBQztJQUM3QyxDQUFDO0lBRUQ7OztPQUdHO0lBQ0gsVUFBVSxDQUFDLFNBQVk7UUFDckIsT0FBTyxJQUFJLENBQUMsVUFBVSxDQUFDLFVBQVUsQ0FBQyxTQUFTLENBQUMsQ0FBQztJQUMvQyxDQUFDO0lBRUQsV0FBVyxDQUFDLFNBQVk7UUFDdEIsT0FBTyxJQUFJLENBQUMsVUFBVSxDQUFDLFdBQVcsQ0FBQyxTQUFTLENBQUMsQ0FBQztJQUNoRCxDQUFDO0lBRUQsVUFBVSxDQUFDLFNBQVk7UUFDckIsT0FBTyxJQUFJLENBQUMsVUFBVSxDQUFDLFVBQVUsQ0FBQyxTQUFTLENBQUMsQ0FBQztJQUMvQyxDQUFDO0lBRUQsU0FBUyxDQUFDLFNBQVk7UUF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BQztJQUVELFdBQVcsQ0FBQyxlQUFrQixFQUFFLFlBQWU7UUFDN0MsT0FBTyxJQUFJLENBQUMsVUFBVSxDQUFDLFdBQVcsQ0FBQyxlQUFlLEVBQUUsWUFBWSxDQUFDLENBQUM7SUFDcEUsQ0FBQztJQUVELFlBQVksQ0FBQyxrQkFBcUIsRUFBRSxZQUFlO1FBQ2pELE9BQU8sSUFBSSxDQUFDLFVBQVUsQ0FBQyxZQUFZLENBQUMsa0JBQWtCLEVBQUUsWUFBWSxDQUFDLENBQUM7SUFDeEUsQ0FBQztJQUVELFdBQVcsQ0FBQyxrQkFBa0IsRUFBRSxZQUFZO1FBQzFDLE9BQU8sSUFBSSxDQUFDLFVBQVUsQ0FBQyxXQUFXLENBQUMsa0JBQWtCLEVBQUUsWUFBWSxDQUFDLENBQUM7SUFDdkUsQ0FBQztJQUVELDhDQUE4QztJQUM5Qyw0Q0FBNEM7SUFDNUMsOENBQThDO0lBRTlDOzs7T0FHRztJQUNILGtCQUFrQixDQUFDLFdBQVc7UUFDNUIsTUFBTSxZQUFZLEdBQUcsSUFBSSxDQUFDLFlBQVksQ0FBQyxXQUFXLEVBQUUsRUFBRSxDQUFDLENBQUM7UUFDeEQsS0FBSyxNQUFNLFFBQVEsSUFBSSxZQUFZLEVBQUU7WUFDbkMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxRQUFRLENBQUMsQ0FBQztTQUN2QjtJQUNILENBQUM7SUFFRDs7O09BR0c7SUFDSCxvQkFBb0IsQ0FBQyxXQUFXLElBQUcsQ0FBQztDQUNyQztBQTFJRCxvQkEwSUMifQ== |
{ | ||
"name": "@pushrocks/lik", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"private": false, | ||
@@ -9,4 +9,4 @@ "description": "light little helpers for node", | ||
"scripts": { | ||
"test": "tsrun test/test.ts", | ||
"build": "(npmts)" | ||
"test": "(tstest test/)", | ||
"build": "(tsbuild)" | ||
}, | ||
@@ -24,11 +24,16 @@ "repository": { | ||
"devDependencies": { | ||
"@gitzone/tsrun": "^1.1.9", | ||
"@pushrocks/tapbundle": "^3.0.1", | ||
"@types/node": "^10.5.2" | ||
"@gitzone/tsbuild": "^2.0.22", | ||
"@gitzone/tsrun": "^1.1.13", | ||
"@gitzone/tstest": "^1.0.15", | ||
"@pushrocks/tapbundle": "^3.0.7", | ||
"@types/node": "^10.12.10", | ||
"tslint": "^5.11.0", | ||
"tslint-config-prettier": "^1.16.0" | ||
}, | ||
"dependencies": { | ||
"@pushrocks/smartdelay": "^2.0.2", | ||
"@pushrocks/smartpromise": "^2.0.5", | ||
"@types/lodash": "^4.14.112", | ||
"@pushrocks/smartrx": "^2.0.2", | ||
"@pushrocks/smarttime": "^3.0.5", | ||
"@types/minimatch": "^3.0.3", | ||
"lodash": "^4.17.10", | ||
"minimatch": "^3.0.4", | ||
@@ -35,0 +40,0 @@ "symbol-tree": "^3.2.2" |
// import test framework | ||
import { expect, tap } from '@pushrocks/tapbundle'; | ||
import * as events from 'events'; | ||
import * as smartq from 'smartq'; | ||
import * as smartpromise from '@pushrocks/smartpromise'; | ||
@@ -6,0 +6,0 @@ // import the module |
// import test framework | ||
import { expect, tap } from '@pushrocks/tapbundle'; | ||
import * as events from 'events'; | ||
import * as smartq from 'smartq'; | ||
import * as smartpromise from '@pushrocks/smartpromise'; | ||
@@ -6,0 +6,0 @@ // import the module |
// import test framework | ||
import { expect, tap } from '@pushrocks/tapbundle'; | ||
import * as events from 'events'; | ||
import * as smartq from 'smartq'; | ||
import * as smartpromise from '@pushrocks/smartpromise'; | ||
@@ -6,0 +6,0 @@ // import the module |
import { tap, expect } from '@pushrocks/tapbundle'; | ||
import * as lik from '../ts/index'; | ||
let testTree = new lik.Tree<TestClass>(); | ||
class TestClass { | ||
@@ -11,3 +9,11 @@ constructor(public hey: string) { | ||
} | ||
let testTree = new lik.Tree<TestClass>(); | ||
let testInstance = new TestClass('first'); | ||
let testInstance2 = new TestClass('second'); | ||
let testInstance3 = new TestClass('third'); | ||
let testInstance4 = new TestClass('fourth'); | ||
let testInstance5 = new TestClass('fifth'); | ||
let testInstance6 = new TestClass('sixth'); | ||
@@ -25,2 +31,12 @@ tap.test('create a valid tree instance', async () => { | ||
tap.test('should add other objects in a hierachy', async () => { | ||
testTree.appendChild(testInstance, testInstance2); | ||
testTree.appendChild(testInstance, testInstance3); | ||
testTree.appendChild(testInstance, testInstance4); | ||
}); | ||
tap.test("should create a JSON object that reflects a tree's hierachy", async () => { | ||
const jsonTreet = testTree.toJsonWithHierachy(testInstance); | ||
}); | ||
tap.start(); |
@@ -5,6 +5,7 @@ import * as plugins from './lik.plugins'; | ||
export * from './lik.interestmap'; | ||
export * from './lik.limitedarray'; | ||
export * from './lik.looptracker'; | ||
export * from './lik.objectmap'; | ||
export * from './lik.stringmap'; | ||
export * from './lik.limitedarray'; | ||
export * from './lik.tree'; |
@@ -29,3 +29,3 @@ import * as plugins from './lik.plugins'; | ||
*/ | ||
add(objectArg: T): boolean { | ||
public add(objectArg: T): boolean { | ||
if (this.checkForObject(objectArg)) { | ||
@@ -44,3 +44,3 @@ // the object is already in the objectmap | ||
*/ | ||
addArray(objectArrayArg: T[]) { | ||
public addArray(objectArrayArg: T[]) { | ||
for (let item of objectArrayArg) { | ||
@@ -54,3 +54,3 @@ this.add(item); | ||
*/ | ||
checkForObject(objectArg: T) { | ||
public checkForObject(objectArg: T) { | ||
return this.objectArray.indexOf(objectArg) !== -1; | ||
@@ -62,4 +62,4 @@ } | ||
*/ | ||
find(findFunction: IObjectmapFindFunction<T>) { | ||
let resultArray = this.objectArray.filter(findFunction); | ||
public find(findFunction: IObjectmapFindFunction<T>) { | ||
const resultArray = this.objectArray.filter(findFunction); | ||
if (resultArray.length > 0) { | ||
@@ -75,4 +75,4 @@ return resultArray[0]; | ||
*/ | ||
findOneAndRemove(findFunction: IObjectmapFindFunction<T>): T { | ||
let foundElement = this.find(findFunction); | ||
public findOneAndRemove(findFunction: IObjectmapFindFunction<T>): T { | ||
const foundElement = this.find(findFunction); | ||
if (foundElement) { | ||
@@ -87,3 +87,3 @@ this.remove(foundElement); | ||
*/ | ||
async forEach(functionArg: IObjectmapForEachFunction<T>) { | ||
public async forEach(functionArg: IObjectmapForEachFunction<T>) { | ||
for (let object of this.objectArray) { | ||
@@ -97,3 +97,3 @@ await functionArg(object); | ||
*/ | ||
getOneAndRemove(): T { | ||
public getOneAndRemove(): T { | ||
return this.objectArray.shift(); | ||
@@ -105,4 +105,8 @@ } | ||
*/ | ||
getArray() { | ||
return plugins.lodash.cloneDeep(this.objectArray); | ||
public getArray() { | ||
const returnArray: any[] = []; | ||
for (const objectItem of this.objectArray) { | ||
returnArray.push(objectItem); | ||
} | ||
return returnArray; | ||
} | ||
@@ -113,3 +117,3 @@ | ||
*/ | ||
isEmpty(): boolean { | ||
public isEmpty(): boolean { | ||
if (this.objectArray.length === 0) { | ||
@@ -125,3 +129,3 @@ return true; | ||
*/ | ||
remove(objectArg: T) { | ||
public remove(objectArg: T) { | ||
let replacementArray = []; | ||
@@ -139,5 +143,5 @@ for (let item of this.objectArray) { | ||
*/ | ||
wipe() { | ||
public wipe() { | ||
this.objectArray = []; | ||
} | ||
} |
@@ -0,7 +1,30 @@ | ||
// ============== | ||
// native | ||
// ============== | ||
import * as events from 'events'; | ||
import * as lodash from 'lodash'; | ||
export { events }; | ||
// ============== | ||
// @pushrocks | ||
// ============== | ||
import * as smartdelay from '@pushrocks/smartdelay'; | ||
import * as smartpromise from '@pushrocks/smartpromise'; | ||
import * as smartrx from '@pushrocks/smartrx'; | ||
import * as smarttime from '@pushrocks/smarttime'; | ||
export { | ||
smartdelay, | ||
smartpromise, | ||
smartrx, | ||
smarttime | ||
}; | ||
// ============== | ||
// third party | ||
// ============== | ||
import * as minimatch from 'minimatch'; | ||
import * as smartpromise from '@pushrocks/smartpromise'; | ||
const symbolTree = require('symbol-tree'); | ||
export { events, lodash, minimatch, smartpromise, symbolTree }; | ||
export { minimatch, symbolTree }; |
@@ -55,3 +55,3 @@ import * as plugins from './lik.plugins'; | ||
*/ | ||
checkString(stringArg: string): boolean { | ||
public checkString(stringArg: string): boolean { | ||
return this._stringArray.indexOf(stringArg) !== -1; | ||
@@ -63,3 +63,3 @@ } | ||
*/ | ||
checkMinimatch(miniMatchStringArg: string): boolean { | ||
public checkMinimatch(miniMatchStringArg: string): boolean { | ||
let foundMatch: boolean = false; | ||
@@ -77,3 +77,3 @@ for (let stringItem of this._stringArray) { | ||
*/ | ||
checkIsEmpty() { | ||
public checkIsEmpty() { | ||
return this._stringArray.length === 0; | ||
@@ -85,4 +85,8 @@ } | ||
*/ | ||
getStringArray() { | ||
return plugins.lodash.cloneDeep(this._stringArray); | ||
public getStringArray() { | ||
const returnArray: string[] = []; | ||
for (const stringItem of this._stringArray) { | ||
returnArray.push(stringItem); | ||
} | ||
return returnArray; | ||
} | ||
@@ -95,3 +99,3 @@ | ||
*/ | ||
registerUntilTrue(functionArg: ITriggerFunction, doFunctionArg) { | ||
public registerUntilTrue(functionArg: ITriggerFunction, doFunctionArg) { | ||
this._triggerUntilTrueFunctionArray.push(() => { | ||
@@ -98,0 +102,0 @@ let result = functionArg(); |
@@ -9,2 +9,6 @@ import * as plugins from './lik.plugins'; | ||
// ======================================= | ||
// Functions that map to the functionality of symbol-tree | ||
// ======================================= | ||
/** | ||
@@ -82,3 +86,3 @@ * | ||
treeIterator(rootArg: T, optionsArg): T { | ||
treeIterator(rootArg: T, optionsArg): Iterable<T> { | ||
return this.symbolTree.treeIterator(rootArg); | ||
@@ -118,2 +122,23 @@ } | ||
} | ||
// =========================================== | ||
// Functionionality that extends symbol-tree | ||
// =========================================== | ||
/** | ||
* returns a branch of the tree as JSON | ||
* can be user | ||
*/ | ||
toJsonWithHierachy(rootElement) { | ||
const treeIterable = this.treeIterator(rootElement, {}); | ||
for (const treeItem of treeIterable) { | ||
console.log(treeItem); | ||
} | ||
} | ||
/** | ||
* builds a tree from a JSON with hierachy | ||
* @param rootElement | ||
*/ | ||
fromJsonWithHierachy(rootElement) {} | ||
} |
{ | ||
"extends": "tslint-config-standard" | ||
"extends": ["tslint:latest", "tslint-config-prettier"], | ||
"rules": { | ||
"semicolon": [true, "always"], | ||
"no-console": false, | ||
"ordered-imports": false, | ||
"object-literal-sort-keys": false, | ||
"member-ordering": { | ||
"options":{ | ||
"order": [ | ||
"static-method" | ||
] | ||
} | ||
} | ||
}, | ||
"defaultSeverity": "warning" | ||
} |
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
78745
40
1715
7
7
+ Added@pushrocks/smartdelay@^2.0.2
+ Added@pushrocks/smartrx@^2.0.2
+ Added@pushrocks/smarttime@^3.0.5
+ Added@pushrocks/lik@5.0.7(transitive)
+ Added@pushrocks/smartdelay@2.0.13(transitive)
+ Added@pushrocks/smartmatch@1.0.7(transitive)
+ Added@pushrocks/smartpromise@3.1.10(transitive)
+ Added@pushrocks/smartrx@2.0.27(transitive)
+ Added@pushrocks/smarttime@3.0.50(transitive)
+ Addedcall-bind@1.0.7(transitive)
+ Addedcroner@4.4.1(transitive)
+ Addeddayjs@1.11.13(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addeddefine-properties@1.2.1(transitive)
+ Addedes-define-property@1.0.0(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedescape-string-regexp@4.0.0(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-intrinsic@1.2.4(transitive)
+ Addedgopd@1.0.1(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-proto@1.0.3(transitive)
+ Addedhas-symbols@1.0.3(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedis-nan@1.3.2(transitive)
+ Addedmatcher@3.0.0(transitive)
+ Addedobject-keys@1.1.1(transitive)
+ Addedparse-ms@2.1.0(transitive)
+ Addedpretty-ms@7.0.1(transitive)
+ Addedrxjs@7.8.1(transitive)
+ Addedset-function-length@1.2.2(transitive)
+ Addedtslib@2.7.0(transitive)
- Removed@types/lodash@^4.14.112
- Removedlodash@^4.17.10
- Removed@types/lodash@4.17.7(transitive)
- Removedlodash@4.17.21(transitive)