@jdeighan/coffee-utils 4.1.14 → 4.1.15

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jdeighan/coffee-utils",
3
3
  "type": "module",
4
- "version": "4.1.14",
4
+ "version": "4.1.15",
5
5
  "description": "A set of utility functions for CoffeeScript",
6
6
  "main": "coffee_utils.js",
7
7
  "exports": {
@@ -162,7 +162,7 @@ export debug = (lArgs...) ->
162
162
  else if (lMatches = str.match(///^
163
163
  \s*
164
164
  return
165
- .*
165
+ .+
166
166
  from
167
167
  \s+
168
168
  ([A-Za-z_][A-Za-z0-9_\.]*)
@@ -178,7 +178,7 @@ export var debug = function(...lArgs) {
178
178
  curFunc = lMatches[1];
179
179
  stack.call(curFunc, curEnv());
180
180
  debugging = shouldDebug(curFunc, debugging);
181
- } else if ((lMatches = str.match(/^\s*return.*from\s+([A-Za-z_][A-Za-z0-9_\.]*)/))) {
181
+ } else if ((lMatches = str.match(/^\s*return.+from\s+([A-Za-z_][A-Za-z0-9_\.]*)/))) {
182
182
  returning = true;
183
183
  curFunc = lMatches[1];
184
184
  hInfo = stack.returnFrom(curFunc);