@reportforge/playwright-pdf 0.17.0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
5
5
 
6
+ ## [0.18.0] - 2026-07-11
7
+
8
+ ### Changed
9
+
10
+ - **Node 20 is now the minimum supported version** (was Node 18). Node 18 reached end-of-life in April 2025 and no longer receives security patches, and dependencies have begun dropping support for it. If you are still on Node 18, upgrade to Node 20 or later before taking this release. CI now tests against Node 20, 22, and 24.
11
+ - `puppeteer-core` is now supported up to v25 (peer range widened to `>=21 <26`). Existing v21 to v24 installs keep working, so no action is needed unless you want to upgrade.
12
+ - Internal dependency updates: `sharp` 0.35 (which requires Node 20), and `@types/node` 26.
13
+
14
+ ---
15
+
6
16
  ## [0.17.0] - 2026-07-09
7
17
 
8
18
  ### Added
package/README.md CHANGED
@@ -677,6 +677,10 @@ Full documentation at [reportforge.org/docs](https://reportforge.org/docs):
677
677
 
678
678
  Questions and bug reports: email [support@reportforge.org](mailto:support@reportforge.org).
679
679
 
680
+ ## Security
681
+
682
+ Found a vulnerability? Email [support@reportforge.org](mailto:support@reportforge.org) with a subject starting with `[SECURITY]` — please don't open a public issue. Details, scope, and response timelines are in [SECURITY.md](./SECURITY.md); machine-readable contact data is at [reportforge.org/.well-known/security.txt](https://reportforge.org/.well-known/security.txt).
683
+
680
684
  ## License
681
685
 
682
- [Elastic License 2.0](./LICENSE), source-available. Read, copy, and modify the source freely. Three things the license does not allow: offering the software as a hosted service, bypassing or removing the license-key check, and stripping license or copyright notices. Generating PDF reports requires an active subscription.
686
+ [Elastic License 2.0](./LICENSE). The license does not allow offering the software as a hosted service, bypassing or removing the license-key check, or stripping license or copyright notices. Generating PDF reports requires an active subscription.
package/SECURITY.md ADDED
@@ -0,0 +1,50 @@
1
+ # Security Policy
2
+
3
+ ReportForge handles license keys, payment webhooks, and customer data. We take
4
+ vulnerability reports seriously and appreciate coordinated disclosure.
5
+
6
+ ## Reporting a vulnerability
7
+
8
+ Email **[support@reportforge.org](mailto:support@reportforge.org)** with the
9
+ subject line starting with `[SECURITY]`.
10
+
11
+ Please include:
12
+
13
+ - A description of the issue and where it lives (npm package
14
+ `@reportforge/playwright-pdf`, the `reportforge.org` service, or both).
15
+ - Steps to reproduce, or a proof of concept.
16
+ - The version(s) affected, if known.
17
+
18
+ Please do **not** open a public GitHub issue for security reports, and do not
19
+ test against production customer data — a trial subscription gives you a full
20
+ legitimate environment to test the license flow.
21
+
22
+ ## What to expect
23
+
24
+ - **Acknowledgement within 48 hours** of your report.
25
+ - A triage verdict (accepted / not a vulnerability / duplicate) within 7 days.
26
+ - If accepted: a fix or mitigation timeline, and credit in the release notes
27
+ if you want it. We ask for up to **90 days** of coordinated disclosure
28
+ before you publish details.
29
+ - We do not currently run a paid bounty program.
30
+
31
+ ## Scope
32
+
33
+ In scope:
34
+
35
+ - The npm package `@reportforge/playwright-pdf` (report generation, license
36
+ client, bundled assets).
37
+ - The `reportforge.org` service: license API, dashboard, checkout, webhooks.
38
+
39
+ Out of scope:
40
+
41
+ - Denial of service / volumetric attacks.
42
+ - Reports about the 25-machine licensing cap working as documented.
43
+ - Vulnerabilities exclusively in third-party services we integrate
44
+ (Razorpay, Clerk, Vercel, Resend) — report those upstream.
45
+
46
+ ## Supported versions
47
+
48
+ Only the latest published version of `@reportforge/playwright-pdf` receives
49
+ security fixes. Machine-readable contact data is published at
50
+ [`https://reportforge.org/.well-known/security.txt`](https://reportforge.org/.well-known/security.txt).
package/dist/index.js CHANGED
@@ -14155,7 +14155,7 @@ var PdfReporter = class {
14155
14155
  this.liveConsole = false;
14156
14156
  this.options = parseOptions(rawOptions);
14157
14157
  this.dataCollector = new DataCollector(this.options.capture);
14158
- this.version = true ? "0.17.0" : "0.x";
14158
+ this.version = true ? "0.18.0" : "0.x";
14159
14159
  logger.info(`@reportforge/playwright-pdf v${this.version} initialised`);
14160
14160
  this.licenseClient = new LicenseClient({
14161
14161
  licenseKey: this.options.licenseKey,
package/dist/index.mjs CHANGED
@@ -14156,7 +14156,7 @@ var PdfReporter = class {
14156
14156
  this.liveConsole = false;
14157
14157
  this.options = parseOptions(rawOptions);
14158
14158
  this.dataCollector = new DataCollector(this.options.capture);
14159
- this.version = true ? "0.17.0" : "0.x";
14159
+ this.version = true ? "0.18.0" : "0.x";
14160
14160
  logger.info(`@reportforge/playwright-pdf v${this.version} initialised`);
14161
14161
  this.licenseClient = new LicenseClient({
14162
14162
  licenseKey: this.options.licenseKey,
package/package.json CHANGED
@@ -1,16 +1,11 @@
1
1
  {
2
2
  "name": "@reportforge/playwright-pdf",
3
- "version": "0.17.0",
3
+ "version": "0.18.0",
4
4
  "description": "Playwright Test reporter that generates designed PDF reports: minimal, detailed, and executive templates with CI/CD integrations",
5
5
  "license": "Elastic-2.0",
6
6
  "author": "ReportForge",
7
7
  "homepage": "https://reportforge.org",
8
- "repository": {
9
- "type": "git",
10
- "url": "https://github.com/muralidharan92/reportforge"
11
- },
12
8
  "bugs": {
13
- "url": "https://github.com/muralidharan92/reportforge/issues",
14
9
  "email": "support@reportforge.org"
15
10
  },
16
11
  "keywords": [
@@ -30,7 +25,11 @@
30
25
  "pdf-generator",
31
26
  "ci",
32
27
  "puppeteer",
33
- "html-to-pdf"
28
+ "html-to-pdf",
29
+ "reportforge",
30
+ "reportforge-playwright-pdf",
31
+ "report",
32
+ "forge"
34
33
  ],
35
34
  "main": "./dist/index.js",
36
35
  "module": "./dist/index.mjs",
@@ -53,7 +52,8 @@
53
52
  "ci-templates",
54
53
  "README.md",
55
54
  "CHANGELOG.md",
56
- "LICENSE"
55
+ "LICENSE",
56
+ "SECURITY.md"
57
57
  ],
58
58
  "scripts": {
59
59
  "prebuild": "npm run bundle-chartjs && npm run bundle-fonts && npm run bundle-pubkey && npm run bundle-model && npm run precompile-templates",
@@ -82,14 +82,14 @@
82
82
  },
83
83
  "peerDependencies": {
84
84
  "@playwright/test": ">=1.40.0",
85
- "puppeteer-core": ">=21.0.0 <25.0.0"
85
+ "puppeteer-core": ">=21.0.0 <26.0.0"
86
86
  },
87
87
  "dependencies": {
88
88
  "chrome-finder": "^1.0.7",
89
89
  "framer-motion": "^12.40.0",
90
90
  "glob": "^13.0.6",
91
91
  "handlebars": "^4.7.8",
92
- "sharp": "^0.34.5",
92
+ "sharp": "^0.35.3",
93
93
  "zod": "^3.23.8"
94
94
  },
95
95
  "devDependencies": {
@@ -98,20 +98,20 @@
98
98
  "@fontsource/source-serif-pro": "^5.2.5",
99
99
  "@playwright/test": "^1.49.0",
100
100
  "@types/handlebars": "^4.1.0",
101
- "@types/node": "^22.0.0",
101
+ "@types/node": "^26.1.1",
102
102
  "@typescript-eslint/eslint-plugin": "^8.0.0",
103
103
  "@typescript-eslint/parser": "^8.0.0",
104
- "@vitest/coverage-v8": "^2.1.0",
104
+ "@vitest/coverage-v8": "^4.1.10",
105
105
  "chart.js": "^4.4.0",
106
106
  "eslint": "^9.0.0",
107
107
  "prettier": "^3.3.0",
108
- "puppeteer-core": "^23.0.0",
108
+ "puppeteer-core": "^25.3.0",
109
109
  "tsup": "^8.3.0",
110
110
  "tsx": "^4.19.0",
111
- "typescript": "^5.6.0",
112
- "vitest": "^2.1.0"
111
+ "typescript": "^5.9.3",
112
+ "vitest": "^4.1.10"
113
113
  },
114
114
  "engines": {
115
- "node": ">=18.0.0"
115
+ "node": ">=20.0.0"
116
116
  }
117
117
  }