Skip to content

Commit

Permalink
fix: reverted changes and bump the JSON version (#2598)
Browse files Browse the repository at this point in the history
  • Loading branch information
SB-rohitdesai authored Sep 12, 2024
1 parent 0d12d25 commit 4acb898
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"bugs": "https://github.com/stoplightio/prism/issues",
"dependencies": {
"@stoplight/json": "3.21.6",
"@stoplight/json": "3.21.7",
"@stoplight/json-schema-ref-parser": "9.2.7",
"@stoplight/prism-core": "^5.8.0",
"@stoplight/prism-http": "5.9.0",
Expand All @@ -16,7 +16,7 @@
"chalk": "^4.1.2",
"chokidar": "^3.5.2",
"fp-ts": "^2.11.5",
"json-schema-faker": "0.5.3",
"json-schema-faker": "0.5.6",
"lodash": "^4.17.21",
"node-fetch": "^2.6.5",
"pino": "^6.13.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"dependencies": {
"@faker-js/faker": "^6.0.0",
"@stoplight/json": "3.21.6",
"@stoplight/json": "3.21.7",
"@stoplight/json-schema-merge-allof": "0.7.8",
"@stoplight/json-schema-sampler": "0.3.0",
"@stoplight/prism-core": "^5.8.0",
Expand All @@ -35,7 +35,7 @@
"fp-ts": "^2.11.5",
"http-proxy-agent": "^5.0.0",
"https-proxy-agent": "^5.0.0",
"json-schema-faker": "0.5.3",
"json-schema-faker": "0.5.6",
"lodash": "^4.17.21",
"node-fetch": "^2.6.5",
"parse-multipart-data": "^1.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/http/src/mocker/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const mock: IPrismComponents<IHttpOperation, IHttpRequest, IHttpResponse, IHttpM
config,
}) => {
const payloadGenerator: PayloadGenerator = config.dynamic
? partial(generate, resource, resource['__bundled__'])
? partial(generate, resource, resource['__bundle__'])
: partial(generateStatic, resource);

return pipe(
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1165,10 +1165,10 @@
"@types/json-schema" "^7.0.7"
json-pointer "^0.6.1"

"@stoplight/[email protected].6":
version "3.21.6"
resolved "https://registry.yarnpkg.com/@stoplight/json/-/json-3.21.6.tgz#0053ece24d6b19f372b11591f249ede48514ed5b"
integrity sha512-KGisXfNigoYdWIj1jA4p3IAAIW5YFpU9BdoECdjyDLBbhWGGHzs77e0STSCBmXQ/K3ApxfED2R7mQ79ymjzlvQ==
"@stoplight/[email protected].7":
version "3.21.7"
resolved "https://registry.yarnpkg.com/@stoplight/json/-/json-3.21.7.tgz#102f5fd11921984c96672ce4307850daa1cbfc7b"
integrity sha512-xcJXgKFqv/uCEgtGlPxy3tPA+4I+ZI4vAuMJ885+ThkTHFVkC+0Fm58lA9NlsyjnkpxFh4YiQWpH+KefHdbA0A==
dependencies:
"@stoplight/ordered-object-literal" "^1.0.3"
"@stoplight/path" "^1.3.2"
Expand Down Expand Up @@ -4707,10 +4707,10 @@ json-schema-compare@^0.2.2:
dependencies:
lodash "^4.17.4"

[email protected].3:
version "0.5.3"
resolved "https://registry.npmjs.org/json-schema-faker/-/json-schema-faker-0.5.3.tgz"
integrity sha512-BeIrR0+YSrTbAR9dOMnjbFl1MvHyXnq+Wpdw1FpWZDHWKLzK229hZ5huyPcmzFUfVq1ODwf40WdGVoE266UBUg==
[email protected].6:
version "0.5.6"
resolved "https://registry.yarnpkg.com/json-schema-faker/-/json-schema-faker-0.5.6.tgz#731e5a8616bf2b4b53206a6ae18578a5fccc43a5"
integrity sha512-u/cFC26/GDxh2vPiAC8B8xVvpXAW+QYtG2mijEbKrimCk8IHtiwQBjCE8TwvowdhALWq9IcdIWZ+/8ocXvdL3Q==
dependencies:
json-schema-ref-parser "^6.1.0"
jsonpath-plus "^7.2.0"
Expand Down

0 comments on commit 4acb898

Please sign in to comment.