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

juijs-graph

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

juijs-graph - npm Package Compare versions

Comparing version 0.2.7-es6 to 0.2.8-es6

2

bundles/index.js

@@ -189,3 +189,3 @@ import jui from '../src/main.js'

const animation = jui.include("chart.animation");
const c = animation("#chart", {
window.c = animation("#chart", {
width: 500,

@@ -192,0 +192,0 @@ height: 300,

{
"name": "juijs-graph",
"version": "0.2.7-es6",
"version": "0.2.8-es6",
"sideEffects": false,

@@ -5,0 +5,0 @@ "description": "SVG-based JUI chart that can be used in the browser and Node.js. Support many types of charts. (Dashboard, Map, Topology, Full 3D)",

@@ -15,2 +15,3 @@ import JUI from "juijs"

let interval,
animateSeq = -1,
prevTime = 0,

@@ -56,3 +57,4 @@ startTime = 0;

const self = this;
this.animateFunc = window.requestAnimationFrame(function() {
animateSeq = requestAnimationFrame(function() {
self.run(callback);

@@ -64,5 +66,5 @@ });

this.stop = function() {
if(typeof(this.animateFunc) == "function") {
cancelAnimationFrame(this.animateFunc);
this.animateFunc = null;
if(animateSeq != -1) {
cancelAnimationFrame(animateSeq);
animateSeq = -1;
}

@@ -69,0 +71,0 @@ }

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

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