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

fix(deps): update dependency peggy to v4 #33

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 13, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
peggy (source) ^3.0.2 -> ^4.0.0 age adoption passing confidence

Release Notes

peggyjs/peggy (peggy)

v4.0.3

Compare Source

Released: 2024-06-19

New features
  • #​509 Add and implement ES6 export button
Bug fixes
  • #​493 Allow use of an empty
    array, null, or undefined as allowedStartRules option
  • #​505 Fix vscode-eslint settings
    to work with eslint flat config
  • #​507 Remove stray semicolon in CSS
  • #​508 Fix broken text input in
    web version
  • #​512 Add "StartRules" to peg.d.ts
  • #​513 Allow whitespace between
    plucked word and its pattern.
  • #​520 Grammar with token "constructor" fails to generate
  • #​522 Switched from puppeteer
    to playwright for web tests, and added them to CI.
Documentation

v4.0.2

Compare Source

Released: 2024-02-26

Bug fixes
  • #​490 Throw error when imports are used in unsupported formats. Supported formats are now only "es" and "commonjs".
  • #​494 Updated docs to make --allowedRules * more clear
  • #​495 from-mem inadvertantly
    made the minimum supported node version v20.8. Updated to latest from-mem.

v4.0.1

Compare Source

Released: 2024-02-23

Bug fixes

v4.0.0

Compare Source

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
  • #​438 Make test build deterministic
  • #​439 Make peg$computePosDetails a little faster
  • #​440 Create directories for
    output and source-map if they do not exist, rather than erroring.
  • #​446 Add a right-associative ExponentiationExpression rule (operator **) to javascript.pegjs example grammar.
  • #​451 Make stack.js ts clean
  • #​452 Fixes to prepare generate-bytecode.js for ts-check
  • #​453 Make generate-bytecode.js ts-clean
  • #​460 Allow -t and -T testing
    from the CLI with --format es.
Bug Fixes
  • #​405 Doc example doesn't correspond to code example. From @​hildjj
  • #​415 Make docs match reality with import.
  • #​426 Fix typo in XML example.
  • #​434 Fixed bad example in docs.
  • #​445 Fix indentation in examples/javascript.pegjs.
  • #​450 Fixed misleading documentation.
  • #​466 Add docs for developers.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants