@jdeighan/coffee-utils 16.0.2 → 16.0.4

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": "16.0.2",
4
+ "version": "16.0.4",
5
5
  "description": "A set of utility functions for CoffeeScript",
6
6
  "main": "coffee_utils.js",
7
7
  "exports": {
@@ -45,14 +45,14 @@
45
45
  },
46
46
  "homepage": "https://github.com/johndeighan/coffee-utils#readme",
47
47
  "dependencies": {
48
- "@jdeighan/base-utils": "^4.0.27",
48
+ "@jdeighan/base-utils": "^4.0.29",
49
49
  "cross-env": "^7.0.3",
50
50
  "n-readlines": "^1.0.1",
51
51
  "readline-sync": "^1.4.10",
52
52
  "svelte": "^3.59.1"
53
53
  },
54
54
  "devDependencies": {
55
- "@jdeighan/unit-tester": "^3.0.45",
56
- "ava": "^5.2.0"
55
+ "@jdeighan/unit-tester": "^3.0.46",
56
+ "ava": "^5.3.0"
57
57
  }
58
58
  }
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 {