@vitest/eslint-plugin 1.1.19 → 1.1.20
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/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -23,7 +23,7 @@ function _interopNamespaceCompat(e) {
|
|
|
23
23
|
const path__namespace = /*#__PURE__*/_interopNamespaceCompat(path);
|
|
24
24
|
const ts__default = /*#__PURE__*/_interopDefaultCompat(ts);
|
|
25
25
|
|
|
26
|
-
const version = "1.1.
|
|
26
|
+
const version = "1.1.19";
|
|
27
27
|
|
|
28
28
|
function createEslintRule(rule) {
|
|
29
29
|
const createRule = utils.ESLintUtils.RuleCreator(
|
|
@@ -762,7 +762,7 @@ function matchesAssertFunctionName(nodeName, patterns) {
|
|
|
762
762
|
(p) => new RegExp(
|
|
763
763
|
`^${p.split(".").map((x) => {
|
|
764
764
|
if (x === "**")
|
|
765
|
-
return "[
|
|
765
|
+
return "[_a-z\\d\\.]*";
|
|
766
766
|
return x.replace(/\*/gu, "[a-z\\d]*");
|
|
767
767
|
}).join("\\.")}(\\.|$)`,
|
|
768
768
|
"ui"
|
package/dist/index.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { isAbsolute, posix } from 'node:path';
|
|
|
4
4
|
import ts from 'typescript';
|
|
5
5
|
import { createRequire } from 'node:module';
|
|
6
6
|
|
|
7
|
-
const version = "1.1.
|
|
7
|
+
const version = "1.1.19";
|
|
8
8
|
|
|
9
9
|
function createEslintRule(rule) {
|
|
10
10
|
const createRule = ESLintUtils.RuleCreator(
|
|
@@ -743,7 +743,7 @@ function matchesAssertFunctionName(nodeName, patterns) {
|
|
|
743
743
|
(p) => new RegExp(
|
|
744
744
|
`^${p.split(".").map((x) => {
|
|
745
745
|
if (x === "**")
|
|
746
|
-
return "[
|
|
746
|
+
return "[_a-z\\d\\.]*";
|
|
747
747
|
return x.replace(/\*/gu, "[a-z\\d]*");
|
|
748
748
|
}).join("\\.")}(\\.|$)`,
|
|
749
749
|
"ui"
|