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.1.0 to 3.1.1

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 | undefined;
static defaultLogger?: Logger;
static readonly uniqueName: string;
constructor(params?: TParams | undefined);
params?: TParams;
constructor(params?: TParams);
protected get logger(): Logger | undefined;
}
//# sourceMappingURL=Base.d.ts.map

@@ -92,2 +92,5 @@ // src/AsTypeFactory.ts

var Base = class _Base {
static defaultLogger;
static uniqueName = globallyUnique(this.name, this, "xyo");
params;
constructor(params) {

@@ -97,4 +100,2 @@ this.params = params;

}
static defaultLogger;
static uniqueName = globallyUnique(this.name, this, "xyo");
get logger() {

@@ -101,0 +102,0 @@ return this.params?.logger ?? _Base.defaultLogger;

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

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

@@ -92,9 +92,10 @@ // src/AsTypeFactory.ts

var Base = class _Base {
static defaultLogger;
static uniqueName = globallyUnique(this.name, this, "xyo");
params;
constructor(params) {
var _a;
this.params = params;
var _a;
(_a = params == null ? void 0 : params.logger) == null ? void 0 : _a.debug(`Base constructed [${Object(this).name}]`);
}
static defaultLogger;
static uniqueName = globallyUnique(this.name, this, "xyo");
get logger() {

@@ -101,0 +102,0 @@ var _a;

@@ -14,5 +14,5 @@ {

"dependencies": {
"@xylabs/assert": "^3.1.0",
"@xylabs/logger": "^3.1.0",
"@xylabs/promise": "^3.1.0"
"@xylabs/assert": "^3.1.1",
"@xylabs/logger": "^3.1.1",
"@xylabs/promise": "^3.1.1"
},

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

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

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

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

@@ -20,0 +23,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

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