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

es6-module-loader

Package Overview
Dependencies
Maintainers
2
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

es6-module-loader - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

4

lib/es6-module-loader.js

@@ -308,2 +308,4 @@ /*

Loader.prototype._link = function(source, opt) {
if (!isBrowser)
ES6Parser.loadTraceur(opt.normalized, source, function(){}, function(){});
var self = this;

@@ -568,3 +570,3 @@ return {

// module syntax, before loading Traceur for deeper analysis
es6RegEx: /(?:^\s*|[}{\(\);,\n]\s*)(import|export|module\s*[^\s+]+\s*from)\s+./,
es6RegEx: /(?:^\s*|[}{\(\);,\n]\s*)((import|module)\s+[^"']+\s+from\s+['"]|export\s+(\*|\{|default|function|var|const|let|[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*))/,
checkModuleSyntax: function(name, source) {

@@ -571,0 +573,0 @@ if (name == null || this.parseNames[name] === undefined)

{
"name": "es6-module-loader",
"description": "An ES6 Module Loader shim",
"version": "0.3.2",
"version": "0.3.3",
"homepage": "https://github.com/ModuleLoader/es6-module-loader",

@@ -6,0 +6,0 @@ "author": {

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