@percy/dom 1.30.10 → 1.30.11-beta.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/dist/bundle.js +2 -1
- package/package.json +3 -3
package/dist/bundle.js
CHANGED
|
@@ -715,6 +715,7 @@
|
|
|
715
715
|
|
|
716
716
|
// Serializes a document and returns the resulting DOM string.
|
|
717
717
|
function serializeDOM(options) {
|
|
718
|
+
var _ctx$clone$body;
|
|
718
719
|
let {
|
|
719
720
|
dom = document,
|
|
720
721
|
// allow snake_case or camelCase
|
|
@@ -755,7 +756,7 @@
|
|
|
755
756
|
let sibling = clonedBody.nextSibling;
|
|
756
757
|
clonedBody.append(sibling);
|
|
757
758
|
}
|
|
758
|
-
} else if (ctx.clone.body.nextSibling) {
|
|
759
|
+
} else if ((_ctx$clone$body = ctx.clone.body) !== null && _ctx$clone$body !== void 0 && _ctx$clone$body.nextSibling) {
|
|
759
760
|
ctx.hints.add('DOM elements found outside </body>');
|
|
760
761
|
}
|
|
761
762
|
let cookies = '';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@percy/dom",
|
|
3
|
-
"version": "1.30.
|
|
3
|
+
"version": "1.30.11-beta.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"publishConfig": {
|
|
11
11
|
"access": "public",
|
|
12
|
-
"tag": "
|
|
12
|
+
"tag": "beta"
|
|
13
13
|
},
|
|
14
14
|
"main": "dist/bundle.js",
|
|
15
15
|
"browser": "dist/bundle.js",
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"interactor.js": "^2.0.0-beta.10"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "dbf8e51006ea5ad1d235c8fe2272ec9f78daef60"
|
|
39
39
|
}
|