Socket
Socket
Sign inDemoInstall

bower-requirejs

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bower-requirejs - npm Package Compare versions

Comparing version 0.9.0 to 0.9.1

14

lib/parse.js

@@ -17,3 +17,15 @@ 'use strict';

var canonicalDir = dep.canonicalDir;
var main = dep.pkgMeta.main;
var main;
if (dep.pkgMeta.main) {
var pkgMain = dep.pkgMeta.main;
if (! _.isArray(pkgMain)) {
pkgMain = [pkgMain];
}
main = _.filter(pkgMain, function (dep) {
var extname = path.extname(dep);
return !extname || extname === '.js';
});
}
/**

@@ -20,0 +32,0 @@ * Parse dependency

4

package.json
{
"name": "bower-requirejs",
"version": "0.9.0",
"version": "0.9.1",
"description": "Automagically wire-up installed Bower components into your RequireJS config",

@@ -74,3 +74,3 @@ "keywords": [

"engines": {
"node": ">=0.8.0"
"node": ">=0.10.0"
},

@@ -77,0 +77,0 @@ "files": [

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