Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

docxtemplater

Package Overview
Dependencies
Maintainers
1
Versions
319
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docxtemplater - npm Package Versions

1
32

3.43.1

Diff

Changelog

Source

3.43.1

Improve Typescript support to use the NodeNext moduleResolution setting.

See the explanation here.

Fixed in this pull request thanks to @benasher44.

edi9999
published 3.43.0 •

Changelog

Source

3.43.0

Add getResolvedId calculation in docxtemplater to all template parts so that all modules can store a value for each templated part. This value is guaranteed to be the same for a given {placeholder} and data attribute between resolve and render.

edi9999
published 3.42.7 •

Changelog

Source

3.42.7

Throw specific error if two modules with the same name are attached.

Bugfix issue on TxtTemplater when using {paragraphLoop: true}.

edi9999
published 3.42.6 •

Changelog

Source

3.42.6

Bugfix of internal API change, which was published in v3.42.5

edi9999
published 3.42.5 •

Changelog

Source

3.42.5

Bugfix for TxtTemplating :

const TxtTemplater = require("docxtemplater/text.js");

The following template :

<p>Foobar</p>

Would be rendered as :

<p&gt;Foobar</p&gt;

Also, errors such as unclosed loops, like in :

{#users}Foo

would produce an internal stacktrace.

Now, a MultiError is thrown which contains the list of all errors inside error.properties.errors

edi9999
published 3.42.4 •

Changelog

Source

3.42.4

Avoid issue Cannot read properties of undefined (reading 'length') when using renderAsync.

Now, the correct error message should be shown.

edi9999
published 3.42.3 •

Changelog

Source

3.42.3

Bugfix to avoid following error when runnig iModule.getStructuredTags() :

TypeError: Cannot read properties of undefined (reading 'replace')

Now, the tags are correctly returned.

edi9999
published 3.42.2 •

Changelog

Source

3.42.2

Bugfix to add clone method to the assertion module and to the inspect module

edi9999
published 3.42.1 •

Changelog

Source

3.42.1

Bugfix for inspect module when used together with qrcode/xlsx or table module, in some specific cases, the getTags function would return values correctly, but also return a key named "undefined", like this :

const tags = iModule.getAllTags();
console.log(tags); // would return : { name: {}, undefined: {}}

In order to apply the fix, you have to update the following modules (if you use them) :

  • qrcode module to 3.4.7
  • table module to 3.19.9
  • xlsx module to 3.14.2
edi9999
published 3.42.0 •

Changelog

Source

3.42.0

[Internal] Add filePath to each "inspect" call, which fixes a bug with the chart module when used together with the "getTags" feature of the inspect module.

If you update to this version, it is important that you also upgrade following modules if you use them :

  • slides module to version 3.5.3
  • pptx-sub module to version 3.1.4
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