is-ci
Advanced tools
Comparing version 1.2.0 to 1.2.1
{ | ||
"name": "is-ci", | ||
"version": "1.2.0", | ||
"description": "Detect if your code is running on a CI server", | ||
"version": "1.2.1", | ||
"description": "Detect if the current environment is a CI server", | ||
"bin": "bin.js", | ||
"main": "index.js", | ||
"dependencies": { | ||
"ci-info": "^1.3.0" | ||
"ci-info": "^1.5.0" | ||
}, | ||
@@ -35,5 +35,5 @@ "devDependencies": { | ||
"coordinates": [ | ||
55.777776, | ||
12.592345 | ||
55.778255, | ||
12.593033 | ||
] | ||
} |
@@ -15,3 +15,3 @@ # is-ci | ||
``` | ||
```bash | ||
npm install is-ci --save | ||
@@ -41,3 +41,3 @@ ``` | ||
``` | ||
```bash | ||
is-ci && echo "This is a CI server" | ||
@@ -48,30 +48,6 @@ ``` | ||
Officially supported CI servers: | ||
Refer to [ci-info](https://github.com/watson/ci-info#supported-ci-tools) docs for all supported CI's | ||
- [AWS CodeBuild](https://aws.amazon.com/codebuild/) | ||
- [AppVeyor](http://www.appveyor.com) | ||
- [Bamboo](https://www.atlassian.com/software/bamboo) by Atlassian | ||
- [Bitbucket Pipelines](https://bitbucket.org/product/features/pipelines) | ||
- [Buildkite](https://buildkite.com) | ||
- [CircleCI](http://circleci.com) | ||
- [Codeship](https://codeship.com) | ||
- [Drone](https://drone.io) | ||
- [GitLab CI](https://about.gitlab.com/gitlab-ci/) | ||
- [GoCD](https://www.go.cd/) | ||
- [Hudson](http://hudson-ci.org) | ||
- [Jenkins CI](https://jenkins-ci.org) | ||
- [Magnum CI](https://magnum-ci.com) | ||
- [Semaphore](https://semaphoreci.com) | ||
- [Solano CI](https://www.solanolabs.com/) | ||
- [Strider CD](https://strider-cd.github.io/) | ||
- [TaskCluster](http://docs.taskcluster.net) | ||
- [Team Foundation Server](https://www.visualstudio.com/en-us/products/tfs-overview-vs.aspx) by Microsoft | ||
- [TeamCity](https://www.jetbrains.com/teamcity/) by JetBrains | ||
- [Travis CI](http://travis-ci.org) | ||
Other CI tools using environment variables like `BUILD_ID` or `CI` would | ||
be detected as well. | ||
## License | ||
[MIT](LICENSE) |
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 4 instances in 1 package
0
3313
5
5
51
1
Updatedci-info@^1.5.0