Socket
Socket
Sign inDemoInstall

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.8 to 0.2.9

2

index.js

@@ -60,2 +60,3 @@ const fs = require('fs')

async loadChildren(options = {}, currentDepth) {
this.children = []
typeof currentDepth === 'number' ? currentDepth++ : currentDepth = 1

@@ -79,2 +80,3 @@ const items = await fs.promises.readdir(this.path)

loadChildrenSync(options = {}, currentDepth) {
this.children = []
typeof currentDepth === 'number' ? currentDepth++ : currentDepth = 1

@@ -81,0 +83,0 @@ const items = fs.readdirSync(this.path)

2

package.json
{
"name": "hotfile",
"version": "0.2.8",
"version": "0.2.9",
"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