@shad0wz7/nestjs-pdf 2.1.0 → 2.2.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shad0wz7/nestjs-pdf",
3
- "version": "2.1.0",
3
+ "version": "2.2.1",
4
4
  "description": "A NestJS library for generating PDFs with Puppeteer and Handlebars.",
5
5
  "author": "Emmanuel Boisset",
6
6
  "license": "MIT",
@@ -28,7 +28,8 @@
28
28
  "test": "jest",
29
29
  "test:watch": "jest --watch",
30
30
  "test:cov": "jest --coverage",
31
- "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand"
31
+ "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
32
+ "prepare": "husky"
32
33
  },
33
34
  "keywords": [
34
35
  "nestjs",
@@ -40,6 +41,8 @@
40
41
  "ejs",
41
42
  "mjml",
42
43
  "pug",
44
+ "eta",
45
+ "mustache",
43
46
  "pdf-lib",
44
47
  "pdfjs-dist"
45
48
  ],
@@ -49,12 +52,12 @@
49
52
  "rxjs": "^7.8.0"
50
53
  },
51
54
  "dependencies": {
52
- "@puppeteer/browsers": "^2.13.2",
55
+ "@puppeteer/browsers": "^3.0.4",
53
56
  "deepmerge-ts": "^7.1.5",
54
57
  "p-limit": "^7.3.0",
55
58
  "pdf-lib": "^1.17.1",
56
59
  "pdfjs-dist": "^5.7.284",
57
- "puppeteer": "^24.43.1"
60
+ "puppeteer": "^25.1.0"
58
61
  },
59
62
  "devDependencies": {
60
63
  "@eslint/eslintrc": "^3.3.5",
@@ -70,6 +73,7 @@
70
73
  "@types/jest": "^30.0.0",
71
74
  "@types/mjml": "^5.0.0",
72
75
  "@types/mjml-core": "^5.0.0",
76
+ "@types/mustache": "^4.2.6",
73
77
  "@types/node": "^25.6.2",
74
78
  "@types/nunjucks": "^3.2.6",
75
79
  "@types/pug": "^2.0.10",
@@ -78,6 +82,7 @@
78
82
  "eslint-config-prettier": "^10.1.8",
79
83
  "eslint-plugin-prettier": "^5.5.5",
80
84
  "globals": "^17.6.0",
85
+ "husky": "^9.1.7",
81
86
  "jest": "^30.4.2",
82
87
  "prettier": "^3.8.3",
83
88
  "reflect-metadata": "^0.2.2",
@@ -94,8 +99,10 @@
94
99
  "optionalDependencies": {
95
100
  "@gboutte/nestjs-hbs": "^0.2.0",
96
101
  "@napi-rs/canvas": "^1.0.0",
97
- "ejs": "^5.0.2",
102
+ "ejs": "^6.0.1",
103
+ "eta": "^4.6.0",
98
104
  "mjml": "^5.2.1",
105
+ "mustache": "^4.2.0",
99
106
  "nunjucks": "^3.2.4",
100
107
  "pug": "^3.0.3"
101
108
  },
@@ -125,6 +132,9 @@
125
132
  "transform": {
126
133
  "^.+\\.(t|j)s$": "ts-jest"
127
134
  },
135
+ "transformIgnorePatterns": [
136
+ "/node_modules/\\.pnpm/(?!(puppeteer[@+]|puppeteer-core[@+]|@puppeteer\\+))"
137
+ ],
128
138
  "collectCoverageFrom": [
129
139
  "src/**/*.(t|j)s"
130
140
  ],