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

shelljs-changelog

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shelljs-changelog - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

10

index.js

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

}
exec('curl "github-changelog-api.herokuapp.com/'+repoInfo[1]+'/'+repoInfo[2]+'"').to('CHANGELOG.md');
var url = 'github-changelog-api.herokuapp.com/' + repoInfo[1] + '/' + repoInfo[2];
exec('curl -X POST -s "' + url + '"');
var newLog;
do {
exec('sleep 1');
newLog = exec('curl "' + url + '"');
} while (newLog.match(/^Working, try again.*/));
// Now that the contents are valid, we can write this out to disk
newLog.to('CHANGELOG.md');

@@ -31,0 +39,0 @@ var changelog_was_updated = false;

2

package.json
{
"name": "shelljs-changelog",
"version": "0.2.4",
"version": "0.2.5",
"description": "A simple script to create & update a changelog",

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

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