@brightsec/cli 13.9.0-next.2 → 13.9.0-next.21

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightsec/cli",
3
- "version": "13.9.0-next.2",
3
+ "version": "13.9.0-next.21",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,23 +22,20 @@
22
22
  ]
23
23
  },
24
24
  "engines": {
25
- "node": ">=20 <=22"
25
+ "node": ">=22 <=24"
26
26
  },
27
27
  "dependencies": {
28
- "@neuralegion/os-service": "^1.2.6",
29
- "@neuralegion/raw-socket": "^1.8.6",
28
+ "@neuralegion/os-service": "^2.0.5",
29
+ "@neuralegion/raw-socket": "^2.0.0",
30
30
  "@sentry/node": "^7.120.0",
31
31
  "ajv": "^6.12.6",
32
- "amqplib": "~0.10.2",
33
32
  "arch": "^2.2.0",
34
33
  "axios": "^1.7.8",
35
34
  "better-ajv-errors": "^1.2.0",
36
35
  "chalk": "^4.1.2",
37
36
  "ci-info": "^3.8.0",
38
- "cross-spawn": "7.0.6",
39
37
  "fast-content-type-parse": "^1.1.0",
40
38
  "find-up": "^5.0.0",
41
- "form-data": "^4.0.0",
42
39
  "http-proxy-agent": "^7.0.2",
43
40
  "https-proxy-agent": "^7.0.4",
44
41
  "iconv-lite": "^0.6.3",
@@ -49,7 +46,6 @@
49
46
  "semver": "^7.6.0",
50
47
  "socket.io-client": "^4.7.1",
51
48
  "socket.io-msgpack-parser": "^3.0.2",
52
- "socks": "~2.8.3",
53
49
  "socks-proxy-agent": "~8.0.2",
54
50
  "tslib": "^2.3.1",
55
51
  "tsyringe": "~4.6.0",
@@ -59,48 +55,50 @@
59
55
  },
60
56
  "description": "Bright CLI is a CLI tool that can initialize, stop, poll and maintain scans in Bright solutions.",
61
57
  "devDependencies": {
62
- "@commitlint/cli": "^19.2.2",
63
- "@commitlint/config-conventional": "^19.2.2",
64
- "@semantic-release/exec": "^6.0.3",
58
+ "@commitlint/cli": "^20.3.1",
59
+ "@commitlint/config-conventional": "^20.3.1",
60
+ "@semantic-release/exec": "^7.1.0",
65
61
  "@semantic-release/git": "^10.0.1",
66
- "@types/amqplib": "~0.8.2",
62
+ "@types/cross-spawn": "^6.0.6",
67
63
  "@types/har-format": "^1.2.7",
68
- "@types/jest": "^29.5.12",
64
+ "@types/jest": "^30.0.0",
69
65
  "@types/js-yaml": "^4.0.2",
70
66
  "@types/ms": "^0.7.31",
71
- "@types/node": "^16.18.96",
67
+ "@types/node": "^22.11.7",
72
68
  "@types/semver": "^7.5.8",
73
69
  "@types/ws": "^7.4.7",
74
70
  "@types/yargs": "~16.0.1",
75
71
  "@typescript-eslint/eslint-plugin": "^5.33.1",
76
72
  "@typescript-eslint/parser": "^5.33.1",
77
- "@yao-pkg/pkg": "^5.11.5",
73
+ "@yao-pkg/pkg": "^6.12.0",
78
74
  "axios-retry": "^4.3.0",
79
75
  "clean-webpack-plugin": "^4.0.0",
80
- "conventional-changelog-conventionalcommits": "^7.0.2",
76
+ "conventional-changelog-conventionalcommits": "^9.1.0",
81
77
  "cross-env": "^7.0.3",
78
+ "cross-spawn": "^7.0.6",
82
79
  "eslint": "^8.22.0",
83
80
  "eslint-config-prettier": "^8.5.0",
84
81
  "eslint-import-resolver-typescript": "^3.4.2",
85
82
  "eslint-plugin-import": "^2.26.0",
86
83
  "husky": "^8.0.1",
87
84
  "is-ci": "^3.0.1",
88
- "jest": "^29.7.0",
89
- "lint-staged": "^13.0.3",
85
+ "jest": "^30.2.0",
86
+ "lint-staged": "^16.2.7",
90
87
  "nock": "^13.2.9",
91
- "nodemon": "^3.1.0",
92
88
  "prettier": "^2.7.1",
93
- "semantic-release": "^22.0.12",
94
- "terser-webpack-plugin": "^5.3.5",
95
- "ts-jest": "^29.1.2",
96
- "ts-loader": "^9.3.1",
89
+ "semantic-release": "^25.0.2",
90
+ "terser-webpack-plugin": "^5.3.16",
91
+ "ts-jest": "^29.4.6",
92
+ "ts-loader": "^9.5.4",
97
93
  "ts-mockito": "^2.6.1",
98
- "ts-node": "^10.9.1",
99
- "tsconfig-paths-webpack-plugin": "^4.0.0",
94
+ "ts-node": "^10.9.2",
95
+ "tsconfig-paths-webpack-plugin": "^4.2.0",
100
96
  "typescript": "^4.7.4",
101
- "webpack": "^5.74.0",
102
- "webpack-cli": "^4.10.0",
103
- "webpack-node-externals": "^3.0.0"
97
+ "webpack": "^5.104.1",
98
+ "webpack-cli": "^6.0.1",
99
+ "webpack-node-externals": "^3.0.0",
100
+ "wiremock": "^3.13.2",
101
+ "wiremock-captain": "^4.1.3"
104
102
  },
105
103
  "files": [
106
104
  "dist"
@@ -132,16 +130,16 @@
132
130
  "assets": [
133
131
  "./node_modules/axios/**",
134
132
  "./node_modules/win-ca/lib/crypt32-*.node",
135
- "./node_modules/@neuralegion/os-service/prebuilds/win32-*/@neuralegion+os-service.abi115.node",
136
- "./node_modules/@neuralegion/raw-socket/prebuilds/win32-*/@neuralegion+raw-socket.abi115.node",
137
- "./node_modules/@neuralegion/raw-socket/prebuilds/linux-x64/@neuralegion+raw-socket.abi115.glibc.node",
138
- "./node_modules/@neuralegion/raw-socket/prebuilds/darwin-x64+arm64/@neuralegion+raw-socket.abi115.node",
133
+ "./node_modules/@neuralegion/os-service/prebuilds/win32-x64/@neuralegion+os-service.abi127.node",
134
+ "./node_modules/@neuralegion/raw-socket/prebuilds/win32-x64/@neuralegion+raw-socket.abi127.node",
135
+ "./node_modules/@neuralegion/raw-socket/prebuilds/linux-x64/@neuralegion+raw-socket.abi127.node",
136
+ "./node_modules/@neuralegion/raw-socket/prebuilds/darwin-x64+arm64/@neuralegion+raw-socket.abi127.node",
139
137
  "./node_modules/rotating-file-stream/**"
140
138
  ],
141
139
  "targets": [
142
- "node20-linux-x64",
143
- "node20-macos-x64",
144
- "node20-windows-x64"
140
+ "node22-linux-x64",
141
+ "node22-macos-x64",
142
+ "node22-windows-x64"
145
143
  ],
146
144
  "outputPath": "bin",
147
145
  "compress": "Brotli"
@@ -157,12 +155,18 @@
157
155
  "lint": "eslint -c .eslintrc.js src tests",
158
156
  "format": "prettier --check src tests",
159
157
  "test:unit": "cross-env NODE_ENV=test jest src",
160
- "test:e2e": "cross-env NODE_ENV=test jest tests",
158
+ "test:e2e": "cross-env NODE_ENV=test jest tests/e2e",
159
+ "test:smoke": "cross-env NODE_ENV=test jest tests/smoke",
161
160
  "build": "webpack --config webpack.config.js --mode=production",
162
161
  "build:pkg": "pkg .",
163
162
  "prepare": "is-ci || husky install",
164
163
  "start": "node -r ts-node/register/transpile-only -r tsconfig-paths/register src/index.ts"
165
164
  },
165
+ "overrides": {
166
+ "ts-node": {
167
+ "diff": "8.0.3"
168
+ }
169
+ },
166
170
  "brightCli": {
167
171
  "distribution": "npm"
168
172
  }