Skip to content
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

chore(deps): update dependency glob to v11 #4201

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
2 changes: 1 addition & 1 deletion apps/vs-code-intellisense/package.json
Original file line number Diff line number Diff line change
@@ -101,7 +101,7 @@
"@vscode/test-electron": "^2.4.1",
"esbuild": "^0.15.18",
"eslint": "^8.29.0",
"glob": "^10.0.0",
"glob": "^11.0.0",
"mocha": "^10.0.0",
"typescript": "^4.9.4",
"vsce": "^2.15.0"
53 changes: 52 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
@@ -27705,6 +27705,22 @@ fsevents@^1.2.7:
languageName: node
linkType: hard

"glob@npm:^11.0.0":
version: 11.0.0
resolution: "glob@npm:11.0.0"
dependencies:
foreground-child: ^3.1.0
jackspeak: ^4.0.1
minimatch: ^10.0.0
minipass: ^7.1.2
package-json-from-dist: ^1.0.0
path-scurry: ^2.0.0
bin:
glob: dist/esm/bin.mjs
checksum: 8a2dd914d5776987be5244624d9491bbcaf19f2387e06783737003ff696ebfd2264190c47014f8709c1c02d8bc892f17660cf986c587b107e194c0a3151ab333
languageName: node
linkType: hard

"glob@npm:^7.0.0, glob@npm:^7.0.6, glob@npm:^7.1.1, glob@npm:^7.1.2, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6, glob@npm:^7.2.0":
version: 7.2.3
resolution: "glob@npm:7.2.3"
@@ -30540,6 +30556,15 @@ fsevents@^1.2.7:
languageName: node
linkType: hard

"jackspeak@npm:^4.0.1":
version: 4.0.2
resolution: "jackspeak@npm:4.0.2"
dependencies:
"@isaacs/cliui": ^8.0.2
checksum: 210030029edfa1658328799ad88c3d0fc057c4cb8a069fc4137cc8d2cc4b65c9721c6e749e890f9ca77a954bb54f200f715b8896e50d330e5f3e902e72b40974
languageName: node
linkType: hard

"jake@npm:^10.8.5":
version: 10.8.5
resolution: "jake@npm:10.8.5"
@@ -33300,6 +33325,13 @@ fsevents@^1.2.7:
languageName: node
linkType: hard

"lru-cache@npm:^11.0.0":
version: 11.0.2
resolution: "lru-cache@npm:11.0.2"
checksum: f9c27c58919a30f42834de9444de9f75bcbbb802c459239f96dd449ad880d8f9a42f51556d13659864dc94ab2dbded9c4a4f42a3e25a45b6da01bb86111224df
languageName: node
linkType: hard

"lru-cache@npm:^4.0.0, lru-cache@npm:^4.0.1":
version: 4.1.5
resolution: "lru-cache@npm:4.1.5"
@@ -34801,6 +34833,15 @@ fsevents@^1.2.7:
languageName: node
linkType: hard

"minimatch@npm:^10.0.0":
version: 10.0.1
resolution: "minimatch@npm:10.0.1"
dependencies:
brace-expansion: ^2.0.1
checksum: f5b63c2f30606091a057c5f679b067f84a2cd0ffbd2dbc9143bda850afd353c7be81949ff11ae0c86988f07390eeca64efd7143ee05a0dab37f6c6b38a2ebb6c
languageName: node
linkType: hard

"minimatch@npm:^3.0.0, minimatch@npm:^3.0.2, minimatch@npm:^3.0.3, minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2":
version: 3.1.2
resolution: "minimatch@npm:3.1.2"
@@ -37580,6 +37621,16 @@ fsevents@^1.2.7:
languageName: node
linkType: hard

"path-scurry@npm:^2.0.0":
version: 2.0.0
resolution: "path-scurry@npm:2.0.0"
dependencies:
lru-cache: ^11.0.0
minipass: ^7.1.2
checksum: 9953ce3857f7e0796b187a7066eede63864b7e1dfc14bf0484249801a5ab9afb90d9a58fc533ebb1b552d23767df8aa6a2c6c62caf3f8a65f6ce336a97bbb484
languageName: node
linkType: hard

"path-to-regexp@npm:0.1.7":
version: 0.1.7
resolution: "path-to-regexp@npm:0.1.7"
@@ -45655,7 +45706,7 @@ resolve@^2.0.0-next.3:
base-64: 1.0.0
esbuild: ^0.15.18
eslint: ^8.29.0
glob: ^10.0.0
glob: ^11.0.0
lodash.camelcase: 4.3.0
lodash.kebabcase: 4.1.1
mocha: ^10.0.0

Unchanged files with check annotations Beta

const mockMapping = await generatePackageExportsMap(mockGetPastePackages);
expect(mockMapping).toEqual({
BOX_PROPS_TO_BLOCK: "@twilio-paste/core/box",

Check warning on line 37 in packages/paste-codemods/tools/__tests__/tools.spec.ts

GitHub Actions / Lint repository

Define a constant instead of duplicating this literal 4 times
Box: "@twilio-paste/core/box",
ComboboxPrimitive: "@twilio-paste/core/combobox-primitive",

Check warning on line 39 in packages/paste-codemods/tools/__tests__/tools.spec.ts

GitHub Actions / Lint repository

Define a constant instead of duplicating this literal 3 times
DisclosurePrimitive: "@twilio-paste/core/disclosure-primitive",

Check warning on line 40 in packages/paste-codemods/tools/__tests__/tools.spec.ts

GitHub Actions / Lint repository

Define a constant instead of duplicating this literal 3 times
DisclosurePrimitiveContent: "@twilio-paste/core/disclosure-primitive",
Stack: "@twilio-paste/core/stack",
getCustomElementStyles: "@twilio-paste/core/box",
const mapping = await generatePackageExportsMap();
// Write to disk
writeToFile(path.join(__dirname, ".cache/mappings.json"), mapping, {

Check warning on line 10 in packages/paste-codemods/tools/create-package-mappings.ts

GitHub Actions / Lint repository

Do not use "__dirname"
successMessage: "Wrote core packages export mapping to .cache/mappings.json file!",
errorMessage: "Could not generate mappings!",
formatJson: true,
let packageExports = {};
try {
// eslint-disable-next-line global-require, import/no-dynamic-require
packageExports = require(name);

Check warning on line 26 in packages/paste-codemods/tools/generatePackageExportsMap.ts

GitHub Actions / Lint repository

A `require()` style import is forbidden

Check warning on line 26 in packages/paste-codemods/tools/generatePackageExportsMap.ts

GitHub Actions / Lint repository

Do not use "require"
} catch (error) {
// eslint-disable-next-line no-console
console.log(`Failed to dynamically require package: ${name}`, error);
const { defineTest } = require("jscodeshift/dist/testUtils");

Check warning on line 1 in packages/paste-codemods/transforms/__tests__/barreled-to-unbarreled.spec.tsx

GitHub Actions / Lint repository

A `require()` style import is forbidden

Check warning on line 1 in packages/paste-codemods/transforms/__tests__/barreled-to-unbarreled.spec.tsx

GitHub Actions / Lint repository

Do not use "require"
defineTest(__dirname, "barreled-to-unbarreled", null, "barreled-to-unbarreled", { parser: "ts" });

Check warning on line 3 in packages/paste-codemods/transforms/__tests__/barreled-to-unbarreled.spec.tsx

GitHub Actions / Lint repository

Do not use "__dirname"
convertRawTokenJSONToArray({
"color-text-weak": {
type: "color",
category: "text-color",

Check warning on line 20 in packages/paste-color-contrast-utils/__tests__/colorContrastPairingUtils.spec.ts

GitHub Actions / Lint repository

Define a constant instead of duplicating this literal 7 times
value: "#aeb2c1",
comment: "Weaker body text for visual hierarchy. Inaccessible unless used on disabled controls.",
originalValue: "{!palette-gray-40}",