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

browserify-sa

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browserify-sa - npm Package Compare versions

Comparing version 2.0.6 to 2.0.7

14

cli.js

@@ -11,3 +11,2 @@ #!/usr/bin/env node

if (m.get('help') || m.get('h')) {
console.log('help');
m.helpMessage();

@@ -17,4 +16,7 @@ process.exit()

var infoAry = new Array();
infoAry.push("Package: " + json.name);
infoAry.push("Version: " + json.version);

@@ -33,2 +35,12 @@ if (json.license) {

// The name of the build
// Else it is just the package name
if (m.get('name')) {
json.name = m.get('name')
}
if (m.get('n')) {
json.name = m.get('n')
}
var infoStr = infoAry.join('. ')

@@ -35,0 +47,0 @@

2

package.json
{
"name": "browserify-sa",
"version": "2.0.6",
"version": "2.0.7",
"description": "Run browserify-sa in a npm package and make a standalone build of the package.",

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

@@ -29,8 +29,8 @@ # browserify-sa

Only option is `--uglify` or `-u` - which will shorten and uglify the `dist` build. Uglify will
not always work with e.g. `string literals`. Therefor it is needed to
specify it:
`n` or `name` is the name of the export.
browserify-sa -u
`--uglify` or `-u` - will shorten and uglify the `dist` build. Uglify will not always work with e.g. `string literals`.
browserify-sa -u --n helloWorld
In order to use `uglify`, you will need `uglify.js` installed global.

@@ -37,0 +37,0 @@

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