@thi.ng/dot 2.1.68 → 2.1.70
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 +1 -1
- package/package.json +3 -3
- package/serialize.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2024-03-
|
|
3
|
+
- **Last updated**: 2024-03-21T16:11:49Z
|
|
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
|
+
### [2.1.69](https://github.com/thi-ng/umbrella/tree/@thi.ng/dot@2.1.69) (2024-03-18)
|
|
13
|
+
|
|
14
|
+
#### ♻️ Refactoring
|
|
15
|
+
|
|
16
|
+
- minor update regexp ([5429dd5](https://github.com/thi-ng/umbrella/commit/5429dd5))
|
|
17
|
+
|
|
12
18
|
### [2.1.45](https://github.com/thi-ng/umbrella/tree/@thi.ng/dot@2.1.45) (2023-11-09)
|
|
13
19
|
|
|
14
20
|
#### ♻️ Refactoring
|
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/dot",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.70",
|
|
4
4
|
"description": "Graphviz document abstraction & serialization to DOT format",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@thi.ng/api": "^8.9.30",
|
|
40
|
-
"@thi.ng/checks": "^3.5.
|
|
40
|
+
"@thi.ng/checks": "^3.5.4"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@microsoft/api-extractor": "^7.42.3",
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"status": "beta",
|
|
86
86
|
"year": 2018
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "da965520b2f3f8c259a791e8e8864308be2ba0be\n"
|
|
89
89
|
}
|
package/serialize.js
CHANGED
|
@@ -2,7 +2,7 @@ import { isArray } from "@thi.ng/checks/is-array";
|
|
|
2
2
|
let nextID = 0;
|
|
3
3
|
const nextSubgraphID = () => "cluster" + nextID++;
|
|
4
4
|
const wrapQ = (x) => `"${x}"`;
|
|
5
|
-
const escape = (x) => String(x).replace(
|
|
5
|
+
const escape = (x) => String(x).replace(/"/g, `\\"`).replace(/\n/g, "\\n");
|
|
6
6
|
const formatGraphAttribs = (attribs, acc) => {
|
|
7
7
|
for (let a in attribs) {
|
|
8
8
|
let v = attribs[a];
|