-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Cleanup package.json resolutions. #99456
Cleanup package.json resolutions. #99456
Conversation
@@ -324,7 +323,6 @@ | |||
"react-ace": "^5.9.0", | |||
"react-beautiful-dnd": "^13.0.0", | |||
"react-color": "^2.13.8", | |||
"react-datetime": "^2.14.0", |
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.
note: it's not used anywhere
"**/chokidar": "^3.4.3", | ||
"**/cross-fetch/node-fetch": "^2.6.1", |
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.
note: we don't have any package that depends on cross-fetch
right now.
@@ -87,7 +86,7 @@ | |||
"**/react-syntax-highlighter": "^15.3.1", | |||
"**/react-syntax-highlighter/**/highlight.js": "^10.4.1", | |||
"**/request": "^2.88.2", | |||
"**/trim": "0.0.3", | |||
"**/trim": "1.0.1", |
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.
note: really, nothing to worry about, just moved to a proper semver.
yarn.lock
Outdated
"@types/node@*", "@types/[email protected]", "@types/[email protected]", "@types/[email protected]", "@types/node@>= 8", "@types/node@>=8.9.0", "@types/node@^10.1.0": | ||
version "14.14.44" | ||
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.44.tgz#df7503e6002847b834371c004b372529f3f85215" | ||
integrity sha512-+gaugz6Oce6ZInfI/tK4Pq5wIIkJMEJUu92RB3Eu93mtj4wjjjz9EB5mLp5s1pSsLXdC/CPut/xF20ZzAQJbTA== | ||
|
||
"@types/[email protected]": |
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.
These should probably be consolidated
@@ -71,9 +71,8 @@ | |||
"url": "https://github.com/elastic/kibana.git" | |||
}, | |||
"resolutions": { | |||
"**/@types/node": "14.14.14", | |||
"**/@types/node": "14.14.44", |
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.
We should update our own reference in the package.json
file as well
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.
ok for the Core changes
|
||
timeout = setTimeout( | ||
timeout = window.setTimeout( |
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.
what caused the need for this change?
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.
That's because of NodeJS typings update that might have (finally) made setTimeout
related types stricter. We don't yet clearly separate environments for TS compiler to know that this setTimeout
is supposed to be provided by the browser and TS assumes that it's a NodeJS one. NodeJS setTimeout
is a different API with a different return type (NodeJS.Timeout
instead of number
) than what browsers provide.
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.
Presentation changes lgtm -- I tested out the shareable runtime and found no issues
@elasticmachine merge upstream |
💔 Build Failed
Failed CI StepsTest FailuresKibana Pipeline / general / Jest Integration Tests.src/core/server/saved_objects/migrationsv2/integration_tests.migration v2 rewrites id deterministically for SO with namespaceType: "multiple" and "multiple-isolated"Standard Out
Stack Trace
Metrics [docs]Unknown metric groupsReferences to deprecated APIs
History
To update your PR or re-run it, just comment with: |
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
Co-authored-by: Aleh Zasypkin <[email protected]>
Summary
Cleanup/upgrade of the
package.json
resolutions where it was feasible.