@cabloy/utils 2.0.2 → 2.0.3

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -245,6 +245,9 @@ celEnvBase.registerFunction('get(map,string,string):dyn', (obj, name, sep) => {
245
245
  });
246
246
  celEnvBase.registerOperator('string + int', (str, n) => str + String(n));
247
247
  celEnvBase.registerOperator('int + string', (n, str) => String(n) + str);
248
+ celEnvBase.registerFunction('string(null):string', value => {
249
+ return String(value);
250
+ });
248
251
  function _concat(...args) {
249
252
  return [].concat(...args);
250
253
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cabloy/utils",
3
3
  "type": "module",
4
- "version": "2.0.2",
4
+ "version": "2.0.3",
5
5
  "description": "cabloy utils",
6
6
  "publishConfig": {
7
7
  "access": "public"