clear-excel 0.1.0 → 1.0.0

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.
Files changed (42) hide show
  1. package/README.md +79 -62
  2. package/dist/api/sanitize-excel-file.d.ts +5 -0
  3. package/dist/api/sanitize-excel-file.d.ts.map +1 -0
  4. package/dist/api/sanitize-excel.d.ts +3 -0
  5. package/dist/api/sanitize-excel.d.ts.map +1 -0
  6. package/dist/biff/workbook.d.ts +4 -0
  7. package/dist/biff/workbook.d.ts.map +1 -0
  8. package/dist/constants.d.ts +6 -0
  9. package/dist/constants.d.ts.map +1 -0
  10. package/dist/errors.d.ts +20 -0
  11. package/dist/errors.d.ts.map +1 -0
  12. package/dist/formats.d.ts +5 -0
  13. package/dist/formats.d.ts.map +1 -0
  14. package/dist/index.d.ts +8 -0
  15. package/dist/index.d.ts.map +1 -0
  16. package/dist/index.js +2777 -0
  17. package/dist/index.js.map +1 -0
  18. package/dist/ooxml/cleanup.d.ts +3 -0
  19. package/dist/ooxml/cleanup.d.ts.map +1 -0
  20. package/dist/ooxml/constants.d.ts +4 -0
  21. package/dist/ooxml/constants.d.ts.map +1 -0
  22. package/dist/ooxml/parts.d.ts +5 -0
  23. package/dist/ooxml/parts.d.ts.map +1 -0
  24. package/dist/ooxml/relationships.d.ts +21 -0
  25. package/dist/ooxml/relationships.d.ts.map +1 -0
  26. package/dist/ooxml/styles.d.ts +7 -0
  27. package/dist/ooxml/styles.d.ts.map +1 -0
  28. package/dist/ooxml/workbook.d.ts +3 -0
  29. package/dist/ooxml/workbook.d.ts.map +1 -0
  30. package/dist/ooxml/xml.d.ts +12 -0
  31. package/dist/ooxml/xml.d.ts.map +1 -0
  32. package/dist/options.d.ts +5 -0
  33. package/dist/options.d.ts.map +1 -0
  34. package/dist/types.d.ts +28 -0
  35. package/dist/types.d.ts.map +1 -0
  36. package/dist/zip/central-directory.d.ts +7 -0
  37. package/dist/zip/central-directory.d.ts.map +1 -0
  38. package/package.json +56 -42
  39. package/index.cjs +0 -3
  40. package/index.d.ts +0 -62
  41. package/index.js +0 -7
  42. package/src/index.cjs +0 -894
package/README.md CHANGED
@@ -1,27 +1,29 @@
1
1
  # clear-excel
2
2
 
3
- `clear-excel` safely removes drawing-backed content and unused cell styles from
4
- OOXML `.xlsx` workbooks while preserving worksheet data and structure. It is a
5
- plain Node.js library with no framework or build-time requirement.
3
+ `clear-excel` safely removes drawing-backed content from legacy `.xls` and
4
+ OOXML `.xlsx`/`.xlsm` workbooks while preserving worksheet data and structure.
5
+ It is an ESM-only Node.js library with no framework or consumer-side build
6
+ requirement.
6
7
 
7
8
  ## What it removes
8
9
 
9
- - drawings and images;
10
- - classic and threaded comments;
11
- - controls, OLE objects, VML drawings, and worksheet pictures;
12
- - threaded-comment person metadata;
13
- - unused `cellXfs` style records.
10
+ - drawings, images, comments, controls, and embedded OLE objects;
11
+ - VML drawings, threaded comments, and person metadata in OOXML workbooks;
12
+ - unused `cellXfs` style records in OOXML workbooks;
13
+ - BIFF drawing, note, object, and picture records plus embedded object storages
14
+ in legacy `.xls` workbooks.
14
15
 
15
16
  Values, formulas and cached results, merged cells, worksheets, and styles that
16
- are still referenced by cells, rows, or columns are retained.
17
+ are still referenced by cells, rows, or columns are retained. `.xlsm` VBA
18
+ projects and legacy `.xls` VBA storages are preserved; the library does not
19
+ execute or remove macros.
17
20
 
18
21
  ## Requirements
19
22
 
20
23
  - Node.js 22 or newer;
21
- - OOXML `.xlsx` input.
24
+ - Excel 97-2003 BIFF8 `.xls`, OOXML `.xlsx`, or macro-enabled `.xlsm` input.
22
25
 
23
- Legacy `.xls` files and macro-enabled `.xlsm` workbooks are intentionally not
24
- supported.
26
+ Encrypted `.xls` workbooks are not supported.
25
27
 
26
28
  ## Installation
27
29
 
@@ -31,8 +33,6 @@ npm install clear-excel
31
33
 
32
34
  ## Buffer API
33
35
 
34
- ES modules:
35
-
36
36
  ```js
37
37
  import { readFile, writeFile } from "node:fs/promises";
38
38
  import { sanitizeExcel } from "clear-excel";
@@ -42,19 +42,15 @@ const output = await sanitizeExcel(input);
42
42
  await writeFile("report.cleaned.xlsx", output);
43
43
  ```
44
44
 
45
- CommonJS:
46
-
47
- ```js
48
- const { readFile, writeFile } = require("node:fs/promises");
49
- const { sanitizeExcel } = require("clear-excel");
45
+ `sanitizeExcel` accepts a Node.js `Buffer`, returns a new `Buffer`, and never
46
+ modifies the input buffer. It detects legacy CFB/BIFF workbooks by their file
47
+ signature and keeps the input format in the returned buffer.
50
48
 
51
- const input = await readFile("report.xlsx");
52
- const output = await sanitizeExcel(input);
53
- await writeFile("report.cleaned.xlsx", output);
54
- ```
49
+ ## Version 1 migration
55
50
 
56
- `sanitizeExcel` accepts a Node.js `Buffer`, returns a new `Buffer`, and never
57
- modifies the input buffer.
51
+ Version 1 is ESM-only. Replace CommonJS `require("clear-excel")` calls with
52
+ ECMAScript imports. Runtime exports, option types, error codes, and sanitizing
53
+ behavior otherwise remain compatible with version 0.1.
58
54
 
59
55
  ## File API
60
56
 
@@ -64,9 +60,10 @@ import { sanitizeExcelFile } from "clear-excel";
64
60
  await sanitizeExcelFile("report.xlsx", "report.cleaned.xlsx");
65
61
  ```
66
62
 
67
- The input and output paths must be different and end in `.xlsx`. The output
68
- directory must already exist. An existing output file is not replaced unless
69
- `overwrite: true` is explicitly supplied:
63
+ The input and output paths must be different and use the same supported
64
+ extension: `.xls`, `.xlsx`, or `.xlsm` (case-insensitive). The file API does not
65
+ convert between formats. The output directory must already exist. An existing
66
+ output file is not replaced unless `overwrite: true` is explicitly supplied:
70
67
 
71
68
  ```js
72
69
  await sanitizeExcelFile("report.xlsx", "report.cleaned.xlsx", {
@@ -79,24 +76,24 @@ await sanitizeExcelFile("report.xlsx", "report.cleaned.xlsx", {
79
76
 
80
77
  Both sanitizing functions accept these options:
81
78
 
82
- | Option | Type | Default | Description |
83
- | --- | --- | --- | --- |
84
- | `requireSingleWorksheet` | `boolean` | `false` | Reject workbooks that do not contain exactly one sheet. |
85
- | `limits` | `object` | See below | Override individual ZIP/XML safety limits. |
79
+ | Option | Type | Default | Description |
80
+ | ------------------------ | --------- | --------- | ------------------------------------------------------- |
81
+ | `requireSingleWorksheet` | `boolean` | `false` | Reject workbooks that do not contain exactly one sheet. |
82
+ | `limits` | `object` | See below | Override individual ZIP/XML safety limits. |
86
83
 
87
84
  `sanitizeExcelFile` additionally accepts `overwrite`, which defaults to
88
85
  `false`.
89
86
 
90
87
  The exported `DEFAULT_LIMITS` object contains the defaults:
91
88
 
92
- | Limit | Default |
93
- | --- | ---: |
94
- | `maxEntryCount` | 10,000 entries |
95
- | `maxUncompressedBytes` | 512 MiB |
96
- | `maxXmlBytes` | 512 MiB aggregate XML output |
97
- | `maxWorksheetXmlBytes` | 256 MiB per worksheet |
98
- | `maxStylesXmlBytes` | 64 MiB |
99
- | `maxMetadataXmlBytes` | 16 MiB per metadata part |
89
+ | Limit | Default |
90
+ | -------------------------- | ---------------------------: |
91
+ | `maxEntryCount` | 10,000 entries |
92
+ | `maxUncompressedBytes` | 512 MiB |
93
+ | `maxXmlBytes` | 512 MiB aggregate XML output |
94
+ | `maxWorksheetXmlBytes` | 256 MiB per worksheet |
95
+ | `maxStylesXmlBytes` | 64 MiB |
96
+ | `maxMetadataXmlBytes` | 16 MiB per metadata part |
100
97
  | `maxRelationshipsXmlBytes` | 8 MiB per relationships part |
101
98
 
102
99
  Only specified values are overridden:
@@ -111,7 +108,9 @@ const output = await sanitizeExcel(input, {
111
108
  ```
112
109
 
113
110
  Every limit must be a positive safe integer. Raising limits can significantly
114
- increase memory usage.
111
+ increase memory usage. For `.xls`, `maxEntryCount` and
112
+ `maxUncompressedBytes` apply to the CFB container; the XML-specific limits apply
113
+ only to `.xlsx` and `.xlsm`.
115
114
 
116
115
  ## Errors
117
116
 
@@ -131,33 +130,39 @@ try {
131
130
  }
132
131
  ```
133
132
 
134
- | Code | Meaning |
135
- | --- | --- |
136
- | `ERR_INVALID_ARGUMENT` | An argument or option has an invalid type or value. |
137
- | `ERR_UNSUPPORTED_EXTENSION` | A file path does not end in `.xlsx`. |
138
- | `ERR_INVALID_XLSX` | The ZIP/OOXML package is malformed or unsupported. |
139
- | `ERR_LIMIT_EXCEEDED` | A configured ZIP or XML limit was exceeded. |
140
- | `ERR_WORKSHEET_COUNT` | Exactly one worksheet was required. |
141
- | `ERR_SAME_PATH` | Input and output resolve to the same path. |
142
- | `ERR_OUTPUT_EXISTS` | Output exists and `overwrite` is false. |
143
- | `ERR_FILE_READ` | The input could not be read. |
144
- | `ERR_FILE_WRITE` | The sanitized output could not be written. |
133
+ | Code | Meaning |
134
+ | --------------------------- | --------------------------------------------------- |
135
+ | `ERR_INVALID_ARGUMENT` | An argument or option has an invalid type or value. |
136
+ | `ERR_UNSUPPORTED_EXTENSION` | Paths use an unsupported or mismatched extension. |
137
+ | `ERR_INVALID_XLS` | The CFB/BIFF workbook is malformed or unsupported. |
138
+ | `ERR_INVALID_XLSX` | The ZIP/OOXML package is malformed or unsupported. |
139
+ | `ERR_LIMIT_EXCEEDED` | A configured ZIP or XML limit was exceeded. |
140
+ | `ERR_WORKSHEET_COUNT` | Exactly one worksheet was required. |
141
+ | `ERR_SAME_PATH` | Input and output resolve to the same path. |
142
+ | `ERR_OUTPUT_EXISTS` | Output exists and `overwrite` is false. |
143
+ | `ERR_FILE_READ` | The input could not be read. |
144
+ | `ERR_FILE_WRITE` | The sanitized output could not be written. |
145
145
 
146
146
  The original technical error is available through `error.cause` when one
147
147
  exists. Limit and worksheet-count failures also include structured `details`.
148
148
 
149
149
  ## Security and memory model
150
150
 
151
- Before loading an archive, `clear-excel` validates the ZIP central directory,
152
- rejects ZIP64 and multi-disk archives, rejects unsafe entry paths, and checks
153
- declared entry counts and expansion sizes. Required XML parts are inflated
154
- lazily with both per-part and aggregate runtime budgets, including protection
155
- when ZIP size metadata has been forged.
151
+ Before loading an OOXML archive, `clear-excel` validates the ZIP central
152
+ directory, rejects ZIP64 and multi-disk archives, rejects unsafe entry paths,
153
+ and checks declared entry counts and expansion sizes. Required XML parts are
154
+ inflated lazily with both per-part and aggregate runtime budgets, including
155
+ protection when ZIP size metadata has been forged.
156
+
157
+ For `.xls`, the library validates CFB entry and byte limits, parses the BIFF
158
+ record stream without evaluating formulas, removes drawing-layer records, and
159
+ rewrites worksheet offsets after records move. Workbook records are not
160
+ converted through an OOXML or generic tabular representation.
156
161
 
157
162
  JSZip still loads the ZIP directory and regenerates the complete workbook in
158
163
  memory. Plan for memory usage above the input size, especially when increasing
159
- the defaults. The sanitizer does not evaluate formulas or execute embedded
160
- content.
164
+ the defaults. The sanitizer does not evaluate formulas, execute embedded
165
+ content, or execute VBA projects.
161
166
 
162
167
  ## Publishing
163
168
 
@@ -170,11 +175,23 @@ npm login
170
175
  npm publish
171
176
  ```
172
177
 
173
- `npm run check` validates syntax, runs the tests, inspects `npm pack --dry-run`,
174
- and installs a temporary tarball to smoke-test both ESM and CommonJS exports.
175
- `prepublishOnly` runs the same checks automatically. npm credentials and
178
+ `npm run check` verifies Oxfmt formatting, runs type-aware Oxlint and strict
179
+ TypeScript checks, executes the tests, builds the ESM bundle and declarations,
180
+ inspects `npm pack --dry-run`, and installs a temporary tarball to smoke-test
181
+ both runtime imports and a TypeScript consumer. `prepack` creates `dist/`, and
182
+ `prepublishOnly` runs the complete check automatically. npm credentials and
176
183
  publishing automation are deliberately not stored in this repository.
177
184
 
185
+ Useful development commands:
186
+
187
+ ```sh
188
+ npm run format
189
+ npm run lint
190
+ npm run check:types
191
+ npm test
192
+ npm run build
193
+ ```
194
+
178
195
  ## License
179
196
 
180
197
  MIT
@@ -0,0 +1,5 @@
1
+ import { isExcelFilename, isXlsxFilename } from "../formats.js";
2
+ import type { SanitizeExcelFileOptions } from "../types.js";
3
+ export { isExcelFilename, isXlsxFilename };
4
+ export declare function sanitizeExcelFile(inputPath: string, outputPath: string, options?: SanitizeExcelFileOptions): Promise<void>;
5
+ //# sourceMappingURL=sanitize-excel-file.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sanitize-excel-file.d.ts","sourceRoot":"","sources":["../../src/api/sanitize-excel-file.ts"],"names":[],"mappings":"AAMA,OAAO,EAAmB,eAAe,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAGjF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAG5D,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,CAAC;AAE3C,wBAAsB,iBAAiB,CACrC,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,IAAI,CAAC,CAuBf"}
@@ -0,0 +1,3 @@
1
+ import type { SanitizeExcelOptions } from "../types.js";
2
+ export declare function sanitizeExcel(buffer: Buffer, options?: SanitizeExcelOptions): Promise<Buffer>;
3
+ //# sourceMappingURL=sanitize-excel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sanitize-excel.d.ts","sourceRoot":"","sources":["../../src/api/sanitize-excel.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAExD,wBAAsB,aAAa,CACjC,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,oBAAoB,GAC7B,OAAO,CAAC,MAAM,CAAC,CAmBjB"}
@@ -0,0 +1,4 @@
1
+ import type { NormalizedSanitizeOptions } from "../types.js";
2
+ export declare function hasCompoundFileSignature(buffer: Buffer): boolean;
3
+ export declare function sanitizeBiffWorkbook(buffer: Buffer, options: NormalizedSanitizeOptions): Promise<Buffer>;
4
+ //# sourceMappingURL=workbook.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workbook.d.ts","sourceRoot":"","sources":["../../src/biff/workbook.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AAmC7D,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAKhE;AAED,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,yBAAyB,GACjC,OAAO,CAAC,MAAM,CAAC,CAqBjB"}
@@ -0,0 +1,6 @@
1
+ import type { ExcelSanitizationLimits } from "./types.js";
2
+ export declare const DEFAULT_LIMITS: Readonly<ExcelSanitizationLimits>;
3
+ export declare const SANITIZE_OPTION_NAMES: ReadonlySet<string>;
4
+ export declare const FILE_OPTION_NAMES: ReadonlySet<string>;
5
+ export declare const LIMIT_NAMES: ReadonlySet<string>;
6
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAE1D,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,uBAAuB,CAQ3D,CAAC;AAEH,eAAO,MAAM,qBAAqB,EAAE,WAAW,CAAC,MAAM,CAGpD,CAAC;AAEH,eAAO,MAAM,iBAAiB,EAAE,WAAW,CAAC,MAAM,CAIhD,CAAC;AAEH,eAAO,MAAM,WAAW,EAAE,WAAW,CAAC,MAAM,CAQ1C,CAAC"}
@@ -0,0 +1,20 @@
1
+ import type { ExcelSanitizationLimits } from "./types.js";
2
+ export type ExcelSanitizationErrorCode = "ERR_INVALID_ARGUMENT" | "ERR_UNSUPPORTED_EXTENSION" | "ERR_INVALID_XLS" | "ERR_INVALID_XLSX" | "ERR_LIMIT_EXCEEDED" | "ERR_WORKSHEET_COUNT" | "ERR_SAME_PATH" | "ERR_OUTPUT_EXISTS" | "ERR_FILE_READ" | "ERR_FILE_WRITE";
3
+ export interface ExcelSanitizationErrorOptions {
4
+ cause?: unknown;
5
+ details?: Readonly<Record<string, unknown>>;
6
+ }
7
+ interface CreateErrorOptions extends ExcelSanitizationErrorOptions {
8
+ message?: string;
9
+ }
10
+ export type SafetyLimitName = keyof ExcelSanitizationLimits | "partBytes";
11
+ export declare class ExcelSanitizationError extends Error {
12
+ readonly name = "ExcelSanitizationError";
13
+ readonly code: ExcelSanitizationErrorCode;
14
+ readonly details?: Readonly<Record<string, unknown>>;
15
+ constructor(code: ExcelSanitizationErrorCode, message: string, options?: ExcelSanitizationErrorOptions);
16
+ }
17
+ export declare function createError(code: ExcelSanitizationErrorCode, options?: CreateErrorOptions): ExcelSanitizationError;
18
+ export declare function limitExceeded(limit: SafetyLimitName, configured: number, actual: number, partName?: string): ExcelSanitizationError;
19
+ export {};
20
+ //# sourceMappingURL=errors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAE1D,MAAM,MAAM,0BAA0B,GAClC,sBAAsB,GACtB,2BAA2B,GAC3B,iBAAiB,GACjB,kBAAkB,GAClB,oBAAoB,GACpB,qBAAqB,GACrB,eAAe,GACf,mBAAmB,GACnB,eAAe,GACf,gBAAgB,CAAC;AAErB,MAAM,WAAW,6BAA6B;IAC5C,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;CAC7C;AAED,UAAU,kBAAmB,SAAQ,6BAA6B;IAChE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,MAAM,eAAe,GAAG,MAAM,uBAAuB,GAAG,WAAW,CAAC;AAgB1E,qBAAa,sBAAuB,SAAQ,KAAK;IAC/C,SAAkB,IAAI,4BAA4B;IAClD,QAAQ,CAAC,IAAI,EAAE,0BAA0B,CAAC;IAC1C,QAAQ,CAAC,OAAO,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IAErD,YACE,IAAI,EAAE,0BAA0B,EAChC,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,6BAAkC,EAO5C;CACF;AAED,wBAAgB,WAAW,CACzB,IAAI,EAAE,0BAA0B,EAChC,OAAO,GAAE,kBAAuB,GAC/B,sBAAsB,CAExB;AAED,wBAAgB,aAAa,CAC3B,KAAK,EAAE,eAAe,EACtB,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,MAAM,EACd,QAAQ,CAAC,EAAE,MAAM,GAChB,sBAAsB,CASxB"}
@@ -0,0 +1,5 @@
1
+ export type ExcelFileFormat = "xls" | "xlsx" | "xlsm";
2
+ export declare function excelFileFormat(name: unknown): ExcelFileFormat | undefined;
3
+ export declare function isExcelFilename(name: unknown): name is string;
4
+ export declare function isXlsxFilename(name: unknown): name is string;
5
+ //# sourceMappingURL=formats.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formats.d.ts","sourceRoot":"","sources":["../src/formats.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,CAAC;AAEtD,wBAAgB,eAAe,CAAC,IAAI,EAAE,OAAO,GAAG,eAAe,GAAG,SAAS,CAQ1E;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,MAAM,CAE7D;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,MAAM,CAE5D"}
@@ -0,0 +1,8 @@
1
+ export { sanitizeExcel } from "./api/sanitize-excel.js";
2
+ export { isExcelFilename, isXlsxFilename, sanitizeExcelFile } from "./api/sanitize-excel-file.js";
3
+ export { DEFAULT_LIMITS } from "./constants.js";
4
+ export { ExcelSanitizationError } from "./errors.js";
5
+ export type { ExcelSanitizationErrorCode, ExcelSanitizationErrorOptions } from "./errors.js";
6
+ export type { ExcelFileFormat } from "./formats.js";
7
+ export type { ExcelSanitizationLimits, SanitizeExcelFileOptions, SanitizeExcelOptions, } from "./types.js";
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAClG,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AACrD,YAAY,EAAE,0BAA0B,EAAE,6BAA6B,EAAE,MAAM,aAAa,CAAC;AAC7F,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,YAAY,EACV,uBAAuB,EACvB,wBAAwB,EACxB,oBAAoB,GACrB,MAAM,YAAY,CAAC"}