Skip to content

Commit

Permalink
v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
slevithan committed Nov 16, 2024
1 parent 9079717 commit 964fa4b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ Using a high limit has a small impact on performance. Generally, this is only a

One of `'auto'` *(default)*, `'ES2025'`, `'ES2024'`, or `'ES2018'`.

JavaScript version support needed for generated regexes. `'auto'` sets the value based on your env. Later targets allow faster processing, simpler generated source, and support for additional features.
JavaScript version support needed for generated regexes. `auto` sets the value based on your environment. Later targets allow faster processing, simpler generated source, and support for additional features.

<details>
<summary>More details</summary>
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oniguruma-to-es",
"version": "0.3.0",
"version": "0.4.0",
"description": "Convert Oniguruma patterns to native JavaScript RegExp",
"author": "Steven Levithan",
"license": "MIT",
Expand Down
6 changes: 3 additions & 3 deletions src/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ function getOptions(options) {
// Specifies the recursion depth limit. Supported values are integers `2`–`100` and `null`. If
// `null`, any use of recursion results in an error.
maxRecursionDepth: 5,
// JavaScript version support needed for generated regexes. `'auto'` sets the value based on
// your env. Later targets allow faster processing, simpler generated source, and support for
// additional features.
// JavaScript version support needed for generated regexes. `auto` sets the value based on your
// environment. Later targets allow faster processing, simpler generated source, and support
// for additional features.
target: 'auto',
// Leave disabled unless the regex will be used in a TextMate grammar processor that merges
// backreferences across `begin` and `end` patterns.
Expand Down

0 comments on commit 964fa4b

Please sign in to comment.