Skip to content

Commit 3b99bd6

Browse files
authored
chore: update deps that reported by snyk (#12335)
1 parent 4b603ad commit 3b99bd6

File tree

10 files changed

+164
-116
lines changed

10 files changed

+164
-116
lines changed

packages/plugins/RedPacket/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"@masknet/web3-telemetry": "workspace:^",
3737
"@servie/events": "^3.0.0",
3838
"@solana/spl-token": "^0.4.9",
39-
"@solana/web3.js": "^1.75.0",
39+
"@solana/web3.js": "^1.98.1",
4040
"@tanstack/react-query": "^5.49.2",
4141
"bignumber.js": "9.1.2",
4242
"date-fns": "^3.6.0",

packages/scripts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
"chalk": "^5.3.0",
2020
"dotenv": "^16.4.5",
2121
"fs-extra": "^11.2.0",
22-
"glob": "^10.4.2",
2322
"proper-lockfile": "^4.1.2",
2423
"rimraf": "^6.0.1",
2524
"source-map": "^0.7.4",
25+
"tinyglobby": "^0.2.15",
2626
"typechain": "^8.3.2",
2727
"yargs": "^17.7.2"
2828
},

packages/scripts/src/codegen/icon-codegen.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const SOURCEMAP_HEAD = '//# sourceMappingURL='
5858
async function generateIcons() {
5959
const { SourceMapGenerator } = await import('source-map')
6060
const { transform } = await import('@swc/core')
61-
const { glob } = await import('glob')
61+
const { glob } = await import('tinyglobby')
6262
const asJSX = {
6363
js: [
6464
//
@@ -79,7 +79,7 @@ async function generateIcons() {
7979

8080
const relativePrefix = iconRoot.toString().length
8181
/* cspell:disable-next-line */
82-
const filePaths = await glob(pattern, { cwd: ROOT_PATH, nodir: true })
82+
const filePaths = await glob(pattern, { cwd: ROOT_PATH, onlyFiles: true })
8383

8484
const variants: Record<
8585
string,

packages/scripts/src/linter/index-lint.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import ts from 'typescript'
55

66
const pattern = 'packages/**/index.ts'
77
export async function lintIndex() {
8-
const { glob } = await import('glob')
8+
const { glob } = await import('tinyglobby')
99
/* cspell:disable-next-line */
10-
const filePaths = await glob(pattern, { cwd: ROOT_PATH, nodir: true, ignore: ['**/node_modules/**'] })
10+
const filePaths = await glob(pattern, { cwd: ROOT_PATH, onlyFiles: true, ignore: ['**/node_modules/**'] })
1111

1212
const hasSideEffect: string[] = []
1313
await Promise.all(

packages/scripts/src/linter/package-json.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import { ROOT_PATH } from '../utils/paths.ts'
44

55
const pattern = 'packages/**/package.json'
66
export async function lintPackageJson() {
7-
const { glob } = await import('glob')
7+
const { glob } = await import('tinyglobby')
88
/* cspell:disable-next-line */
9-
const filePaths = await glob(pattern, { cwd: ROOT_PATH, nodir: true, ignore: ['**/node_modules/**'] })
9+
const filePaths = await glob(pattern, { cwd: ROOT_PATH, onlyFiles: true, ignore: ['**/node_modules/**'] })
1010

1111
const sideEffects: string[] = []
1212
const type: string[] = []

packages/scripts/src/linter/po-files.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import { ROOT_PATH } from '../utils/paths.ts'
55
const pattern = 'packages/**/locale/*.po'
66

77
export async function cleanPo() {
8-
const { glob } = await import('glob')
8+
const { glob } = await import('tinyglobby')
99
/* cspell:disable-next-line */
10-
const filePaths = await glob(pattern, { cwd: ROOT_PATH, nodir: true, ignore: ['**/node_modules/**'] })
10+
const filePaths = await glob(pattern, { cwd: ROOT_PATH, onlyFiles: true, ignore: ['**/node_modules/**'] })
1111

1212
await Promise.all(
1313
filePaths.map((file) =>

packages/shared-base/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"@types/json-stable-stringify": "^1.0.36",
2727
"async-call-rpc": "^6.4.2",
2828
"bignumber.js": "9.1.2",
29-
"dompurify": "^3.1.5",
29+
"dompurify": "^3.3.1",
3030
"idb": "^8.0.0",
3131
"json-stable-stringify": "^1.1.1",
3232
"pvtsutils": "^1.3.5",

packages/web3-providers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"@servie/events": "^3.0.0",
5656
"@solana/buffer-layout": "^4.0.1",
5757
"@solana/spl-token": "^0.4.9",
58-
"@solana/web3.js": "^1.75.0",
58+
"@solana/web3.js": "^1.98.1",
5959
"@walletconnect/sign-client": "^2.10.5",
6060
"@walletconnect/utils": "^2.10.5",
6161
"bignumber.js": "9.1.2",

packages/web3-shared/solana/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@masknet/shared-base": "workspace:^",
2020
"@masknet/web3-constants": "workspace:^",
2121
"@masknet/web3-shared-base": "workspace:^",
22-
"@solana/web3.js": "^1.75.0",
22+
"@solana/web3.js": "^1.98.1",
2323
"@types/bs58": "^4.0.4",
2424
"bs58": "^5.0.0",
2525
"buffer": "^6.0.3"

pnpm-lock.yaml

Lines changed: 151 additions & 103 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)