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

d3-layout-orbit

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

d3-layout-orbit - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

13

d3.layout.orbit.js

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

d3.layout.orbit = function() {
d3.orbit = function() {
var currentTickStep = 0;

@@ -59,3 +59,3 @@ var orbitNodes;

})
orbitDispatch.tick();
orbitDispatch.call('tick');
},

@@ -120,3 +120,6 @@ 10);

d3.rebind(_orbitLayout, orbitDispatch, "on");
_orbitLayout.on = function() {
var value = orbitDispatch.on.apply(orbitDispatch, arguments);
return value === orbitDispatch ? _orbitLayout : value;
};

@@ -188,3 +191,3 @@ return _orbitLayout;

var thisPie = d3.layout.pie().value(function(d) {return childrenAccessor(d) ? 4 : 1});
var thisPie = d3.pie().value(function(d) {return childrenAccessor(d) ? 4 : 1});
var piedValues = thisPie(childrenAccessor(_node).filter(function(d,i) {return i >= y && i <= y+ringSize-1}));

@@ -215,2 +218,2 @@

}
}
var d3 = require('d3');
d3.layout.orbit = require('./src/orbit');
d3.orbit = require('./src/orbit');
module.exports = d3;
module.exports = d3;
{
"name": "d3-layout-orbit",
"version": "1.0.1",
"version": "1.0.2",
"description": "A layout that represents hierarchical data as a series of nested orbits",

@@ -16,8 +16,6 @@ "main": "index.js",

"dependencies": {
"d3": "^3.5.6"
"d3": "^4.10.2"
},
"devDependencies": {
},
"scripts": {
},
"devDependencies": {},
"scripts": {},
"repository": {

@@ -36,2 +34,2 @@ "type": "git",

"homepage": "https://github.com/emeeks/d3.layout.orbit"
}
}

@@ -59,3 +59,3 @@ module.exports = function() {

})
orbitDispatch.tick();
orbitDispatch.call("tick");
},

@@ -120,3 +120,6 @@ 10);

d3.rebind(_orbitLayout, orbitDispatch, "on");
_orbitLayout.on = function() {
var value = orbitDispatch.on.apply(orbitDispatch, arguments);
return value === orbitDispatch ? _orbitLayout : value;
};

@@ -188,3 +191,3 @@ return _orbitLayout;

var thisPie = d3.layout.pie().value(function(d) {return childrenAccessor(d) ? 4 : 1});
var thisPie = d3.pie().value(function(d) {return childrenAccessor(d) ? 4 : 1});
var piedValues = thisPie(childrenAccessor(_node).filter(function(d,i) {return i >= y && i <= y+ringSize-1}));

@@ -215,2 +218,2 @@

}
}
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