Skip to content
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

chore(deps-dev): bump peggy from 3.0.2 to 4.0.0 #10516

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 14, 2024

Bumps peggy from 3.0.2 to 4.0.0.

Release notes

Sourced from peggy's releases.

External grammar libraries

4.0.0

Released: 2024-02-13

Major Changes

  • #379 Fix infinite recursion issue by moving reportInfiniteRecursion to the new prepare pass, and having it fail after finding the first issue. This will require plugin authors to ensure that reportInfiniteRecursion is in the new pass correctly.
  • #417 BREAKING: change to AST to allow topLevelInitializer and initializer to be arrays, in support of multi-file inputs. This will require plugin updates. The CLI and API now take multiple files as input, where the first file is your main library, and subsequent files consist of a library of other rules. The CLI can take file names of the form npm:<package-name>/<filename> to load library rules from an NPM package that is installed relative to the previous non-npm file name, or to the current working directory if this is the first file name.
  • #420 BREAKING: Node v16+ is now required for running the CLI or using Peggy as a library. Generated code still targets older runtimes.
  • #456 BREAKING: Allow imports from external compiled grammars inside a source grammar, using import {rule} from "external.js". Note that this syntax will generate either import or require in the JavaScript output, depending on the value of the format parameter. This will need explicit support from plugins, with a few new AST node types and a few visitor changes.
  • #463 Drop support for Internet Explorer. Move to eslint flat configs in order to lint minimized browser code for compatibility with defaults, maintained node versions, not op_mini all.

Minor Changes

  • #400 Use @generated in generated code
  • #404 Add support for -w/--watch to the command line interface.
  • #415 Added browser key to package.json, pointing to Webpack output.
  • #420 Updated dependencies to avoid audit warnings.
  • #425 Add a pass to simplify single-character choices
  • #427 Avoid double extraction of substrings in various MATCH_ bytecodes
  • #430 Make generate-js.js ts clean
  • #432 Add peggy.code-workspace
  • #435 Setup tsconfig to detect use of library functions from es6 or later
  • #436 Get rid of tsd

... (truncated)

Changelog

Sourced from peggy's changelog.

4.0.0

Released: 2024-02-13

Major Changes

  • #379 Fix infinite recursion issue by moving reportInfiniteRecursion to the new prepare pass, and having it fail after finding the first issue. This will require plugin authors to ensure that reportInfiniteRecursion is in the new pass correctly.
  • #417 BREAKING: change to AST to allow topLevelInitializer and initializer to be arrays, in support of multi-file inputs. This will require plugin updates. The CLI and API now take multiple files as input, where the first file is your main library, and subsequent files consist of a library of other rules. The CLI can take file names of the form npm:<package-name>/<filename> to load library rules from an NPM package that is installed relative to the previous non-npm file name, or to the current working directory if this is the first file name.
  • #420 BREAKING: Node v16+ is now required for running the CLI or using Peggy as a library. Generated code still targets older runtimes.
  • #456 BREAKING: Allow imports from external compiled grammars inside a source grammar, using import {rule} from "external.js". Note that this syntax will generate either import or require in the JavaScript output, depending on the value of the format parameter. This will need explicit support from plugins, with a few new AST node types and a few visitor changes.
  • #463 Drop support for Internet Explorer. Move to eslint flat configs in order to lint minimized browser code for compatibility with defaults, maintained node versions, not op_mini all.

Minor Changes

  • #400 Use @generated in generated code
  • #404 Add support for -w/--watch to the command line interface.
  • #415 Added browser key to package.json, pointing to Webpack output.
  • #420 Updated dependencies to avoid audit warnings.
  • #425 Add a pass to simplify single-character choices
  • #427 Avoid double extraction of substrings in various MATCH_ bytecodes
  • #430 Make generate-js.js ts clean
  • #432 Add peggy.code-workspace
  • #435 Setup tsconfig to detect use of library functions from es6 or later
  • #436 Get rid of tsd
  • #437 Better type checking for visitor

... (truncated)

Commits
  • 9449913 Merge pull request #472 from hildjj/release-4.0.0
  • 2ddf5dd Version update. Check npmignore. Audit CHANGELOG.md.
  • bf73d02 4.0.0
  • dc7efed Merge pull request #471 from hildjj/update-deps
  • 819a5af Update dependencies final time before release.
  • dab863a Merge pull request #470 from hildjj/fix-445
  • 4d5918f Fix indentation in one part of examples/javascript.pegjs. Fixes #445.
  • d02bf1c Merge pull request #469 from hildjj/fix-466
  • 534b19b Code review issues
  • be68953 Add developer docs. Fixes #466.
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps [peggy](https://github.com/peggyjs/peggy) from 3.0.2 to 4.0.0.
- [Release notes](https://github.com/peggyjs/peggy/releases)
- [Changelog](https://github.com/peggyjs/peggy/blob/main/CHANGELOG.md)
- [Commits](peggyjs/peggy@v3.0.2...v4.0.0)

---
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 requested a review from mdn-bot as a code owner February 14, 2024 11:40
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Feb 14, 2024
Copy link
Contributor

@caugner caugner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ran two local builds (en-US only) on this branch and on main and there was no difference in build output, so we don't seem to be affected by the breaking changes.

@caugner caugner merged commit bad77c6 into main Feb 26, 2024
12 checks passed
@caugner caugner deleted the dependabot/npm_and_yarn/peggy-4.0.0 branch February 26, 2024 10:46
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 javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant