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

optimal

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

optimal - npm Package Compare versions

Comparing version 2.0.0-2 to 2.0.0

7

CHANGELOG.md
# Changelog
# 2.0.0
# 2.0.0 - 2018-01-30

@@ -31,2 +31,3 @@ #### 💥 Breaking

- Added a `predicates` export from the index, which is an object of all builder factory functions.
- TS: Also added a `Predicates` type representing this shape.
- Added a `loose` option to `instance()`, so cross-realm instance checks work (compares constructor

@@ -37,2 +38,6 @@ name).

#### 🛠 Internal
- TS: Removed `Struct` type.
# 1.2.0 - 2018-12-29

@@ -39,0 +44,0 @@

@@ -30,3 +30,4 @@ /**

export { Builder, ArrayBuilder, InstanceBuilder, NumberBuilder, ObjectBuilder, ShapeBuilder, StringBuilder, UnionBuilder, };
export declare type Predicates = typeof predicates;
export * from './types';
export default optimal;

2

package.json
{
"name": "optimal",
"version": "2.0.0-2",
"version": "2.0.0",
"description": "A system for building and validating defined object structures.",

@@ -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