Socket
Socket
Sign inDemoInstall

@npmcli/ci-detect

Package Overview
Dependencies
0
Maintainers
7
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.0 to 1.4.0

6

index.js

@@ -27,3 +27,8 @@ module.exports = () =>

: process.env.BITBUCKET_DEPLOYMENT ? 'now-bitbucket'
: process.env.BITBUCKET_BUILD_NUMBER ? 'bitbucket-pipelines'
: process.env.NOW_BUILDER ? 'now'
: process.env.VERCEL_GITHUB_DEPLOYMENT ? 'vercel-github'
: process.env.VERCEL_GITLAB_DEPLOYMENT ? 'vercel-gitlab'
: process.env.VERCEL_BITBUCKET_DEPLOYMENT ? 'vercel-bitbucket'
: process.env.VERCEL_URL ? 'vercel'
: process.env.MAGNUM ? 'magnum'

@@ -34,2 +39,3 @@ : process.env.NEVERCODE ? 'nevercode'

: process.env.SHIPPABLE ? 'shippable'
: process.env.TEAMCITY_VERSION ? 'teamcity'
// codeship and a few others

@@ -36,0 +42,0 @@ : process.env.CI_NAME ? process.env.CI_NAME

2

package.json
{
"name": "@npmcli/ci-detect",
"version": "1.3.0",
"version": "1.4.0",
"description": "Detect what kind of CI environment the program is in",

@@ -5,0 +5,0 @@ "author": "Isaac Z. Schlueter <i@izs.me> (https://izs.me)",

@@ -39,2 +39,3 @@ # @npmcli/ci-detect

* `'azure-pipelines'` Azure Pipelines
* `'bitbucket-pipelines'` Bitbucket Pipelines
* `'bitrise'` Bitrise

@@ -55,2 +56,7 @@ * `'buddy'` Buddy

* `'codeship'` CodeShip
* `'teamcity'` TeamCity
* `'vercel'` Vercel
* `'vercel-github'` Vercel GitHub
* `'vercel-gitlab'` Vercel Gitlab
* `'vercel-bitbucket'` Vercel Bitbucket
* Anything that sets the `CI_NAME` environment variable will return the

@@ -57,0 +63,0 @@ value as the result. (This is how CodeShip is detected.)

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc