@thi.ng/tangle 0.1.81 → 0.1.83
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/CHANGELOG.md +7 -1
- package/README.md +10 -0
- package/api.d.ts +1 -2
- package/api.js +3 -8
- package/package.json +16 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2024-
|
|
3
|
+
- **Last updated**: 2024-02-16T20:01:44Z
|
|
4
4
|
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
|
|
5
5
|
|
|
6
6
|
All notable changes to this project will be documented in this file.
|
|
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
|
|
|
9
9
|
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
10
10
|
and/or version bumps of transitive dependencies.
|
|
11
11
|
|
|
12
|
+
### [0.1.83](https://github.com/thi-ng/umbrella/tree/@thi.ng/tangle@0.1.83) (2024-02-16)
|
|
13
|
+
|
|
14
|
+
#### ♻️ Refactoring
|
|
15
|
+
|
|
16
|
+
- update LOGGER handling ([69b58d6](https://github.com/thi-ng/umbrella/commit/69b58d6))
|
|
17
|
+
|
|
12
18
|
### [0.1.62](https://github.com/thi-ng/umbrella/tree/@thi.ng/tangle@0.1.62) (2023-11-09)
|
|
13
19
|
|
|
14
20
|
#### ♻️ Refactoring
|
package/README.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
<!-- This file is generated - DO NOT EDIT! -->
|
|
2
2
|
<!-- Please see: https://github.com/thi-ng/umbrella/blob/develop/CONTRIBUTING.md#changes-to-readme-files -->
|
|
3
|
+
> [!IMPORTANT]
|
|
4
|
+
> ‼️ Announcing the thi.ng user survey 2024 📋
|
|
5
|
+
>
|
|
6
|
+
> [Please participate in the survey here!](https://forms.gle/XacbSDEmQMPZg8197)\
|
|
7
|
+
> (open until end of February)
|
|
8
|
+
>
|
|
9
|
+
> **To achieve a better sample size, I'd highly appreciate if you could
|
|
10
|
+
> circulate the link to this survey in your own networks.**
|
|
11
|
+
>
|
|
12
|
+
> [Discussion](https://github.com/thi-ng/umbrella/discussions/447)
|
|
3
13
|
|
|
4
14
|
# 
|
|
5
15
|
|
package/api.d.ts
CHANGED
|
@@ -64,6 +64,5 @@ export interface CodeBlockFormat {
|
|
|
64
64
|
}
|
|
65
65
|
export declare const BLOCK_FORMATS: IObjectOf<CodeBlockFormat>;
|
|
66
66
|
export declare const COMMENT_FORMATS: IObjectOf<string | [string, string]>;
|
|
67
|
-
export declare
|
|
68
|
-
export declare const setLogger: (logger: ILogger) => void;
|
|
67
|
+
export declare const LOGGER: ILogger;
|
|
69
68
|
//# sourceMappingURL=api.d.ts.map
|
package/api.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { LogLevel } from "@thi.ng/logger";
|
|
2
|
-
import { ConsoleLogger } from "@thi.ng/logger/console";
|
|
1
|
+
import { ConsoleLogger, LogLevel, ROOT } from "@thi.ng/logger";
|
|
3
2
|
const BLOCK_FORMATS = {
|
|
4
3
|
".md": {
|
|
5
4
|
prefix: "```",
|
|
@@ -53,13 +52,9 @@ const COMMENT_FORMATS = {
|
|
|
53
52
|
yaml: P,
|
|
54
53
|
zig: C
|
|
55
54
|
};
|
|
56
|
-
|
|
57
|
-
const setLogger = (logger) => {
|
|
58
|
-
LOGGER = logger;
|
|
59
|
-
};
|
|
55
|
+
const LOGGER = ROOT.addChild(new ConsoleLogger("tangle", LogLevel.INFO));
|
|
60
56
|
export {
|
|
61
57
|
BLOCK_FORMATS,
|
|
62
58
|
COMMENT_FORMATS,
|
|
63
|
-
LOGGER
|
|
64
|
-
setLogger
|
|
59
|
+
LOGGER
|
|
65
60
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/tangle",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.83",
|
|
4
4
|
"description": "Literate programming code block tangling / codegen utility, inspired by org-mode & noweb",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -36,23 +36,23 @@
|
|
|
36
36
|
"test": "testament test"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@thi.ng/api": "^8.9.
|
|
40
|
-
"@thi.ng/args": "^2.3.
|
|
41
|
-
"@thi.ng/checks": "^3.4.
|
|
42
|
-
"@thi.ng/compare": "^2.2.
|
|
43
|
-
"@thi.ng/date": "^2.5.
|
|
44
|
-
"@thi.ng/errors": "^2.4.
|
|
45
|
-
"@thi.ng/file-io": "^1.2.
|
|
46
|
-
"@thi.ng/logger": "^
|
|
47
|
-
"@thi.ng/strings": "^3.7.
|
|
48
|
-
"@thi.ng/transducers": "^8.9.
|
|
39
|
+
"@thi.ng/api": "^8.9.23",
|
|
40
|
+
"@thi.ng/args": "^2.3.13",
|
|
41
|
+
"@thi.ng/checks": "^3.4.23",
|
|
42
|
+
"@thi.ng/compare": "^2.2.19",
|
|
43
|
+
"@thi.ng/date": "^2.5.17",
|
|
44
|
+
"@thi.ng/errors": "^2.4.16",
|
|
45
|
+
"@thi.ng/file-io": "^1.2.7",
|
|
46
|
+
"@thi.ng/logger": "^3.0.0",
|
|
47
|
+
"@thi.ng/strings": "^3.7.14",
|
|
48
|
+
"@thi.ng/transducers": "^8.9.2"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@microsoft/api-extractor": "^7.
|
|
52
|
-
"@thi.ng/testament": "^0.4.
|
|
53
|
-
"esbuild": "^0.
|
|
51
|
+
"@microsoft/api-extractor": "^7.40.1",
|
|
52
|
+
"@thi.ng/testament": "^0.4.17",
|
|
53
|
+
"esbuild": "^0.20.0",
|
|
54
54
|
"rimraf": "^5.0.5",
|
|
55
|
-
"typedoc": "^0.25.
|
|
55
|
+
"typedoc": "^0.25.7",
|
|
56
56
|
"typescript": "^5.3.3"
|
|
57
57
|
},
|
|
58
58
|
"keywords": [
|
|
@@ -93,5 +93,5 @@
|
|
|
93
93
|
"status": "alpha",
|
|
94
94
|
"year": 2022
|
|
95
95
|
},
|
|
96
|
-
"gitHead": "
|
|
96
|
+
"gitHead": "25ee18f7db6d03f0b76787267ab071d16df94888\n"
|
|
97
97
|
}
|