@happyvertical/documents 0.101.3 → 0.102.1
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/dist/document.d.ts +1 -1
- package/dist/document.d.ts.map +1 -1
- package/dist/factory.d.ts +1 -1
- package/dist/factory.d.ts.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/processors/pdf.d.ts +1 -1
- package/dist/processors/pdf.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/document.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { URL } from 'node:url';
|
|
2
|
-
import { DocumentPart, Document as DocumentType, FetchDocumentOptions } from
|
|
2
|
+
import type { DocumentPart, Document as DocumentType, FetchDocumentOptions } from "./types.js";
|
|
3
3
|
/**
|
|
4
4
|
* Base document handler with multi-part support
|
|
5
5
|
*
|
package/dist/document.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"document.d.ts","sourceRoot":"","sources":["../src/document.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAG/B,OAAO,KAAK,EACV,YAAY,EACZ,QAAQ,IAAI,YAAY,EACxB,oBAAoB,EACrB,MAAM,
|
|
1
|
+
{"version":3,"file":"document.d.ts","sourceRoot":"","sources":["../src/document.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAG/B,OAAO,KAAK,EACV,YAAY,EACZ,QAAQ,IAAI,YAAY,EACxB,oBAAoB,EACrB,MAAM,YAAS,CAAC;AAEjB;;;;;;GAMG;AACH,qBAAa,QAAQ;IACnB;;OAEG;IACH,SAAS,CAAC,QAAQ,UAAS;IAE3B;;OAEG;IACH,SAAS,CAAC,OAAO,EAAE,oBAAoB,CAAC;IAExC;;OAEG;IACH,OAAO,CAAC,UAAU,CAAM;IAExB;;OAEG;IACH,OAAO,CAAC,SAAS,CAAM;IAEvB;;OAEG;IACI,GAAG,EAAE,GAAG,CAAC;IAEhB;;OAEG;IACI,IAAI,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACI,KAAK,EAAE,YAAY,EAAE,CAAM;IAElC;;OAEG;IACI,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAM;IAE1C;;OAEG;IACH,IAAW,SAAS,IAAI,MAAM,CAE7B;IAED;;OAEG;IACH,IAAW,QAAQ,IAAI,MAAM,CAE5B;IAED;;;;;OAKG;gBACS,GAAG,EAAE,MAAM,EAAE,OAAO,GAAE,oBAAyB;IA+C3D;;;;;;;;OAQG;WACU,MAAM,CACjB,GAAG,EAAE,MAAM,EACX,OAAO,GAAE,oBAAyB,GACjC,OAAO,CAAC,QAAQ,CAAC;IAMpB;;;;OAIG;IACG,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IASjC;;;;OAIG;IACI,UAAU,IAAI,OAAO;IAwB5B;;;;OAIG;IACI,UAAU,IAAI,YAAY;CAQlC;AAED,eAAe,QAAQ,CAAC"}
|
package/dist/factory.d.ts
CHANGED
package/dist/factory.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../src/factory.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../src/factory.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,YAAS,CAAC;AAO9D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,wBAAsB,aAAa,CACjC,GAAG,EAAE,MAAM,EACX,OAAO,GAAE,oBAAyB,GACjC,OAAO,CAAC,QAAQ,CAAC,CAgFnB;AAED,eAAe,aAAa,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
* }
|
|
20
20
|
* ```
|
|
21
21
|
*/
|
|
22
|
-
export { Document } from
|
|
23
|
-
export { fetchDocument } from
|
|
24
|
-
export { PDFProcessor } from
|
|
25
|
-
export type { Document as DocumentType, DocumentImage, DocumentPart, DocumentProcessor, FetchDocumentOptions, } from
|
|
26
|
-
export { getTitleFromUrl } from
|
|
22
|
+
export { Document } from "./document.js";
|
|
23
|
+
export { fetchDocument } from "./factory.js";
|
|
24
|
+
export { PDFProcessor } from "./processors/pdf.js";
|
|
25
|
+
export type { Document as DocumentType, DocumentImage, DocumentPart, DocumentProcessor, FetchDocumentOptions, } from "./types.js";
|
|
26
|
+
export { getTitleFromUrl } from "./utils.js";
|
|
27
27
|
/** @internal */
|
|
28
28
|
export declare const PACKAGE_VERSION_INITIALIZED = true;
|
|
29
29
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAGH,OAAO,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAGH,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAY,CAAC;AAEtC,OAAO,EAAE,aAAa,EAAE,MAAM,cAAW,CAAC;AAG1C,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAkB,CAAC;AAEhD,YAAY,EACV,QAAQ,IAAI,YAAY,EACxB,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,oBAAoB,GACrB,MAAM,YAAS,CAAC;AAEjB,OAAO,EAAE,eAAe,EAAE,MAAM,YAAS,CAAC;AAE1C,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,OAAO,CAAC"}
|
package/dist/processors/pdf.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pdf.d.ts","sourceRoot":"","sources":["../../src/processors/pdf.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,QAAQ,EAGR,iBAAiB,EACjB,oBAAoB,EACrB,MAAM,
|
|
1
|
+
{"version":3,"file":"pdf.d.ts","sourceRoot":"","sources":["../../src/processors/pdf.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,QAAQ,EAGR,iBAAiB,EACjB,oBAAoB,EACrB,MAAM,aAAU,CAAC;AAGlB;;;;;;;;;GASG;AACH,qBAAa,YAAa,YAAW,iBAAiB;IACpD;;;;;;OAMG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAQ/B;;;;;;;;;OASG;IACG,OAAO,CACX,GAAG,EAAE,MAAM,EACX,OAAO,GAAE,oBAAyB,GACjC,OAAO,CAAC,QAAQ,CAAC;IAqGpB;;;;;;;;;OASG;YACW,aAAa;CAe5B;AAED,eAAe,YAAY,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@happyvertical/documents",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.102.1",
|
|
4
4
|
"description": "Multi-part document processing with support for PDF, HTML, and Markdown",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@happyvertical/files": "0.
|
|
39
|
+
"@happyvertical/files": "0.102.1",
|
|
40
40
|
"@happyvertical/ocr": "^0.61.1",
|
|
41
41
|
"@happyvertical/pdf": "^0.65.9",
|
|
42
42
|
"@happyvertical/spider": "^1.1",
|
|
43
|
-
"@happyvertical/utils": "0.
|
|
43
|
+
"@happyvertical/utils": "0.102.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/node": "25.0.10",
|