Skip to content

Commit

Permalink
fix: relax deps
Browse files Browse the repository at this point in the history
  • Loading branch information
P0lip committed Jul 9, 2021
1 parent fc10dbc commit ca55521
Show file tree
Hide file tree
Showing 10 changed files with 56 additions and 64 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@typescript-eslint/no-throw-literal": "error",
"@typescript-eslint/ban-types": "warn",

"import/no-extraneous-dependencies": ["error", { "devDependencies": ["**/*.{test,spec}.ts", "**/__helpers__/tester.ts"] }]
"import/no-extraneous-dependencies": ["error", { "devDependencies": ["**/*.{test,spec}.ts", "**/__tests__/__helpers__/*.ts"] }]
}
},

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
"@types/jest-when": "^2.7.3",
"@types/karma": "^6.3.0",
"@types/lodash": "^4.14.167",
"@types/nanoid": "^2.1.0",
"@types/node": "^15.12.4",
"@types/node-fetch": "^2.5.10",
"@types/text-table": "^0.2.2",
Expand All @@ -94,6 +93,7 @@
"karma-typescript": "^5.5.1",
"karma-typescript-es6-transform": "^5.2.0",
"lint-staged": "^11.0.0",
"nanoid": "^3.1.23",
"memfs": "^3.2.2",
"prettier": "^2.3.2",
"semantic-release": "^17.4.4",
Expand Down
8 changes: 4 additions & 4 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@
"@stoplight/json": "3.15.0",
"@stoplight/path": "1.3.2",
"@stoplight/spectral-core": "^1.1.0",
"@stoplight/spectral-parsers": "^0.0.0",
"@stoplight/spectral-ref-resolver": "^0.0.0",
"@stoplight/spectral-ruleset-migrator": "^0.0.0",
"@stoplight/spectral-parsers": "^1.0.0",
"@stoplight/spectral-ref-resolver": "*",
"@stoplight/spectral-ruleset-migrator": "^1.1.0",
"@stoplight/spectral-rulesets": "*",
"@stoplight/spectral-runtime": "^0.0.0",
"@stoplight/spectral-runtime": "*",
"@stoplight/types": "12.3.0",
"chalk": "4.1.1",
"cliui": "7.0.4",
Expand Down
23 changes: 11 additions & 12 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,34 +26,33 @@
"@stoplight/json": "3.15.0",
"@stoplight/lifecycle": "2.3.2",
"@stoplight/path": "1.3.2",
"@stoplight/spectral-parsers": "^0.0.0",
"@stoplight/spectral-ref-resolver": "^0.0.0",
"@stoplight/spectral-runtime": "^0.0.0",
"@stoplight/spectral-parsers": "^1.0.0",
"@stoplight/spectral-ref-resolver": "*",
"@stoplight/spectral-runtime": "*",
"@stoplight/types": "12.3.0",
"ajv": "~8.6.0",
"ajv-errors": "~3.0.0",
"ajv-formats": "~2.1.0",
"blueimp-md5": "2.18.0",
"expression-eval": "4.0.0",
"json-schema": "^0.3.0",
"jsonpath-plus": "^5.0.7",
"json-schema": "0.3.0",
"jsonpath-plus": "5.0.7",
"lodash": "~4.17.21",
"minimatch": "^3.0.4",
"nanoid": "2.1.11",
"minimatch": "3.0.4",
"nimma": "0.0.0",
"treeify": "^1.1.0",
"tslib": "~2.3.0"
},
"devDependencies": {
"@stoplight/spectral-formats": "^0.0.0",
"@stoplight/spectral-functions": "^1.0.0",
"@stoplight/spectral-parsers": "^0.0.0",
"@stoplight/spectral-formats": "*",
"@stoplight/spectral-functions": "*",
"@stoplight/spectral-parsers": "*",
"@stoplight/yaml": "^4.2.2",
"@types/json-schema": "^7.0.7",
"@types/minimatch": "^3.0.5",
"@types/treeify": "^1.0.0",
"esm": "^3.2.25",
"nock": "^13.1.0",
"recast": "^0.20.4"
"recast": "^0.20.4",
"treeify": "^1.1.0"
}
}
16 changes: 8 additions & 8 deletions packages/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@
"@stoplight/better-ajv-errors": "0.2.0",
"@stoplight/json": "3.15.0",
"@stoplight/spectral-core": "^1.1.0",
"@stoplight/spectral-formats": "^0.0.0",
"@stoplight/spectral-runtime": "^0.0.0",
"@stoplight/spectral-formats": "^1.0.0",
"@stoplight/spectral-runtime": "*",
"@stoplight/types": "12.3.0",
"ajv": "8.6.0",
"ajv-errors": "3.0.0",
"ajv-formats": "2.1.0",
"json-schema-migrate": "2.0.0",
"json-schema-traverse": "1.0.0",
"ajv": "~8.6.0",
"ajv-errors": "~3.0.0",
"ajv-formats": "~2.1.0",
"json-schema-migrate": "~2.0.0",
"json-schema-traverse": "~1.0.0",
"lodash": "~4.17.21",
"tslib": "^2.3.0"
},
"devDependencies": {
"@stoplight/spectral-parsers": "^0.0.0"
"@stoplight/spectral-parsers": "*"
}
}
2 changes: 1 addition & 1 deletion packages/ref-resolver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"dependencies": {
"@stoplight/json-ref-readers": "1.2.2",
"@stoplight/json-ref-resolver": "3.1.2",
"@stoplight/spectral-runtime": "^0.0.0",
"@stoplight/spectral-runtime": "*",
"dependency-graph": "0.11.0"
}
}
2 changes: 1 addition & 1 deletion packages/ruleset-migrator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@stoplight/ordered-object-literal": "^1.0.2",
"@stoplight/path": "1.3.2",
"@stoplight/spectral-functions": "^1.0.0",
"@stoplight/spectral-runtime": "^0.0.0",
"@stoplight/spectral-runtime": "*",
"@stoplight/types": "12.3.0",
"@stoplight/yaml": "4.2.2",
"@types/node": "*",
Expand Down
6 changes: 3 additions & 3 deletions packages/rulesets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@stoplight/better-ajv-errors": "0.2.0",
"@stoplight/json": "3.15.0",
"@stoplight/spectral-core": "^1.1.0",
"@stoplight/spectral-formats": "^0.0.0",
"@stoplight/spectral-formats": "^1.0.0",
"@stoplight/spectral-functions": "^1.0.0",
"@stoplight/types": "^12.3.0",
"@types/json-schema": "^7.0.7",
Expand All @@ -33,8 +33,8 @@
},
"devDependencies": {
"@stoplight/path": "^1.3.2",
"@stoplight/spectral-parsers": "^0.0.0",
"@stoplight/spectral-ref-resolver": "^0.0.0",
"@stoplight/spectral-parsers": "*",
"@stoplight/spectral-ref-resolver": "*",
"immer": "^9.0.5"
}
}
2 changes: 1 addition & 1 deletion test-harness/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import * as fg from 'fast-glob';
import { escapeRegExp } from 'lodash';
import * as fs from 'fs';
import * as tmp from 'tmp';
import { nanoid } from 'nanoid/non-secure';
import { applyReplacements, normalizeLineEndings, parseScenarioFile, tmpFile } from './helpers';
import { spawnNode } from './spawn';
import nanoid = require('nanoid/non-secure');

const spectralBin = path.join(__dirname, '../packages/cli/binaries/spectral');
const cwd = path.join(__dirname, './scenarios');
Expand Down
57 changes: 25 additions & 32 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2098,13 +2098,6 @@
resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.1.tgz#283f669ff76d7b8260df8ab7a4262cc83d988256"
integrity sha512-fZQQafSREFyuZcdWFAExYjBiCL7AUCdgsk80iO0q4yihYYdcIiH28CcuPTGFgLOCC8RlW49GSQxdHwZP+I7CNg==

"@types/nanoid@^2.1.0":
version "2.1.0"
resolved "https://registry.yarnpkg.com/@types/nanoid/-/nanoid-2.1.0.tgz#41edfda78986e9127d0dc14de982de766f994020"
integrity sha512-xdkn/oRTA0GSNPLIKZgHWqDTWZsVrieKomxJBOQUK9YDD+zfSgmwD5t4WJYra5S7XyhTw7tfvwznW+pFexaepQ==
dependencies:
"@types/node" "*"

"@types/node-fetch@^2.5.10":
version "2.5.10"
resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.5.10.tgz#9b4d4a0425562f9fcea70b12cb3fcdd946ca8132"
Expand Down Expand Up @@ -2373,28 +2366,18 @@ aggregate-error@^3.0.0:
clean-stack "^2.0.0"
indent-string "^4.0.0"

ajv-errors@3.0.0, ajv-errors@~3.0.0:
ajv-errors@~3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/ajv-errors/-/ajv-errors-3.0.0.tgz#e54f299f3a3d30fe144161e5f0d8d51196c527bc"
integrity sha512-V3wD15YHfHz6y0KdhYFjyy9vWtEVALT9UrxfN3zqlI6dMioHnJrqOYfyPKol3oqrnCM9uwkcdCwkJ0WUcbLMTQ==

ajv-formats@2.1.0, ajv-formats@~2.1.0:
ajv-formats@~2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/ajv-formats/-/ajv-formats-2.1.0.tgz#96eaf83e38d32108b66d82a9cb0cfa24886cdfeb"
integrity sha512-USH2jBb+C/hIpwD2iRjp0pe0k+MvzG0mlSn/FIdCgQhUb9ALPRjt2KIQdfZDS9r0ZIeUAg7gOu9KL0PFqGqr5Q==
dependencies:
ajv "^8.0.0"

ajv@8.6.0, ajv@^8.6.0, ajv@~8.6.0:
version "8.6.0"
resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.6.0.tgz#60cc45d9c46a477d80d92c48076d972c342e5720"
integrity sha512-cnUG4NSBiM4YFBxgZIj/In3/6KX+rQ2l2YPRVcvAMQGWEPKuXoPIhxzwqh31jA3IPbI4qEOp/5ILI4ynioXsGQ==
dependencies:
fast-deep-equal "^3.1.1"
json-schema-traverse "^1.0.0"
require-from-string "^2.0.2"
uri-js "^4.2.2"

ajv@^6.10.0, ajv@^6.12.3, ajv@^6.12.4:
version "6.12.6"
resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4"
Expand All @@ -2415,6 +2398,16 @@ ajv@^8.0.0, ajv@^8.0.1:
require-from-string "^2.0.2"
uri-js "^4.2.2"

ajv@^8.6.0, ajv@~8.6.0:
version "8.6.0"
resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.6.0.tgz#60cc45d9c46a477d80d92c48076d972c342e5720"
integrity sha512-cnUG4NSBiM4YFBxgZIj/In3/6KX+rQ2l2YPRVcvAMQGWEPKuXoPIhxzwqh31jA3IPbI4qEOp/5ILI4ynioXsGQ==
dependencies:
fast-deep-equal "^3.1.1"
json-schema-traverse "^1.0.0"
require-from-string "^2.0.2"
uri-js "^4.2.2"

ansi-colors@^4.1.1:
version "4.1.1"
resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.1.tgz#cbb9ae256bf750af1eab344f229aa27fe94ba348"
Expand Down Expand Up @@ -6579,7 +6572,7 @@ json-parse-even-better-errors@^2.3.0, json-parse-even-better-errors@^2.3.1:
resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d"
integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==

json-schema-migrate@2.0.0:
json-schema-migrate@~2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/json-schema-migrate/-/json-schema-migrate-2.0.0.tgz#335ef5218cd32fcc96c1ddce66c71ba586224496"
integrity sha512-r38SVTtojDRp4eD6WsCqiE0eNDt4v1WalBXb9cyZYw9ai5cGtBwzRNWjHzJl38w6TxFkXAIA7h+fyX3tnrAFhQ==
Expand Down Expand Up @@ -6614,22 +6607,22 @@ json-schema-to-typescript@^10.1.4:
mz "^2.7.0"
prettier "^2.2.0"

json-schema-traverse@1.0.0, json-schema-traverse@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz#ae7bcb3656ab77a73ba5c49bf654f38e6b6860e2"
integrity sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==

json-schema-traverse@^0.4.1:
version "0.4.1"
resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660"
integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==

json-schema-traverse@^1.0.0, json-schema-traverse@~1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz#ae7bcb3656ab77a73ba5c49bf654f38e6b6860e2"
integrity sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==

json-schema@0.2.3:
version "0.2.3"
resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13"
integrity sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=

json-schema@^0.3.0:
json-schema@0.3.0, json-schema@^0.3.0:
version "0.3.0"
resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.3.0.tgz#90a9c5054bd065422c00241851ce8d59475b701b"
integrity sha512-TYfxx36xfl52Rf1LU9HyWSLGPdYLL+SQ8/E/0yVyKG8wCCDaSrhPap0vEdlsZWRaS6tnKKLPGiEJGiREVC8kxQ==
Expand Down Expand Up @@ -6689,7 +6682,7 @@ jsonparse@^1.2.0, jsonparse@^1.3.1:
resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280"
integrity sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=

jsonpath-plus@^5.0.7:
jsonpath-plus@5.0.7:
version "5.0.7"
resolved "https://registry.yarnpkg.com/jsonpath-plus/-/jsonpath-plus-5.0.7.tgz#95fb437ebb69c67595208711a69c95735cbff45b"
integrity sha512-7TS6wsiw1s2UMK/A6nA4n0aUJuirCVhJ87nWX5je5MPOl0z5VTr2qs7nMP8NZ2ed3rlt6kePTqddgVPE9F0i0w==
Expand Down Expand Up @@ -7448,7 +7441,7 @@ minimalistic-crypto-utils@^1.0.1:
resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a"
integrity sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=

"minimatch@2 || 3", minimatch@^3.0.3, minimatch@^3.0.4:
"minimatch@2 || 3", minimatch@3.0.4, minimatch@^3.0.3, minimatch@^3.0.4:
version "3.0.4"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==
Expand Down Expand Up @@ -7631,10 +7624,10 @@ nan@^2.14.0:
resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c"
integrity sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==

nanoid@2.1.11:
version "2.1.11"
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-2.1.11.tgz#ec24b8a758d591561531b4176a01e3ab4f0f0280"
integrity sha512-s/snB+WGm6uwi0WjsZdaVcuf3KJXlfGl2LcxgwkEwJF0D/BWzVWAZW/XY4bFaiR7s0Jk3FPvlnepg1H1b1UwlA==
nanoid@^3.1.23:
version "3.1.23"
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.23.tgz#f744086ce7c2bc47ee0a8472574d5c78e4183a81"
integrity sha512-FiB0kzdP0FFVGDKlRLEQ1BgDzU87dy5NnzjeW9YZNt+/c3+q82EQDUwniSAUxp/F0gFNI1ZhKU1FqYsMuqZVnw==

nanomatch@^1.2.9:
version "1.2.13"
Expand Down

0 comments on commit ca55521

Please sign in to comment.