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

graceful-fs

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graceful-fs - npm Package Compare versions

Comparing version 3.0.8 to 3.0.9

.nyc_output/37449.json

21

fs.js

@@ -9,4 +9,25 @@ // eeeeeevvvvviiiiiiillllll

var src = pre + process.binding('natives').fs + post
var deprecation = ''
var printDeprecation = ['var prefix = \'(\' + [process.release.name, process.pid].join(\':\') + \')\';',
'var printDeprecation = function(msg, warned) {',
' if (process.noDeprecation)',
' return true;',
' if (warned)',
' return warned;',
' if (process.throwDeprecation)',
' throw new Error(prefix + msg);',
' else if (process.traceDeprecation)',
' console.trace(msg);',
' else',
' console.error(prefix + msg);',
' return true;',
'};'].join('\n');
var deprecrationRequire = /const printDeprecation = require\(\'internal\/util\'\).printDeprecationMessage;/
src = src.replace(deprecrationRequire, printDeprecation);
var vm = require('vm')
var fn = vm.runInThisContext(src)
fn(exports, require, module, __filename, __dirname)

2

package.json

@@ -5,3 +5,3 @@ {

"description": "A drop-in replacement for fs, making various improvements.",
"version": "3.0.8",
"version": "3.0.9",
"repository": {

@@ -8,0 +8,0 @@ "type": "git",

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