From 0d6e7e7bf35f7e613120c3825e651744f7e8454a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Jul 2022 20:02:26 +0000 Subject: [PATCH 1/2] chore(deps-dev): bump @readme/eslint-config from 8.7.5 to 8.8.0 Bumps [@readme/eslint-config](https://github.com/readmeio/standards) from 8.7.5 to 8.8.0. - [Release notes](https://github.com/readmeio/standards/releases) - [Changelog](https://github.com/readmeio/standards/blob/main/CHANGELOG.md) - [Commits](https://github.com/readmeio/standards/compare/@readme/eslint-config@8.7.5...@readme/eslint-config@8.8.0) --- updated-dependencies: - dependency-name: "@readme/eslint-config" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 86542823..3568f33f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2807,9 +2807,9 @@ } }, "node_modules/@readme/eslint-config": { - "version": "8.7.5", - "resolved": "https://registry.npmjs.org/@readme/eslint-config/-/eslint-config-8.7.5.tgz", - "integrity": "sha512-rpAGvOz7olSNeMIA+SIXwxxCVpBxQoFzrTsYoL9Jn3yi2S3QZlNOTqhQz3Ocbtv86Utu/9RrXl/dPit9MzEzuw==", + "version": "8.8.0", + "resolved": "https://registry.npmjs.org/@readme/eslint-config/-/eslint-config-8.8.0.tgz", + "integrity": "sha512-AQ2/2ut3tlxDnecgImrZFvueSVrzLenXsfoTCP3606uwSWDKWPmWqd+EbsNJgZaPET6P6R8sbnzhaQi2gbMsMA==", "dev": true, "dependencies": { "@typescript-eslint/eslint-plugin": "^5.20.0", @@ -19169,9 +19169,9 @@ } }, "@readme/eslint-config": { - "version": "8.7.5", - "resolved": "https://registry.npmjs.org/@readme/eslint-config/-/eslint-config-8.7.5.tgz", - "integrity": "sha512-rpAGvOz7olSNeMIA+SIXwxxCVpBxQoFzrTsYoL9Jn3yi2S3QZlNOTqhQz3Ocbtv86Utu/9RrXl/dPit9MzEzuw==", + "version": "8.8.0", + "resolved": "https://registry.npmjs.org/@readme/eslint-config/-/eslint-config-8.8.0.tgz", + "integrity": "sha512-AQ2/2ut3tlxDnecgImrZFvueSVrzLenXsfoTCP3606uwSWDKWPmWqd+EbsNJgZaPET6P6R8sbnzhaQi2gbMsMA==", "dev": true, "requires": { "@typescript-eslint/eslint-plugin": "^5.20.0", From 0a666a143373a491a903cbf7d85b1152aa6d66bb Mon Sep 17 00:00:00 2001 From: Jon Ursenbach Date: Fri, 1 Jul 2022 13:02:33 -0700 Subject: [PATCH 2/2] fix: style issue --- test/specs/better-errors/better-errors.spec.js | 2 +- test/specs/validate-spec/validate-spec.spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/specs/better-errors/better-errors.spec.js b/test/specs/better-errors/better-errors.spec.js index f16389e7..8cd042fd 100644 --- a/test/specs/better-errors/better-errors.spec.js +++ b/test/specs/better-errors/better-errors.spec.js @@ -16,7 +16,7 @@ function assertInvalid(file, error) { describe('Better errors', () => { it('should pass validation if "options.validate.schema" is false', async () => { - const api = await OpenAPIParser.validate(path.rel(`specs/better-errors/3.0/invalid-x-extension-root.yaml`), { + const api = await OpenAPIParser.validate(path.rel('specs/better-errors/3.0/invalid-x-extension-root.yaml'), { validate: { schema: false }, }); diff --git a/test/specs/validate-spec/validate-spec.spec.js b/test/specs/validate-spec/validate-spec.spec.js index 70e2a067..2474e5ff 100644 --- a/test/specs/validate-spec/validate-spec.spec.js +++ b/test/specs/validate-spec/validate-spec.spec.js @@ -21,7 +21,7 @@ function assertInvalid(file, error) { describe('Invalid APIs (specification validation)', () => { it('should bypass validation if "options.validate.spec" is false', async () => { - const api = await OpenAPIParser.validate(path.rel(`specs/validate-spec/invalid/2.0/invalid-response-code.yaml`), { + const api = await OpenAPIParser.validate(path.rel('specs/validate-spec/invalid/2.0/invalid-response-code.yaml'), { validate: { spec: false }, }); expect(api).to.be.an('object');