-
Notifications
You must be signed in to change notification settings - Fork 27k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'vercel:canary' into with-mongodb-update
- Loading branch information
Showing
2,809 changed files
with
751,970 additions
and
505,417 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
.config/ast-grep/rule-tests/__snapshots__/no-context-snapshot.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
id: no-context | ||
snapshots: | ||
'fn foo(context: ChunkingContext) -> u32 { 5 };': | ||
labels: | ||
- source: context | ||
style: primary | ||
start: 7 | ||
end: 14 | ||
- source: 'context: ChunkingContext' | ||
style: secondary | ||
start: 7 | ||
end: 31 | ||
foo(|context| context): | ||
labels: | ||
- source: context | ||
style: primary | ||
start: 5 | ||
end: 12 | ||
- source: '|context|' | ||
style: secondary | ||
start: 4 | ||
end: 13 | ||
let context = ChunkingContext::new();: | ||
labels: | ||
- source: context | ||
style: primary | ||
start: 4 | ||
end: 11 | ||
- source: let context = ChunkingContext::new(); | ||
style: secondary | ||
start: 0 | ||
end: 37 | ||
'struct Foo { context: Context };': | ||
labels: | ||
- source: context | ||
style: primary | ||
start: 13 | ||
end: 20 | ||
- source: 'context: Context' | ||
style: secondary | ||
start: 13 | ||
end: 29 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
id: no-context | ||
valid: | ||
- 'let chunking_context = ChunkingContext::new();' | ||
- 'struct Foo { chunking_context: Context };' | ||
- 'foo(|chunking_context| context)' | ||
- 'fn foo(chunking_context: ChunkingContext) -> u32 { 5 };' | ||
invalid: | ||
- 'let context = ChunkingContext::new();' | ||
- 'struct Foo { context: Context };' | ||
- 'foo(|context| context)' | ||
- 'fn foo(context: ChunkingContext) -> u32 { 5 };' |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
id: no-context | ||
message: Don't name variables `context`. | ||
note: Use a more specific name, such as chunking_context, asset_context, etc. | ||
severity: error | ||
language: Rust | ||
rule: | ||
regex: \bcontext\b | ||
any: | ||
- all: | ||
- inside: | ||
any: | ||
- kind: closure_parameters | ||
- kind: parameter | ||
- kind: function_item | ||
- kind: let_declaration | ||
- kind: identifier | ||
- all: | ||
- kind: field_identifier | ||
- inside: | ||
kind: field_declaration | ||
ignores: | ||
- './crates/turbopack-css/**' | ||
- './crates/turbopack-dev-server/**' | ||
- './crates/turbopack-browser/**' | ||
- './crates/turbopack-ecmascript-hmr-protocol/**' | ||
- './crates/turbopack-ecmascript-plugins/**' | ||
- './crates/turbopack-ecmascript-runtime/**' | ||
- './crates/turbopack-json/**' | ||
- './crates/turbopack-mdx/**' | ||
- './crates/turbopack-node/**' | ||
- './crates/turbopack-static/**' | ||
- './crates/turbopack-tests/**' | ||
- './crates/turbopack/**' | ||
- './crates/turborepo-cache/**' | ||
- './crates/turborepo-scm/**' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[profile.tp-test-linux.junit] | ||
path = "junit.xml" | ||
report-name = "Turbopack tests (Linux)" | ||
store-success-output = true | ||
store-failure-output = true | ||
|
||
[profile.tp-test-mac.junit] | ||
path = "junit.xml" | ||
report-name = "Turbopack tests (Mac)" | ||
store-success-output = true | ||
store-failure-output = true | ||
|
||
[profile.tp-test-win.junit] | ||
path = "junit.xml" | ||
report-name = "Turbopack tests (Windows)" | ||
store-success-output = true | ||
store-failure-output = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
19.0.0-rc-6230622a1a-20240610 | ||
19.0.0-rc-3208e73e-20240730 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,5 +23,5 @@ | |
"engines": { | ||
"node": ">=18.18.0" | ||
}, | ||
"packageManager": "pnpm@9.5.0" | ||
"packageManager": "pnpm@9.6.0" | ||
} |
3 changes: 3 additions & 0 deletions
3
.github/actions/next-repo-actions/dist/triage-issues-with-ai/index.js
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.