Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 20 additions & 20 deletions .github/actions/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions .github/actions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@
},
"overrides": {
"@eslint/config-array": {
"minimatch": "11.0.3"
"minimatch": "11.0.9"
},
"@typescript-eslint/typescript-estree": {
"minimatch": "11.0.3"
"minimatch": "11.0.9"
},
"eslint": {
"minimatch": "11.0.3"
"minimatch": "11.0.9"
}
}
}
10 changes: 5 additions & 5 deletions Extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7326,11 +7326,11 @@
"which": "^2.0.2"
},
"resolutions": {
"**/@eslint/config-array/minimatch": "11.0.5",
"**/@typescript-eslint/typescript-estree/minimatch": "11.0.5",
"**/@vscode/vsce/minimatch": "11.0.5",
"**/eslint-plugin-import-x/minimatch": "11.0.5",
"**/eslint/minimatch": "11.0.5",
"**/@eslint/config-array/minimatch": "11.0.9",
"**/@typescript-eslint/typescript-estree/minimatch": "11.0.9",
"**/@vscode/vsce/minimatch": "11.0.9",
"**/eslint-plugin-import-x/minimatch": "11.0.9",
"**/eslint/minimatch": "11.0.9",
"gulp-typescript/**/glob-parent": "^5.1.2",
"serialize-javascript": "^7.1.3",
"fast-uri": "^3.1.9",
Expand Down
13 changes: 10 additions & 3 deletions Extension/test/unit/editorConfig.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ const vscode = {

const editorConfig: typeof import('../../src/LanguageServer/editorConfig') = proxyquire.noCallThru()(
'../../src/LanguageServer/editorConfig', {
vscode,
'../common': { checkFileExistsSync: existsSync }
});
vscode,
'../common': { checkFileExistsSync: existsSync }
});

describe('EditorConfig resolution and refresh', () => {
let directory: string;
Expand Down Expand Up @@ -103,6 +103,13 @@ describe('EditorConfig resolution and refresh', () => {
strictEqual(getLevel(), 'error');
});

it('matches recursive sections with brace alternatives', () => {
writeConfig('', 'root = true\n[**/*.{cpp,h}]\nindent_size = 2\n');
strictEqual(editorConfig.getEditorConfigSettings(join(directory, 'nested/sample.cpp')).indent_size, 2);
strictEqual(editorConfig.getEditorConfigSettings(join(directory, 'nested/deep/sample.h')).indent_size, 2);
strictEqual(editorConfig.getEditorConfigSettings(join(directory, 'nested/sample.c')).indent_size, undefined);
});

it('preserves the ordering of repeated wildcard sections', () => {
writeConfig('', 'root = true\n[*]\ncpp_include_cleanup_remove_unused_error_tag_type = warning\n' +
'[*.cpp]\ncpp_include_cleanup_remove_unused_error_tag_type = error\n' +
Expand Down
26 changes: 13 additions & 13 deletions Extension/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1719,24 +1719,24 @@ boundary@^2.0.0:
integrity "sha1-FpyLHw1Ezywlk4lnoyjzfgpOXvw= sha512-rJKn5ooC9u8q13IMCrW0RSp31pxBCHE3y9V/tp3TdWSLf8Em3p6Di4NBpfzbJge9YjjFEsD0RtFEjtvHL5VyEA=="

brace-expansion@^1.1.7:
version "1.1.21"
resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/brace-expansion/-/brace-expansion-1.1.21.tgz#edf4fab5c64d051aea5a8def49aba1c7522279f3"
integrity sha512-9zeA+KLZNNzglF2TPKRQEDyx6Yby7daAkuy8MiPzpXPsYDWi/DRM8jmwUDxokQjYqBpv5DgPiwD4h4ZZSy1Ujw==
version "1.1.22"
resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/brace-expansion/-/brace-expansion-1.1.22.tgz#82f87655acd0bae5c8a717bb0a81573e43ab42c0"
integrity sha512-CKLDTuSsN0+r1ThM0WkzzBI7dnPI6xEGfa/JnVYIK9JNBA1N1NyPwXVHor//NKD/y3sDxp764sZdLhFK7pH8XQ==
dependencies:
balanced-match "^1.0.0"
concat-map "0.0.1"

brace-expansion@^2.0.1:
version "2.1.7"
resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/brace-expansion/-/brace-expansion-2.1.7.tgz#14ea3836731823bb24740225ea43b941b436f9d1"
integrity sha512-uZbew1NqdmPDTMJ8ah1y+b+9QEJrfkXFk3RcTQw3X0jW/xRUvFKsg1CfQdSYGdTbXZWExtU3J3ccxtnfw1Fi0g==
version "2.1.8"
resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/brace-expansion/-/brace-expansion-2.1.8.tgz#b4cf1e18069418e97732d5f30b39bb321c41bd9b"
integrity sha512-BnlDzDYQoplTsZSvPi86CNzmbcb07X8ufR8fk1zivaiEJlXJkiq1MQyDCVmlWcsWbj6aWXqHnrwwevbrm/Saig==
dependencies:
balanced-match "^1.0.0"

brace-expansion@^5.0.12:
version "5.0.12"
resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/brace-expansion/-/brace-expansion-5.0.12.tgz#995fbb4750a77c4d16a7dc942ff2ca6ef8e675ec"
integrity sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==
version "5.0.13"
resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/brace-expansion/-/brace-expansion-5.0.13.tgz#e2d4497370f7e385e6f96b57bd7ff11d77d85851"
integrity sha512-Vh3dmFbc4wZeox7M9I/0L9GfFd83Su4+yCck/OF9Gi/P/dAHn0RT7X4K9R7gMNMhDck3DvhR6QXsnQdjjgwNvQ==
dependencies:
balanced-match "^4.0.2"

Expand Down Expand Up @@ -3627,10 +3627,10 @@ mimic-function@^5.0.0:
resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/mimic-function/-/mimic-function-5.0.1.tgz#acbe2b3349f99b9deaca7fb70e48b83e94e67076"
integrity "sha1-rL4rM0n5m53qyn+3Dki4PpTmcHY= sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA=="

minimatch@11.0.5, minimatch@^10.2.2, minimatch@^10.2.4, minimatch@^10.2.5, minimatch@^10.2.6, "minimatch@^9.0.3 || ^10.1.2 || ^11.0.1":
version "11.0.5"
resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/minimatch/-/minimatch-11.0.5.tgz#29589e94fc4d84193b2a31b082b0ec67b5ea1d42"
integrity sha512-snPlVppFcYWfLLFQGhDxUyBcHNtMlWmn3jtj7pEaO+DP8pqL0IvAzXhMYmn1z9ASNtgmwLBdFxSf4tMUB0OTKA==
minimatch@11.0.9, minimatch@^10.2.2, minimatch@^10.2.4, minimatch@^10.2.5, minimatch@^10.2.6, "minimatch@^9.0.3 || ^10.1.2 || ^11.0.1":
version "11.0.9"
resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/minimatch/-/minimatch-11.0.9.tgz#00d0088671fa0d872ba1e2578f5abf3be0fe878e"
integrity sha512-KCFkfyjqerNlSstjlhIGNXIKZGA/6O4V4RlhZ+Dsr621SPPw0mzlypE9D9ZOoPiVefHID+j7/XuMMlqfD/F60Q==
dependencies:
"@isaacs/nonrecursive-glob-match" "^1.1.0"
brace-expansion "^5.0.12"
Expand Down
22 changes: 11 additions & 11 deletions ExtensionPack/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ExtensionPack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"overrides": {
"@vscode/vsce": {
"minimatch": "11.0.3"
"minimatch": "11.0.9"
}
}
}
22 changes: 11 additions & 11 deletions Themes/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Themes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"overrides": {
"fast-uri": "^3.1.6",
"@vscode/vsce": {
"minimatch": "11.0.3"
"minimatch": "11.0.9"
}
}
}
Loading