Protobufjs fixed the relative path issue

This commit is contained in:
Damien Elmes 2023-02-03 09:31:42 +10:00
parent 32ec6e06f6
commit b97d1ac074
4 changed files with 12 additions and 12 deletions

View file

@ -312,8 +312,8 @@ pub struct GenTypescriptProto {
impl BuildAction for GenTypescriptProto { impl BuildAction for GenTypescriptProto {
fn command(&self) -> &str { fn command(&self) -> &str {
"$pbjs --target=static-module --wrap=default --force-number --force-message --out=$static -p proto $in && $ "$pbjs --target=static-module --wrap=default --force-number --force-message --out=$static $in && $
$pbjs --target=json-module --wrap=default --force-number --force-message --out=$js -p proto $in && $ $pbjs --target=json-module --wrap=default --force-number --force-message --out=$js $in && $
$pbts --out=$dts $static && $ $pbts --out=$dts $static && $
rm $static" rm $static"
} }

View file

@ -530,7 +530,7 @@
"path": "node_modules/mathjax", "path": "node_modules/mathjax",
"licenseFile": "node_modules/mathjax/LICENSE" "licenseFile": "node_modules/mathjax/LICENSE"
}, },
"protobufjs@7.2.0": { "protobufjs@7.2.1": {
"licenses": "BSD-3-Clause", "licenses": "BSD-3-Clause",
"repository": "https://github.com/protobufjs/protobuf.js", "repository": "https://github.com/protobufjs/protobuf.js",
"publisher": "Daniel Wirtz", "publisher": "Daniel Wirtz",

View file

@ -172,9 +172,9 @@
integrity sha512-BoHhDJrJXqcg+ZL16Xv39H9n+AqJ4pcDrQBGZN+wHxIysrLZ3/ECwCBUch/1zUNhnsXULcONU3Ei5Hmkfk6kiQ== integrity sha512-BoHhDJrJXqcg+ZL16Xv39H9n+AqJ4pcDrQBGZN+wHxIysrLZ3/ECwCBUch/1zUNhnsXULcONU3Ei5Hmkfk6kiQ==
"@babel/parser@^7.9.4": "@babel/parser@^7.9.4":
version "7.20.13" version "7.20.15"
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.20.13.tgz#ddf1eb5a813588d2fb1692b70c6fce75b945c088" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.20.15.tgz#eec9f36d8eaf0948bb88c87a46784b5ee9fd0c89"
integrity sha512-gFDLKMfpiXCsjt4za2JA9oTMn70CeseCehb11kRZgvd7+F67Hih3OHOK24cRrWECJ/ljfPGac6ygXAs/C8kIvw== integrity sha512-DI4a1oZuf8wC+oAJA9RW6ga3Zbe8RZFt7kD9i4qAspz3I/yHet1VvC3DiSy/fsUvv5pvJuNPh0LPOdCcqinDPg==
"@babel/plugin-syntax-async-generators@^7.8.4": "@babel/plugin-syntax-async-generators@^7.8.4":
version "7.8.4" version "7.8.4"
@ -4450,9 +4450,9 @@ prompts@^2.0.1:
sisteransi "^1.0.5" sisteransi "^1.0.5"
protobufjs-cli@^1.0.2: protobufjs-cli@^1.0.2:
version "1.1.0" version "1.1.1"
resolved "https://registry.yarnpkg.com/protobufjs-cli/-/protobufjs-cli-1.1.0.tgz#ba1f5a6fa78f8426d2015cf41ed16b7b69c6ac0a" resolved "https://registry.yarnpkg.com/protobufjs-cli/-/protobufjs-cli-1.1.1.tgz#f531201b1c8c7772066aa822bf9a08318b24a704"
integrity sha512-VXMQn+z3yG2WbN2E+mx5vcyIHF7yJSg2jqyqfxcZLWNOSTqUzSSgAE5vu04/JEpwxTI04JGyrZRDHC36wr04uw== integrity sha512-VPWMgIcRNyQwWUv8OLPyGQ/0lQY/QTQAVN5fh+XzfDwsVw1FZ2L3DM/bcBf8WPiRz2tNpaov9lPZfNcmNo6LXA==
dependencies: dependencies:
chalk "^4.0.0" chalk "^4.0.0"
escodegen "^1.13.0" escodegen "^1.13.0"
@ -4466,9 +4466,9 @@ protobufjs-cli@^1.0.2:
uglify-js "^3.7.7" uglify-js "^3.7.7"
protobufjs@^7: protobufjs@^7:
version "7.2.0" version "7.2.1"
resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-7.2.0.tgz#ca6b1ceb9a9efe21186ba96178089ec563011a5e" resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-7.2.1.tgz#939e76a8e69fd5c70b13f7dd78565d65ce20cdcb"
integrity sha512-hYCqTDuII4iJ4stZqiuGCSU8xxWl5JeXYpwARGtn/tWcKCAro6h3WQz+xpsNbXW0UYqpmTQFEyFWO0G0Kjt64g== integrity sha512-L3pCItypTnPK27+CS8nuhZMYtsY+i8dqdq2vZsYHlG17CnWp1DWPQ/sos0vOKrj1fHEAzo3GBqSHLaeZyKUCDA==
dependencies: dependencies:
"@protobufjs/aspromise" "^1.1.2" "@protobufjs/aspromise" "^1.1.2"
"@protobufjs/base64" "^1.1.2" "@protobufjs/base64" "^1.1.2"