@bendyline/squisq-cli 2.4.3 → 2.4.4
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/THIRD_PARTY_LICENSES.txt +1 -1
- package/dist/{api-PBBQQMRP.js → api-36UERSSU.js} +1 -1
- package/dist/api.js +15 -7
- package/dist/{chunk-X3GFPKRJ.js → chunk-6OBPEBL4.js} +17 -9
- package/dist/index.js +1 -1
- package/dist/squisq-player-icons.global.js +1 -0
- package/dist/squisq-player.full.global.js +319 -318
- package/dist/squisq-player.global.js +55 -54
- package/package.json +5 -5
package/THIRD_PARTY_LICENSES.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
THIRD-PARTY LICENSES FOR @bendyline/squisq-cli
|
|
2
2
|
|
|
3
|
-
The inventory below covers the bundled light and full standalone player artifacts.
|
|
3
|
+
The inventory below covers the bundled light and full standalone player artifacts and their shared icon styles.
|
|
4
4
|
|
|
5
5
|
Generated from the actual esbuild input graph. Package-local license, copying,
|
|
6
6
|
and notice files are reproduced verbatim. When an npm tarball omits its
|
package/dist/api.js
CHANGED
|
@@ -818,18 +818,26 @@ function throwIfAborted(signal) {
|
|
|
818
818
|
import { ConversionError } from "@bendyline/squisq-formats";
|
|
819
819
|
var playerBundlePromise;
|
|
820
820
|
var fullPlayerBundlePromise;
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
821
|
+
var playerIconBootstrapPromise;
|
|
822
|
+
function loadPlayerIconBootstrap() {
|
|
823
|
+
playerIconBootstrapPromise ??= readFile3(
|
|
824
|
+
new URL("../dist/squisq-player-icons.global.js", import.meta.url),
|
|
824
825
|
"utf8"
|
|
825
826
|
);
|
|
827
|
+
return playerIconBootstrapPromise;
|
|
828
|
+
}
|
|
829
|
+
function loadPlayerBundle() {
|
|
830
|
+
playerBundlePromise ??= Promise.all([
|
|
831
|
+
loadPlayerIconBootstrap(),
|
|
832
|
+
readFile3(new URL("../dist/squisq-player.global.js", import.meta.url), "utf8")
|
|
833
|
+
]).then(([icons, player]) => `${icons}${player}`);
|
|
826
834
|
return playerBundlePromise;
|
|
827
835
|
}
|
|
828
836
|
function loadFullPlayerBundle() {
|
|
829
|
-
fullPlayerBundlePromise ??=
|
|
830
|
-
|
|
831
|
-
"utf8"
|
|
832
|
-
);
|
|
837
|
+
fullPlayerBundlePromise ??= Promise.all([
|
|
838
|
+
loadPlayerIconBootstrap(),
|
|
839
|
+
readFile3(new URL("../dist/squisq-player.full.global.js", import.meta.url), "utf8")
|
|
840
|
+
]).then(([icons, player]) => `${icons}${player}`);
|
|
833
841
|
return fullPlayerBundlePromise;
|
|
834
842
|
}
|
|
835
843
|
async function convert(source, to, options = {}) {
|
|
@@ -330,7 +330,7 @@ function mp4Format() {
|
|
|
330
330
|
const animationsEnabled = typeof mp4Opts.animationsEnabled === "boolean" ? mp4Opts.animationsEnabled : MP4_DEFAULTS.animationsEnabled;
|
|
331
331
|
const outputPath = join(tmpdir(), `squisq-mp4-${randomBytes(8).toString("hex")}.mp4`);
|
|
332
332
|
try {
|
|
333
|
-
const { renderDocToMp4: renderDocToMp42 } = await import("./api-
|
|
333
|
+
const { renderDocToMp4: renderDocToMp42 } = await import("./api-36UERSSU.js");
|
|
334
334
|
await renderDocToMp42(input.doc, input.container, {
|
|
335
335
|
outputPath,
|
|
336
336
|
fps,
|
|
@@ -371,7 +371,7 @@ function gifFormat() {
|
|
|
371
371
|
const defaultHeight = portrait ? GIF_DEFAULTS.width : GIF_DEFAULTS.height;
|
|
372
372
|
const outputPath = join(tmpdir(), `squisq-gif-${randomBytes(8).toString("hex")}.gif`);
|
|
373
373
|
try {
|
|
374
|
-
const { renderDocToGif: renderDocToGif2 } = await import("./api-
|
|
374
|
+
const { renderDocToGif: renderDocToGif2 } = await import("./api-36UERSSU.js");
|
|
375
375
|
const result = await renderDocToGif2(input.doc, input.container, {
|
|
376
376
|
outputPath,
|
|
377
377
|
fps: typeof gifOpts.fps === "number" ? gifOpts.fps : GIF_DEFAULTS.fps,
|
|
@@ -815,18 +815,26 @@ function throwIfAborted(signal) {
|
|
|
815
815
|
import { ConversionError } from "@bendyline/squisq-formats";
|
|
816
816
|
var playerBundlePromise;
|
|
817
817
|
var fullPlayerBundlePromise;
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
818
|
+
var playerIconBootstrapPromise;
|
|
819
|
+
function loadPlayerIconBootstrap() {
|
|
820
|
+
playerIconBootstrapPromise ??= readFile3(
|
|
821
|
+
new URL("../dist/squisq-player-icons.global.js", import.meta.url),
|
|
821
822
|
"utf8"
|
|
822
823
|
);
|
|
824
|
+
return playerIconBootstrapPromise;
|
|
825
|
+
}
|
|
826
|
+
function loadPlayerBundle() {
|
|
827
|
+
playerBundlePromise ??= Promise.all([
|
|
828
|
+
loadPlayerIconBootstrap(),
|
|
829
|
+
readFile3(new URL("../dist/squisq-player.global.js", import.meta.url), "utf8")
|
|
830
|
+
]).then(([icons, player]) => `${icons}${player}`);
|
|
823
831
|
return playerBundlePromise;
|
|
824
832
|
}
|
|
825
833
|
function loadFullPlayerBundle() {
|
|
826
|
-
fullPlayerBundlePromise ??=
|
|
827
|
-
|
|
828
|
-
"utf8"
|
|
829
|
-
);
|
|
834
|
+
fullPlayerBundlePromise ??= Promise.all([
|
|
835
|
+
loadPlayerIconBootstrap(),
|
|
836
|
+
readFile3(new URL("../dist/squisq-player.full.global.js", import.meta.url), "utf8")
|
|
837
|
+
]).then(([icons, player]) => `${icons}${player}`);
|
|
830
838
|
return fullPlayerBundlePromise;
|
|
831
839
|
}
|
|
832
840
|
async function convert(source, to, options = {}) {
|