Socket
Socket
Sign inDemoInstall

webidl2

Package Overview
Dependencies
Maintainers
2
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webidl2 - npm Package Compare versions

Comparing version 8.0.0 to 8.0.1

test/syntax/idl/linecomment.widl

2

lib/webidl2.js

@@ -118,3 +118,3 @@ "use strict";

"ws": /^([\t\n\r ]+)/,
"line-comment": /^\/\/(.*)\n?/m,
"line-comment": /^\/\/(.*)\r?\n?/,
"multiline-comment": /^\/\*((?:.|\n|\r)*?)\*\//

@@ -121,0 +121,0 @@ };

{
"name": "webidl2",
"description": "A WebIDL Parser",
"version": "8.0.0",
"version": "8.0.1",
"contributors": [

@@ -6,0 +6,0 @@ "Robin Berjon <robin@berjon.com> (https://berjon.com)",

@@ -29,3 +29,3 @@ "use strict";

const diff = jdp.diff(JSON.parse(fs.readFileSync(json, "utf8")),
wp.parse(fs.readFileSync(idl, "utf8"), opt));
wp.parse(fs.readFileSync(idl, "utf8").replace(/\r\n/g, "\n"), opt));
if (diff && debug) console.log(JSON.stringify(diff, null, 4));

@@ -32,0 +32,0 @@ expect(diff).toBe(undefined);

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