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

es6-module-transpiler

Package Overview
Dependencies
Maintainers
3
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

es6-module-transpiler - npm Package Compare versions

Comparing version 0.6.1 to 0.6.2

4

lib/rewriter.js

@@ -251,3 +251,3 @@ /* jshint node:true, undef:true, unused:true */

Rewriter.prototype.assertImportIsNotReassigned = function(mod, identifierPath) {
if (!n.Identifier.check(identifierPath.node)) {
if (!n.Identifier.check(identifierPath.node) || !mod.imports.findDeclarationForReference(identifierPath)) {
return;

@@ -259,3 +259,3 @@ }

var declarationScope = identifierPath.scope.lookup(name);
if (declarationScope) {
if (declarationScope && declarationScope.isGlobal) {
var declarationPaths = declarationScope.getBindings()[name];

@@ -262,0 +262,0 @@ assert.ok(

{
"name": "es6-module-transpiler",
"version": "0.6.1",
"version": "0.6.2",
"description": "es6-module-transpiler is an experimental compiler that allows you to write your JavaScript using a subset of the current ES6 module syntax, and compile it into various formats.",

@@ -5,0 +5,0 @@ "homepage": "http://square.github.com/es6-module-transpiler",

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