New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added basic support for module attributes and tests updated #10962
added basic support for module attributes and tests updated #10962
Commits on Jan 5, 2020
-
♻️ added basic support for module attributes and tests updated
Vivek Nayyar committedJan 5, 2020 -
attributes should be set only if moduleAttributes plugin is enabled, …
…refactored the parsing logic
Vivek Nayyar committedJan 5, 2020
Commits on Jan 25, 2020
-
Merge branch 'master' of https://github.com/babel/babel into proposal…
…-module-attributes
Vivek Nayyar committedJan 25, 2020 -
♻️ use new AST Node ImportAttribute for module attributes, tests upda…
…ted and only allow string literals for attribute values
Commits on Mar 11, 2020
Commits on Mar 12, 2020
-
improvement: fixed error messages, confition to check presence of wit…
…h rectified and tests updated
-
chore: added a mandatory version option to use along with module attr…
…ibutes plugin. tests updated
Commits on Mar 13, 2020
-
improvement: replaced object create with set and renamed test folder …
…to module-attributes
-
Update packages/babel-parser/src/plugin-utils.js
improved error message on version mismatch Co-Authored-By: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
-
Update packages/babel-parser/src/parser/statement.js
comment rectified Co-Authored-By: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
-
-
improvement: using node.key.start instead of this.node.start to point…
… at the exact duplicate module attribute name
Commits on Mar 14, 2020
-
-
chore: renamed valid-syntax-with-attributes-multiple-lines to invalid…
…-syntax-with-attributes-multiple-lines
Commits on Mar 15, 2020
-
improvement: changed the logic and tests to only support type as the …
…allowed module attribute
-
improvement: don't throw an error when attribute name is not type, ju…
…st raise it and continue parsing
-
-
improvement: removed the check for presence of tyep attribute as an e…
…arlier check will already catch this
-
Merge branch 'proposal-module-attributes' of https://github.com/vivek…
…12345/babel into proposal-module-attributes
-
Merge branch 'master' of https://github.com/babel/babel into proposal…
…-module-attributes
Commits on Mar 16, 2020
Commits on Apr 28, 2020
-
attributes should be set only if moduleAttributes plugin is enabled, …
…refactored the parsing logic
-
♻️ use new AST Node ImportAttribute for module attributes, tests upda…
…ted and only allow string literals for attribute values
-
improvement: fixed error messages, confition to check presence of wit…
…h rectified and tests updated
-
chore: added a mandatory version option to use along with module attr…
…ibutes plugin. tests updated
-
improvement: replaced object create with set and renamed test folder …
…to module-attributes
-
Update packages/babel-parser/src/plugin-utils.js
improved error message on version mismatch Co-Authored-By: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
-
Update packages/babel-parser/src/parser/statement.js
comment rectified Co-Authored-By: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
-
-
improvement: using node.key.start instead of this.node.start to point…
… at the exact duplicate module attribute name
-
-
chore: renamed valid-syntax-with-attributes-multiple-lines to invalid…
…-syntax-with-attributes-multiple-lines
-
improvement: changed the logic and tests to only support type as the …
…allowed module attribute
-
improvement: don't throw an error when attribute name is not type, ju…
…st raise it and continue parsing
-
-
improvement: removed the check for presence of tyep attribute as an e…
…arlier check will already catch this
-
-
-
-
-
Commits on Apr 30, 2020
Commits on May 20, 2020
Commits on May 21, 2020
-
Update packages/babel-parser/src/parser/expression.js
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>