dprint 0.35.3 → 0.36.0

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 CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
- "version": "0.35.3",
2
+ "version": "0.36.0",
3
3
  "checksums": {
4
- "x86_64-pc-windows-msvc": "720bdac6fbd322908d9b8d3615ae72d8c79ac4c557f43a6ce7980b7e190d6f4d",
5
- "x86_64-apple-darwin": "1a80a4156e86c3d3d6ad4725bc0638a2456363bff4216d1cfd52cae899544cc1",
6
- "aarch64-apple-darwin": "49f814ef2899c3684564a3fa46c17453850c3105aff1f3a88ff3babaadc054bd",
7
- "x86_64-unknown-linux-gnu": "dad2fcac789876408fff6e92c2cc8e414c0f6e7cbfabd63ce5c25f6e68d4aa4c",
8
- "x86_64-unknown-linux-musl": "05c109b7174c76345d04903fb6e16548de6ae684b24fc3849dccaa9e940fe5f0",
9
- "aarch64-unknown-linux-gnu": "d285f1f0a6688c446049dce02ca612794ea4ad0bcbc865d8aa6cad59e843576d"
4
+ "x86_64-pc-windows-msvc": "beb17dc24c4e847334f7b4d06400e4de5d7931827f64ea43c1eb2c08f3cb9410",
5
+ "x86_64-apple-darwin": "c55f6410fb879e2fad53ee9599172c40ee9446c5e69c04abc123b3d8346e63e2",
6
+ "aarch64-apple-darwin": "9220f02afcf6c016156695d9cdf9914e47bab8e8a29678d39f27387080940be7",
7
+ "x86_64-unknown-linux-gnu": "47c84e40244e1ed019bd7a3939376f7c3b2b06af1eacf198142c8caef50aa926",
8
+ "x86_64-unknown-linux-musl": "fd5dfb6f63389413984166c05754274d2ac9685f2a54e80619b016d7f527ea17",
9
+ "aarch64-unknown-linux-gnu": "eda55e333246c6c22dcf624f1e8d38fa154ca460e705dd3f819449ba369fef5d"
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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dprint",
3
- "version": "0.35.3",
3
+ "version": "0.36.0",
4
4
  "description": "Pluggable and configurable code formatting platform written in Rust.",
5
5
  "bin": "bin.js",
6
6
  "scripts": {