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

@d3fc/d3fc-element

Package Overview
Dependencies
Maintainers
3
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@d3fc/d3fc-element - npm Package Compare versions

Comparing version 6.1.1 to 6.1.2

11

CHANGELOG.md

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

## [6.1.2](https://github.com/d3fc/d3fc/compare/@d3fc/d3fc-element@6.1.1...@d3fc/d3fc-element@6.1.2) (2020-09-23)
### Bug Fixes
* d3v6 removal of d3.event ([6c14c8e](https://github.com/d3fc/d3fc/commit/6c14c8e))
## [6.1.1](https://github.com/d3fc/d3fc/compare/@d3fc/d3fc-element@6.1.0...@d3fc/d3fc-element@6.1.1) (2020-09-07)

@@ -8,0 +19,0 @@

4

package.json
{
"name": "@d3fc/d3fc-element",
"version": "6.1.1",
"version": "6.1.2",
"description": "Custom HTML elements that make it easier to create responsive visualisations that integrate easily with other UI frameworks (e.g. React, Angular)",

@@ -25,3 +25,3 @@ "license": "MIT",

},
"gitHead": "5b479d30c3370ccb6cf0edfd7544d4c76044180d"
"gitHead": "a7f1db4d1fd44f696c7ead067284851953c18e6c"
}

@@ -45,8 +45,8 @@ # d3fc-element

const xAxisContainer = d3.select('#x-axis')
.on('measure', () => {
const { width } = d3.event.detail;
.on('measure', (event) => {
const { width } = event.detail;
xScale.range([0, width]);
})
.on('draw', (d, i, nodes) => {
d3.select(nodes[i])
.on('draw', (event) => {
d3.select(event.currentTarget)
.select('svg')

@@ -53,0 +53,0 @@ .call(xAxis);

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