Skip to content

Commit d8cfb9e

Browse files
committed
0.13.0
1 parent 5525b91 commit d8cfb9e

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

docs/rules/no-super-linear-backtracking.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ pageClass: "rule-details"
33
sidebarDepth: 0
44
title: "regexp/no-super-linear-backtracking"
55
description: "disallow exponential and polynomial backtracking"
6+
since: "v0.13.0"
67
---
78
# regexp/no-super-linear-backtracking
89

910
> disallow exponential and polynomial backtracking
1011
11-
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
1212
- :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule.
1313

1414
## :book: Rule Details
@@ -86,6 +86,10 @@ This options control whether ambiguity that might cause super-linear backtrackin
8686
[1]: https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS
8787
[scslre]: https://github.com/RunDevelopment/scslre
8888

89+
## :rocket: Version
90+
91+
This rule was introduced in eslint-plugin-regexp v0.13.0
92+
8993
## :mag: Implementation
9094

9195
- [Rule source](https://github.com/ota-meshi/eslint-plugin-regexp/blob/master/lib/rules/no-super-linear-backtracking.ts)

docs/rules/no-super-linear-move.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@ pageClass: "rule-details"
33
sidebarDepth: 0
44
title: "regexp/no-super-linear-move"
55
description: "disallow quantifiers that cause quadratic moves"
6+
since: "v0.13.0"
67
---
78
# regexp/no-super-linear-move
89

910
> disallow quantifiers that cause quadratic moves
1011
11-
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
12-
1312
## :book: Rule Details
1413

1514
This rule reports super-linear worst-case runtime caused by a regex being moved across the input string. The reported cases are a problem because the super-linear worst-case runtime can be exploited by attackers in what is called [Regular expression Denial of Service - ReDoS][1].
@@ -208,6 +207,10 @@ Even if a fragment had exploitable quantifiers, it might not cause super-linear
208207
[1]: https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS
209208
[scslre]: https://github.com/RunDevelopment/scslre
210209

210+
## :rocket: Version
211+
212+
This rule was introduced in eslint-plugin-regexp v0.13.0
213+
211214
## :mag: Implementation
212215

213216
- [Rule source](https://github.com/ota-meshi/eslint-plugin-regexp/blob/master/lib/rules/no-super-linear-move.ts)

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-regexp",
3-
"version": "0.12.0",
3+
"version": "0.13.0",
44
"description": "ESLint plugin for finding RegExp mistakes and RegExp style guide violations.",
55
"main": "dist/index.js",
66
"files": [

0 commit comments

Comments
 (0)