Skip to content

build(deps-dev): bump peggy from 1.2.0 to 3.0.1#137

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/peggy-3.0.1
Open

build(deps-dev): bump peggy from 1.2.0 to 3.0.1#137
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/peggy-3.0.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Mar 6, 2023

Bumps peggy from 1.2.0 to 3.0.1.

Release notes

Sourced from peggy's releases.

Minor cleanups

Minor Changes

  • #329 Allow plugin options in generate. This change loosens type checking strictness to allow for options unknown to Peggy, but used by plugins such as ts-pegjs. From @​hildjj.

Bug Fixes

  • #329 Allow type definition for ParserBuildOptions to include plugin options. From @​hildjj.
  • #346 Allow extra semicolons between rules. From @​hildjj.
  • #347 Disallow '$' as an initial character in identifiers. This is not a breaking change because no grammar could have successfully used these in the past. From @​hildjj.
  • #354 Various minor nits in the docs, including indentation and ensuring that the CNAME file is correct.
  • #357 Fix infinite recursion possibility in repetition delimeters. From @​hildjj and @​Mingun.
  • #359 Do not treat as many words as reserved. Clarify the documentation about identifiers. Ensure that it is more clear that the target language being generated determines what words are reserved. Clarify that reserved word checking is only done for labels. From @​nene.
  • #364 Fix passing an incorrect external label to the expression inside the repeated node. From @​Mingun.

Breaking changes: node 14+ and reserved words

3.0.0

Released: 2023-02-21

Major Changes

  • #280 Add inline examples to the documentation, from @​hildjj
  • #240 Generate SourceNodes for bytecode, from @​hildjj
  • #338 BREAKING CHANGE. Update dependencies, causing minimum supported version of node.js to move to 14. Generated grammar source should still work on older node versions and some older browsers, but testing is currently manual for those. from @​hildjj
  • #291: Add support for repetition operator expression|min .. max, delimiter|, from @​Mingun
  • #339: BREAKING CHANGE. Updated the list of JavaScript reserved words. This will break existing grammars that use any of the new words in their rule or label names. from @​hildjj

Important information for plug-in authors: PR #291 added 4 new opcodes to the bytecode:

  • IF_LT
  • IF_GE
  • IF_LT_DYNAMIC
  • IF_GE_DYNAMIC

and added a new AST node and a visitor method repeated. Do not forget to update your plug-ins.

Important information for grammar authors: the following words, which used to be valid identifiers for rules and labels, are now treated as JavaScript reserved words, and will cause errors at compile time if you are using them:

  • abstract
  • arguments
  • as
  • async
  • boolean
  • byte
  • char
  • double
  • eval

... (truncated)

Changelog

Sourced from peggy's changelog.

3.0.1

Released: 2022-03-05

Minor Changes

  • #329 Allow plugin options in generate. This change loosens type checking strictness to allow for options unknown to Peggy, but used by plugins such as ts-pegjs. From @​hildjj.

Bug Fixes

  • #329 Allow type definition for ParserBuildOptions to include plugin options. From @​hildjj.
  • #346 Allow extra semicolons between rules. From @​hildjj.
  • #347 Disallow '$' as an initial character in identifiers. This is not a breaking change because no grammar could have successfully used these in the past. From @​hildjj.
  • #354 Various minor nits in the docs, including indentation and ensuring that the CNAME file is correct.
  • #357 Fix infinite recursion possibility in repetition delimeters. From @​hildjj and @​Mingun.
  • #359 Do not treat as many words as reserved. Clarify the documentation about identifiers. Ensure that it is more clear that the target language being generated determines what words are reserved. Clarify that reserved word checking is only done for labels. From @​nene.
  • #364 Fix passing an incorrect external label to the expression inside the repeated node. From @​Mingun.

3.0.0

Released: 2023-02-21

Major Changes

  • #280 Add inline examples to the documentation, from @​hildjj
  • #240 Generate SourceNodes for bytecode, from @​hildjj
  • #338 BREAKING CHANGE. Update dependencies, causing minimum supported version of node.js to move to 14. Generated grammar source should still work on older node versions and some older browsers, but testing is currently manual for those. from @​hildjj
  • #291: Add support for repetition operator expression|min .. max, delimiter|, from @​Mingun
  • #339: BREAKING CHANGE. Updated the list of JavaScript reserved words. This will break existing grammars

... (truncated)

Commits
  • 408e094 Merge pull request #368 from hildjj/release-v3.0.1
  • 1581da1 Update CHANGELOG.md
  • d5dad50 Update version number & rebuild
  • 8a9f08e Update dependencies
  • 318a3d9 Merge pull request #367 from hildjj/infinite-delimiters
  • c218670 Update test/unit/compiler/passes/report-infinite-repetition.spec.js
  • 3b6f0d9 Fixes #357. Do not allow infinite recursion in repetition delimiter.
  • 2439e4a Merge pull request #366 from hildjj/multi-semi
  • deca52a Update changelog
  • 21e3ec8 Allow extra semicolons between rules.
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [peggy](https://github.com/peggyjs/peggy) from 1.2.0 to 3.0.1.
- [Release notes](https://github.com/peggyjs/peggy/releases)
- [Changelog](https://github.com/peggyjs/peggy/blob/main/CHANGELOG.md)
- [Commits](peggyjs/peggy@v1.2.0...v3.0.1)

---
updated-dependencies:
- dependency-name: peggy
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Mar 6, 2023
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage: 97.952% (-0.0%) from 97.952% when pulling 5f0d7fd on dependabot/npm_and_yarn/peggy-3.0.1 into 15fb4e2 on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant