Socket
Socket
Sign inDemoInstall

canvas

Package Overview
Dependencies
Maintainers
6
Versions
148
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

canvas - npm Package Compare versions

Comparing version 2.0.0-alpha.6 to 2.0.0-alpha.7

2

package.json
{
"name": "canvas",
"description": "Canvas graphics API backed by Cairo",
"version": "2.0.0-alpha.6",
"version": "2.0.0-alpha.7",
"author": "TJ Holowaychuk <tj@learnboost.com>",

@@ -6,0 +6,0 @@ "browser": "browser.js",

@@ -126,3 +126,3 @@ # node-canvas

To create a `PNGStream` simply call `canvas.pngStream()`, and the stream will start to emit _data_ events, finally emitting _end_ when finished. If an exception occurs the _error_ event is emitted.
To create a `PNGStream` simply call `canvas.pngStream()`, and the stream will start to emit _data_ events, emitting _end_ when the data stream ends. If an exception occurs the _error_ event is emitted.

@@ -139,4 +139,8 @@ ```javascript

stream.on('end', function(){
console.log('saved png');
console.log('The PNG stream ended');
});
out.on('finish', function(){
console.log('The PNG file was created.');
});
```

@@ -143,0 +147,0 @@

@@ -8,2 +8,3 @@ var query = process.argv[2]

'/usr/lib',
'/usr/lib64',
'/usr/local/lib',

@@ -10,0 +11,0 @@ '/opt/local/lib',

Sorry, the diff of this file is not supported yet

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