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

bower-license

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bower-license - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

8

lib/index.js

@@ -18,2 +18,5 @@ var treeify = require('treeify');

// check each bower package recursively
if (!fs.existsSync(options.directory)){
throw 'Run bower install first';
}
var packages = fs.readdirSync(options.directory);

@@ -58,4 +61,7 @@ packages.forEach(function(package){

}
exports.print = function(sorted){
exports.printTree = function(sorted){
console.log(treeify.asTree(sorted, true));
}
exports.printJson = function(sorted){
console.log(sorted);
}

9

package.json
{
"name": "bower-license",
"version": "0.2.2",
"version": "0.2.3",
"description": "Generates a list of bower dependencies for a project",

@@ -26,8 +26,9 @@ "preferGlobal": "true",

"dependencies": {
"treeify": "~1.0.1",
"bower-json": "~0.4.0",
"underscore": "~1.5.2",
"npm-license": "~0.1.9",
"package-license": "~0.1.1"
"package-license": "~0.1.1",
"raptor-args": "~1.0.1",
"treeify": "~1.0.1",
"underscore": "~1.5.2"
}
}

@@ -74,3 +74,11 @@ Bower License

Export options:
```
bower-license -e json
```
Used as a library:
```
var license = require('bower-license');

@@ -81,4 +89,6 @@ license.init('/path/to/package', function(licenseMap){

```
#Notes
Any asterisks (*) after a license value were implictly discovered/detected by their README or LICENSE file and may not be truly reliable.

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