Skip to content

Commit

Permalink
fix: update ReadMe to include AsyncAPI v3 (#251) and update spectral …
Browse files Browse the repository at this point in the history
…core dependencies

* chore(deps): bump spectral dependencies

* chore(docs): update ReadMe to include AsyncAPI v3

* fix(deps): bump spectral-core
  • Loading branch information
frankkilcommins authored Nov 20, 2024
1 parent 95a6943 commit 2540a58
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 35 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The Spectral VS Code Extension brings the power of [Spectral](https://stoplight.io/open-source/spectral?utm_source=github.com&utm_medium=referral&utm_campaign=github_repo_vs_code_spectral) to your favorite editor.

Spectral is a flexible object linter with out of the box support for [OpenAPI](https://openapis.org/) v2 and v3, [Arazzo](https://www.openapis.org/arazzo), [JSON Schema](https://json-schema.org/), and [AsyncAPI](https://www.asyncapi.com/).
Spectral is a flexible object linter with out of the box support for [OpenAPI](https://openapis.org/) v2 and v3, [Arazzo](https://www.openapis.org/arazzo), [JSON Schema](https://json-schema.org/), and [AsyncAPI](https://www.asyncapi.com/) v2 and v3.

## Features

Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@
"webpack": "^5.72.0",
"webpack-cli": "^4.9.2"
},
"resolutions": {
"@stoplight/spectral-core": "^1.19.4"
},
"displayName": "Spectral",
"engines": {
"vscode": "^1.48.0",
Expand Down
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"author": "Stoplight <support@stoplight.io>",
"dependencies": {
"@stoplight/path": "^1.3.2",
"@stoplight/spectral-core": "^1.19.1",
"@stoplight/spectral-core": "^1.19.4",
"@stoplight/spectral-ruleset-bundler": "^1.6.0",
"@stoplight/spectral-ruleset-migrator": "^1.10.0",
"@stoplight/spectral-rulesets": "^1.20.2",
Expand Down
85 changes: 52 additions & 33 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,21 @@
"@jridgewell/resolve-uri" "^3.0.3"
"@jridgewell/sourcemap-codec" "^1.4.10"

"@jsep-plugin/assignment@^1.3.0":
version "1.3.0"
resolved "https://registry.yarnpkg.com/@jsep-plugin/assignment/-/assignment-1.3.0.tgz#fcfc5417a04933f7ceee786e8ab498aa3ce2b242"
integrity sha512-VVgV+CXrhbMI3aSusQyclHkenWSAm95WaiKrMxRFam3JSUiIaQjoMIw2sEs/OX4XifnqeQUN4DYbJjlA8EfktQ==

"@jsep-plugin/regex@^1.0.1":
version "1.0.3"
resolved "https://registry.npmjs.org/@jsep-plugin/regex/-/regex-1.0.3.tgz"
integrity sha512-XfZgry4DwEZvSFtS/6Y+R48D7qJYJK6R9/yJFyUFHCIUMEEHuJ4X95TDgJp5QkmzfLYvapMPzskV5HpIDrREug==

"@jsep-plugin/regex@^1.0.4":
version "1.0.4"
resolved "https://registry.yarnpkg.com/@jsep-plugin/regex/-/regex-1.0.4.tgz#cb2fc423220fa71c609323b9ba7f7d344a755fcc"
integrity sha512-q7qL4Mgjs1vByCaTnDFcBnV9HS7GVPJX5vyVoCgZHNSC9rjwIlmbXG5sUuorR5ndfHAIlJ8pVStxvjXHbNvtUg==

"@jsep-plugin/ternary@^1.0.2":
version "1.1.3"
resolved "https://registry.npmjs.org/@jsep-plugin/ternary/-/ternary-1.1.3.tgz"
Expand Down Expand Up @@ -234,32 +244,32 @@
resolved "https://registry.npmjs.org/@stoplight/path/-/path-1.3.2.tgz"
integrity sha512-lyIc6JUlUA8Ve5ELywPC8I2Sdnh1zc1zmbYgVarhXIp9YeAB0ReeqmGEOWNtlHkbP2DAA1AL65Wfn2ncjK/jtQ==

"@stoplight/spectral-core@1.19.1", "@stoplight/spectral-core@>=1", "@stoplight/spectral-core@^1.19.1", "@stoplight/spectral-core@^1.7.0", "@stoplight/spectral-core@^1.8.0", "@stoplight/spectral-core@^1.8.1":
version "1.19.1"
resolved "https://registry.yarnpkg.com/@stoplight/spectral-core/-/spectral-core-1.19.1.tgz#1078639119c1558f4aa45447dd0b3018253e1421"
integrity sha512-YiWhXdjyjn4vCl3102ywzwCEJzncxapFcj4dxcj1YP/bZ62DFeGJ8cEaMP164vSw2kI3rX7EMMzI/c8XOUnTfQ==
"@stoplight/spectral-core@>=1", "@stoplight/spectral-core@^1.19.4", "@stoplight/spectral-core@^1.7.0", "@stoplight/spectral-core@^1.8.0", "@stoplight/spectral-core@^1.8.1":
version "1.19.4"
resolved "https://registry.yarnpkg.com/@stoplight/spectral-core/-/spectral-core-1.19.4.tgz#15b01814ee997de43279b72368c13f91636a01f6"
integrity sha512-8hnZXfssTlV99SKo8J8BwMt5LsiBFHkCh0V3P7j8IPcCNl//bpG92U4TpYy7AwmUms/zCLX7sxNQC6AZ+bkfzg==
dependencies:
"@stoplight/better-ajv-errors" "1.0.3"
"@stoplight/json" "~3.21.0"
"@stoplight/path" "1.3.2"
"@stoplight/spectral-parsers" "^1.0.0"
"@stoplight/spectral-ref-resolver" "^1.0.4"
"@stoplight/spectral-runtime" "^1.0.0"
"@stoplight/spectral-runtime" "^1.1.2"
"@stoplight/types" "~13.6.0"
"@types/es-aggregate-error" "^1.0.2"
"@types/json-schema" "^7.0.11"
ajv "^8.17.1"
ajv-errors "~3.0.0"
ajv-formats "~2.1.0"
es-aggregate-error "^1.0.7"
jsonpath-plus "7.1.0"
jsonpath-plus "10.2.0"
lodash "~4.17.21"
lodash.topath "^4.5.2"
minimatch "3.1.2"
nimma "0.2.2"
pony-cause "^1.0.0"
simple-eval "1.0.0"
tslib "^2.3.0"
nimma "0.2.3"
pony-cause "^1.1.1"
simple-eval "1.0.1"
tslib "^2.8.1"

"@stoplight/spectral-formats@^1.0.0", "@stoplight/spectral-formats@^1.4.0":
version "1.4.0"
Expand Down Expand Up @@ -403,7 +413,7 @@
lodash "~4.17.21"
tslib "^2.3.0"

"@stoplight/spectral-runtime@^1.0.0", "@stoplight/spectral-runtime@^1.1.0", "@stoplight/spectral-runtime@^1.1.1", "@stoplight/spectral-runtime@^1.1.2":
"@stoplight/spectral-runtime@^1.1.0", "@stoplight/spectral-runtime@^1.1.1", "@stoplight/spectral-runtime@^1.1.2":
version "1.1.2"
resolved "https://registry.npmjs.org/@stoplight/spectral-runtime/-/spectral-runtime-1.1.2.tgz"
integrity sha512-fr5zRceXI+hrl82yAVoME+4GvJie8v3wmOe9tU+ZLRRNonizthy8qDi0Z/z4olE+vGreSDcuDOZ7JjRxFW5kTw==
Expand Down Expand Up @@ -2877,11 +2887,16 @@ js-yaml@3.14.0, js-yaml@^3.13.1:
argparse "^1.0.7"
esprima "^4.0.0"

jsep@^1.1.2, jsep@^1.2.0:
jsep@^1.2.0:
version "1.3.8"
resolved "https://registry.npmjs.org/jsep/-/jsep-1.3.8.tgz"
integrity sha512-qofGylTGgYj9gZFsHuyWAN4jr35eJ66qJCK4eKDnldohuUoQFbU3iZn2zjvEbd9wOAhP9Wx5DsAAduTyE1PSWQ==

jsep@^1.3.6, jsep@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/jsep/-/jsep-1.4.0.tgz#19feccbfa51d8a79f72480b4b8e40ce2e17152f0"
integrity sha512-B7qPcEVE3NVkmSJbaYxvv4cHkVW7DQsZz13pUMrfS8z8Q/BuShN+gcTXrUlPiGqM2/t/EEaI030bpxMqY8gMlw==

json-parse-better-errors@^1.0.2:
version "1.0.2"
resolved "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz"
Expand All @@ -2907,15 +2922,14 @@ jsonc-parser@~2.2.1:
resolved "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-2.2.1.tgz"
integrity sha512-o6/yDBYccGvTz1+QFevz6l6OBZ2+fMVu2JZ9CIhzsYRX4mjaK5IyX9eldUdCmga16zlgQxyrj5pt9kzuj2C02w==

jsonpath-plus@7.1.0:
version "7.1.0"
resolved "https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-7.1.0.tgz"
integrity sha512-gTaNRsPWO/K2KY6MrqaUFClF9kmuM6MFH5Dhg1VYDODgFbByw1yb7xu3hrViE/sz+dGOeMWgCzwUwQtAnCTE9g==

jsonpath-plus@^6.0.1:
version "6.0.1"
resolved "https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-6.0.1.tgz"
integrity sha512-EvGovdvau6FyLexFH2OeXfIITlgIbgZoAZe3usiySeaIDm5QS+A10DKNpaPBBqqRSZr2HN6HVNXxtwUAr2apEw==
jsonpath-plus@10.2.0, "jsonpath-plus@^6.0.1 || ^10.1.0":
version "10.2.0"
resolved "https://registry.yarnpkg.com/jsonpath-plus/-/jsonpath-plus-10.2.0.tgz#84d680544d9868579cc7c8f59bbe153a5aad54c4"
integrity sha512-T9V+8iNYKFL2n2rF+w02LBOT2JjDnTjioaNFrxRy0Bv1y/hNsqR/EBK7Ojy2ythRHwmz2cRIls+9JitQGZC/sw==
dependencies:
"@jsep-plugin/assignment" "^1.3.0"
"@jsep-plugin/regex" "^1.0.4"
jsep "^1.4.0"

jsonpointer@^5.0.0:
version "5.0.1"
Expand Down Expand Up @@ -3236,17 +3250,17 @@ neo-async@^2.6.2:
resolved "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz"
integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==

nimma@0.2.2:
version "0.2.2"
resolved "https://registry.npmjs.org/nimma/-/nimma-0.2.2.tgz"
integrity sha512-V52MLl7BU+tH2Np9tDrIXK8bql3MVUadnMIl/0/oZSGC9keuro0O9UUv9QKp0aMvtN8HRew4G7byY7H4eWsxaQ==
nimma@0.2.3:
version "0.2.3"
resolved "https://registry.yarnpkg.com/nimma/-/nimma-0.2.3.tgz#33cd6244ede857d9c8ac45b9d1aad07091559e45"
integrity sha512-1ZOI8J+1PKKGceo/5CT5GfQOG6H8I2BencSK06YarZ2wXwH37BSSUWldqJmMJYA5JfqDqffxDXynt6f11AyKcA==
dependencies:
"@jsep-plugin/regex" "^1.0.1"
"@jsep-plugin/ternary" "^1.0.2"
astring "^1.8.1"
jsep "^1.2.0"
optionalDependencies:
jsonpath-plus "^6.0.1"
jsonpath-plus "^6.0.1 || ^10.1.0"
lodash.topath "^4.5.2"

node-abi@^3.3.0:
Expand Down Expand Up @@ -3546,9 +3560,9 @@ pkg-dir@^4.2.0:
dependencies:
find-up "^4.0.0"

pony-cause@1.1.1, pony-cause@^1.0.0:
pony-cause@1.1.1, pony-cause@^1.1.1:
version "1.1.1"
resolved "https://registry.npmjs.org/pony-cause/-/pony-cause-1.1.1.tgz"
resolved "https://registry.yarnpkg.com/pony-cause/-/pony-cause-1.1.1.tgz#f795524f83bebbf1878bd3587b45f69143cbf3f9"
integrity sha512-PxkIc/2ZpLiEzQXu5YRDOUgBlfGYBY8156HY5ZcRAwwonMk5W/MrJP2LLkG/hF7GEQzaHo2aS7ho6ZLCOvf+6g==

prebuild-install@^7.0.1:
Expand Down Expand Up @@ -3987,12 +4001,12 @@ simple-concat@^1.0.0:
resolved "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz"
integrity sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==

simple-eval@1.0.0:
version "1.0.0"
resolved "https://registry.npmjs.org/simple-eval/-/simple-eval-1.0.0.tgz"
integrity sha512-kpKJR+bqTscgC0xuAl2xHN6bB12lHjC2DCUfqjAx19bQyO3R2EVLOurm3H9AUltv/uFVcSCVNc6faegR+8NYLw==
simple-eval@1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/simple-eval/-/simple-eval-1.0.1.tgz#f91fc2b1583b7f5b972cdc088b769880087120a5"
integrity sha512-LH7FpTAkeD+y5xQC4fzS+tFtaNlvt3Ib1zKzvhjv/Y+cioV4zIuw4IZr2yhRLu67CWL7FR9/6KXKnjRoZTvGGQ==
dependencies:
jsep "^1.1.2"
jsep "^1.3.6"

simple-get@^4.0.0:
version "4.0.1"
Expand Down Expand Up @@ -4333,6 +4347,11 @@ tslib@^2.6.0:
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.7.0.tgz#d9b40c5c40ab59e8738f297df3087bf1a2690c01"
integrity sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==

tslib@^2.8.1:
version "2.8.1"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f"
integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==

tsutils@^3.17.1, tsutils@^3.21.0:
version "3.21.0"
resolved "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz"
Expand Down

0 comments on commit 2540a58

Please sign in to comment.