1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-03 17:08:35 -05:00
denoland-deno/tests/registry/npm/graceful-fs/registry.json

2 lines
7.3 KiB
JSON
Raw Normal View History

{"name":"graceful-fs","description":"A drop-in replacement for fs, making various improvements.","dist-tags":{"latest":"4.2.10"},"versions":{"4.2.10":{"name":"graceful-fs","description":"A drop-in replacement for fs, making various improvements.","version":"4.2.10","repository":{"type":"git","url":"git+https://github.com/isaacs/node-graceful-fs.git"},"main":"graceful-fs.js","directories":{"test":"test"},"scripts":{"preversion":"npm test","postversion":"npm publish","postpublish":"git push origin --follow-tags","test":"nyc --silent node test.js | tap -c -","posttest":"nyc report"},"license":"ISC","devDependencies":{"import-fresh":"^2.0.0","mkdirp":"^0.5.0","rimraf":"^2.2.8","tap":"^12.7.0"},"gitHead":"1f19b0b467e4144260b397343cd60f37c5bdcfda","bugs":{"url":"https://github.com/isaacs/node-graceful-fs/issues"},"_id":"graceful-fs@4.2.10","_nodeVersion":"17.6.0","_npmVersion":"8.5.3","dist":{"integrity":"sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==","shasum":"147d3a006da4ca3ce14728c7aefc287c367d7a6c","tarball":"http://localhost:4260/graceful-fs/graceful-fs-4.2.10.tgz","fileCount":7,"unpackedSize":32470,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA1uTjaW3iIxS4M3qAd6G2a1eA2VBnJk3uad5b39KE2kAiAM2jgxR4jcxVjstEzRCd5ydGON5o0VkPyEuFNHKzYupQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiSyZoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpCzw//UtS3HkPO3bCZalf3uNH+6ZTvOyFSFzjOprlRrOvQ5r51hicp\r\npizQBejiOaCcK5p7tBViXT+bV5otgvJ8dXBjiQQpXuSuSVN13MWs9FsNJANQ\r\nlcmzJRFZwdhoVygtRtuk6Dx9EOG7gfcH3Oud/ztts9iSeDLRsZewzkHtqRBX\r\nAfoAaFn9YNZ/14B0QwsbmOHeURedNmdnPLU5hL3o91LjUe3++TrMPA0BcDFT\r\nN8jguwfX9YoD6GkAO/11Iu9q48QALO6WwdU7+WF3f1kp1GdryxfxaYgTZWMp\r\nOrfgCRpDCzdDZkN8AKTlJkRUnDRHuEeiJB5wfONw1p321XwBx4EbqenZQSkc\r\naBhP8Q20MKRJb6A8tuNKyvx9toSeYY6gj7thORU7RhI4JvJJgGSGNyHeAjz5\r\nV5cap9J8QrI472ZxIth3abdws45yP/f4kVtZ+32GdcCrwkQHiL8VfGYuaPoM\r\nyvULvSiKeDkBZR7oGAHUyM2esHaZcqSQDsQ8aP7dCL/L80iW4qQzvs1Ngmqt\r\nGMzRIAh6LzMG/Q/xX0lLBNLLqa3ajkrcyIjpKFgzhS5TqAr/gNI56i4kgTuP\r\nFPxg6QHN/q8tt/MhWjZA6jZjCs/X7ZjNCFKU1qBhf8ecnqdkFZMo2fQo0tN+\r\nLRaRLDpK3L8hBQ5tY0YmrKHqymSZjT43Voo=\r\n=5ivk\r\n-----END PGP SIGNATURE-----\r\n"},"_hasShrinkwrap":false}},"repository":{"type":"git","url":"git+https://github.com/isaacs/node-graceful-fs.git"},"readme":"# graceful-fs\n\ngraceful-fs functions as a drop-in replacement for the fs module,\nmaking various improvements.\n\nThe improvements are meant to normalize behavior across different\nplatforms and environments, and to make filesystem access more\nresilient to errors.\n\n## Improvements over [fs module](https://nodejs.org/api/fs.html)\n\n* Queues up `open` and `readdir` calls, and retries them once\n something closes if there is an EMFILE error from too many file\n descriptors.\n* fixes `lchmod` for Node versions prior to 0.6.2.\n* implements `fs.lutimes` if possible. Otherwise it becomes a noop.\n* ignores `EINVAL` and `EPERM` errors in `chown`, `fchown` or\n `lchown` if the user isn't root.\n* makes `lchmod` and `lchown` become noops, if not available.\n* retries reading a file if `read` results in EAGAIN error.\n\nOn Windows, it retries renaming a file for up to one second if `EACCESS`\nor `EPERM` error occurs, likely because antivirus software has locked\nthe directory.\n\n## USAGE\n\n```javascript\n// use just like fs\nvar fs = require('graceful-fs')\n\n// now go and do stuff with it...\nfs.readFile('some-file-or-whatever', (err, data) => {\n // Do stuff here.\n})\n```\n\n## Sync methods\n\nThis module cannot intercept or handle `EMFILE` or `ENFILE` errors from sync\nmethods. If you use sync methods which open file descriptors then you are\nresponsible for dealing with any errors.\n\nThis is a known limitation, not a bug.\n\n## Global Patching\n\nIf you want to patch the global fs module (or any other fs-like\nmodule) you can do this:\n\n```javascript\n// Make sure to read the caveat below.\nvar realFs = require('fs'