@rvoh/psychic 0.28.4 → 0.28.6

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.
@@ -605,7 +605,7 @@ class OpenapiEndpointRenderer {
605
605
  }
606
606
  Object.keys(this.responses || {}).forEach(statusCode => {
607
607
  const statusCodeInt = parseInt(statusCode);
608
- const response = this.responses[statusCodeInt];
608
+ const response = (0, lodash_es_1.cloneDeep)(this.responses[statusCodeInt]);
609
609
  responseData[statusCodeInt] ||= { description: statusDescription(statusCodeInt) };
610
610
  const statusResponse = responseData[statusCodeInt];
611
611
  statusResponse.content = {
@@ -599,7 +599,7 @@ export default class OpenapiEndpointRenderer {
599
599
  }
600
600
  Object.keys(this.responses || {}).forEach(statusCode => {
601
601
  const statusCodeInt = parseInt(statusCode);
602
- const response = this.responses[statusCodeInt];
602
+ const response = cloneDeep(this.responses[statusCodeInt]);
603
603
  responseData[statusCodeInt] ||= { description: statusDescription(statusCodeInt) };
604
604
  const statusResponse = responseData[statusCodeInt];
605
605
  statusResponse.content = {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "type": "module",
3
3
  "name": "@rvoh/psychic",
4
4
  "description": "Typescript web framework",
5
- "version": "0.28.4",
5
+ "version": "0.28.6",
6
6
  "author": "RVOHealth",
7
7
  "repository": {
8
8
  "type": "git",
@@ -41,15 +41,12 @@
41
41
  "dependencies": {
42
42
  "@types/cookie-parser": "^1.4.8",
43
43
  "@types/cors": "^2.8.17",
44
- "@types/lodash.groupby": "^4.6.9",
45
44
  "commander": "^12.1.0",
46
45
  "cookie-parser": "^1.4.7",
47
46
  "cors": "^2.8.5",
48
47
  "dotenv": "^16.4.5",
49
48
  "express-openapi-validator": "^5.4.3",
50
49
  "lodash-es": "^4.17.21",
51
- "lodash.clonedeep": "^4.5.0",
52
- "lodash.groupby": "^4.6.0",
53
50
  "pluralize-esm": "^9.0.5",
54
51
  "yoctocolors": "^2.1.1"
55
52
  },
@@ -62,13 +59,11 @@
62
59
  "devDependencies": {
63
60
  "@eslint/js": "^9.19.0",
64
61
  "@jest-mock/express": "^3.0.0",
65
- "@rvoh/dream": "^0.35.3",
62
+ "@rvoh/dream": "^0.35.5",
66
63
  "@rvoh/dream-spec-helpers": "^0.2.4",
67
64
  "@rvoh/psychic-spec-helpers": "^0.4.3",
68
65
  "@types/express": "^5.0.1",
69
66
  "@types/lodash-es": "^4",
70
- "@types/lodash.clonedeep": "^4.5.9",
71
- "@types/lodash.sortby": "^4.7.9",
72
67
  "@types/node": "^22.5.1",
73
68
  "@types/pg": "^8.11.8",
74
69
  "@types/supertest": "^6.0.3",
@@ -77,7 +72,6 @@
77
72
  "jsdom": "^26.0.0",
78
73
  "kysely": "^0.27.4",
79
74
  "kysely-codegen": "~0.17.0",
80
- "lodash.sortby": "^4.7.0",
81
75
  "luxon-jest-matchers": "^0.1.14",
82
76
  "pg": "^8.12.0",
83
77
  "prettier": "^3.3.3",
@@ -92,4 +86,4 @@
92
86
  "winston": "^3.14.2"
93
87
  },
94
88
  "packageManager": "yarn@4.7.0"
95
- }
89
+ }