@legalplace/prerenderx 3.4.0 → 3.4.2
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 +19 -0
- package/dist/libs/OutputParser.js +1 -1
- package/package.json +6 -6
- package/src/libs/OutputParser.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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.2](https://git.legalplace.eu/legalplace/prerenderx/compare/@legalplace/prerenderx@3.4.1...@legalplace/prerenderx@3.4.2) (2024-01-10)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @legalplace/prerenderx
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [3.4.1](https://git.legalplace.eu/legalplace/prerenderx/compare/@legalplace/prerenderx@3.4.0...@legalplace/prerenderx@3.4.1) (2023-11-29)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* fix tag signature date ([5289b27](https://git.legalplace.eu/legalplace/prerenderx/commits/5289b2701bde0ac61a386fec677cda5282f6249b)), closes [api#10349](https://git.legalplace.eu/api/issues/10349)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [3.4.0](https://git.legalplace.eu/legalplace/prerenderx/compare/@legalplace/prerenderx@3.3.1...@legalplace/prerenderx@3.4.0) (2023-11-27)
|
|
7
26
|
|
|
8
27
|
|
|
@@ -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
|
|
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.
|
|
3
|
+
"version": "3.4.2",
|
|
4
4
|
"description": "PrerenderX",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"repository": "https://git.legalplace.eu/legalplace/prerenderx",
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
"release": "standard-version -a --no-verify"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@legalplace/conditions-runner": "^2.0.
|
|
19
|
+
"@legalplace/conditions-runner": "^2.0.6",
|
|
20
20
|
"@legalplace/eslint-config-base": "^1.1.1",
|
|
21
21
|
"@legalplace/lplogic": "2.1.6",
|
|
22
|
-
"@legalplace/models-v3-types": "^5.
|
|
23
|
-
"@legalplace/ovc-converter": "^2.0.
|
|
22
|
+
"@legalplace/models-v3-types": "^5.2.0",
|
|
23
|
+
"@legalplace/ovc-converter": "^2.0.6",
|
|
24
24
|
"@legalplace/prettier-config": "^2.1.3",
|
|
25
|
-
"@legalplace/referencesparser": "^3.0.
|
|
25
|
+
"@legalplace/referencesparser": "^3.0.6",
|
|
26
26
|
"crypto": "^1.0.1",
|
|
27
27
|
"standard-version": "^9.3.1",
|
|
28
28
|
"typescript": "4.4.3"
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"ts-jest": "^24.0.2"
|
|
39
39
|
},
|
|
40
40
|
"prettier": "@legalplace/prettier-config",
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "c81fb751ff7d5e15afb8ee2be2127adf0b7c10b1"
|
|
42
42
|
}
|
package/src/libs/OutputParser.ts
CHANGED
|
@@ -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
|
|
149
|
+
() => '<span data-signature="date"></span>'
|
|
150
150
|
);
|
|
151
151
|
|
|
152
152
|
// Inserting autonums
|