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.2 to 0.2.3

3

index.js

@@ -52,3 +52,4 @@ const fs = require('fs')

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

@@ -55,0 +56,0 @@ let flag = true

{
"name": "hotfile",
"version": "0.2.2",
"version": "0.2.3",
"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