diff --git a/lib/jackson-annotations-2.18.0.jar b/lib/jackson-annotations-2.18.1.jar similarity index 51% rename from lib/jackson-annotations-2.18.0.jar rename to lib/jackson-annotations-2.18.1.jar index 8602e374..8d260c1e 100644 Binary files a/lib/jackson-annotations-2.18.0.jar and b/lib/jackson-annotations-2.18.1.jar differ diff --git a/lib/jackson-core-2.18.0.jar b/lib/jackson-core-2.18.1.jar similarity index 68% rename from lib/jackson-core-2.18.0.jar rename to lib/jackson-core-2.18.1.jar index a163b209..6e8838ec 100644 Binary files a/lib/jackson-core-2.18.0.jar and b/lib/jackson-core-2.18.1.jar differ diff --git a/lib/jackson-databind-2.18.0.jar b/lib/jackson-databind-2.18.1.jar similarity index 74% rename from lib/jackson-databind-2.18.0.jar rename to lib/jackson-databind-2.18.1.jar index 806dc42a..b62b909c 100644 Binary files a/lib/jackson-databind-2.18.0.jar and b/lib/jackson-databind-2.18.1.jar differ diff --git a/lib/jackson-dataformat-toml-2.18.0.jar b/lib/jackson-dataformat-toml-2.18.1.jar similarity index 69% rename from lib/jackson-dataformat-toml-2.18.0.jar rename to lib/jackson-dataformat-toml-2.18.1.jar index 5d8fbcb6..6894c5ee 100644 Binary files a/lib/jackson-dataformat-toml-2.18.0.jar and b/lib/jackson-dataformat-toml-2.18.1.jar differ diff --git a/pom.xml b/pom.xml index a0c0c2cf..2e36695a 100644 --- a/pom.xml +++ b/pom.xml @@ -140,22 +140,22 @@ com.fasterxml.jackson.core jackson-annotations - 2.18.0 + 2.18.1 com.fasterxml.jackson.core jackson-core - 2.18.0 + 2.18.1 com.fasterxml.jackson.core jackson-databind - 2.18.0 + 2.18.1 com.fasterxml.jackson.dataformat jackson-dataformat-toml - 2.18.0 + 2.18.1 org.fusesource.jansi diff --git a/tests/autoTestAll.Generic.js b/tests/autoTestAll.Generic.js index fece7302..34ffc60b 100644 --- a/tests/autoTestAll.Generic.js +++ b/tests/autoTestAll.Generic.js @@ -124,6 +124,27 @@ ow.test.assert($path({ y: { a: 1 } }, "assignp('y', 'x', `false`)"), { y: { a: 1, x: false } }, "Problem with $path assignp") ow.test.assert($path({}, "env('PATH')"), getEnv("PATH"), "Problem with $path env") ow.test.assert($path({}, "envs('^PATH$')"), [ { name: 'PATH', value: getEnv("PATH") } ], "Problem with $path envs") + ow.test.assert($path({}, "timeagoAbbr(now('5000'))"), "5secs", "Problem with $path timeagoAbbr") + ow.test.assert($path({}, "date_diff(now('60000'), 'minutes', __)"), 1, "Problem with $path date_diff") + ow.test.assert($path({}, "to_bytesAbbr(`2048`)"), "2.00 KB", "Problem with $path to_bytesAbbr") + ow.test.assert($path({}, "to_numAbbr(`2000`)"), "2k", "Problem with $path to_numAbbr") + ow.test.assert($path({}, "from_siAbbr('2m')"), 0.002, "Problem with $path from_siAbbr") + ow.test.assert($path({}, "from_timeAbbr('5s')"), 5000, "Problem with $path from_timeAbbr") + ow.test.assert($path({}, "timeago(now('1000'))"), "1 seconds ago", "Problem with $path timeago") + ow.test.assert($path({}, "upper_case('AbC')"), "ABC", "Problem with $path upper_case") + ow.test.assert($path({}, "lower_case('AbC')"), "abc", "Problem with $path lower_case") + ow.test.assert($path({}, "concat('a', concat('b', 'c'))"), "abc", "Problem with $path concat") + ow.test.assert($path({ x: { a: 1, b: 0 }}, "to_slon(x)"), "(a: 1, b: 0)", "Problem with $path to_slon") + ow.test.assert($path({ x: { a: 1, b: 0 }}, "to_json(x,'')"), "{\"a\":1,\"b\":0}", "Problem with $path to_json") + ow.test.assert($path({ x: { a: 1, b: 0 }}, "to_json(@,'')"), "{\"x\":{\"a\":1,\"b\":0}}", "Problem with $path to_json") + ow.test.assert($path({}, "trim(' abc ')"), "abc", "Problem with $path trim") + ow.test.assert($path({ a: 1 }, "nvl(b, '0')"), "0", "Problem with $path nvl") + ow.test.assert($path({}, "add(`2`, `3`)"), 5, "Problem with $path add") + ow.test.assert($path({}, "sub(`2`, `3`)"), -1, "Problem with $path sub") + ow.test.assert($path({}, "mul(`2`, `3`)"), 6, "Problem with $path mul") + ow.test.assert($path({}, "div(`6`, `3`)"), 2, "Problem with $path div") + ow.test.assert($path({}, "mod(`6`, `3`)"), 0, "Problem with $path mod") + ow.test.assert($path({}, "range(`2`)"), [ 1, 2 ], "Problem with $path range") } exports.testCache = function() {