jhsu802701 / rubymn2

0 stars 1 forks source link

Bump regexp_parser from 2.0.3 to 2.1.1 #446

Open dependabot-preview[bot] opened 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps regexp_parser from 2.0.3 to 2.1.1.

Changelog

Sourced from regexp_parser's changelog.

[2.1.1] - 2021-02-23 - Janosch Müller

Fixed

  • fixed NameError when requiring only 'regexp_parser/scanner' in v2.1.0

[2.1.0] - 2021-02-22 - Janosch Müller

Added

  • common ancestor for all scanning/parsing/lexing errors
    • Regexp::Parser::Error can now be rescued as a catch-all
    • the following errors (and their many descendants) now inherit from it:
      • Regexp::Expression::Conditional::TooManyBranches
      • Regexp::Parser::ParserError
      • Regexp::Scanner::ScannerError
      • Regexp::Scanner::ValidationError
      • Regexp::Syntax::SyntaxError
    • it replaces ArgumentError in some rare cases (Regexp::Parser.parse('?'))
    • thanks to sandstrom for the cue

Fixed

  • fixed scanning of whole-pattern recursion calls \g<0> and \g'0'
    • a regression in v2.0.1 had caused them to be scanned as literals
  • fixed scanning of some backreference and subexpression call edge cases
    • e.g. \k<+1>, \g<x-1>
  • fixed tokenization of some escapes in character sets
    • ., |, {, }, (, ), ^, $, ?, +, *
    • all of these correctly emitted #type :literal and #token :literal if not escaped
    • if escaped, they emitted e.g. #type :escape and #token :group_open for [\(]
    • the escaped versions now correctly emit #type :escape and #token :literal
  • fixed handling of control/metacontrol escapes in character sets
    • e.g. [\cX], [\M-\C-X]
    • they were misread as bunch of individual literals, escapes, and ranges
  • fixed some cases where calling #dup/#clone on expressions led to shared state
Commits
  • 5466dba Release v2.1.1
  • 0666832 Require base error where it is needed
  • 010b690 Avoid calling #dir during load time
  • 31767d9 Add js_regex to gouteur testing
  • 3524918 Release v2.1.0
  • 948441a Inherit from a base error class to support catch-all
  • 4bfb565 Add gouteur testing
  • 20aa3ac Fix escape tokenization in sets
  • bce9a6a Fix a few #dup methods and Group::Options#dup,#clone
  • 4151764 Support meta/control escapes within sets
  • 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)