Comparing version 2.5.1 to 3.0.0
@@ -34,3 +34,3 @@ 'use strict'; | ||
const EXPORT = `Object.defineProperty(exports, '__esModule', {value: true})`; | ||
const IMPORT = `(m => m.__esModule ? m.default : m)`; | ||
const IMPORT = `(m => m.__esModule ? /* istanbul ignore next */ m.default : /* istanbul ignore next */ m)`; | ||
const asDefault = name => name === 'default' ? `${parse.info.EXPORT}.default` : `exports.${name}`; | ||
@@ -37,0 +37,0 @@ const fromDefault = defaultImport => `${parse.info.IMPORT}(${defaultImport})`; |
{ | ||
"name": "ascjs", | ||
"version": "2.5.1", | ||
"version": "3.0.0", | ||
"description": "ES2015 to CommonJS import/export transformer", | ||
@@ -5,0 +5,0 @@ "bin": "bin.js", |
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
14089