playwright 1.65.0 → 1.65.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/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 🎭 Playwright
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/playwright) <!-- GEN:chromium-version-badge -->[](https://www.npmjs.com/package/playwright) <!-- GEN:chromium-version-badge -->[](https://www.chromium.org/Home)<!-- GEN:stop --> <!-- GEN:firefox-version-badge -->[](https://www.mozilla.org/en-US/firefox/new/)<!-- GEN:stop --> <!-- GEN:webkit-version-badge -->[](https://webkit.org/)<!-- GEN:stop --> [](https://aka.ms/playwright/discord)
|
|
4
4
|
|
|
5
5
|
## [Documentation](https://playwright.dev) | [API reference](https://playwright.dev/docs/api/class-playwright)
|
|
6
6
|
|
|
@@ -296,7 +296,7 @@ The [Playwright VS Code extension](https://marketplace.visualstudio.com/items?it
|
|
|
296
296
|
|
|
297
297
|
| | Linux | macOS | Windows |
|
|
298
298
|
| :--- | :---: | :---: | :---: |
|
|
299
|
-
| Chromium<sup>1</sup> <!-- GEN:chromium-version -->
|
|
299
|
+
| Chromium<sup>1</sup> <!-- GEN:chromium-version -->159.0.8154.6<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|
|
300
300
|
| WebKit <!-- GEN:webkit-version -->27.2<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|
|
301
301
|
| Firefox <!-- GEN:firefox-version -->159.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
|
|
302
302
|
|
package/lib/common/index.js
CHANGED
|
@@ -1215,7 +1215,7 @@ function wrapFunctionWithLocation(func) {
|
|
|
1215
1215
|
return (...args) => {
|
|
1216
1216
|
const oldPrepareStackTrace = Error.prepareStackTrace;
|
|
1217
1217
|
const oldStackTraceLimit = Error.stackTraceLimit;
|
|
1218
|
-
Error.prepareStackTrace =
|
|
1218
|
+
Error.prepareStackTrace = bunHasZeroBasedColumns ? bunCallerLocation : nodeCallerLocation;
|
|
1219
1219
|
Error.stackTraceLimit = 2;
|
|
1220
1220
|
const obj = {};
|
|
1221
1221
|
let location;
|
|
@@ -1239,6 +1239,7 @@ function nodeCallerLocation(error, stackFrames) {
|
|
|
1239
1239
|
column: frame.getColumnNumber()
|
|
1240
1240
|
};
|
|
1241
1241
|
}
|
|
1242
|
+
var bunHasZeroBasedColumns = "Bun" in globalThis && Bun.semver.order(Bun.version, "1.4.4") < 0;
|
|
1242
1243
|
function bunCallerLocation(error, stackFrames) {
|
|
1243
1244
|
const frame = stackFrames[1];
|
|
1244
1245
|
const position = sourceMapSupport2.mapSourcePosition({ source: frame.getFileName(), line: frame.getLineNumber(), column: frame.getColumnNumber() });
|
package/lib/common/index.js.txt
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# packages/playwright/lib/common/index.js
|
|
2
|
-
# total: 117.
|
|
2
|
+
# total: 117.7 KB
|
|
3
3
|
|
|
4
4
|
## Inlined (20)
|
|
5
5
|
12.5 KB packages/playwright/src/common/config.ts
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
1.8 KB packages/playwright/src/transform/esmLoaderSync.ts
|
|
20
20
|
1.1 KB packages/playwright/src/transform/pirates.ts
|
|
21
21
|
1.1 KB packages/playwright/src/transform/portTransport.ts
|
|
22
|
-
13.
|
|
22
|
+
13.8 KB packages/playwright/src/transform/transform.ts
|
|
23
23
|
4.2 KB packages/playwright/src/transform/tsconfig-loader.ts
|
|
24
24
|
7.0 KB packages/playwright/src/util.ts
|
|
25
25
|
|
|
@@ -72385,14 +72385,18 @@ function babelTransformOptions(isTypeScript2, isModule, pluginsEpilogue, useDefi
|
|
|
72385
72385
|
() => ({
|
|
72386
72386
|
name: "strip-type-only-class-fields",
|
|
72387
72387
|
visitor: {
|
|
72388
|
-
|
|
72389
|
-
|
|
72390
|
-
|
|
72391
|
-
|
|
72392
|
-
|
|
72393
|
-
|
|
72394
|
-
|
|
72395
|
-
|
|
72388
|
+
Program(path) {
|
|
72389
|
+
path.traverse({
|
|
72390
|
+
Class(path2) {
|
|
72391
|
+
for (const member of path2.get("body.body")) {
|
|
72392
|
+
if (!member.isClassProperty())
|
|
72393
|
+
continue;
|
|
72394
|
+
const { declare: declare2, value: value2, decorators } = member.node;
|
|
72395
|
+
if (declare2 || !useDefineForClassFields && !value2 && !decorators?.length)
|
|
72396
|
+
member.remove();
|
|
72397
|
+
}
|
|
72398
|
+
}
|
|
72399
|
+
});
|
|
72396
72400
|
}
|
|
72397
72401
|
}
|
|
72398
72402
|
})
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# packages/playwright/lib/transform/babelBundle.js
|
|
2
|
-
# total: 2760.
|
|
2
|
+
# total: 2760.3 KB
|
|
3
3
|
|
|
4
4
|
## Inlined (322)
|
|
5
5
|
7.9 KB node_modules/@babel/code-frame/lib/index.js
|
|
@@ -323,6 +323,6 @@
|
|
|
323
323
|
3.1 KB node_modules/supports-color/index.js
|
|
324
324
|
0.3 KB node_modules/yallist/iterator.js
|
|
325
325
|
9.7 KB node_modules/yallist/yallist.js
|
|
326
|
-
5.
|
|
326
|
+
5.3 KB packages/playwright/src/transform/babelBundle.ts
|
|
327
327
|
|
|
328
328
|
## External (0)
|
|
@@ -8101,7 +8101,7 @@ function wrapFunctionWithLocation(func) {
|
|
|
8101
8101
|
return (...args) => {
|
|
8102
8102
|
const oldPrepareStackTrace = Error.prepareStackTrace;
|
|
8103
8103
|
const oldStackTraceLimit = Error.stackTraceLimit;
|
|
8104
|
-
Error.prepareStackTrace =
|
|
8104
|
+
Error.prepareStackTrace = bunHasZeroBasedColumns ? bunCallerLocation : nodeCallerLocation;
|
|
8105
8105
|
Error.stackTraceLimit = 2;
|
|
8106
8106
|
const obj = {};
|
|
8107
8107
|
let location;
|
|
@@ -8125,6 +8125,7 @@ function nodeCallerLocation(error, stackFrames) {
|
|
|
8125
8125
|
column: frame.getColumnNumber()
|
|
8126
8126
|
};
|
|
8127
8127
|
}
|
|
8128
|
+
var bunHasZeroBasedColumns = "Bun" in globalThis && Bun.semver.order(Bun.version, "1.4.4") < 0;
|
|
8128
8129
|
function bunCallerLocation(error, stackFrames) {
|
|
8129
8130
|
const frame = stackFrames[1];
|
|
8130
8131
|
const position = import_source_map_support2.default.mapSourcePosition({ source: frame.getFileName(), line: frame.getLineNumber(), column: frame.getColumnNumber() });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# packages/playwright/lib/transform/esmLoader.js
|
|
2
|
-
# total: 289.
|
|
2
|
+
# total: 289.9 KB
|
|
3
3
|
|
|
4
4
|
## Inlined (52)
|
|
5
5
|
1.3 KB node_modules/balanced-match/dist/esm/index.js
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
1.8 KB packages/playwright/src/transform/esmLoaderSync.ts
|
|
48
48
|
1.1 KB packages/playwright/src/transform/pirates.ts
|
|
49
49
|
1.1 KB packages/playwright/src/transform/portTransport.ts
|
|
50
|
-
13.
|
|
50
|
+
13.2 KB packages/playwright/src/transform/transform.ts
|
|
51
51
|
4.2 KB packages/playwright/src/transform/tsconfig-loader.ts
|
|
52
52
|
4.7 KB packages/playwright/src/util.ts
|
|
53
53
|
0.2 KB packages/utils/crypto.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "playwright",
|
|
3
|
-
"version": "1.65.
|
|
3
|
+
"version": "1.65.1",
|
|
4
4
|
"description": "A high-level API to automate web browsers",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
},
|
|
46
46
|
"license": "Apache-2.0",
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"playwright-core": "1.65.
|
|
48
|
+
"playwright-core": "1.65.1"
|
|
49
49
|
}
|
|
50
50
|
}
|