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

lzma

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lzma - npm Package Compare versions

Comparing version 2.3.1 to 2.3.2

2

package.json

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

"description": "A JavaScript implementation of the Lempel-Ziv-Markov (LZMA) chain compression algorithm",
"version": "2.3.1",
"version": "2.3.2",
"homepage": "http://nmrugg.github.com/LZMA-JS/",

@@ -8,0 +8,0 @@ "repository": {

@@ -77,4 +77,3 @@ LZMA Everywhere [![Travis CI](https://travis-ci.org/nmrugg/LZMA-JS.svg)](https://travis-ci.org/nmrugg/LZMA-JS/branches)

/// otherwise, it will return a Uint8Array instance.
/// If the optional is_utf8 parameter is set to false, decompression always returns a Uint8Array.
my_lzma.decompress(byte_array[, is_utf8 = true], on_finish(result, error) {}, on_progress(percent) {});
my_lzma.decompress(byte_array, on_finish(result, error) {}, on_progress(percent) {});
```

@@ -90,3 +89,3 @@

/// To decompress:
result = my_lzma.decompress(byte_array[, is_utf8 = true]);
result = my_lzma.decompress(byte_array);
```

@@ -131,3 +130,3 @@

LZMA.decompress(byte_array[, is_utf8 = true], on_finish(result, error) {}, on_progress(percent) {});
LZMA.decompress(byte_array, on_finish(result, error) {}, on_progress(percent) {});
```

@@ -134,0 +133,0 @@

@@ -53,5 +53,5 @@ //! © 2015 Nathan Rugg <nmrugg@gmail.com> | MIT

},
decompress: function decompress(byte_arr, is_utf8, on_finish, on_progress) {
decompress: function decompress(byte_arr, on_finish, on_progress) {
if (global_var.LZMA_WORKER) {
global_var.LZMA_WORKER.decompress(byte_arr, is_utf8, on_finish, on_progress);
global_var.LZMA_WORKER.decompress(byte_arr, on_finish, on_progress);
} else {

@@ -61,3 +61,3 @@ /// Wait

{
fake_lzma.decompress(byte_arr, is_utf8, on_finish, on_progress);
fake_lzma.decompress(byte_arr, on_finish, on_progress);
}, 50);

@@ -146,4 +146,4 @@ }

},
decompress: function decompress(byte_arr, is_utf8, on_finish, on_progress) {
send_to_worker(action_decompress, byte_arr, is_utf8, on_finish, on_progress);
decompress: function decompress(byte_arr, on_finish, on_progress) {
send_to_worker(action_decompress, byte_arr, false, on_finish, on_progress);
},

@@ -150,0 +150,0 @@ worker: function worker() {

Sorry, the diff of this file is too big to display

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