🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

jtaro-module

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jtaro-module - npm Package Compare versions

Comparing version
0.2.7
to
0.2.8
+1
-1
package.json
{
"name": "jtaro-module",
"version": "0.2.7",
"version": "0.2.8",
"description": "Explain the ES6 module to Es5 syntax",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,2 +0,2 @@

/*! JTaro-Module parse.js v0.2.7 ~ (c) 2017 Author:BarZu Git:https://github.com/chjtx/JTaro-Module/ */
/*! JTaro-Module parse.js v0.2.8 ~ (c) 2017 Author:BarZu Git:https://github.com/chjtx/JTaro-Module/ */
/**

@@ -76,3 +76,3 @@ * JTaro Module

variables.forEach(i => {
var a = i.split(/ +as +/)
var a = i.split(/ +\bas\b +/)
varArr.push({

@@ -163,3 +163,3 @@ alias: a[1] || a[0],

a.forEach((item, index) => {
var b = item.split(/ *as */)
var b = item.split(/ *\bas\b */)
if (b[1]) {

@@ -166,0 +166,0 @@ str += 'JTaroModules[\'' + name + '\'].' + b[1] + ' = ' + b[0]