New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

docx-templates

Package Overview
Dependencies
Maintainers
2
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docx-templates - npm Package Versions

13
7

4.9.1

Diff

Changelog

Source

4.9.1 (2022-02-18)

  • Issue #259 Fix issue that caused inserted images to be overwritten when createReport() was invoked a second time on the resulting template.
guigrpa
published 4.9.0 •

Changelog

Source

4.9.0 (2022-01-20)

  • Updated dependencies.
  • PR 253 Add support for Deno through the browser bundle. Thanks @mathe42!
guigrpa
published 4.8.2 •

Changelog

Source

4.8.2 (2021-09-28)

  • PR 233 Prevent adding empty paragraph if cell contains altChunk. Thanks @pkozul!
guigrpa
published 4.8.1 •

Changelog

Source

4.8.1 (2021-09-28)

  • #239 Fixed issue that prevented the listCommands function from detecting commands in the template's header and footer.
guigrpa
published 4.8.0 •

Changelog

Source

4.8.0 (2021-08-06)

  • #231 The library now also comes with a pre-compiled and polyfilled browser build. See documentation in README. Thanks @mathe42!
  • PR 229 Minor change to how filenames of HTML snippets are formatted in the final .docx file so the resulting documents work with picky parsers.
guigrpa
published 4.7.0 •

Changelog

Source

4.7.0 (2021-07-12)

  • #221 New feature: user can now optionally specify image rotation when using IMAGE commands.
  • #218 Fixed bug that caused redundant copies of images to be inserted into the docx file.
  • #133 Fix for the INTERNAL ERROR thrown when using links inside for loops.
  • #222 Fix for bug that caused HTML commands to produce corrupted docx files.
guigrpa
published 4.6.4 •

Changelog

Source

4.6.4 (2021-07-02)

  • Fixed bug that caused IMAGE commands in the document body to be ignored when a shape or image was already present in the document's header or footer. (#217).
guigrpa
published 4.6.3 •

Changelog

Source

4.6.3 (2021-06-05)

  • Allow arrays as the result of INS commands again (#214). Thanks @LexAckson for pointing this out.
guigrpa
published 4.6.2 •

Changelog

Source

4.6.2 (2021-06-03)

  • Fix for issues #190 and #144. Image IDs in the rendered XML are now ensured to be globally unique to avoid warnings of file corruption in some popular editors (like MS Word).
guigrpa
published 4.6.1 •

Changelog

Source

4.6.1 (2021-06-01)

  • Fix for issue #213: throw an error when user tries to iterate over a non-array in a template with a FOR loop. This used to create an infinite loop.
  • Throw ObjectCommandResultError when the result of an INS command is an Object. This ensures you don't accidentally put '[object Object]' in your report.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc