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

@gush/candybar

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gush/candybar - npm Package Compare versions

Comparing version 0.0.0-alpha25 to 0.0.0-alpha26

.travis.yml

23

dist/index.js

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

var Segment = function Segment(p1, p2) {
classCallCheck(this, Segment);
this.p1 = p1;
this.p2 = p2;
// alias
this.a = this.p1;
this.b = this.p2;
//
this.points = [this.p1, this.p2];
var tl = new Point(Math.min(p1.x, p2.x), Math.min(p1.y, p2.y));
var br = new Point(Math.max(p1.x, p2.x), Math.max(p1.y, p2.y));
var _tl$delta = tl.delta(br),
_tl$delta2 = slicedToArray(_tl$delta, 2),
dx = _tl$delta2[0],
dy = _tl$delta2[1];
this.bounds = new Bounds(tl.x, tl.y, dx, dy);
};
var Velocity = function () {

@@ -619,2 +641,3 @@ function Velocity(vx, vy) {

Pointer: Pointer,
Segment: Segment,
Velocity: Velocity,

@@ -621,0 +644,0 @@ utils: utils

2

package.json
{
"name": "@gush/candybar",
"version": "0.0.0-alpha25",
"version": "0.0.0-alpha26",
"description": "🍫",

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

@@ -1,2 +0,2 @@

# Candybar 🍫
# Candybar 🍫 [![Build Status](https://travis-ci.org/gushers/candybar.svg?branch=master)](https://travis-ci.org/gushers/candybar)

@@ -3,0 +3,0 @@ A simple `<canvas>` rendering engine and collection of classes and utils. And by "engine" I mean about as advanced as a broken scooter 🛴

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