@jdeighan/coffee-utils 11.0.32 → 11.0.34

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": "11.0.32",
4
+ "version": "11.0.34",
5
5
  "description": "A set of utility functions for CoffeeScript",
6
6
  "main": "coffee_utils.js",
7
7
  "exports": {
@@ -48,7 +48,7 @@
48
48
  },
49
49
  "homepage": "https://github.com/johndeighan/coffee-utils#readme",
50
50
  "dependencies": {
51
- "@jdeighan/exceptions": "^1.0.26",
51
+ "@jdeighan/exceptions": "^1.0.27",
52
52
  "cross-env": "^7.0.3",
53
53
  "js-yaml": "^4.1.0",
54
54
  "n-readlines": "^1.0.1",
@@ -56,6 +56,6 @@
56
56
  "svelte": "^3.52.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@jdeighan/unit-tester": "^2.0.52"
59
+ "@jdeighan/unit-tester": "^2.0.53"
60
60
  }
61
61
  }
package/src/utils.coffee CHANGED
@@ -3,7 +3,7 @@
3
3
  import {assert, croak} from '@jdeighan/exceptions'
4
4
  import {LOG, sep_dash, sep_eq} from '@jdeighan/exceptions/log'
5
5
  import {
6
- undef, pass, defined, notdefined,
6
+ undef, pass, def, defined, notdef, notdefined,
7
7
  deepCopy, escapeStr, unescapeStr, hasChar, quoted, OL,
8
8
  isString, isNumber, isInteger, isHash, isArray, isBoolean,
9
9
  isConstructor, isFunction, isRegExp, isObject, getClassName,
@@ -11,9 +11,6 @@ import {
11
11
  isEmpty, nonEmpty, chomp, rtrim, setCharsAt, words, getOptions,
12
12
  } from '@jdeighan/exceptions/utils'
13
13
 
14
- def = defined
15
- notdef = notdefined
16
-
17
14
  export {
18
15
  undef, pass, def, defined, notdef, notdefined, LOG, sep_dash, sep_eq,
19
16
  deepCopy, escapeStr, unescapeStr, hasChar, quoted, OL,
package/src/utils.js CHANGED
@@ -1,7 +1,6 @@
1
1
  // Generated by CoffeeScript 2.7.0
2
- // utils.coffee
3
- var def, notdef,
4
- hasProp = {}.hasOwnProperty;
2
+ // utils.coffee
3
+ var hasProp = {}.hasOwnProperty;
5
4
 
6
5
  import {
7
6
  assert,
@@ -17,7 +16,9 @@ import {
17
16
  import {
18
17
  undef,
19
18
  pass,
19
+ def,
20
20
  defined,
21
+ notdef,
21
22
  notdefined,
22
23
  deepCopy,
23
24
  escapeStr,
@@ -46,10 +47,6 @@ import {
46
47
  getOptions
47
48
  } from '@jdeighan/exceptions/utils';
48
49
 
49
- def = defined;
50
-
51
- notdef = notdefined;
52
-
53
50
  export {
54
51
  undef,
55
52
  pass,