eslint-plugin-playwright 2.0.0 → 2.1.0
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.js → index.cjs} +2 -1
- package/index.cjs +2 -0
- package/index.js +3 -0
- package/package.json +6 -5
- package/index.mjs +0 -3
|
@@ -45,7 +45,7 @@ var __privateMethod = (obj, member, method) => {
|
|
|
45
45
|
};
|
|
46
46
|
|
|
47
47
|
// src/index.ts
|
|
48
|
-
var import_globals = __toESM(require("globals"));
|
|
48
|
+
var import_globals = __toESM(require("globals"), 1);
|
|
49
49
|
|
|
50
50
|
// src/utils/parseFnCall.ts
|
|
51
51
|
var testHooks = /* @__PURE__ */ new Set(["afterAll", "afterEach", "beforeAll", "beforeEach"]);
|
|
@@ -95,6 +95,7 @@ var VALID_CHAINS = /* @__PURE__ */ new Set([
|
|
|
95
95
|
// Test
|
|
96
96
|
"test",
|
|
97
97
|
"test.fail",
|
|
98
|
+
"test.fail.only",
|
|
98
99
|
"test.fixme",
|
|
99
100
|
"test.only",
|
|
100
101
|
"test.skip",
|
package/index.cjs
ADDED
package/index.js
ADDED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-playwright",
|
|
3
3
|
"description": "ESLint plugin for Playwright testing.",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.1.0",
|
|
5
5
|
"repository": "https://github.com/playwright-community/eslint-plugin-playwright",
|
|
6
6
|
"author": "Mark Skelton <mark@mskelton.dev>",
|
|
7
7
|
"packageManager": "pnpm@8.12.0",
|
|
@@ -15,18 +15,19 @@
|
|
|
15
15
|
"engines": {
|
|
16
16
|
"node": ">=16.6.0"
|
|
17
17
|
},
|
|
18
|
-
"type": "
|
|
18
|
+
"type": "module",
|
|
19
19
|
"types": "./index.d.ts",
|
|
20
20
|
"exports": {
|
|
21
21
|
".": {
|
|
22
22
|
"types": "./index.d.ts",
|
|
23
|
-
"import": "./index.
|
|
24
|
-
"require": "./
|
|
23
|
+
"import": "./index.js",
|
|
24
|
+
"require": "./index.cjs"
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
"files": [
|
|
28
28
|
"dist",
|
|
29
|
-
"index.
|
|
29
|
+
"index.js",
|
|
30
|
+
"index.cjs",
|
|
30
31
|
"index.d.ts"
|
|
31
32
|
],
|
|
32
33
|
"scripts": {
|
package/index.mjs
DELETED