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
240
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.14 to 1.0.0-beta.15

36

dist/environment.js

@@ -228,2 +228,5 @@ "use strict";

case 'heroku':
return this.vars.HEROKU_PR_NUMBER;
case 'gitlab':

@@ -307,30 +310,5 @@ return this.vars.CI_MERGE_REQUEST_IID;

let total = (() => {
if (this.vars.PERCY_PARALLEL_TOTAL) {
return this.vars.PERCY_PARALLEL_TOTAL;
}
switch (this.ci) {
case 'travis':
return this.vars.CI_NODE_TOTAL;
case 'circle':
return this.vars.CIRCLE_NODE_TOTAL;
case 'codeship':
return this.vars.CI_NODE_TOTAL;
case 'semaphore':
return this.vars.SEMAPHORE_THREAD_COUNT;
case 'buildkite':
return this.vars.BUILDKITE_PARALLEL_JOB_COUNT;
case 'heroku':
return this.vars.CI_NODE_TOTAL;
case 'azure':
// SYSTEM_TOTALJOBSINPHASE is set for parallel builds and non-parallel matrix builds, so
// check build strategy is parallel by ensuring SYSTEM_PARALLELEXECUTIONTYPE == MultiMachine
return this.vars.SYSTEM_PARALLELEXECUTIONTYPE === 'MultiMachine' && this.vars.SYSTEM_TOTALJOBSINPHASE;
}
try {
return parseInt(this.vars.PERCY_PARALLEL_TOTAL);
} catch {}
})();

@@ -340,3 +318,3 @@

nonce: nonce || null,
total: total ? parseInt(total) : null
total: total || null
};

@@ -343,0 +321,0 @@ } // git information for the current commit

4

package.json
{
"name": "@percy/env",
"version": "1.0.0-beta.14",
"version": "1.0.0-beta.15",
"license": "MIT",

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

},
"gitHead": "be425adadd5ad0f8862e9449ec8d9380961b313d"
"gitHead": "f11694fd14cb6918988534e15d32bc83a479707a"
}
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