@swimlane/el-segundo
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -9,2 +9,5 @@ CHANGELOG | ||
## 2.1.0 (2019-04-17) | ||
* Support deep equality for Date and RegExp | ||
## 2.0.0 (2017-07-10) | ||
@@ -11,0 +14,0 @@ * Feature: default now ignores undefined values |
@@ -46,3 +46,7 @@ declare const leia: any; | ||
}; | ||
specialObject: { | ||
date: Date; | ||
regex: RegExp; | ||
}; | ||
undefinedValue: undefined; | ||
}; |
@@ -63,4 +63,8 @@ "use strict"; | ||
}, | ||
specialObject: { | ||
date: new Date('1/1/1990'), | ||
regex: new RegExp('/.*/') | ||
}, | ||
undefinedValue: undefined | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZml4dHVyZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvZml4dHVyZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxJQUFNLElBQUksR0FBUTtJQUNoQixJQUFJLEVBQUUsU0FBUztJQUNmLElBQUksRUFBRTtRQUNKLEtBQUssRUFBRSxNQUFNO1FBQ2IsTUFBTSxFQUFFLFFBQVE7S0FDakI7SUFDRCxRQUFRLEVBQUUsRUFBRTtJQUNaLE9BQU8sRUFBRSxLQUFLO0NBQ2YsQ0FBQztBQWNPLG9CQUFJO0FBWmIsSUFBTSxJQUFJLEdBQVE7SUFDaEIsSUFBSSxFQUFFLE1BQU07SUFDWixJQUFJLEVBQUU7UUFDSixLQUFLLEVBQUUsTUFBTTtRQUNiLE1BQU0sRUFBRSxXQUFXO0tBQ3BCO0lBQ0QsUUFBUSxFQUFFLENBQUMsSUFBSSxDQUFDO0lBQ2hCLE9BQU8sRUFBRSxJQUFJO0NBQ2QsQ0FBQztBQUlhLG9CQUFJO0FBRm5CLElBQUksQ0FBQyxRQUFRLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxDQUFDO0FBSVosUUFB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UcsRUFBRTtRQUNILEdBQUcsRUFBRSwwQkFBMEI7UUFDL0IsS0FBSyxFQUFFLENBQUM7UUFDUixJQUFJLEVBQUUsc0NBQXNDO1FBQzVDLFFBQVEsRUFBRSxLQUFLO1FBQ2YsT0FBTyxFQUFFLFdBQVc7UUFDcEIsT0FBTyxFQUFFLDJCQUEyQjtRQUNwQyxHQUFHLEVBQUUsRUFBRTtRQUNQLFFBQVEsRUFBRSxPQUFPO1FBQ2pCLElBQUksRUFBRTtZQUNKLEtBQUssRUFBRSxPQUFPO1lBQ2QsSUFBSSxFQUFFLE9BQU87U0FDZDtRQUNELE9BQU8sRUFBRSxNQUFNO1FBQ2YsS0FBSyxFQUFFLHVCQUF1QjtRQUM5QixLQUFLLEVBQUUsbUJBQW1CO1FBQzFCLE9BQU8sRUFBRSx5Q0FBeUM7UUFDbEQsS0FBSyxFQUFFLHlPQUVrRTtRQUN6RSxVQUFVLEVBQUUsa0NBQWtDO1FBQzlDLFFBQVEsRUFBRSxTQUFTO1FBQ25CLFNBQVMsRUFBRSxVQUFVO0tBQ3RCO0lBQ0QsVUFBVSxFQUFFO1FBQ1YsSUFBSSxNQUFBO1FBQ0osSUFBSSxNQUFBO0tBQ0w7SUFDRCxZQUFZLEVBQUU7UUFDWixHQUFHLEVBQUUsR0FBRztRQUNSLElBQUksRUFBRSxJQUFJO1FBQ1YsS0FBSyxFQUFFLENBQUMsQ0FBQztRQUNULEtBQUssRUFBRSxDQUFDLENBQUM7S0FDVjtJQUNELGFBQWEsRUFBRTtRQUNiLElBQUksRUFBRSxJQUFJLElBQUksQ0FBQyxVQUFVLENBQUM7UUFDMUIsS0FBSyxFQUFFLElBQUksTUFBTSxDQUFDLE1BQU0sQ0FBQztLQUMxQjtJQUNELGNBQWMsRUFBRSxTQUFTO0NBQzFCLENBQUMifQ== |
@@ -0,13 +1,18 @@ | ||
interface Snapshot { | ||
[path: string]: any; | ||
} | ||
declare type IgnoreFunction = (key: string, value: any) => boolean; | ||
export declare class ElSegundo { | ||
static generateSnapshot(subject: any, _ignore?: (key: string, value: any) => boolean): any; | ||
static matchesSnapshot(subject: any, snapshot: any, _ignore?: (key: string, value: any) => boolean): boolean; | ||
static generateSnapshot(subject: any, _ignore?: IgnoreFunction): Snapshot; | ||
static matchesSnapshot(subject: any, snapshot: any, _ignore?: IgnoreFunction): boolean; | ||
private _snapshot; | ||
readonly map: any; | ||
readonly map: Snapshot; | ||
constructor(map: any, opts?: any); | ||
resetSnapshot(map: any): void; | ||
generateSnapshot(subject: any): any; | ||
resetSnapshot(subject: any): void; | ||
generateSnapshot(subject: any): Snapshot; | ||
matchesSnapshot(subject: any): boolean; | ||
check(subject: any): boolean; | ||
diff(subject: any): any[]; | ||
private _ignore(key, value); | ||
private _ignore; | ||
} | ||
export {}; |
@@ -15,5 +15,16 @@ "use strict"; | ||
function identical(a, b) { | ||
if (a === b) { | ||
if (a === b) | ||
return true; | ||
} | ||
var dateA = a instanceof Date; | ||
var dateB = b instanceof Date; | ||
if (dateA !== dateB) | ||
return false; | ||
if (dateA && dateB) | ||
return a.getTime() === b.getTime(); | ||
var regexpA = a instanceof RegExp; | ||
var regexpB = b instanceof RegExp; | ||
if (regexpA !== regexpB) | ||
return false; | ||
if (regexpA && regexpB) | ||
return a.toString() === b.toString(); | ||
// NaN == NaN | ||
@@ -26,3 +37,3 @@ return a !== a && b !== b; | ||
function recurse(s, path) { | ||
if (typeof s !== 'object') { | ||
if (typeof s !== 'object' || s instanceof Date || s instanceof RegExp) { | ||
return identical(s, snapshot[path]); | ||
@@ -57,3 +68,3 @@ } | ||
function recurse(s, path) { | ||
if (typeof s !== 'object') { | ||
if (typeof s !== 'object' || s instanceof Date || s instanceof RegExp) { | ||
return map[path] = s; | ||
@@ -112,3 +123,3 @@ } | ||
var defultIgnore = function (key, value) { return value === undefined || key[0] === '$'; }; | ||
var ElSegundo = (function () { | ||
var ElSegundo = /** @class */ (function () { | ||
function ElSegundo(map, opts) { | ||
@@ -135,4 +146,4 @@ this._ignore = (opts && typeof opts.ignore !== 'undefined') ? opts.ignore : this._ignore; | ||
}); | ||
ElSegundo.prototype.resetSnapshot = function (map) { | ||
this._snapshot = this.generateSnapshot(map); | ||
ElSegundo.prototype.resetSnapshot = function (subject) { | ||
this._snapshot = this.generateSnapshot(subject); | ||
}; | ||
@@ -158,2 +169,2 @@ ElSegundo.prototype.generateSnapshot = function (subject) { | ||
exports.ElSegundo = ElSegundo; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFDQSxJQUFNLEdBQUcsR0FBRyxHQUFHLENBQUM7QUFDaEIsSUFBTSxHQUFHLEdBQUcsR0FBRyxDQUFDO0FBQ2hCLElBQU0sSUFBSSxHQUFHLE1BQU0sQ0FBQyxNQUFNLENBQUMsQ0FBQztBQUU1Qjs7Ozs7OztHQU9HO0FBRUgsbUJBQW1CLENBQU0sRUFBRSxDQUFNO0lBQy9CLEVBQUUsQ0FBQyxDQUFDLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQyxDQUFDO1FBQ1osTUFBTSxDQUFDLElBQUksQ0FBQztJQUNkLENBQUM7SUFDRCxhQUFhO0lBQ2IsTUFBTSxDQUFDLENBQUMsS0FBSyxDQUFDLElBQUksQ0FBQyxLQUFLLENBQUMsQ0FBQztBQUM1QixDQUFDO0FBRUQseUJBQXlCLE9BQVksRUFBRSxRQUFhLEVBQUUsTUFBNEM7SUFDaEcsSUFBTSxJQUFJLEdBQUcsSUFBSSxPQUFPLEVBQUUsQ0FBQztJQUMzQixNQUFNLENBQUMsT0FBTyxDQUFDLE9BQU8sRUFBRSxHQUFHLENBQUMsQ0FBQztJQUU3QixpQkFBaUIsQ0FBTSxFQUFFLElBQVk7UUFFbkMsRUFBRSxDQUFDLENBQUMsT0FBTyxD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JQUFJLENBQUMsT0FBTyxDQUFDLENBQUM7SUFDaEUsQ0FBQztJQUVELHlCQUFLLEdBQUwsVUFBTSxPQUFZO1FBQ2hCLE9BQU8sQ0FBQyxJQUFJLENBQUMsZUFBZSxDQUFDLE9BQU8sQ0FBQyxDQUFDO0lBQ3hDLENBQUM7SUFFRCx3QkFBSSxHQUFKLFVBQUssT0FBWTtRQUNmLElBQU0sSUFBSSxHQUFHLElBQUksQ0FBQyxnQkFBZ0IsQ0FBQyxPQUFPLENBQUMsQ0FBQztRQUM1QyxPQUFPLFlBQVksQ0FBQyxJQUFJLEVBQUUsSUFBSSxDQUFDLFNBQVMsQ0FBQyxDQUFDO0lBQzVDLENBQUM7SUFFTywyQkFBTyxHQUFmLFVBQWdCLEdBQVcsRUFBRSxLQUFVO1FBQ3JDLE9BQU8sS0FBSyxLQUFLLFNBQVMsSUFBSSxHQUFHLENBQUMsQ0FBQyxDQUFDLEtBQUssR0FBRyxDQUFDO0lBQy9DLENBQUM7SUFDSCxnQkFBQztBQUFELENBQUMsQUE5Q0QsSUE4Q0M7QUE5Q1ksOEJBQVMifQ== |
@@ -9,22 +9,22 @@ "use strict"; | ||
var isDirty = new _1.ElSegundo(fixtures_1.fixture); | ||
ava_1.test('#check should create a new ElSegundo object', function (t) { | ||
ava_1.default('#check should create a new ElSegundo object', function (t) { | ||
t.false(isDirty.check(fixtures_1.fixture)); | ||
}); | ||
ava_1.test('#check should return false with identical objects', function (t) { | ||
ava_1.default('#check should return false with identical objects', function (t) { | ||
t.false(isDirty.check(fixtures_1.fixture)); | ||
}); | ||
ava_1.test('#generateSnapshot should generate snapshot', function (t) { | ||
ava_1.default('#generateSnapshot should generate snapshot', function (t) { | ||
var snapshot = isDirty.generateSnapshot(fixtures_1.fixture); | ||
t.true(_1.ElSegundo.matchesSnapshot(fixtures_1.fixture, snapshot)); | ||
}); | ||
ava_1.test('#check should return false with a shallow clone', function (t) { | ||
ava_1.default('#check should return false with a shallow clone', function (t) { | ||
t.false(isDirty.check(tslib_1.__assign({}, fixtures_1.fixture))); | ||
}); | ||
ava_1.test('#check should return false with a deep clone', function (t) { | ||
ava_1.default('#check should return false with a deep clone', function (t) { | ||
t.false(isDirty.check(deepClone(fixtures_1.fixture))); | ||
}); | ||
ava_1.test('#check should return true with when not equal', function (t) { | ||
ava_1.default('#check should return true with when not equal', function (t) { | ||
t.true(isDirty.check(tslib_1.__assign({}, fixtures_1.fixture, { string: 'a different string' }))); | ||
}); | ||
ava_1.test('#check should ignore hidden values', function (t) { | ||
ava_1.default('#check should ignore hidden values', function (t) { | ||
var o = tslib_1.__assign({}, fixtures_1.fixture, { $hidden: false }); | ||
@@ -34,9 +34,9 @@ t.false(isDirty.check(o)); | ||
}); | ||
ava_1.test('#check should return true when a key is added', function (t) { | ||
ava_1.default('#check should return true when a key is added', function (t) { | ||
t.true(isDirty.check(tslib_1.__assign({}, fixtures_1.fixture, { string2: 'a different string' }))); | ||
}); | ||
ava_1.test('#check should return true key removed', function (t) { | ||
ava_1.default('#check should return true key removed', function (t) { | ||
t.true(isDirty.check(tslib_1.__assign({}, fixtures_1.fixture, { string: undefined }))); | ||
}); | ||
ava_1.test('#check should return false key order changed', function (t) { | ||
ava_1.default('#check should return false key order changed', function (t) { | ||
var o = deepClone(fixtures_1.fixture); | ||
@@ -48,3 +48,3 @@ delete o.string; | ||
}); | ||
ava_1.test('#check should return true on a deep change', function (t) { | ||
ava_1.default('#check should return true on a deep change', function (t) { | ||
var o = deepClone(fixtures_1.fixture); | ||
@@ -54,3 +54,3 @@ o.sub.name.first = 'Eddie'; | ||
}); | ||
ava_1.test('#check should return false when array are equal', function (t) { | ||
ava_1.default('#check should return false when array are equal', function (t) { | ||
var o = deepClone(fixtures_1.fixture); | ||
@@ -61,3 +61,3 @@ o.array = ['an', 1, 'array', { a: 123, b: 456 }]; | ||
}); | ||
ava_1.test('#check should return true when arrays change', function (t) { | ||
ava_1.default('#check should return true when arrays change', function (t) { | ||
var o = deepClone(fixtures_1.fixture); | ||
@@ -67,3 +67,3 @@ o.array[0] = 'the'; | ||
}); | ||
ava_1.test('#check should return true when null values become not null', function (t) { | ||
ava_1.default('#check should return true when null values become not null', function (t) { | ||
var o = deepClone(fixtures_1.fixture); | ||
@@ -73,3 +73,3 @@ o.trickyValues['null'] = 'not null'; | ||
}); | ||
ava_1.test('#check should return true when NaN values become not NaN', function (t) { | ||
ava_1.default('#check should return true when NaN values become not NaN', function (t) { | ||
var o = deepClone(fixtures_1.fixture); | ||
@@ -79,3 +79,3 @@ o.trickyValues.nan = 'not nan'; | ||
}); | ||
ava_1.test('#check should return true when NaN value remains NaN', function (t) { | ||
ava_1.default('#check should return false when NaN value remains NaN', function (t) { | ||
var o = deepClone(fixtures_1.fixture); | ||
@@ -85,8 +85,38 @@ o.trickyValues.nan = NaN; | ||
}); | ||
ava_1.test('#check should return false when sign of zero value changes (+/-0)', function (t) { | ||
ava_1.default('#check should return false when dates are equal', function (t) { | ||
var o = deepClone(fixtures_1.fixture); | ||
o.specialObject.date = new Date('1/1/1990'); | ||
t.false(isDirty.check(o)); | ||
}); | ||
ava_1.default('#check should return true when dates changes', function (t) { | ||
var o = deepClone(fixtures_1.fixture); | ||
o.specialObject.date = new Date('1/2/1990'); | ||
t.true(isDirty.check(o)); | ||
}); | ||
ava_1.default('#check should return true when dates changes type', function (t) { | ||
var o = deepClone(fixtures_1.fixture); | ||
o.specialObject.date = (new Date('1/2/1990')).getTime(); | ||
t.true(isDirty.check(o)); | ||
}); | ||
ava_1.default('#check should return false when regex are equal', function (t) { | ||
var o = deepClone(fixtures_1.fixture); | ||
o.specialObject.regex = new RegExp('/.*/'); | ||
t.false(isDirty.check(o)); | ||
}); | ||
ava_1.default('#check should return true when regex changes', function (t) { | ||
var o = deepClone(fixtures_1.fixture); | ||
o.specialObject.regex = new RegExp('/.*/', 'g'); | ||
t.true(isDirty.check(o)); | ||
}); | ||
ava_1.default('#check should return true when regex changes type', function (t) { | ||
var o = deepClone(fixtures_1.fixture); | ||
o.specialObject.regex = (new RegExp('/.*/', 'g')).toString(); | ||
t.true(isDirty.check(o)); | ||
}); | ||
ava_1.default('#check should return false when sign of zero value changes (+/-0)', function (t) { | ||
var o = deepClone(fixtures_1.fixture); | ||
o.trickyValues.pZero = -0; | ||
t.false(isDirty.check(o)); | ||
}); | ||
ava_1.test('#check should return false when value becomes null', function (t) { | ||
ava_1.default('#check should return false when value becomes null', function (t) { | ||
var o = deepClone(fixtures_1.fixture); | ||
@@ -96,3 +126,3 @@ o.string = null; | ||
}); | ||
ava_1.test('#check should return true if circular reference is removed', function (t) { | ||
ava_1.default('#check should return true if circular reference is removed', function (t) { | ||
var o = deepClone(fixtures_1.fixture); | ||
@@ -102,3 +132,3 @@ o.characters.leia.siblings = []; | ||
}); | ||
ava_1.test('#check should return true if circular reference is changed to another path', function (t) { | ||
ava_1.default('#check should return true if circular reference is changed to another path', function (t) { | ||
var o = deepClone(fixtures_1.fixture); | ||
@@ -108,3 +138,3 @@ o.characters.leia.siblings[0] = o.characters.leia; | ||
}); | ||
ava_1.test('#check should return false if ignored field is removed', function (t) { | ||
ava_1.default('#check should return false if ignored field is removed', function (t) { | ||
var o = deepClone(fixtures_1.fixture); | ||
@@ -114,3 +144,3 @@ delete o.$hidden; | ||
}); | ||
ava_1.test('#check should return false id ignored field is added', function (t) { | ||
ava_1.default('#check should return false id ignored field is added', function (t) { | ||
var o = deepClone(fixtures_1.fixture); | ||
@@ -120,3 +150,3 @@ o.$removed = false; | ||
}); | ||
ava_1.test('#check should treat undefined values the same as missing keys', function (t) { | ||
ava_1.default('#check should treat undefined values the same as missing keys', function (t) { | ||
var o = deepClone(fixtures_1.fixture); | ||
@@ -126,3 +156,3 @@ o.missingKey = undefined; | ||
}); | ||
ava_1.test('#check should treat missing keys teh same as undefined values', function (t) { | ||
ava_1.default('#check should treat missing keys teh same as undefined values', function (t) { | ||
var o = deepClone(fixtures_1.fixture); | ||
@@ -132,3 +162,3 @@ delete o.undefinedValue; | ||
}); | ||
ava_1.test('ElSegundo supports custom ignore', function (t) { | ||
ava_1.default('ElSegundo supports custom ignore', function (t) { | ||
var _isDirty = new _1.ElSegundo(fixtures_1.fixture, { ignore: function (key) { return 'sub'; } }); | ||
@@ -139,3 +169,3 @@ var o = deepClone(fixtures_1.fixture); | ||
}); | ||
ava_1.test('ElSegundo supports ignoring none', function (t) { | ||
ava_1.default('ElSegundo supports ignoring none', function (t) { | ||
var _isDirty = new _1.ElSegundo(fixtures_1.fixture, { ignore: false }); | ||
@@ -146,3 +176,3 @@ var o = deepClone(fixtures_1.fixture); | ||
}); | ||
ava_1.test('#diff should return the differences when a value has changed', function (t) { | ||
ava_1.default('#diff should return the differences when a value has changed', function (t) { | ||
var o = deepClone(fixtures_1.fixture); | ||
@@ -154,3 +184,3 @@ o.sub.name.first = 'Eddie'; | ||
}); | ||
ava_1.test('#diff should return the differences when a value is added', function (t) { | ||
ava_1.default('#diff should return the differences when a value is added', function (t) { | ||
var o = deepClone(fixtures_1.fixture); | ||
@@ -163,3 +193,3 @@ o.sub.name.middle = 'M'; | ||
}); | ||
ava_1.test('#diff should return the differences when a value is removed', function (t) { | ||
ava_1.default('#diff should return the differences when a value is removed', function (t) { | ||
var o = deepClone(fixtures_1.fixture); | ||
@@ -172,3 +202,2 @@ delete o.sub.name.first; | ||
}); | ||
// console.log(isDirty.generateSnapshot(fixture.characters.leia)); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguc3BlYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5zcGVjLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLDJCQUEyQjtBQUMzQixzQkFBOEI7QUFDOUIsdUNBQWlEO0FBQ2pELDRDQUE4QztBQUU5QyxJQUFNLE9BQU8sR0FBRyxJQUFJLFlBQVMsQ0FBQyxrQkFBTyxDQUFDLENBQUM7QUFFdkMsVUFBSSx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BRSxHQUFHLEVBQUUsQ0FBQyxFQUFFO1FBQy9CLGtCQUFrQixFQUFFLEVBQUUsRUFBRSxFQUFFLFNBQVMsRUFBRSxHQUFHLEVBQUUsT0FBTyxFQUFDO0tBQzVDLENBQUMsQ0FBQztBQUNaLENBQUMsQ0FBQyxDQUFDIn0= |
{ | ||
"name": "@swimlane/el-segundo", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "The second choice in change detection.", | ||
@@ -20,3 +20,3 @@ "main": "dist/index.js", | ||
"lint": "tslint src/**/*.ts", | ||
"unit": "npm run build && nyc ava ./dist/*.spec.js", | ||
"unit": "nyc --extension .ts ava ./src/*.spec.ts", | ||
"check-coverage": "nyc check-coverage --lines 100 --functions 100 --branches 100", | ||
@@ -37,12 +37,13 @@ "test": "npm-run-all lint unit check-coverage", | ||
"devDependencies": { | ||
"@types/node": "^7.0.31", | ||
"ava": "^0.19.0", | ||
"@types/node": "^11.13.4", | ||
"ava": "^1.4.1", | ||
"blue-tape": "^1.0.0", | ||
"chg": "^0.3.2", | ||
"chuhai": "^1.2.0", | ||
"codecov": "^2.0.1", | ||
"concurrently": "^3.4.0", | ||
"deep-diff": "^0.3.8", | ||
"codecov": "^3.3.0", | ||
"concurrently": "^4.1.0", | ||
"deep-diff": "^1.0.2", | ||
"fast-deep-equal": "^2.0.1", | ||
"grunion": "^1.3.1", | ||
"locate-path": "^2.0.0", | ||
"locate-path": "^4.0.0", | ||
"lodash.clonedeep": "^4.5.0", | ||
@@ -52,12 +53,14 @@ "lodash.isequal": "^4.5.0", | ||
"lodash.ismatchwith": "^4.4.0", | ||
"mimic-fn": "^1.1.0", | ||
"mimic-fn": "^2.1.0", | ||
"mkdirp": "^0.5.1", | ||
"np": "^2.16.0", | ||
"np": "^4.0.2", | ||
"npm-run-all": "^4.0.2", | ||
"nyc": "^10.2.0", | ||
"opn-cli": "^3.1.0", | ||
"nyc": "^14.0.0", | ||
"opn-cli": "^4.1.0", | ||
"sleep-ms": "^2.0.1", | ||
"ts-node": "^8.1.0", | ||
"tslint": "^5.0.0", | ||
"tslint-config-swimlane": "^3.0.2", | ||
"typescript": "^2.2.2" | ||
"tslint-config-security": "^1.16.0", | ||
"tslint-config-swimlane": "^4.0.0", | ||
"typescript": "^3.4.3" | ||
}, | ||
@@ -71,4 +74,11 @@ "keywords": [], | ||
"ava": { | ||
"source": [ | ||
"dist/**/*.spec.js" | ||
"compileEnhancements": false, | ||
"extensions": [ | ||
"ts" | ||
], | ||
"require": [ | ||
"ts-node/register" | ||
], | ||
"sources": [ | ||
"./src/*.spec.ts" | ||
] | ||
@@ -75,0 +85,0 @@ }, |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
45414
482
27
1