pptxgenjs-plus 4.3.10 → 4.4.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/pptxgen.bundle.js +30 -30
- package/dist/pptxgen.cjs.js +1232 -880
- package/dist/pptxgen.es.js +1213 -861
- package/dist/pptxgen.min.js +32 -32
- package/package.json +14 -6
- package/types/core.d.ts +5979 -0
- package/types/index.d.mts +227 -0
- package/types/index.d.ts +226 -6257
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pptxgenjs-plus",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.0",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Brent Ely",
|
|
6
6
|
"url": "https://github.com/gitbrent/"
|
|
@@ -21,9 +21,16 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"exports": {
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
".": {
|
|
25
|
+
"import": {
|
|
26
|
+
"types": "./types/index.d.mts",
|
|
27
|
+
"default": "./dist/pptxgen.es.js"
|
|
28
|
+
},
|
|
29
|
+
"require": {
|
|
30
|
+
"types": "./types/core.d.ts",
|
|
31
|
+
"default": "./dist/pptxgen.cjs.js"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
27
34
|
},
|
|
28
35
|
"main": "dist/pptxgen.cjs.js",
|
|
29
36
|
"module": "dist/pptxgen.es.js",
|
|
@@ -52,8 +59,9 @@
|
|
|
52
59
|
"docs:preview": "rspress preview",
|
|
53
60
|
"lint": "bun run generate:version && eslint src test",
|
|
54
61
|
"typecheck": "bun run generate:version && tsc --noEmit",
|
|
55
|
-
"test": "
|
|
56
|
-
"test
|
|
62
|
+
"test:types": "tsc --noEmit -p test/types/nodenext/tsconfig.json && tsc --noEmit -p test/types/node16/tsconfig.json && tsc --noEmit -p test/types/bundler/tsconfig.json && tsc --noEmit -p test/types/legacy/tsconfig.json && tsc --noEmit -p test/types/umd/tsconfig.json",
|
|
63
|
+
"test": "bun run generate:version && bun test test/gen-utils.test.ts test/issues.test.ts test/audit-fixes.test.ts test/pptxgen.e2e.test.ts test/contracts.test.ts test/coverage.test.ts test/coverage-objects.test.ts test/package-version-plugin.test.ts test/ms-pptx-profile.test.ts test/pptx-verify.test.ts test/backports-core.test.ts test/backports-charts.test.ts test/backports-slides.test.ts",
|
|
64
|
+
"test:coverage": "bun run generate:version && bun test --coverage test/gen-utils.test.ts test/issues.test.ts test/audit-fixes.test.ts test/pptxgen.e2e.test.ts test/contracts.test.ts test/coverage.test.ts test/coverage-objects.test.ts test/package-version-plugin.test.ts test/ms-pptx-profile.test.ts test/pptx-verify.test.ts test/backports-core.test.ts test/backports-charts.test.ts test/backports-slides.test.ts",
|
|
57
65
|
"test:office": "bun run generate:version && bun test test/office-open.test.ts",
|
|
58
66
|
"test:powerpoint": "bun run generate:version && bun test --timeout 180000 --max-concurrency 1 test/powerpoint-open.test.ts && bun test --timeout 180000 --max-concurrency 1 test/powerpoint-repair-fixtures.test.ts",
|
|
59
67
|
"powerpoint:verify": "bun test/powerpoint-verify.ts",
|