Skip to content

CHANGE: @W-18718589@: Update dependencies to latest where possible#307

Merged
stephen-carter-at-sf merged 1 commit into
devfrom
sc/W-18718589
Jun 6, 2025
Merged

CHANGE: @W-18718589@: Update dependencies to latest where possible#307
stephen-carter-at-sf merged 1 commit into
devfrom
sc/W-18718589

Conversation

@stephen-carter-at-sf

Copy link
Copy Markdown
Contributor

No description provided.

Comment on lines -17 to -20
"@types/js-yaml": "^4.0.9",
"@types/node": "^20.0.0",
"@types/sarif": "^2.1.7",
"@types/semver": "^7.7.0",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need to ship typescript types unless the types are tied to our node api (for clients to use). So moved many of the types to devDependencies so that they are just available for the build only.

severity: SeverityLevel.Moderate,
tags: [/* NOT RECOMMENDED */ COMMON_TAGS.CATEGORIES.BEST_PRACTICES, COMMON_TAGS.LANGUAGES.JAVASCRIPT] // Not available with TypeScript
},
"no-unassigned-vars": {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New rule with the latest minor version of ESLint 9

severity: SeverityLevel.Moderate,
tags: [COMMON_TAGS.RECOMMENDED, COMMON_TAGS.CATEGORIES.BEST_PRACTICES, COMMON_TAGS.LANGUAGES.TYPESCRIPT]
},
"@typescript-eslint/typedef": {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rule was deprecated with latest version

@stephen-carter-at-sf stephen-carter-at-sf merged commit c8ab38c into dev Jun 6, 2025
7 checks passed
@stephen-carter-at-sf stephen-carter-at-sf deleted the sc/W-18718589 branch June 6, 2025 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants