You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hotfix: Fix CommonJS import bug in field-based update tools
Regression from previous commit - reverted to correct CommonJS import pattern.
tsdav is a CommonJS module and requires default import + destructuring:
- import tsdavPkg from 'tsdav'
- const { updateEventFields } = tsdavPkg
Named imports fail in strict Node.js environments (Docker):
- SyntaxError: Named export 'updateEventFields' not found
Fixed files:
- src/tools/calendar/update-event-fields.js
- src/tools/todos/update-todo-fields.js
- src/tools/contacts/update-contact-fields.js
This restores the working pattern from commit 09f4b47.
0 commit comments