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

@percy/env

Package Overview
Dependencies
Maintainers
6
Versions
241
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@percy/env - npm Package Compare versions

Comparing version 1.0.0-beta.25 to 1.0.0-beta.26

17

dist/environment.js

@@ -252,7 +252,10 @@ "use strict";

return pr || null;
} // parallel nonce & total
} // parallel total & nonce
get parallel() {
let nonce = (() => {
let total = parseInt(this.vars.PERCY_PARALLEL_TOTAL, 10);
if (!Number.isInteger(total)) total = null; // no nonce if no total
let nonce = total && (() => {
var _this$vars$BUILD_TAG;

@@ -309,11 +312,5 @@

let total = (() => {
try {
return parseInt(this.vars.PERCY_PARALLEL_TOTAL);
} catch {}
})();
return {
nonce: nonce || null,
total: total || null
total: total || null,
nonce: nonce || null
};

@@ -320,0 +317,0 @@ } // git information for the current commit

{
"name": "@percy/env",
"version": "1.0.0-beta.25",
"version": "1.0.0-beta.26",
"license": "MIT",

@@ -27,3 +27,3 @@ "main": "dist/index.js",

},
"gitHead": "a07eade3bab0087e0573eddc3dc50d875fa3a778"
"gitHead": "14549babc468eea4d91bfb80a5caaacdb9162a14"
}
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