fix: reduce bundle size by patching actions/http-client undici import

This commit is contained in:
Amin Yahyaabadi 2024-08-29 17:13:37 -07:00
parent 56a945c190
commit d18470dcca
No known key found for this signature in database
GPG Key ID: F52AF77F636088F0
16 changed files with 297 additions and 170 deletions

View File

@ -10,6 +10,7 @@ ignorePaths:
- dev/cpp_vcpkg_project
- "**/node_modules/"
- .vscode/extensions.json
- patches/*.patch
words:
- aarch
- aminya

31
dist/actions/proxy-agent.de32b662.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

31
dist/legacy/proxy-agent.46c07807.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

31
dist/modern/proxy-agent.de32b662.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -226,5 +226,10 @@
"optimize": true,
"outputFormat": "commonjs"
}
},
"pnpm": {
"patchedDependencies": {
"@actions/http-client@2.2.1": "patches/@actions__http-client@2.2.1.patch"
}
}
}

File diff suppressed because one or more lines are too long

View File

@ -4,6 +4,11 @@ settings:
autoInstallPeers: true
excludeLinksFromLockfile: false
patchedDependencies:
'@actions/http-client@2.2.1':
hash: h2yxya57dhjhq5wjg77csg6jfq
path: patches/@actions__http-client@2.2.1.patch
importers:
.:
@ -16,7 +21,7 @@ importers:
version: 1.1.1
'@actions/http-client':
specifier: ^2.2.1
version: 2.2.1
version: 2.2.1(patch_hash=h2yxya57dhjhq5wjg77csg6jfq)
'@actions/io':
specifier: ^1.1.3
version: 1.1.3
@ -5481,7 +5486,7 @@ snapshots:
'@actions/core': 1.10.1
'@actions/exec': 1.1.1
'@actions/glob': 0.1.2
'@actions/http-client': 2.2.1
'@actions/http-client': 2.2.1(patch_hash=h2yxya57dhjhq5wjg77csg6jfq)
'@actions/io': 1.1.3
'@azure/abort-controller': 1.1.0
'@azure/ms-rest-js': 2.7.0(encoding@0.1.13)
@ -5494,7 +5499,7 @@ snapshots:
'@actions/core@1.10.1':
dependencies:
'@actions/http-client': 2.2.1
'@actions/http-client': 2.2.1(patch_hash=h2yxya57dhjhq5wjg77csg6jfq)
uuid: 8.3.2
'@actions/exec@1.1.1':
@ -5515,7 +5520,7 @@ snapshots:
dependencies:
tunnel: 0.0.6
'@actions/http-client@2.2.1':
'@actions/http-client@2.2.1(patch_hash=h2yxya57dhjhq5wjg77csg6jfq)':
dependencies:
tunnel: 0.0.6
undici: 5.28.4
@ -5535,7 +5540,7 @@ snapshots:
dependencies:
'@actions/core': 1.10.1
'@actions/exec': 1.1.1
'@actions/http-client': 2.2.1
'@actions/http-client': 2.2.1(patch_hash=h2yxya57dhjhq5wjg77csg6jfq)
'@actions/io': 1.1.3
semver: 6.3.1
uuid: 3.4.0