protons 7.0.5 → 7.0.7
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/README.md +5 -0
- package/dist/bin/protons.js +1 -0
- package/dist/bin/protons.js.map +1 -1
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
- [Usage](#usage)
|
|
14
14
|
- [Differences from protobuf.js](#differences-from-protobufjs)
|
|
15
15
|
- [Missing features](#missing-features)
|
|
16
|
+
- [API Docs](#api-docs)
|
|
16
17
|
- [License](#license)
|
|
17
18
|
- [Contribute](#contribute)
|
|
18
19
|
|
|
@@ -76,6 +77,10 @@ It does have one or two differences:
|
|
|
76
77
|
|
|
77
78
|
Some features are missing `OneOf`s, etc due to them not being needed so far in ipfs/libp2p. If these features are important to you, please open PRs implementing them along with tests comparing the generated bytes to `protobuf.js` and `pbjs`.
|
|
78
79
|
|
|
80
|
+
## API Docs
|
|
81
|
+
|
|
82
|
+
- <https://ipfs.github.io/protons/modules/protons.html>
|
|
83
|
+
|
|
79
84
|
## License
|
|
80
85
|
|
|
81
86
|
Licensed under either of
|
package/dist/bin/protons.js
CHANGED
package/dist/bin/protons.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protons.js","sourceRoot":"","sources":["../../bin/protons.ts"],"names":[],"mappings":";AAEA,OAAO,IAAI,MAAM,MAAM,CAAA;AACvB,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE1C,KAAK,UAAU,IAAI;IACjB,MAAM,GAAG,GAAG,IAAI,CAAC;;;;;;;;;CASlB,EAAE;QACC,UAAU,EAAE,MAAM,CAAC,IAAI;QACvB,KAAK,EAAE;YACL,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,SAAS,EAAE,GAAG;aACf;SACF;KACF,CAAC,CAAA;IAEF,IAAI,GAAG,CAAC,KAAK,CAAC,MAAM,KAAK,CAAC,E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AAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "protons",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.7",
|
|
4
4
|
"description": "Protobuf to ts transpiler",
|
|
5
5
|
"license": "Apache-2.0 OR MIT",
|
|
6
6
|
"homepage": "https://github.com/ipfs/protons/tree/master/packages/protons#readme",
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"eslintConfig": {
|
|
32
32
|
"extends": "ipfs",
|
|
33
33
|
"parserOptions": {
|
|
34
|
+
"project": true,
|
|
34
35
|
"sourceType": "module"
|
|
35
36
|
}
|
|
36
37
|
},
|
|
@@ -133,11 +134,11 @@
|
|
|
133
134
|
"protobufjs-cli": "^1.0.0"
|
|
134
135
|
},
|
|
135
136
|
"devDependencies": {
|
|
136
|
-
"aegir": "^
|
|
137
|
+
"aegir": "^41.0.4",
|
|
137
138
|
"long": "^5.2.0",
|
|
138
139
|
"pbjs": "^0.0.14",
|
|
139
140
|
"protobufjs": "^7.0.0",
|
|
140
141
|
"protons-runtime": "^5.0.0",
|
|
141
|
-
"uint8arraylist": "^2.3
|
|
142
|
+
"uint8arraylist": "^2.4.3"
|
|
142
143
|
}
|
|
143
144
|
}
|