@artus/pipeline
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -20,4 +20,4 @@ import type { ExecutionContainer } from '@artus/injection'; | ||
constructor(input?: Input, output?: Output); | ||
get container(): ExecutionContainer | null; | ||
set container(container: ExecutionContainer | null); | ||
get container(): ExecutionContainer; | ||
set container(container: ExecutionContainer); | ||
namespace(namespace: string): ContextStorage<any>; | ||
@@ -24,0 +24,0 @@ restore(): void; |
{ | ||
"name": "@artus/pipeline", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"main": "dist/index.js", | ||
"scripts": { | ||
"build": "npm run build:dist", | ||
"build:dist": "tsc --version && tsc -b ./tsconfig.build.json", | ||
"build:dist": "tsc --version && tsc -p ./tsconfig.build.json", | ||
"test": "tsc --version && jest --coverage", | ||
@@ -9,0 +9,0 @@ "ci": "npm run test" |
@@ -35,3 +35,3 @@ import type { ExecutionContainer } from '@artus/injection'; | ||
private _container!: ExecutionContainer | null; | ||
private _container!: ExecutionContainer; | ||
private storageMap = new Map<string, ContextStorage<any>>(); | ||
@@ -48,3 +48,3 @@ | ||
set container(container: ExecutionContainer | null) { | ||
set container(container: ExecutionContainer) { | ||
this._container = container; | ||
@@ -67,3 +67,3 @@ } | ||
this.output.data.clear(); | ||
this.container = null; | ||
this.container = null as any; | ||
} | ||
@@ -70,0 +70,0 @@ } |
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
31287