Comparing version 0.1.0 to 0.1.1
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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65527
1049
167