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

bower_resolve

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bower_resolve - npm Package Compare versions

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc