@jdeighan/coffee-utils 2.1.11 → 2.1.12

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": "2.1.11",
4
+ "version": "2.1.12",
5
5
  "description": "A set of utility functions for CoffeeScript",
6
6
  "main": "coffee_utils.js",
7
7
  "exports": {
@@ -126,7 +126,7 @@ export debug = (lArgs...) ->
126
126
  \s*
127
127
  enter
128
128
  \s+
129
- ([A-Za-z_][A-Za-z0-9_]*)
129
+ ([A-Za-z_][A-Za-z0-9_\.]*)
130
130
  ///))
131
131
  entering = true
132
132
  curFunc = lMatches[1]
@@ -136,7 +136,7 @@ export debug = (lArgs...) ->
136
136
  .*
137
137
  from
138
138
  \s+
139
- ([A-Za-z_][A-Za-z0-9_]*)
139
+ ([A-Za-z_][A-Za-z0-9_\.]*)
140
140
  ///))
141
141
  returning = true
142
142
  curFunc = lMatches[1]
@@ -130,10 +130,10 @@ export var debug = function(...lArgs) {
130
130
  // --- determine if we're entering or returning from a function
131
131
  entering = returning = false;
132
132
  curFunc = undef;
133
- if ((lMatches = str.match(/^\s*enter\s+([A-Za-z_][A-Za-z0-9_]*)/))) {
133
+ if ((lMatches = str.match(/^\s*enter\s+([A-Za-z_][A-Za-z0-9_\.]*)/))) {
134
134
  entering = true;
135
135
  curFunc = lMatches[1];
136
- } else if ((lMatches = str.match(/^\s*return.*from\s+([A-Za-z_][A-Za-z0-9_]*)/))) {
136
+ } else if ((lMatches = str.match(/^\s*return.*from\s+([A-Za-z_][A-Za-z0-9_\.]*)/))) {
137
137
  returning = true;
138
138
  curFunc = lMatches[1];
139
139
  }