Skip to content

Commit

Permalink
fix: fixed #1860 performance regression
Browse files Browse the repository at this point in the history
  • Loading branch information
Łukasz Kużyński committed Aug 19, 2021
1 parent 0a76691 commit fe6345d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"bugs": "https://github.com/stoplightio/prism/issues",
"dependencies": {
"@stoplight/http-spec": "^4.2.0",
"@stoplight/json": "^3.13.7",
"@stoplight/json": "^3.17.0",
"@stoplight/json-schema-ref-parser": "9.2.1",
"@stoplight/prism-core": "^4.3.1",
"@stoplight/prism-http": "^4.3.1",
Expand Down
1 change: 1 addition & 0 deletions packages/cli/src/operations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export async function getHttpOperationsFromSpec(specFilePathOrObject: string | o
__target__: op,
},
path: '#/__target__',
cloneDocument: false,
});
});

Expand Down
16 changes: 16 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1353,11 +1353,27 @@
lodash "^4.17.15"
safe-stable-stringify "^1.1"

"@stoplight/json@^3.17.0":
version "3.17.0"
resolved "https://registry.yarnpkg.com/@stoplight/json/-/json-3.17.0.tgz#9d864b63b9c6398c7cecae1340225b15953cac74"
integrity sha512-WW0z2bb0D4t8FTl+zNTCu46J8lEOsrUhBPgwEYQ3Ri2Y0MiRE4U1/9ZV8Ki+pIJznZgY9i42bbFwOBxyZn5/6w==
dependencies:
"@stoplight/ordered-object-literal" "^1.0.2"
"@stoplight/types" "^12.3.0"
jsonc-parser "~2.2.1"
lodash "^4.17.21"
safe-stable-stringify "^1.1"

"@stoplight/ordered-object-literal@^1.0.1":
version "1.0.1"
resolved "https://registry.yarnpkg.com/@stoplight/ordered-object-literal/-/ordered-object-literal-1.0.1.tgz#01ece81ba5dda199ca3dc5ec7464691efa5d5b76"
integrity sha512-kDcBIKwzAXZTkgzaiPXH2I0JXavBkOb3jFzYNFS5cBuvZS3s/K+knpk2wLVt0n8XrnRQsSffzN6XG9HqUhfq6Q==

"@stoplight/ordered-object-literal@^1.0.2":
version "1.0.2"
resolved "https://registry.yarnpkg.com/@stoplight/ordered-object-literal/-/ordered-object-literal-1.0.2.tgz#2a88a5ebc8b68b54837ac9a9ae7b779cdd862062"
integrity sha512-0ZMS/9sNU3kVo/6RF3eAv7MK9DY8WLjiVJB/tVyfF2lhr2R4kqh534jZ0PlrFB9CRXrdndzn1DbX6ihKZXft2w==

"@stoplight/path@^1.3.2":
version "1.3.2"
resolved "https://registry.yarnpkg.com/@stoplight/path/-/path-1.3.2.tgz#96e591496b72fde0f0cdae01a61d64f065bd9ede"
Expand Down

0 comments on commit fe6345d

Please sign in to comment.