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

main-bower-files

Package Overview
Dependencies
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

main-bower-files - npm Package Compare versions

Comparing version 2.13.1 to 2.13.3

16

lib/package_collection.js

@@ -73,8 +73,14 @@ var path = require('path'),

includeDev = this.opts.includeDev || false,
includeSelf = this.opts.includeSelf || false,
bowerJson = JSON.parse(stripJsonComments(readFile(this.opts.paths.bowerJson, 'utf8'))),
devDependencies = bowerJson.devDependencies || {},
dependencies = bowerJson.dependencies || {},
main = bowerJson.main || {};
includeSelf = this.opts.includeSelf || false;
try {
var bowerJson = JSON.parse(stripJsonComments(readFile(this.opts.paths.bowerJson, 'utf8'))),
devDependencies = bowerJson.devDependencies || {},
dependencies = bowerJson.dependencies || {},
main = bowerJson.main || {};
} catch(err) {
console.error(err + ' in file ' + this.opts.paths.bowerJson);
return
};
includeDev = includeDev === true ? 'inclusive' : includeDev;

@@ -81,0 +87,0 @@

{
"name": "main-bower-files",
"version": "2.13.1",
"version": "2.13.3",
"description": "Get main files from your installed bower packages.",

@@ -32,10 +32,10 @@ "main": "index.js",

"strip-json-comments": "^1.0.2",
"vinyl-fs": "^2.4.3"
"vinyl-fs": "^3.0.3"
},
"devDependencies": {
"grunt": "^0.4.5",
"grunt-cli": "^0.1.13",
"mocha": "^2.0.1",
"grunt": "^1.0.4",
"grunt-cli": "^1.3.2",
"mocha": "^6.2.0",
"should": "^7.0.1"
}
}

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