@stordata/vsphere-soapify 0.0.37 → 0.0.39

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/.gitlab-ci.yml CHANGED
@@ -1,4 +1,4 @@
1
- image: docker.stordata.fr/stordata/docker-node:20
1
+ image: docker.stordata.fr/stordata/docker-node:22
2
2
 
3
3
  stages:
4
4
  - test
package/.nvmrc CHANGED
@@ -1 +1 @@
1
- 20.9.0
1
+ 22.11.0
@@ -0,0 +1,15 @@
1
+ const HostHostBusAdapter = require('./HostHostBusAdapter'),
2
+ HostInternetScsiHbaStaticTarget = require('./HostInternetScsiHbaStaticTarget');
3
+
4
+ module.exports = class HostInternetScsiHba extends HostHostBusAdapter {
5
+ static mappings() {
6
+ return {
7
+ ...super.mappings(),
8
+ configuredStaticTarget: HostInternetScsiHbaStaticTarget.ArrayOf,
9
+ iScsiAlias: 'xsd:string',
10
+ iScsiName: 'xsd:string',
11
+ isSoftwareBased: 'xsd:boolean',
12
+ maxSpeedMb: 'xsd:int'
13
+ };
14
+ }
15
+ };
@@ -0,0 +1,12 @@
1
+ const DynamicData = require('./DynamicData');
2
+
3
+ module.exports = class HostInternetScsiHbaStaticTarget extends DynamicData {
4
+ static mappings() {
5
+ return {
6
+ address: 'xsd:string',
7
+ iScsiName: 'xsd:string',
8
+ parent: 'xsd:string',
9
+ port: 'xsd:int'
10
+ };
11
+ }
12
+ };
@@ -0,0 +1,5 @@
1
+ 'use strict';
2
+
3
+ const HostTargetTransport = require('./HostTargetTransport');
4
+
5
+ module.exports = class HostSerialAttachedTargetTransport extends HostTargetTransport {};
@@ -260,5 +260,8 @@ module.exports = {
260
260
  VimVasaProvider: require('./VimVasaProvider'),
261
261
  VimVasaProviderInfo: require('./VimVasaProviderInfo'),
262
262
  VimVasaProviderStatePerArray: require('./VimVasaProviderStatePerArray'),
263
- VvolDatastoreInfo: require('./VvolDatastoreInfo')
263
+ VvolDatastoreInfo: require('./VvolDatastoreInfo'),
264
+ HostSerialAttachedTargetTransport: require('./HostSerialAttachedTargetTransport'),
265
+ HostInternetScsiHba: require('./HostInternetScsiHba'),
266
+ HostInternetScsiHbaStaticTarget: require('./HostInternetScsiHbaStaticTarget')
264
267
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stordata/vsphere-soapify",
3
- "version": "0.0.37",
3
+ "version": "0.0.39",
4
4
  "description": "A NodeJS abstraction layer for the vSphere SOAP API",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -20,21 +20,21 @@
20
20
  "author": "Stordata <teamdenbas@stordata.fr>",
21
21
  "license": "UNLICENCED",
22
22
  "engines": {
23
- "node": ">= 20"
23
+ "node": ">= 22"
24
24
  },
25
25
  "publishConfig": {
26
26
  "access": "public",
27
27
  "registry": "https://registry.npmjs.org"
28
28
  },
29
29
  "dependencies": {
30
- "axios": "1.7.7",
30
+ "axios": "1.7.8",
31
31
  "debug": "4.3.7",
32
32
  "lodash": "4.17.21",
33
33
  "soap": "1.1.6",
34
34
  "tough-cookie": "5.0.0"
35
35
  },
36
36
  "devDependencies": {
37
- "@stordata/eslint-config": "1.0.20240319090901",
37
+ "@stordata/eslint-config": "1.0.20241128103736",
38
38
  "chai": "4.5.0",
39
39
  "chai-datetime": "1.8.1",
40
40
  "eslint": "8.57.0",
@@ -42,7 +42,7 @@
42
42
  "eslint-plugin-json": "3.1.0",
43
43
  "eslint-plugin-n": "16.6.2",
44
44
  "eslint-plugin-no-only-tests": "3.1.0",
45
- "mocha": "10.8.2",
45
+ "mocha": "11.0.1",
46
46
  "mockdate": "3.0.5",
47
47
  "nock": "13.5.6",
48
48
  "sinon": "19.0.2",