Compare commits
1 Commits
dont-throw
...
dependabot
Author | SHA1 | Date | |
---|---|---|---|
126d13d5cf |
1577
package-lock.json
generated
1577
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "docx",
|
||||
"version": "9.5.0",
|
||||
"version": "9.4.1",
|
||||
"description": "Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.",
|
||||
"type": "module",
|
||||
"main": "dist/index.umd.cjs",
|
||||
@ -101,7 +101,7 @@
|
||||
"tsconfig-paths": "^4.0.0",
|
||||
"tsx": "^4.7.0",
|
||||
"typedoc": "^0.28.2",
|
||||
"typescript": "5.3.3",
|
||||
"typescript": "5.8.3",
|
||||
"typescript-eslint": "^8.10.0",
|
||||
"unzipper": "^0.12.3",
|
||||
"vite": "^6.0.1",
|
||||
|
@ -19,6 +19,8 @@ export const findRunElementIndexWithToken = (paragraphElement: Element, token: s
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
throw new Error("Token not found");
|
||||
};
|
||||
|
||||
export const splitRunElement = (runElement: Element, token: string): { readonly left: Element; readonly right: Element } => {
|
||||
|
Reference in New Issue
Block a user