@xylabs/object
Advanced tools
Comparing version 3.3.1 to 3.3.2
import { AnyObject } from './AnyObject'; | ||
export declare const asAnyObject: { | ||
<TType extends AnyObject>(value: string | number | bigint | boolean | symbol | object | Function | AnyObject | { | ||
[key: string]: import("@xylabs/promise").TypedValue; | ||
[key: number]: import("@xylabs/promise").TypedValue; | ||
[key: symbol]: import("@xylabs/promise").TypedValue; | ||
} | import("@xylabs/promise").TypedArray | null, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType | undefined; | ||
<TType_1 extends AnyObject>(value: string | number | bigint | boolean | symbol | object | Function | AnyObject | { | ||
[key: string]: import("@xylabs/promise").TypedValue; | ||
[key: number]: import("@xylabs/promise").TypedValue; | ||
[key: symbol]: import("@xylabs/promise").TypedValue; | ||
} | import("@xylabs/promise").TypedArray | null, assert: import("./AsTypeFactory").StringOrAlertFunction<AnyObject>, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType_1; | ||
<TType extends AnyObject>(value: import("@xylabs/promise").AnyNonPromise, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType | undefined; | ||
<TType_1 extends AnyObject>(value: import("@xylabs/promise").AnyNonPromise, assert: import("./AsTypeFactory").StringOrAlertFunction<AnyObject>, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType_1; | ||
}; | ||
//# sourceMappingURL=asObject.d.ts.map |
import { TypedObject } from '@xylabs/promise'; | ||
import { TypeCheck } from './AsTypeFactory'; | ||
export declare const AsObjectFactory: { | ||
create: <T extends TypedObject, E = void>(typeCheck: TypeCheck<T, E>) => { | ||
<TType extends T>(value: T | (E extends void ? Exclude<undefined, E> | Exclude<null, E> | Exclude<string, E> | Exclude<number, E> | Exclude<bigint, E> | Exclude<false, E> | Exclude<true, E> | Exclude<symbol, E> | Exclude<object, E> | Exclude<Function, E> | Exclude<{ | ||
[key: string]: import("@xylabs/promise").TypedValue; | ||
[key: number]: import("@xylabs/promise").TypedValue; | ||
[key: symbol]: import("@xylabs/promise").TypedValue; | ||
}, E> | Exclude<import("@xylabs/promise").TypedArray, E> : import("@xylabs/promise").AnyNonPromise), config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType | undefined; | ||
<TType_1 extends T>(value: T | (E extends void ? Exclude<undefined, E> | Exclude<null, E> | Exclude<string, E> | Exclude<number, E> | Exclude<bigint, E> | Exclude<false, E> | Exclude<true, E> | Exclude<symbol, E> | Exclude<object, E> | Exclude<Function, E> | Exclude<{ | ||
[key: string]: import("@xylabs/promise").TypedValue; | ||
[key: number]: import("@xylabs/promise").TypedValue; | ||
[key: symbol]: import("@xylabs/promise").TypedValue; | ||
}, E> | Exclude<import("@xylabs/promise").TypedArray, E> : import("@xylabs/promise").AnyNonPromise), assert: import("./AsTypeFactory").StringOrAlertFunction<T>, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType_1; | ||
create: <T extends TypedObject>(typeCheck: TypeCheck<T>) => { | ||
<TType extends T>(value: import("@xylabs/promise").AnyNonPromise, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType | undefined; | ||
<TType_1 extends T>(value: import("@xylabs/promise").AnyNonPromise, assert: import("./AsTypeFactory").StringOrAlertFunction<T>, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType_1; | ||
}; | ||
}; | ||
//# sourceMappingURL=AsObjectFactory.d.ts.map |
@@ -5,13 +5,12 @@ import { AssertExMessageFunc } from '@xylabs/assert'; | ||
export interface TypeCheckConfig { | ||
disallowChecks?: ((value: unknown) => unknown)[]; | ||
log?: boolean | Logger; | ||
} | ||
export type StringOrAlertFunction<T extends AnyNonPromise> = string | AssertExMessageFunc<T>; | ||
export type TypeCheck<T extends TypedValue, E = void> = (obj: (E extends void ? Exclude<AnyNonPromise, E> : AnyNonPromise) | T, config?: TypeCheckConfig) => obj is T; | ||
export type TypeCheck<T extends TypedValue> = (obj: AnyNonPromise, config?: TypeCheckConfig) => obj is T; | ||
export declare const AsTypeFactory: { | ||
create: <T extends AnyNonPromise, E = void>(typeCheck: TypeCheck<T, E>) => { | ||
<TType extends T>(value: (E extends void ? Exclude<AnyNonPromise, E> : AnyNonPromise) | T, config?: TypeCheckConfig): TType | undefined; | ||
<TType_1 extends T>(value: (E extends void ? Exclude<AnyNonPromise, E> : AnyNonPromise) | T, assert: StringOrAlertFunction<T>, config?: TypeCheckConfig): TType_1; | ||
create: <T extends AnyNonPromise>(typeCheck: TypeCheck<T>) => { | ||
<TType extends T>(value: AnyNonPromise, config?: TypeCheckConfig): TType | undefined; | ||
<TType_1 extends T>(value: AnyNonPromise, assert: StringOrAlertFunction<T>, config?: TypeCheckConfig): TType_1; | ||
}; | ||
}; | ||
//# sourceMappingURL=AsTypeFactory.d.ts.map |
@@ -17,7 +17,2 @@ // src/AsTypeFactory.ts | ||
} | ||
for (const disallowCheck of config?.disallowChecks ?? []) { | ||
if (disallowCheck(value)) { | ||
throw new TypeError("disallowed type"); | ||
} | ||
} | ||
const resolvedAssert = typeof assertOrConfig === "object" ? void 0 : assertOrConfig; | ||
@@ -24,0 +19,0 @@ const resolvedConfig = typeof assertOrConfig === "object" ? assertOrConfig : config; |
@@ -6,5 +6,5 @@ import { TypedObject } from '@xylabs/promise'; | ||
} | ||
export declare class IsObjectFactory<T extends TypedObject, E = void> { | ||
create(shape?: ObjectTypeShape, additionalChecks?: TypeCheck<TypedObject, E>[]): TypeCheck<T, E>; | ||
export declare class IsObjectFactory<T extends TypedObject> { | ||
create(shape?: ObjectTypeShape, additionalChecks?: TypeCheck<TypedObject>[]): TypeCheck<T>; | ||
} | ||
//# sourceMappingURL=IsObjectFactory.d.ts.map |
import { AnyObject } from './AnyObject'; | ||
export declare const asAnyObject: { | ||
<TType extends AnyObject>(value: string | number | bigint | boolean | symbol | object | Function | AnyObject | { | ||
[key: string]: import("@xylabs/promise").TypedValue; | ||
[key: number]: import("@xylabs/promise").TypedValue; | ||
[key: symbol]: import("@xylabs/promise").TypedValue; | ||
} | import("@xylabs/promise").TypedArray | null, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType | undefined; | ||
<TType_1 extends AnyObject>(value: string | number | bigint | boolean | symbol | object | Function | AnyObject | { | ||
[key: string]: import("@xylabs/promise").TypedValue; | ||
[key: number]: import("@xylabs/promise").TypedValue; | ||
[key: symbol]: import("@xylabs/promise").TypedValue; | ||
} | import("@xylabs/promise").TypedArray | null, assert: import("./AsTypeFactory").StringOrAlertFunction<AnyObject>, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType_1; | ||
<TType extends AnyObject>(value: import("@xylabs/promise").AnyNonPromise, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType | undefined; | ||
<TType_1 extends AnyObject>(value: import("@xylabs/promise").AnyNonPromise, assert: import("./AsTypeFactory").StringOrAlertFunction<AnyObject>, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType_1; | ||
}; | ||
//# sourceMappingURL=asObject.d.ts.map |
import { TypedObject } from '@xylabs/promise'; | ||
import { TypeCheck } from './AsTypeFactory'; | ||
export declare const AsObjectFactory: { | ||
create: <T extends TypedObject, E = void>(typeCheck: TypeCheck<T, E>) => { | ||
<TType extends T>(value: T | (E extends void ? Exclude<undefined, E> | Exclude<null, E> | Exclude<string, E> | Exclude<number, E> | Exclude<bigint, E> | Exclude<false, E> | Exclude<true, E> | Exclude<symbol, E> | Exclude<object, E> | Exclude<Function, E> | Exclude<{ | ||
[key: string]: import("@xylabs/promise").TypedValue; | ||
[key: number]: import("@xylabs/promise").TypedValue; | ||
[key: symbol]: import("@xylabs/promise").TypedValue; | ||
}, E> | Exclude<import("@xylabs/promise").TypedArray, E> : import("@xylabs/promise").AnyNonPromise), config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType | undefined; | ||
<TType_1 extends T>(value: T | (E extends void ? Exclude<undefined, E> | Exclude<null, E> | Exclude<string, E> | Exclude<number, E> | Exclude<bigint, E> | Exclude<false, E> | Exclude<true, E> | Exclude<symbol, E> | Exclude<object, E> | Exclude<Function, E> | Exclude<{ | ||
[key: string]: import("@xylabs/promise").TypedValue; | ||
[key: number]: import("@xylabs/promise").TypedValue; | ||
[key: symbol]: import("@xylabs/promise").TypedValue; | ||
}, E> | Exclude<import("@xylabs/promise").TypedArray, E> : import("@xylabs/promise").AnyNonPromise), assert: import("./AsTypeFactory").StringOrAlertFunction<T>, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType_1; | ||
create: <T extends TypedObject>(typeCheck: TypeCheck<T>) => { | ||
<TType extends T>(value: import("@xylabs/promise").AnyNonPromise, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType | undefined; | ||
<TType_1 extends T>(value: import("@xylabs/promise").AnyNonPromise, assert: import("./AsTypeFactory").StringOrAlertFunction<T>, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType_1; | ||
}; | ||
}; | ||
//# sourceMappingURL=AsObjectFactory.d.ts.map |
@@ -5,13 +5,12 @@ import { AssertExMessageFunc } from '@xylabs/assert'; | ||
export interface TypeCheckConfig { | ||
disallowChecks?: ((value: unknown) => unknown)[]; | ||
log?: boolean | Logger; | ||
} | ||
export type StringOrAlertFunction<T extends AnyNonPromise> = string | AssertExMessageFunc<T>; | ||
export type TypeCheck<T extends TypedValue, E = void> = (obj: (E extends void ? Exclude<AnyNonPromise, E> : AnyNonPromise) | T, config?: TypeCheckConfig) => obj is T; | ||
export type TypeCheck<T extends TypedValue> = (obj: AnyNonPromise, config?: TypeCheckConfig) => obj is T; | ||
export declare const AsTypeFactory: { | ||
create: <T extends AnyNonPromise, E = void>(typeCheck: TypeCheck<T, E>) => { | ||
<TType extends T>(value: (E extends void ? Exclude<AnyNonPromise, E> : AnyNonPromise) | T, config?: TypeCheckConfig): TType | undefined; | ||
<TType_1 extends T>(value: (E extends void ? Exclude<AnyNonPromise, E> : AnyNonPromise) | T, assert: StringOrAlertFunction<T>, config?: TypeCheckConfig): TType_1; | ||
create: <T extends AnyNonPromise>(typeCheck: TypeCheck<T>) => { | ||
<TType extends T>(value: AnyNonPromise, config?: TypeCheckConfig): TType | undefined; | ||
<TType_1 extends T>(value: AnyNonPromise, assert: StringOrAlertFunction<T>, config?: TypeCheckConfig): TType_1; | ||
}; | ||
}; | ||
//# sourceMappingURL=AsTypeFactory.d.ts.map |
@@ -17,7 +17,2 @@ // src/AsTypeFactory.ts | ||
} | ||
for (const disallowCheck of config?.disallowChecks ?? []) { | ||
if (disallowCheck(value)) { | ||
throw new TypeError("disallowed type"); | ||
} | ||
} | ||
const resolvedAssert = typeof assertOrConfig === "object" ? void 0 : assertOrConfig; | ||
@@ -24,0 +19,0 @@ const resolvedConfig = typeof assertOrConfig === "object" ? assertOrConfig : config; |
@@ -6,5 +6,5 @@ import { TypedObject } from '@xylabs/promise'; | ||
} | ||
export declare class IsObjectFactory<T extends TypedObject, E = void> { | ||
create(shape?: ObjectTypeShape, additionalChecks?: TypeCheck<TypedObject, E>[]): TypeCheck<T, E>; | ||
export declare class IsObjectFactory<T extends TypedObject> { | ||
create(shape?: ObjectTypeShape, additionalChecks?: TypeCheck<TypedObject>[]): TypeCheck<T>; | ||
} | ||
//# sourceMappingURL=IsObjectFactory.d.ts.map |
import { AnyObject } from './AnyObject'; | ||
export declare const asAnyObject: { | ||
<TType extends AnyObject>(value: string | number | bigint | boolean | symbol | object | Function | AnyObject | { | ||
[key: string]: import("@xylabs/promise").TypedValue; | ||
[key: number]: import("@xylabs/promise").TypedValue; | ||
[key: symbol]: import("@xylabs/promise").TypedValue; | ||
} | import("@xylabs/promise").TypedArray | null, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType | undefined; | ||
<TType_1 extends AnyObject>(value: string | number | bigint | boolean | symbol | object | Function | AnyObject | { | ||
[key: string]: import("@xylabs/promise").TypedValue; | ||
[key: number]: import("@xylabs/promise").TypedValue; | ||
[key: symbol]: import("@xylabs/promise").TypedValue; | ||
} | import("@xylabs/promise").TypedArray | null, assert: import("./AsTypeFactory").StringOrAlertFunction<AnyObject>, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType_1; | ||
<TType extends AnyObject>(value: import("@xylabs/promise").AnyNonPromise, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType | undefined; | ||
<TType_1 extends AnyObject>(value: import("@xylabs/promise").AnyNonPromise, assert: import("./AsTypeFactory").StringOrAlertFunction<AnyObject>, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType_1; | ||
}; | ||
//# sourceMappingURL=asObject.d.ts.map |
import { TypedObject } from '@xylabs/promise'; | ||
import { TypeCheck } from './AsTypeFactory'; | ||
export declare const AsObjectFactory: { | ||
create: <T extends TypedObject, E = void>(typeCheck: TypeCheck<T, E>) => { | ||
<TType extends T>(value: T | (E extends void ? Exclude<undefined, E> | Exclude<null, E> | Exclude<string, E> | Exclude<number, E> | Exclude<bigint, E> | Exclude<false, E> | Exclude<true, E> | Exclude<symbol, E> | Exclude<object, E> | Exclude<Function, E> | Exclude<{ | ||
[key: string]: import("@xylabs/promise").TypedValue; | ||
[key: number]: import("@xylabs/promise").TypedValue; | ||
[key: symbol]: import("@xylabs/promise").TypedValue; | ||
}, E> | Exclude<import("@xylabs/promise").TypedArray, E> : import("@xylabs/promise").AnyNonPromise), config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType | undefined; | ||
<TType_1 extends T>(value: T | (E extends void ? Exclude<undefined, E> | Exclude<null, E> | Exclude<string, E> | Exclude<number, E> | Exclude<bigint, E> | Exclude<false, E> | Exclude<true, E> | Exclude<symbol, E> | Exclude<object, E> | Exclude<Function, E> | Exclude<{ | ||
[key: string]: import("@xylabs/promise").TypedValue; | ||
[key: number]: import("@xylabs/promise").TypedValue; | ||
[key: symbol]: import("@xylabs/promise").TypedValue; | ||
}, E> | Exclude<import("@xylabs/promise").TypedArray, E> : import("@xylabs/promise").AnyNonPromise), assert: import("./AsTypeFactory").StringOrAlertFunction<T>, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType_1; | ||
create: <T extends TypedObject>(typeCheck: TypeCheck<T>) => { | ||
<TType extends T>(value: import("@xylabs/promise").AnyNonPromise, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType | undefined; | ||
<TType_1 extends T>(value: import("@xylabs/promise").AnyNonPromise, assert: import("./AsTypeFactory").StringOrAlertFunction<T>, config?: import("./AsTypeFactory").TypeCheckConfig | undefined): TType_1; | ||
}; | ||
}; | ||
//# sourceMappingURL=AsObjectFactory.d.ts.map |
@@ -5,13 +5,12 @@ import { AssertExMessageFunc } from '@xylabs/assert'; | ||
export interface TypeCheckConfig { | ||
disallowChecks?: ((value: unknown) => unknown)[]; | ||
log?: boolean | Logger; | ||
} | ||
export type StringOrAlertFunction<T extends AnyNonPromise> = string | AssertExMessageFunc<T>; | ||
export type TypeCheck<T extends TypedValue, E = void> = (obj: (E extends void ? Exclude<AnyNonPromise, E> : AnyNonPromise) | T, config?: TypeCheckConfig) => obj is T; | ||
export type TypeCheck<T extends TypedValue> = (obj: AnyNonPromise, config?: TypeCheckConfig) => obj is T; | ||
export declare const AsTypeFactory: { | ||
create: <T extends AnyNonPromise, E = void>(typeCheck: TypeCheck<T, E>) => { | ||
<TType extends T>(value: (E extends void ? Exclude<AnyNonPromise, E> : AnyNonPromise) | T, config?: TypeCheckConfig): TType | undefined; | ||
<TType_1 extends T>(value: (E extends void ? Exclude<AnyNonPromise, E> : AnyNonPromise) | T, assert: StringOrAlertFunction<T>, config?: TypeCheckConfig): TType_1; | ||
create: <T extends AnyNonPromise>(typeCheck: TypeCheck<T>) => { | ||
<TType extends T>(value: AnyNonPromise, config?: TypeCheckConfig): TType | undefined; | ||
<TType_1 extends T>(value: AnyNonPromise, assert: StringOrAlertFunction<T>, config?: TypeCheckConfig): TType_1; | ||
}; | ||
}; | ||
//# sourceMappingURL=AsTypeFactory.d.ts.map |
@@ -17,7 +17,2 @@ // src/AsTypeFactory.ts | ||
} | ||
for (const disallowCheck of (config == null ? void 0 : config.disallowChecks) ?? []) { | ||
if (disallowCheck(value)) { | ||
throw new TypeError("disallowed type"); | ||
} | ||
} | ||
const resolvedAssert = typeof assertOrConfig === "object" ? void 0 : assertOrConfig; | ||
@@ -24,0 +19,0 @@ const resolvedConfig = typeof assertOrConfig === "object" ? assertOrConfig : config; |
@@ -6,5 +6,5 @@ import { TypedObject } from '@xylabs/promise'; | ||
} | ||
export declare class IsObjectFactory<T extends TypedObject, E = void> { | ||
create(shape?: ObjectTypeShape, additionalChecks?: TypeCheck<TypedObject, E>[]): TypeCheck<T, E>; | ||
export declare class IsObjectFactory<T extends TypedObject> { | ||
create(shape?: ObjectTypeShape, additionalChecks?: TypeCheck<TypedObject>[]): TypeCheck<T>; | ||
} | ||
//# sourceMappingURL=IsObjectFactory.d.ts.map |
@@ -14,5 +14,5 @@ { | ||
"dependencies": { | ||
"@xylabs/assert": "^3.3.1", | ||
"@xylabs/logger": "^3.3.1", | ||
"@xylabs/promise": "^3.3.1" | ||
"@xylabs/assert": "^3.3.2", | ||
"@xylabs/logger": "^3.3.2", | ||
"@xylabs/promise": "^3.3.2" | ||
}, | ||
@@ -62,4 +62,4 @@ "devDependencies": { | ||
"sideEffects": false, | ||
"version": "3.3.1", | ||
"version": "3.3.2", | ||
"type": "module" | ||
} |
@@ -6,5 +6,5 @@ import { TypedObject } from '@xylabs/promise' | ||
export const AsObjectFactory = { | ||
create: <T extends TypedObject, E = void>(typeCheck: TypeCheck<T, E>) => { | ||
return AsTypeFactory.create<T, E>(typeCheck) | ||
create: <T extends TypedObject>(typeCheck: TypeCheck<T>) => { | ||
return AsTypeFactory.create<T>(typeCheck) | ||
}, | ||
} |
@@ -6,3 +6,2 @@ import { assertEx, AssertExMessageFunc } from '@xylabs/assert' | ||
export interface TypeCheckConfig { | ||
disallowChecks?: ((value: unknown) => unknown)[] | ||
log?: boolean | Logger | ||
@@ -13,13 +12,10 @@ } | ||
export type TypeCheck<T extends TypedValue, E = void> = ( | ||
obj: (E extends void ? Exclude<AnyNonPromise, E> : AnyNonPromise) | T, | ||
config?: TypeCheckConfig, | ||
) => obj is T | ||
export type TypeCheck<T extends TypedValue> = (obj: AnyNonPromise, config?: TypeCheckConfig) => obj is T | ||
export const AsTypeFactory = { | ||
// eslint-disable-next-line @typescript-eslint/ban-types | ||
create: <T extends AnyNonPromise, E = void>(typeCheck: TypeCheck<T, E>) => { | ||
create: <T extends AnyNonPromise>(typeCheck: TypeCheck<T>) => { | ||
function func<TType extends T>( | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
value: (E extends void ? Exclude<AnyNonPromise, E> : AnyNonPromise) | T, | ||
value: AnyNonPromise, | ||
config?: TypeCheckConfig, | ||
@@ -29,3 +25,3 @@ ): TType | undefined | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
value: (E extends void ? Exclude<AnyNonPromise, E> : AnyNonPromise) | T, | ||
value: AnyNonPromise, | ||
assert: StringOrAlertFunction<T>, | ||
@@ -36,3 +32,3 @@ config?: TypeCheckConfig, | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
value: (E extends void ? Exclude<AnyNonPromise, E> : AnyNonPromise) | T, | ||
value: AnyNonPromise, | ||
assertOrConfig?: StringOrAlertFunction<T> | TypeCheckConfig, | ||
@@ -53,8 +49,2 @@ config?: TypeCheckConfig, | ||
for (const disallowCheck of config?.disallowChecks ?? []) { | ||
if (disallowCheck(value)) { | ||
throw new TypeError('disallowed type') | ||
} | ||
} | ||
const resolvedAssert = (typeof assertOrConfig === 'object' ? undefined : assertOrConfig) as StringOrAlertFunction<T> | undefined | ||
@@ -61,0 +51,0 @@ const resolvedConfig = typeof assertOrConfig === 'object' ? assertOrConfig : config |
@@ -8,4 +8,4 @@ import { TypedObject } from '@xylabs/promise' | ||
export class IsObjectFactory<T extends TypedObject, E = void> { | ||
create(shape?: ObjectTypeShape, additionalChecks?: TypeCheck<TypedObject, E>[]): TypeCheck<T, E> { | ||
export class IsObjectFactory<T extends TypedObject> { | ||
create(shape?: ObjectTypeShape, additionalChecks?: TypeCheck<TypedObject>[]): TypeCheck<T> { | ||
return (obj, { log } = {}): obj is T => { | ||
@@ -12,0 +12,0 @@ if (!obj || typeof obj !== 'object') { |
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
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
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
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
8
406837
2958
Updated@xylabs/assert@^3.3.2
Updated@xylabs/logger@^3.3.2
Updated@xylabs/promise@^3.3.2