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

ascjs

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ascjs - npm Package Compare versions

Comparing version 5.0.1 to 6.0.0

8

bin.js

@@ -8,3 +8,9 @@ #!/usr/bin/env node

return noDefault ?
output.replace(`${$ascjs.EXPORT}.default`, 'module.exports') :
output
.replace(`${$ascjs.EXPORT}.default`, 'module.exports')
.replace($ascjs.IMPORT, ($0, index) => {
index += $0.length + 9;
const module = output.slice(index, output.indexOf(')', index + 1)).trim();
return /^['"]\./.test(module) ? '' : $0;
}) :
output;

@@ -11,0 +17,0 @@ };

2

package.json
{
"name": "ascjs",
"version": "5.0.1",
"version": "6.0.0",
"description": "ES2015 to CommonJS import/export transformer",

@@ -5,0 +5,0 @@ "bin": "bin.js",

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