Socket
Socket
Sign inDemoInstall

canvas

Package Overview
Dependencies
Maintainers
1
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 0.10.1 to 0.10.2

testing/images/icons/button-arrow.png

6

History.md
0.10.2 / 2012-02-06
==================
* Fixed: Context2d setters with invalid values ignored
* Changed: replaced seek with `fstat()`
0.10.1 / 2012-01-31

@@ -3,0 +9,0 @@ ==================

2

lib/canvas.js

@@ -32,3 +32,3 @@

exports.version = '0.10.1';
exports.version = '0.10.2';

@@ -35,0 +35,0 @@ /**

@@ -168,2 +168,3 @@

Context2d.prototype.__defineSetter__('fillStyle', function(val){
if (!val) return;
if ('CanvasGradient' == val.constructor.name

@@ -196,2 +197,3 @@ || 'CanvasPattern' == val.constructor.name) {

Context2d.prototype.__defineSetter__('strokeStyle', function(val){
if (!val) return;
if ('CanvasGradient' == val.constructor.name

@@ -226,2 +228,3 @@ || 'CanvasPattern' == val.constructor.name) {

Context2d.prototype.__defineSetter__('font', function(val){
if (!val) return;
if ('string' == typeof val) {

@@ -258,2 +261,3 @@ var font;

Context2d.prototype.__defineSetter__('textBaseline', function(val){
if (!val) return;
var n = baselines.indexOf(val);

@@ -260,0 +264,0 @@ if (~n) {

{ "name": "canvas"
, "description": "Canvas graphics API backed by Cairo"
, "version": "0.10.1"
, "version": "0.10.2"
, "author": "TJ Holowaychuk <tj@learnboost.com>"
, "keywords": ["canvas", "graphic", "graphics", "pixman", "cairo", "image", "images"]
, "homepage": "https://github.com/learnboost/node-canvas"
, "homepage": "https://github.com/learnboost/node-canvas"
, "repository": "git://github.com/learnboost/node-canvas"

@@ -12,3 +12,3 @@ , "scripts": {

, "devDependencies": {
"express": "2.3.7"
"express": ">= 2.3.7 && < 3.0.0"
, "jade": "0.11.0"

@@ -15,0 +15,0 @@ , "mocha": "*"

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