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

webidl2js

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webidl2js - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

1

lib/constructs/interface.js

@@ -43,2 +43,3 @@ "use strict";

minConstructor.nameList = minConstructor.nameList.map((name) => (keywords.has(name) ? "_" : "") + name);
this.str += `function ${this.name}(${minConstructor.nameList.join(", ")}) {`;

@@ -45,0 +46,0 @@ if (minConstructor.nameList.length !== 0) {

@@ -35,2 +35,3 @@ "use strict";

const fnName = keywords.has(name) ? "_" : name;
minConstructor.nameList = minConstructor.nameList.map((name) => (keywords.has(name) ? "_" : "") + name);

@@ -37,0 +38,0 @@ str += `\n${this.obj.name + targetObj}.${name} = function ${fnName}(${minConstructor.nameList.join(", ")}) {`;

2

package.json
{
"name": "webidl2js",
"version": "3.0.0",
"version": "3.0.1",
"description": "Auto-generates class structures for WebIDL specifications",

@@ -5,0 +5,0 @@ "main": "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