@renovatebot/osv-offline-db 1.4.1 → 1.5.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.
- package/dist/lib/db.js +1 -1
- package/package.json +2 -2
package/dist/lib/db.js
CHANGED
|
@@ -10,7 +10,7 @@ const nedb_1 = __importDefault(require("@seald-io/nedb"));
|
|
|
10
10
|
const ecosystem_1 = require("./ecosystem");
|
|
11
11
|
const purl_helper_1 = require("./purl-helper");
|
|
12
12
|
class OsvOfflineDb {
|
|
13
|
-
static rootDirectory = path_1.default.join((0, os_1.tmpdir)(), 'osv-offline');
|
|
13
|
+
static rootDirectory = process.env['OSV_OFFLINE_ROOT_DIR'] ?? path_1.default.join((0, os_1.tmpdir)(), 'osv-offline');
|
|
14
14
|
db = {};
|
|
15
15
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
16
16
|
constructor() { }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@renovatebot/osv-offline-db",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@tsconfig/node18": "18.2.2",
|
|
19
19
|
"@tsconfig/strictest": "1.0.2",
|
|
20
|
-
"@types/node": "20.10.
|
|
20
|
+
"@types/node": "20.10.7",
|
|
21
21
|
"prettier": "2.8.8",
|
|
22
22
|
"ts-node": "10.9.2",
|
|
23
23
|
"typescript": "5.1.3"
|