@tstdl/base 0.83.26 → 0.83.27

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/.eslintrc.json CHANGED
@@ -26,6 +26,7 @@
26
26
  "rules": {
27
27
  /** angular */
28
28
  "@angular-eslint/template/eqeqeq": "off",
29
+ "@angular-eslint/no-host-metadata-property": ["error", { "allowStatic": true }],
29
30
 
30
31
  /** typescript */
31
32
  "@typescript-eslint/brace-style": ["error", "stroustrup", { "allowSingleLine": true }],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tstdl/base",
3
- "version": "0.83.26",
3
+ "version": "0.83.27",
4
4
  "author": "Patrick Hein",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -60,9 +60,9 @@
60
60
  "nodemailer": "^6.9",
61
61
  "preact": "^10.13",
62
62
  "preact-render-to-string": "^6.0",
63
- "puppeteer": "^19.10",
63
+ "puppeteer": "^19.11",
64
64
  "undici": "^5.22",
65
- "urlpattern-polyfill": "^7.0"
65
+ "urlpattern-polyfill": "^8.0"
66
66
  },
67
67
  "peerDependenciesMeta": {
68
68
  "@tstdl/angular": {
@@ -60,7 +60,6 @@ export declare class PdfService implements AsyncDisposable, AfterResolve, Inject
60
60
  private readonly templateService;
61
61
  private readonly logger;
62
62
  private readonly pool;
63
- private readonly options;
64
63
  readonly [resolveArgumentType]: PdfServiceArgument;
65
64
  constructor(templateService: TemplateService, logger: Logger, options?: PdfServiceOptions);
66
65
  [afterResolve](): void;
@@ -192,11 +192,9 @@ let PdfService = class PdfService2 {
192
192
  templateService;
193
193
  logger;
194
194
  pool;
195
- options;
196
195
  constructor(templateService, logger, options = {}) {
197
196
  this.templateService = templateService;
198
197
  this.logger = logger;
199
- this.options = options;
200
198
  const args = ["--font-render-hinting=none", "--disable-web-security", "--disable-features=IsolateOrigins", "--disable-site-isolation-trials"];
201
199
  const env = {};
202
200
  if ((0, import_type_guards.isDefined)(options.language)) {
@@ -47,7 +47,10 @@ function getPropertyNameProxy(options = {}) {
47
47
  if (property == cast) {
48
48
  return () => proxy;
49
49
  }
50
- (0, import_type_guards.assertString)(property, `property must be a string, but was ${property.toString()}`);
50
+ if (property == "toString") {
51
+ return () => prefix;
52
+ }
53
+ (0, import_type_guards.assertString)(property, `Invalid property access on PropertyNameProxy. Property must be a string, but was "${property.toString()}".`);
51
54
  const ignore = flat && /\d+/u.test(property);
52
55
  if (ignore) {
53
56
  return proxy;