@office-open/docx
Advanced tools
| //#region \0rolldown/runtime.js | ||
| var __defProp = Object.defineProperty; | ||
| var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
| var __getOwnPropNames = Object.getOwnPropertyNames; | ||
| var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
| var __exportAll = (all, no_symbols) => { | ||
| let target = {}; | ||
| for (var name in all) __defProp(target, name, { | ||
| get: all[name], | ||
| enumerable: true | ||
| }); | ||
| if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" }); | ||
| return target; | ||
| }; | ||
| var __copyProps = (to, from, except, desc) => { | ||
| if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) { | ||
| key = keys[i]; | ||
| if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { | ||
| get: ((k) => from[k]).bind(null, key), | ||
| enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable | ||
| }); | ||
| } | ||
| return to; | ||
| }; | ||
| var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default")); | ||
| //#endregion | ||
| export { __reExport as n, __exportAll as t }; |
+3
-12
| { | ||
| "name": "@office-open/docx", | ||
| "version": "0.2.0", | ||
| "version": "0.3.0", | ||
| "description": "Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.", | ||
@@ -45,15 +45,6 @@ "keywords": [ | ||
| "fflate": "0.8.2", | ||
| "hash.js": "1.1.7", | ||
| "nanoid": "5.1.9", | ||
| "undio": "0.2.0", | ||
| "@office-open/xml": "0.1.0" | ||
| "@office-open/core": "0.3.0", | ||
| "@office-open/xml": "0.3.0" | ||
| }, | ||
| "devDependencies": { | ||
| "@rolldown/plugin-node-polyfills": "1.0.3", | ||
| "docx": "^9.6.1", | ||
| "execa": "9.6.1", | ||
| "inquirer": "13.4.1", | ||
| "tsx": "4.21.0", | ||
| "typedoc": "0.28.19" | ||
| }, | ||
| "scripts": { | ||
@@ -60,0 +51,0 @@ "dev": "basis build --stub", |
+7
-7
@@ -7,3 +7,3 @@ # @office-open/docx | ||
| > Generate .docx files with a nice declarative API. Works for Node.js and on the Browser. | ||
| > Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser. | ||
@@ -82,8 +82,8 @@ ## Features | ||
| | Scenario | @office-open/docx | docx | Speedup | | ||
| | ------------------------------------------------------- | ----------------: | -------: | --------: | | ||
| | Simple document (2 paragraphs) | 7,672 hz | 4,334 hz | **1.77x** | | ||
| | Styled paragraphs (20 paragraphs) | 6,301 hz | 4,157 hz | **1.52x** | | ||
| | Table (10x5 cells) | 3,854 hz | 2,595 hz | **1.49x** | | ||
| | Full featured (header/footer/headings/table/paragraphs) | 2,745 hz | 2,366 hz | **1.16x** | | ||
| | Scenario | @office-open/docx | docx | Speedup | | ||
| | ------------------------------------------------------- | ----------------: | ---------: | --------: | | ||
| | Simple document (2 paragraphs) | 25.7K ops/s | 5.3K ops/s | **4.84x** | | ||
| | Styled paragraphs (20 paragraphs) | 24.2K ops/s | 4.4K ops/s | **5.45x** | | ||
| | Table (10x5 cells) | 15.5K ops/s | 3.3K ops/s | **4.70x** | | ||
| | Full featured (header/footer/headings/table/paragraphs) | 13.8K ops/s | 2.6K ops/s | **5.30x** | | ||
@@ -90,0 +90,0 @@ ## License |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
4
-20%0
-100%8
14.29%2
-50%2579479
-13.97%25185
-13.39%+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
Updated