eslint 5.15.0 → 5.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ v5.15.1 - March 4, 2019
2
+
3
+ * [`fe1a892`](https://github.com/eslint/eslint/commit/fe1a892f85b09c3d2fea05bef011530a678a6af5) Build: bundle espree (fixes eslint/eslint.github.io#546) (#11467) (薛定谔的猫)
4
+ * [`458053b`](https://github.com/eslint/eslint/commit/458053b0b541f857bf233dacbde5ba80681820f8) Fix: avoid creating invalid regex in no-warning-comments (fixes #11471) (#11472) (Teddy Katz)
5
+
1
6
  v5.15.0 - March 1, 2019
2
7
 
3
8
  * [`4088c6c`](https://github.com/eslint/eslint/commit/4088c6c9d4578cd581ce8ff4385d90b58a75b755) Build: Remove path.resolve in webpack build (#11462) (Kevin Partington)
@@ -95,7 +95,7 @@ module.exports = {
95
95
  * ^\s*TERM\b. This checks the word boundary
96
96
  * at the beginning of the comment.
97
97
  */
98
- return new RegExp(prefix + escaped + suffix, "iu");
98
+ return new RegExp(prefix + escaped + suffix, "i"); // eslint-disable-line require-unicode-regexp
99
99
  }
100
100
 
101
101
  /*
@@ -103,7 +103,7 @@ module.exports = {
103
103
  * \bTERM\b|\bTERM\b, this checks the entire comment
104
104
  * for the term.
105
105
  */
106
- return new RegExp(prefix + escaped + suffix + eitherOrWordBoundary + term + wordBoundary, "iu");
106
+ return new RegExp(prefix + escaped + suffix + eitherOrWordBoundary + term + wordBoundary, "i"); // eslint-disable-line require-unicode-regexp
107
107
  }
108
108
 
109
109
  const warningRegExps = warningTerms.map(convertToRegExp);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint",
3
- "version": "5.15.0",
3
+ "version": "5.15.1",
4
4
  "author": "Nicholas C. Zakas <nicholas+npm@nczconsulting.com>",
5
5
  "description": "An AST-based pattern checker for JavaScript.",
6
6
  "bin": {