Comparing version 0.8.0 to 0.8.4
@@ -1,6 +0,6 @@ | ||
{ | ||
"name": "fabric", | ||
"description": "Object model for HTML5 canvas, and SVG-to-canvas parser. Backed by jsdom and node-canvas.", | ||
"version": "0.8.0", | ||
"author": "Juriy Zaytsev <kangax@gmail.com>", | ||
{ | ||
"name": "fabric", | ||
"description": "Object model for HTML5 canvas, and SVG-to-canvas parser. Backed by jsdom and node-canvas.", | ||
"version": "0.8.4", | ||
"author": "Juriy Zaytsev <kangax@gmail.com>", | ||
"keywords": ["canvas", "graphic", "graphics", "SVG", "node-canvas", "parser", "HTML5", "object model"], | ||
@@ -14,10 +14,10 @@ "repository": "git://github.com/kangax/fabric.js", | ||
"build": "node build.js modules=ALL" | ||
}, | ||
}, | ||
"dependencies": { | ||
"canvas": ">=0.8.1", | ||
"jsdom": ">=0.2.3", | ||
"o3-xml": "0.1.0" | ||
}, | ||
"engines": { "node": ">= 0.4.0 && <= 0.6.8" }, | ||
"main": "./dist/all.js" | ||
"jsdom": ">=0.2.3", | ||
"xmldom": ">=0.1.7" | ||
}, | ||
"engines": { "node": ">= 0.4.0 && <= 0.6.18" }, | ||
"main": "./dist/all.js" | ||
} |
@@ -48,3 +48,3 @@ **Fabric.js** is a framework that makes it easy to work with HTML5 canvas element. It is an **interactive object model** on top of canvas element. It is also an **SVG-to-canvas parser**. | ||
- Or build a custom distribution file, by passing (comma separated) module names to be included.<br> | ||
$ node build.js modules=text,serialization,parser | ||
@@ -56,13 +56,13 @@ // or | ||
// etc. | ||
By default (when none of the modules are specified) only basic functionality is included. | ||
By default (when none of the modules are specified) only basic functionality is included. | ||
See the list of modules below for more information on each one of them. | ||
Note that default distribution has support for **static canvases** only. | ||
To get minimal distribution with interactivity, make sure to include corresponding module: | ||
$ node build.js modules=interaction | ||
- You can also include all modules like so: | ||
$ node build.js modules=ALL | ||
@@ -74,3 +74,3 @@ | ||
$ node build.js modules=... minifier=yui | ||
# or Google Closure Compiler | ||
@@ -104,2 +104,3 @@ $ node build.js modules=... minifier=closure | ||
- **image_filters** — Adds support for image filters, such as grayscale of white removal. | ||
- **easing** - Adds support for animation easing functions | ||
- **node** — Adds support for running fabric under node.js, with help of [jsdom](https://github.com/tmpvar/jsdom) and [node-canvas](https://github.com/learnboost/node-canvas) libraries. | ||
@@ -110,7 +111,7 @@ | ||
#### Adding red rectangle to canvas | ||
<canvas id="canvas" width="300" height="300"></canvas> | ||
... | ||
var canvas = new fabric.Canvas('canvas'); | ||
var rect = new fabric.Rect({ | ||
@@ -123,3 +124,3 @@ top: 100, | ||
}); | ||
canvas.add(rect); | ||
@@ -136,7 +137,7 @@ | ||
- [Sergey Nisnevich](http://nisnya.com) for help with geometry logic. | ||
- Github contributors: @Kingsquare, @cleercode, @jarek-itmore, @sunrei, @khronnuz | ||
- Github contributors: @Kingsquare, @cleercode, @jarek-itmore, @sunrei, @khronnuz, @ollym | ||
### MIT License | ||
Copyright (c) 2008-2012 Bitsonnet | ||
Copyright (c) 2008-2012 Printio (Juriy Zaytsev, Maxim Chernyak) | ||
@@ -143,0 +144,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
588730
11
11366
150
0
3
+ Addedxmldom@>=0.1.7
+ Addedxmldom@0.6.0(transitive)
- Removedo3-xml@0.1.0
- Removedo3-xml@0.1.0(transitive)