@typespec/protobuf 0.56.0-dev.4 → 0.56.0
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/CHANGELOG.md +7 -0
- package/coverage/cobertura-coverage.xml +1 -1
- package/package.json +5 -6
- package/test-results.xml +32 -32
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?xml version="1.0" ?>
|
|
2
2
|
<!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd">
|
|
3
|
-
<coverage lines-valid="2168" lines-covered="0" line-rate="0" branches-valid="7" branches-covered="0" branch-rate="0" timestamp="
|
|
3
|
+
<coverage lines-valid="2168" lines-covered="0" line-rate="0" branches-valid="7" branches-covered="0" branch-rate="0" timestamp="1715130104432" complexity="0" version="0.1">
|
|
4
4
|
<sources>
|
|
5
5
|
<source>D:/a/_work/1/s/packages/protobuf</source>
|
|
6
6
|
</sources>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typespec/protobuf",
|
|
3
|
-
"version": "0.56.0
|
|
3
|
+
"version": "0.56.0",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec library and emitter for Protobuf (gRPC)",
|
|
6
6
|
"homepage": "https://github.com/microsoft/typespec",
|
|
@@ -26,12 +26,11 @@
|
|
|
26
26
|
"type": "module",
|
|
27
27
|
"tspMain": "lib/proto.tsp",
|
|
28
28
|
"peerDependencies": {
|
|
29
|
-
"@typespec/compiler": "~0.
|
|
29
|
+
"@typespec/compiler": "~0.56.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/micromatch": "^4.0.7",
|
|
33
33
|
"@types/node": "~18.11.19",
|
|
34
|
-
"@typespec/compiler": "~0.55.0 || >=0.56.0-dev <0.56.0",
|
|
35
34
|
"@vitest/coverage-v8": "^1.5.0",
|
|
36
35
|
"@vitest/ui": "^1.5.0",
|
|
37
36
|
"c8": "^9.1.0",
|
|
@@ -39,9 +38,9 @@
|
|
|
39
38
|
"rimraf": "~5.0.5",
|
|
40
39
|
"typescript": "~5.4.5",
|
|
41
40
|
"vitest": "^1.5.0",
|
|
42
|
-
"@typespec/tspd": "~0.46.0"
|
|
41
|
+
"@typespec/tspd": "~0.46.0",
|
|
42
|
+
"@typespec/compiler": "~0.56.0"
|
|
43
43
|
},
|
|
44
|
-
"dependencies": {},
|
|
45
44
|
"scripts": {
|
|
46
45
|
"clean": "rimraf ./dist ./temp",
|
|
47
46
|
"build": "npm run gen-extern-signature && tsc -p .",
|
|
@@ -51,6 +50,6 @@
|
|
|
51
50
|
"test:ci": "vitest run --coverage --reporter=junit --reporter=default",
|
|
52
51
|
"lint": "eslint . --max-warnings=0",
|
|
53
52
|
"lint:fix": "eslint . --fix",
|
|
54
|
-
"regen-docs": "tspd doc . --enable-experimental --output-dir ../../docs/
|
|
53
|
+
"regen-docs": "tspd doc . --enable-experimental --output-dir ../../docs/emitters/protobuf/reference"
|
|
55
54
|
}
|
|
56
55
|
}
|
package/test-results.xml
CHANGED
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
2
|
-
<testsuites name="vitest tests" tests="33" failures="0" errors="0" time="3.
|
|
3
|
-
<testsuite name="test/scenarios.test.ts" timestamp="2024-
|
|
4
|
-
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > addressbook" time="0.
|
|
2
|
+
<testsuites name="vitest tests" tests="33" failures="0" errors="0" time="3.636">
|
|
3
|
+
<testsuite name="test/scenarios.test.ts" timestamp="2024-05-08T01:01:44.074Z" hostname="d576325dc000000" tests="33" failures="0" errors="0" skipped="0" time="1.835">
|
|
4
|
+
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > addressbook" time="0.239">
|
|
5
5
|
</testcase>
|
|
6
|
-
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > anonymous-model" time="0.
|
|
6
|
+
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > anonymous-model" time="0.068">
|
|
7
7
|
</testcase>
|
|
8
|
-
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > anonymous-package" time="0.
|
|
8
|
+
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > anonymous-package" time="0.066">
|
|
9
9
|
</testcase>
|
|
10
|
-
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > array" time="0.
|
|
10
|
+
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > array" time="0.065">
|
|
11
11
|
</testcase>
|
|
12
|
-
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > array-nested" time="0.
|
|
12
|
+
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > array-nested" time="0.041">
|
|
13
13
|
</testcase>
|
|
14
|
-
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > cross package references" time="0.
|
|
14
|
+
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > cross package references" time="0.059">
|
|
15
15
|
</testcase>
|
|
16
16
|
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > derived-scalar" time="0.043">
|
|
17
17
|
</testcase>
|
|
18
|
-
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > doc" time="0.
|
|
18
|
+
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > doc" time="0.061">
|
|
19
19
|
</testcase>
|
|
20
|
-
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > empty" time="0.
|
|
20
|
+
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > empty" time="0.062">
|
|
21
21
|
</testcase>
|
|
22
|
-
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > enum" time="0.
|
|
22
|
+
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > enum" time="0.044">
|
|
23
23
|
</testcase>
|
|
24
|
-
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > enum-nonintegral" time="0.
|
|
24
|
+
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > enum-nonintegral" time="0.047">
|
|
25
25
|
</testcase>
|
|
26
|
-
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > enum-nozero" time="0.
|
|
26
|
+
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > enum-nozero" time="0.037">
|
|
27
27
|
</testcase>
|
|
28
|
-
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > extern" time="0.
|
|
28
|
+
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > extern" time="0.064">
|
|
29
29
|
</testcase>
|
|
30
|
-
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > illegal field reservations" time="0.
|
|
30
|
+
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > illegal field reservations" time="0.034">
|
|
31
31
|
</testcase>
|
|
32
|
-
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > inferred-message-names" time="0.
|
|
32
|
+
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > inferred-message-names" time="0.04">
|
|
33
33
|
</testcase>
|
|
34
|
-
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > intrinsics" time="0.
|
|
34
|
+
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > intrinsics" time="0.045">
|
|
35
35
|
</testcase>
|
|
36
|
-
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > map" time="0.
|
|
36
|
+
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > map" time="0.05">
|
|
37
37
|
</testcase>
|
|
38
|
-
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > model-no-package" time="0.
|
|
38
|
+
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > model-no-package" time="0.052">
|
|
39
39
|
</testcase>
|
|
40
|
-
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > name-collision" time="0.
|
|
40
|
+
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > name-collision" time="0.04">
|
|
41
41
|
</testcase>
|
|
42
42
|
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > omit" time="0.044">
|
|
43
43
|
</testcase>
|
|
44
|
-
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > omit-off" time="0.
|
|
44
|
+
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > omit-off" time="0.05">
|
|
45
45
|
</testcase>
|
|
46
|
-
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > options" time="0.
|
|
46
|
+
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > options" time="0.061">
|
|
47
47
|
</testcase>
|
|
48
|
-
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > options-invalid" time="0.
|
|
48
|
+
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > options-invalid" time="0.046">
|
|
49
49
|
</testcase>
|
|
50
|
-
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > reserved field collisions" time="0.
|
|
50
|
+
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > reserved field collisions" time="0.054">
|
|
51
51
|
</testcase>
|
|
52
|
-
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > reserved fields" time="0.
|
|
52
|
+
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > reserved fields" time="0.044">
|
|
53
53
|
</testcase>
|
|
54
|
-
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > simple" time="0.
|
|
54
|
+
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > simple" time="0.055">
|
|
55
55
|
</testcase>
|
|
56
56
|
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > simple-error" time="0.042">
|
|
57
57
|
</testcase>
|
|
58
|
-
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > simple-no-service" time="0.
|
|
58
|
+
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > simple-no-service" time="0.055">
|
|
59
59
|
</testcase>
|
|
60
|
-
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > streams" time="0.
|
|
60
|
+
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > streams" time="0.039">
|
|
61
61
|
</testcase>
|
|
62
|
-
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > templates" time="0.
|
|
62
|
+
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > templates" time="0.049">
|
|
63
63
|
</testcase>
|
|
64
|
-
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > templates-error" time="0.
|
|
64
|
+
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > templates-error" time="0.048">
|
|
65
65
|
</testcase>
|
|
66
|
-
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > type-validation" time="0.
|
|
66
|
+
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > type-validation" time="0.039">
|
|
67
67
|
</testcase>
|
|
68
|
-
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > union" time="0.
|
|
68
|
+
<testcase classname="test/scenarios.test.ts" name="protobuf scenarios > union" time="0.051">
|
|
69
69
|
</testcase>
|
|
70
70
|
</testsuite>
|
|
71
71
|
</testsuites>
|