@design-edito/tools 0.2.4 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agnostic/arrays/index.js +8 -8
- package/agnostic/arrays/random-pick/index.js +4 -4
- package/agnostic/colors/index.js +3 -3
- package/agnostic/css/bem/index.js +2 -2
- package/agnostic/css/index.js +7 -7
- package/agnostic/css/styles-set/index.js +4 -4
- package/agnostic/errors/index.js +2 -2
- package/agnostic/html/hyper-json/cast/index.js +6 -6
- package/agnostic/html/hyper-json/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +6 -6
- package/agnostic/html/hyper-json/tree/index.js +6 -6
- package/agnostic/html/hyper-json/utils/index.js +6 -6
- package/agnostic/html/index.js +18 -18
- package/agnostic/html/sanitize/index.js +4 -4
- package/agnostic/html/selector-to-element/index.js +4 -4
- package/agnostic/html/string-to-nodes/index.js +5 -5
- package/agnostic/misc/assert/index.js +3 -3
- package/agnostic/misc/index.js +21 -21
- package/agnostic/misc/lorem-ipsum/index.js +9 -9
- package/agnostic/numbers/index.js +3 -3
- package/agnostic/objects/index.js +12 -12
- package/agnostic/strings/index.d.ts +2 -2
- package/agnostic/strings/index.js +12 -12
- package/agnostic/strings/matches/index.d.ts +4 -3
- package/agnostic/strings/matches/index.js +1 -1
- package/agnostic/strings/parse-table/index.d.ts +82 -0
- package/agnostic/strings/{read-table → parse-table}/index.js +3 -3
- package/agnostic/time/index.js +4 -4
- package/chunks/{chunk-PENYZ6S7.js → chunk-4XGNPFBN.js} +7 -7
- package/chunks/{chunk-XJ23DJY4.js → chunk-7GIJUKYP.js} +1 -1
- package/chunks/{chunk-C7SRAQMW.js → chunk-AQBJ6HNB.js} +1 -1
- package/chunks/{chunk-T4HGXBXC.js → chunk-C7SDXW3B.js} +3 -3
- package/chunks/{chunk-HGCG2J77.js → chunk-F3WCF6DL.js} +1 -1
- package/chunks/chunk-GYELTEZT.js +60 -0
- package/chunks/{chunk-LQFKUNVQ.js → chunk-R3AWQXMY.js} +1 -0
- package/chunks/{chunk-X5HMM3LD.js → chunk-SKBOSWM2.js} +1 -1
- package/chunks/{chunk-QHQ3WLN4.js → chunk-TBRLSFVL.js} +4 -4
- package/chunks/{chunk-P2H6PV4O.js → chunk-TIER4TF4.js} +1 -1
- package/chunks/{chunk-E4FJHD5R.js → chunk-WAMSK4A3.js} +1 -1
- package/chunks/{chunk-K2SL55BG.js → chunk-WV2D6IX4.js} +2 -2
- package/chunks/{chunk-RDQJSWRC.js → chunk-XB3EGDBI.js} +1 -1
- package/chunks/{chunk-VQUF2TSY.js → chunk-YRWLIDCE.js} +1 -1
- package/chunks/{chunk-CQEDNACN.js → chunk-ZBBU2P4D.js} +2 -2
- package/node/@aws-s3/index.js +7 -7
- package/node/@aws-s3/storage/directory/index.js +7 -7
- package/node/@aws-s3/storage/file/index.js +4 -4
- package/node/@aws-s3/storage/index.js +7 -7
- package/node/@google-cloud/index.js +8 -8
- package/node/@google-cloud/storage/bucket/index.js +5 -5
- package/node/@google-cloud/storage/directory/index.js +7 -7
- package/node/@google-cloud/storage/file/index.js +4 -4
- package/node/@google-cloud/storage/index.js +8 -8
- package/node/cloud-storage/index.js +24 -24
- package/node/cloud-storage/operations/index.js +32 -32
- package/node/files/index.js +4 -4
- package/node/files/subpaths/index.js +2 -2
- package/node/ftps/directory/index.js +7 -7
- package/node/ftps/file/index.js +4 -4
- package/node/ftps/index.js +6 -6
- package/node/images/index.js +11 -11
- package/node/images/transform/index.js +8 -8
- package/node/sftp/directory/index.js +7 -7
- package/node/sftp/file/index.js +4 -4
- package/node/sftp/index.js +6 -6
- package/package.json +1 -1
- package/agnostic/strings/read-table/index.d.ts +0 -38
- package/chunks/chunk-BLWSRM7I.js +0 -38
- package/chunks/{chunk-BJVLBGZH.js → chunk-FAZEIFCI.js} +23 -23
- package/chunks/{chunk-4ZPWZQVR.js → chunk-KA3PLDPZ.js} +3 -3
- package/chunks/{chunk-AIEEEZLK.js → chunk-KE7RNBSU.js} +3 -3
- package/chunks/{chunk-7YW5HL6N.js → chunk-KIONYWA7.js} +3 -3
- package/chunks/{chunk-42B5RQDS.js → chunk-KQAPQMHJ.js} +6 -6
- package/chunks/{chunk-E4MMN22Y.js → chunk-KSS2ZJHI.js} +13 -13
- package/chunks/{chunk-HJARCTOH.js → chunk-QXVZJYNY.js} +6 -6
- package/chunks/{chunk-ZMR2PK34.js → chunk-SQL5JXYJ.js} +3 -3
- package/chunks/{chunk-OMTDHKJI.js → chunk-UXEKCYL7.js} +4 -4
- package/chunks/{chunk-2KT7AKRW.js → chunk-WH6BPDAC.js} +3 -3
- package/chunks/{chunk-MUOULXIW.js → chunk-XKRFL2AB.js} +6 -6
- package/chunks/{chunk-2WIWINVL.js → chunk-XPGDKBTU.js} +6 -6
- package/chunks/{chunk-AMJDX7MB.js → chunk-YWOU65KY.js} +12 -12
- package/chunks/{chunk-GFQMBB2J.js → chunk-ZQ3DJPY5.js} +3 -3
@@ -0,0 +1,82 @@
|
|
1
|
+
import { Outcome } from '../../misc/outcome';
|
2
|
+
export type ParseTableOptions<T extends Record<string, string>> = {
|
3
|
+
inputToLines: (input: string) => string[];
|
4
|
+
headLinePos: number;
|
5
|
+
headLineToHeaders: (input: string) => string[];
|
6
|
+
bodyLinesBounds: [number, number];
|
7
|
+
bodyLineToCellValue: (input: string) => string[];
|
8
|
+
schema: (obj: unknown) => T;
|
9
|
+
} | {
|
10
|
+
inputToLines: (input: string) => string[];
|
11
|
+
headLinePos: number;
|
12
|
+
bodyLinesBounds: [number, number];
|
13
|
+
columns: number[];
|
14
|
+
headerRefine: (header: string) => string;
|
15
|
+
valueRefine: (value: string) => string;
|
16
|
+
schema: (obj: unknown) => T;
|
17
|
+
};
|
18
|
+
export declare const defaultOptions: ParseTableOptions<any>;
|
19
|
+
/**
|
20
|
+
* Parses a tabular string input into an array of objects, where each object represents a row in the table.
|
21
|
+
*
|
22
|
+
* There are two parsing modes:
|
23
|
+
*
|
24
|
+
* 1. **Delimiter-based parsing**
|
25
|
+
* - The table is split into rows and then into cells using user-provided functions (e.g., splitting on `\n` and `\t`).
|
26
|
+
* - The header row is parsed into an array of header names, which are mapped to each cell value.
|
27
|
+
*
|
28
|
+
* 2. **Column-slice parsing**
|
29
|
+
* - The table is split into fixed-width columns based on start indices provided in `options.columns`.
|
30
|
+
* - The header row and body rows are sliced using these column boundaries.
|
31
|
+
* - Each header and cell value can be refined with user-provided functions.
|
32
|
+
*
|
33
|
+
* @template T - The type of the objects in the resulting array, extending `Record<string, string>`.
|
34
|
+
* @param {string} table - The string representation of the table to be parsed.
|
35
|
+
* @param {ParseTableOptions<T>} [options=defaultOptions] - Configuration options for parsing the table.
|
36
|
+
*
|
37
|
+
* ### Common Options
|
38
|
+
* @param {function(string): string[]} options.inputToLines - Function to split the input string into lines.
|
39
|
+
* @param {number} options.headLinePos - The index of the header line in the lines array.
|
40
|
+
* @param {[number, number]} options.bodyLinesBounds - Tuple `[start, end]` indicating the range of lines to parse as body rows.
|
41
|
+
* @param {function(unknown): T} options.schema - Function to validate and transform each row object.
|
42
|
+
*
|
43
|
+
* ### Delimiter-based Options
|
44
|
+
* @param {function(string): string[]} options.headLineToHeaders - Function to parse the header line into an array of header names.
|
45
|
+
* @param {function(string): string[]} options.bodyLineToCellValue - Function to parse each body line into an array of cell values.
|
46
|
+
*
|
47
|
+
* ### Column-slice Options
|
48
|
+
* @param {number[]} options.columns - An array of starting indices for each column. The last column extends to the end of the line.
|
49
|
+
* @param {function(string): string} options.headerRefine - Function to clean or normalize header names.
|
50
|
+
* @param {function(string): string} options.valueRefine - Function to clean or normalize cell values.
|
51
|
+
*
|
52
|
+
* @returns {Outcome.Either<T[], string>} An `Outcome` object containing either:
|
53
|
+
* - `success = true` with an array of parsed row objects, or
|
54
|
+
* - `success = false` with an error message.
|
55
|
+
*
|
56
|
+
* @throws Will throw an error if the header line cannot be found.
|
57
|
+
*
|
58
|
+
* @example
|
59
|
+
* // Delimiter-based parsing
|
60
|
+
* const table = 'name\tage\nAlice\t30\nBob\t25';
|
61
|
+
* const result = parseTable(table);
|
62
|
+
* if (result.success) {
|
63
|
+
* console.log(result.payload); // [{ name: 'Alice', age: '30' }, { name: 'Bob', age: '25' }]
|
64
|
+
* }
|
65
|
+
*
|
66
|
+
* @example
|
67
|
+
* // Column-slice parsing
|
68
|
+
* const table = 'Name Age\nAlice 30 \nBob 25 ';
|
69
|
+
* const result = parseTable(table, {
|
70
|
+
* inputToLines: i => i.split('\n'),
|
71
|
+
* headLinePos: 0,
|
72
|
+
* bodyLinesBounds: [1, Infinity],
|
73
|
+
* columns: [0, 10, 15], // start indices for each column
|
74
|
+
* headerRefine: h => h.trim(),
|
75
|
+
* valueRefine: v => v.trim(),
|
76
|
+
* schema: row => row
|
77
|
+
* });
|
78
|
+
* if (result.success) {
|
79
|
+
* console.log(result.payload); // [{ Name: 'Alice', Age: '30' }, { Name: 'Bob', Age: '25' }]
|
80
|
+
* }
|
81
|
+
*/
|
82
|
+
export declare function parseTable<T extends Record<string, string>>(table: string, options?: ParseTableOptions<T>): Outcome.Either<T[], string>;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import {
|
2
2
|
defaultOptions,
|
3
|
-
|
4
|
-
} from "../../../chunks/chunk-
|
3
|
+
parseTable
|
4
|
+
} from "../../../chunks/chunk-GYELTEZT.js";
|
5
5
|
import "../../../chunks/chunk-JMU5PDBD.js";
|
6
6
|
import "../../../chunks/chunk-WSFCRVEQ.js";
|
7
7
|
export {
|
8
8
|
defaultOptions,
|
9
|
-
|
9
|
+
parseTable
|
10
10
|
};
|
package/agnostic/time/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import {
|
2
|
-
|
3
|
-
} from "../../chunks/chunk-
|
2
|
+
timeout
|
3
|
+
} from "../../chunks/chunk-Z7ZDDBV5.js";
|
4
4
|
import {
|
5
5
|
Transitions
|
6
6
|
} from "../../chunks/chunk-ENMBK6H7.js";
|
@@ -9,8 +9,8 @@ import {
|
|
9
9
|
} from "../../chunks/chunk-FZOU4OAW.js";
|
10
10
|
import "../../chunks/chunk-YQWZ3EP2.js";
|
11
11
|
import {
|
12
|
-
|
13
|
-
} from "../../chunks/chunk-
|
12
|
+
Duration
|
13
|
+
} from "../../chunks/chunk-6NYUQXJT.js";
|
14
14
|
import {
|
15
15
|
wait
|
16
16
|
} from "../../chunks/chunk-4CIS3R7T.js";
|
@@ -1,19 +1,19 @@
|
|
1
|
+
import {
|
2
|
+
isArrayOf
|
3
|
+
} from "./chunk-6RGDWX4A.js";
|
1
4
|
import {
|
2
5
|
shuffle
|
3
6
|
} from "./chunk-VJJIYJMY.js";
|
7
|
+
import {
|
8
|
+
randomPick,
|
9
|
+
randomPickMany
|
10
|
+
} from "./chunk-AQBJ6HNB.js";
|
4
11
|
import {
|
5
12
|
findDuplicates
|
6
13
|
} from "./chunk-YS6WMSWC.js";
|
7
|
-
import {
|
8
|
-
isArrayOf
|
9
|
-
} from "./chunk-6RGDWX4A.js";
|
10
14
|
import {
|
11
15
|
make
|
12
16
|
} from "./chunk-RLAZR3NL.js";
|
13
|
-
import {
|
14
|
-
randomPick,
|
15
|
-
randomPickMany
|
16
|
-
} from "./chunk-C7SRAQMW.js";
|
17
17
|
|
18
18
|
// src/agnostic/arrays/index.tsx
|
19
19
|
var Arrays;
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import {
|
2
2
|
file_exports
|
3
|
-
} from "./chunk-
|
3
|
+
} from "./chunk-KE7RNBSU.js";
|
4
4
|
import {
|
5
5
|
bucket_exports
|
6
|
-
} from "./chunk-
|
6
|
+
} from "./chunk-UXEKCYL7.js";
|
7
7
|
import {
|
8
8
|
directory_exports
|
9
|
-
} from "./chunk-
|
9
|
+
} from "./chunk-QXVZJYNY.js";
|
10
10
|
import {
|
11
11
|
__export
|
12
12
|
} from "./chunk-WSFCRVEQ.js";
|
@@ -0,0 +1,60 @@
|
|
1
|
+
import {
|
2
|
+
Outcome
|
3
|
+
} from "./chunk-JMU5PDBD.js";
|
4
|
+
|
5
|
+
// src/agnostic/strings/parse-table/index.ts
|
6
|
+
var defaultOptions = {
|
7
|
+
inputToLines: (i) => i.split("\n"),
|
8
|
+
headLinePos: 0,
|
9
|
+
headLineToHeaders: (i) => i.split(" "),
|
10
|
+
bodyLinesBounds: [1, Infinity],
|
11
|
+
bodyLineToCellValue: (i) => i.split(" "),
|
12
|
+
schema: (i) => i
|
13
|
+
};
|
14
|
+
function parseTable(table, options = defaultOptions) {
|
15
|
+
const lines = options.inputToLines(table);
|
16
|
+
const headLine = lines.at(options.headLinePos);
|
17
|
+
if (headLine === void 0) return Outcome.makeFailure("Head line not found");
|
18
|
+
if ("headLineToHeaders" in options) {
|
19
|
+
const headers = options.headLineToHeaders(headLine);
|
20
|
+
const bodyLines = lines.slice(options.bodyLinesBounds[0], options.bodyLinesBounds[1]);
|
21
|
+
const bodyLinesSplit = bodyLines.map(options.bodyLineToCellValue);
|
22
|
+
const rows = bodyLinesSplit.map((line) => {
|
23
|
+
const row = {};
|
24
|
+
line.forEach((cell, cellPos) => {
|
25
|
+
const cellName = headers.at(cellPos);
|
26
|
+
if (cellName === void 0) return;
|
27
|
+
const cellValue = cell;
|
28
|
+
row[cellName] = cellValue;
|
29
|
+
});
|
30
|
+
const checked = options.schema(row);
|
31
|
+
return checked;
|
32
|
+
});
|
33
|
+
return Outcome.makeSuccess(rows);
|
34
|
+
} else {
|
35
|
+
const colBounds = options.columns.reduce((acc, colStartPos, colIndex) => {
|
36
|
+
const nextColStartPos = options.columns.at(colIndex + 1);
|
37
|
+
if (nextColStartPos === void 0) return [...acc, [colStartPos, Infinity]];
|
38
|
+
return [...acc, [colStartPos, nextColStartPos]];
|
39
|
+
}, []);
|
40
|
+
const bodyLines = lines.slice(options.bodyLinesBounds[0], options.bodyLinesBounds[1]);
|
41
|
+
const headers = colBounds.map(([start, end]) => options.headerRefine(headLine.slice(start, end)));
|
42
|
+
const rows = bodyLines.map((line) => {
|
43
|
+
const row = {};
|
44
|
+
colBounds.forEach(([start, end], colIndex) => {
|
45
|
+
const header = headers.at(colIndex);
|
46
|
+
if (header === void 0) return;
|
47
|
+
const cellValue = line.slice(start, end);
|
48
|
+
row[header] = cellValue;
|
49
|
+
});
|
50
|
+
const checked = options.schema(row);
|
51
|
+
return checked;
|
52
|
+
});
|
53
|
+
return Outcome.makeSuccess(rows);
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
export {
|
58
|
+
defaultOptions,
|
59
|
+
parseTable
|
60
|
+
};
|
@@ -1,6 +1,7 @@
|
|
1
1
|
// src/agnostic/strings/matches/index.ts
|
2
2
|
function matches(input, matcher) {
|
3
3
|
if (typeof matcher === "string") return input === matcher;
|
4
|
+
if (typeof matcher === "function") return matcher(input);
|
4
5
|
return input.match(matcher) !== null;
|
5
6
|
}
|
6
7
|
function matchesSome(input, matchers) {
|
@@ -2,16 +2,16 @@ import {
|
|
2
2
|
Cast,
|
3
3
|
Tree,
|
4
4
|
Utils
|
5
|
-
} from "./chunk-
|
6
|
-
import {
|
7
|
-
Serialize
|
8
|
-
} from "./chunk-SXRWMH3U.js";
|
5
|
+
} from "./chunk-KSS2ZJHI.js";
|
9
6
|
import {
|
10
7
|
Types
|
11
8
|
} from "./chunk-XEQ2PBT2.js";
|
12
9
|
import {
|
13
10
|
SmartTags
|
14
11
|
} from "./chunk-UT2J62LH.js";
|
12
|
+
import {
|
13
|
+
Serialize
|
14
|
+
} from "./chunk-SXRWMH3U.js";
|
15
15
|
import {
|
16
16
|
Transformer
|
17
17
|
} from "./chunk-BKO7GLC2.js";
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import {
|
2
2
|
Sanitize
|
3
|
-
} from "./chunk-
|
3
|
+
} from "./chunk-XB3EGDBI.js";
|
4
4
|
import {
|
5
5
|
register
|
6
|
-
} from "./chunk-
|
6
|
+
} from "./chunk-TIER4TF4.js";
|
7
7
|
|
8
8
|
// src/agnostic/html/string-to-nodes/index.ts
|
9
9
|
function stringToNodes(dirtyStr, options) {
|
package/node/@aws-s3/index.js
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
import {
|
2
2
|
storage_exports
|
3
|
-
} from "../../chunks/chunk-
|
4
|
-
import "../../chunks/chunk-
|
5
|
-
import "../../chunks/chunk-
|
3
|
+
} from "../../chunks/chunk-WV2D6IX4.js";
|
4
|
+
import "../../chunks/chunk-XPGDKBTU.js";
|
5
|
+
import "../../chunks/chunk-ZQ3DJPY5.js";
|
6
|
+
import "../../chunks/chunk-ZEZCYPLQ.js";
|
7
|
+
import "../../chunks/chunk-4XSDRT23.js";
|
6
8
|
import "../../chunks/chunk-3TKBCG7Y.js";
|
7
9
|
import "../../chunks/chunk-QWZ4ZNFA.js";
|
10
|
+
import "../../chunks/chunk-ZSUG52DO.js";
|
8
11
|
import "../../chunks/chunk-VROZGPC5.js";
|
9
12
|
import "../../chunks/chunk-FD5WR2A5.js";
|
10
|
-
import "../../chunks/chunk-C6QTHDDM.js";
|
11
|
-
import "../../chunks/chunk-ZEZCYPLQ.js";
|
12
13
|
import "../../chunks/chunk-4XBUJAQU.js";
|
14
|
+
import "../../chunks/chunk-C6QTHDDM.js";
|
13
15
|
import "../../chunks/chunk-IV75M3KE.js";
|
14
16
|
import "../../chunks/chunk-ON6LC3HE.js";
|
15
|
-
import "../../chunks/chunk-ZSUG52DO.js";
|
16
|
-
import "../../chunks/chunk-4XSDRT23.js";
|
17
17
|
import "../../chunks/chunk-JMU5PDBD.js";
|
18
18
|
import "../../chunks/chunk-FENXVJYO.js";
|
19
19
|
import "../../chunks/chunk-WSFCRVEQ.js";
|
@@ -1,16 +1,16 @@
|
|
1
|
-
import "../../../../chunks/chunk-
|
1
|
+
import "../../../../chunks/chunk-XPGDKBTU.js";
|
2
|
+
import {
|
3
|
+
remove_dir_exports
|
4
|
+
} from "../../../../chunks/chunk-4XSDRT23.js";
|
5
|
+
import {
|
6
|
+
list_exports
|
7
|
+
} from "../../../../chunks/chunk-ZSUG52DO.js";
|
2
8
|
import {
|
3
9
|
copy_dir_exports
|
4
10
|
} from "../../../../chunks/chunk-4XBUJAQU.js";
|
5
11
|
import {
|
6
12
|
move_dir_exports
|
7
13
|
} from "../../../../chunks/chunk-ON6LC3HE.js";
|
8
|
-
import {
|
9
|
-
list_exports
|
10
|
-
} from "../../../../chunks/chunk-ZSUG52DO.js";
|
11
|
-
import {
|
12
|
-
remove_dir_exports
|
13
|
-
} from "../../../../chunks/chunk-4XSDRT23.js";
|
14
14
|
import "../../../../chunks/chunk-JMU5PDBD.js";
|
15
15
|
import "../../../../chunks/chunk-FENXVJYO.js";
|
16
16
|
import "../../../../chunks/chunk-WSFCRVEQ.js";
|
@@ -1,4 +1,7 @@
|
|
1
|
-
import "../../../../chunks/chunk-
|
1
|
+
import "../../../../chunks/chunk-ZQ3DJPY5.js";
|
2
|
+
import {
|
3
|
+
exists_exports
|
4
|
+
} from "../../../../chunks/chunk-ZEZCYPLQ.js";
|
2
5
|
import {
|
3
6
|
remove_exports
|
4
7
|
} from "../../../../chunks/chunk-3TKBCG7Y.js";
|
@@ -14,9 +17,6 @@ import {
|
|
14
17
|
import {
|
15
18
|
copy_exports
|
16
19
|
} from "../../../../chunks/chunk-C6QTHDDM.js";
|
17
|
-
import {
|
18
|
-
exists_exports
|
19
|
-
} from "../../../../chunks/chunk-ZEZCYPLQ.js";
|
20
20
|
import {
|
21
21
|
download_exports
|
22
22
|
} from "../../../../chunks/chunk-IV75M3KE.js";
|
@@ -1,21 +1,21 @@
|
|
1
|
-
import "../../../chunks/chunk-
|
1
|
+
import "../../../chunks/chunk-WV2D6IX4.js";
|
2
2
|
import {
|
3
3
|
directory_exports
|
4
|
-
} from "../../../chunks/chunk-
|
4
|
+
} from "../../../chunks/chunk-XPGDKBTU.js";
|
5
5
|
import {
|
6
6
|
file_exports
|
7
|
-
} from "../../../chunks/chunk-
|
7
|
+
} from "../../../chunks/chunk-ZQ3DJPY5.js";
|
8
|
+
import "../../../chunks/chunk-ZEZCYPLQ.js";
|
9
|
+
import "../../../chunks/chunk-4XSDRT23.js";
|
8
10
|
import "../../../chunks/chunk-3TKBCG7Y.js";
|
9
11
|
import "../../../chunks/chunk-QWZ4ZNFA.js";
|
12
|
+
import "../../../chunks/chunk-ZSUG52DO.js";
|
10
13
|
import "../../../chunks/chunk-VROZGPC5.js";
|
11
14
|
import "../../../chunks/chunk-FD5WR2A5.js";
|
12
|
-
import "../../../chunks/chunk-C6QTHDDM.js";
|
13
|
-
import "../../../chunks/chunk-ZEZCYPLQ.js";
|
14
15
|
import "../../../chunks/chunk-4XBUJAQU.js";
|
16
|
+
import "../../../chunks/chunk-C6QTHDDM.js";
|
15
17
|
import "../../../chunks/chunk-IV75M3KE.js";
|
16
18
|
import "../../../chunks/chunk-ON6LC3HE.js";
|
17
|
-
import "../../../chunks/chunk-ZSUG52DO.js";
|
18
|
-
import "../../../chunks/chunk-4XSDRT23.js";
|
19
19
|
import "../../../chunks/chunk-JMU5PDBD.js";
|
20
20
|
import "../../../chunks/chunk-FENXVJYO.js";
|
21
21
|
import "../../../chunks/chunk-WSFCRVEQ.js";
|
@@ -1,26 +1,26 @@
|
|
1
1
|
import {
|
2
2
|
storage_exports
|
3
|
-
} from "../../chunks/chunk-
|
4
|
-
import "../../chunks/chunk-
|
3
|
+
} from "../../chunks/chunk-C7SDXW3B.js";
|
4
|
+
import "../../chunks/chunk-KE7RNBSU.js";
|
5
5
|
import "../../chunks/chunk-G5RRNREY.js";
|
6
6
|
import "../../chunks/chunk-HWVEI3RH.js";
|
7
7
|
import "../../chunks/chunk-YKPA3MQL.js";
|
8
8
|
import "../../chunks/chunk-PAIUCLVK.js";
|
9
9
|
import "../../chunks/chunk-42K3MQQ5.js";
|
10
|
-
import "../../chunks/chunk-
|
10
|
+
import "../../chunks/chunk-UXEKCYL7.js";
|
11
11
|
import "../../chunks/chunk-ZNA7SWFK.js";
|
12
|
-
import "../../chunks/chunk-
|
12
|
+
import "../../chunks/chunk-QXVZJYNY.js";
|
13
|
+
import "../../chunks/chunk-5VHFXWFM.js";
|
14
|
+
import "../../chunks/chunk-QLDN574K.js";
|
13
15
|
import "../../chunks/chunk-7J7CYOXU.js";
|
14
16
|
import "../../chunks/chunk-6IYUA43Q.js";
|
17
|
+
import "../../chunks/chunk-37TRFYZT.js";
|
15
18
|
import "../../chunks/chunk-W3RXHN5I.js";
|
16
19
|
import "../../chunks/chunk-FB3GNE2B.js";
|
17
|
-
import "../../chunks/chunk-CWZFRUBS.js";
|
18
|
-
import "../../chunks/chunk-5VHFXWFM.js";
|
19
20
|
import "../../chunks/chunk-V3L55I2S.js";
|
21
|
+
import "../../chunks/chunk-CWZFRUBS.js";
|
20
22
|
import "../../chunks/chunk-2JH4TCT2.js";
|
21
23
|
import "../../chunks/chunk-BWYH445G.js";
|
22
|
-
import "../../chunks/chunk-37TRFYZT.js";
|
23
|
-
import "../../chunks/chunk-QLDN574K.js";
|
24
24
|
import "../../chunks/chunk-JMU5PDBD.js";
|
25
25
|
import "../../chunks/chunk-FENXVJYO.js";
|
26
26
|
import "../../chunks/chunk-WSFCRVEQ.js";
|
@@ -1,16 +1,16 @@
|
|
1
|
-
import "../../../../chunks/chunk-
|
1
|
+
import "../../../../chunks/chunk-UXEKCYL7.js";
|
2
2
|
import {
|
3
3
|
get_metadata_exports
|
4
4
|
} from "../../../../chunks/chunk-ZNA7SWFK.js";
|
5
5
|
import {
|
6
|
-
|
7
|
-
} from "../../../../chunks/chunk-
|
6
|
+
remove_dir_exports
|
7
|
+
} from "../../../../chunks/chunk-QLDN574K.js";
|
8
8
|
import {
|
9
9
|
list_exports
|
10
10
|
} from "../../../../chunks/chunk-37TRFYZT.js";
|
11
11
|
import {
|
12
|
-
|
13
|
-
} from "../../../../chunks/chunk-
|
12
|
+
move_dir_exports
|
13
|
+
} from "../../../../chunks/chunk-BWYH445G.js";
|
14
14
|
import "../../../../chunks/chunk-JMU5PDBD.js";
|
15
15
|
import "../../../../chunks/chunk-FENXVJYO.js";
|
16
16
|
import "../../../../chunks/chunk-WSFCRVEQ.js";
|
@@ -1,16 +1,16 @@
|
|
1
|
-
import "../../../../chunks/chunk-
|
1
|
+
import "../../../../chunks/chunk-QXVZJYNY.js";
|
2
|
+
import {
|
3
|
+
remove_dir_exports
|
4
|
+
} from "../../../../chunks/chunk-QLDN574K.js";
|
5
|
+
import {
|
6
|
+
list_exports
|
7
|
+
} from "../../../../chunks/chunk-37TRFYZT.js";
|
2
8
|
import {
|
3
9
|
copy_dir_exports
|
4
10
|
} from "../../../../chunks/chunk-V3L55I2S.js";
|
5
11
|
import {
|
6
12
|
move_dir_exports
|
7
13
|
} from "../../../../chunks/chunk-BWYH445G.js";
|
8
|
-
import {
|
9
|
-
list_exports
|
10
|
-
} from "../../../../chunks/chunk-37TRFYZT.js";
|
11
|
-
import {
|
12
|
-
remove_dir_exports
|
13
|
-
} from "../../../../chunks/chunk-QLDN574K.js";
|
14
14
|
import "../../../../chunks/chunk-JMU5PDBD.js";
|
15
15
|
import "../../../../chunks/chunk-FENXVJYO.js";
|
16
16
|
import "../../../../chunks/chunk-WSFCRVEQ.js";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import "../../../../chunks/chunk-
|
1
|
+
import "../../../../chunks/chunk-KE7RNBSU.js";
|
2
2
|
import {
|
3
3
|
revoke_signed_urls_exports
|
4
4
|
} from "../../../../chunks/chunk-G5RRNREY.js";
|
@@ -14,6 +14,9 @@ import {
|
|
14
14
|
import {
|
15
15
|
get_metadata_exports
|
16
16
|
} from "../../../../chunks/chunk-42K3MQQ5.js";
|
17
|
+
import {
|
18
|
+
exists_exports
|
19
|
+
} from "../../../../chunks/chunk-5VHFXWFM.js";
|
17
20
|
import {
|
18
21
|
remove_exports
|
19
22
|
} from "../../../../chunks/chunk-7J7CYOXU.js";
|
@@ -29,9 +32,6 @@ import {
|
|
29
32
|
import {
|
30
33
|
copy_exports
|
31
34
|
} from "../../../../chunks/chunk-CWZFRUBS.js";
|
32
|
-
import {
|
33
|
-
exists_exports
|
34
|
-
} from "../../../../chunks/chunk-5VHFXWFM.js";
|
35
35
|
import {
|
36
36
|
download_exports
|
37
37
|
} from "../../../../chunks/chunk-2JH4TCT2.js";
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import "../../../chunks/chunk-
|
1
|
+
import "../../../chunks/chunk-C7SDXW3B.js";
|
2
2
|
import {
|
3
3
|
file_exports
|
4
|
-
} from "../../../chunks/chunk-
|
4
|
+
} from "../../../chunks/chunk-KE7RNBSU.js";
|
5
5
|
import "../../../chunks/chunk-G5RRNREY.js";
|
6
6
|
import "../../../chunks/chunk-HWVEI3RH.js";
|
7
7
|
import "../../../chunks/chunk-YKPA3MQL.js";
|
@@ -9,22 +9,22 @@ import "../../../chunks/chunk-PAIUCLVK.js";
|
|
9
9
|
import "../../../chunks/chunk-42K3MQQ5.js";
|
10
10
|
import {
|
11
11
|
bucket_exports
|
12
|
-
} from "../../../chunks/chunk-
|
12
|
+
} from "../../../chunks/chunk-UXEKCYL7.js";
|
13
13
|
import "../../../chunks/chunk-ZNA7SWFK.js";
|
14
14
|
import {
|
15
15
|
directory_exports
|
16
|
-
} from "../../../chunks/chunk-
|
16
|
+
} from "../../../chunks/chunk-QXVZJYNY.js";
|
17
|
+
import "../../../chunks/chunk-5VHFXWFM.js";
|
18
|
+
import "../../../chunks/chunk-QLDN574K.js";
|
17
19
|
import "../../../chunks/chunk-7J7CYOXU.js";
|
18
20
|
import "../../../chunks/chunk-6IYUA43Q.js";
|
21
|
+
import "../../../chunks/chunk-37TRFYZT.js";
|
19
22
|
import "../../../chunks/chunk-W3RXHN5I.js";
|
20
23
|
import "../../../chunks/chunk-FB3GNE2B.js";
|
21
|
-
import "../../../chunks/chunk-CWZFRUBS.js";
|
22
|
-
import "../../../chunks/chunk-5VHFXWFM.js";
|
23
24
|
import "../../../chunks/chunk-V3L55I2S.js";
|
25
|
+
import "../../../chunks/chunk-CWZFRUBS.js";
|
24
26
|
import "../../../chunks/chunk-2JH4TCT2.js";
|
25
27
|
import "../../../chunks/chunk-BWYH445G.js";
|
26
|
-
import "../../../chunks/chunk-37TRFYZT.js";
|
27
|
-
import "../../../chunks/chunk-QLDN574K.js";
|
28
28
|
import "../../../chunks/chunk-JMU5PDBD.js";
|
29
29
|
import "../../../chunks/chunk-FENXVJYO.js";
|
30
30
|
import "../../../chunks/chunk-WSFCRVEQ.js";
|