oas 18.0.8 → 18.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 18.1.0 (2022-03-31)
2
+
3
+ * feat: moving us over to our json-schema-ref-parser fork (#629) ([b986f35](https://github.com/readmeio/oas/commit/b986f35)), closes [#629](https://github.com/readmeio/oas/issues/629)
4
+
5
+
6
+
1
7
  ## <small>18.0.8 (2022-03-29)</small>
2
8
 
3
9
  * fix: improved error handling on `Oas.findOperation()` calls (#628) ([22198dd](https://github.com/readmeio/oas/commit/22198dd)), closes [#628](https://github.com/readmeio/oas/issues/628)
package/dist/index.js CHANGED
@@ -74,7 +74,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
74
74
  };
75
75
  exports.__esModule = true;
76
76
  exports.utils = exports.Webhook = exports.Callback = exports.Operation = void 0;
77
- var json_schema_ref_parser_1 = __importDefault(require("@apidevtools/json-schema-ref-parser"));
77
+ var json_schema_ref_parser_1 = __importDefault(require("@readme/json-schema-ref-parser"));
78
78
  var path_to_regexp_1 = require("path-to-regexp");
79
79
  var get_auth_1 = __importDefault(require("./lib/get-auth"));
80
80
  var get_user_variable_1 = __importDefault(require("./lib/get-user-variable"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oas",
3
- "version": "18.0.8",
3
+ "version": "18.1.0",
4
4
  "description": "Working with OpenAPI definitions is hard. This makes it easier.",
5
5
  "license": "MIT",
6
6
  "author": "ReadMe <support@readme.io> (https://readme.com)",
@@ -49,8 +49,8 @@
49
49
  "watch": "tsc --watch"
50
50
  },
51
51
  "dependencies": {
52
- "@apidevtools/json-schema-ref-parser": "^9.0.6",
53
- "@types/json-schema": "^7.0.9",
52
+ "@readme/json-schema-ref-parser": "^1.1.0",
53
+ "@types/json-schema": "^7.0.11",
54
54
  "cardinal": "^2.1.1",
55
55
  "chalk": "^4.1.2",
56
56
  "glob": "^7.1.2",
@@ -60,28 +60,27 @@
60
60
  "jsonpointer": "^5.0.0",
61
61
  "memoizee": "^0.4.14",
62
62
  "minimist": "^1.2.0",
63
- "oas-normalize": "^5.1.2",
63
+ "oas-normalize": "^5.2.0",
64
64
  "openapi-types": "^10.0.0",
65
65
  "path-to-regexp": "^6.2.0",
66
- "swagger-inline": "^5.1.0"
66
+ "swagger-inline": "^5.2.0"
67
67
  },
68
68
  "devDependencies": {
69
- "@commitlint/cli": "^16.0.1",
69
+ "@commitlint/cli": "^16.2.3",
70
70
  "@commitlint/config-conventional": "^16.0.0",
71
- "@readme/eslint-config": "^8.5.0",
72
- "@readme/oas-examples": "^4.3.2",
71
+ "@readme/eslint-config": "^8.5.1",
72
+ "@readme/oas-examples": "^5.0.0",
73
73
  "@readme/openapi-parser": "^2.0.4",
74
74
  "@types/jest": "^27.0.2",
75
75
  "@types/json-schema-merge-allof": "^0.6.1",
76
76
  "@types/memoizee": "^0.4.6",
77
77
  "alex": "^10.0.0",
78
- "eslint": "^8.6.0",
79
- "eslint-plugin-jsdoc": "^37.0.3",
78
+ "eslint": "^8.12.0",
80
79
  "husky": "^7.0.2",
81
80
  "jest": "^27.0.3",
82
- "prettier": "^2.5.1",
83
- "ts-jest": "^27.0.7",
84
- "typescript": "^4.4.4"
81
+ "prettier": "^2.6.1",
82
+ "ts-jest": "^27.1.4",
83
+ "typescript": "^4.6.3"
85
84
  },
86
85
  "prettier": "@readme/eslint-config/prettier",
87
86
  "commitlint": {
package/src/index.ts CHANGED
@@ -2,7 +2,7 @@ import type * as RMOAS from './rmoas.types';
2
2
  import type { OpenAPIV3_1 } from 'openapi-types';
3
3
  import type { MatchResult } from 'path-to-regexp';
4
4
 
5
- import $RefParser from '@apidevtools/json-schema-ref-parser';
5
+ import $RefParser from '@readme/json-schema-ref-parser';
6
6
  import { pathToRegexp, match } from 'path-to-regexp';
7
7
  import getAuth from './lib/get-auth';
8
8
  import getUserVariable from './lib/get-user-variable';