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 3.1.0 to 3.1.1

7

bin.js

@@ -75,2 +75,7 @@ #!/usr/bin/env node

};
const cjsFolder = path.resolve(process.cwd(), dest);
const cjsPackage = path.join(cjsFolder, 'package.json');
if (!fs.existsSync(cjsPackage))
fs.writeFileSync(cjsPackage, JSON.stringify({type: 'commonjs'}));
fs.writeFileSync(dest, ascjs(source));
(function walkThrough(source, dest) {

@@ -108,3 +113,3 @@ fs.readdir(source, (err, files) => {

path.resolve(process.cwd(), source),
path.resolve(process.cwd(), dest)
cjsFolder
));

@@ -111,0 +116,0 @@ } else {

4

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

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

"devDependencies": {
"coveralls": "^3.0.7",
"coveralls": "^3.0.8",
"istanbul": "^0.4.5"
}
}
# ascjs
[![Greenkeeper badge](https://badges.greenkeeper.io/WebReflection/ascjs.svg)](https://greenkeeper.io/)
[![License: ISC](https://img.shields.io/badge/License-ISC-yellow.svg)](https://opensource.org/licenses/ISC) [![Build Status](https://travis-ci.org/WebReflection/ascjs.svg?branch=master)](https://travis-ci.org/WebReflection/ascjs) [![Coverage Status](https://coveralls.io/repos/github/WebReflection/ascjs/badge.svg?branch=master)](https://coveralls.io/github/WebReflection/ascjs?branch=master) [![donate](https://img.shields.io/badge/$-donate-ff69b4.svg?maxAge=2592000&style=flat)](https://github.com/WebReflection/donate) [![Greenkeeper badge](https://badges.greenkeeper.io/WebReflection/ascjs.svg)](https://greenkeeper.io/)
[![License: ISC](https://img.shields.io/badge/License-ISC-yellow.svg)](https://opensource.org/licenses/ISC) [![Build Status](https://travis-ci.org/WebReflection/ascjs.svg?branch=master)](https://travis-ci.org/WebReflection/ascjs) [![Coverage Status](https://coveralls.io/repos/github/WebReflection/ascjs/badge.svg?branch=master)](https://coveralls.io/github/WebReflection/ascjs?branch=master) [![donate](https://img.shields.io/badge/$-donate-ff69b4.svg?maxAge=2592000&style=flat)](https://github.com/WebReflection/donate)
ES2015 to CommonJS import/export transformer

@@ -8,0 +6,0 @@

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