@legalplace/prerenderx 3.4.0 → 3.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.4.1](https://git.legalplace.eu/legalplace/prerenderx/compare/@legalplace/prerenderx@3.4.0...@legalplace/prerenderx@3.4.1) (2023-11-29)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * fix tag signature date ([5289b27](https://git.legalplace.eu/legalplace/prerenderx/commits/5289b2701bde0ac61a386fec677cda5282f6249b)), closes [api#10349](https://git.legalplace.eu/api/issues/10349)
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.4.0](https://git.legalplace.eu/legalplace/prerenderx/compare/@legalplace/prerenderx@3.3.1...@legalplace/prerenderx@3.4.0) (2023-11-27)
7
18
 
8
19
 
@@ -63,7 +63,7 @@ var parseOutputWithVariables = function (output, index, variables, autonums) {
63
63
  parsedOutput = parsedOutput.replace(/\[signature:date:([0-9]+)\]/g, function (v, signatureId) {
64
64
  return "<span data-signature=\"date\" data-signature-id=\"" + signatureId + "\" data-signer-index=\"" + index + "\"></span>";
65
65
  });
66
- parsedOutput = parsedOutput.replace(/\[date\]/g, function () { return '<span date-signature="date"></span>'; });
66
+ parsedOutput = parsedOutput.replace(/\[date\]/g, function () { return '<span data-signature="date"></span>'; });
67
67
  autonums.forEach(function (currentAn) {
68
68
  if (currentAn[3] === null)
69
69
  parsedOutput = parsedOutput.replace("[" + currentAn[0] + ":" + currentAn[1] + "]", "<span class=\"" + currentAn[0] + "\">" + currentAn[2] + "</span>");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@legalplace/prerenderx",
3
- "version": "3.4.0",
3
+ "version": "3.4.1",
4
4
  "description": "PrerenderX",
5
5
  "main": "dist/index.js",
6
6
  "repository": "https://git.legalplace.eu/legalplace/prerenderx",
@@ -38,5 +38,5 @@
38
38
  "ts-jest": "^24.0.2"
39
39
  },
40
40
  "prettier": "@legalplace/prettier-config",
41
- "gitHead": "bc6c068f7f4db0d04786c920ac5eccc47487e506"
41
+ "gitHead": "6024f77f58243f8d50446a2a2877a69637e1a9ef"
42
42
  }
@@ -146,7 +146,7 @@ export const parseOutputWithVariables: parseOutputT = (
146
146
  // Obsolete signature date tag
147
147
  parsedOutput = parsedOutput.replace(
148
148
  /\[date\]/g,
149
- () => '<span date-signature="date"></span>'
149
+ () => '<span data-signature="date"></span>'
150
150
  );
151
151
 
152
152
  // Inserting autonums