Socket
Socket
Sign inDemoInstall

changed-log

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

changed-log - npm Package Compare versions

Comparing version 0.7.2 to 0.7.3

2

package.json
{
"name": "changed-log",
"version": "0.7.2",
"version": "0.7.3",
"description": "Returns all commit messages between 2 versions of an NPM module",

@@ -5,0 +5,0 @@ "main": "src/changed-log.js",

@@ -11,2 +11,13 @@ require('lazy-ass');

function getRepo(info) {
if (check.object(info.repository)) {
return info.repository;
}
la(check.object(info.versions), 'missing versions', info);
var latestTag = R.last(Object.keys(info.versions));
var latest = info.versions[latestTag];
return latest.repository;
}
// resolves with the github url for the given NPM package name

@@ -29,4 +40,5 @@ function packageRepo(name) {

})
.then(R.prop('repository'))
.then(getRepo)
.then(function (repo) {
debug('just the repo', repo);
utils.verifyGithub(json, repo);

@@ -42,7 +54,10 @@ return repo;

if (!module.parent) {
var name = 'next-update';
log('getting repo info for package %s', name);
packageRepo(name)
.then(log)
.catch(log);
(function () {
// var name = 'next-update';
var name = 'grunt-contrib-jshint';
log('getting repo info for package %s', name);
packageRepo(name)
.then(log)
.catch(log);
}());
}
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