@swagger-api/apidom-parser-adapter-openapi-yaml-2 0.81.0 → 0.82.1
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
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.82.1](https://github.com/swagger-api/apidom/compare/v0.82.0...v0.82.1) (2023-11-03)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @swagger-api/apidom-parser-adapter-openapi-yaml-2
|
|
9
|
+
|
|
10
|
+
# [0.82.0](https://github.com/swagger-api/apidom/compare/v0.81.0...v0.82.0) (2023-11-01)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @swagger-api/apidom-parser-adapter-openapi-yaml-2
|
|
13
|
+
|
|
6
14
|
# [0.81.0](https://github.com/swagger-api/apidom/compare/v0.80.0...v0.81.0) (2023-10-30)
|
|
7
15
|
|
|
8
16
|
### Features
|
|
@@ -12231,59 +12231,6 @@ var has =
|
|
|
12231
12231
|
|
|
12232
12232
|
/***/ }),
|
|
12233
12233
|
|
|
12234
|
-
/***/ 84506:
|
|
12235
|
-
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
12236
|
-
|
|
12237
|
-
"use strict";
|
|
12238
|
-
__webpack_require__.r(__webpack_exports__);
|
|
12239
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12240
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
12241
|
-
/* harmony export */ });
|
|
12242
|
-
/* harmony import */ var _internal_curry2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(45652);
|
|
12243
|
-
/* harmony import */ var _isNil_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(27596);
|
|
12244
|
-
|
|
12245
|
-
|
|
12246
|
-
/**
|
|
12247
|
-
* Returns whether or not an object or its prototype chain has a property with
|
|
12248
|
-
* the specified name
|
|
12249
|
-
*
|
|
12250
|
-
* @func
|
|
12251
|
-
* @memberOf R
|
|
12252
|
-
* @since v0.7.0
|
|
12253
|
-
* @category Object
|
|
12254
|
-
* @sig s -> {s: x} -> Boolean
|
|
12255
|
-
* @param {String} prop The name of the property to check for.
|
|
12256
|
-
* @param {Object} obj The object to query.
|
|
12257
|
-
* @return {Boolean} Whether the property exists.
|
|
12258
|
-
* @example
|
|
12259
|
-
*
|
|
12260
|
-
* function Rectangle(width, height) {
|
|
12261
|
-
* this.width = width;
|
|
12262
|
-
* this.height = height;
|
|
12263
|
-
* }
|
|
12264
|
-
* Rectangle.prototype.area = function() {
|
|
12265
|
-
* return this.width * this.height;
|
|
12266
|
-
* };
|
|
12267
|
-
*
|
|
12268
|
-
* const square = new Rectangle(2, 2);
|
|
12269
|
-
* R.hasIn('width', square); //=> true
|
|
12270
|
-
* R.hasIn('area', square); //=> true
|
|
12271
|
-
*/
|
|
12272
|
-
|
|
12273
|
-
var hasIn =
|
|
12274
|
-
/*#__PURE__*/
|
|
12275
|
-
(0,_internal_curry2_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function hasIn(prop, obj) {
|
|
12276
|
-
if ((0,_isNil_js__WEBPACK_IMPORTED_MODULE_1__["default"])(obj)) {
|
|
12277
|
-
return false;
|
|
12278
|
-
}
|
|
12279
|
-
|
|
12280
|
-
return prop in obj;
|
|
12281
|
-
});
|
|
12282
|
-
|
|
12283
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (hasIn);
|
|
12284
|
-
|
|
12285
|
-
/***/ }),
|
|
12286
|
-
|
|
12287
12234
|
/***/ 78152:
|
|
12288
12235
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
12289
12236
|
|
|
@@ -20097,10 +20044,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20097
20044
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
20098
20045
|
/* harmony export */ });
|
|
20099
20046
|
/* harmony import */ var _babel_runtime_corejs3_core_js_aggregate_error__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(21427);
|
|
20100
|
-
/* harmony import */ var ramda_adjunct__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(39723);
|
|
20101
|
-
/* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(84506);
|
|
20102
|
-
|
|
20103
|
-
|
|
20104
20047
|
|
|
20105
20048
|
class ApiDOMAggregateError extends _babel_runtime_corejs3_core_js_aggregate_error__WEBPACK_IMPORTED_MODULE_0__ {
|
|
20106
20049
|
constructor(errors, message, options) {
|
|
@@ -20117,15 +20060,15 @@ class ApiDOMAggregateError extends _babel_runtime_corejs3_core_js_aggregate_erro
|
|
|
20117
20060
|
|
|
20118
20061
|
/**
|
|
20119
20062
|
* This needs to stay here until our minimum supported version of Node.js is >= 16.9.0.
|
|
20120
|
-
* Node.js
|
|
20063
|
+
* Node.js >= 16.9.0 supports error causes natively.
|
|
20121
20064
|
*/
|
|
20122
|
-
if (
|
|
20065
|
+
if (options != null && typeof options === 'object' && Object.hasOwn(options, 'cause') && !('cause' in this)) {
|
|
20123
20066
|
const {
|
|
20124
20067
|
cause
|
|
20125
20068
|
} = options;
|
|
20126
20069
|
this.cause = cause;
|
|
20127
|
-
if (cause instanceof Error &&
|
|
20128
|
-
this.stack = `${this.stack}\nCAUSE: ${cause
|
|
20070
|
+
if (cause instanceof Error && 'stack' in cause) {
|
|
20071
|
+
this.stack = `${this.stack}\nCAUSE: ${cause.stack}`;
|
|
20129
20072
|
}
|
|
20130
20073
|
}
|
|
20131
20074
|
}
|
|
@@ -20142,12 +20085,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20142
20085
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20143
20086
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
20144
20087
|
/* harmony export */ });
|
|
20145
|
-
/* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(84506);
|
|
20146
|
-
/* harmony import */ var ramda_adjunct__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(39723);
|
|
20147
20088
|
/* harmony import */ var _ApiDOMAggregateError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(57345);
|
|
20148
20089
|
|
|
20149
|
-
|
|
20150
|
-
|
|
20151
20090
|
class ApiDOMError extends Error {
|
|
20152
20091
|
static [Symbol.hasInstance](instance) {
|
|
20153
20092
|
// we want to ApiDOMAggregateError to act as if ApiDOMError was its superclass
|
|
@@ -20169,13 +20108,13 @@ class ApiDOMError extends Error {
|
|
|
20169
20108
|
* This needs to stay here until our minimum supported version of Node.js is >= 16.9.0.
|
|
20170
20109
|
* Node.js is >= 16.9.0 supports error causes natively.
|
|
20171
20110
|
*/
|
|
20172
|
-
if (
|
|
20111
|
+
if (options != null && typeof options === 'object' && Object.hasOwn(options, 'cause') && !('cause' in this)) {
|
|
20173
20112
|
const {
|
|
20174
20113
|
cause
|
|
20175
20114
|
} = options;
|
|
20176
20115
|
this.cause = cause;
|
|
20177
|
-
if (cause instanceof Error &&
|
|
20178
|
-
this.stack = `${this.stack}\nCAUSE: ${cause
|
|
20116
|
+
if (cause instanceof Error && 'stack' in cause) {
|
|
20117
|
+
this.stack = `${this.stack}\nCAUSE: ${cause.stack}`;
|
|
20179
20118
|
}
|
|
20180
20119
|
}
|
|
20181
20120
|
}
|
|
@@ -20192,15 +20131,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20192
20131
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20193
20132
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
20194
20133
|
/* harmony export */ });
|
|
20195
|
-
/* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(54783);
|
|
20196
20134
|
/* harmony import */ var _ApiDOMError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7471);
|
|
20197
20135
|
|
|
20198
|
-
|
|
20199
20136
|
class ApiDOMStructuredError extends _ApiDOMError_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {
|
|
20200
20137
|
constructor(message, structuredOptions) {
|
|
20201
20138
|
super(message, structuredOptions);
|
|
20202
|
-
if (typeof structuredOptions
|
|
20203
|
-
|
|
20139
|
+
if (structuredOptions != null && typeof structuredOptions === 'object') {
|
|
20140
|
+
const {
|
|
20141
|
+
cause,
|
|
20142
|
+
...causelessOptions
|
|
20143
|
+
} = structuredOptions;
|
|
20144
|
+
Object.assign(this, causelessOptions);
|
|
20204
20145
|
}
|
|
20205
20146
|
}
|
|
20206
20147
|
}
|