-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Update NPM dependencies #1703
Conversation
.licenses/npm/@actions/core.dep.yml
Outdated
There was a problem hiding this comment.
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' |
There was a problem hiding this comment.
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' |
There was a problem hiding this comment.
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()) |
There was a problem hiding this comment.
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: {}, |
There was a problem hiding this comment.
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.
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
.