Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

opencollective-postinstall

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opencollective-postinstall - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

5

bin/opencollective-postinstall.js

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

console.log(padding(6), `"scripts": {`);
console.log(padding(8), `"postinstall": "./bin/opencollective-postinstall"`);
console.log(padding(8), `"postinstall": "./node_modules/.bin/opencollective-postinstall"`);
console.log(padding(6), `}`);

@@ -64,4 +64,3 @@ console.log(padding(4), `}`);

if (SHOW_LOGO) {
const logofilepath = './src/assets/logo.txt';
const logo = fs.readFileSync('./src/assets/logo.txt','utf8');
const logofilepath = __dirname + '/../src/assets/logo.txt';
var lineReader = require('readline').createInterface({

@@ -68,0 +67,0 @@ input: require('fs').createReadStream(logofilepath)

2

package.json
{
"name": "opencollective-postinstall",
"version": "1.0.1",
"version": "1.0.2",
"description": "Add OpenCollective as a dependency to prompt users to donate after npm install",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -19,3 +19,3 @@ # opencollective-postinstall

"scripts": {
"postinstall": "./bin/opencollective-postinstall [--no-logo]" // if you pass --no-logo, we won't show the Open Collective logo
"postinstall": "./node_modules/.bin/opencollective-postinstall [--no-logo]" // if you pass --no-logo, we won't show the Open Collective logo
},

@@ -22,0 +22,0 @@ ...

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