Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@code-not-art/core

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@code-not-art/core - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

2

package.json
{
"name": "@code-not-art/core",
"version": "0.4.0",
"version": "0.4.1",
"description": "HTML 5 Canvas Drawing Library",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -109,5 +109,7 @@ import Vec2 from '../math/Vec2';

}) {
const { start, end, stroke, fill } = inputs;
this.context.beginPath();
this.context.lineTo(inputs.start.x, inputs.start.y);
this.draw(inputs.stroke, inputs.fill);
this.context.moveTo(start.x, start.y);
this.context.lineTo(end.x, end.y);
this.draw(stroke, fill);
}

@@ -114,0 +116,0 @@

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