@weborigami/origami 0.2.1 → 0.2.2
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/package.json +4 -4
- package/src/dev/treeDot.js +2 -1
- package/src/site/rss.js +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@weborigami/origami",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Web Origami language, CLI, framework, and server",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"typescript": "5.6.2"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@weborigami/async-tree": "0.2.
|
|
21
|
-
"@weborigami/language": "0.2.
|
|
22
|
-
"@weborigami/types": "0.2.
|
|
20
|
+
"@weborigami/async-tree": "0.2.2",
|
|
21
|
+
"@weborigami/language": "0.2.2",
|
|
22
|
+
"@weborigami/types": "0.2.2",
|
|
23
23
|
"exif-parser": "0.1.12",
|
|
24
24
|
"graphviz-wasm": "3.0.2",
|
|
25
25
|
"highlight.js": "11.10.0",
|
package/src/dev/treeDot.js
CHANGED
|
@@ -51,7 +51,8 @@ async function statements(tree, nodePath, nodeLabel, options) {
|
|
|
51
51
|
let nodes = new Map();
|
|
52
52
|
for (const key of await tree.keys()) {
|
|
53
53
|
const destPath = nodePath ? `${trailingSlash.add(nodePath)}${key}` : key;
|
|
54
|
-
const
|
|
54
|
+
const labelUrl = createLinks ? `; labelURL="${destPath}"` : "";
|
|
55
|
+
const arc = ` "${nodePath}" -> "${destPath}" [label="${key}"${labelUrl}];`;
|
|
55
56
|
result.push(arc);
|
|
56
57
|
|
|
57
58
|
let isError = false;
|
package/src/site/rss.js
CHANGED
|
@@ -52,7 +52,6 @@ export default async function rss(jsonFeedTree, options = {}) {
|
|
|
52
52
|
? ` <language>${language}</language>\n`
|
|
53
53
|
: "";
|
|
54
54
|
const feedLinkElement = ` <atom:link href="${feed_url}" rel="self" type="application/rss+xml"/>\n`;
|
|
55
|
-
// const feedLinkElement = ` <link rel="self" type="application/atom+xml" href="${feed_url}"/>\n`;
|
|
56
55
|
|
|
57
56
|
return `<?xml version="1.0" ?>
|
|
58
57
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
|