New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@milson/schema

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@milson/schema - npm Package Compare versions

Package was removed
Sorry, it seems this package was removed from the registry
Comparing version
1.0.11
to
1.0.12
+2
-1
dist/schemas/Array.d.ts
import { MilsonGlobalSchema } from "./Global";
export declare class MilsonArraySchema extends MilsonGlobalSchema {
schema: MilsonGlobalSchema;
schemaValue?: MilsonGlobalSchema;
constructor(milsonSchema: MilsonGlobalSchema);
schema(milsonSchema: MilsonGlobalSchema): this;
}

@@ -8,5 +8,9 @@ "use strict";

super("array");
this.schema = milsonSchema;
this.schemaValue = milsonSchema;
}
schema(milsonSchema) {
this.schemaValue = milsonSchema;
return this;
}
}
exports.MilsonArraySchema = MilsonArraySchema;

@@ -11,5 +11,6 @@ import { MilsonGlobalSchema } from "./Global";

};
export declare class MilsonObjectSchema<T> extends MilsonGlobalSchema {
schema: ObjectSchema<T>;
export declare class MilsonObjectSchema<T = unknown> extends MilsonGlobalSchema {
schemaValue?: ObjectSchema<T>;
constructor(createMilsonObject: CreateMilsonObject<T>);
schema(createMilsonObject: CreateMilsonObject<T>): this;
}

@@ -8,5 +8,9 @@ "use strict";

super("object");
this.schema = createMilsonObject;
this.schemaValue = createMilsonObject;
}
schema(createMilsonObject) {
this.schemaValue = createMilsonObject;
return this;
}
}
exports.MilsonObjectSchema = MilsonObjectSchema;
{
"name": "@milson/schema",
"version": "1.0.11",
"version": "1.0.12",
"description": "A schema to type your data and use with @milson libs",

@@ -5,0 +5,0 @@ "main": "dist/index.js",