Socket
Socket
Sign inDemoInstall

6to5-core

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

6to5-core - npm Package Compare versions

Comparing version 2.12.0 to 2.12.1

2

lib/6to5/register.js

@@ -126,3 +126,3 @@ require("./polyfill");

hookExtensions([".es6", ".es", ".js"]);
hookExtensions(util.canCompile.EXTENSIONS);

@@ -129,0 +129,0 @@ module.exports = function (opts) {

@@ -15,3 +15,3 @@ require("./patch");

exports.canCompile = function (filename, altExts) {
var exts = altExts || [".js", ".jsx", ".es6", ".es"];
var exts = altExts || exports.canCompile.EXTENSIONS;
var ext = path.extname(filename);

@@ -21,2 +21,4 @@ return _.contains(exts, ext);

exports.canCompile.EXTENSIONS = [".js", ".jsx", ".es6", ".es"];
exports.isInteger = function (i) {

@@ -23,0 +25,0 @@ return _.isNumber(i) && i % 1 === 0;

@@ -13,2 +13,2 @@ # Notes

* Move `super` transformation from classes into a separate transformer that also supports object expressions.
* Prefix all fast transformers with `fast`, make them declare that they're a fast transformer similar to optional transformers and add a `--fast` flag to enable them all.
* Remove fast transformer backwards compatibility.
{
"name": "6to5-core",
"description": "Turn ES6 code into readable vanilla ES5 with source maps",
"version": "2.12.0",
"version": "2.12.1",
"author": "Sebastian McKenzie <sebmck@gmail.com>",

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

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