Socket
Socket
Sign inDemoInstall

hotfile

Package Overview
Dependencies
0
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.3 to 0.2.4

3

index.js

@@ -52,5 +52,2 @@ const fs = require('fs')

static mkdirSync(path, options = { recursive: true }){
const stat = fs.statSync(path)
if(stat.isFile(path))
throw(new Error(`mkdirSync expects a folder path, but ${path} provided`))
let flag = true

@@ -57,0 +54,0 @@ try{

2

package.json
{
"name": "hotfile",
"version": "0.2.3",
"version": "0.2.4",
"description": "Hotfile makes working with folders and files in node-js easy and clear.",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc