![Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility](https://cdn.sanity.io/images/cgdhsj6q/production/97774ea8c88cc8f4bed2766c31994ebc38116948-1664x1366.png?w=400&fit=max&auto=format)
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@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.
The npm package @connectrpc/connect-migrate receives a total of 45 weekly downloads. As such, @connectrpc/connect-migrate popularity was classified as not popular.
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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.