@socketsecurity/cli 0.7.2 → 0.8.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@socketsecurity/cli",
3
- "version": "0.7.2",
3
+ "version": "0.8.0",
4
4
  "description": "CLI tool for Socket.dev",
5
5
  "homepage": "http://github.com/SocketDev/socket-cli-js",
6
6
  "repository": {
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "license": "MIT",
17
17
  "engines": {
18
- "node": "^14.18.0 || ^16.13.0 || >=18.0.0"
18
+ "node": "^16.13.0 || >=18.0.0"
19
19
  },
20
20
  "type": "module",
21
21
  "bin": {
@@ -31,36 +31,34 @@
31
31
  "lib/shadow/**"
32
32
  ],
33
33
  "scripts": {
34
- "check:dependency-check": "dependency-check '*.js' 'lib/shadow/*.cjs' '*.mjs' 'test/**/*.js' --no-dev",
34
+ "check:dependency-check": "dependency-check '*.js' 'lib/shadow/*.cjs' '*.mjs' 'test/**/*.js' --no-dev --ignore-module node:test --ignore-module node:assert/strict",
35
35
  "check:installed-check": "installed-check -i eslint-plugin-jsdoc",
36
36
  "check:lint": "eslint --report-unused-disable-directives .",
37
37
  "check:tsc": "tsc",
38
38
  "check:type-coverage": "type-coverage --detail --strict --at-least 95 --ignore-files 'test/*'",
39
39
  "check": "run-p -c --aggregate-output check:*",
40
40
  "prepare": "husky install",
41
- "test:mocha": "c8 --reporter=lcov --reporter text mocha 'test/**/*.spec.js'",
41
+ "test:unit": "c8 --reporter=lcov --reporter text node --test",
42
42
  "test-ci": "run-s test:*",
43
43
  "test": "run-s check test:*"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@socketsecurity/eslint-config": "^3.0.1",
47
- "@tsconfig/node14": "^1.0.3",
47
+ "@tsconfig/node14": "^14.1.0",
48
48
  "@types/chai": "^4.3.3",
49
49
  "@types/chai-as-promised": "^7.1.5",
50
50
  "@types/micromatch": "^4.0.2",
51
51
  "@types/mocha": "^10.0.1",
52
52
  "@types/mock-fs": "^4.13.1",
53
- "@types/node": "^14.18.31",
53
+ "@types/node": "^20.4.2",
54
54
  "@types/npm": "^7.19.0",
55
55
  "@types/npmcli__arborist": "^5.6.1",
56
56
  "@types/prompts": "^2.4.1",
57
57
  "@types/update-notifier": "^6.0.2",
58
- "@types/which": "^2.0.2",
58
+ "@types/which": "^3.0.0",
59
59
  "@typescript-eslint/eslint-plugin": "^5.51.0",
60
60
  "@typescript-eslint/parser": "^5.51.0",
61
- "c8": "^7.12.0",
62
- "chai": "^4.3.6",
63
- "chai-as-promised": "^7.1.1",
61
+ "c8": "^8.0.0",
64
62
  "dependency-check": "^5.0.0-7",
65
63
  "eslint": "^8.34.0",
66
64
  "eslint-config-standard": "^17.0.0",
@@ -75,17 +73,16 @@
75
73
  "eslint-plugin-unicorn": "^45.0.2",
76
74
  "husky": "^8.0.1",
77
75
  "installed-check": "^6.0.5",
78
- "mocha": "^10.0.0",
79
76
  "mock-fs": "^5.2.0",
80
77
  "nock": "^13.3.0",
81
78
  "npm-run-all2": "^6.0.2",
82
79
  "type-coverage": "^2.24.1",
83
- "typescript": "~4.9.5"
80
+ "typescript": "~5.1.6"
84
81
  },
85
82
  "dependencies": {
86
83
  "@apideck/better-ajv-errors": "^0.3.6",
87
84
  "@socketsecurity/config": "^2.0.0",
88
- "@socketsecurity/sdk": "^0.6.0",
85
+ "@socketsecurity/sdk": "^0.7.2",
89
86
  "chalk": "^5.1.2",
90
87
  "globby": "^13.1.3",
91
88
  "hpagent": "^1.2.0",
@@ -93,7 +90,7 @@
93
90
  "ignore-by-default": "^2.1.0",
94
91
  "is-interactive": "^2.0.0",
95
92
  "is-unicode-supported": "^1.3.0",
96
- "meow": "^11.0.0",
93
+ "meow": "^12.0.1",
97
94
  "micromatch": "^4.0.5",
98
95
  "ora": "^6.1.2",
99
96
  "pony-cause": "^2.1.8",