@mdgate/converters 0.5.7 → 0.6.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/README.md CHANGED
@@ -21,8 +21,7 @@ const convert = create(all());
21
21
 
22
22
  `all()` registers every converter that needs no configuration. `image()`,
23
23
  `audio()`, and `video()` need callbacks, so they are exported but not included
24
- in `all()`. PDF outside Node needs `setPdfMaps()` and, on Wrangler, a Data rule
25
- for `**/*.bin`. See the [repository README](https://github.com/mdgate/converters#pdf-mapping-tables).
24
+ in `all()`.
26
25
 
27
26
  Only need one format? Install just that package instead — for example
28
27
  `@mdgate/docx` — and call its identical `toMarkdown`.
@@ -40,7 +39,7 @@ Only need one format? Install just that package instead — for example
40
39
  | `@mdgate/text` | txt, md, and source files |
41
40
  | `@mdgate/data` | json, jsonl, xml, yaml |
42
41
  | `@mdgate/subtitle` | srt, vtt, webvtt, ass, lrc, sub, sbv, ttml, jss |
43
- | `@mdgate/html` | html, htm, xhtml, mhtml, mht |
42
+ | `@mdgate/html` | html, htm, html4, html5, xhtml, mhtml, mht |
44
43
  | `@mdgate/email` | eml, msg, mbox, emlx |
45
44
  | `@mdgate/ipynb` | ipynb (Jupyter) |
46
45
  | `@mdgate/odf` | odt, ods, odp |
package/dist/index.d.ts CHANGED
@@ -21,7 +21,7 @@ export { numbers } from '@mdgate/numbers';
21
21
  export { odf } from '@mdgate/odf';
22
22
  export { onenote } from '@mdgate/onenote';
23
23
  export { pages } from '@mdgate/pages';
24
- export { pdf, setPdfMaps } from '@mdgate/pdf';
24
+ export { pdf } from '@mdgate/pdf';
25
25
  export { ppt } from '@mdgate/ppt';
26
26
  export { pptx } from '@mdgate/pptx';
27
27
  export { rtf } from '@mdgate/rtf';
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{audio as Vo}from"@mdgate/audio";import{ConvertError as Oo,create as Ro}from"@mdgate/core";import{csv as Do}from"@mdgate/csv";import{data as Fo}from"@mdgate/data";import{doc as Jo}from"@mdgate/doc";import{docx as Lo}from"@mdgate/docx";import{email as So}from"@mdgate/email";import{epub as Uo}from"@mdgate/epub";import{fb2 as Yo}from"@mdgate/fb2";import{html as _o}from"@mdgate/html";import{hwp as jo}from"@mdgate/hwp";import{image as Bo,svg as No}from"@mdgate/image";import{ipynb as Wo}from"@mdgate/ipynb";import{keynote as yo}from"@mdgate/keynote";import{latex as no}from"@mdgate/latex";import{mobi as ho}from"@mdgate/mobi";import{numbers as co}from"@mdgate/numbers";import{odf as so}from"@mdgate/odf";import{onenote as ao}from"@mdgate/onenote";import{pages as rr}from"@mdgate/pages";import{pdf as xr,setPdfMaps as fr}from"@mdgate/pdf";import{ppt as Cr}from"@mdgate/ppt";import{pptx as Ir}from"@mdgate/pptx";import{rtf as vr}from"@mdgate/rtf";import{subtitle as ur}from"@mdgate/subtitle";import{text as Vr}from"@mdgate/text";import{video as Or}from"@mdgate/video";import{visio as qr}from"@mdgate/visio";import{wps as Er}from"@mdgate/wps";import{xlsx as Gr}from"@mdgate/xlsx";import{zip as Kr}from"@mdgate/zip";import{csv as x}from"@mdgate/csv";import{data as f}from"@mdgate/data";import{doc as m}from"@mdgate/doc";import{docx as C}from"@mdgate/docx";import{email as e}from"@mdgate/email";import{epub as I}from"@mdgate/epub";import{fb2 as M}from"@mdgate/fb2";import{html as v}from"@mdgate/html";import{hwp as t}from"@mdgate/hwp";import{svg as u}from"@mdgate/image";import{ipynb as A}from"@mdgate/ipynb";import{keynote as V}from"@mdgate/keynote";import{latex as H}from"@mdgate/latex";import{mobi as O}from"@mdgate/mobi";import{numbers as R}from"@mdgate/numbers";import{odf as q}from"@mdgate/odf";import{onenote as D}from"@mdgate/onenote";import{pages as E}from"@mdgate/pages";import{pdf as F}from"@mdgate/pdf";import{ppt as G}from"@mdgate/ppt";import{pptx as J}from"@mdgate/pptx";import{rtf as K}from"@mdgate/rtf";import{subtitle as L}from"@mdgate/subtitle";import{text as Q}from"@mdgate/text";import{visio as S}from"@mdgate/visio";import{wps as T}from"@mdgate/wps";import{xlsx as U}from"@mdgate/xlsx";import{zip as X}from"@mdgate/zip";function o(){return[x(),Q(),f(),L(),v(),e(),A(),u(),C(),m(),K(),U(),J(),G(),q(),E(),R(),V(),I(),F(),M(),O(),H(),S(),D(),t(),T(),X()]}import{create as Y}from"@mdgate/core";var Z=Y(o());function _(r,p){return Z(r,p)}export{Kr as zip,Gr as xlsx,Er as wps,qr as visio,Or as video,_ as toMarkdown,Vr as text,No as svg,ur as subtitle,fr as setPdfMaps,vr as rtf,Ir as pptx,Cr as ppt,xr as pdf,rr as pages,ao as onenote,so as odf,co as numbers,ho as mobi,no as latex,yo as keynote,Wo as ipynb,Bo as image,jo as hwp,_o as html,Yo as fb2,Uo as epub,So as email,Lo as docx,Jo as doc,Fo as data,Do as csv,Ro as create,Vo as audio,o as all,Oo as ConvertError};
1
+ import{audio as to}from"@mdgate/audio";import{ConvertError as Oo,create as Ro}from"@mdgate/core";import{csv as Do}from"@mdgate/csv";import{data as Fo}from"@mdgate/data";import{doc as Jo}from"@mdgate/doc";import{docx as Lo}from"@mdgate/docx";import{email as So}from"@mdgate/email";import{epub as Uo}from"@mdgate/epub";import{fb2 as Yo}from"@mdgate/fb2";import{html as _o}from"@mdgate/html";import{hwp as jo}from"@mdgate/hwp";import{image as Bo,svg as No}from"@mdgate/image";import{ipynb as Po}from"@mdgate/ipynb";import{keynote as yo}from"@mdgate/keynote";import{latex as no}from"@mdgate/latex";import{mobi as ho}from"@mdgate/mobi";import{numbers as co}from"@mdgate/numbers";import{odf as so}from"@mdgate/odf";import{onenote as ao}from"@mdgate/onenote";import{pages as rr}from"@mdgate/pages";import{pdf as xr}from"@mdgate/pdf";import{ppt as mr}from"@mdgate/ppt";import{pptx as er}from"@mdgate/pptx";import{rtf as vr}from"@mdgate/rtf";import{subtitle as ur}from"@mdgate/subtitle";import{text as Vr}from"@mdgate/text";import{video as Hr}from"@mdgate/video";import{visio as Rr}from"@mdgate/visio";import{wps as Dr}from"@mdgate/wps";import{xlsx as Fr}from"@mdgate/xlsx";import{zip as Jr}from"@mdgate/zip";import{csv as x}from"@mdgate/csv";import{data as f}from"@mdgate/data";import{doc as m}from"@mdgate/doc";import{docx as C}from"@mdgate/docx";import{email as e}from"@mdgate/email";import{epub as I}from"@mdgate/epub";import{fb2 as v}from"@mdgate/fb2";import{html as M}from"@mdgate/html";import{hwp as u}from"@mdgate/hwp";import{svg as A}from"@mdgate/image";import{ipynb as V}from"@mdgate/ipynb";import{keynote as t}from"@mdgate/keynote";import{latex as H}from"@mdgate/latex";import{mobi as O}from"@mdgate/mobi";import{numbers as R}from"@mdgate/numbers";import{odf as q}from"@mdgate/odf";import{onenote as D}from"@mdgate/onenote";import{pages as E}from"@mdgate/pages";import{pdf as F}from"@mdgate/pdf";import{ppt as G}from"@mdgate/ppt";import{pptx as J}from"@mdgate/pptx";import{rtf as K}from"@mdgate/rtf";import{subtitle as L}from"@mdgate/subtitle";import{text as Q}from"@mdgate/text";import{visio as S}from"@mdgate/visio";import{wps as T}from"@mdgate/wps";import{xlsx as U}from"@mdgate/xlsx";import{zip as X}from"@mdgate/zip";function o(){return[x(),Q(),f(),L(),M(),e(),V(),A(),C(),m(),K(),U(),J(),G(),q(),E(),R(),t(),I(),F(),v(),O(),H(),S(),D(),u(),T(),X()]}import{create as Y}from"@mdgate/core";var Z=Y(o());function _(r,p){return Z(r,p)}export{Jr as zip,Fr as xlsx,Dr as wps,Rr as visio,Hr as video,_ as toMarkdown,Vr as text,No as svg,ur as subtitle,vr as rtf,er as pptx,mr as ppt,xr as pdf,rr as pages,ao as onenote,so as odf,co as numbers,ho as mobi,no as latex,yo as keynote,Po as ipynb,Bo as image,jo as hwp,_o as html,Yo as fb2,Uo as epub,So as email,Lo as docx,Jo as doc,Fo as data,Do as csv,Ro as create,to as audio,o as all,Oo as ConvertError};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mdgate/converters",
3
- "version": "0.5.7",
3
+ "version": "0.6.1",
4
4
  "description": "Official mdgate converter bundle",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -22,37 +22,37 @@
22
22
  "prepublishOnly": "bun run build"
23
23
  },
24
24
  "dependencies": {
25
- "@mdgate/audio": "0.5.7",
26
- "@mdgate/core": "0.5.7",
27
- "@mdgate/csv": "0.5.7",
28
- "@mdgate/data": "0.5.7",
29
- "@mdgate/doc": "0.5.7",
30
- "@mdgate/docx": "0.5.7",
31
- "@mdgate/email": "0.5.7",
32
- "@mdgate/epub": "0.5.7",
33
- "@mdgate/fb2": "0.5.7",
34
- "@mdgate/html": "0.5.7",
35
- "@mdgate/hwp": "0.5.7",
36
- "@mdgate/image": "0.5.7",
37
- "@mdgate/ipynb": "0.5.7",
38
- "@mdgate/keynote": "0.5.7",
39
- "@mdgate/latex": "0.5.7",
40
- "@mdgate/mobi": "0.5.7",
41
- "@mdgate/numbers": "0.5.7",
42
- "@mdgate/odf": "0.5.7",
43
- "@mdgate/onenote": "0.5.7",
44
- "@mdgate/pages": "0.5.7",
45
- "@mdgate/pdf": "0.5.7",
46
- "@mdgate/ppt": "0.5.7",
47
- "@mdgate/pptx": "0.5.7",
48
- "@mdgate/rtf": "0.5.7",
49
- "@mdgate/subtitle": "0.5.7",
50
- "@mdgate/text": "0.5.7",
51
- "@mdgate/video": "0.5.7",
52
- "@mdgate/visio": "0.5.7",
53
- "@mdgate/wps": "0.5.7",
54
- "@mdgate/xlsx": "0.5.7",
55
- "@mdgate/zip": "0.5.7"
25
+ "@mdgate/audio": "0.6.1",
26
+ "@mdgate/core": "0.6.1",
27
+ "@mdgate/csv": "0.6.1",
28
+ "@mdgate/data": "0.6.1",
29
+ "@mdgate/doc": "0.6.1",
30
+ "@mdgate/docx": "0.6.1",
31
+ "@mdgate/email": "0.6.1",
32
+ "@mdgate/epub": "0.6.1",
33
+ "@mdgate/fb2": "0.6.1",
34
+ "@mdgate/html": "0.6.1",
35
+ "@mdgate/hwp": "0.6.1",
36
+ "@mdgate/image": "0.6.1",
37
+ "@mdgate/ipynb": "0.6.1",
38
+ "@mdgate/keynote": "0.6.1",
39
+ "@mdgate/latex": "0.6.1",
40
+ "@mdgate/mobi": "0.6.1",
41
+ "@mdgate/numbers": "0.6.1",
42
+ "@mdgate/odf": "0.6.1",
43
+ "@mdgate/onenote": "0.6.1",
44
+ "@mdgate/pages": "0.6.1",
45
+ "@mdgate/pdf": "0.6.1",
46
+ "@mdgate/ppt": "0.6.1",
47
+ "@mdgate/pptx": "0.6.1",
48
+ "@mdgate/rtf": "0.6.1",
49
+ "@mdgate/subtitle": "0.6.1",
50
+ "@mdgate/text": "0.6.1",
51
+ "@mdgate/video": "0.6.1",
52
+ "@mdgate/visio": "0.6.1",
53
+ "@mdgate/wps": "0.6.1",
54
+ "@mdgate/xlsx": "0.6.1",
55
+ "@mdgate/zip": "0.6.1"
56
56
  },
57
57
  "publishConfig": {
58
58
  "access": "public"