dprint 0.45.0 → 0.46.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.
Files changed (2) hide show
  1. package/install_api.js +1 -1
  2. package/package.json +8 -8
package/install_api.js CHANGED
@@ -155,7 +155,7 @@ function atomicCopyFileSync(sourcePath, destinationPath) {
155
155
  // will maybe throw when another process had already done this
156
156
  // so just ignore and delete the created temporary file
157
157
  try {
158
- fs.unlikSync(tempFilePath);
158
+ fs.unlinkSync(tempFilePath);
159
159
  } catch (_err2) {
160
160
  // ignore
161
161
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dprint",
3
- "version": "0.45.0",
3
+ "version": "0.46.0",
4
4
  "description": "Pluggable and configurable code formatting platform written in Rust.",
5
5
  "bin": "bin.js",
6
6
  "repository": {
@@ -22,12 +22,12 @@
22
22
  "postinstall": "node ./install.js"
23
23
  },
24
24
  "optionalDependencies": {
25
- "@dprint/win32-x64": "0.45.0",
26
- "@dprint/darwin-x64": "0.45.0",
27
- "@dprint/darwin-arm64": "0.45.0",
28
- "@dprint/linux-x64-glibc": "0.45.0",
29
- "@dprint/linux-x64-musl": "0.45.0",
30
- "@dprint/linux-arm64-glibc": "0.45.0",
31
- "@dprint/linux-arm64-musl": "0.45.0"
25
+ "@dprint/win32-x64": "0.46.0",
26
+ "@dprint/darwin-x64": "0.46.0",
27
+ "@dprint/darwin-arm64": "0.46.0",
28
+ "@dprint/linux-x64-glibc": "0.46.0",
29
+ "@dprint/linux-x64-musl": "0.46.0",
30
+ "@dprint/linux-arm64-glibc": "0.46.0",
31
+ "@dprint/linux-arm64-musl": "0.46.0"
32
32
  }
33
33
  }