mirror of
https://github.com/denoland/std.git
synced 2024-11-21 20:50:22 +00:00
BREAKING(csv): remove csv
from module names (#5172)
* BREAKING(csv): move modules `csv-stringify-stream` to `stringify-stream` and `csv-parse-stream` to `parse-stream` * fix
This commit is contained in:
parent
9bcec15d1e
commit
dc3154c948
@ -3,9 +3,9 @@
|
||||
"version": "1.0.0-rc.1",
|
||||
"exports": {
|
||||
".": "./mod.ts",
|
||||
"./csv-parse-stream": "./csv_parse_stream.ts",
|
||||
"./csv-stringify-stream": "./csv_stringify_stream.ts",
|
||||
"./parse": "./parse.ts",
|
||||
"./stringify": "./stringify.ts"
|
||||
"./parse-stream": "./parse_stream.ts",
|
||||
"./stringify": "./stringify.ts",
|
||||
"./stringify-stream": "./stringify_stream.ts"
|
||||
}
|
||||
}
|
||||
|
@ -75,7 +75,7 @@
|
||||
* @module
|
||||
*/
|
||||
|
||||
export * from "./stringify.ts";
|
||||
export * from "./parse.ts";
|
||||
export * from "./csv_parse_stream.ts";
|
||||
export * from "./csv_stringify_stream.ts";
|
||||
export * from "./parse_stream.ts";
|
||||
export * from "./stringify.ts";
|
||||
export * from "./stringify_stream.ts";
|
||||
|
@ -108,7 +108,7 @@ export type RowType<T> = T extends undefined ? string[]
|
||||
*
|
||||
* @example Usage
|
||||
* ```ts no-assert
|
||||
* import { CsvParseStream } from "@std/csv/csv-parse-stream";
|
||||
* import { CsvParseStream } from "@std/csv/parse-stream";
|
||||
*
|
||||
* const source = ReadableStream.from([
|
||||
* "name,age",
|
||||
@ -139,7 +139,7 @@ export class CsvParseStream<
|
||||
*
|
||||
* @example Usage
|
||||
* ```ts no-assert
|
||||
* import { CsvParseStream } from "@std/csv/csv-parse-stream";
|
||||
* import { CsvParseStream } from "@std/csv/parse-stream";
|
||||
*
|
||||
* const source = ReadableStream.from([
|
||||
* "name,age",
|
||||
@ -232,7 +232,7 @@ export class CsvParseStream<
|
||||
*
|
||||
* @example Usage
|
||||
* ```ts no-assert
|
||||
* import { CsvParseStream } from "@std/csv/csv-parse-stream";
|
||||
* import { CsvParseStream } from "@std/csv/parse-stream";
|
||||
*
|
||||
* const source = ReadableStream.from([
|
||||
* "name,age",
|
||||
@ -258,7 +258,7 @@ export class CsvParseStream<
|
||||
*
|
||||
* @example Usage
|
||||
* ```ts no-assert
|
||||
* import { CsvParseStream } from "@std/csv/csv-parse-stream";
|
||||
* import { CsvParseStream } from "@std/csv/parse-stream";
|
||||
*
|
||||
* const source = ReadableStream.from([
|
||||
* "name,age",
|
@ -1,6 +1,6 @@
|
||||
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
||||
import { CsvParseStream } from "./csv_parse_stream.ts";
|
||||
import type { CsvParseStreamOptions } from "./csv_parse_stream.ts";
|
||||
import { CsvParseStream } from "./parse_stream.ts";
|
||||
import type { CsvParseStreamOptions } from "./parse_stream.ts";
|
||||
import { ERR_QUOTE, ParseError } from "./_io.ts";
|
||||
import {
|
||||
assert,
|
@ -24,7 +24,7 @@ export interface CsvStringifyStreamOptions {
|
||||
*
|
||||
* @example Usage
|
||||
* ```ts no-assert
|
||||
* import { CsvStringifyStream } from "@std/csv/csv-stringify-stream";
|
||||
* import { CsvStringifyStream } from "@std/csv/stringify-stream";
|
||||
*
|
||||
* const path = await Deno.makeTempFile();
|
||||
*
|
||||
@ -54,7 +54,7 @@ export class CsvStringifyStream<TOptions extends CsvStringifyStreamOptions>
|
||||
*
|
||||
* @example Usage
|
||||
* ```ts no-assert
|
||||
* import { CsvStringifyStream } from "@std/csv/csv-stringify-stream";
|
||||
* import { CsvStringifyStream } from "@std/csv/stringify-stream";
|
||||
*
|
||||
* const path = await Deno.makeTempFile();
|
||||
*
|
@ -1,5 +1,5 @@
|
||||
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
||||
import { CsvStringifyStream } from "./csv_stringify_stream.ts";
|
||||
import { CsvStringifyStream } from "./stringify_stream.ts";
|
||||
import { StringifyError } from "./stringify.ts";
|
||||
import { assertEquals, assertRejects } from "@std/assert";
|
||||
|
Loading…
Reference in New Issue
Block a user