@xylabs/object
Advanced tools
Comparing version 3.1.2 to 3.1.3
@@ -12,5 +12,5 @@ import { Logger } from '@xylabs/logger'; | ||
constructor(params?: TParams); | ||
get params(): TParams | undefined; | ||
protected get logger(): Logger | undefined; | ||
protected get params(): TParams | undefined; | ||
} | ||
//# sourceMappingURL=Base.d.ts.map |
@@ -99,8 +99,8 @@ // src/AsTypeFactory.ts | ||
} | ||
get params() { | ||
return this._params; | ||
} | ||
get logger() { | ||
return this.params?.logger ?? _Base.defaultLogger; | ||
} | ||
get params() { | ||
return this._params; | ||
} | ||
}; | ||
@@ -107,0 +107,0 @@ |
@@ -12,5 +12,5 @@ import { Logger } from '@xylabs/logger'; | ||
constructor(params?: TParams); | ||
get params(): TParams | undefined; | ||
protected get logger(): Logger | undefined; | ||
protected get params(): TParams | undefined; | ||
} | ||
//# sourceMappingURL=Base.d.ts.map |
@@ -100,2 +100,5 @@ // src/AsTypeFactory.ts | ||
} | ||
get params() { | ||
return this._params; | ||
} | ||
get logger() { | ||
@@ -105,5 +108,2 @@ var _a; | ||
} | ||
get params() { | ||
return this._params; | ||
} | ||
}; | ||
@@ -110,0 +110,0 @@ |
@@ -14,5 +14,5 @@ { | ||
"dependencies": { | ||
"@xylabs/assert": "^3.1.2", | ||
"@xylabs/logger": "^3.1.2", | ||
"@xylabs/promise": "^3.1.2" | ||
"@xylabs/assert": "^3.1.3", | ||
"@xylabs/logger": "^3.1.3", | ||
"@xylabs/promise": "^3.1.3" | ||
}, | ||
@@ -62,4 +62,4 @@ "devDependencies": { | ||
"sideEffects": false, | ||
"version": "3.1.2", | ||
"version": "3.1.3", | ||
"type": "module" | ||
} |
@@ -24,9 +24,9 @@ import { Logger } from '@xylabs/logger' | ||
get params() { | ||
return this._params | ||
} | ||
protected get logger() { | ||
return this.params?.logger ?? Base.defaultLogger | ||
} | ||
protected get params() { | ||
return this._params | ||
} | ||
} |
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
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
226927
Updated@xylabs/assert@^3.1.3
Updated@xylabs/logger@^3.1.3
Updated@xylabs/promise@^3.1.3