-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependency tslog to v4 #347
base: dev-main
Are you sure you want to change the base?
Conversation
57b61c3
to
f85cb26
Compare
β¦as kipper is still strictly 'commonjs' for now)
size-limit report π¦
|
Due to the usage of pure ESM by Error that is currently thrown due to this issue: (node:2025) [ERR_REQUIRE_ESM] Error Plugin: @kipper/cli [ERR_REQUIRE_ESM]: Must use import to load ES Module: /home/runner/work/Kipper/Kipper/kipper/cli/node_modules/.pnpm/tslog@4.0.4/node_modules/tslog/dist/nodejs/index.js
require() of ES modules is not supported.
require() of /home/runner/work/Kipper/Kipper/kipper/cli/node_modules/.pnpm/tslog@4.0.4/node_modules/tslog/dist/nodejs/index.js from /home/runner/work/Kipper/Kipper/kipper/cli/src/logger.ts is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules.
Instead rename index.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from /home/runner/work/Kipper/Kipper/kipper/cli/node_modules/.pnpm/tslog@4.0.4/node_modules/tslog/package.json. Traceback copied from run Note: |
Edited/Blocked NotificationRenovate 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. |
As a continuation of this thread, due to the intended support of Deno in the future, Kipper will need to migrate to ESM in some form, as otherwise, importing and support are impossible to achieve natively. Therefore, without ESM support only CLI usage would be available, which limits the use of custom Kipper behaviour. |
This PR contains the following updates:
^3.3.0
->^4.0.0
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.