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

contentful-migration

Package Overview
Dependencies
Maintainers
4
Versions
246
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

contentful-migration - npm Package Compare versions

Comparing version 4.22.0 to 4.22.1

6

built/bin/lib/steps-errors.js

@@ -30,2 +30,3 @@ "use strict";

const fs = __importStar(require("fs"));
const url = __importStar(require("url"));
const cardinal = __importStar(require("cardinal"));

@@ -52,6 +53,7 @@ const _ = __importStar(require("lodash"));

for (const file of Object.keys(errorsByFile)) {
const fileContents = fs.readFileSync(file, 'utf-8');
const filePath = file.startsWith(`file://`) ? url.fileURLToPath(file) : file;
const fileContents = fs.readFileSync(filePath, 'utf-8');
const highlightedCode = cardinal.highlight(fileContents, { linenos: true });
const lines = highlightedCode.split('\n');
const fileErrorsMessage = (0, chalk_1.default) `{red Errors in ${file}}\n\n`;
const fileErrorsMessage = (0, chalk_1.default) `{red Errors in ${filePath}}\n\n`;
const errorMessages = errorsByFile[file]

@@ -58,0 +60,0 @@ .map((error) => {

@@ -1,7 +0,7 @@

# [4.22.0](https://github.com/contentful/contentful-migration/compare/v4.21.0...v4.22.0) (2024-06-25)
## [4.22.1](https://github.com/contentful/contentful-migration/compare/v4.22.0...v4.22.1) (2024-07-11)
### Features
### Bug Fixes
* allow strikethrough ([6be9361](https://github.com/contentful/contentful-migration/commit/6be9361c56efe8e3c8cb8b81a82628ddb0d2672f))
* fixes issue [#1332](https://github.com/contentful/contentful-migration/issues/1332) `no such file or directory` when migration fails ([#1333](https://github.com/contentful/contentful-migration/issues/1333)) ([59321bb](https://github.com/contentful/contentful-migration/commit/59321bbadc5ff4049e6ef1b495ce03f16362f877))

@@ -8,0 +8,0 @@ # Change Log

{
"name": "contentful-migration",
"version": "4.22.0",
"version": "4.22.1",
"description": "Migration tooling for contentful",

@@ -5,0 +5,0 @@ "author": "Contentful GmbH",

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