Comparing version 0.10.1 to 0.10.2
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 @@ ================== |
@@ -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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
3001937
103
4045
4
20