node-pg-migrate
node-pg-migrate copied to clipboard
fix(deps): update dependency decamelize to v6
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
decamelize | ^5.0.0 -> ^6.0.0 |
Release Notes
Configuration
📅 Schedule: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
@goce-cz hi! what breaks here is that decamelize is now pure ESM while we compile everything with Typescript to CommonJS still.
I guess we either can ignore major updates for this package, change it to smth else (to delay it) or start thinking how to convert the library to ESM.
We have already typescript 4.5, so we should be theoretically switch to nodenext
(as written here). It would require though to add those js extensions to all imports. Maybe smth more as well...
So one question if it makes sense to switch to ESM now? Another questions could be if we want still provide lib as commonjs variant and if it's even possible to compile this way somehow when you have some pure ESM dependency.
I can investigate more but if you have some knowledge to share to help me with those, I would appreciate. Thanks!
I can investigate more but if you have some knowledge to share to help me with those, I would appreciate. Thanks!
Honestly I have no experience with this so far. I've been dodging the bullet for a while on other projects by avoiding major updates of some libs. But if you manage to trick TS into consuming ESM while still compiling to a plain CommonJS lib, I'd say go for it.
Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.
Autoclosing Skipped
This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.