@matter/cli-tool 0.12.4-alpha.0-20250215-5af08a8d6 → 0.12.4-alpha.0-20250223-1e0341a1a
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/esm/cli.js +1 -1
- package/dist/esm/domain.js +2 -2
- package/dist/esm/repl.js +5 -5
- package/package.json +9 -9
- package/src/cli.ts +1 -1
- package/src/domain.ts +2 -2
- package/src/repl.ts +7 -7
package/dist/esm/cli.js
CHANGED
|
@@ -8,7 +8,7 @@ import { repl } from "#repl.js";
|
|
|
8
8
|
import { Environment, LogFormat, MatterError } from "@matter/general";
|
|
9
9
|
import "@matter/nodejs";
|
|
10
10
|
import colors from "ansi-colors";
|
|
11
|
-
import { stdout } from "process";
|
|
11
|
+
import { stdout } from "node:process";
|
|
12
12
|
async function main(argv) {
|
|
13
13
|
colors.enabled = stdout.isTTY;
|
|
14
14
|
let args = argv.slice(2);
|
package/dist/esm/domain.js
CHANGED
|
@@ -18,8 +18,8 @@ import { parseInput } from "#parser.js";
|
|
|
18
18
|
import { Directory } from "#stat.js";
|
|
19
19
|
import { ServerNode } from "@matter/node";
|
|
20
20
|
import colors from "ansi-colors";
|
|
21
|
-
import { inspect } from "util";
|
|
22
|
-
import { createContext, runInContext } from "vm";
|
|
21
|
+
import { inspect } from "node:util";
|
|
22
|
+
import { createContext, runInContext } from "node:vm";
|
|
23
23
|
const GLOBALS = {
|
|
24
24
|
general: "@matter/general",
|
|
25
25
|
tools: "@matter/tools",
|
package/dist/esm/repl.js
CHANGED
|
@@ -7,11 +7,11 @@ import { Domain } from "#domain.js";
|
|
|
7
7
|
import { Environment, InternalError, Observable, RuntimeService, StorageService, Time } from "#general";
|
|
8
8
|
import { isCommand } from "#parser.js";
|
|
9
9
|
import colors from "ansi-colors";
|
|
10
|
-
import { readFile } from "fs/promises";
|
|
11
|
-
import { homedir } from "os";
|
|
12
|
-
import { dirname, join } from "path";
|
|
13
|
-
import { exit, stderr, stdout } from "process";
|
|
14
|
-
import { Recoverable, start } from "repl";
|
|
10
|
+
import { readFile } from "node:fs/promises";
|
|
11
|
+
import { homedir } from "node:os";
|
|
12
|
+
import { dirname, join } from "node:path";
|
|
13
|
+
import { exit, stderr, stdout } from "node:process";
|
|
14
|
+
import { Recoverable, start } from "node:repl";
|
|
15
15
|
import "./commands/index.js";
|
|
16
16
|
import "./providers/index.js";
|
|
17
17
|
async function repl() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matter/cli-tool",
|
|
3
|
-
"version": "0.12.4-alpha.0-
|
|
3
|
+
"version": "0.12.4-alpha.0-20250223-1e0341a1a",
|
|
4
4
|
"description": "Command line tool for interacting with Matter",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"iot",
|
|
@@ -41,20 +41,20 @@
|
|
|
41
41
|
"#*": "./src/*"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@matter/general": "0.12.4-alpha.0-
|
|
45
|
-
"@matter/model": "0.12.4-alpha.0-
|
|
46
|
-
"@matter/node": "0.12.4-alpha.0-
|
|
47
|
-
"@matter/protocol": "0.12.4-alpha.0-
|
|
48
|
-
"@matter/tools": "0.12.4-alpha.0-
|
|
49
|
-
"@matter/types": "0.12.4-alpha.0-
|
|
50
|
-
"@matter/nodejs": "0.12.4-alpha.0-
|
|
44
|
+
"@matter/general": "0.12.4-alpha.0-20250223-1e0341a1a",
|
|
45
|
+
"@matter/model": "0.12.4-alpha.0-20250223-1e0341a1a",
|
|
46
|
+
"@matter/node": "0.12.4-alpha.0-20250223-1e0341a1a",
|
|
47
|
+
"@matter/protocol": "0.12.4-alpha.0-20250223-1e0341a1a",
|
|
48
|
+
"@matter/tools": "0.12.4-alpha.0-20250223-1e0341a1a",
|
|
49
|
+
"@matter/types": "0.12.4-alpha.0-20250223-1e0341a1a",
|
|
50
|
+
"@matter/nodejs": "0.12.4-alpha.0-20250223-1e0341a1a",
|
|
51
51
|
"@types/escodegen": "^0.0.10",
|
|
52
52
|
"acorn": "^8.14.0",
|
|
53
53
|
"ansi-colors": "^4.1.3",
|
|
54
54
|
"escodegen": "^2.1.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@matter/testing": "0.12.4-alpha.0-
|
|
57
|
+
"@matter/testing": "0.12.4-alpha.0-20250223-1e0341a1a"
|
|
58
58
|
},
|
|
59
59
|
"files": [
|
|
60
60
|
"dist/**/*",
|
package/src/cli.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { repl } from "#repl.js";
|
|
|
10
10
|
import { Environment, LogFormat, MatterError } from "@matter/general";
|
|
11
11
|
import "@matter/nodejs";
|
|
12
12
|
import colors from "ansi-colors";
|
|
13
|
-
import { stdout } from "process";
|
|
13
|
+
import { stdout } from "node:process";
|
|
14
14
|
|
|
15
15
|
export async function main(argv: string[]) {
|
|
16
16
|
colors.enabled = stdout.isTTY;
|
package/src/domain.ts
CHANGED
|
@@ -20,8 +20,8 @@ import { Input, parseInput } from "#parser.js";
|
|
|
20
20
|
import { Directory } from "#stat.js";
|
|
21
21
|
import { ServerNode } from "@matter/node";
|
|
22
22
|
import colors from "ansi-colors";
|
|
23
|
-
import { inspect } from "util";
|
|
24
|
-
import { createContext, runInContext, RunningCodeOptions } from "vm";
|
|
23
|
+
import { inspect } from "node:util";
|
|
24
|
+
import { createContext, runInContext, RunningCodeOptions } from "node:vm";
|
|
25
25
|
|
|
26
26
|
export interface TextWriter {
|
|
27
27
|
(...text: string[]): void;
|
package/src/repl.ts
CHANGED
|
@@ -9,13 +9,13 @@ import { IncompleteError } from "#errors.js";
|
|
|
9
9
|
import { Environment, InternalError, Observable, RuntimeService, StorageService, Time } from "#general";
|
|
10
10
|
import { isCommand } from "#parser.js";
|
|
11
11
|
import colors from "ansi-colors";
|
|
12
|
-
import { readFile } from "fs/promises";
|
|
13
|
-
import { homedir } from "os";
|
|
14
|
-
import { dirname, join } from "path";
|
|
15
|
-
import { exit, stderr, stdout } from "process";
|
|
16
|
-
import { AsyncCompleter, CompleterResult, Key } from "readline";
|
|
17
|
-
import { Recoverable, REPLEval, ReplOptions, REPLServer, start } from "repl";
|
|
18
|
-
import { Context } from "vm";
|
|
12
|
+
import { readFile } from "node:fs/promises";
|
|
13
|
+
import { homedir } from "node:os";
|
|
14
|
+
import { dirname, join } from "node:path";
|
|
15
|
+
import { exit, stderr, stdout } from "node:process";
|
|
16
|
+
import { AsyncCompleter, CompleterResult, Key } from "node:readline";
|
|
17
|
+
import { Recoverable, REPLEval, ReplOptions, REPLServer, start } from "node:repl";
|
|
18
|
+
import { Context } from "node:vm";
|
|
19
19
|
import "./commands/index.js";
|
|
20
20
|
import "./providers/index.js";
|
|
21
21
|
|