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

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 0.105.0 to 0.105.1

9

lib/declarations.js

@@ -72,2 +72,11 @@ (function() {

});
//.........................................................................................................
declare.jsidentifier(function(x) {
if (!this.isa.text(x)) {
/* thx to https://github.com/mathiasbynens/mothereff.in/blob/master/js-variables/eff.js and
https://mathiasbynens.be/notes/javascript-identifiers-es6 */
return false;
}
return (x.match(/^(?:[$_]|\p{ID_Start})(?:[$_\u{200c}\u{200d}]|\p{ID_Continue})*$/u)) != null;
});
//---------------------------------------------------------------------------------------------------------

@@ -74,0 +83,0 @@ // Container Types

2

package.json
{
"name": "intertype",
"version": "0.105.0",
"version": "0.105.1",
"description": "A JavaScript typechecker",

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

@@ -636,3 +636,3 @@

* **[–]** Implement a demo type `quantity` that allows inputs like `ms: 42`, `km: 3, m: 800` with
* **[–]** Implement a demo type `quantity` that allows inputs like `ms: 42`, `km: 3`, `m: 800` with
normalization

@@ -661,2 +661,3 @@

to). Note that now we have `cast()`, `prepare()`, and `create()` to aid in value construction.
* **[–]** allow enumerations (list of values)

@@ -663,0 +664,0 @@ ## Is Done

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