mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Remove the rimraf
dependency in favor of the built-in Node.js fs.rmSync
In Node.js 14.14.0 the `fs.rmSync` function was added that removes files and directories. The `recursive` option is used to remove directories and their contents, making it a drop-in replacement for the `rimraf` dependency we use. Given that PDF.js now requires Node.js 18+ we can be sure that this option is available, so we can safely remove `rimraf` and reduce the number of project dependencies. Co-authored-by: Wojciech Maj <kontakt@wojtekmaj.pl>
This commit is contained in:
parent
0603d1ac18
commit
fad14321a8
3 changed files with 39 additions and 29 deletions
|
@ -47,7 +47,6 @@
|
|||
"postcss-nesting": "^12.1.4",
|
||||
"prettier": "^3.2.5",
|
||||
"puppeteer": "^22.8.1",
|
||||
"rimraf": "^3.0.2",
|
||||
"streamqueue": "^1.1.2",
|
||||
"stylelint": "^16.5.0",
|
||||
"stylelint-prettier": "^5.0.0",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue