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

@d3fc/d3fc-data-join

Package Overview
Dependencies
Maintainers
3
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@d3fc/d3fc-data-join - npm Package Compare versions

Comparing version 5.0.5 to 5.0.6

10

build/d3fc-data-join.js

@@ -56,9 +56,9 @@ (function (global, factory) {

if (transition) {
update = update.transition(transition);
enter.style('opacity', effectivelyZero).transition(transition).style('opacity', 1);
exit = exit.transition(transition).style('opacity', effectivelyZero).remove();
} else {
exit.remove();
update = update.transition(transition).style('opacity', 1);
enter.style('opacity', effectivelyZero);
exit = exit.transition(transition).style('opacity', effectivelyZero);
}
exit.remove();
update.enter = function () {

@@ -65,0 +65,0 @@ return enter;

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

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("d3-selection")):"function"==typeof define&&define.amd?define(["exports","d3-selection"],t):t(e.fc=e.fc||{},e.d3)}(this,function(e,t){"use strict";var n=function(e,t){e=e||"g";var n=function(e,t){return t},r=null,i=function(i,o){o=o||function(e){return e};var u=i.selection?i:null;u&&(i=i.selection());var l=i.selectAll(function(e,t,n){return Array.from(n[t].childNodes).filter(function(e){return 1===e.nodeType})}).filter(null==t?e:e+"."+t),c=l.data(o,n),f=c.enter().append(e).attr("class",t),a=c.exit();c=c.merge(f);var s=u||r;return s?(c=c.transition(s),f.style("opacity",1e-6).transition(s).style("opacity",1),a=a.transition(s).style("opacity",1e-6).remove()):a.remove(),c.enter=function(){return f},c.exit=function(){return a},c};return i.element=function(){return arguments.length?(e=arguments.length<=0?void 0:arguments[0],i):e},i.className=function(){return arguments.length?(t=arguments.length<=0?void 0:arguments[0],i):t},i.key=function(){return arguments.length?(n=arguments.length<=0?void 0:arguments[0],i):n},i.transition=function(){return arguments.length?(r=arguments.length<=0?void 0:arguments[0],i):r},i};e.dataJoin=n,e.effectivelyZero=1e-6,Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("d3-selection")):"function"==typeof define&&define.amd?define(["exports","d3-selection"],t):t(e.fc=e.fc||{},e.d3)}(this,function(e,t){"use strict";var n=function(e,t){e=e||"g";var n=function(e,t){return t},r=null,i=function(i,o){o=o||function(e){return e};var u=i.selection?i:null;u&&(i=i.selection());var l=i.selectAll(function(e,t,n){return Array.from(n[t].childNodes).filter(function(e){return 1===e.nodeType})}).filter(null==t?e:e+"."+t),c=l.data(o,n),f=c.enter().append(e).attr("class",t),a=c.exit();c=c.merge(f);var s=u||r;return s&&(c=c.transition(s).style("opacity",1),f.style("opacity",1e-6),a=a.transition(s).style("opacity",1e-6)),a.remove(),c.enter=function(){return f},c.exit=function(){return a},c};return i.element=function(){return arguments.length?(e=arguments.length<=0?void 0:arguments[0],i):e},i.className=function(){return arguments.length?(t=arguments.length<=0?void 0:arguments[0],i):t},i.key=function(){return arguments.length?(n=arguments.length<=0?void 0:arguments[0],i):n},i.transition=function(){return arguments.length?(r=arguments.length<=0?void 0:arguments[0],i):r},i};e.dataJoin=n,e.effectivelyZero=1e-6,Object.defineProperty(e,"__esModule",{value:!0})});

@@ -6,2 +6,14 @@ # Change Log

<a name="5.0.6"></a>
## [5.0.6](https://github.com/d3fc/d3fc/compare/@d3fc/d3fc-data-join@5.0.5...@d3fc/d3fc-data-join@5.0.6) (2018-08-29)
### Bug Fixes
* sub-transition interval redraws hide nodes ([180a242](https://github.com/d3fc/d3fc/commit/180a242)), closes [#1164](https://github.com/d3fc/d3fc/issues/1164)
* use single d3 reference for bundleSpecs ([3d0a47e](https://github.com/d3fc/d3fc/commit/3d0a47e))
<a name="5.0.5"></a>

@@ -8,0 +20,0 @@ ## [5.0.5](https://github.com/d3fc/d3fc/compare/@d3fc/d3fc-data-join@5.0.4...@d3fc/d3fc-data-join@5.0.5) (2018-08-21)

{
"name": "@d3fc/d3fc-data-join",
"version": "5.0.5",
"version": "5.0.6",
"description": "A component that simplifies the D3 data join and supports the d3fc decorate pattern",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -50,13 +50,11 @@ import { select, selection } from 'd3-selection';

if (transition) {
update = update.transition(transition);
enter.style('opacity', effectivelyZero)
.transition(transition)
update = update.transition(transition)
.style('opacity', 1);
enter.style('opacity', effectivelyZero);
exit = exit.transition(transition)
.style('opacity', effectivelyZero)
.remove();
} else {
exit.remove();
.style('opacity', effectivelyZero);
}
exit.remove();
update.enter = () => enter;

@@ -63,0 +61,0 @@ update.exit = () => exit;

@@ -11,3 +11,3 @@ import jsdom from 'jsdom';

scripts: [
require.resolve('d3-selection'),
require.resolve('d3/dist/d3.js'),
require.resolve('..')

@@ -30,9 +30,3 @@ ],

scripts: [
require.resolve('d3-selection'),
require.resolve('d3-color'),
require.resolve('d3-dispatch'),
require.resolve('d3-ease'),
require.resolve('d3-interpolate'),
require.resolve('d3-timer'),
require.resolve('d3-transition'),
require.resolve('d3/dist/d3.js'),
require.resolve('..')

@@ -39,0 +33,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