diff --git a/packages/cli/package.json b/packages/cli/package.json index d317b6660..b1ef60694 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -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", @@ -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", diff --git a/packages/http/package.json b/packages/http/package.json index 09b6d6db8..17476ceb8 100644 --- a/packages/http/package.json +++ b/packages/http/package.json @@ -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", @@ -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", diff --git a/packages/http/src/mocker/index.ts b/packages/http/src/mocker/index.ts index 5093f89ca..ff24e2a3f 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['__bundled__']) + ? partial(generate, resource, resource['__bundle__']) : partial(generateStatic, resource); return pipe( diff --git a/yarn.lock b/yarn.lock index ee6aed175..e3715311e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1165,10 +1165,10 @@ "@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== +"@stoplight/json@3.21.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" @@ -4707,10 +4707,10 @@ json-schema-compare@^0.2.2: dependencies: lodash "^4.17.4" -json-schema-faker@0.5.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== +json-schema-faker@0.5.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"