@playwright/test 1.34.0 → 1.34.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/cli.js CHANGED
@@ -14,4 +14,4 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- module.exports = require('./lib/cli');
17
+ module.exports = require('@playwright/test/lib/cli');
package/jsx-runtime.js CHANGED
@@ -28,7 +28,10 @@ function jsxs(type, props) {
28
28
  };
29
29
  }
30
30
 
31
+ const Fragment = {};
32
+
31
33
  module.exports = {
34
+ Fragment,
32
35
  jsx,
33
36
  jsxs,
34
37
  };
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Copyright (c) Microsoft Corporation.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ import jsxRuntime from './jsx-runtime.js';
18
+
19
+ export const jsx = jsxRuntime.jsx;
20
+ export const jsxs = jsxRuntime.jsxs;
21
+ export const Fragment = jsxRuntime.Fragment;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@playwright/test",
3
- "version": "1.34.0",
3
+ "version": "1.34.1",
4
4
  "description": "A high-level API to automate web browsers",
5
5
  "repository": "github:Microsoft/playwright",
6
6
  "homepage": "https://playwright.dev",
@@ -15,7 +15,6 @@
15
15
  "require": "./index.js",
16
16
  "default": "./index.js"
17
17
  },
18
- "./cli": "./cli.js",
19
18
  "./package.json": "./package.json",
20
19
  "./lib/cli": "./lib/cli.js",
21
20
  "./lib/common/babelBundle": "./lib/common/babelBundle.js",
@@ -23,7 +22,11 @@
23
22
  "./lib/internalsForTest": "./lib/internalsForTest.js",
24
23
  "./lib/experimentalLoader": "./lib/experimentalLoader.js",
25
24
  "./lib/plugins": "./lib/plugins/index.js",
26
- "./jsx-runtime": "./jsx-runtime.js",
25
+ "./jsx-runtime": {
26
+ "import": "./jsx-runtime.mjs",
27
+ "require": "./jsx-runtime.js",
28
+ "default": "./jsx-runtime.js"
29
+ },
27
30
  "./lib/util": "./lib/util.js",
28
31
  "./lib/utilsBundle": "./lib/utilsBundle.js",
29
32
  "./reporter": "./reporter.js"
@@ -37,7 +40,7 @@
37
40
  "license": "Apache-2.0",
38
41
  "dependencies": {
39
42
  "@types/node": "*",
40
- "playwright-core": "1.34.0"
43
+ "playwright-core": "1.34.1"
41
44
  },
42
45
  "optionalDependencies": {
43
46
  "fsevents": "2.3.2"