Socket
Socket
Sign inDemoInstall

cleaner-node

Package Overview
Dependencies
Maintainers
1
Versions
175
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cleaner-node - npm Package Compare versions

Comparing version 0.4.8 to 0.4.9

2

package.json
{
"name": "cleaner-node",
"version": "0.4.8",
"version": "0.4.9",
"description": "Helpful utilities and scripts to make Node projects more legible and easier for the next developer to take over.",

@@ -5,0 +5,0 @@ "main": "index.js",

const fs = require('fs');
const fsx = require('fs-extra');
const path = require('path');

@@ -48,2 +49,11 @@ const md5File = require('md5-file');

const ensureFolder = folderPath => {
try {
fsx.ensureDirSync(folderPath);
} catch (ex) {
return false;
}
return isFolder(folderPath);
}
// ----- CONTENTS

@@ -206,3 +216,4 @@

isFolder,
ensureFolder,
fileContents,

@@ -209,0 +220,0 @@ folderContents,

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