New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@monodeploy/changelog

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@monodeploy/changelog - npm Package Compare versions

Comparing version 0.2.6 to 0.3.0

26

lib/writeChangesetFile.js

@@ -41,15 +41,21 @@ "use strict";

const changesetPath = _path.default.resolve(config.cwd, config.changesetFilename);
const serializedData = JSON.stringify(changesetData, null, 2);
await _fs.promises.mkdir(_path.default.dirname(changesetPath), {
recursive: true
});
await _fs.promises.writeFile(changesetPath, JSON.stringify(changesetData, null, 2), {
encoding: 'utf8'
});
if (config.changesetFilename === '-') {
console.log(serializedData);
} else {
const changesetPath = _path.default.resolve(config.cwd, config.changesetFilename);
_logging.default.info(`[Changeset] Written to: ${changesetPath}`, {
report: context.report
});
await _fs.promises.mkdir(_path.default.dirname(changesetPath), {
recursive: true
});
await _fs.promises.writeFile(changesetPath, serializedData, {
encoding: 'utf8'
});
_logging.default.info(`[Changeset] Written to: ${changesetPath}`, {
report: context.report
});
}
return changesetData;

@@ -56,0 +62,0 @@ };

{
"name": "@monodeploy/changelog",
"version": "0.2.6",
"version": "0.3.0",
"repository": "git@github.com:tophat/monodeploy.git",

@@ -5,0 +5,0 @@ "author": "Top Hat Monocle Corp. <opensource@tophat.com>",

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