Socket
Socket
Sign inDemoInstall

fs-extra

Package Overview
Dependencies
4
Maintainers
3
Versions
96
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 9.0.0 to 9.0.1

3

lib/mkdirs/make-dir.js

@@ -28,4 +28,3 @@ // Adapted from https://github.com/sindresorhus/make-dir

const processOptions = options => {
// Must be defined here so we get fresh process.umask()
const defaults = { mode: 0o777 & (~process.umask()) }
const defaults = { mode: 0o777 }
if (typeof options === 'number') options = { mode: options }

@@ -32,0 +31,0 @@ return { ...defaults, ...options }

@@ -116,5 +116,2 @@ 'use strict'

assert(typeof cb === 'function')
if (er) {
assert(er instanceof Error)
}

@@ -143,5 +140,2 @@ options.chmod(p, 0o666, er2 => {

assert(options)
if (er) {
assert(er instanceof Error)
}

@@ -178,5 +172,2 @@ try {

assert(options)
if (originalEr) {
assert(originalEr instanceof Error)
}
assert(typeof cb === 'function')

@@ -274,5 +265,2 @@

assert(options)
if (originalEr) {
assert(originalEr instanceof Error)
}

@@ -279,0 +267,0 @@ try {

{
"name": "fs-extra",
"version": "9.0.0",
"description": "fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as mkdir -p, cp -r, and rm -rf.",
"version": "9.0.1",
"description": "fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as recursive mkdir, copy, and remove.",
"engines": {

@@ -6,0 +6,0 @@ "node": ">=10"

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc