@presentation-md/export 1.23.30 → 1.23.31
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/import/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import type { ImportOptions } from "./types.js";
|
|
|
2
2
|
export type { ExtractedImage, ExtractedSlide, ExtractedPresentation, ExtractOptions, MapOptions, ImportOptions, } from "./types.js";
|
|
3
3
|
export { extractPptx } from "./extract.js";
|
|
4
4
|
export { mapExtractedToDeck } from "./map.js";
|
|
5
|
+
export { MAX_COMPRESSED_BYTES, assertZipArchiveSafe } from "./zip-limits.js";
|
|
5
6
|
export declare function pptxToDeck(input: Uint8Array | Buffer, opts?: ImportOptions): Promise<{
|
|
6
7
|
deck: import("../deck-types.js").DeckJson;
|
|
7
8
|
extracted: import("./types.js").ExtractedPresentation;
|
package/dist/import/index.js
CHANGED
|
@@ -2,6 +2,7 @@ import { extractPptx } from "./extract.js";
|
|
|
2
2
|
import { mapExtractedToDeck } from "./map.js";
|
|
3
3
|
export { extractPptx } from "./extract.js";
|
|
4
4
|
export { mapExtractedToDeck } from "./map.js";
|
|
5
|
+
export { MAX_COMPRESSED_BYTES, assertZipArchiveSafe } from "./zip-limits.js";
|
|
5
6
|
export async function pptxToDeck(input, opts = {}) {
|
|
6
7
|
const extractOpts = { onWarn: opts.onWarn };
|
|
7
8
|
const mapOpts = {
|
package/dist/import/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/import/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAY9C,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/import/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAY9C,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAE7E,MAAM,CAAC,KAAK,UAAU,UAAU,CAC9B,KAA0B,EAC1B,OAAsB,EAAE;IAMxB,MAAM,WAAW,GAAmB,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC;IAC5D,MAAM,OAAO,GAAe;QAC1B,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,MAAM,EAAE,IAAI,CAAC,MAAM;KACpB,CAAC;IACF,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,eAAe,EAAE,GAAG,MAAM,WAAW,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC;IACvF,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,MAAM,kBAAkB,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IACrF,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC,GAAG,eAAe,EAAE,GAAG,WAAW,CAAC,EAAE,CAAC;AAC7E,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@presentation-md/export",
|
|
3
|
-
"version": "1.23.
|
|
3
|
+
"version": "1.23.31",
|
|
4
4
|
"description": "Round-trip PowerPoint for presentation-md decks — export Deck JSON to editable .pptx, and import .pptx back into Deck JSON.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|