@renovatebot/osv-offline 1.6.0 → 1.6.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.
@@ -31,7 +31,7 @@ async function tryDownloadDb() {
31
31
  }
32
32
  // only download databases if local databases are missing or remote is newer
33
33
  try {
34
- const stream = got_1.default.stream("https://github.com/renovatebot/osv-offline/releases/latest/download/osv-offline.zip");
34
+ const stream = got_1.default.stream('https://github.com/renovatebot/osv-offline/releases/latest/download/osv-offline.zip');
35
35
  const zipPath = path_1.default.join(osv_offline_db_1.OsvOfflineDb.rootDirectory, 'osv-offline.zip');
36
36
  const writeStream = fs_extra_1.default.createWriteStream(zipPath);
37
37
  await (0, promises_1.pipeline)(stream, writeStream);
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@renovatebot/osv-offline",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "license": "MIT",
7
+ "type": "commonjs",
7
8
  "publishConfig": {
8
9
  "access": "public"
9
10
  },
@@ -12,7 +13,7 @@
12
13
  "url": "https://github.com/renovatebot/osv-offline.git"
13
14
  },
14
15
  "dependencies": {
15
- "@renovatebot/osv-offline-db": "1.7.0",
16
+ "@renovatebot/osv-offline-db": "1.7.1",
16
17
  "adm-zip": "~0.5.16",
17
18
  "fs-extra": "^11.3.0",
18
19
  "got": "^11.8.6",
@@ -22,5 +23,8 @@
22
23
  "@types/adm-zip": "0.5.7",
23
24
  "@types/fs-extra": "11.0.4",
24
25
  "@types/luxon": "3.4.2"
26
+ },
27
+ "engines": {
28
+ "node": ">=18.12.0"
25
29
  }
26
30
  }