@renovatebot/osv-offline-db 1.0.0 → 1.1.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.
@@ -2,4 +2,4 @@
2
2
  * https://github.com/google/osv/blob/b9f0d1c1b377b0ab5804808f24032be965a571b8/lib/osv/ecosystems.py#L313-L321
3
3
  */
4
4
  export declare const ecosystems: readonly ["crates.io", "Go", "Maven", "npm", "NuGet", "PyPI", "RubyGems"];
5
- export declare type Ecosystem = typeof ecosystems[number];
5
+ export type Ecosystem = typeof ecosystems[number];
package/dist/lib/osv.d.ts CHANGED
@@ -45,7 +45,7 @@ export interface Event {
45
45
  fixed?: string;
46
46
  limit?: string;
47
47
  }
48
- export declare type RangeType = 'ECOSYSTEM' | 'GIT' | 'SEMVER';
48
+ export type RangeType = 'ECOSYSTEM' | 'GIT' | 'SEMVER';
49
49
  export interface Credit {
50
50
  contact?: string[];
51
51
  name: string;
@@ -54,9 +54,9 @@ export interface Reference {
54
54
  type: ReferenceType;
55
55
  url: string;
56
56
  }
57
- export declare type ReferenceType = 'ADVISORY' | 'ARTICLE' | 'FIX' | 'GIT' | 'PACKAGE' | 'REPORT' | 'WEB';
57
+ export type ReferenceType = 'ADVISORY' | 'ARTICLE' | 'FIX' | 'GIT' | 'PACKAGE' | 'REPORT' | 'WEB';
58
58
  export interface Severity {
59
59
  score: string;
60
60
  type: SeverityType;
61
61
  }
62
- export declare type SeverityType = 'CVSS_V3';
62
+ export type SeverityType = 'CVSS_V3';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@renovatebot/osv-offline-db",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "license": "MIT",
@@ -8,13 +8,13 @@
8
8
  "access": "public"
9
9
  },
10
10
  "dependencies": {
11
- "@seald-io/nedb": "3.0.0"
11
+ "@seald-io/nedb": "^3.1.0"
12
12
  },
13
13
  "devDependencies": {
14
14
  "@tsconfig/node14": "1.0.3",
15
- "@types/node": "16.11.52",
16
- "prettier": "2.7.1",
15
+ "@types/node": "18.11.18",
16
+ "prettier": "2.8.1",
17
17
  "ts-node": "10.9.1",
18
- "typescript": "4.7.4"
18
+ "typescript": "4.9.4"
19
19
  }
20
20
  }