Skip to content

Bump pegjs from 0.8.0 to 0.10.0 - #8

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/pegjs-0.10.0
Closed

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/pegjs-0.10.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Bumps pegjs from 0.8.0 to 0.10.0.

Release notes

Sourced from pegjs's releases.

0.10.0

Major Changes

  • Parsers can be generated in multiple module formats. The available formats are: CommonJS (the default), AMD, UMD, globals, and bare (not available from the command-line).

    The format can be specified using the format option of the peg.generate function or the --format option on the command-line.

    It is also possible to specify parser dependencies using the dependencies option of the peg.generate function or the --dependency/-d option on the command-line. This is mainly useful for the UMD format, where the dependencies are translated into both AMD dependencies and CommonJS require calls.

  • Browser version of PEG.js is now in the UMD format. This means it will try to detect AMD or Node.js/CommonJS module loader and define itself as a module. If no loader is found, it will export itself using a global variable.

  • API polishing. The peg.buildParser function was renamed to peg.generate. The global variable the browser version of PEG.js is available in when no loader is detected was renamed from PEG to peg.

  • CLI improvements. There is new --output/-o command-line option which allows to specify the output file. The old way of specifying the output file using a second argument was removed. To make room for the new -o option the old one (a shortcut for --optimize) was renamed to -O. All these changes make PEG.js conform to traditional compiler command-line interface.

    It is now also possible to use - as a file name on the command-line (with the usual meaning of standard input/output).

  • Improved error messages. Both messages produced by PEG.js and generated parsers were improved.

  • Duplicate rule definitions are reported as errors.

  • Duplicate labels are reported as errors.

Minor Changes

  • Exposed the AST node visitor builder as peg.compiler.visitor. This is useful mainly for plugins which manipulate the AST.
  • Exposed the function which builds messages of exceptions produced by generated parsers as SyntaxError.buildMessage. This is useful mainly for customizing these error messages.
  • The error and expected functions now accept an optional location parameter. This allows to customize the location in which the resulting syntax error is reported.
  • Refactored expectations reported in the expected property of exceptions produced by generated parsers. They are no longer de-duplicated and sorted, their format changed to be more machine-readable, and they no longer contain human-readable descriptions.
  • The found property of exceptions produced by the error function is now set to null.
  • Removed access to the parser object in parser code via the parser

... (truncated)

Changelog

Sourced from pegjs's changelog.

0.10.0

Released: August 19, 2016

Major Changes

  • Parsers can be generated in multiple module formats. The available formats are: CommonJS (the default), AMD, UMD, globals, and bare (not available from the command-line).

    The format can be specified using the format option of the peg.generate function or the --format option on the command-line.

    It is also possible to specify parser dependencies using the dependencies option of the peg.generate function or the --dependency/-d option on the command-line. This is mainly useful for the UMD format, where the dependencies are translated into both AMD dependencies and CommonJS require calls.

  • Browser version of PEG.js is now in the UMD format. This means it will try to detect AMD or Node.js/CommonJS module loader and define itself as a module. If no loader is found, it will export itself using a global variable.

  • API polishing. The peg.buildParser function was renamed to peg.generate. The global variable the browser version of PEG.js is available in when no loader is detected was renamed from PEG to peg.

  • CLI improvements. There is new --output/-o command-line option which allows to specify the output file. The old way of specifying the output file using a second argument was removed. To make room for the new -o option the old one (a shortcut for --optimize) was renamed to -O. All these changes make PEG.js conform to traditional compiler command-line interface.

    It is now also possible to use - as a file name on the command-line (with the usual meaning of standard input/output).

  • Improved error messages. Both messages produced by PEG.js and generated parsers were improved.

  • Duplicate rule definitions are reported as errors.

  • Duplicate labels are reported as errors.

Minor Changes

  • Exposed the AST node visitor builder as peg.compiler.visitor. This is useful mainly for plugins which manipulate the AST.

... (truncated)

Commits
  • 671166b Update version to 0.10.0
  • 86c040e Update CHANGELOG.md
  • 8003eda Rename the "node" module format to "commonjs"
  • 8962dcf Rename the "global" module format to "globals"
  • 0478f8a package.json: Sort files alphabetically
  • b77d33c generate-js.js: Quote the "class" key in DESCRIBE_EXPECTATION_FNS
  • 2a8544d README.md: Remove io.js from the list of compatible environments
  • 5c0f0ad Downgrade eslint to 2.13.1
  • f092714 Use jQuery.scrollTo 2.1.2
  • 0753d8d Use jQuery 1.12.4
  • Additional commits viewable in compare view

@dependabot
dependabot Bot requested a review from a team as a code owner October 19, 2026 01:24
@dependabot
dependabot Bot requested review from atm-snag2 and removed request for a team October 19, 2026 01:24
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 19, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/pegjs-0.10.0 branch from 81c1976 to 6160638 Compare October 19, 2026 01:49
Bumps [pegjs](https://github.com/pegjs/pegjs) from 0.8.0 to 0.10.0.
- [Release notes](https://github.com/pegjs/pegjs/releases)
- [Changelog](https://github.com/pegjs/pegjs/blob/v0.10.0/CHANGELOG.md)
- [Commits](pegjs/pegjs@v0.8.0...v0.10.0)

---
updated-dependencies:
- dependency-name: pegjs
  dependency-version: 0.10.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/pegjs-0.10.0 branch from 6160638 to 9bef7dd Compare October 19, 2026 02:44
@dependabot @github

dependabot Bot commented on behalf of github Oct 19, 2026

Copy link
Copy Markdown
Contributor Author

Looks like pegjs is no longer a dependency, so this is no longer needed.

@dependabot dependabot Bot closed this Oct 19, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/pegjs-0.10.0 branch October 19, 2026 07:35
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.

0 participants