Skip to content

Commit 16ac217

Browse files
committed
fix: Improve type-leaks test
Was missing some node deps still in devDeps Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
1 parent 0dc9787 commit 16ac217

6 files changed

Lines changed: 243 additions & 82 deletions

File tree

packages/comms/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,12 @@
7575
"@hpcc-js/util": "^3.3.2",
7676
"@xmldom/xmldom": "0.9.8",
7777
"abort-controller": "3.0.0",
78+
"d3-array": "^1",
79+
"d3-format": "^1",
80+
"d3-time-format": "^2",
7881
"node-fetch": "3.3.2",
82+
"safe-buffer": "5.2.1",
83+
"tmp": "0.2.3",
7984
"undici": "6.21.2"
8085
},
8186
"devDependencies": {
@@ -86,12 +91,7 @@
8691
"@types/d3-time-format": "2.3.4",
8792
"@types/node": "^18",
8893
"@types/xmldom": "0.1.34",
89-
"d3-array": "^1",
90-
"d3-format": "^1",
91-
"d3-time-format": "^2",
9294
"data-uri-to-buffer": "6.0.2",
93-
"safe-buffer": "5.2.1",
94-
"tmp": "0.2.3",
9595
"soap": "1.1.10",
9696
"typescript-formatter": "^7.2.2"
9797
},

packages/comms/src/clienttools/eclMeta.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import * as fs from "fs";
2-
import * as path from "path";
1+
import * as fs from "node:fs";
2+
import * as path from "node:path";
33

44
import { Dictionary, DictionaryNoCase, find, SAXStackParser, scopedLogger, XMLNode } from "@hpcc-js/util";
55
import { ClientTools, locateClientTools } from "./eclcc.ts";

packages/comms/src/clienttools/eclcc.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import * as cp from "child_process";
2-
import * as fs from "fs";
3-
import * as os from "os";
4-
import * as path from "path";
1+
import * as cp from "node:child_process";
2+
import * as fs from "node:fs";
3+
import * as os from "node:os";
4+
import * as path from "node:path";
55
import * as tmp from "tmp";
66

77
import { exists, scopedLogger, xml2json, XMLNode } from "@hpcc-js/util";

packages/comms/src/index.node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ root.DOMParser = DOMParser;
66
// fetch polyfill ---
77
import fetch, { Headers, Request, Response, } from "node-fetch";
88

9-
import * as https from "https";
9+
import * as https from "node:https";
1010
import { Agent, setGlobalDispatcher } from "undici";
1111

1212
if (typeof root.fetch === "undefined") {

packages/markdown-it-plugins/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@
5858
"@types/markdown-it": "14.1.2"
5959
},
6060
"peerDependencies": {
61-
"markdown-it": "14.1.0"
61+
"apache-arrow": "19.0.1",
62+
"markdown-it": "14.1.0",
63+
"shiki": "2.5.0"
6264
},
6365
"devDependencies": {
6466
"@hpcc-js/esbuild-plugins": "^1.4.2",
65-
"apache-arrow": "19.0.1",
6667
"d3-dsv": "3.0.1",
6768
"d3-fetch": "3.0.1",
6869
"dotenv": "16.4.7",
69-
"shiki": "2.5.0",
7070
"tsx": "4.19.3"
7171
},
7272
"repository": {

0 commit comments

Comments
 (0)