@cabloy/utils 2.0.5 → 2.0.6

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 +2 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -269,6 +269,8 @@ celEnvBase.registerFunction('string(null):string', value => {
269
269
  // operator: +
270
270
  celEnvBase.registerOperator('string + int', (str, n) => str + String(n));
271
271
  celEnvBase.registerOperator('int + string', (n, str) => String(n) + str);
272
+ celEnvBase.registerOperator('string + null', (str, _n) => str);
273
+ celEnvBase.registerOperator('null + string', (_n, str) => str);
272
274
 
273
275
  // operator: ==
274
276
  celEnvBase.registerOperator('string == null', (str, n) => str === n);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cabloy/utils",
3
3
  "type": "module",
4
- "version": "2.0.5",
4
+ "version": "2.0.6",
5
5
  "description": "cabloy utils",
6
6
  "publishConfig": {
7
7
  "access": "public"