dprint 0.35.3 → 0.35.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/info.json +7 -7
- package/install_api.js +7 -0
- package/package.json +1 -1
package/info.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.35.
|
|
2
|
+
"version": "0.35.4",
|
|
3
3
|
"checksums": {
|
|
4
|
-
"x86_64-pc-windows-msvc": "
|
|
5
|
-
"x86_64-apple-darwin": "
|
|
6
|
-
"aarch64-apple-darwin": "
|
|
7
|
-
"x86_64-unknown-linux-gnu": "
|
|
8
|
-
"x86_64-unknown-linux-musl": "
|
|
9
|
-
"aarch64-unknown-linux-gnu": "
|
|
4
|
+
"x86_64-pc-windows-msvc": "50ac0366c5c20ace37fa2bef11f8826a5f68c1a28412b7751d89e38d7ce6c709",
|
|
5
|
+
"x86_64-apple-darwin": "179234c542ffc1f26e2dffc62884809d1fd0e781b49f95b938410b1b6450c20c",
|
|
6
|
+
"aarch64-apple-darwin": "be2a5b698a0a4837a76a7626288a16e1c1f4153463f630845f9def43057f79e2",
|
|
7
|
+
"x86_64-unknown-linux-gnu": "c17dc00a1dcddf663ab68816c5a8a155e06852250a517b13b10c81e1dd4e4999",
|
|
8
|
+
"x86_64-unknown-linux-musl": "a061268da99878970993d988b42de6324aea4cdce437fc1ca46ec51add4162dd",
|
|
9
|
+
"aarch64-unknown-linux-gnu": "1a810a4c28934b6e281686ae53fe0e1eba973caec245df8004d4452ffc61d306"
|
|
10
10
|
}
|
|
11
11
|
}
|
package/install_api.js
CHANGED
|
@@ -91,6 +91,13 @@ function install() {
|
|
|
91
91
|
const proxyUrl = getProxyUrl(url);
|
|
92
92
|
if (proxyUrl != null) {
|
|
93
93
|
options.agent = new HttpsProxyAgent(proxyUrl);
|
|
94
|
+
} else {
|
|
95
|
+
// Node 19+ defaults keepAlive to true for `https.get`, but contains a bug
|
|
96
|
+
// that prevents the process from exiting. Work around this by explicitly
|
|
97
|
+
// disabling keepAlive.
|
|
98
|
+
//
|
|
99
|
+
// See: https://github.com/nodejs/node/issues/47228
|
|
100
|
+
options.agent = new https.Agent({ keepAlive: false });
|
|
94
101
|
}
|
|
95
102
|
|
|
96
103
|
https.get(url, options, function(response) {
|