From d9800fbdac1fb4b6ca881517613d753ef4f62957 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 25 Oct 2023 22:29:52 +0000 Subject: [PATCH] Bump asl-validator from 3.6.1 to 3.8.1 in /dependencies (#4598) * Bump asl-validator from 3.6.1 to 3.8.1 in /dependencies Bumps [asl-validator](https://github.com/ChristopheBougere/asl-validator) from 3.6.1 to 3.8.1. - [Release notes](https://github.com/ChristopheBougere/asl-validator/releases) - [Commits](https://github.com/ChristopheBougere/asl-validator/compare/3.6.1...3.8.1) --- updated-dependencies: - dependency-name: asl-validator dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * asl-validator now supports a `--version` command :tada: --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Zack Koppert --- dependencies/package-lock.json | 53 ++++++++++++++----- dependencies/package.json | 2 +- .../super-linter/controls/super_linter.rb | 2 +- 3 files changed, 41 insertions(+), 16 deletions(-) diff --git a/dependencies/package-lock.json b/dependencies/package-lock.json index f9d85c06..5f834e1d 100644 --- a/dependencies/package-lock.json +++ b/dependencies/package-lock.json @@ -15,7 +15,7 @@ "@stoplight/spectral": "^6.5.0", "@typescript-eslint/eslint-plugin": "^5.60.0", "@typescript-eslint/parser": "^5.61.0", - "asl-validator": "^3.6.1", + "asl-validator": "^3.8.1", "axios": "^1.5.0", "eslint": "^8.52.0", "eslint-config-airbnb": "^19.0.4", @@ -7794,9 +7794,9 @@ } }, "node_modules/ajv": { - "version": "8.11.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.11.0.tgz", - "integrity": "sha512-wGgprdCvMalC0BztXvitD2hC04YffAvtsUn93JbGXYLAtCUO4xd17mCCZQxUOItiBwZvJScWo8NIvQMQ71rdpg==", + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", "dependencies": { "fast-deep-equal": "^3.1.1", "json-schema-traverse": "^1.0.0", @@ -8131,27 +8131,52 @@ "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==" }, "node_modules/asl-path-validator": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/asl-path-validator/-/asl-path-validator-0.11.0.tgz", - "integrity": "sha512-2kfFkqNCXInc7d8hbUoXn/XpK5fFr3//0nh4jfcZWav0VR4zo2bYVlRCwOuNKJID9yM4vIo7dMb4n0fnWrc/Xw==", + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/asl-path-validator/-/asl-path-validator-0.12.0.tgz", + "integrity": "sha512-pzBX2mKp8NQ7p1xM6sfSd2vFQJDX0UdUCun/YcRKMNSv7j93erTomK7iIU79N5rjJD++kPr9qwWhA67pFVpdhA==", "dependencies": { "jsonpath-plus": "^7.0.0" } }, "node_modules/asl-validator": { - "version": "3.6.1", - "resolved": "https://registry.npmjs.org/asl-validator/-/asl-validator-3.6.1.tgz", - "integrity": "sha512-Ih4ka6Hf8iYWioeBsNHG6DTBDap0sFQU4GFjtSmmJw/qt3xyOdnA6MKJNEpqe7GHKsWP7rBUsU2ZOMqyONsJsw==", + "version": "3.8.1", + "resolved": "https://registry.npmjs.org/asl-validator/-/asl-validator-3.8.1.tgz", + "integrity": "sha512-BFb6R7NZJbXMu9Uxzxwep6asylellkXdqaaJm0V4Nbvu2lKV7Nh2SxiRo0RdTRY5MGL9u7vErBC+n7A391RtnQ==", "dependencies": { - "ajv": "^8.11.0", - "asl-path-validator": "^0.11.0", - "commander": "^5.1.0", - "jsonpath-plus": "^7.0.0" + "ajv": "^8.12.0", + "asl-path-validator": "^0.12.0", + "commander": "^10.0.1", + "jsonpath-plus": "^7.2.0", + "yaml": "^2.3.1" }, "bin": { "asl-validator": "dist/bin/asl-validator.js" } }, + "node_modules/asl-validator/node_modules/commander": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz", + "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==", + "engines": { + "node": ">=14" + } + }, + "node_modules/asl-validator/node_modules/jsonpath-plus": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-7.2.0.tgz", + "integrity": "sha512-zBfiUPM5nD0YZSBT/o/fbCUlCcepMIdP0CJZxM1+KgA4f2T206f6VAg9e7mX35+KlMaIc5qXW34f3BnwJ3w+RA==", + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/asl-validator/node_modules/yaml": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.2.tgz", + "integrity": "sha512-N/lyzTPaJasoDmfV7YTrYCI0G/3ivm/9wdG0aHuheKowWQwGTsK0Eoiw6utmzAnI6pkJa0DUVygvp3spqqEKXg==", + "engines": { + "node": ">= 14" + } + }, "node_modules/asn1.js": { "version": "5.4.1", "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", diff --git a/dependencies/package.json b/dependencies/package.json index 8458a9ea..e2f4046e 100644 --- a/dependencies/package.json +++ b/dependencies/package.json @@ -10,7 +10,7 @@ "@stoplight/spectral": "^6.5.0", "@typescript-eslint/eslint-plugin": "^5.60.0", "@typescript-eslint/parser": "^5.61.0", - "asl-validator": "^3.6.1", + "asl-validator": "^3.8.1", "axios": "^1.5.0", "eslint": "^8.52.0", "eslint-config-airbnb": "^19.0.4", diff --git a/test/inspec/super-linter/controls/super_linter.rb b/test/inspec/super-linter/controls/super_linter.rb index 29d62136..d792906b 100644 --- a/test/inspec/super-linter/controls/super_linter.rb +++ b/test/inspec/super-linter/controls/super_linter.rb @@ -94,7 +94,7 @@ control "super-linter-installed-commands" do { linter_name: "actionlint"}, { linter_name: "ansible-lint", expected_stdout_regex: /(.*)/}, { linter_name: "arm-ttk", version_command: "grep -iE 'version' '/usr/bin/arm-ttk' | xargs"}, - { linter_name: "asl-validator", expected_exit_status: 1}, # expect a return code = 1 because this linter doesn't support a "get linter version" command + { linter_name: "asl-validator", expected_exit_status: 0}, { linter_name: "bash-exec", expected_exit_status: 1}, # expect a return code = 1 because this linter doesn't support a "get linter version" command { linter_name: "black"}, { linter_name: "clang-format"},