Socket
Socket
Sign inDemoInstall

canvas-animation-loader

Package Overview
Dependencies
97
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.2 to 0.0.3

5

index.js

@@ -36,11 +36,8 @@ var canvas = require('canvas');

console.log(n * interval);
n += 1;
}
console.log(duration);
icon.render(ctx, duration);
return "module.exports = " + JSON.stringify(ctx.getSvg().outerHTML) + ";";
return ctx.getSvg().outerHTML;
};

6

package.json
{
"name": "canvas-animation-loader",
"version": "0.0.2",
"version": "0.0.3",
"description": "webpack loader for canvas animations",

@@ -12,6 +12,8 @@ "main": "index.js",

"jsdom": "^3.0.0",
"canvas": "latest",
"canvas2svg-conradirwin":"latest",
"loader-utils":"latest"
},
"peerDependencies": {
"canvas": "^1.2.8"
},
"keywords": [

@@ -18,0 +20,0 @@ "webpack",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc