webpipe-js 0.1.11 → 0.1.12

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/dist/index.cjs CHANGED
@@ -786,12 +786,7 @@ function prettyPrint(program) {
786
786
  allItems.push({ type: "comment", item: comment, lineNumber: comment.lineNumber || 0 });
787
787
  });
788
788
  allItems.sort((a, b) => a.lineNumber - b.lineNumber);
789
- let hasConfigs = false;
790
789
  allItems.forEach((entry, index) => {
791
- if (entry.type === "config" && !hasConfigs) {
792
- lines.push("## Config");
793
- hasConfigs = true;
794
- }
795
790
  switch (entry.type) {
796
791
  case "comment":
797
792
  lines.push(printComment(entry.item));
package/dist/index.mjs CHANGED
@@ -742,12 +742,7 @@ function prettyPrint(program) {
742
742
  allItems.push({ type: "comment", item: comment, lineNumber: comment.lineNumber || 0 });
743
743
  });
744
744
  allItems.sort((a, b) => a.lineNumber - b.lineNumber);
745
- let hasConfigs = false;
746
745
  allItems.forEach((entry, index) => {
747
- if (entry.type === "config" && !hasConfigs) {
748
- lines.push("## Config");
749
- hasConfigs = true;
750
- }
751
746
  switch (entry.type) {
752
747
  case "comment":
753
748
  lines.push(printComment(entry.item));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webpipe-js",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "description": "Web Pipe parser",
5
5
  "license": "ISC",
6
6
  "author": "William Cotton",