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.0 to 4.0.1

15

lib/constructs/interface.js

@@ -175,5 +175,3 @@ "use strict";

},
setup(obj, constructorArgs, privateData) {
if (!privateData) privateData = {};
privateData.wrapper = obj;\n`;
_internalSetup(obj) {`;

@@ -196,2 +194,13 @@ for (let i = 0; i < this.idl.members.length; ++i) {

this.str += `
},
setup(obj, constructorArgs, privateData) {
if (!privateData) privateData = {};
privateData.wrapper = obj;\n`;
if (this.idl.inheritance) {
this.str += `
${this.idl.inheritance}._internalSetup(obj);\n`;
}
const implClass = require(this.opts.implDir + "/" + this.name + this.opts.implSuffix);

@@ -198,0 +207,0 @@ this.str += `

2

package.json
{
"name": "webidl2js",
"version": "4.0.0",
"version": "4.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