@xen-orchestra/backups 0.29.0 → 0.29.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/RemoteAdapter.js CHANGED
@@ -537,10 +537,6 @@ class RemoteAdapter {
537
537
  }
538
538
  }
539
539
 
540
- async invalidateVmBackupListCache(vmUuid) {
541
- await this.handler.unlink(this.#getVmBackupsCache(vmUuid))
542
- }
543
-
544
540
  async #getCachabledDataListVmBackups(dir) {
545
541
  debug('generating cache', { path: dir })
546
542
 
package/package.json CHANGED
@@ -8,25 +8,26 @@
8
8
  "type": "git",
9
9
  "url": "https://github.com/vatesfr/xen-orchestra.git"
10
10
  },
11
- "version": "0.29.0",
11
+ "version": "0.29.1",
12
12
  "engines": {
13
13
  "node": ">=14.6"
14
14
  },
15
15
  "scripts": {
16
- "postversion": "npm publish --access public"
16
+ "postversion": "npm publish --access public",
17
+ "test": "node--test"
17
18
  },
18
19
  "dependencies": {
19
20
  "@vates/async-each": "^1.0.0",
20
21
  "@vates/cached-dns.lookup": "^1.0.0",
21
22
  "@vates/compose": "^2.1.0",
22
23
  "@vates/decorate-with": "^2.0.0",
23
- "@vates/disposable": "^0.1.2",
24
+ "@vates/disposable": "^0.1.3",
24
25
  "@vates/fuse-vhd": "^1.0.0",
25
26
  "@vates/nbd-client": "*",
26
27
  "@vates/parse-duration": "^0.1.1",
27
28
  "@xen-orchestra/async-map": "^0.1.2",
28
- "@xen-orchestra/fs": "^3.2.0",
29
- "@xen-orchestra/log": "^0.4.0",
29
+ "@xen-orchestra/fs": "^3.3.0",
30
+ "@xen-orchestra/log": "^0.5.0",
30
31
  "@xen-orchestra/template": "^0.1.0",
31
32
  "compare-versions": "^5.0.1",
32
33
  "d3-time-format": "^3.0.0",
@@ -41,11 +42,13 @@
41
42
  "promise-toolbox": "^0.21.0",
42
43
  "proper-lockfile": "^4.1.2",
43
44
  "uuid": "^9.0.0",
44
- "vhd-lib": "^4.1.1",
45
+ "vhd-lib": "^4.2.0",
45
46
  "yazl": "^2.5.1"
46
47
  },
47
48
  "devDependencies": {
48
49
  "rimraf": "^3.0.2",
50
+ "sinon": "^14.0.1",
51
+ "test": "^3.2.1",
49
52
  "tmp": "^0.2.1"
50
53
  },
51
54
  "peerDependencies": {
@@ -49,7 +49,6 @@ exports.FullBackupWriter = class FullBackupWriter extends MixinBackupWriter(Abst
49
49
  const dataBasename = basename + '.xva'
50
50
  const dataFilename = backupDir + '/' + dataBasename
51
51
 
52
- const metadataFilename = `${backupDir}/${basename}.json`
53
52
  const metadata = {
54
53
  jobId: job.id,
55
54
  mode: job.mode,