Socket
Socket
Sign inDemoInstall

@definitelytyped/utils

Package Overview
Dependencies
Maintainers
7
Versions
260
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@definitelytyped/utils - npm Package Compare versions

Comparing version 0.0.186 to 0.0.187

6

CHANGELOG.md
# @definitelytyped/utils
## 0.0.187
### Patch Changes
- 85379bf8: Fix writeJson helper, path and contents swapped
## 0.0.186

@@ -4,0 +10,0 @@

2

dist/io.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc