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.110.0 to 0.110.1

13

lib/type-factory.js

@@ -104,9 +104,12 @@ (function() {

//.......................................................................................................
if ((name != null) && ((dsc_name = GUY.props.get(dsc, 'name', null)) != null) && (dsc_name !== name)) {
throw new E.Intertype_ETEMPTBD('^tf@6^', `got two conflicting values for \`name\` (${rpr(name)} and ${rpr(dsc_name)})`);
}
if (dsc.name == null) {
// debug '^456456^', { dsc_name: ( GUY.props.get dsc, 'name', null ), }
// if name? and ( dsc_name = GUY.props.get dsc, 'name', null )? and ( dsc_name isnt name )
// throw new E.Intertype_ETEMPTBD '^tf@6^', \
// "got two conflicting values for `name` (#{rpr name} and #{rpr dsc_name})"
if (name != null) {
dsc.name = name;
dsc.typename = name;
} else if ((dsc_name = GUY.props.get(dsc, 'name', null)) != null) {
dsc.typename = dsc.name;
}
dsc.typename = dsc.name;
//.......................................................................................................

@@ -113,0 +116,0 @@ this._assemble_fields(dsc);

{
"name": "intertype",
"version": "0.110.0",
"version": "0.110.1",
"description": "A JavaScript typechecker",

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

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