-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
deps(dev): Add missing peer dependencies of dev dependencies #16751
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
base: develop
Are you sure you want to change the base?
Conversation
485df2e
to
d477e77
Compare
size-limit report 📦
|
c752ad0
to
25687c2
Compare
❌ Unsupported file formatUpload processing failed due to unsupported file format. Please review the parser error message:
For more help, visit our troubleshooting guide. |
f66c60e
to
8e4e86b
Compare
@@ -59,7 +59,6 @@ sentryTest('should add resource spans to pageload transaction', async ({ getLoca | |||
|
|||
const expectedScripts = [ | |||
'/init.bundle.js', | |||
'/subject.bundle.js', |
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.
this (subject) is not defined for this test, apparently some changed webpack version emits or does not emit the empty file anymore, but this should be OK.
"@nestjs/common": "11.0.16", | ||
"@nestjs/core": "10.4.6", | ||
"@nestjs/platform-express": "10.4.6", | ||
"@nestjs/common": "11.1.3", |
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.
bumping & aligning to latest as that fixes some transitive dependency security issue.
@@ -71,7 +71,7 @@ | |||
"ember-source": "~4.12.4", | |||
"ember-template-lint": "~4.16.1", | |||
"eslint-plugin-ember": "11.9.0", | |||
"eslint-plugin-n": "16.0.1", | |||
"eslint-plugin-n": "15.0.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.
downgrading because this actually requires eslint 8
packages/nuxt/src/runtime/utils.ts
Outdated
@@ -1,7 +1,7 @@ | |||
import type { ClientOptions, Context } from '@sentry/core'; | |||
import { captureException, getClient, getTraceMetaTags, logger } from '@sentry/core'; | |||
import type { VueOptions } from '@sentry/vue/src/types'; | |||
import type { CapturedErrorContext } from 'nitropack'; | |||
import type { CapturedErrorContext } from 'nitropack/types'; |
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.
this apparently changed in a newer nitropack version 😭
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.
should we extract this change out? Might be easier debug/rollback if we need to.
@@ -6,7 +6,7 @@ export type RollupConfig = { | |||
plugins: unknown[]; | |||
}; | |||
|
|||
export type SolidStartInlineConfig = Parameters<typeof defineConfig>[0]; | |||
export type SolidStartInlineConfig = NonNullable<Parameters<typeof defineConfig>[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.
type is now possible undefined, which leads to problems.
8e4e86b
to
4ee837d
Compare
2785d43
to
1e7a6d4
Compare
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.
It might be nice to split out the nuxt and solidstart changes given they change application code, git blame/rollback will be easier.
packages/nuxt/src/runtime/utils.ts
Outdated
@@ -1,7 +1,7 @@ | |||
import type { ClientOptions, Context } from '@sentry/core'; | |||
import { captureException, getClient, getTraceMetaTags, logger } from '@sentry/core'; | |||
import type { VueOptions } from '@sentry/vue/src/types'; | |||
import type { CapturedErrorContext } from 'nitropack'; | |||
import type { CapturedErrorContext } from 'nitropack/types'; |
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.
should we extract this change out? Might be easier debug/rollback if we need to.
14cd14c
to
519054d
Compare
This just bumps the underlying transitive dependency on nitropack, which apparently changes some type imports. Extracted out of #16751
This just bumps the underlying transitive dependency on nitropack, which apparently changes some type imports. Extracted out of #16751
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.
Ah these are peer dependencies specified by other dependencies. Took me a minute to grasp. But makes sense 👍
This adds explicit peer dependecies in the solidstart package. Those are dev dependencies only. Importantly, that seems to bump some things that result in slightly different types we need to adjust to. Extracted out of #16751
This adds missing peer dependencies that yarn complains about. Nothing should change, fundamentally. some more refs
519054d
to
74c5fcc
Compare
Extracted more user-facing changes out, now this should be more straightforward than before! |
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.
Bug: Sucrase Resolution Change Affects Transitive Dependencies
The sucrase
resolution pattern in package.json
was changed from **/sucrase
to sucrase
. This narrows the scope from all sucrase
dependencies (including transitive) to only direct ones. Consequently, transitive dependencies requiring the getsentry/sucrase#es2020-polyfills
custom fork will no longer receive it, potentially causing breakage if they rely on its ES2020 polyfills.
package.json#L151-L152
sentry-javascript/package.json
Lines 151 to 152 in a84aae3
"cliui/wrap-ansi": "7.0.0", | |
"sucrase": "getsentry/sucrase#es2020-polyfills" |
Was this report helpful? Give feedback by reacting with 👍 or 👎
This adds missing peer dependencies that yarn complains about. Nothing should change, fundamentally.
Extracted this out of #16744