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.1.0 to 1.2.0

57

d3-dsv/index.d.ts

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

// Type definitions for D3JS d3-dsv module 1.1
// Type definitions for D3JS d3-dsv module 1.2
// Project: https://github.com/d3/d3-dsv/, https://d3js.org/d3-dsv

@@ -11,3 +11,3 @@ // Definitions by: Tom Wanzek <https://github.com/tomwanzek>

// Last module patch version validated against: 1.1.2
// Last module patch version validated against: 1.2.0

@@ -187,2 +187,20 @@ // ------------------------------------------------------------------------------------------

// csvFormatRow(...) ========================================================================
/**
* Equivalent to dsvFormat(",").formatRow.
*
* @param row An array of strings representing a row.
*/
export function csvFormatRow(row: string[]): string;
// csvFormatValue(...) ========================================================================
/**
* Equivalent to dsvFormat(",").formatValue.
*
* @param value A value.
*/
export function csvFormatValue(value: string): string;
// ------------------------------------------------------------------------------------------

@@ -309,2 +327,20 @@ // TSV Parsers and Formatters

// tsvFormatRow(...) ========================================================================
/**
* Equivalent to dsvFormat("\t").formatRow.
*
* @param row An array of strings representing a row.
*/
export function tsvFormatRow(row: string[]): string;
// tsvFormatValue(...) ========================================================================
/**
* Equivalent to dsvFormat("\t").formatValue.
*
* @param value A value.
*/
export function tsvFormatValue(value: string): string;
// ------------------------------------------------------------------------------------------

@@ -413,2 +449,19 @@ // DSV Generalized Parsers and Formatters

formatRows(rows: string[][]): string;
/**
* Formats a single array row of strings as delimiter-separated values, returning a string.
* Each column within the row will be separated by the delimiter (such as a comma, ,).
* Values that contain either the delimiter, a double-quote (") or a newline will be escaped using double-quotes.
*
* @param row An array of strings representing a row.
*/
formatRow(row: string[]): string;
/**
* Format a single value or string as a delimiter-separated value, returning a string.
* A value that contains either the delimiter, a double-quote (") or a newline will be escaped using double-quotes.
*
* @param value A value.
*/
formatValue(value: string): string;
}

@@ -415,0 +468,0 @@

4

d3-dsv/package.json
{
"name": "@types/d3-dsv",
"version": "1.1.0",
"version": "1.2.0",
"description": "TypeScript definitions for D3JS d3-dsv module",

@@ -42,4 +42,4 @@ "license": "MIT",

"dependencies": {},
"typesPublisherContentHash": "191e0182ab9118171350509a5899f79bbbab9ea58154a54cb96a6f1cb4386d11",
"typesPublisherContentHash": "af136def3285db390155161ca4520fee5f22cbce7c12a8bcfb58960ff59746d0",
"typeScriptVersion": "3.2"
}

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

### Additional Details
* Last updated: Tue, 29 Sep 2020 22:54:46 GMT
* Last updated: Wed, 30 Sep 2020 21:08:21 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