Compare commits

...

2 Commits
7.8.1 ... 7.8.2

Author SHA1 Message Date
3006f4d2c1 Version bump 2023-01-05 00:25:31 +00:00
7f88a38219 Fix more empty return values 2023-01-04 22:45:27 +00:00
4 changed files with 5 additions and 5 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "docx", "name": "docx",
"version": "7.8.1", "version": "7.8.2",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "docx", "name": "docx",
"version": "7.8.1", "version": "7.8.2",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@types/node": "^18.0.0", "@types/node": "^18.0.0",

View File

@ -1,6 +1,6 @@
{ {
"name": "docx", "name": "docx",
"version": "7.8.1", "version": "7.8.2",
"description": "Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.", "description": "Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.",
"main": "build/index.js", "main": "build/index.js",
"scripts": { "scripts": {

View File

@ -75,7 +75,7 @@ export class PageBorders extends IgnoreIfEmptyXmlComponent {
super("w:pgBorders"); super("w:pgBorders");
if (!options) { if (!options) {
return; return this;
} }
if (options.pageBorders) { if (options.pageBorders) {

View File

@ -11,7 +11,7 @@ export class SymbolRun extends Run {
if (typeof options === "string") { if (typeof options === "string") {
super({}); super({});
this.root.push(new Symbol(options)); this.root.push(new Symbol(options));
return; return this;
} }
super(options); super(options);