Update dependencies and migrate to @rollup/plugin-terser #51
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi, thanks for providing this excellent token vesting tool, it has been incredibly helpful for me.
I'd like to contribute by updating some dependencies to their latest stable versions.
Description
This PR updates several dependencies to their latest stable versions and replaces the deprecated
rollup-plugin-terser
with the officially recommended@rollup/plugin-terser
.Why migrate to @rollup/plugin-terser
According to the official Rollup documentation and repositories:
rollup-plugin-terser
is now archived and no longer maintained (see: https://github.com/TrySound/rollup-plugin-terser)@rollup/plugin-terser
is the official replacement (see: https://github.com/rollup/plugins/tree/master/packages/terser)Dependency Updates in package.json
devDependencies
@bonfida/utils
: ^0.0.4 -> ^0.0.7@rollup/plugin-commonjs
: ^24.0.1 -> ^28.0.1@rollup/plugin-typescript
: ^11.0.0 -> ^12.1.1@solana/spl-token
: 0.3.7 (unchanged)@solana/web3.js
: ^1.73.2 -> ^1.95.0@tsconfig/recommended
: ^1.0.1 -> ^1.0.7@types/node
: ^14.14.20 -> ^20.3.1babel-eslint
: ^10.1.0 (unchanged)eslint
: ^7.17.0 -> ^8.42.0eslint-plugin-import
: ^2.22.1 -> ^2.29.1nodemon
: ^2.0.7 -> ^3.1.7prettier
: ^2.2.1 -> ^3.3.3rollup
: ^2.36.1 -> ^3.14.0rollup-plugin-terser
: ^7.0.2@rollup/plugin-terser
: ^0.4.4ts-node
: ^9.1.1 -> ^10.9.2tslib
: ^2.1.0 -> ^2.8.0typescript
: ^4.1.3 -> ^5.1.3peerDependencies
@solana/spl-token
: 0.3.7 (unchanged)@solana/web3.js
: ^1.73.2 -> ^1.95.0dependencies
bip32
: ^2.0.6 -> ^5.0.0-rc.0bn.js
: ^5.1.3 -> ^5.2.1bs58
: ^4.0.1 -> ^6.0.0buffer-layout
: ^1.2.2 (unchanged)tweetnacl
: ^1.0.3 (unchanged)Technical Changes
Modified
rollup.config.mjs
:Changed from
import { terser } from 'rollup-plugin-terser';
to
import terser from '@rollup/plugin-terser';
Benefits
Testing
Breaking Changes
None. This is a maintenance update that should be transparent to end users.
Notes
@rollup/plugin-terser
is part of following Rollup's official recommendationsI've thoroughly tested these changes and everything works as expected. Please let me know if you would like me to make any adjustments or if you need any additional information. Thank you for considering this contribution!
Best regards