Socket
Socket
Sign inDemoInstall

intertype

Package Overview
Dependencies
Maintainers
1
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

intertype - npm Package Compare versions

Comparing version 202.0.0 to 203.0.0

5

lib/main.js

@@ -1000,2 +1000,5 @@ (function() {

p = P[i];
if (p == null) {
continue;
}
if (!_isa.object(p)) {

@@ -1021,3 +1024,3 @@ throw new E.Intertype_wrong_type("^deepmerge@1^", 'an object', __type_of(_isa, p));

if (!_isa.text(fq_name)) {
throw new E.Intertype_wrong_type("^deepmerge@1^", 'a text', __type_of(_isa, p));
throw new E.Intertype_wrong_type("^walk_prefixes@1^", 'a text', __type_of(_isa, p));
}

@@ -1024,0 +1027,0 @@ parts = fq_name.split('.');

2

package.json
{
"name": "intertype",
"version": "202.0.0",
"version": "203.0.0",
"description": "A JavaScript typechecker",

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

@@ -337,2 +337,5 @@

* **[–]** consider to relegate private module exports to sub-key `testing` or similar
* **[–]** implement a type `forbidden` that, in contradistinction to established rules, does throw an error
from its test method when a record with a field thusly marked is encountered; this is to ease transition
when extransous fields are removed from record types

@@ -452,2 +455,3 @@

* **[+]** use prototype of set equality for `equals()` implementation in `webguy`
* **[+]** allow `undefined`, `null` in `create` methods that result in record

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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