Comparing version 8.0.0 to 8.0.1
@@ -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); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
865038
311
7169