Comparing version 8.1.0 to 9.0.0
# Change Log | ||
## [v9.0.0](https://github.com/w3c/webidl2.js/tree/v9.0.0) (2017-11-30) | ||
[Full Changelog](https://github.com/w3c/webidl2.js/compare/v8.1.0...v9.0.0) | ||
**Closed issues:** | ||
- Code quality [\#116](https://github.com/w3c/webidl2.js/issues/116) | ||
- Unable to parse HTMLAllCollection interface [\#114](https://github.com/w3c/webidl2.js/issues/114) | ||
- Add support for mixin syntax [\#112](https://github.com/w3c/webidl2.js/issues/112) | ||
- Whitespace issues [\#111](https://github.com/w3c/webidl2.js/issues/111) | ||
**Merged pull requests:** | ||
- Consistent array type for iterable.idlType [\#117](https://github.com/w3c/webidl2.js/pull/117) ([saschanaz](https://github.com/saschanaz)) | ||
- Revert "chore: drop Node 6 support \(\#102\)" [\#115](https://github.com/w3c/webidl2.js/pull/115) ([TimothyGu](https://github.com/TimothyGu)) | ||
## [v8.1.0](https://github.com/w3c/webidl2.js/tree/v8.1.0) (2017-11-03) | ||
[Full Changelog](https://github.com/w3c/webidl2.js/compare/v8.0.1...v8.1.0) | ||
**Closed issues:** | ||
- Extended Attributes `rhs` should always be there [\#96](https://github.com/w3c/webidl2.js/issues/96) | ||
**Merged pull requests:** | ||
- Always add rhs property [\#110](https://github.com/w3c/webidl2.js/pull/110) ([saschanaz](https://github.com/saschanaz)) | ||
## [v8.0.1](https://github.com/w3c/webidl2.js/tree/v8.0.1) (2017-11-03) | ||
@@ -12,3 +38,3 @@ [Full Changelog](https://github.com/w3c/webidl2.js/compare/v8.0.0...v8.0.1) | ||
- Remove m postfix from all\_ws\(\) [\#108](https://github.com/w3c/webidl2.js/pull/108) ([SaschaNaz](https://github.com/SaschaNaz)) | ||
- Remove m postfix from all\_ws\(\) [\#108](https://github.com/w3c/webidl2.js/pull/108) ([saschanaz](https://github.com/saschanaz)) | ||
@@ -25,5 +51,5 @@ ## [v8.0.0](https://github.com/w3c/webidl2.js/tree/v8.0.0) (2017-11-03) | ||
- Support mixins + includes statements [\#105](https://github.com/w3c/webidl2.js/pull/105) ([SaschaNaz](https://github.com/SaschaNaz)) | ||
- Support mixins + includes statements [\#105](https://github.com/w3c/webidl2.js/pull/105) ([saschanaz](https://github.com/saschanaz)) | ||
- chore: drop Node 6 support [\#102](https://github.com/w3c/webidl2.js/pull/102) ([marcoscaceres](https://github.com/marcoscaceres)) | ||
- BREAKING CHANGE: drop creator support [\#101](https://github.com/w3c/webidl2.js/pull/101) ([SaschaNaz](https://github.com/SaschaNaz)) | ||
- BREAKING CHANGE: drop creator support [\#101](https://github.com/w3c/webidl2.js/pull/101) ([saschanaz](https://github.com/saschanaz)) | ||
- Normalize some whitespace to pass wpt's lint [\#99](https://github.com/w3c/webidl2.js/pull/99) ([foolip](https://github.com/foolip)) | ||
@@ -59,3 +85,3 @@ | ||
- Use ES2015 syntax for tests [\#88](https://github.com/w3c/webidl2.js/pull/88) ([SaschaNaz](https://github.com/SaschaNaz)) | ||
- Use ES2015 syntax for tests [\#88](https://github.com/w3c/webidl2.js/pull/88) ([saschanaz](https://github.com/saschanaz)) | ||
@@ -79,3 +105,3 @@ ## [v6.0.0](https://github.com/w3c/webidl2.js/tree/v6.0.0) (2017-10-17) | ||
- BREAKING CHANGE: Use ES2015 syntax [\#84](https://github.com/w3c/webidl2.js/pull/84) ([SaschaNaz](https://github.com/SaschaNaz)) | ||
- BREAKING CHANGE: Use ES2015 syntax [\#84](https://github.com/w3c/webidl2.js/pull/84) ([saschanaz](https://github.com/saschanaz)) | ||
@@ -92,4 +118,4 @@ ## [v4.2.0](https://github.com/w3c/webidl2.js/tree/v4.2.0) (2017-10-16) | ||
- Check duplicated names [\#80](https://github.com/w3c/webidl2.js/pull/80) ([SaschaNaz](https://github.com/SaschaNaz)) | ||
- Remove legacycaller [\#79](https://github.com/w3c/webidl2.js/pull/79) ([SaschaNaz](https://github.com/SaschaNaz)) | ||
- Check duplicated names [\#80](https://github.com/w3c/webidl2.js/pull/80) ([saschanaz](https://github.com/saschanaz)) | ||
- Remove legacycaller [\#79](https://github.com/w3c/webidl2.js/pull/79) ([saschanaz](https://github.com/saschanaz)) | ||
- Add "sequence" property to IDL Type AST definition [\#76](https://github.com/w3c/webidl2.js/pull/76) ([lerouche](https://github.com/lerouche)) | ||
@@ -106,3 +132,3 @@ | ||
- Support TypeWithExtendedAttributes on generics [\#75](https://github.com/w3c/webidl2.js/pull/75) ([SaschaNaz](https://github.com/SaschaNaz)) | ||
- Support TypeWithExtendedAttributes on generics [\#75](https://github.com/w3c/webidl2.js/pull/75) ([saschanaz](https://github.com/saschanaz)) | ||
@@ -121,3 +147,3 @@ ## [v4.0.0](https://github.com/w3c/webidl2.js/tree/v4.0.0) (2017-06-27) | ||
- BREAKING CHANGE: remove serializers \(closes \#73\) [\#74](https://github.com/w3c/webidl2.js/pull/74) ([marcoscaceres](https://github.com/marcoscaceres)) | ||
- Add documentation for namespaces [\#70](https://github.com/w3c/webidl2.js/pull/70) ([SaschaNaz](https://github.com/SaschaNaz)) | ||
- Add documentation for namespaces [\#70](https://github.com/w3c/webidl2.js/pull/70) ([saschanaz](https://github.com/saschanaz)) | ||
@@ -133,3 +159,3 @@ ## [v3.0.2](https://github.com/w3c/webidl2.js/tree/v3.0.2) (2017-05-29) | ||
- Test for latest LTS/stable node versions [\#69](https://github.com/w3c/webidl2.js/pull/69) ([SaschaNaz](https://github.com/SaschaNaz)) | ||
- Test for latest LTS/stable node versions [\#69](https://github.com/w3c/webidl2.js/pull/69) ([saschanaz](https://github.com/saschanaz)) | ||
@@ -146,4 +172,4 @@ ## [v3.0.1](https://github.com/w3c/webidl2.js/tree/v3.0.1) (2017-05-18) | ||
- Fix whitespace error on parsing extended attributes [\#68](https://github.com/w3c/webidl2.js/pull/68) ([SaschaNaz](https://github.com/SaschaNaz)) | ||
- Remove deprecated IDL arrays and exceptions [\#67](https://github.com/w3c/webidl2.js/pull/67) ([SaschaNaz](https://github.com/SaschaNaz)) | ||
- Fix whitespace error on parsing extended attributes [\#68](https://github.com/w3c/webidl2.js/pull/68) ([saschanaz](https://github.com/saschanaz)) | ||
- Remove deprecated IDL arrays and exceptions [\#67](https://github.com/w3c/webidl2.js/pull/67) ([saschanaz](https://github.com/saschanaz)) | ||
@@ -169,3 +195,3 @@ ## [v2.4.0](https://github.com/w3c/webidl2.js/tree/v2.4.0) (2017-04-12) | ||
- Add support for annotated types [\#61](https://github.com/w3c/webidl2.js/pull/61) ([dontcallmedom](https://github.com/dontcallmedom)) | ||
- Support namespaces [\#58](https://github.com/w3c/webidl2.js/pull/58) ([SaschaNaz](https://github.com/SaschaNaz)) | ||
- Support namespaces [\#58](https://github.com/w3c/webidl2.js/pull/58) ([saschanaz](https://github.com/saschanaz)) | ||
- Add support for records [\#57](https://github.com/w3c/webidl2.js/pull/57) ([TimothyGu](https://github.com/TimothyGu)) | ||
@@ -172,0 +198,0 @@ - Refactor [\#50](https://github.com/w3c/webidl2.js/pull/50) ([marcoscaceres](https://github.com/marcoscaceres)) |
@@ -673,13 +673,10 @@ "use strict"; | ||
if (consume(OTHER, "<")) { | ||
ret.idlType = type_with_extended_attributes() || error(`Error parsing ${ittype} declaration`); | ||
ret.idlType = [type_with_extended_attributes()] || error(`Error parsing ${ittype} declaration`); | ||
all_ws(); | ||
if (secondTypeAllowed) { | ||
let type2 = null; | ||
if (consume(OTHER, ",")) { | ||
all_ws(); | ||
type2 = type_with_extended_attributes(); | ||
ret.idlType.push(type_with_extended_attributes()); | ||
all_ws(); | ||
} | ||
if (type2) | ||
ret.idlType = [ret.idlType, type2]; | ||
else if (secondTypeRequired) | ||
@@ -686,0 +683,0 @@ error(`Missing second type argument in ${ittype} declaration`); |
{ | ||
"name": "webidl2", | ||
"description": "A WebIDL Parser", | ||
"version": "8.1.0", | ||
"version": "9.0.0", | ||
"contributors": [ | ||
"Robin Berjon <robin@berjon.com> (https://berjon.com)", | ||
"Marcos Caceres <marcos@marcosc.com> (https://marcosc.com)", | ||
"Kagami Sascha Rosylight <saschaplas@outlook.com>" | ||
"Kagami Sascha Rosylight <saschaplas@outlook.com>", | ||
"Timothy Gu <timothygu99@gmail.com>" | ||
], | ||
@@ -10,0 +11,0 @@ "license": "W3C", |
@@ -9,9 +9,11 @@ [ | ||
"type": "iterable", | ||
"idlType": { | ||
"sequence": false, | ||
"generic": null, | ||
"nullable": false, | ||
"union": false, | ||
"idlType": "long" | ||
}, | ||
"idlType": [ | ||
{ | ||
"sequence": false, | ||
"generic": null, | ||
"nullable": false, | ||
"union": false, | ||
"idlType": "long" | ||
} | ||
], | ||
"extAttrs": [] | ||
@@ -59,17 +61,19 @@ } | ||
"type": "iterable", | ||
"idlType": { | ||
"sequence": false, | ||
"generic": null, | ||
"nullable": false, | ||
"union": false, | ||
"idlType": "long", | ||
"extAttrs": [ | ||
{ | ||
"name": "XAttr", | ||
"arguments": null, | ||
"type": "extended-attribute", | ||
"rhs": null | ||
} | ||
] | ||
}, | ||
"idlType": [ | ||
{ | ||
"sequence": false, | ||
"generic": null, | ||
"nullable": false, | ||
"union": false, | ||
"idlType": "long", | ||
"extAttrs": [ | ||
{ | ||
"name": "XAttr", | ||
"arguments": null, | ||
"type": "extended-attribute", | ||
"rhs": null | ||
} | ||
] | ||
} | ||
], | ||
"extAttrs": [] | ||
@@ -76,0 +80,0 @@ } |
@@ -9,9 +9,11 @@ [ | ||
"type": "legacyiterable", | ||
"idlType": { | ||
"sequence": false, | ||
"generic": null, | ||
"nullable": false, | ||
"union": false, | ||
"idlType": "long" | ||
}, | ||
"idlType": [ | ||
{ | ||
"sequence": false, | ||
"generic": null, | ||
"nullable": false, | ||
"union": false, | ||
"idlType": "long" | ||
} | ||
], | ||
"extAttrs": [] | ||
@@ -18,0 +20,0 @@ } |
@@ -9,9 +9,11 @@ [ | ||
"type": "setlike", | ||
"idlType": { | ||
"sequence": false, | ||
"generic": null, | ||
"nullable": false, | ||
"union": false, | ||
"idlType": "long" | ||
}, | ||
"idlType": [ | ||
{ | ||
"sequence": false, | ||
"generic": null, | ||
"nullable": false, | ||
"union": false, | ||
"idlType": "long" | ||
} | ||
], | ||
"readonly": false, | ||
@@ -31,9 +33,11 @@ "extAttrs": [] | ||
"type": "setlike", | ||
"idlType": { | ||
"sequence": false, | ||
"generic": null, | ||
"nullable": false, | ||
"union": false, | ||
"idlType": "long" | ||
}, | ||
"idlType": [ | ||
{ | ||
"sequence": false, | ||
"generic": null, | ||
"nullable": false, | ||
"union": false, | ||
"idlType": "long" | ||
} | ||
], | ||
"readonly": true, | ||
@@ -53,17 +57,19 @@ "extAttrs": [] | ||
"type": "setlike", | ||
"idlType": { | ||
"sequence": false, | ||
"generic": null, | ||
"nullable": false, | ||
"union": false, | ||
"idlType": "long", | ||
"extAttrs": [ | ||
{ | ||
"name": "XAttr", | ||
"arguments": null, | ||
"type": "extended-attribute", | ||
"rhs": null | ||
} | ||
] | ||
}, | ||
"idlType": [ | ||
{ | ||
"sequence": false, | ||
"generic": null, | ||
"nullable": false, | ||
"union": false, | ||
"idlType": "long", | ||
"extAttrs": [ | ||
{ | ||
"name": "XAttr", | ||
"arguments": null, | ||
"type": "extended-attribute", | ||
"rhs": null | ||
} | ||
] | ||
} | ||
], | ||
"readonly": false, | ||
@@ -70,0 +76,0 @@ "extAttrs": [] |
Sorry, the diff of this file is not supported yet
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
868157
7199