Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@xylabs/object

Package Overview
Dependencies
Maintainers
7
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xylabs/object - npm Package Compare versions

Comparing version 3.0.25 to 3.1.0

4

dist/browser/Base.d.ts

@@ -8,8 +8,8 @@ import { Logger } from '@xylabs/logger';

export declare abstract class Base<TParams extends BaseParams = BaseParams> {
readonly params: TParams;
readonly params?: TParams | undefined;
static defaultLogger?: Logger;
static readonly uniqueName: string;
constructor(params: TParams);
constructor(params?: TParams | undefined);
protected get logger(): Logger | undefined;
}
//# sourceMappingURL=Base.d.ts.map

@@ -94,3 +94,3 @@ // src/AsTypeFactory.ts

this.params = params;
params.logger?.debug(`Base constructed [${Object(this).name}]`);
params?.logger?.debug(`Base constructed [${Object(this).name}]`);
}

@@ -97,0 +97,0 @@ static defaultLogger;

@@ -8,8 +8,8 @@ import { Logger } from '@xylabs/logger';

export declare abstract class Base<TParams extends BaseParams = BaseParams> {
readonly params: TParams;
readonly params?: TParams | undefined;
static defaultLogger?: Logger;
static readonly uniqueName: string;
constructor(params: TParams);
constructor(params?: TParams | undefined);
protected get logger(): Logger | undefined;
}
//# sourceMappingURL=Base.d.ts.map

@@ -95,3 +95,3 @@ // src/AsTypeFactory.ts

var _a;
(_a = params.logger) == null ? void 0 : _a.debug(`Base constructed [${Object(this).name}]`);
(_a = params == null ? void 0 : params.logger) == null ? void 0 : _a.debug(`Base constructed [${Object(this).name}]`);
}

@@ -98,0 +98,0 @@ static defaultLogger;

@@ -14,10 +14,10 @@ {

"dependencies": {
"@xylabs/assert": "^3.0.25",
"@xylabs/logger": "^3.0.25",
"@xylabs/promise": "^3.0.25"
"@xylabs/assert": "^3.1.0",
"@xylabs/logger": "^3.1.0",
"@xylabs/promise": "^3.1.0"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^3.5.2",
"@xylabs/tsconfig": "^3.5.2",
"typescript": "^5.4.3"
"@xylabs/ts-scripts-yarn3": "^3.9.0",
"@xylabs/tsconfig": "^3.9.0",
"typescript": "^5.4.4"
},

@@ -62,4 +62,4 @@ "exports": {

"sideEffects": false,
"version": "3.0.25",
"version": "3.1.0",
"type": "module"
}

@@ -17,4 +17,4 @@ import { Logger } from '@xylabs/logger'

constructor(readonly params: TParams) {
params.logger?.debug(`Base constructed [${Object(this).name}]`)
constructor(readonly params?: TParams) {
params?.logger?.debug(`Base constructed [${Object(this).name}]`)
}

@@ -21,0 +21,0 @@

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc