Skip to content

Conversation

@jmaddington
Copy link

Summary

  • Addresses dependency warnings for deprecated npm packages (issues Would you be interested in sharing image-charts.com as an alternative ? #1-6)
  • Updates glob to a compatible version (fixes glob@7.2.3 warnings)
  • Adds moment as explicit dependency (fixes chartjs-adapter-moment peer dependency)
  • Updates canvas to latest version compatible with Node.js
  • Uses compatible rimraf version

Test plan

  • Verify that dependency warnings are reduced during installation
  • Automated tests in GitHub Actions should pass

🤖 Generated with Claude Code

andrii-ivanov and others added 21 commits February 18, 2025 15:42
This commit integrates a chart template storage and retrieval system, which was previously unavailable due to lack of FOSS implementations. Key additions include:

- SQLite database integration for persistent storage of chart templates
- New API endpoints for chart template creation and retrieval
- Database schema with automatic cleanup of expired templates
- Template overrides allowing customization of stored templates via URL parameters
- Docker volume support for persistent database storage
- Additional documentation for the template feature
- Test suite for template creation and retrieval functionality

The template system allows users to:
1. Store complex chart configurations as reusable templates
2. Retrieve and render templates with a simple ID
3. Dynamically override template parameters (title, labels, etc.)
4. Set expiration dates for temporary templates

This significantly enhances the utility of QuickChart by enabling persistent chart configurations without requiring long URLs for each chart instance.
- Added json-schema ^0.4.0 to both resolutions and overrides in package.json
- Modified GitHub Actions workflow to run tests on any branch push
- Added flat ^5.0.1 to both resolutions and overrides
- Added crypto-js ^4.2.0 to both resolutions and overrides
- Resolves Dependabot alert #11
- Eliminates critical security vulnerabilities

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Added resolutions for known high severity vulnerabilities:
  - cross-spawn ^6.0.6 (ReDoS vulnerability)
  - axios ^1.8.2 (SSRF and Credential Leakage)
  - minimatch ^3.0.5 (ReDoS vulnerability)
  - ws ^7.5.10 (DoS vulnerability)
  - nth-check ^2.0.1 (ReDoS vulnerability)
  - body-parser ^1.20.3 (DoS vulnerability)
  - path-to-regexp ^0.1.12 (ReDoS vulnerability)

- Reduced high severity vulnerabilities from 10 to 1
- Remaining high severity vulnerability in lodash.pick has no patch available

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants