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 2.0.1 to 2.1.0

4

index.js

@@ -52,3 +52,3 @@ const parser = require('babylon');

const SEP = /(,\s+)[^{]/.test(esm) ? RegExp.$1 : ', ';
const EOL = /;$/.test(esm) ? ';' : '';
const EOL = ';'; // /;$/.test(esm) ? ';' : '';
const imported = [];

@@ -123,3 +123,3 @@ const specifiers = [];

const esm = slice(code, item);
const EOL = /;$/.test(esm) ? ';\n' : '\n';
const EOL = ';\n'; // /;$/.test(esm) ? ';\n' : '\n';
let cjs = source ? '(m => {\n' : '';

@@ -126,0 +126,0 @@ item.specifiers.forEach(specifier => {

{
"name": "ascjs",
"version": "2.0.1",
"version": "2.1.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