@soos-io/soos-sbom 1.0.13 → 1.0.15-pre.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/README.md +4 -0
- package/bin/index.js +1 -0
- package/eslint.config.mjs +11 -0
- package/package.json +15 -8
package/README.md
CHANGED
|
@@ -8,6 +8,10 @@ Use SOOS to scan your software for [vulnerabilities](https://app.soos.io/researc
|
|
|
8
8
|
|
|
9
9
|
If you maintain an Open Source project, sign up for the Free as in Beer [SOOS Community Edition](https://soos.io/products/community-edition).
|
|
10
10
|
|
|
11
|
+
## SOOS Badge Status
|
|
12
|
+
[](https://app.soos.io)
|
|
13
|
+
[](https://app.soos.io)
|
|
14
|
+
|
|
11
15
|
## Requirements
|
|
12
16
|
- [npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
|
|
13
17
|
|
package/bin/index.js
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import globals from "globals";
|
|
2
|
+
import pluginJs from "@eslint/js";
|
|
3
|
+
import tseslint from "typescript-eslint";
|
|
4
|
+
|
|
5
|
+
/** @type {import('eslint').Linter.Config[]} */
|
|
6
|
+
export default [
|
|
7
|
+
{ files: ["**/*.{mjs,ts}"] },
|
|
8
|
+
{ languageOptions: { globals: globals.node } },
|
|
9
|
+
pluginJs.configs.recommended,
|
|
10
|
+
...tseslint.configs.recommended,
|
|
11
|
+
];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soos-io/soos-sbom",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.0.15-pre.1",
|
|
4
|
+
"description": "Upload your Software Bill of Materials (SBOM) to SOOS for vulnerability analysis, license matching and more. Register for a free trial today at https://app.soos.io/register",
|
|
5
5
|
"main": "bin/index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"setup:install": "npm install",
|
|
@@ -12,8 +12,11 @@
|
|
|
12
12
|
"build:clean": "npx rimraf build",
|
|
13
13
|
"format": "prettier ./src --check",
|
|
14
14
|
"format:fix": "prettier ./src --write",
|
|
15
|
+
"lint": "eslint --max-warnings 0",
|
|
16
|
+
"lint:fix": "eslint --max-warnings 0 --fix",
|
|
17
|
+
"knip": "knip",
|
|
15
18
|
"typecheck": "tsc --noEmit",
|
|
16
|
-
"check": "npm run format && npm run typecheck && (npm outdated || exit 0)",
|
|
19
|
+
"check": "npm run format && npm run lint && npm run typecheck && (npm outdated || exit 0)",
|
|
17
20
|
"patch": "npm version patch --no-git-tag-version",
|
|
18
21
|
"patch-api-client": "npm run patch && npm run setup:clean && npm install @soos-io/api-client@latest --save-exact && npm install && npm run check"
|
|
19
22
|
},
|
|
@@ -39,17 +42,21 @@
|
|
|
39
42
|
},
|
|
40
43
|
"homepage": "https://github.com/soos-io/soos-sbom#readme",
|
|
41
44
|
"dependencies": {
|
|
42
|
-
"@soos-io/api-client": "1.
|
|
43
|
-
"@types/node": "^20.17.12",
|
|
45
|
+
"@soos-io/api-client": "1.2.0",
|
|
44
46
|
"argparse": "^2.0.1",
|
|
45
47
|
"glob": "^11.0.1",
|
|
46
48
|
"tslib": "^2.6.3"
|
|
47
49
|
},
|
|
48
50
|
"devDependencies": {
|
|
51
|
+
"@eslint/js": "^9.21.0",
|
|
49
52
|
"@types/argparse": "^2.0.16",
|
|
50
|
-
"@types/node": "^20.
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
+
"@types/node": "^20.17.19",
|
|
54
|
+
"eslint": "^9.21.0",
|
|
55
|
+
"globals": "^16.0.0",
|
|
56
|
+
"knip": "^5.44.1",
|
|
57
|
+
"prettier": "^3.5.1",
|
|
58
|
+
"typescript": "^5.7.3",
|
|
59
|
+
"typescript-eslint": "^8.24.1"
|
|
53
60
|
},
|
|
54
61
|
"bin": {
|
|
55
62
|
"soos-sbom": "bin/index.js"
|