Socket
Socket
Sign inDemoInstall

@types/d3-format

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/d3-format - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

28

d3-format v1.4/index.d.ts

@@ -36,15 +36,15 @@ // Type definitions for D3JS d3-format module 1.4

*/
numerals?: string[];
numerals?: string[] | undefined;
/**
* An optional symbol to replace the `percent` suffix; the percent suffix (defaults to "%").
*/
percent?: string;
percent?: string | undefined;
/**
* Optional; the minus sign (defaults to hyphen-minus, "-").
*/
minus?: string;
minus?: string | undefined;
/**
* Optional; the not-a-number value (defaults `"NaN"`).
*/
nan?: string;
nan?: string | undefined;
}

@@ -87,3 +87,3 @@

*/
fill?: string;
fill?: string | undefined;
/**

@@ -97,3 +97,3 @@ * Alignment used for format, as set by choosing one of the following:

*/
align?: string;
align?: string | undefined;
/**

@@ -108,3 +108,3 @@ * The sign can be:

*/
sign?: string;
sign?: string | undefined;
/**

@@ -117,7 +117,7 @@ * The symbol can be:

*/
symbol?: string;
symbol?: string | undefined;
/**
* The zero (0) option enables zero-padding; this implicitly sets fill to 0 and align to =.
*/
zero?: string;
zero?: string | undefined;
/**

@@ -127,7 +127,7 @@ * The width defines the minimum field width;

*/
width?: string;
width?: string | undefined;
/**
* The comma (,) option enables the use of a group separator, such as a comma for thousands.
*/
comma?: string;
comma?: string | undefined;
/**

@@ -141,3 +141,3 @@ * Depending on the type, the precision either indicates the number of digits that follow the decimal point (types 'f' and '%'),

*/
precision?: string;
precision?: string | undefined;
/**

@@ -147,3 +147,3 @@ * The '~' option trims insignificant trailing zeros across all format types.

*/
trim?: string;
trim?: string | undefined;
/**

@@ -170,3 +170,3 @@ * The available type values are:

*/
type?: string;
type?: string | undefined;
}

@@ -173,0 +173,0 @@

{
"name": "@types/d3-format",
"version": "1.4.1",
"version": "1.4.2",
"description": "TypeScript definitions for D3JS d3-format module",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/d3-format",
"license": "MIT",

@@ -42,4 +43,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "0c19d7177f3818e8bf4c709ca7a7158171f68a4c8999b7df42326fce25262f0f",
"typeScriptVersion": "3.2"
"typesPublisherContentHash": "2c662d50439378bce5e079fef292443184e4d0b3992aacd6db937ebb5bc3e12a",
"typeScriptVersion": "3.6"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Wed, 30 Sep 2020 20:01:29 GMT
* Last updated: Tue, 06 Jul 2021 20:32:38 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: none

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