condcal-cjs 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -142,7 +142,7 @@ var getValueInCondition = (formula, params) => {
142
142
  nFormula = nFormula.substring(0, match.startIndex) + nFormula.substring(match.startIndex + match.text.length);
143
143
  nFormula = nFormula.substring(0, match.startIndex) + value + nFormula.substring(match.startIndex);
144
144
  }
145
- return this.getValueInParenthesis(nFormula);
145
+ return getValueInParenthesis(nFormula);
146
146
  };
147
147
 
148
148
  var getValueInParenthesis = (formula) => {
@@ -163,7 +163,7 @@ var getValueInParenthesis = (formula) => {
163
163
  for (let i = matches.length - 1; i >= 0; i--) {
164
164
  let match = matches[i];
165
165
 
166
- let value = this.getValueInParenthesis(match.value);
166
+ let value = getValueInParenthesis(match.value);
167
167
 
168
168
  nFormula = nFormula.substring(0, match.startIndex) + nFormula.substring(match.startIndex + match.text.length);
169
169
  nFormula = nFormula.substring(0, match.startIndex) + value + nFormula.substring(match.startIndex);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "condcal-cjs",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {