Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hotfile

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hotfile - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

4

index.js

@@ -72,4 +72,2 @@ const fs = require('fs')

mkdirSync(path, options = { recursive: true }){
if(!p.extname(path) == "")
throw(new Error(`mkdirSync expects a folder path, but ${path} provided`))
let flag = true

@@ -104,4 +102,2 @@ try{

async mkdir(path, options = {}){
if(!p.extname(path) == "")
throw(new Error(`mkdir expects a folder path, but ${path} provided`))
const { recursive, force } = options

@@ -108,0 +104,0 @@ if(!force && await this.exists(path)) return false

2

package.json
{
"name": "hotfile",
"version": "0.2.4",
"version": "0.2.5",
"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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc