Skip to content

Commit

Permalink
fix socks dep
Browse files Browse the repository at this point in the history
  • Loading branch information
flying-sheep committed Feb 13, 2025
1 parent 6a79213 commit 9d2a989
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 11 deletions.
8 changes: 6 additions & 2 deletions src/build-tools/rollup-plugin-renderdoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,13 @@ export const DEFAULT_CONVERTERS: { [ext: string]: Converter } = {
export const renderdoc = (config: Partial<Config> = {}): Plugin => {
const converters = config.converters ?? DEFAULT_CONVERTERS
const include: string[] =
typeof config.include === 'string' ? [config.include] : config.include ?? []
typeof config.include === 'string'
? [config.include]
: (config.include ?? [])
const exclude: string[] =
typeof config.exclude === 'string' ? [config.exclude] : config.exclude ?? []
typeof config.exclude === 'string'
? [config.exclude]
: (config.exclude ?? [])
const patterns = include.concat(exclude.map((pattern) => `!${pattern}`))

async function loadPosts(ctx: PluginContext, dir: string) {
Expand Down
2 changes: 1 addition & 1 deletion src/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
.slide-routes > .item {
overflow-inline: auto;
}
.slide-routes > .item:has([class$='-active'], [class*='-active ']) {
.slide-routes > .item:has([class$="-active"], [class*="-active "]) {
overflow-inline: auto;
}
33 changes: 25 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2794,10 +2794,13 @@ __metadata:
languageName: node
linkType: hard

"ip@npm:^2.0.0":
version: 2.0.1
resolution: "ip@npm:2.0.1"
checksum: 10/d6dd154e1bc5e8725adfdd6fb92218635b9cbe6d873d051bd63b178f009777f751a5eea4c67021723a7056325fc3052f8b6599af0a2d56f042c93e684b4a0349
"ip-address@npm:^9.0.5":
version: 9.0.5
resolution: "ip-address@npm:9.0.5"
dependencies:
jsbn: "npm:1.1.0"
sprintf-js: "npm:^1.1.3"
checksum: 10/1ed81e06721af012306329b31f532b5e24e00cb537be18ddc905a84f19fe8f83a09a1699862bf3a1ec4b9dea93c55a3fa5faf8b5ea380431469df540f38b092c
languageName: node
linkType: hard

Expand Down Expand Up @@ -2964,6 +2967,13 @@ __metadata:
languageName: node
linkType: hard

"jsbn@npm:1.1.0":
version: 1.1.0
resolution: "jsbn@npm:1.1.0"
checksum: 10/bebe7ae829bbd586ce8cbe83501dd8cb8c282c8902a8aeeed0a073a89dc37e8103b1244f3c6acd60278bcbfe12d93a3f83c9ac396868a3b3bbc3c5e5e3b648ef
languageName: node
linkType: hard

"jsesc@npm:^3.0.2":
version: 3.0.2
resolution: "jsesc@npm:3.0.2"
Expand Down Expand Up @@ -4478,12 +4488,12 @@ __metadata:
linkType: hard

"socks@npm:^2.6.2":
version: 2.7.1
resolution: "socks@npm:2.7.1"
version: 2.8.4
resolution: "socks@npm:2.8.4"
dependencies:
ip: "npm:^2.0.0"
ip-address: "npm:^9.0.5"
smart-buffer: "npm:^4.2.0"
checksum: 10/5074f7d6a13b3155fa655191df1c7e7a48ce3234b8ccf99afa2ccb56591c195e75e8bb78486f8e9ea8168e95a29573cbaad55b2b5e195160ae4d2ea6811ba833
checksum: 10/ab3af97aeb162f32c80e176c717ccf16a11a6ebb4656a62b94c0f96495ea2a1f4a8206c04b54438558485d83d0c5f61920c07a1a5d3963892a589b40cc6107dd
languageName: node
linkType: hard

Expand All @@ -4508,6 +4518,13 @@ __metadata:
languageName: node
linkType: hard

"sprintf-js@npm:^1.1.3":
version: 1.1.3
resolution: "sprintf-js@npm:1.1.3"
checksum: 10/e7587128c423f7e43cc625fe2f87e6affdf5ca51c1cc468e910d8aaca46bb44a7fbcfa552f787b1d3987f7043aeb4527d1b99559e6621e01b42b3f45e5a24cbb
languageName: node
linkType: hard

"sprintf-js@npm:~1.0.2":
version: 1.0.3
resolution: "sprintf-js@npm:1.0.3"
Expand Down

0 comments on commit 9d2a989

Please sign in to comment.