Skip to content

Commit 941dfbd

Browse files
committed
Upgrade glob to v10
1 parent d915fd0 commit 941dfbd

File tree

8 files changed

+46
-18
lines changed

8 files changed

+46
-18
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"eslint-config-prettier": "^10.1.5",
2727
"eslint-plugin-simple-import-sort": "^12.1.0",
2828
"eslint-plugin-unused-imports": "^4.0.0",
29-
"glob": "8.0.3",
29+
"glob": "^10",
3030
"jest": "^29.6.2",
3131
"jest-in-case": "^1.0.2",
3232
"lerna": "^6",

packages/ast/test-utils/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
QueryMsg,
88
} from '@cosmwasm/ts-codegen-types';
99
import { readFileSync } from 'fs';
10-
import { sync as glob } from 'glob';
10+
import { globSync as glob } from 'glob';
1111
import { join } from 'path';
1212

1313
import { RenderContext } from '../src/context';

packages/ts-codegen/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"dargs": "7.0.0",
5454
"deepmerge": "4.2.2",
5555
"fuzzy": "0.1.3",
56-
"glob": "8.0.3",
56+
"glob": "^10",
5757
"inquirerer": "0.1.3",
5858
"minimist": "1.2.6",
5959
"mkdirp": "1.0.4",

packages/ts-codegen/scripts/cmds.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const fs = require('fs');
22
const path = require('path');
3-
const glob = require('glob').sync;
3+
const { globSync: glob } = require('glob');
44
const Case = require('case');
55
const srcDir = path.resolve(`${__dirname}/../src/commands`);
66

packages/ts-codegen/src/commands/create-boilerplate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as shell from 'shelljs';
44

55
import { prompt } from '../utils/prompt';
66

7-
const glob = require('glob').sync;
7+
const { globSync: glob } = require('glob');
88
const fs = require('fs');
99
const path = require('path');
1010

packages/ts-codegen/src/commands/install.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { MinimistArgs } from '@cosmwasm/ts-codegen-types';
22
import { readFileSync, writeFileSync } from 'fs';
3-
import { sync as glob } from 'glob';
3+
import { globSync as glob } from 'glob';
44
import { sync as mkdirp } from 'mkdirp';
55
import { tmpdir } from 'os';
66
import { parse } from 'parse-package-name';

packages/ts-codegen/src/utils/schemas.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
} from '@cosmwasm/ts-codegen-types';
88
import { compile } from '@pyramation/json-schema-to-typescript';
99
import { readFileSync } from 'fs';
10-
import { sync as glob } from 'glob';
10+
import { globSync as glob } from 'glob';
1111

1212
import { cleanse } from './cleanse';
1313
import { parser } from './parse';

yarn.lock

Lines changed: 39 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3625,17 +3625,6 @@ [email protected]:
36253625
once "^1.3.0"
36263626
path-is-absolute "^1.0.0"
36273627

3628-
3629-
version "8.0.3"
3630-
resolved "https://registry.yarnpkg.com/glob/-/glob-8.0.3.tgz#415c6eb2deed9e502c68fa44a272e6da6eeca42e"
3631-
integrity sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==
3632-
dependencies:
3633-
fs.realpath "^1.0.0"
3634-
inflight "^1.0.4"
3635-
inherits "2"
3636-
minimatch "^5.0.1"
3637-
once "^1.3.0"
3638-
36393628
[email protected], glob@^8.0.1:
36403629
version "8.1.0"
36413630
resolved "https://registry.yarnpkg.com/glob/-/glob-8.1.0.tgz#d388f656593ef708ee3e34640fdfb99a9fd1c33e"
@@ -3647,6 +3636,18 @@ [email protected], glob@^8.0.1:
36473636
minimatch "^5.0.1"
36483637
once "^1.3.0"
36493638

3639+
glob@^10:
3640+
version "10.4.5"
3641+
resolved "https://registry.yarnpkg.com/glob/-/glob-10.4.5.tgz#f4d9f0b90ffdbab09c9d77f5f29b4262517b0956"
3642+
integrity sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==
3643+
dependencies:
3644+
foreground-child "^3.1.0"
3645+
jackspeak "^3.1.2"
3646+
minimatch "^9.0.4"
3647+
minipass "^7.1.2"
3648+
package-json-from-dist "^1.0.0"
3649+
path-scurry "^1.11.1"
3650+
36503651
glob@^10.0.0, glob@^10.2.2:
36513652
version "10.3.12"
36523653
resolved "https://registry.yarnpkg.com/glob/-/glob-10.3.12.tgz#3a65c363c2e9998d220338e88a5f6ac97302960b"
@@ -4332,6 +4333,15 @@ jackspeak@^2.3.6:
43324333
optionalDependencies:
43334334
"@pkgjs/parseargs" "^0.11.0"
43344335

4336+
jackspeak@^3.1.2:
4337+
version "3.4.3"
4338+
resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-3.4.3.tgz#8833a9d89ab4acde6188942bd1c53b6390ed5a8a"
4339+
integrity sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==
4340+
dependencies:
4341+
"@isaacs/cliui" "^8.0.2"
4342+
optionalDependencies:
4343+
"@pkgjs/parseargs" "^0.11.0"
4344+
43354345
jake@^10.8.5:
43364346
version "10.8.7"
43374347
resolved "https://registry.yarnpkg.com/jake/-/jake-10.8.7.tgz#63a32821177940c33f356e0ba44ff9d34e1c7d8f"
@@ -5387,6 +5397,11 @@ minipass@^5.0.0:
53875397
resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.0.4.tgz#dbce03740f50a4786ba994c1fb908844d27b038c"
53885398
integrity sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==
53895399

5400+
minipass@^7.1.2:
5401+
version "7.1.2"
5402+
resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.2.tgz#93a9626ce5e5e66bd4db86849e7515e92340a707"
5403+
integrity sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==
5404+
53905405
minizlib@^2.1.1, minizlib@^2.1.2:
53915406
version "2.1.2"
53925407
resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-2.1.2.tgz#e90d3466ba209b932451508a11ce3d3632145931"
@@ -5989,6 +6004,11 @@ [email protected]:
59896004
dependencies:
59906005
p-reduce "^2.0.0"
59916006

6007+
package-json-from-dist@^1.0.0:
6008+
version "1.0.1"
6009+
resolved "https://registry.yarnpkg.com/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz#4f1471a010827a86f94cfd9b0727e36d267de505"
6010+
integrity sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==
6011+
59926012
59936013
version "15.1.1"
59946014
resolved "https://registry.yarnpkg.com/pacote/-/pacote-15.1.1.tgz#94d8c6e0605e04d427610b3aacb0357073978348"
@@ -6128,6 +6148,14 @@ path-scurry@^1.10.2, path-scurry@^1.6.1:
61286148
lru-cache "^10.2.0"
61296149
minipass "^5.0.0 || ^6.0.2 || ^7.0.0"
61306150

6151+
path-scurry@^1.11.1:
6152+
version "1.11.1"
6153+
resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.11.1.tgz#7960a668888594a0720b12a911d1a742ab9f11d2"
6154+
integrity sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==
6155+
dependencies:
6156+
lru-cache "^10.2.0"
6157+
minipass "^5.0.0 || ^6.0.2 || ^7.0.0"
6158+
61316159
path-type@^3.0.0:
61326160
version "3.0.0"
61336161
resolved "https://registry.yarnpkg.com/path-type/-/path-type-3.0.0.tgz#cef31dc8e0a1a3bb0d105c0cd97cf3bf47f4e36f"

0 commit comments

Comments
 (0)