@definitelytyped/utils
Advanced tools
Comparing version 0.0.186 to 0.0.187
# @definitelytyped/utils | ||
## 0.0.187 | ||
### Patch Changes | ||
- 85379bf8: Fix writeJson helper, path and contents swapped | ||
## 0.0.186 | ||
@@ -4,0 +10,0 @@ |
@@ -86,3 +86,3 @@ "use strict"; | ||
function writeJson(path, content, formatted = true) { | ||
return fs_1.default.promises.writeFile(JSON.stringify(content, undefined, formatted ? 4 : undefined), path); | ||
return fs_1.default.promises.writeFile(path, JSON.stringify(content, undefined, formatted ? 4 : undefined)); | ||
} | ||
@@ -89,0 +89,0 @@ exports.writeJson = writeJson; |
{ | ||
"name": "@definitelytyped/utils", | ||
"version": "0.0.186", | ||
"version": "0.0.187", | ||
"description": "Shared utilities for DefinitelyTyped tools", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/microsoft/DefinitelyTyped-tools/tree/master/packages/utils#readme", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
129741