presenter 0.6.5 → 0.7.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.
package/dist/export.mjs CHANGED
@@ -4575,7 +4575,7 @@ function Xt(e) {
4575
4575
  const A = typeof process < "u" && !!(!((n = process.versions) === null || n === void 0) && n.node) && ((t = process.release) === null || t === void 0 ? void 0 : t.name) === "node";
4576
4576
  let a, i;
4577
4577
  const s = A ? () => Re(this, void 0, void 0, function* () {
4578
- ({ default: a } = yield import("./__vite-browser-external-DYxpcVy9.mjs")), { default: i } = yield import("./__vite-browser-external-DYxpcVy9.mjs");
4578
+ ({ default: a } = yield import("node:fs")), { default: i } = yield import("node:https");
4579
4579
  }) : () => Re(this, void 0, void 0, function* () {
4580
4580
  });
4581
4581
  A && s();
@@ -5319,7 +5319,7 @@ class pn {
5319
5319
  typeof n == "string" && (console.warn("[WARNING] writeFile(string) is deprecated - pass { fileName } instead."), n = { fileName: n });
5320
5320
  const { fileName: i = "Presentation.pptx", compression: s = !1 } = n, c = i.toLowerCase().endsWith(".pptx") ? i : `${i}.pptx`, l = a ? "nodebuffer" : null, r = yield this.exportPresentation({ compression: s, outputType: l });
5321
5321
  if (a) {
5322
- const { promises: o } = yield import("./__vite-browser-external-DYxpcVy9.mjs"), { writeFile: f } = o;
5322
+ const { promises: o } = yield import("node:fs"), { writeFile: f } = o;
5323
5323
  return yield f(c, r), c;
5324
5324
  }
5325
5325
  return yield this.writeFileToBrowser(c, r), c;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "presenter",
3
- "version": "0.6.5",
3
+ "version": "0.7.0",
4
4
  "description": "A JavaScript presentation library",
5
5
  "main": "dist/presenter.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,4 +0,0 @@
1
- const e = {};
2
- export {
3
- e as default
4
- };