New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

component-set

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

component-set - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

14

bin/utils.js

@@ -15,8 +15,7 @@

return exports.latest(m[1], m[2]).then(function(tag){
if (tag == 'master') tag = '*'
return [key, tag]
return [key, tag || '*']
})
} else {
throw new Error('search not implemented')
}
throw new Error('search not implemented')
}

@@ -26,6 +25,3 @@

log.info('fetching', 'latest tag for %s/%s', user, repo)
return ghtag(user, repo).then(null, function(e){
log.info('error', 'unable to find the latest tag for %s/%s (%s)', user, repo, e.message)
return 'master'
})
return ghtag(user, repo)
}

@@ -40,3 +36,3 @@

* add an entry to the component.json file
*
*
* @param {String} key

@@ -43,0 +39,0 @@ * @param {String} url

{
"name": "component-set",
"version": "0.2.1",
"version": "0.2.2",
"description": "add dependencies to component.json",

@@ -25,4 +25,4 @@ "bin": {

"foreach": "http://github.com/jkroso/forEach/tarball/0.8.7",
"github-latest": "http://github.com/jkroso/github-latest/tarball/0.2.1"
"github-latest": "http://github.com/jkroso/github-latest/tarball/0.3.0"
}
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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