@jdeighan/coffee-utils 14.0.0 → 14.0.2
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +3 -3
- package/src/coffee-utils.coffee +7 -7
- package/src/coffee-utils.js +21 -21
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@jdeighan/coffee-utils",
|
3
3
|
"type": "module",
|
4
|
-
"version": "14.0.
|
4
|
+
"version": "14.0.2",
|
5
5
|
"description": "A set of utility functions for CoffeeScript",
|
6
6
|
"main": "coffee_utils.js",
|
7
7
|
"exports": {
|
@@ -50,13 +50,13 @@
|
|
50
50
|
},
|
51
51
|
"homepage": "https://github.com/johndeighan/coffee-utils#readme",
|
52
52
|
"dependencies": {
|
53
|
-
"@jdeighan/base-utils": "^3.0.
|
53
|
+
"@jdeighan/base-utils": "^3.0.3",
|
54
54
|
"cross-env": "^7.0.3",
|
55
55
|
"n-readlines": "^1.0.1",
|
56
56
|
"readline-sync": "^1.4.10",
|
57
57
|
"svelte": "^3.55.0"
|
58
58
|
},
|
59
59
|
"devDependencies": {
|
60
|
-
"@jdeighan/unit-tester": "^3.0.
|
60
|
+
"@jdeighan/unit-tester": "^3.0.16"
|
61
61
|
}
|
62
62
|
}
|
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;
|