Socket
Socket
Sign inDemoInstall

6to5

Package Overview
Dependencies
Maintainers
1
Versions
257
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

6to5 - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

2

lib/6to5/transform.js

@@ -57,3 +57,3 @@ var traverse = require("./traverse");

if (opts.sourceMap) {
if (opts.sourceMap === "comment") {
if (opts.sourceMap === "inline") {
result.code += "\n" + util.sourceMapToComment(result.map);

@@ -60,0 +60,0 @@ }

{
"name": "6to5",
"description": "Turn ES6 code into vanilla ES5 with source maps and no runtime",
"version": "1.2.0",
"version": "1.3.0",
"author": "Sebastian McKenzie <sebmck@gmail.com>",

@@ -6,0 +6,0 @@ "homepage": "https://github.com/sebmck/6to5",

@@ -88,3 +88,3 @@ <p align="center">

$ 6to5 script.js --source-maps-comment --out-file script-compiled.js
$ 6to5 script.js --source-maps-inline --out-file script-compiled.js

@@ -137,3 +137,3 @@ Compile the entire `src` directory and output it to the `lib` directory.

// If truthy, adds a `map` property to returned output.
// If set to "comment", the sourceMappingURL directive is added at the bottom
// If set to "inline", a comment with a sourceMappingURL directive is added to the bottom
sourceMap: false,

@@ -140,0 +140,0 @@

Sorry, the diff of this file is not supported yet

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