@legalplace/lplogic 2.3.0 → 2.3.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
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [2.3.1](https://git.legalplace.eu/legalplace/lplogic/compare/v2.3.0...v2.3.1) (2024-01-12)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * delete trim when check with regex operator ([e437be5](https://git.legalplace.eu/legalplace/lplogic/commit/e437be5f936cd5cd92fcf25fa97dc5b6491b6012))
11
+
5
12
  ## [2.3.0](https://git.legalplace.eu/legalplace/lplogic/compare/v2.2.0...v2.3.0) (2024-01-09)
6
13
 
7
14
 
package/dist/LpLogic.js CHANGED
@@ -204,7 +204,7 @@ var notLike = function (values, comparator, parents) {
204
204
  json_logic_js_1.default.add_operation("not-like", notLike);
205
205
  var regexMatch = function (values, comparator, parents) {
206
206
  var reducedValues = reduceValues(values, parents, function (value, parent) {
207
- var cleanValue = typeof value === "number" ? value.toString() : value.trim();
207
+ var cleanValue = typeof value === "number" ? value.toString() : value;
208
208
  var regex;
209
209
  if (typeof comparator === 'string') {
210
210
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@legalplace/lplogic",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "LegalPlace LpLogic",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {