@sap-ux/axios-extension 1.24.5 → 1.25.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.
@@ -11,7 +11,6 @@ const lrep_service_1 = require("./lrep-service");
11
11
  const types_1 = require("./types");
12
12
  const ui5_abap_repository_service_1 = require("./ui5-abap-repository-service");
13
13
  // Can't use an `import type` here. We need the classname at runtime to create object instances:
14
- // eslint-disable-next-line @typescript-eslint/consistent-type-imports
15
14
  const odata_service_generator_1 = require("./adt-catalog/generators/odata-service-generator");
16
15
  const ui_service_generator_1 = require("./adt-catalog/generators/ui-service-generator");
17
16
  const services_1 = require("./adt-catalog/services");
@@ -28,7 +28,7 @@ function logLevel(severity, msg, log, error = false) {
28
28
  }
29
29
  }
30
30
  else {
31
- error ? log.error(msg) : log.info(msg);
31
+ log[error ? 'error' : 'info'](msg);
32
32
  }
33
33
  }
34
34
  /**
package/dist/factory.js CHANGED
@@ -23,7 +23,6 @@ const service_provider_1 = require("./base/service-provider");
23
23
  /**
24
24
  * PatchedHttpsProxyAgent is a custom implementation of HttpsProxyAgent that allows to pass additional options, currently not supported by the original implementation when calling tls.connect
25
25
  */
26
- // eslint-disable-next-line jsdoc/require-jsdoc
27
26
  class PatchedHttpsProxyAgent extends https_proxy_agent_1.HttpsProxyAgent {
28
27
  extraOptions;
29
28
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-ux/axios-extension",
3
- "version": "1.24.5",
3
+ "version": "1.25.0",
4
4
  "description": "Extension of the Axios module adding convenience methods to interact with SAP systems especially with OData services.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,17 +25,17 @@
25
25
  "https-proxy-agent": "7.0.5",
26
26
  "http-proxy-agent": "7.0.2",
27
27
  "proxy-from-env": "1.1.0",
28
- "@sap-ux/btp-utils": "1.1.5",
29
- "@sap-ux/logger": "0.7.1",
30
- "@sap-ux/feature-toggle": "0.3.4"
28
+ "@sap-ux/btp-utils": "1.1.6",
29
+ "@sap-ux/logger": "0.7.2",
30
+ "@sap-ux/feature-toggle": "0.3.5"
31
31
  },
32
32
  "devDependencies": {
33
- "@sap-ux/vocabularies-types": "0.13.1",
33
+ "@sap-ux/vocabularies-types": "0.13.2",
34
34
  "@types/lodash": "4.14.202",
35
35
  "nock": "13.4.0",
36
36
  "supertest": "7.1.4",
37
37
  "@types/proxy-from-env": "1.0.1",
38
- "@sap-ux/project-access": "1.32.12"
38
+ "@sap-ux/project-access": "1.32.16"
39
39
  },
40
40
  "files": [
41
41
  "dist",
@@ -51,8 +51,8 @@
51
51
  "watch": "tsc --watch",
52
52
  "clean": "rimraf --glob dist test/test-output coverage *.tsbuildinfo",
53
53
  "format": "prettier --write '**/*.{js,json,ts,yaml,yml}' --ignore-path ../../.prettierignore",
54
- "lint": "eslint . --ext .ts",
55
- "lint:fix": "eslint . --ext .ts --fix",
54
+ "lint": "eslint",
55
+ "lint:fix": "eslint --fix",
56
56
  "test": "jest --ci --forceExit --detectOpenHandles --colors",
57
57
  "test-u": "jest --forceExit --detectOpenHandles --colors -u",
58
58
  "link": "pnpm link --global",