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

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 0.1.0 to 0.1.1

4

lib/6to5/register.js
var maps = {};
var old = require.extensions[".js"];
// TODO: source maps - Error.prepareStackTrace override
require.extensions[".js"] = function (m, filename) {

@@ -13,5 +15,5 @@ if (filename.indexOf("node_modules") >= 0) {

maps[flename] = result.map;
//maps[filename] = result.map;
m._compile(result.code, filename);
};

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

transform.test = function (actual, expect, opts, debug) {
transform.test = function (actual, expect, opts) {
opts = opts || {};

@@ -83,0 +83,0 @@ _.defaults(opts, { filename: "test" });

@@ -59,3 +59,3 @@ var VISITOR_KEYS = require("./visitor-keys");

var has = false;
blacklistTypes = blacklistTypes || []
blacklistTypes = blacklistTypes || [];

@@ -62,0 +62,0 @@ if (_.isArray(tree)) {

{
"name": "6to5",
"description": "Turn ES6 code into vanilla ES5 with no runtime required",
"version": "0.1.0",
"version": "0.1.1",
"repository": {

@@ -6,0 +6,0 @@ "type": "git",

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

- **Fast** - no redundant code added so your compiled code is as fast as possible.
- **Extensive** - with Browserify support, Node API, Connect Middleware and a CLI.
- **Extensible** - with a large range of [plugins](#plugins).
- **Lossless** - **source map support** so you can debug your compiled code with ease.

@@ -36,2 +36,12 @@ - **Compact** - maps directly to the equivalent ES5 with **no runtime**.

## Plugins
- [Browserify](https://github.com/sebmck/6to5-browserify)
- [Connect Middleware](https://github.com/sebmck/6to5-connect)
### Community
- [Gulp](https://github.com/sindresorhus/gulp-6to5)
- [Brunch](https://github.com/es128/6to5-brunch)
## [Features](FEATURES.md)

@@ -60,11 +70,2 @@

## Plugins
- [Browserify](https://github.com/sebmck/6to5-browserify)
- [Connect Middleware](https://github.com/sebmck/6to5-connect)
- [Gulp](https://github.com/sindresorhus/gulp-6to5)*
- [Brunch](https://github.com/es128/6to5-brunch)*
*Community contributed
## Usage

@@ -71,0 +72,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