@mountainpass/problem-document 0.0.48 → 0.0.49

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.
@@ -1,16 +1,20 @@
1
1
  {
2
2
  "exclude": {
3
+ "@commitlint/cli": "Major version upgrade; requires migration to v20 config format",
4
+ "@commitlint/config-conventional": "Major version upgrade; blocked by @commitlint/cli constraint",
3
5
  "@types/jest": "Pinned to jest 27.x; upgrade requires jest 29+ migration",
6
+ "@types/node": "Pinned to ^14; upgrade requires verifying Node.js API compatibility",
4
7
  "cspell": "Major version upgrade; requires compatibility testing with current config",
5
8
  "eslint": "Pinned to ^8; upgrade to 9+ requires flat config migration and plugin compatibility",
6
9
  "eslint-config-prettier": "Major version upgrade; blocked by eslint 8.x constraint",
7
10
  "eslint-import-resolver-node": "Pinned by eslint-plugin-import compatibility",
8
11
  "eslint-import-resolver-typescript": "Major version upgrade; blocked by eslint 8.x constraint",
9
12
  "eslint-plugin-import": "Pinned by eslint 8.x compatibility",
13
+ "eslint-plugin-jsdoc": "Major version upgrade; blocked by eslint 8.x constraint",
14
+ "eslint-plugin-jsonc": "Major version upgrade; blocked by eslint 8.x constraint",
10
15
  "eslint-plugin-no-secrets": "Major version upgrade; blocked by eslint 8.x constraint",
11
16
  "eslint-plugin-prettier": "Major version upgrade; blocked by eslint 8.x constraint",
12
17
  "eslint-plugin-unicorn": "Major version upgrade; blocked by eslint 8.x constraint",
13
- "http-status-codes": "Used only in tests; minor update with no security impact",
14
18
  "husky": "Major version upgrade; requires migration to new config format",
15
19
  "jest": "Pinned to ^27; upgrade requires ts-jest migration",
16
20
  "jest-junit": "Major version upgrade; blocked by jest 27.x constraint",
package/lib/index.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Http Status Codes from https://github.com/prettymuchbryce/http-status-codes/blob/master/src/status-codes.ts under MIT License
3
3
  * If you know how to convert numeric enum values to a union type, please submit a PR.
4
4
  */
5
- declare type StatusCode =
5
+ type StatusCode =
6
6
  /**
7
7
  * ACCEPTED
8
8
  * Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.3.3
@@ -406,7 +406,7 @@ declare type StatusCode =
406
406
  /**
407
407
  * Base class for Problem Documents, which includes the non-extension fields
408
408
  */
409
- export declare type BaseProblemDocumentProperties = {
409
+ export type BaseProblemDocumentProperties = {
410
410
  /**
411
411
  * A URI reference [{@link https://datatracker.ietf.org/doc/html/rfc3986 RFC3986}] that identifies the
412
412
  * problem type. This specification encourages that, when
@@ -444,7 +444,7 @@ export declare type BaseProblemDocumentProperties = {
444
444
  *
445
445
  * Note the use of Omit, this allows auto-completion of the base fields
446
446
  */
447
- export declare type ProblemDocumentProperties = Omit<Record<string, unknown>, keyof BaseProblemDocumentProperties> & BaseProblemDocumentProperties;
447
+ export type ProblemDocumentProperties = Omit<Record<string, unknown>, keyof BaseProblemDocumentProperties> & BaseProblemDocumentProperties;
448
448
  /**
449
449
  *
450
450
  * This class implements RFC7807 "problem detail", a way to carry machine-
package/package.json CHANGED
@@ -63,7 +63,7 @@
63
63
  "publishConfig": {
64
64
  "access": "public"
65
65
  },
66
- "version": "0.0.48",
66
+ "version": "0.0.49",
67
67
  "bugs": {
68
68
  "url": "https://github.com/mountain-pass/problem-document/issues"
69
69
  },