* Read the typescript-client pin from package.json.
()
| 207 | * Read the typescript-client pin from package.json. |
| 208 | */ |
| 209 | function readClientPin() { |
| 210 | const pkg = JSON.parse( |
| 211 | readFileSync(join(projectRoot, "package.json"), "utf-8"), |
| 212 | ); |
| 213 | return pkg.dependencies?.[CLIENT_PACKAGE_NAME] ?? null; |
| 214 | } |
| 215 | |
| 216 | /** |
| 217 | * Fetch the latest version of a package from PyPI |
no outgoing calls
no test coverage detected