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

traceur

Package Overview
Dependencies
Maintainers
1
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

traceur - npm Package Compare versions

Comparing version 0.0.12 to 0.0.13

4

package.json
{
"name": "traceur",
"version": "0.0.12",
"version": "0.0.13",
"description": "Experimental ES6 to ES5 compiler",

@@ -48,5 +48,5 @@ "keywords": [

"semver": "2.2.1",
"traceur": "0.0.11"
"traceur": "0.0.12"
},
"subdomain": "traceur"
}

@@ -39,2 +39,4 @@ // Copyright 2013 Traceur Authors.

flags.option('--dir <INDIR> <OUTDIR>', 'Compile an input directory of modules into an output directory');
flags.option('--sourcemap', 'Generate source maps');

@@ -56,2 +58,3 @@ flags.on('sourcemap', function() {

console.log(' $ %s --out compiled.js b.js c.js', cmdName);
console.log(' $ %s --dir indir outdir', cmdName);
console.log('');

@@ -113,3 +116,3 @@ });

if (option) {
if (arg === '--out')
if (arg === '--out' || arg === '--dir')
interpretMode = false;

@@ -165,2 +168,3 @@

var out = flags.out;
var dir = flags.dir;
if (out) {

@@ -172,4 +176,8 @@ var isSingleFileCompile = /\.js$/.test(out);

compileToDirectory(out, includes, flags.sourceMaps);
} else {
} else if (dir) {
var compileAllJsFilesInDir = require('./compile-single-file.js').compileAllJsFilesInDir;
compileAllJsFilesInDir(dir, includes[0]);
}
else {
interpret(path.resolve(includes[0]), includes.slice(1), argv.flags);
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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