@applitools/dom-capture
Advanced tools
Comparing version 7.1.4 to 7.1.5
## 7.1.4 | ||
- add support of iframes with srcdoc attr. [Trello](https://trello.com/c/LgVKNT5Y/196-iframe-srcdoc-attribute-not-supported-in-dom-snapshot-and-dom-capture) | ||
- add time limit to fetch. [Trello](https://trello.com/c/wL1UaMT8/231-dom-capture-fetches-are-not-time-limited) | ||
# Changelog | ||
@@ -11,1 +7,9 @@ | ||
## 7.1.5 - 2020/4/19 | ||
- added font-weight style property ** Dom Capture version 1.2.0 ** | ||
## 7.1.4 | ||
- add support of iframes with srcdoc attr. [Trello](https://trello.com/c/LgVKNT5Y/196-iframe-srcdoc-attribute-not-supported-in-dom-snapshot-and-dom-capture) | ||
- add time limit to fetch. [Trello](https://trello.com/c/wL1UaMT8/231-dom-capture-fetches-are-not-time-limited) |
@@ -1,2 +0,2 @@ | ||
/* @applitools/dom-capture@7.1.3 */ | ||
/* @applitools/dom-capture@7.1.4 */ | ||
@@ -20,2 +20,3 @@ function __captureDom() { | ||
'font-size', | ||
'font-weight', | ||
'line-height', | ||
@@ -391,3 +392,3 @@ 'margin', | ||
const API_VERSION = '1.1.0'; | ||
const API_VERSION = '1.2.0'; | ||
@@ -445,3 +446,3 @@ async function captureFrame( | ||
capturedFrame.version = API_VERSION; | ||
capturedFrame.scriptVersion = '7.1.3'; | ||
capturedFrame.scriptVersion = '7.1.4'; | ||
@@ -448,0 +449,0 @@ const iframePrefix = iframeCors.length ? `${iframeCors.join('\n')}\n` : ''; |
@@ -1,2 +0,2 @@ | ||
/* @applitools/dom-capture@7.1.3 */ | ||
/* @applitools/dom-capture@7.1.4 */ | ||
@@ -20,2 +20,3 @@ function __captureDomAndPoll() { | ||
'font-size', | ||
'font-weight', | ||
'line-height', | ||
@@ -391,3 +392,3 @@ 'margin', | ||
const API_VERSION = '1.1.0'; | ||
const API_VERSION = '1.2.0'; | ||
@@ -445,3 +446,3 @@ async function captureFrame( | ||
capturedFrame.version = API_VERSION; | ||
capturedFrame.scriptVersion = '7.1.3'; | ||
capturedFrame.scriptVersion = '7.1.4'; | ||
@@ -448,0 +449,0 @@ const iframePrefix = iframeCors.length ? `${iframeCors.join('\n')}\n` : ''; |
@@ -1,2 +0,2 @@ | ||
/* @applitools/dom-capture@7.1.3 */ | ||
/* @applitools/dom-capture@7.1.4 */ | ||
'use strict'; | ||
@@ -17,2 +17,3 @@ | ||
'font-size', | ||
'font-weight', | ||
'line-height', | ||
@@ -388,3 +389,3 @@ 'margin', | ||
const API_VERSION = '1.1.0'; | ||
const API_VERSION = '1.2.0'; | ||
@@ -442,3 +443,3 @@ async function captureFrame( | ||
capturedFrame.version = API_VERSION; | ||
capturedFrame.scriptVersion = '7.1.3'; | ||
capturedFrame.scriptVersion = '7.1.4'; | ||
@@ -445,0 +446,0 @@ const iframePrefix = iframeCors.length ? `${iframeCors.join('\n')}\n` : ''; |
{ | ||
"name": "@applitools/dom-capture", | ||
"version": "7.1.4", | ||
"version": "7.1.5", | ||
"main": "index.js", | ||
"license": "SEE LICENSE IN LICENSE", | ||
"scripts": { | ||
"vv": "bongo --verify-versions", | ||
"vc": "bongo --verify-changelog", | ||
"uc": "bongo --update-changelog", | ||
"test:mocha": "mocha --no-timeouts tests/**/*.test.js", | ||
@@ -18,5 +15,5 @@ "lint:node": "eslint '**/*.js' --ignore-pattern 'src/browser'", | ||
"surge": "surge tests/fixtures applitools-dom-capture-origin-1.surge.sh && surge tests/fixtures applitools-dom-capture-origin-2.surge.sh", | ||
"postpublish": "git push; git push --tags", | ||
"preversion": "yarn vv && yarn vc", | ||
"version": "yarn uc && git add CHANGELOG.md" | ||
"preversion": "bongo preversion", | ||
"version": "bongo version", | ||
"postversion": "bongo postversion --skip-release-notification" | ||
}, | ||
@@ -23,0 +20,0 @@ "engines": { |
@@ -16,3 +16,3 @@ 'use strict'; | ||
const API_VERSION = '1.1.0'; | ||
const API_VERSION = '1.2.0'; | ||
@@ -19,0 +19,0 @@ async function captureFrame( |
@@ -14,2 +14,3 @@ const styleProps = [ | ||
'font-size', | ||
'font-weight', | ||
'line-height', | ||
@@ -16,0 +17,0 @@ 'margin', |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1072903
23404