Socket
Socket
Sign inDemoInstall

lightercollective

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lightercollective - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

10

index.js

@@ -7,3 +7,11 @@ #!/usr/bin/env node

var collective = package.collective;
if (!collective) process.exit(0);
if (
!collective ||
-1 < ['silent', 'error', 'warn'].indexOf(process.env.npm_config_loglevel) ||
/^(?:1|true|yes|y)$/i.test(process.env.DISABLE_OPENCOLLECTIVE)
) {
process.exit(0);
}
if (collective.logo) {

@@ -10,0 +18,0 @@ if (/^(https?):/.test(collective.logo))

2

package.json
{
"name": "lightercollective",
"version": "0.1.0",
"version": "0.2.0",
"description": "a basic postinstall only binary based on package.json collective info",

@@ -5,0 +5,0 @@ "bin": "./index.js",

@@ -48,1 +48,6 @@ # lightercollective

```
### Disabling this message
In some places (e.g. CI) you may want to disable this output. You can do this by setting the environment variable `DISABLE_OPENCOLLECTIVE=true`, where `true` could also be `1`, `yes`, or `y`.
This message will not be shown if npm's log level is set to silent (`--silent`), warn (`--quiet`), or error (`--loglevel error`).
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