From c4074fa24438079e659061ee32d08464a688c17c Mon Sep 17 00:00:00 2001 From: SB-rohitdesai <165134671+SB-rohitdesai@users.noreply.github.com> Date: Fri, 2 Aug 2024 16:31:04 +0530 Subject: [PATCH] fix: version update and bundled_issue changes (#2577) --- packages/cli/package.json | 6 +++--- packages/http-server/package.json | 2 +- packages/http/package.json | 4 ++-- packages/http/src/mocker/index.ts | 2 +- yarn.lock | 12 ++++++++++++ 5 files changed, 19 insertions(+), 7 deletions(-) diff --git a/packages/cli/package.json b/packages/cli/package.json index e57fb8ee1..34164fa79 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,16 +1,16 @@ { "name": "@stoplight/prism-cli", - "version": "5.8.3", + "version": "5.8.4", "author": "Stoplight ", "bin": { "prism": "./dist/index.js" }, "bugs": "https://github.com/stoplightio/prism/issues", "dependencies": { - "@stoplight/json": "^3.18.1", + "@stoplight/json": "3.21.6", "@stoplight/json-schema-ref-parser": "9.2.7", "@stoplight/prism-core": "^5.8.0", - "@stoplight/prism-http": "^5.8.3", + "@stoplight/prism-http": "5.8.4", "@stoplight/prism-http-server": "^5.8.3", "@stoplight/types": "^14.1.0", "chalk": "^4.1.2", diff --git a/packages/http-server/package.json b/packages/http-server/package.json index efc677fc2..c515280cf 100644 --- a/packages/http-server/package.json +++ b/packages/http-server/package.json @@ -20,7 +20,7 @@ }, "dependencies": { "@stoplight/prism-core": "^5.8.0", - "@stoplight/prism-http": "^5.8.3", + "@stoplight/prism-http": "^5.8.4", "@stoplight/types": "^14.1.0", "fast-xml-parser": "^4.2.0", "fp-ts": "^2.11.5", diff --git a/packages/http/package.json b/packages/http/package.json index a9042cb95..11e018f12 100644 --- a/packages/http/package.json +++ b/packages/http/package.json @@ -1,6 +1,6 @@ { "name": "@stoplight/prism-http", - "version": "5.8.3", + "version": "5.8.4", "main": "dist/index.js", "types": "dist/index.d.ts", "author": "Stoplight ", @@ -17,7 +17,7 @@ }, "dependencies": { "@faker-js/faker": "^6.0.0", - "@stoplight/json": "^3.18.1", + "@stoplight/json": "3.21.6", "@stoplight/json-schema-merge-allof": "0.7.8", "@stoplight/json-schema-sampler": "0.3.0", "@stoplight/prism-core": "^5.8.0", diff --git a/packages/http/src/mocker/index.ts b/packages/http/src/mocker/index.ts index ff24e2a3f..5093f89ca 100644 --- a/packages/http/src/mocker/index.ts +++ b/packages/http/src/mocker/index.ts @@ -58,7 +58,7 @@ const mock: IPrismComponents { const payloadGenerator: PayloadGenerator = config.dynamic - ? partial(generate, resource, resource['__bundle__']) + ? partial(generate, resource, resource['__bundled__']) : partial(generateStatic, resource); return pipe( diff --git a/yarn.lock b/yarn.lock index 74f2482f3..ee6aed175 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1165,6 +1165,18 @@ "@types/json-schema" "^7.0.7" json-pointer "^0.6.1" +"@stoplight/json@3.21.6": + version "3.21.6" + resolved "https://registry.yarnpkg.com/@stoplight/json/-/json-3.21.6.tgz#0053ece24d6b19f372b11591f249ede48514ed5b" + integrity sha512-KGisXfNigoYdWIj1jA4p3IAAIW5YFpU9BdoECdjyDLBbhWGGHzs77e0STSCBmXQ/K3ApxfED2R7mQ79ymjzlvQ== + dependencies: + "@stoplight/ordered-object-literal" "^1.0.3" + "@stoplight/path" "^1.3.2" + "@stoplight/types" "^13.6.0" + jsonc-parser "~2.2.1" + lodash "^4.17.21" + safe-stable-stringify "^1.1" + "@stoplight/json@^3.18.1": version "3.21.0" resolved "https://registry.npmjs.org/@stoplight/json/-/json-3.21.0.tgz"