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

dilswer

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dilswer - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

7

dist/type-def-helpers.js

@@ -52,4 +52,7 @@ "use strict";

Enum(enumInstance) {
// @ts-expect-error
return { enumInstance };
return {
[exports.dataTypeSymbol]: true,
// @ts-expect-error
enumInstance,
};
} });
{
"name": "dilswer",
"version": "1.1.0",
"version": "1.1.1",
"main": "./dist/index.js",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -18,7 +18,6 @@ # Dilswer

1. [createValidator()](#dilswercreatevalidator)
2. [createChecker()](#dilswercreatechecker)
3. [createTypeGuardedFunction()](#dilswercreatetypeguardedfunction)
4. [createValidatedFunction()](#dilswercreatevalidatedfunction)
5. [ensureDataType()](#dilswerensuredatatype)
6. [DataType](#dilswerdatatype)
2. [createTypeGuardedFunction()](#dilswercreatetypeguardedfunction)
3. [createValidatedFunction()](#dilswercreatevalidatedfunction)
4. [ensureDataType()](#dilswerensuredatatype)
5. [DataType](#dilswerdatatype)
4. [Data Types](#data-types)

@@ -181,6 +180,2 @@ 1. [String](#datatypestring)

#### dilswer.createChecker()
Alias for the `createValidator()`.
#### dilswer.createTypeGuardedFunction()

@@ -377,3 +372,3 @@

const foo = DataType.Enum(MyEnum.A);
const foo = DataType.EnumMember(MyEnum.A);

@@ -380,0 +375,0 @@ type T = GetDataType<typeof foo>; // type T = MyEnum.A

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