@percy/core
Advanced tools
Comparing version 1.0.0-beta.28 to 1.0.0-beta.29
@@ -55,3 +55,3 @@ "use strict"; | ||
}, | ||
disableAssetCache: { | ||
disableCache: { | ||
type: 'boolean', | ||
@@ -58,0 +58,0 @@ default: false |
@@ -55,3 +55,3 @@ "use strict"; | ||
// disable resource caching, the cache is still used but overwritten for each resource | ||
disableAssetCache, | ||
disableCache, | ||
// browser launch options | ||
@@ -80,3 +80,3 @@ launchOptions | ||
networkIdleTimeout, | ||
disableAssetCache, | ||
disableCache, | ||
launchOptions | ||
@@ -222,3 +222,3 @@ }); | ||
}); | ||
} else if (!this.disableAssetCache && _classPrivateFieldGet(this, _cache).has(url)) { | ||
} else if (!this.disableCache && _classPrivateFieldGet(this, _cache).has(url)) { | ||
// respond with cached response | ||
@@ -268,3 +268,3 @@ _logger.default.debug(`Response cache hit for ${url}`, meta); | ||
if (this.disableAssetCache || !_classPrivateFieldGet(this, _cache).has(url)) { | ||
if (this.disableCache || !_classPrivateFieldGet(this, _cache).has(url)) { | ||
_logger.default.debug(`Processing resource - ${url}`, meta); | ||
@@ -271,0 +271,0 @@ |
{ | ||
"name": "@percy/core", | ||
"version": "1.0.0-beta.28", | ||
"version": "1.0.0-beta.29", | ||
"license": "MIT", | ||
@@ -28,5 +28,5 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@percy/client": "^1.0.0-beta.28", | ||
"@percy/dom": "^1.0.0-beta.28", | ||
"@percy/logger": "^1.0.0-beta.28", | ||
"@percy/client": "^1.0.0-beta.29", | ||
"@percy/dom": "^1.0.0-beta.29", | ||
"@percy/logger": "^1.0.0-beta.29", | ||
"node-fetch": "^2.6.1", | ||
@@ -40,3 +40,3 @@ "progress": "^2.0.3", | ||
}, | ||
"gitHead": "a0b9d3f8cf254b362f2591aa1b7a603240dcdf76" | ||
"gitHead": "d8ece55981a5b9ef52abda65783c2aa874ac87e6" | ||
} |
@@ -26,3 +26,3 @@ # @percy/core | ||
networkIdleTimeout: 100, // how long before network is considered idle | ||
disableAssetCache: false, // disable discovered asset caching | ||
disableCache: false, // disable discovered asset caching | ||
concurrency: 5, // asset discovery concurrency | ||
@@ -29,0 +29,0 @@ launchOptions: {} // browser launch options |
@@ -18,3 +18,3 @@ /// <reference lib="dom"/> | ||
networkIdleTimeout?: number; | ||
disableAssetCache?: boolean; | ||
disableCache?: boolean; | ||
concurrency?: number; | ||
@@ -21,0 +21,0 @@ launchOptions?: Pojo; |
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
58001
Updated@percy/client@^1.0.0-beta.29
Updated@percy/dom@^1.0.0-beta.29
Updated@percy/logger@^1.0.0-beta.29