Comparing version 5.0.0 to 6.0.0
@@ -888,3 +888,4 @@ "use strict"; | ||
const val = consume(STR) || error("Unexpected value in enum"); | ||
ret.values.push(val.value.replace(/"/g, "")); | ||
val.value = val.value.replace(/"/g, ""); | ||
ret.values.push( val ); | ||
all_ws(store ? vals : null); | ||
@@ -891,0 +892,0 @@ if (consume(OTHER, ",")) { |
{ | ||
"name": "webidl2", | ||
"description": "A WebIDL Parser", | ||
"version": "5.0.0", | ||
"version": "6.0.0", | ||
"contributors": [ | ||
@@ -6,0 +6,0 @@ "Robin Berjon <robin@berjon.com> (https://berjon.com)", |
@@ -282,5 +282,5 @@ | ||
"values": [ | ||
"rice", | ||
"noodles", | ||
"other" | ||
{ "type": "string", "value": "rice" }, | ||
{ "type": "string", "value": "noodles" }, | ||
{ "type": "string", "value": "other" } | ||
], | ||
@@ -295,3 +295,3 @@ "extAttrs": [] | ||
* `name`: The enum's name. | ||
* `value`: An array of values (strings). | ||
* `value`: An array of values. | ||
* `extAttrs`: A list of [extended attributes](#extended-attributes). | ||
@@ -332,3 +332,3 @@ | ||
* `extAttrs`: A list of [extended attributes](#extended-attributes). | ||
* `typeExtAttrs`: A list of [extended attributes](#extended-attributes) that apply to the | ||
* `typeExtAttrs`: A list of [extended attributes](#extended-attributes) that apply to the | ||
type rather than to the typedef as a whole. | ||
@@ -335,0 +335,0 @@ |
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
261123
1187