@jdeighan/coffee-utils 16.0.2 → 16.0.3

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": "16.0.2",
4
+ "version": "16.0.3",
5
5
  "description": "A set of utility functions for CoffeeScript",
6
6
  "main": "coffee_utils.js",
7
7
  "exports": {
package/src/fs.coffee CHANGED
@@ -239,7 +239,7 @@ export isSimpleFileName = (path) =>
239
239
 
240
240
  export fileStub = (path) =>
241
241
 
242
- assert isString(path), "fileExt(): path not a string"
242
+ assert isString(path), "fileStub(): path not a string"
243
243
  if lMatches = path.match(/^(.*)\.[A-Za-z0-9_]+$/)
244
244
  return lMatches[1]
245
245
  else
package/src/fs.js CHANGED
@@ -292,7 +292,7 @@ export var isSimpleFileName = (path) => {
292
292
  // ---------------------------------------------------------------------------
293
293
  export var fileStub = (path) => {
294
294
  var lMatches;
295
- assert(isString(path), "fileExt(): path not a string");
295
+ assert(isString(path), "fileStub(): path not a string");
296
296
  if (lMatches = path.match(/^(.*)\.[A-Za-z0-9_]+$/)) {
297
297
  return lMatches[1];
298
298
  } else {