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

dchart-core

Package Overview
Dependencies
Maintainers
1
Versions
284
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dchart-core - npm Package Compare versions

Comparing version 1.0.29 to 1.0.30

2

com/floatTag.js

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

function FloatTag(t,i,a){this.reset(),this.options={shape:"",content:"",customShape:null,pos:null},this.init(t,i,a),this._valid()}var _=require("../util"),Com=require("./index"),d3=require("d3");FloatTag=Com.extend(FloatTag,{_valid:function(){},renderSeries:function(){var t=this.options;this.el=this.el.append("g").attr({"class":"float-tag",opacity:0,transform:"translate("+t.pos[0]+", "+t.pos[1]+")"}),"function"==typeof t.customShape&&this.el.html(t.customShape.apply(this))},update:function(t,i){this.init(null,i),t&&this.data(t),this._valid(),this.valid||this.emit("error",{msg:this.msg}),i.customShape&&this.el.html(opt.customShape.apply(this)),this.updateSeries()},updateSeries:function(){this.options},show:function(t){var i=this.options,a=this.alloptions,s=this;this.el.attr({opacity:.1,transform:"translate("+i.pos[0]+", "+(i.pos[1]+10)+")"}).transition().duration(a.animatedTiming).ease(a.animatedEasing).attr({opacity:1,transform:"translate("+i.pos[0]+", "+i.pos[1]+")"}),t&&setTimeout(function(){t.call(s)},a.animatedTiming)},hide:function(t){var i=this.options,a=this.alloptions,s=this;this.el.attr({opacity:1,transform:"translate("+i.pos[0]+", "+i.pos[1]+")"}).transition().duration(a.animatedTiming).ease(a.animatedEasing).attr({opacity:0,transform:"translate("+i.pos[0]+", "+(i.pos[1]+10)+")"}),t&&setTimeout(function(){t.call(s)},a.animatedTiming)}}),module.exports=FloatTag;
function FloatTag(t,i,a){this.reset(),this.options={shape:"",content:"",customShape:null,pos:null},this.init(t,i,a),this._valid()}var _=require("../util"),Com=require("./index"),d3=require("d3");FloatTag=Com.extend(FloatTag,{_valid:function(){},renderSeries:function(){var t=this.options;this.el=this.el.append("g").attr({"class":"float-tag",opacity:0,transform:"translate("+t.pos[0]+", "+t.pos[1]+")"}),"function"==typeof t.customShape&&this.el.html(t.customShape.apply(this))},update:function(t,i){this.init(null,i),t&&this.data(t),this._valid(),this.valid||this.emit("error",{msg:this.msg});var a=this.options;"function"==typeof i.customShape&&this.el.html(a.customShape.apply(this)),this.updateSeries()},updateSeries:function(){},show:function(t){var i=this.options,a=this.alloptions,s=this;this.el.attr({opacity:.1,transform:"translate("+i.pos[0]+", "+(i.pos[1]+10)+")"}).transition().duration(a.animatedTiming).ease(a.animatedEasing).attr({opacity:1,transform:"translate("+i.pos[0]+", "+i.pos[1]+")"}),t&&setTimeout(function(){t.call(s)},a.animatedTiming)},hide:function(t){var i=this.options,a=this.alloptions,s=this;this.el.attr({opacity:1,transform:"translate("+i.pos[0]+", "+i.pos[1]+")"}).transition().duration(a.animatedTiming).ease(a.animatedEasing).attr({opacity:0,transform:"translate("+i.pos[0]+", "+(i.pos[1]+10)+")"}),t&&setTimeout(function(){t.call(s)},a.animatedTiming)}}),module.exports=FloatTag;
{
"name": "dchart-core",
"version": "1.0.29",
"version": "1.0.30",
"description": "",

@@ -5,0 +5,0 @@ "scripts": {

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