Socket
Socket
Sign inDemoInstall

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 4.0.1 to 4.0.2

12

lib/constructs/interface.js

@@ -177,2 +177,7 @@ "use strict";

if (this.idl.inheritance) {
this.str += `
${this.idl.inheritance}._internalSetup(obj);\n`;
}
for (let i = 0; i < this.idl.members.length; ++i) {

@@ -198,8 +203,5 @@ const memberIdl = this.idl.members[i];

if (!privateData) privateData = {};
privateData.wrapper = obj;\n`;
privateData.wrapper = obj;
if (this.idl.inheritance) {
this.str += `
${this.idl.inheritance}._internalSetup(obj);\n`;
}
this._internalSetup(obj);\n`;

@@ -206,0 +208,0 @@ const implClass = require(this.opts.implDir + "/" + this.name + this.opts.implSuffix);

{
"name": "webidl2js",
"version": "4.0.1",
"version": "4.0.2",
"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