@jdeighan/coffee-utils 14.0.1 → 14.0.2
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/coffee-utils.coffee +7 -7
- package/src/coffee-utils.js +21 -21
package/package.json
CHANGED
package/src/coffee-utils.coffee
CHANGED
@@ -1,12 +1,5 @@
|
|
1
1
|
# coffee-utils.coffee
|
2
2
|
|
3
|
-
import {assert, croak} from '@jdeighan/base-utils/exceptions'
|
4
|
-
import {
|
5
|
-
LOG, LOGVALUE, sep_dash, sep_eq,
|
6
|
-
} from '@jdeighan/base-utils/log'
|
7
|
-
import {
|
8
|
-
dbgEnter, dbgReturn, dbgYield, dbgResume, dbg, setDebugging,
|
9
|
-
} from '@jdeighan/base-utils/debug'
|
10
3
|
import {
|
11
4
|
undef, pass, defined, notdefined,
|
12
5
|
deepCopy, escapeStr, unescapeStr, hasChar, quoted, OL,
|
@@ -15,6 +8,13 @@ import {
|
|
15
8
|
jsType, oneof, isIterable,
|
16
9
|
isEmpty, nonEmpty, chomp, rtrim, setCharsAt, words, getOptions,
|
17
10
|
} from '@jdeighan/base-utils'
|
11
|
+
import {assert, croak} from '@jdeighan/base-utils/exceptions'
|
12
|
+
import {
|
13
|
+
LOG, LOGVALUE, sep_dash, sep_eq,
|
14
|
+
} from '@jdeighan/base-utils/log'
|
15
|
+
import {
|
16
|
+
dbgEnter, dbgReturn, dbgYield, dbgResume, dbg, setDebugging,
|
17
|
+
} from '@jdeighan/base-utils/debug'
|
18
18
|
|
19
19
|
# ---------------------------------------------------------------------------
|
20
20
|
|
package/src/coffee-utils.js
CHANGED
@@ -2,27 +2,6 @@
|
|
2
2
|
// coffee-utils.coffee
|
3
3
|
var hasProp = {}.hasOwnProperty;
|
4
4
|
|
5
|
-
import {
|
6
|
-
assert,
|
7
|
-
croak
|
8
|
-
} from '@jdeighan/base-utils/exceptions';
|
9
|
-
|
10
|
-
import {
|
11
|
-
LOG,
|
12
|
-
LOGVALUE,
|
13
|
-
sep_dash,
|
14
|
-
sep_eq
|
15
|
-
} from '@jdeighan/base-utils/log';
|
16
|
-
|
17
|
-
import {
|
18
|
-
dbgEnter,
|
19
|
-
dbgReturn,
|
20
|
-
dbgYield,
|
21
|
-
dbgResume,
|
22
|
-
dbg,
|
23
|
-
setDebugging
|
24
|
-
} from '@jdeighan/base-utils/debug';
|
25
|
-
|
26
5
|
import {
|
27
6
|
undef,
|
28
7
|
pass,
|
@@ -57,6 +36,27 @@ import {
|
|
57
36
|
getOptions
|
58
37
|
} from '@jdeighan/base-utils';
|
59
38
|
|
39
|
+
import {
|
40
|
+
assert,
|
41
|
+
croak
|
42
|
+
} from '@jdeighan/base-utils/exceptions';
|
43
|
+
|
44
|
+
import {
|
45
|
+
LOG,
|
46
|
+
LOGVALUE,
|
47
|
+
sep_dash,
|
48
|
+
sep_eq
|
49
|
+
} from '@jdeighan/base-utils/log';
|
50
|
+
|
51
|
+
import {
|
52
|
+
dbgEnter,
|
53
|
+
dbgReturn,
|
54
|
+
dbgYield,
|
55
|
+
dbgResume,
|
56
|
+
dbg,
|
57
|
+
setDebugging
|
58
|
+
} from '@jdeighan/base-utils/debug';
|
59
|
+
|
60
60
|
// ---------------------------------------------------------------------------
|
61
61
|
export var isHashComment = (line) => {
|
62
62
|
var lMatches;
|