@jdeighan/coffee-utils 7.0.0 → 7.0.1

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jdeighan/coffee-utils",
3
3
  "type": "module",
4
- "version": "7.0.0",
4
+ "version": "7.0.1",
5
5
  "description": "A set of utility functions for CoffeeScript",
6
6
  "main": "coffee_utils.js",
7
7
  "exports": {
@@ -93,13 +93,13 @@ export class CallStack
93
93
  auxPre = getPrefix(@level, 'returnVal')
94
94
 
95
95
  if @lStack.length == 0
96
- LOG "returnFrom('#{fName}') but stack is empty"
96
+ LOG "returnFrom('#{funcName}') but stack is empty"
97
97
  return [mainPre, auxPre, undef]
98
98
 
99
99
  hInfo = @removeCall(funcName)
100
100
  if doDebugStack
101
101
  prefix = ' '.repeat(@lStack.length)
102
- LOG "#{prefix}[<-- BACK #{fName}]"
102
+ LOG "#{prefix}[<-- BACK #{funcName}]"
103
103
 
104
104
  return [mainPre, auxPre, hInfo]
105
105
 
package/src/call_stack.js CHANGED
@@ -99,13 +99,13 @@ export var CallStack = class CallStack {
99
99
  mainPre = getPrefix(this.level, 'withArrow');
100
100
  auxPre = getPrefix(this.level, 'returnVal');
101
101
  if (this.lStack.length === 0) {
102
- LOG(`returnFrom('${fName}') but stack is empty`);
102
+ LOG(`returnFrom('${funcName}') but stack is empty`);
103
103
  return [mainPre, auxPre, undef];
104
104
  }
105
105
  hInfo = this.removeCall(funcName);
106
106
  if (doDebugStack) {
107
107
  prefix = ' '.repeat(this.lStack.length);
108
- LOG(`${prefix}[<-- BACK ${fName}]`);
108
+ LOG(`${prefix}[<-- BACK ${funcName}]`);
109
109
  }
110
110
  return [mainPre, auxPre, hInfo];
111
111
  }