Socket
Socket
Sign inDemoInstall

make-empty-dir

Package Overview
Dependencies
13
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 2.0.0

6

CHANGELOG.md
# make-empty-dir
## 2.0.0
### Major Changes
- Deprecate Node.js 10
## 1.1.0

@@ -4,0 +10,0 @@

3

index.js
'use strict'
const fs = require('fs').promises
const path = require('path')
const { promisify } = require('util')
const rimraf = promisify(require('rimraf'))
const rimraf = require('@zkochan/rimraf')

@@ -7,0 +6,0 @@ module.exports = async function makeEmptyDir (dir, opts) {

{
"name": "make-empty-dir",
"version": "1.1.0",
"version": "2.0.0",
"description": "Ensures that a directory is empty",

@@ -14,3 +14,3 @@ "main": "index.js",

"engines": {
"node": ">=10.12"
"node": ">=12.10"
},

@@ -36,4 +36,4 @@ "repository": "https://github.com/zkochan/packages/tree/master/make-empty-dir",

"dependencies": {
"rimraf": "^3.0.2"
"@zkochan/rimraf": "^2.1.0"
}
}

Sorry, the diff of this file is not supported yet

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