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

@types/d3-dsv

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

@types/d3-dsv - npm Package Compare versions

Comparing version 1.0.29 to 1.0.30

37

d3-dsv/index.d.ts

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

// Type definitions for D3JS d3-dsv module v1.0.1
// Type definitions for D3JS d3-dsv module 1.0
// Project: https://github.com/d3/d3-dsv/

@@ -19,3 +19,3 @@ // Definitions by: Tom Wanzek <https://github.com/tomwanzek>, Alex Ford <https://github.com/gustavderdrache>, Boris Yankov <https://github.com/borisyankov>

export interface DSVParsedArray<T> extends Array<T> {
columns: Array<string>;
columns: string[];
}

@@ -30,17 +30,16 @@

export function csvParse(csvString: string): DSVParsedArray<DSVRowString>;
export function csvParse<ParsedRow extends DSVRowAny>(csvString: string, row: (rawRow: DSVRowString, index: number, columns: Array<string>) => ParsedRow): DSVParsedArray<ParsedRow>;
export function csvParse<ParsedRow extends DSVRowAny>(csvString: string, row: (rawRow: DSVRowString, index: number, columns: string[]) => ParsedRow): DSVParsedArray<ParsedRow>;
// csvParseRows(...) ========================================================================
export function csvParseRows(csvString: string): Array<Array<string>>;
export function csvParseRows<ParsedRow extends DSVRowAny>(csvString: string, row: (rawRow: Array<string>, index: number) => ParsedRow): Array<ParsedRow>;
export function csvParseRows(csvString: string): string[][];
export function csvParseRows<ParsedRow extends DSVRowAny>(csvString: string, row: (rawRow: string[], index: number) => ParsedRow): ParsedRow[];
// csvFormat(...) ============================================================================
export function csvFormat(rows: Array<DSVRowAny>): string;
export function csvFormat(rows: Array<DSVRowAny>, columns: Array<string>): string;
export function csvFormat(rows: DSVRowAny[], columns?: string[]): string;
// csvFormatRows(...) ========================================================================
export function csvFormatRows(rows: Array<Array<string>>): string;
export function csvFormatRows(rows: string[][]): string;

@@ -54,17 +53,16 @@ // ------------------------------------------------------------------------------------------

export function tsvParse(tsvString: string): DSVParsedArray<DSVRowString>;
export function tsvParse<MappedRow extends DSVRowAny>(tsvString: string, row: (rawRow: DSVRowString, index: number, columns: Array<string>) => MappedRow): DSVParsedArray<MappedRow>;
export function tsvParse<MappedRow extends DSVRowAny>(tsvString: string, row: (rawRow: DSVRowString, index: number, columns: string[]) => MappedRow): DSVParsedArray<MappedRow>;
// tsvParseRows(...) ========================================================================
export function tsvParseRows(tsvString: string): Array<Array<string>>;
export function tsvParseRows<MappedRow extends DSVRowAny>(tsvString: string, row: (rawRow: Array<string>, index: number) => MappedRow): Array<MappedRow>;
export function tsvParseRows(tsvString: string): string[][];
export function tsvParseRows<MappedRow extends DSVRowAny>(tsvString: string, row: (rawRow: string[], index: number) => MappedRow): MappedRow[];
// tsvFormat(...) ============================================================================
export function tsvFormat(rows: Array<DSVRowAny>): string;
export function tsvFormat(rows: Array<DSVRowAny>, columns: Array<string>): string;
export function tsvFormat(rows: DSVRowAny[], columns?: string[]): string;
// tsvFormatRows(...) ========================================================================
export function tsvFormatRows(rows: Array<Array<string>>): string;
export function tsvFormatRows(rows: string[][]): string;

@@ -77,10 +75,9 @@ // ------------------------------------------------------------------------------------------

parse(dsvString: string): DSVParsedArray<DSVRowString>;
parse<ParsedRow extends DSVRowAny>(dsvString: string, row: (rawRow: DSVRowString, index: number, columns: Array<string>) => ParsedRow): DSVParsedArray<ParsedRow>;
parseRows(dsvString: string): Array<Array<string>>;
parseRows<ParsedRow extends DSVRowAny>(dsvString: string, row: (rawRow: Array<string>, index: number) => ParsedRow): Array<ParsedRow>;
format(rows: Array<DSVRowAny>): string;
format(rows: Array<DSVRowAny>, columns: Array<string>): string;
formatRows(rows: Array<Array<string>>): string;
parse<ParsedRow extends DSVRowAny>(dsvString: string, row: (rawRow: DSVRowString, index: number, columns: string[]) => ParsedRow): DSVParsedArray<ParsedRow>;
parseRows(dsvString: string): string[][];
parseRows<ParsedRow extends DSVRowAny>(dsvString: string, row: (rawRow: string[], index: number) => ParsedRow): ParsedRow[];
format(rows: DSVRowAny[], columns?: string[]): string;
formatRows(rows: string[][]): string;
}
export function dsvFormat(delimiter: string): DSV;
{
"name": "@types/d3-dsv",
"version": "1.0.29",
"description": "TypeScript definitions for D3JS d3-dsv module v1.0.1",
"version": "1.0.30",
"description": "TypeScript definitions for D3JS d3-dsv module",
"license": "MIT",
"author": "Tom Wanzek <https://github.com/tomwanzek>, Alex Ford <https://github.com/gustavderdrache>, Boris Yankov <https://github.com/borisyankov>",
"contributors": [
{
"name": "Tom Wanzek",
"url": "https://github.com/tomwanzek"
},
{
"name": "Alex Ford",
"url": "https://github.com/gustavderdrache"
},
{
"name": "Boris Yankov",
"url": "https://github.com/borisyankov"
}
],
"main": "",

@@ -14,4 +27,5 @@ "repository": {

"dependencies": {},
"typings": "index.d.ts",
"typesPublisherContentHash": "726793f912added66c60b2f68295d344701116876b91dad124bf950b539e834f"
"peerDependencies": {},
"typesPublisherContentHash": "a6abf9cec7250ea44ac96c963190d5e298d401ff8aba24ae9fad201191c6a40e",
"typeScriptVersion": "2.0"
}

@@ -5,12 +5,10 @@ # Installation

# Summary
This package contains type definitions for D3JS d3-dsv module v1.0.1 (https://github.com/d3/d3-dsv/).
This package contains type definitions for D3JS d3-dsv module (https://github.com/d3/d3-dsv/).
# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/d3-dsv
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/d3-dsv
Additional Details
* Last updated: Mon, 12 Sep 2016 18:59:59 GMT
* File structure: ProperModule
* Library Dependencies: none
* Module Dependencies: none
* Last updated: Thu, 23 Feb 2017 15:22:19 GMT
* Dependencies: none
* Global values: none

@@ -17,0 +15,0 @@

{
"authors": "Tom Wanzek <https://github.com/tomwanzek>, Alex Ford <https://github.com/gustavderdrache>, Boris Yankov <https://github.com/borisyankov>",
"definitionFilename": "index.d.ts",
"libraryDependencies": [],
"moduleDependencies": [],
"libraryMajorVersion": "1",
"libraryMinorVersion": "0",
"libraryName": "D3JS d3-dsv module v1.0.1",
"typingsPackageName": "d3-dsv",
"projectName": "https://github.com/d3/d3-dsv/",
"name": "d3-dsv",
"libraryName": "D3JS d3-dsv module",
"sourceRepoURL": "https://www.github.com/DefinitelyTyped/DefinitelyTyped",
"sourceBranch": "types-2.0",
"kind": "ProperModule",
"globals": [],
"declaredModules": [
"d3-dsv"
],
"files": [
"index.d.ts"
],
"hasPackageJson": false,
"contentHash": "726793f912added66c60b2f68295d344701116876b91dad124bf950b539e834f"
"data": {
"contributors": [
{
"name": "Tom Wanzek",
"url": "https://github.com/tomwanzek"
},
{
"name": "Alex Ford",
"url": "https://github.com/gustavderdrache"
},
{
"name": "Boris Yankov",
"url": "https://github.com/borisyankov"
}
],
"dependencies": {},
"pathMappings": {},
"libraryMajorVersion": 1,
"libraryMinorVersion": 0,
"typeScriptVersion": "2.0",
"libraryName": "D3JS d3-dsv module",
"typingsPackageName": "d3-dsv",
"projectName": "https://github.com/d3/d3-dsv/",
"sourceRepoURL": "https://www.github.com/DefinitelyTyped/DefinitelyTyped",
"globals": [],
"declaredModules": [
"d3-dsv/."
],
"files": [
"index.d.ts"
],
"hasPackageJson": false,
"contentHash": "a6abf9cec7250ea44ac96c963190d5e298d401ff8aba24ae9fad201191c6a40e"
},
"isLatest": true
}
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