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

schema-typed

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

schema-typed - npm Package Compare versions

Comparing version 2.0.0-alpha.1 to 2.0.0-alpha.2

14

es/index.d.ts

@@ -9,15 +9,3 @@ import { SchemaModel, Schema } from './Schema';

import { default as BooleanType } from './BooleanType';
export type { CheckResult, SchemaCheckResult, SchemaDeclaration, CheckType, RuleType, ValidCallbackType } from './types';
export { SchemaModel, Schema, MixedType, StringType, NumberType, ArrayType, DateType, ObjectType, BooleanType };
declare const _default: {
Model: typeof SchemaModel;
Types: {
MixedType: typeof MixedType;
StringType: typeof StringType;
NumberType: typeof NumberType;
ArrayType: typeof ArrayType;
DateType: typeof DateType;
ObjectType: typeof ObjectType;
BooleanType: typeof BooleanType;
};
};
export default _default;

@@ -9,14 +9,2 @@ import { SchemaModel, Schema } from './Schema';

import { default as BooleanType } from './BooleanType';
export { SchemaModel, Schema, MixedType, StringType, NumberType, ArrayType, DateType, ObjectType, BooleanType };
export default {
Model: SchemaModel,
Types: {
MixedType: MixedType,
StringType: StringType,
NumberType: NumberType,
ArrayType: ArrayType,
DateType: DateType,
ObjectType: ObjectType,
BooleanType: BooleanType
}
};
export { SchemaModel, Schema, MixedType, StringType, NumberType, ArrayType, DateType, ObjectType, BooleanType };

@@ -9,15 +9,3 @@ import { SchemaModel, Schema } from './Schema';

import { default as BooleanType } from './BooleanType';
export type { CheckResult, SchemaCheckResult, SchemaDeclaration, CheckType, RuleType, ValidCallbackType } from './types';
export { SchemaModel, Schema, MixedType, StringType, NumberType, ArrayType, DateType, ObjectType, BooleanType };
declare const _default: {
Model: typeof SchemaModel;
Types: {
MixedType: typeof MixedType;
StringType: typeof StringType;
NumberType: typeof NumberType;
ArrayType: typeof ArrayType;
DateType: typeof DateType;
ObjectType: typeof ObjectType;
BooleanType: typeof BooleanType;
};
};
export default _default;

@@ -6,3 +6,2 @@ "use strict";

exports.__esModule = true;
exports["default"] = void 0;

@@ -40,15 +39,2 @@ var _Schema = require("./Schema");

exports.BooleanType = _BooleanType["default"];
var _default = {
Model: _Schema.SchemaModel,
Types: {
MixedType: _MixedType["default"],
StringType: _StringType["default"],
NumberType: _NumberType["default"],
ArrayType: _ArrayType["default"],
DateType: _DateType["default"],
ObjectType: _ObjectType["default"],
BooleanType: _BooleanType["default"]
}
};
exports["default"] = _default;
exports.BooleanType = _BooleanType["default"];

2

package.json
{
"name": "schema-typed",
"version": "2.0.0-alpha.1",
"version": "2.0.0-alpha.2",
"description": "Schema for data modeling & validation",

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

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