Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pnpm/graceful-fs

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/graceful-fs - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

3

lib/index.d.ts
/// <reference types="node" />
import gfs from 'graceful-fs';
declare const _default: {
copyFile: typeof gfs.copyFile.__promisify__;
createReadStream: typeof gfs.createReadStream;
link: typeof gfs.link.__promisify__;
readFile: typeof gfs.readFile.__promisify__;
stat: typeof gfs.stat.__promisify__;
writeFile: typeof gfs.writeFile.__promisify__;
};
export default _default;

@@ -9,6 +9,9 @@ "use strict";

exports.default = {
copyFile: (0, util_1.promisify)(graceful_fs_1.default.copyFile),
createReadStream: graceful_fs_1.default.createReadStream,
link: (0, util_1.promisify)(graceful_fs_1.default.link),
readFile: (0, util_1.promisify)(graceful_fs_1.default.readFile),
stat: (0, util_1.promisify)(graceful_fs_1.default.stat),
writeFile: (0, util_1.promisify)(graceful_fs_1.default.writeFile),
};
//# sourceMappingURL=index.js.map

15

package.json
{
"name": "@pnpm/graceful-fs",
"version": "2.0.0",
"version": "2.1.0",
"description": "Promisified graceful-fs",

@@ -12,5 +12,5 @@ "main": "lib/index.js",

"engines": {
"node": ">=14.19"
"node": ">=14.6"
},
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/graceful-fs",
"repository": "https://github.com/pnpm/pnpm/blob/main/fs/graceful-fs",
"keywords": [

@@ -24,9 +24,10 @@ "pnpm7",

},
"homepage": "https://github.com/pnpm/pnpm/blob/main/packages/graceful-fs#readme",
"homepage": "https://github.com/pnpm/pnpm/blob/main/fs/graceful-fs#readme",
"dependencies": {
"graceful-fs": "^4.2.6"
"graceful-fs": "^4.2.10"
},
"funding": "https://opencollective.com/pnpm",
"devDependencies": {
"@pnpm/graceful-fs": "2.0.0"
"@types/graceful-fs": "^4.1.6",
"@pnpm/graceful-fs": "2.1.0"
},

@@ -37,3 +38,3 @@ "exports": {

"scripts": {
"lint": "eslint src/**/*.ts",
"lint": "eslint \"src/**/*.ts\"",
"test": "pnpm run compile",

@@ -40,0 +41,0 @@ "compile": "tsc --build && pnpm run lint --fix"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc