proby 0.3.0 → 0.4.1
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/lib/bin.js +1 -1
- package/lib/run.js +1 -1
- package/package.json +4 -5
package/lib/bin.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import red from "@rcompat/cli/color/red";
|
|
3
3
|
import print from "@rcompat/cli/print";
|
|
4
|
-
import root from "@rcompat/
|
|
4
|
+
import root from "@rcompat/fs/project/root";
|
|
5
5
|
import run from "./run.js";
|
|
6
6
|
const $root = await root();
|
|
7
7
|
const spec_json = $root.join("spec.json");
|
package/lib/run.js
CHANGED
|
@@ -9,7 +9,7 @@ function stringify_scalar(value) {
|
|
|
9
9
|
return "null";
|
|
10
10
|
if (value === undefined)
|
|
11
11
|
return "undefined";
|
|
12
|
-
if (["
|
|
12
|
+
if (["boolean", "number", "string", "symbol"].includes(typeof value)) {
|
|
13
13
|
return value.toString();
|
|
14
14
|
}
|
|
15
15
|
if (typeof value === "bigint") {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "proby",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Standard library test runner",
|
|
5
5
|
"bugs": "https://github.com/rcompat/rcompat/issues",
|
|
6
6
|
"license": "MIT",
|
|
@@ -16,12 +16,11 @@
|
|
|
16
16
|
"directory": "packages/proby"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@rcompat/cli": "^0.
|
|
20
|
-
"@rcompat/fs": "^0.
|
|
21
|
-
"@rcompat/package": "^0.12.0"
|
|
19
|
+
"@rcompat/cli": "^0.11.3",
|
|
20
|
+
"@rcompat/fs": "^0.22.3"
|
|
22
21
|
},
|
|
23
22
|
"peerDependencies": {
|
|
24
|
-
"@rcompat/test": "^0.
|
|
23
|
+
"@rcompat/test": "^0.5.0"
|
|
25
24
|
},
|
|
26
25
|
"peerDependenciesMeta": {
|
|
27
26
|
"@rcompat/test": {
|