Socket
Socket
Sign inDemoInstall

bower_resolve

Package Overview
Dependencies
4
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.2 to 0.1.3

10

lib/bowerResolve.js

@@ -73,5 +73,11 @@ var fs = require('fs'),

// check config main script
if (config.main && config.main.match(/\.js$/)) {
mainFiles.unshift(config.main);
if (!config.main) {
return next();
}
var mainList = (config.main.forEach) ? config.main : [config.main];
mainList.forEach(function (main) {
if (main && main.match(/\.js$/)) {
mainFiles.unshift(main);
}
});
next();

@@ -78,0 +84,0 @@ }, function (next) {

2

package.json
{
"name": "bower_resolve",
"description": "search bower javascript path.",
"version": "0.1.2",
"version": "0.1.3",
"main": "index.js",

@@ -6,0 +6,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc