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
1
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

23
7

4.13.0

Diff

Changelog

Source

4.13.0 (2024-04-17)

  • MR 360 Added maximumWalkingDepth option for supporting large documents.
  • Updated dependencies.
jjhbw
published 4.12.0 •

Changelog

Source

4.12.0 (2024-04-01)

  • #15 Generate columns for a table using FOR loop.
jjhbw
published 4.11.5 •

Changelog

Source

4.11.5 (2024-03-24)

  • #340 Fix for infinite loop bug: don't allow nested IFs on same w:p or w:tr tag.
  • #356 Simplify documentation of INS commands.
  • #355 Retain original sandbox errors (from different JavaScript realms) without coercion.
jjhbw
published 4.11.4 •

Changelog

Source

4.11.4 (2024-01-12)

  • Replace weak Object types of runJs arguments.
  • Remove unnecessary use of eval() internally.
  • #341 Add result to ObjectCommandResultError. When a ObjectCommandResultError is thrown, this change attaches the computed result to the error in case a custom error handler wants to use it for some reason. (thanks @emilong!)
  • #345: Make types for template more liberal. What works with Buffer should work with ArrayBuffer, with the benefit that browsers don't need a Buffer polyfill.
jjhbw
published 4.11.3 •

Changelog

Source

4.11.3 (2023-08-08)

  • (PR #321) Fix InvalidCommandError referring to 'Unexpected END-IF outside of IF statement context:' when the problem was actually an unexpected END-FOR. Thanks @davidjb
  • Issue #322: Fix silent failure caused by unterminated for-loop in template, leading to a (partially) empty report. Throw new UnterminatedForLoopError when FOR loop is not properly terminated with an END-FOR.
  • Remove unnecessary runtime dependency (timm).
  • Upgrade jszip dependency to latest version.
jjhbw
published 4.11.2 •

Changelog

Source

4.11.2 (2023-07-14)

  • Issue #296: Fix bug caused by Shapes having the same ID they are generated from a FOR loop. (PR #315) Thanks @SuchiraD!
  • Issue #314: Ensure all custom error types are exported.
jjhbw
published 4.11.1 •

Changelog

Source

4.11.1 (2023-04-04)

  • (PR #305) the IncompleteConditionalStatementError is now thrown when an 'IF' statement lacks a corresponding 'END-IF' command. Thanks @RoXuS !
jjhbw
published 4.11.0 •

Changelog

Source

4.11.0 (2023-03-02)

  • Issue #143: Add optional processLineBreaksAsNewText toggle which provides an alternative way of inserting line breaks from commands into the docx XML. This should improve rendering of newlines in a few docx readers, like LibreOffice. (PR #182). Thanks @khaled-iva-docs !
  • Updated dependencies.
jjhbw
published 4.10.0 •

Changelog

Source

4.10.0 (2023-02-03)

  • Issue #194: add ability to provide captions for images (PR #286).
  • Ensure XMLs are processed in a deterministic order (mainly relevant for listCommands()), see commit 8b2ba5526df78da675eaf59f88cb76035ffac5bd.
  • Various minor code quality and typing improvements.
  • Bumped dependencies.
guigrpa
published 4.9.2 •

Changelog

Source

4.9.2 (2022-04-04)

  • PR 266 Fix types for Deno bundle (by @mathe42).
23
7
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