Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@percy/core

Package Overview
Dependencies
Maintainers
6
Versions
240
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@percy/core - npm Package Compare versions

Comparing version 1.0.0-beta.28 to 1.0.0-beta.29

2

dist/config.js

@@ -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;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc