diff --git a/demo/browser-demo.html b/demo/browser-demo.html index 66a7476ff4e..808dc0d47b8 100644 --- a/demo/browser-demo.html +++ b/demo/browser-demo.html @@ -1,4 +1,4 @@ - + diff --git a/package-lock.json b/package-lock.json index 6b92b5fd0ef..d3909236fa5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -39,7 +39,7 @@ "inquirer": "^9.2.7", "jsdom": "^22.1.0", "pre-commit": "^1.2.2", - "prettier": "^2.3.1", + "prettier": "^3.0.0", "ts-node": "^10.2.1", "tsconfig-paths": "^4.0.0", "typedoc": "^0.24.8", @@ -9444,15 +9444,15 @@ } }, "node_modules/prettier": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", - "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.0.tgz", + "integrity": "sha512-zBf5eHpwHOGPC47h0zrPyNn+eAEIdEzfywMoYn2XPi0P44Zp0tSq64rq0xAREh4auw2cJZHo9QUob+NqCQky4g==", "dev": true, "bin": { - "prettier": "bin-prettier.js" + "prettier": "bin/prettier.cjs" }, "engines": { - "node": ">=10.13.0" + "node": ">=14" }, "funding": { "url": "https://github.com/prettier/prettier?sponsor=1" @@ -19280,9 +19280,9 @@ "dev": true }, "prettier": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", - "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.0.tgz", + "integrity": "sha512-zBf5eHpwHOGPC47h0zrPyNn+eAEIdEzfywMoYn2XPi0P44Zp0tSq64rq0xAREh4auw2cJZHo9QUob+NqCQky4g==", "dev": true }, "prismjs": { diff --git a/package.json b/package.json index 11b4da575b9..976b1c6df65 100644 --- a/package.json +++ b/package.json @@ -90,7 +90,7 @@ "inquirer": "^9.2.7", "jsdom": "^22.1.0", "pre-commit": "^1.2.2", - "prettier": "^2.3.1", + "prettier": "^3.0.0", "ts-node": "^10.2.1", "tsconfig-paths": "^4.0.0", "typedoc": "^0.24.8", diff --git a/src/file/footer-wrapper.ts b/src/file/footer-wrapper.ts index 42214267d75..ff026455d45 100644 --- a/src/file/footer-wrapper.ts +++ b/src/file/footer-wrapper.ts @@ -17,7 +17,11 @@ export class FooterWrapper implements IViewWrapper { private readonly footer: Footer; private readonly relationships: Relationships; - public constructor(private readonly media: Media, referenceId: number, initContent?: XmlComponent) { + public constructor( + private readonly media: Media, + referenceId: number, + initContent?: XmlComponent, + ) { this.footer = new Footer(referenceId, initContent); this.relationships = new Relationships(); } diff --git a/src/file/header-wrapper.ts b/src/file/header-wrapper.ts index a74a1e97fb6..68f08ad0064 100644 --- a/src/file/header-wrapper.ts +++ b/src/file/header-wrapper.ts @@ -17,7 +17,11 @@ export class HeaderWrapper implements IViewWrapper { private readonly header: Header; private readonly relationships: Relationships; - public constructor(private readonly media: Media, referenceId: number, initContent?: XmlComponent) { + public constructor( + private readonly media: Media, + referenceId: number, + initContent?: XmlComponent, + ) { this.header = new Header(referenceId, initContent); this.relationships = new Relationships(); }