New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

yauzl-clone

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yauzl-clone - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

6

changelog.md

@@ -6,1 +6,7 @@ # Changelog

* Initial release
## 1.0.1
* Fix: `.patch` method maintain `this` context in method calls
* README update
* README typo

4

lib/index.js

@@ -155,3 +155,3 @@ /* --------------------

return shimmed(reader, totalSize, options, callback);
return shimmed.call(this, reader, totalSize, options, callback);
};

@@ -171,3 +171,3 @@ } else {

return shimmed(path, null, options, callback);
return shimmed.call(this, path, null, options, callback);
};

@@ -174,0 +174,0 @@ }

{
"name": "yauzl-clone",
"version": "1.0.0",
"version": "1.0.1",
"description": "Clone yauzl for patching",

@@ -5,0 +5,0 @@ "main": "./lib/",

@@ -18,2 +18,4 @@ # yauzl-clone.js

[yauzl-promise](https://www.npmjs.com/package/yauzl-promise) and [yauzl-crc](https://www.npmjs.com/package/yauzl-crc), for example, uses this module internally.
When monkey-patching a module, it is good practice to clone the original module first so as not to alter the result of calling `require('yauzl')` somewhere else in your application (perhaps inside a dependency).

@@ -25,3 +27,3 @@

### `.clone( yauzl [, options ])`
### `.clone( yauzl [, options ] )`

@@ -28,0 +30,0 @@ Options are as follows (defaults shown):

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