Skip to content

Update NPM dependencies #1703

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 24, 2024
Merged

Update NPM dependencies #1703

merged 4 commits into from
Apr 24, 2024

Conversation

cory-miller
Copy link
Contributor

@cory-miller cory-miller commented Apr 23, 2024

There are several dependabot alerts that are unable to pass CI because of build errors.

I've gone through and updated them. For the most part the issues were related to needing to be updated together (so I may need to revisit the major version grouping in the Dependabot config I just added). However, some version updates required updating our module usage.

The TS updates also cause some formatting changes when running npm run format.

@cory-miller cory-miller marked this pull request as ready for review April 23, 2024 19:26
@cory-miller cory-miller requested a review from a team as a code owner April 23, 2024 19:26
@cory-miller cory-miller changed the title Update dependencies manually Update NPM dependencies Apr 23, 2024
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The license updates are from npm run licensed-generate. You can use the file filter to hide the YML files.

@@ -8,7 +8,7 @@ import * as path from 'path'
import * as regexpHelper from './regexp-helper'
import * as stateHelper from './state-helper'
import * as urlHelper from './url-helper'
import {default as uuid} from 'uuid/v4'
import {v4 as uuid} from 'uuid'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

There should be no functional change. This is adapting to the library update.

@@ -6,7 +6,7 @@ import * as io from '@actions/io'
import * as path from 'path'
import * as retryHelper from './retry-helper'
import * as toolCache from '@actions/tool-cache'
import {default as uuid} from 'uuid/v4'
import {v4 as uuid} from 'uuid'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

There should be no functional change. This is adapting to the library update.

@@ -20,7 +20,7 @@ function updateUsage(
}

// Load the action.yml
const actionYaml = yaml.safeLoad(fs.readFileSync(actionYamlPath).toString())
const actionYaml = yaml.load(fs.readFileSync(actionYamlPath).toString())
Copy link
Contributor Author

Choose a reason for hiding this comment

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

There should be no functional change. This is adapting to the library update.

@@ -1,5 +1,6 @@
module.exports = {
clearMocks: true,
fakeTimers: {},
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Jest has this called out in their 28.x upgrade docs.

@cory-miller cory-miller merged commit 9c1e94e into main Apr 24, 2024
@cory-miller cory-miller deleted the users/cory-miller/deps branch April 24, 2024 16:04
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