New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

if-ci

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

if-ci - npm Package Compare versions

Comparing version 1.1.0 to 2.0.0

7

bin/if-ci.js

@@ -6,2 +6,7 @@ #!/usr/bin/env node

ifCI(true)
const argv = process.argv.slice(2)
const command = argv[0]
const args = argv.slice(1)
ifCI(true, command, args)
.then(result => process.exit(result.code))

@@ -6,2 +6,7 @@ #!/usr/bin/env node

ifCI(false)
const argv = process.argv.slice(2)
const command = argv[0]
const args = argv.slice(1)
ifCI(false, command, args)
.then(result => process.exit(result.code))

2

package.json
{
"name": "if-ci",
"version": "1.1.0",
"version": "2.0.0",
"description": "Easily run npm scripts only when in (or not in) a CI environment.",

@@ -5,0 +5,0 @@ "author": {

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