Skip to content

Commit 1f22c79

Browse files
author
Pelle Wessman
authored
Dependency updates (#19)
* Fix type issue + update config module * linting dependencies * Update `nock` * Update SDK * Fix linting warnings
1 parent 2cf6367 commit 1f22c79

File tree

4 files changed

+16
-14
lines changed

4 files changed

+16
-14
lines changed

lib/commands/report/create.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ import meow from 'meow'
88
import ora from 'ora'
99
import { ErrorWithCause } from 'pony-cause'
1010

11+
import { fetchReportData, formatReportDataOutput } from './view.js'
1112
import { handleApiCall, handleUnsuccessfulApiResponse } from '../../utils/api-helpers.js'
1213
import { ChalkOrMarkdown, logSymbols } from '../../utils/chalk-markdown.js'
1314
import { InputError } from '../../utils/errors.js'
1415
import { printFlagList } from '../../utils/formatting.js'
1516
import { createDebugLogger } from '../../utils/misc.js'
1617
import { getPackageFiles } from '../../utils/path-resolve.js'
1718
import { setupSdk } from '../../utils/sdk.js'
18-
import { fetchReportData, formatReportDataOutput } from './view.js'
1919

2020
/** @type {import('../../utils/meow-with-subcommands').CliSubcommand} */
2121
export const create = {

lib/commands/report/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { meowWithSubcommands } from '../../utils/meow-with-subcommands.js'
21
import { create } from './create.js'
32
import { view } from './view.js'
3+
import { meowWithSubcommands } from '../../utils/meow-with-subcommands.js'
44

55
const description = 'Project report related commands'
66

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,36 +47,36 @@
4747
"@types/node": "^14.18.31",
4848
"@types/prompts": "^2.4.1",
4949
"@types/update-notifier": "^6.0.1",
50-
"@typescript-eslint/eslint-plugin": "^5.44.0",
51-
"@typescript-eslint/parser": "^5.44.0",
50+
"@typescript-eslint/eslint-plugin": "^5.48.2",
51+
"@typescript-eslint/parser": "^5.48.2",
5252
"c8": "^7.12.0",
5353
"chai": "^4.3.6",
5454
"chai-as-promised": "^7.1.1",
5555
"dependency-check": "^5.0.0-7",
56-
"eslint": "^8.28.0",
56+
"eslint": "^8.32.0",
5757
"eslint-config-standard": "^17.0.0",
5858
"eslint-config-standard-jsx": "^11.0.0",
59-
"eslint-import-resolver-typescript": "^3.5.2",
60-
"eslint-plugin-import": "^2.26.0",
59+
"eslint-import-resolver-typescript": "^3.5.3",
60+
"eslint-plugin-import": "^2.27.5",
6161
"eslint-plugin-jsdoc": "^39.5.0",
62-
"eslint-plugin-n": "^15.5.1",
62+
"eslint-plugin-n": "^15.6.1",
6363
"eslint-plugin-promise": "^6.1.1",
64-
"eslint-plugin-react": "^7.31.11",
64+
"eslint-plugin-react": "^7.32.1",
6565
"eslint-plugin-react-hooks": "^4.6.0",
6666
"eslint-plugin-unicorn": "^45.0.2",
6767
"husky": "^8.0.1",
6868
"installed-check": "^6.0.5",
6969
"mocha": "^10.0.0",
7070
"mock-fs": "^5.2.0",
71-
"nock": "^13.2.9",
71+
"nock": "^13.3.0",
7272
"npm-run-all2": "^6.0.2",
7373
"type-coverage": "^2.24.1",
74-
"typescript": "~4.9.3"
74+
"typescript": "~4.9.4"
7575
},
7676
"dependencies": {
7777
"@apideck/better-ajv-errors": "^0.3.6",
78-
"@socketsecurity/config": "^1.2.0",
79-
"@socketsecurity/sdk": "^0.4.0",
78+
"@socketsecurity/config": "^2.0.0",
79+
"@socketsecurity/sdk": "^0.5.0",
8080
"chalk": "^5.1.2",
8181
"globby": "^13.1.3",
8282
"hpagent": "^1.2.0",

test/path-resolve.spec.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,9 @@ describe('Path Resolve', () => {
273273
projectIgnorePaths: [
274274
'/bar/*',
275275
'!/bar/package.json',
276-
]
276+
],
277+
issueRules: {},
278+
githubApp: {}
277279
},
278280
() => {}
279281
).should.eventually.become([

0 commit comments

Comments
 (0)