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

iltorb

Package Overview
Dependencies
Maintainers
2
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iltorb - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

10

CHANGELOG.md

@@ -5,2 +5,9 @@ # Change Log

## [2.3.1] - 2018-04-30
### Added
- Support for Node 10
### Removed
- Dropped support for Node 4
## [2.3.0] - 2018-04-06

@@ -263,2 +270,3 @@ ### Added

[2.3.1]: https://github.com/MayhemYDG/iltorb/compare/v2.3.0...v2.3.1
[2.3.0]: https://github.com/MayhemYDG/iltorb/compare/v2.2.0...v2.3.0

@@ -306,3 +314,3 @@ [2.2.0]: https://github.com/MayhemYDG/iltorb/compare/v2.1.0...v2.2.0

[v1.0.4]: https://github.com/google/brotli/compare/v1.0.3...c6333e1e79fb62ea088443f192293f964409b04e
[v1.0.4]: https://github.com/google/brotli/releases/tag/v1.0.4
[v1.0.3]: https://github.com/google/brotli/releases/tag/v1.0.3

@@ -309,0 +317,0 @@ [v1.0.2]: https://github.com/google/brotli/releases/tag/v1.0.2

12

index.js

@@ -11,12 +11,12 @@ 'use strict';

const iltorb = require('./build/bindings/iltorb.node');
const Transform = require('stream').Transform;
const { Transform } = require('stream');
class TransformStreamEncode extends Transform {
constructor(params, sync) {
constructor(params={}, sync=false) {
super();
this.sync = sync || false;
this.sync = sync;
this.encoding = false;
this.corked = false;
this.flushing = false;
this.encoder = new iltorb.StreamEncode(params || {});
this.encoder = new iltorb.StreamEncode(params);
}

@@ -86,5 +86,5 @@

class TransformStreamDecode extends Transform {
constructor(sync) {
constructor(sync=false) {
super();
this.sync = sync || false;
this.sync = sync;
this.decoder = new iltorb.StreamDecode();

@@ -91,0 +91,0 @@ }

{
"name": "iltorb",
"version": "2.3.0",
"version": "2.3.1",
"description": "Brotli compression/decompression with native bindings",

@@ -39,5 +39,5 @@ "homepage": "https://github.com/MayhemYDG/iltorb",

"detect-libc": "^1.0.3",
"nan": "^2.8.0",
"nan": "^2.10.0",
"npmlog": "^4.1.2",
"prebuild-install": "^2.3.0",
"prebuild-install": "^3.0.0",
"which-pm-runs": "^1.0.0"

@@ -47,9 +47,9 @@ },

"chai": "^4.1.2",
"cross-env": "^5.1.1",
"cross-spawn": "^5.1.0",
"mocha": "^4.0.1",
"node-abi": "^2.1.2",
"cross-env": "^5.1.4",
"cross-spawn": "^6.0.5",
"mocha": "^5.0.5",
"node-abi": "^2.4.0",
"node-gyp": "^3.6.2",
"npm-run-path-compat": "^2.0.3",
"prebuild": "^6.2.2"
"prebuild": "^7.4.0"
},

@@ -56,0 +56,0 @@ "scripts": {

@@ -134,5 +134,5 @@ # iltorb

The `compress`, `compressSync` and `compressStream` methods may accept an optional `brotliEncodeParams` object to define some or all of brotli's compression parameters:
- [type definition](https://github.com/google/brotli/blob/c6333e1e79fb62ea088443f192293f964409b04e/c/enc/params.h#L30-L42)
- [defaults](https://github.com/google/brotli/blob/c6333e1e79fb62ea088443f192293f964409b04e/c/enc/encode.c#L706-L720)
- [explanations](https://github.com/google/brotli/blob/c6333e1e79fb62ea088443f192293f964409b04e/c/include/brotli/encode.h#L133-L205)
- [type definition](https://github.com/google/brotli/blob/v1.0.4/c/enc/params.h#L30-L42)
- [defaults](https://github.com/google/brotli/blob/v1.0.4/c/enc/encode.c#L706-L720)
- [explanations](https://github.com/google/brotli/blob/v1.0.4/c/include/brotli/encode.h#L133-L205)

@@ -139,0 +139,0 @@ ```javascript

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