Socket
Socket
Sign inDemoInstall

@fishawack/lab-d3

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fishawack/lab-d3 - npm Package Compare versions

Comparing version 2.8.0 to 2.8.1

3

CHANGELOG.md
## Changelog
### 2.8.1 (2021-10-08)
* [Feature] Format can now be a function
### 2.8.0 (2021-03-09)

@@ -4,0 +7,0 @@ * [Feature] Can now have line breaks in text by adding <br> tags

2

package.json
{
"name": "@fishawack/lab-d3",
"version": "2.8.0",
"version": "2.8.1",
"description": "Abstract layer built on top of d3",

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

@@ -88,3 +88,3 @@ "use strict";

if (format) {
textObject[key] = d3.format(format)(textObject[key]);
textObject[key] = (typeof format === "function" ? format(d, key, textObject) : d3.format(format))(textObject[key]);
}

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