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.2.0 to 2.2.1

10

bin.js

@@ -42,2 +42,11 @@ #!/usr/bin/env node

const path = require('path');
const mkdir = dir => {
try{ fs.mkdirSync(dir); }
catch(e){
if(e.errno === 34){
mkdir(path.dirname(dir));
mkdir(dir);
}
}
};
(function walkThrough(source, dest) {

@@ -57,2 +66,3 @@ fs.readdir(source, (err, files) => {

if (err) throw err;
mkdir(dest);
fs.writeFile(

@@ -59,0 +69,0 @@ path.join(dest, file),

2

package.json
{
"name": "ascjs",
"version": "2.2.0",
"version": "2.2.1",
"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