Socket
Socket
Sign inDemoInstall

@npmcli/ci-detect

Package Overview
Dependencies
0
Maintainers
5
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 3.0.0

1

lib/index.js

@@ -48,2 +48,3 @@ module.exports = () =>

: process.env.CODEBUILD_SRC_DIR ? 'aws-codebuild'
: process.env.CI === 'woodpecker' ? 'woodpecker'
: process.env.CI === 'true' || process.env.CI === '1' ? 'custom'

@@ -50,0 +51,0 @@ // Google Cloud Build - it sets almost nothing

35

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

@@ -10,33 +10,36 @@ "author": "GitHub Inc.",

"test": "tap",
"preversion": "npm test",
"postversion": "npm publish",
"prepublishOnly": "git push origin --follow-tags",
"lint": "eslint '**/*.js'",
"postlint": "npm-template-check",
"template-copy": "npm-template-copy --force",
"lint": "eslint \"**/*.js\"",
"postlint": "template-oss-check",
"lintfix": "npm run lint -- --fix",
"snap": "tap",
"posttest": "npm run lint"
"posttest": "npm run lint",
"template-oss-apply": "template-oss-apply --force"
},
"tap": {
"check-coverage": true
"check-coverage": true,
"nyc-arg": [
"--exclude",
"tap-snapshots/**"
]
},
"devDependencies": {
"@npmcli/template-oss": "^2.7.1",
"tap": "^15.1.6"
"@npmcli/eslint-config": "^3.0.1",
"@npmcli/template-oss": "4.4.4",
"tap": "^16.0.1"
},
"files": [
"bin",
"lib"
"bin/",
"lib/"
],
"repository": {
"type": "git",
"url": "git+https://github.com/npm/ci-detect.git"
"url": "https://github.com/npm/ci-detect.git"
},
"engines": {
"node": "^12.13.0 || ^14.15.0 || >=16"
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
},
"templateOSS": {
"version": "2.7.1"
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.4.4"
}
}

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

* `'wercker'` Oracle Wercker
* `'woodpecker'` Woodpecker CI
* `'netlify'` Netlify

@@ -35,0 +36,0 @@ * `'now-github'` Zeit.co's Now for GitHub deployment service

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