@shad0wz7/nestjs-pdf 2.5.5 → 2.5.7

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.5.5",
3
+ "version": "2.5.7",
4
4
  "description": "A NestJS library for generating PDFs with Puppeteer and multiple engines.",
5
5
  "keywords": [
6
6
  "nestjs",
@@ -53,7 +53,7 @@
53
53
  "sort:check": "sort-package-json --check",
54
54
  "test": "jest",
55
55
  "test:cov": "jest --coverage",
56
- "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
56
+ "test:debug": "node --inspect-brk node_modules/jest/bin/jest.js --runInBand",
57
57
  "test:watch": "jest --watch"
58
58
  },
59
59
  "lint-staged": {
@@ -74,9 +74,7 @@
74
74
  "ts"
75
75
  ],
76
76
  "moduleNameMapper": {
77
- "@/(.*)$": "<rootDir>/src/$1",
78
- "^pdfjs-dist/legacy/build/pdf\\.mjs$": "<rootDir>/test/__mocks__/pdfjs-dist.ts",
79
- "^jwks-rsa$": "<rootDir>/test/__mocks__/jwks-rsa.ts"
77
+ "^pdfjs-dist/legacy/build/pdf\\.mjs$": "<rootDir>/test/__mocks__/pdfjs-dist.ts"
80
78
  },
81
79
  "reporters": [
82
80
  "default",
@@ -104,60 +102,55 @@
104
102
  ]
105
103
  },
106
104
  "dependencies": {
107
- "@puppeteer/browsers": "^3.2.2",
105
+ "@puppeteer/browsers": "^3.2.3",
108
106
  "deepmerge-ts": "^8.0.2",
109
- "p-limit": "^7.3.2",
107
+ "p-limit": "^7.3.3",
110
108
  "pdf-lib": "^1.17.1",
111
- "pdfjs-dist": "^6.3.289",
112
- "puppeteer": "^25.10.0"
109
+ "pdfjs-dist": "^6.4.299",
110
+ "puppeteer": "^25.12.0"
113
111
  },
114
112
  "devDependencies": {
115
113
  "@eslint/js": "^10.0.1",
116
- "@nestjs/config": "^4.0.4",
117
- "@nestjs/schematics": "^11.1.0",
118
- "@nestjs/testing": "^11.2.3",
119
- "@swc/core": "^1.16.2",
114
+ "@nestjs/testing": "^11.2.7",
120
115
  "@types/ejs": "^3.1.5",
121
116
  "@types/jest": "^30.0.0",
122
117
  "@types/mjml": "^5.0.0",
123
118
  "@types/mjml-core": "^5.1.0",
124
119
  "@types/mustache": "^4.2.6",
125
- "@types/node": "^26.3.0",
120
+ "@types/node": "^26.6.4",
126
121
  "@types/nunjucks": "^3.2.6",
127
122
  "@types/pug": "^2.0.10",
128
- "eslint": "^10.10.0",
123
+ "eslint": "^10.12.0",
129
124
  "eslint-config-prettier": "^10.1.8",
130
125
  "eslint-plugin-prettier": "^5.5.6",
131
126
  "eslint-plugin-simple-import-sort": "^14.0.0",
132
127
  "eslint-plugin-unused-imports": "^4.4.1",
133
- "globals": "^17.12.0",
128
+ "globals": "^17.13.0",
134
129
  "husky": "^9.1.7",
135
- "jest": "^30.5.1",
130
+ "jest": "^30.5.2",
136
131
  "jest-junit": "^17.0.0",
137
- "knip": "^6.35.1",
138
- "lint-staged": "^17.5.0",
139
- "prettier": "^3.9.6",
132
+ "knip": "^6.39.0",
133
+ "lint-staged": "^17.6.0",
134
+ "prettier": "^3.9.9",
140
135
  "reflect-metadata": "^0.2.2",
141
136
  "sort-package-json": "^4.0.0",
142
- "ts-jest": "^29.4.12",
143
- "ts-node": "^10.9.2",
144
- "tsconfig-paths": "^4.2.0",
137
+ "ts-jest": "^29.4.14",
145
138
  "tsdown": "^0.23.0",
146
139
  "typescript": "^6.0.3",
147
- "typescript-eslint": "^8.70.0"
140
+ "typescript-eslint": "^8.71.0"
148
141
  },
149
142
  "peerDependencies": {
150
- "@nestjs/common": "^11.0.0",
151
- "@nestjs/core": "^11.0.0",
143
+ "@nestjs/common": "^10.0.0 || ^11.0.0",
144
+ "@nestjs/core": "^10.0.0 || ^11.0.0",
152
145
  "rxjs": "^7.8.0"
153
146
  },
154
147
  "optionalDependencies": {
155
148
  "@gboutte/nestjs-hbs": "^0.2.0",
156
- "@napi-rs/canvas": "^1.0.9",
149
+ "@napi-rs/canvas": "^1.0.10",
157
150
  "ejs": "^6.0.1",
158
151
  "eta": "^4.6.0",
159
- "mjml": "^5.4.0",
160
- "mjml-core": "^5.4.0",
152
+ "mjml": "^5.4.1",
153
+ "mjml-core": "^5.4.1",
161
154
  "mustache": "^4.2.0",
162
155
  "nunjucks": "^3.2.4",
163
156
  "pug": "^3.0.4"
@@ -166,12 +159,5 @@
166
159
  "publishConfig": {
167
160
  "access": "public",
168
161
  "registry": "https://registry.npmjs.org/"
169
- },
170
- "inlinedDependencies": {
171
- "@nestjs/config": "4.0.4",
172
- "@types/mjml-core": "5.1.0",
173
- "dotenv": "17.4.1",
174
- "dotenv-expand": "12.0.3",
175
- "lodash": "4.18.1"
176
162
  }
177
163
  }