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

streampng

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

streampng - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

11

lib/chunks/international-text.js

@@ -28,3 +28,4 @@ var Base = require('./base.js');

zlib.deflate(this.text, function (err, data) {
if (err) throw new Error('there was a problem deflating the text:' + err);
if (err)
return callback(new Error('there was a problem deflating the text:' + err));
this.compressedText = data;

@@ -53,5 +54,5 @@ output = this._startOutput(data);

+ 1 // compressionMethod
+ (Buffer(this.languageTag).length + 1)
+ (Buffer(this.translatedKeyword).length + 1)
+ (this.compressed ? this.compressedText.length : Buffer(this.text).length)
+ (Buffer(this.languageTag||'').length + 1)
+ (Buffer(this.translatedKeyword||'').length + 1)
+ (this.compressed ? this.compressedText.length : Buffer(this.text||'').length)
);

@@ -61,2 +62,2 @@ };

module.exports = InternationalText;
module.exports = InternationalText;

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

"description": "Streaming PNG encoder/decoder, compatible with latest PNG extensions (PNGEXT 1.4.0)",
"version": "0.1.6",
"version": "0.1.7",
"homepage": "https://github.com/brianloveswords/streampng",

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

@@ -229,4 +229,4 @@ # streampng [![Build Status](https://secure.travis-ci.org/brianloveswords/streampng.png?branch=master)](http://travis-ci.org/brianloveswords/streampng)

- `IHDR.INDEXED_COLOUR`
- `IHDR.GREYSCALE_ALPHA`
- `IHDR.TRUECOLOUR_ALPHA`
- `IHDR.GREYSCALE_ALPHA`
- `IHDR.TRUECOLOUR_ALPHA`
- `bitDepth`: The following values are valid depending on colour type:

@@ -518,7 +518,5 @@ - greyscale: `[1, 2, 4, 8 ,16]`

viewing.
- `sTER.DIVERGING_FUSE`: left-eye image appears at the left and the
right-eye image appears at the right, suitable for divergent
(wall-eyed) free viewing.
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