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

canvas-5-polyfill

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

canvas-5-polyfill - npm Package Compare versions

Comparing version

to
0.1.4

5

canvasv5.js

@@ -12,2 +12,7 @@ /**

*/
var CanvasRenderingContext2D = CanvasRenderingContext2D;
if (CanvasRenderingContext2D == undefined) {
CanvasRenderingContext2D = require('canvas').Context2d;
}
if (CanvasRenderingContext2D.prototype.ellipse == undefined) {

@@ -14,0 +19,0 @@ CanvasRenderingContext2D.prototype.ellipse = function(x, y, radiusX, radiusY, rotation, startAngle, endAngle, antiClockwise) {

3

package.json
{
"name": "canvas-5-polyfill",
"version": "0.1.3",
"version": "0.1.4",
"description": "Polyfill for HTML 5 Canvas features.",
"main": "canvas.js",
"types": "./canvas.d.ts",
"directories": {

@@ -8,0 +7,0 @@ "test": "test"

Sorry, the diff of this file is too big to display