Closed guilhermehn closed 1 year ago
Removes mkdirp from the project and replace it with Node's native recursive directory creation.
The recursive: true option is supported since Node v10.12.0 and is recommended by mkdirp since version 1.0:
recursive: true
Use native fs.mkdir(path, { recursive: true }) when available.
fs.mkdir(path, { recursive: true })
System: OS: Linux 5.19 Ubuntu 22.04.2 LTS 22.04.2 LTS (Jammy Jellyfish) CPU: (8) x64 Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz Memory: 7.29 GB / 31.23 GB Container: Yes Shell: 5.1.16 - /bin/bash
All unit tests are passing with Node 14.15.0 (least supported version), 16.20.0 (latest v16) and 18.15.0 (latest v18).
None.
All committers have signed the CLA.
Thank you for the contribution!
:tada: This PR is included in version 6.1.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Description
Removes mkdirp from the project and replace it with Node's native recursive directory creation.
The
recursive: true
option is supported since Node v10.12.0 and is recommended by mkdirp since version 1.0:Motivation and Context
How Has This Been Tested?
All unit tests are passing with Node 14.15.0 (least supported version), 16.20.0 (latest v16) and 18.15.0 (latest v18).
Types of Changes
Checklist:
What is the Impact to Developers Using Jest-Image-Snapshot?
None.