Socket
Socket
Sign inDemoInstall

requisite

Package Overview
Dependencies
317
Maintainers
1
Versions
201
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.18.2 to 1.18.3

1

lib/bundle.js

@@ -64,2 +64,3 @@ // Generated by CoffeeScript 1.10.0

moduleCache: opts.moduleCache,
naked: opts.naked,
paths: (ref4 = opts.paths) != null ? ref4 : [],

@@ -66,0 +67,0 @@ required: opts.required,

@@ -22,3 +22,3 @@ // Generated by CoffeeScript 1.10.0

help = function() {
console.log("\nUsage: requisite [options] [files]\n\nOptions:\n\n -h, --help display this help\n -v, --version display version\n -a, --async bundle is expected to be required asynchronously\n -b, --bare compile without a top-level function wrapper\n -d, --dedupe deduplicate modules (when multiple are specified)\n -i, --include <module:path> force inclusion of module found at path\n -g, --global make prelude require global\n --export automatically export entry module as global\n --no-require do not automatically require entry module\n -m, --minify minify output\n --minifier minifier to use\n -o, --output <file> write bundle to file instead of stdout, {} may be used as a placeholder\n -p, --prelude <file> file to use as prelude\n --prelude-async include async prelude\n --prelude-only only output prelude\n --no-prelude exclude prelude from bundle\n -r, --resolve <module:path> do not automatically resolve module, use provided path\n --require-as <path> resolve bundle using providing path\n -s, --skip <path> skip modules matching path\n --source-map enable source maps\n --strict add \"use strict\" to each bundled module\n --strip-debug strip `alert`, `console`, `debugger` statements\n -w, --watch write bundle to file and and recompile on file changes\n -x, --exclude <glob|regex> exclude modules matching glob or regex from being automatically parsed\n --base path all requires should be relative to\n\nExamples:\n\n # bundle javascript file and all it's dependencies\n $ requisite module.js -o bundle.js\n\n # bundle several modules, appending .bundle.js to output\n $ requisite *.js -o {}.bundle.js");
console.log("\nUsage: requisite [options] [files]\n\nOptions:\n\n -h, --help display this help\n -v, --version display version\n -a, --async bundle is expected to be required asynchronously\n -b, --bare compile without a top-level function wrapper\n -n, --naked compile without a module-level function wrapper\n -d, --dedupe deduplicate modules (when multiple are specified)\n -i, --include <module:path> force inclusion of module found at path\n -g, --global make prelude require global\n --export automatically export entry module as global\n --no-require do not automatically require entry module\n -m, --minify minify output\n --minifier minifier to use\n -o, --output <file> write bundle to file instead of stdout, {} may be used as a placeholder\n -p, --prelude <file> file to use as prelude\n --prelude-async include async prelude\n --prelude-only only output prelude\n --no-prelude exclude prelude from bundle\n -r, --resolve <module:path> do not automatically resolve module, use provided path\n --require-as <path> resolve bundle using providing path\n -s, --skip <path> skip modules matching path\n --source-map enable source maps\n --strict add \"use strict\" to each bundled module\n --strip-debug strip `alert`, `console`, `debugger` statements\n -w, --watch write bundle to file and and recompile on file changes\n -x, --exclude <glob|regex> exclude modules matching glob or regex from being automatically parsed\n --base path all requires should be relative to\n\nExamples:\n\n # bundle javascript file and all it's dependencies\n $ requisite module.js -o bundle.js\n\n # bundle several modules, appending .bundle.js to output\n $ requisite *.js -o {}.bundle.js");
return process.exit(0);

@@ -42,2 +42,3 @@ };

minify: false,
naked: false,
output: [],

@@ -75,2 +76,7 @@ prelude: null,

break;
case '-n':
case '--naked':
opts.bare = true;
opts.naked = true;
break;
case '-d':

@@ -77,0 +83,0 @@ case '--dedupe':

@@ -79,2 +79,6 @@ // Generated by CoffeeScript 1.10.0

this.bare = opts.bare;
this.naked = opts.naked;
if (this.naked) {
this.bare = true;
}
this.strict = opts.strict;

@@ -295,2 +299,3 @@ this.exported = (ref8 = opts.exported) != null ? ref8 : false;

dep.strict = _this.strict;
dep.naked = _this.naked;
mod = new Module(dep.requiredAs, dep);

@@ -297,0 +302,0 @@ mod.exclude = _this.exclude;

4

package.json
{
"name": "requisite",
"version": "1.18.2",
"version": "1.18.3",
"description": "A cosmic javascript bundler.",

@@ -92,3 +92,3 @@ "homepage": "http://requisitejs.org",

"express": "4.13.4",
"jade": "^1.11.0",
"jade": "1.11.0",
"jade-runtime": "^2.0.0",

@@ -95,0 +95,0 @@ "mocha": "2.4.5",

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