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

lr-core

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lr-core - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

12

line-rider-engine/lines/Line.js

@@ -24,2 +24,14 @@ 'use strict';

get x1() {
return this.p1.x;
}
get y1() {
return this.p1.y;
}
get x2() {
return this.p2.x;
}
get y2() {
return this.p2.y;
}
get vec() {

@@ -26,0 +38,0 @@ return (0, _v2.default)(this.p2).sub(this.p1);

2

package.json
{
"name": "lr-core",
"version": "0.4.0",
"version": "0.4.1",
"description": "Line Rider core library",

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

@@ -14,2 +14,14 @@ import V2 from '../../v2'

get x1 () {
return this.p1.x
}
get y1 () {
return this.p1.y
}
get x2 () {
return this.p2.x
}
get y2 () {
return this.p2.y
}
get vec () {

@@ -16,0 +28,0 @@ return V2(this.p2).sub(this.p1)

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