Skip to content

chore(deps): update dependencies and lazy-load juice#38

Merged
kimhongyeon merged 2 commits into
mainfrom
chore/deps
Jun 7, 2026
Merged

chore(deps): update dependencies and lazy-load juice#38
kimhongyeon merged 2 commits into
mainfrom
chore/deps

Conversation

@kimhongyeon

Copy link
Copy Markdown
Member

Summary

Update core and development dependencies to their latest compatible versions, including juice, ai, es-toolkit, Vitest, Rollup, and related tooling. This also adjusts CSS inlining to load juice dynamically so newsletter rendering remains compatible with the updated dependency behavior.

Changes

  • Updated dependency versions in package.json and refreshed resolved packages, integrity hashes, and transitive dependency entries in package-lock.json.
  • Added an inlineCss() helper in src/generate-newsletter/chains/content-generate.chain.ts that dynamically imports juice before applying CSS inlining.
  • Updated playground/generate-newsletter.ts to dynamically import juice at the point where rendered HTML is inlined.

Breaking Changes

  • None
  • If any, describe migration steps:

Checklist

  • I followed the Code of Conduct (see CODE_OF_CONDUCT.md)
  • I ran: npm run format:check npm run lint npm run typecheck npm run build npm test
  • Tests added/updated; coverage remains 100%
  • Docs/README updated if needed
  • No external side effects (network/file/process/time) in tests — use mocks

Related Issues

Closes #

- Bumped versions for `@langchain/core`, `ai`, `typescript-eslint`, `vitest`, `rollup`, and several other packages.
- Updated integrity hashes and ensured compatibility with the latest stable releases.
- Updated `juice` to `^12.1.0` and other dependencies in `package-lock.json`.
- Replaced direct `juice` imports with dynamic imports for CSS inlining in `content-generate.chain.ts` and `generate-newsletter.ts`.
@kimhongyeon kimhongyeon self-assigned this Jun 7, 2026
@kimhongyeon kimhongyeon merged commit ee79070 into main Jun 7, 2026
1 check passed
@kimhongyeon kimhongyeon deleted the chore/deps branch June 7, 2026 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant