New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@userfrosting/browserify-dependencies

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@userfrosting/browserify-dependencies - npm Package Compare versions

Comparing version 1.0.0-alpha.1 to 1.0.0-alpha.2

2

CHANGELOG.md

@@ -10,4 +10,6 @@ # Changelog

## [1.0.0-alpha.2] - 2019-01-07
## [1.0.0-alpha.1] - 2019-01-07
Inital release

16

dist/main.js

@@ -21,7 +21,13 @@ import Browserify from "browserify";

const targetPath = (() => {
// Handle incomplete main attribute
if (lstatSync(depOptions.browserifyOptions.entries).isDirectory())
return joinPathSegments(options.outputDir, depName, pkg.main || "./", "index.js");
else
return joinPathSegments(options.outputDir, depName, pkg.main);
try {
if (lstatSync(depOptions.browserifyOptions.entries).isDirectory())
// Handle folder and no main
return joinPathSegments(options.outputDir, depName, pkg.main || "./", "./index.js");
}
catch (_a) {
// Handle file without extension (assume js)
return joinPathSegments(options.outputDir, depName, pkg.main + ".js");
}
// And finally, handle exact path
return joinPathSegments(options.outputDir, depName, pkg.main);
})();

@@ -28,0 +34,0 @@ // Ensure directory tree exists

{
"name": "@userfrosting/browserify-dependencies",
"version": "1.0.0-alpha.1",
"version": "1.0.0-alpha.2",
"description": "Run browserify against all dependencies defined in package.json",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

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