Skip to content

Commit f8c1f69

Browse files
authored
Merge pull request #7 from PSPDFKit-labs/fix/security-and-coverage-improvements
fix: Security updates and test coverage improvements
2 parents 41bf142 + 4928c87 commit f8c1f69

4 files changed

Lines changed: 1786 additions & 1886 deletions

File tree

CHANGELOG.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [Unreleased]
9+
10+
### Security
11+
12+
- Updated `axios` from ^1.10.0 to ^1.13.2 to fix DoS vulnerability (GHSA-4hjh-wcwx-xvwj)
13+
- Updated `form-data` from ^4.0.4 to ^4.0.5
14+
- Added npm overrides for transitive dependency vulnerabilities:
15+
- `glob` ^11.0.4 (fixes GHSA-5j98-mcp5-4vw2 command injection)
16+
- `js-yaml` ^4.1.1 (fixes GHSA-mh29-5h37-fv8m prototype pollution)
17+
18+
### Changed
19+
20+
- Updated devDependencies to latest compatible versions:
21+
- `@eslint/eslintrc` ^3.3.3
22+
- `@eslint/js` ^9.39.2
23+
- `@types/node` ^24.10.7
24+
- `@typescript-eslint/eslint-plugin` ^8.53.0
25+
- `@typescript-eslint/parser` ^8.53.0
26+
- `dotenv` ^17.2.3
27+
- `eslint` ^9.39.2
28+
- `eslint-config-prettier` ^10.1.8
29+
- `eslint-plugin-jest` ^29.12.1
30+
- `globals` ^16.5.0
31+
- `jest` ^30.2.0
32+
- `openapi-typescript` ^7.10.1
33+
- `prettier` ^3.7.4
34+
- `rimraf` ^6.1.2
35+
- `ts-jest` ^29.4.6
36+
- `tsup` ^8.5.1
37+
- `tsx` ^4.21.0
38+
- `typescript` ^5.9.3
39+
- Switched Jest coverage provider from Istanbul to V8 for Node.js 25+ compatibility
40+
- Excluded generated API types from coverage collection (reduces noise in coverage reports)
41+
42+
### Added
43+
44+
- This CHANGELOG.md file to track project changes
45+
46+
## [1.0.1] - 2025-01-09
47+
48+
### Changed
49+
50+
- Bumped version in example
51+
52+
## [1.0.0] - 2025-01-09
53+
54+
### Added
55+
56+
- Initial release of the Nutrient DWS TypeScript client
57+
- Full TypeScript support with comprehensive type definitions
58+
- Fluent builder API for document workflows
59+
- Support for all DWS API operations:
60+
- Document conversion (PDF, PDF/A, PDF/UA, images, Office formats, HTML, Markdown)
61+
- OCR processing
62+
- Watermarking (text and image)
63+
- Document merging and splitting
64+
- Text and table extraction
65+
- Redaction (text, regex, preset, AI-powered)
66+
- Annotation operations (XFDF, Instant JSON)
67+
- PDF optimization and security
68+
- Comprehensive error handling with typed error classes
69+
- AI agent integration rules for Claude Code, Cursor, GitHub Copilot, Junie, and Windsurf
70+
71+
[Unreleased]: https://github.com/PSPDFKit-labs/nutrient-dws-client-typescript/compare/v1.0.1...HEAD
72+
[1.0.1]: https://github.com/PSPDFKit-labs/nutrient-dws-client-typescript/compare/v1.0.0...v1.0.1
73+
[1.0.0]: https://github.com/PSPDFKit-labs/nutrient-dws-client-typescript/releases/tag/v1.0.0

jest.config.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ export default {
1212
'!src/**/*.d.ts',
1313
'!src/**/index.ts',
1414
'!src/**/__tests__/**',
15+
'!src/generated/**',
1516
],
17+
coverageProvider: 'v8',
1618
coverageThreshold: {
1719
global: {
1820
branches: 70,

0 commit comments

Comments
 (0)