Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@connectrpc/connect-migrate
Advanced tools
This tool updates your Connect project to use the new @connectrpc packages.
This tool updates your Connect project to use the new @connectrpc
packages.
To migrate, run the following command in your project root directory:
npx @connectrpc/connect-migrate
Add the --help
flag to the command to learn more about the available flags.
This package is made up of a few migration steps
package.json
files to point to the new @connectrpc
organizationinstall
command for your package managerWe ignore all files within node_modules
but will update any other files that
end with the following extensions: .ts
, .tsx
, .js
, .jsx
, .cjs
, .mjs
.
This tool leverages jscodeshift
in order to find all references to packages and
update them. As a result, we've assumed a parser to parse your JavaScript/TypeScript
files. If you see errors due to parsing, you may be using a custom babel config
or another custom parser. You can work around this while leveraging our
transforms by calling jscodeshift
directly.
npx jscodeshift -t ./node_modules/@connectrpc/connect-migrate/dist/cjs/migrations/v0.13.1-transform.js .
And add any additional params you feel are necessary. You can find more
information about jscodeshift
here.
FAQs
This tool updates your Connect project to use the new @connectrpc packages.
We found that @connectrpc/connect-migrate demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.