@sebspark/openapi-core 2.2.1 → 2.2.2

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/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/errors.ts
2
- var _nodeutil = require('node:util');
2
+ var _util = require('util');
3
3
  var HttpError = class extends Error {
4
4
  constructor(statusCode, message, cause) {
5
5
  super(message);
@@ -15,7 +15,7 @@ var HttpError = class extends Error {
15
15
  message: this.message
16
16
  };
17
17
  if (showStack) {
18
- serialized.stack = _nodeutil.inspect.call(void 0, this);
18
+ serialized.stack = _util.inspect.call(void 0, this);
19
19
  }
20
20
  return serialized;
21
21
  }
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  // src/errors.ts
2
- import {inspect} from "node:util";
2
+ import {inspect} from "util";
3
3
  var HttpError = class extends Error {
4
4
  constructor(statusCode, message, cause) {
5
5
  super(message);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sebspark/openapi-core",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -16,14 +16,14 @@
16
16
  "typecheck": "tsc --noEmit"
17
17
  },
18
18
  "devDependencies": {
19
- "@types/node": "20.17.32",
19
+ "@types/node": "20.19.1",
20
20
  "tsconfig": "*",
21
21
  "tsup-node": "0.1.0",
22
22
  "typescript": "5.8.3",
23
- "vitest": "3.1.2"
23
+ "vitest": "3.2.4"
24
24
  },
25
25
  "dependencies": {
26
26
  "@sebspark/retry": "*",
27
- "axios": "1.9.0"
27
+ "axios": "1.10.0"
28
28
  }
29
29
  }