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

opencollective-postinstall

Package Overview
Dependencies
Maintainers
2
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.17 to 1.0.18

7

bin/setup.js

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

const fs = require('fs');
const path = require('path');
const fetchData = require('../lib/fetchData');

@@ -42,4 +43,4 @@ const print = require('../lib/print');

const projectPackageJSON = '../../package.json';
const projectREADME = '../../README.md';
const projectPackageJSON = path.normalize('../../package.json');
const projectREADME = path.normalize('../../README.md');

@@ -122,3 +123,3 @@ var package;

}
var postinstall = "./node_modules/.bin/opencollective-postinstall || exit";
var postinstall = "node node_modules/.bin/opencollective-postinstall || exit";
package.scripts = package.scripts || {};

@@ -125,0 +126,0 @@ if (package.scripts.postinstall && package.scripts.postinstall.indexOf(postinstall) === -1) {

{
"name": "opencollective-postinstall",
"version": "1.0.17",
"version": "1.0.18",
"description": "Prompt users to donate after they install your node module with npm install",

@@ -12,3 +12,3 @@ "main": "index.js",

"test": "echo \"Error: no test specified\" && exit 1",
"postinstall": "./bin/setup.js"
"postinstall": "node bin/setup.js"
},

@@ -15,0 +15,0 @@ "bin": {

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