Socket
Socket
Sign inDemoInstall

@types/d3-array

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/d3-array - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

15

d3-array/index.d.ts

@@ -9,5 +9,6 @@ // Type definitions for D3JS d3-array module 3.0

// Nathan Bierema <https://github.com/Methuselah96>
// Fil <https://github.com/Fil>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Last module patch version validated against: 3.1.0
// Last module patch version validated against: 3.1.6

@@ -239,5 +240,6 @@ // --------------------------------------------------------------------------

/**
* Returns an array with the rank of each value in the iterable, i.e. the index of the value when the iterable is sorted.
* Returns an array with the rank of each value in the iterable, i.e. the zero-based index of the value when the iterable is sorted.
* Nullish values are sorted to the end and ranked NaN.
* An optional accessor function may be specified, which is equivalent to calling array.map(accessor) before computing the ranks.
* An optional comparator or accessor function may be specified; the latter is equivalent to calling array.map(accessor) before computing the ranks.
* If comparator is not specified, it defaults to ascending.
* Ties (equivalent values) all get the same rank, defined as the first time the value is found.

@@ -247,5 +249,6 @@ */

/**
* Returns an array with the rank of each value in the iterable, i.e. the index of the value when the iterable is sorted.
* Returns an array with the rank of each value in the iterable, i.e. the zero-based index of the value when the iterable is sorted.
* Nullish values are sorted to the end and ranked NaN.
* An optional accessor function may be specified, which is equivalent to calling array.map(accessor) before computing the ranks.
* An optional comparator or accessor function may be specified; the latter is equivalent to calling array.map(accessor) before computing the ranks.
* If comparator is not specified, it defaults to ascending.
* Ties (equivalent values) all get the same rank, defined as the first time the value is found.

@@ -255,3 +258,3 @@ */

iterable: Iterable<T>,
accessor: (datum: T, index: number, array: Iterable<T>) => number | undefined | null
accessorOrComparator: ((datum: T, index: number, array: Iterable<T>) => number | undefined | null) | ((a: T, b: T) => number | undefined | null)
): Float64Array;

@@ -258,0 +261,0 @@

11

d3-array/package.json
{
"name": "@types/d3-array",
"version": "3.0.2",
"version": "3.0.3",
"description": "TypeScript definitions for D3JS d3-array module",

@@ -37,2 +37,7 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/d3-array",

"githubUsername": "Methuselah96"
},
{
"name": "Fil",
"url": "https://github.com/Fil",
"githubUsername": "Fil"
}

@@ -49,4 +54,4 @@ ],

"dependencies": {},
"typesPublisherContentHash": "500505ca2f93e80860b11f653cddf19cc9d9ec7781b4a50badccc7a25a4141c2",
"typeScriptVersion": "3.7"
"typesPublisherContentHash": "d7f44f0e45c0060bf95815c76f2ad01439be213f514a5041003aa1905d4db7fb",
"typeScriptVersion": "3.9"
}

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

### Additional Details
* Last updated: Tue, 19 Oct 2021 20:01:24 GMT
* Last updated: Sun, 22 May 2022 15:31:37 GMT
* Dependencies: none

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by [Alex Ford](https://github.com/gustavderdrache), [Boris Yankov](https://github.com/borisyankov), [Tom Wanzek](https://github.com/tomwanzek), [denisname](https://github.com/denisname), [Hugues Stefanski](https://github.com/ledragon), and [Nathan Bierema](https://github.com/Methuselah96).
These definitions were written by [Alex Ford](https://github.com/gustavderdrache), [Boris Yankov](https://github.com/borisyankov), [Tom Wanzek](https://github.com/tomwanzek), [denisname](https://github.com/denisname), [Hugues Stefanski](https://github.com/ledragon), [Nathan Bierema](https://github.com/Methuselah96), and [Fil](https://github.com/Fil).
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