Comparing version 10.2.0 to 10.2.1
@@ -13,3 +13,3 @@ import { JsonObject } from "./custom-types"; | ||
*/ | ||
export declare type SafeStringOption = { | ||
export type SafeStringOption = { | ||
exclude: string | RegExp; | ||
@@ -16,0 +16,0 @@ replaceWith: string; |
@@ -21,3 +21,3 @@ "use strict"; | ||
]; | ||
})(SafeStringOption = exports.SafeStringOption || (exports.SafeStringOption = {})); | ||
})(SafeStringOption || (exports.SafeStringOption = SafeStringOption = {})); | ||
class Convert { | ||
@@ -24,0 +24,0 @@ /** |
@@ -8,3 +8,3 @@ /** | ||
*/ | ||
export declare type Action<T> = { | ||
export type Action<T> = { | ||
(item: T): void; | ||
@@ -36,3 +36,3 @@ }; | ||
*/ | ||
export declare type Class<T> = { | ||
export type Class<T> = { | ||
new (...args: any[]): T; | ||
@@ -49,7 +49,7 @@ readonly prototype: T; | ||
*/ | ||
export declare type Func<T, TResult> = (x: T) => TResult; | ||
export type Func<T, TResult> = (x: T) => TResult; | ||
/** | ||
* a valid key that can be used in any JSON object | ||
*/ | ||
export declare type JsonKey = string | number; | ||
export type JsonKey = string | number; | ||
/** | ||
@@ -59,7 +59,7 @@ * a valid value that can be assigned to a `JsonKey` in | ||
*/ | ||
export declare type JsonValue = JsonKey | boolean | JsonObject | null | undefined; | ||
export type JsonValue = JsonKey | boolean | JsonObject | null | undefined; | ||
/** | ||
* a valid JSON object | ||
*/ | ||
export declare type JsonObject = { | ||
export type JsonObject = { | ||
[key: JsonKey]: JsonValue; | ||
@@ -84,3 +84,3 @@ } | Array<JsonValue>; | ||
*/ | ||
export declare type ProcessingResult<T> = { | ||
export type ProcessingResult<T> = { | ||
result: T; | ||
@@ -93,3 +93,3 @@ message?: string; | ||
*/ | ||
export declare type CacheObject = { | ||
export type CacheObject = { | ||
validUntil?: number; | ||
@@ -109,3 +109,3 @@ data?: JsonValue; | ||
*/ | ||
export declare type Merge<T1, T2, T3 = {}, T4 = {}, T5 = {}, T6 = {}> = T1 & T2 & T3 & T4 & T5 & T6; | ||
export type Merge<T1, T2, T3 = {}, T4 = {}, T5 = {}, T6 = {}> = T1 & T2 & T3 & T4 & T5 & T6; | ||
/** | ||
@@ -116,2 +116,2 @@ * a retry back-off delay type where `constant` uses the same | ||
*/ | ||
export declare type RetryBackOffType = 'constant' | 'linear' | 'exponential'; | ||
export type RetryBackOffType = 'constant' | 'linear' | 'exponential'; |
@@ -1,2 +0,2 @@ | ||
export declare type EllipsisLocation = 'beginning' | 'middle' | 'end'; | ||
export type EllipsisLocation = 'beginning' | 'middle' | 'end'; | ||
export declare const ellide: (original: string, finalLength: number, ellipsisLocation?: EllipsisLocation, ellipsis?: string) => string; |
import { LogLevel } from '../logging/log-level'; | ||
import { Reporter } from '../plugins/reporting/reporter'; | ||
import { Func } from './custom-types'; | ||
export declare type ErrVerbosity = 'full' | 'short'; | ||
export declare type ErrOptions = { | ||
export type ErrVerbosity = 'full' | 'short'; | ||
export type ErrOptions = { | ||
/** | ||
@@ -7,0 +7,0 @@ * an optional `Reporter` instance to use in logging the error message |
@@ -223,3 +223,3 @@ "use strict"; | ||
Err.handleAsync = handleAsync; | ||
})(Err = exports.Err || (exports.Err = {})); | ||
})(Err || (exports.Err = Err = {})); | ||
//# sourceMappingURL=err.js.map |
@@ -105,3 +105,3 @@ "use strict"; | ||
ExpiringFileLock.get = get; | ||
})(ExpiringFileLock = exports.ExpiringFileLock || (exports.ExpiringFileLock = {})); | ||
})(ExpiringFileLock || (exports.ExpiringFileLock = ExpiringFileLock = {})); | ||
//# sourceMappingURL=expiring-file-lock.js.map |
@@ -15,3 +15,3 @@ /** | ||
} | ||
export declare type MachineInfoData = { | ||
export type MachineInfoData = { | ||
ip?: string; | ||
@@ -18,0 +18,0 @@ hostname?: string; |
@@ -28,5 +28,2 @@ "use strict"; | ||
class AftLogger { | ||
constructor(aftCfg) { | ||
this.aftCfg = aftCfg !== null && aftCfg !== void 0 ? aftCfg : aft_config_1.aftConfig; | ||
} | ||
/** | ||
@@ -50,2 +47,5 @@ * allows for filtering out of erroneous information from logs by assigning | ||
} | ||
constructor(aftCfg) { | ||
this.aftCfg = aftCfg !== null && aftCfg !== void 0 ? aftCfg : aft_config_1.aftConfig; | ||
} | ||
/** | ||
@@ -52,0 +52,0 @@ * function will check that the `level` is greater or equal to the current configured `logLevel` |
declare const levels: readonly ["trace", "debug", "info", "step", "warn", "pass", "fail", "error", "none"]; | ||
export declare type LogLevel = typeof levels[number]; | ||
export type LogLevel = typeof levels[number]; | ||
/** | ||
@@ -4,0 +4,0 @@ * allows for filtering out of erroneous information from logs by assigning |
@@ -48,3 +48,3 @@ "use strict"; | ||
LogLevel.toValue = toValue; | ||
})(LogLevel = exports.LogLevel || (exports.LogLevel = {})); | ||
})(LogLevel || (exports.LogLevel = LogLevel = {})); | ||
//# sourceMappingURL=log-level.js.map |
import { LogLevel } from "./log-level"; | ||
export declare type LogMessageData = { | ||
export type LogMessageData = { | ||
name: string; | ||
@@ -4,0 +4,0 @@ level: LogLevel; |
@@ -16,6 +16,2 @@ "use strict"; | ||
class Plugin { | ||
constructor(aftCfg) { | ||
this._aftCfg = aftCfg !== null && aftCfg !== void 0 ? aftCfg : aft_config_1.aftConfig; | ||
this._aftLogger = (aftCfg) ? new aft_logger_1.AftLogger(aftCfg) : aft_logger_1.aftLogger; | ||
} | ||
get aftCfg() { | ||
@@ -30,4 +26,8 @@ return this._aftCfg; | ||
} | ||
constructor(aftCfg) { | ||
this._aftCfg = aftCfg !== null && aftCfg !== void 0 ? aftCfg : aft_config_1.aftConfig; | ||
this._aftLogger = (aftCfg) ? new aft_logger_1.AftLogger(aftCfg) : aft_logger_1.aftLogger; | ||
} | ||
} | ||
exports.Plugin = Plugin; | ||
//# sourceMappingURL=plugin.js.map |
import { TestStatus } from "./test-status"; | ||
import { JsonObject } from "../../helpers/custom-types"; | ||
export declare type TestResult = { | ||
export type TestResult = { | ||
testId?: string; | ||
@@ -5,0 +5,0 @@ testName?: string; |
@@ -1,1 +0,1 @@ | ||
export declare type TestStatus = 'untested' | 'passed' | 'blocked' | 'retest' | 'failed' | 'skipped'; | ||
export type TestStatus = 'untested' | 'passed' | 'blocked' | 'retest' | 'failed' | 'skipped'; |
@@ -6,3 +6,3 @@ import { AftConfig } from "../configuration/aft-config"; | ||
import { Verifier } from "./verifier"; | ||
export declare type VerifierInternals = { | ||
export type VerifierInternals = { | ||
usingAftConfig: (cfg: AftConfig) => Verifier; | ||
@@ -9,0 +9,0 @@ usingBuildInfoManager: (mgr: BuildInfoManager) => Verifier; |
@@ -10,3 +10,3 @@ import { Reporter } from "../plugins/reporting/reporter"; | ||
import { VerifierInternals } from "./verifier-internals"; | ||
export declare type VerifierEvent = 'skipped' | 'started' | 'done'; | ||
export type VerifierEvent = 'skipped' | 'started' | 'done'; | ||
/** | ||
@@ -13,0 +13,0 @@ * class to be used for executing some Functional Test Assertion after checking with any |
@@ -19,2 +19,5 @@ "use strict"; | ||
class MockBuildInfoPlugin extends src_1.BuildInfoPlugin { | ||
get enabled() { | ||
return this._enabled; | ||
} | ||
constructor(aftCfg) { | ||
@@ -43,7 +46,4 @@ var _a, _b, _c, _d; | ||
} | ||
get enabled() { | ||
return this._enabled; | ||
} | ||
} | ||
exports.MockBuildInfoPlugin = MockBuildInfoPlugin; | ||
//# sourceMappingURL=mock-build-info-plugin.js.map |
@@ -9,2 +9,5 @@ "use strict"; | ||
class MockPlugin extends src_1.Plugin { | ||
get enabled() { | ||
return this._enabled; | ||
} | ||
constructor(aftCfg) { | ||
@@ -16,7 +19,4 @@ super(aftCfg); | ||
} | ||
get enabled() { | ||
return this._enabled; | ||
} | ||
} | ||
exports.MockPlugin = MockPlugin; | ||
//# sourceMappingURL=mock-plugin.js.map |
@@ -19,2 +19,5 @@ "use strict"; | ||
class MockReportingPlugin extends src_1.ReportingPlugin { | ||
get logLevel() { | ||
return this._level; | ||
} | ||
constructor(aftCfg) { | ||
@@ -40,7 +43,4 @@ var _a, _b; | ||
} | ||
get logLevel() { | ||
return this._level; | ||
} | ||
} | ||
exports.MockReportingPlugin = MockReportingPlugin; | ||
//# sourceMappingURL=mock-reporting-plugin.js.map |
@@ -22,2 +22,5 @@ "use strict"; | ||
class MockTestExecutionPolicyPlugin extends src_1.TestExecutionPolicyPlugin { | ||
get enabled() { | ||
return this._enabled; | ||
} | ||
constructor(aftCfg) { | ||
@@ -39,7 +42,4 @@ var _a, _b; | ||
} | ||
get enabled() { | ||
return this._enabled; | ||
} | ||
} | ||
exports.MockTestExecutionPolicyPlugin = MockTestExecutionPolicyPlugin; | ||
//# sourceMappingURL=mock-test-execution-policy-plugin.js.map |
{ | ||
"name": "aft-core", | ||
"version": "10.2.0", | ||
"version": "10.2.1", | ||
"description": "Automation Framework for Testing (AFT) package supporting JavaScript unit, integration and functional testing", | ||
@@ -33,21 +33,21 @@ "repository": { | ||
"colors": "^1.4.0", | ||
"dotenv": "^16.0.3", | ||
"dotenv": "^16.3.1", | ||
"fs-ext": "^2.0.0", | ||
"lodash": "^4.17.21", | ||
"uuid": "^8.3.2" | ||
"uuid": "^9.0.0" | ||
}, | ||
"devDependencies": { | ||
"@types/fs-ext": "^2.0.0", | ||
"@types/jasmine": "^3.6.10", | ||
"@types/node": "^17.0.31", | ||
"@types/uuid": "^8.3.0", | ||
"jasmine": "^4.6.0", | ||
"@types/jasmine": "^4.3.5", | ||
"@types/node": "^20.4.1", | ||
"@types/uuid": "^9.0.2", | ||
"jasmine": "^5.0.2", | ||
"jasmine-ts": "^0.4.0", | ||
"nyc": "^15.1.0", | ||
"rimraf": "^3.0.2", | ||
"rimraf": "^5.0.1", | ||
"source-map-support": "^0.5.21", | ||
"ts-node": "^10.7.0", | ||
"typescript": "^4.6.4" | ||
"ts-node": "^10.9.1", | ||
"typescript": "^5.1.6" | ||
}, | ||
"gitHead": "26752aa7a7f08174bc87de52db273abf786f443c" | ||
"gitHead": "41c157fc5c96357608a6df58a187157b19290b16" | ||
} |
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
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
845722
+ Addeduuid@9.0.1(transitive)
- Removeduuid@8.3.2(transitive)
Updateddotenv@^16.3.1
Updateduuid@^9.0.0