@jdeighan/coffee-utils 11.0.39 → 11.0.41
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +3 -3
- package/src/DataStores.coffee +1 -1
- package/src/DataStores.js +1 -1
- package/src/Section.coffee +2 -2
- package/src/Section.js +2 -2
- package/src/SectionMap.coffee +2 -2
- package/src/SectionMap.js +2 -2
- package/src/block.coffee +2 -2
- package/src/block.js +2 -2
- package/src/fs.coffee +2 -2
- package/src/fs.js +2 -2
- package/src/fsa.coffee +3 -3
- package/src/fsa.js +3 -3
- package/src/html.coffee +1 -1
- package/src/html.js +1 -1
- package/src/indent.coffee +1 -1
- package/src/indent.js +1 -1
- package/src/svelte.coffee +2 -2
- package/src/svelte.js +2 -2
- package/src/taml.coffee +1 -1
- package/src/taml.js +1 -1
- package/src/utils.coffee +3 -3
- package/src/utils.js +3 -3
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@jdeighan/coffee-utils",
|
3
3
|
"type": "module",
|
4
|
-
"version": "11.0.
|
4
|
+
"version": "11.0.41",
|
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/
|
51
|
+
"@jdeighan/base-utils": "^1.0.0",
|
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.
|
59
|
+
"@jdeighan/unit-tester": "^2.0.61"
|
60
60
|
}
|
61
61
|
}
|
package/src/DataStores.coffee
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
import pathlib from 'path'
|
4
4
|
import {writable, readable, get} from 'svelte/store'
|
5
5
|
|
6
|
-
import {assert, croak} from '@jdeighan/
|
6
|
+
import {assert, croak} from '@jdeighan/base-utils'
|
7
7
|
import {undef, pass} from '@jdeighan/coffee-utils'
|
8
8
|
import {localStore} from '@jdeighan/coffee-utils/browser'
|
9
9
|
import {
|
package/src/DataStores.js
CHANGED
package/src/Section.coffee
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Section.coffee
|
2
2
|
|
3
|
-
import {assert, croak} from '@jdeighan/
|
4
|
-
import {dbg, dbgEnter, dbgReturn} from '@jdeighan/
|
3
|
+
import {assert, croak} from '@jdeighan/base-utils'
|
4
|
+
import {dbg, dbgEnter, dbgReturn} from '@jdeighan/base-utils/debug'
|
5
5
|
import {
|
6
6
|
pass, undef, defined, isArray, isEmpty, isFunction,
|
7
7
|
} from '@jdeighan/coffee-utils'
|
package/src/Section.js
CHANGED
package/src/SectionMap.coffee
CHANGED
@@ -2,10 +2,10 @@
|
|
2
2
|
|
3
3
|
import {
|
4
4
|
assert, croak, LOG, LOGVALUE, LOGTAML, isTAML, fromTAML,
|
5
|
-
} from '@jdeighan/
|
5
|
+
} from '@jdeighan/base-utils'
|
6
6
|
import {
|
7
7
|
dbg, dbgEnter, dbgReturn, dbgYield, dbgResume,
|
8
|
-
} from '@jdeighan/
|
8
|
+
} from '@jdeighan/base-utils/debug'
|
9
9
|
import {
|
10
10
|
pass, undef, defined, notdefined, OL, isEmpty, nonEmpty,
|
11
11
|
isString, isHash, isArray, isUniqueTree, isNonEmptyString,
|
package/src/SectionMap.js
CHANGED
@@ -10,7 +10,7 @@ import {
|
|
10
10
|
LOGTAML,
|
11
11
|
isTAML,
|
12
12
|
fromTAML
|
13
|
-
} from '@jdeighan/
|
13
|
+
} from '@jdeighan/base-utils';
|
14
14
|
|
15
15
|
import {
|
16
16
|
dbg,
|
@@ -18,7 +18,7 @@ import {
|
|
18
18
|
dbgReturn,
|
19
19
|
dbgYield,
|
20
20
|
dbgResume
|
21
|
-
} from '@jdeighan/
|
21
|
+
} from '@jdeighan/base-utils/debug';
|
22
22
|
|
23
23
|
import {
|
24
24
|
pass,
|
package/src/block.coffee
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
import fs from 'fs'
|
4
4
|
import readline from 'readline'
|
5
5
|
|
6
|
-
import {assert, croak} from '@jdeighan/
|
7
|
-
import {blockToArray, arrayToBlock} from '@jdeighan/
|
6
|
+
import {assert, croak} from '@jdeighan/base-utils'
|
7
|
+
import {blockToArray, arrayToBlock} from '@jdeighan/base-utils/utils'
|
8
8
|
import {
|
9
9
|
undef, pass, defined, notdefined,
|
10
10
|
isEmpty, isString, isArray, nonEmpty, isArrayOfStrings,
|
package/src/block.js
CHANGED
@@ -7,12 +7,12 @@ import readline from 'readline';
|
|
7
7
|
import {
|
8
8
|
assert,
|
9
9
|
croak
|
10
|
-
} from '@jdeighan/
|
10
|
+
} from '@jdeighan/base-utils';
|
11
11
|
|
12
12
|
import {
|
13
13
|
blockToArray,
|
14
14
|
arrayToBlock
|
15
|
-
} from '@jdeighan/
|
15
|
+
} from '@jdeighan/base-utils/utils';
|
16
16
|
|
17
17
|
import {
|
18
18
|
undef,
|
package/src/fs.coffee
CHANGED
@@ -5,8 +5,8 @@ import urllib from 'url'
|
|
5
5
|
import fs from 'fs'
|
6
6
|
import NReadLines from 'n-readlines'
|
7
7
|
|
8
|
-
import {assert, croak, LOG, fromTAML} from '@jdeighan/
|
9
|
-
import {dbg, dbgEnter, dbgReturn} from '@jdeighan/
|
8
|
+
import {assert, croak, LOG, fromTAML} from '@jdeighan/base-utils'
|
9
|
+
import {dbg, dbgEnter, dbgReturn} from '@jdeighan/base-utils/debug'
|
10
10
|
import {
|
11
11
|
undef, pass, defined, rtrim, isEmpty, nonEmpty, getOptions,
|
12
12
|
isString, isArray, isHash, isRegExp, isFunction, OL,
|
package/src/fs.js
CHANGED
@@ -15,13 +15,13 @@ import {
|
|
15
15
|
croak,
|
16
16
|
LOG,
|
17
17
|
fromTAML
|
18
|
-
} from '@jdeighan/
|
18
|
+
} from '@jdeighan/base-utils';
|
19
19
|
|
20
20
|
import {
|
21
21
|
dbg,
|
22
22
|
dbgEnter,
|
23
23
|
dbgReturn
|
24
|
-
} from '@jdeighan/
|
24
|
+
} from '@jdeighan/base-utils/debug';
|
25
25
|
|
26
26
|
import {
|
27
27
|
undef,
|
package/src/fsa.coffee
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# fsa.coffee
|
2
2
|
|
3
|
-
import {assert, croak} from '@jdeighan/
|
4
|
-
import {LOG} from '@jdeighan/
|
5
|
-
import {dbg, dbgEnter, dbgReturn} from '@jdeighan/
|
3
|
+
import {assert, croak} from '@jdeighan/base-utils'
|
4
|
+
import {LOG} from '@jdeighan/base-utils/log'
|
5
|
+
import {dbg, dbgEnter, dbgReturn} from '@jdeighan/base-utils/debug'
|
6
6
|
import {
|
7
7
|
undef, defined, notdefined, words, isEmpty, nonEmpty,
|
8
8
|
isString, OL,
|
package/src/fsa.js
CHANGED
@@ -3,17 +3,17 @@
|
|
3
3
|
import {
|
4
4
|
assert,
|
5
5
|
croak
|
6
|
-
} from '@jdeighan/
|
6
|
+
} from '@jdeighan/base-utils';
|
7
7
|
|
8
8
|
import {
|
9
9
|
LOG
|
10
|
-
} from '@jdeighan/
|
10
|
+
} from '@jdeighan/base-utils/log';
|
11
11
|
|
12
12
|
import {
|
13
13
|
dbg,
|
14
14
|
dbgEnter,
|
15
15
|
dbgReturn
|
16
|
-
} from '@jdeighan/
|
16
|
+
} from '@jdeighan/base-utils/debug';
|
17
17
|
|
18
18
|
import {
|
19
19
|
undef,
|
package/src/html.coffee
CHANGED
package/src/html.js
CHANGED
package/src/indent.coffee
CHANGED
package/src/indent.js
CHANGED
package/src/svelte.coffee
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# svelte.coffee
|
2
2
|
|
3
|
-
import {assert, croak} from '@jdeighan/
|
4
|
-
import {LOG} from '@jdeighan/
|
3
|
+
import {assert, croak} from '@jdeighan/base-utils'
|
4
|
+
import {LOG} from '@jdeighan/base-utils/log'
|
5
5
|
import {isFunction} from '@jdeighan/coffee-utils'
|
6
6
|
|
7
7
|
# ---------------------------------------------------------------------------
|
package/src/svelte.js
CHANGED
package/src/taml.coffee
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
import yaml from 'js-yaml'
|
4
4
|
|
5
|
-
import {assert, croak, isTAML, fromTAML, toTAML} from '@jdeighan/
|
5
|
+
import {assert, croak, isTAML, fromTAML, toTAML} from '@jdeighan/base-utils'
|
6
6
|
import {
|
7
7
|
undef, defined, notdefined, OL, chomp, escapeStr,
|
8
8
|
isString, isObject, isEmpty,
|
package/src/taml.js
CHANGED
package/src/utils.coffee
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# utils.coffee
|
2
2
|
|
3
|
-
import {assert, croak} from '@jdeighan/
|
4
|
-
import {LOG, sep_dash, sep_eq} from '@jdeighan/
|
3
|
+
import {assert, croak} from '@jdeighan/base-utils'
|
4
|
+
import {LOG, sep_dash, sep_eq} from '@jdeighan/base-utils/log'
|
5
5
|
import {
|
6
6
|
undef, pass, defined, notdefined,
|
7
7
|
deepCopy, escapeStr, unescapeStr, hasChar, quoted, OL,
|
@@ -9,7 +9,7 @@ import {
|
|
9
9
|
isConstructor, isFunction, isRegExp, isObject, getClassName,
|
10
10
|
jsType, oneof,
|
11
11
|
isEmpty, nonEmpty, chomp, rtrim, setCharsAt, words, getOptions,
|
12
|
-
} from '@jdeighan/
|
12
|
+
} from '@jdeighan/base-utils/utils'
|
13
13
|
|
14
14
|
export {
|
15
15
|
undef, pass, defined, notdefined, LOG, sep_dash, sep_eq,
|
package/src/utils.js
CHANGED
@@ -5,13 +5,13 @@ var hasProp = {}.hasOwnProperty;
|
|
5
5
|
import {
|
6
6
|
assert,
|
7
7
|
croak
|
8
|
-
} from '@jdeighan/
|
8
|
+
} from '@jdeighan/base-utils';
|
9
9
|
|
10
10
|
import {
|
11
11
|
LOG,
|
12
12
|
sep_dash,
|
13
13
|
sep_eq
|
14
|
-
} from '@jdeighan/
|
14
|
+
} from '@jdeighan/base-utils/log';
|
15
15
|
|
16
16
|
import {
|
17
17
|
undef,
|
@@ -44,7 +44,7 @@ import {
|
|
44
44
|
setCharsAt,
|
45
45
|
words,
|
46
46
|
getOptions
|
47
|
-
} from '@jdeighan/
|
47
|
+
} from '@jdeighan/base-utils/utils';
|
48
48
|
|
49
49
|
export {
|
50
50
|
undef,
|