Comparing version 0.3.0 to 0.3.1
@@ -102,5 +102,5 @@ #!/usr/bin/env node | ||
let CJS = imports(ESM) | ||
.replace(/export default/, 'module.exports =') | ||
.replace(/export (const|function|class|let|var) (.+?)(?=(\(|\s|\=))/gi, (_, type, name) => { | ||
return keys.push(name) && `${type} ${name}`; | ||
.replace(/(^|\s|;)export default/, '$1module.exports =') | ||
.replace(/(^|\s|;)export (const|function|class|let|var) (.+?)(?=(\(|\s|\=))/gi, (_, x, type, name) => { | ||
return keys.push(name) && `${x}${type} ${name}`; | ||
}); | ||
@@ -107,0 +107,0 @@ |
{ | ||
"name": "bundt", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"repository": "lukeed/bundt", | ||
@@ -5,0 +5,0 @@ "description": "WIP", |
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
10103