contentful-batch-libs
Advanced tools
Comparing version 9.4.0 to 9.4.1
@@ -22,2 +22,4 @@ "use strict"; | ||
var _parseISO = _interopRequireDefault(require("date-fns/parseISO")); | ||
var _getEntityName = _interopRequireDefault(require("./get-entity-name")); | ||
@@ -139,3 +141,3 @@ | ||
console.log(`\n\nThe following ${errorsCount} errors and ${warningsCount} warnings occurred:\n`); | ||
errorLog.map(logMessage => `${(0, _format.default)(logMessage.ts, 'HH:mm:ss')} - ${formatLogMessageOneLine(logMessage)}`).map(logMessage => console.log(logMessage)); | ||
errorLog.map(logMessage => `${(0, _format.default)((0, _parseISO.default)(logMessage.ts), 'HH:mm:ss')} - ${formatLogMessageOneLine(logMessage)}`).map(logMessage => console.log(logMessage)); | ||
return; | ||
@@ -142,0 +144,0 @@ } |
{ | ||
"name": "contentful-batch-libs", | ||
"version": "9.4.0", | ||
"version": "9.4.1", | ||
"description": "Library modules used by contentful batch utility CLI tools.", | ||
"main": "dist/index.js", | ||
"types": "types.d.ts", | ||
"engines": { | ||
@@ -13,3 +14,3 @@ "node": ">=12" | ||
"clean": "rimraf dist && rimraf coverage", | ||
"lint": "eslint lib test/* test", | ||
"lint": "eslint lib test/* test types.d.ts", | ||
"pretest": "npm run lint", | ||
@@ -38,2 +39,3 @@ "test": "jest", | ||
"@types/lodash.clonedeep": "^4.5.7", | ||
"@types/node": "^17.0.38", | ||
"@typescript-eslint/eslint-plugin": "^5.22.0", | ||
@@ -44,2 +46,4 @@ "babel-eslint": "^8.2.2", | ||
"babel-preset-env": "^1.7.0", | ||
"contentful": "^9.1.31", | ||
"contentful-management": "^10.6.0", | ||
"cz-conventional-changelog": "^3.3.0", | ||
@@ -54,2 +58,3 @@ "eslint": "^8.3.0", | ||
"jest": "^27.3.1", | ||
"listr2": "^4.0.5", | ||
"rimraf": "^3.0.2", | ||
@@ -60,3 +65,4 @@ "semantic-release": "^18.0.1" | ||
"dist", | ||
"test" | ||
"test", | ||
"types.d.ts" | ||
], | ||
@@ -63,0 +69,0 @@ "repository": { |
@@ -29,3 +29,3 @@ import { | ||
{ | ||
ts: new Date('2018-01-01T01:01:43+01:00'), | ||
ts: new Date('2018-01-01T01:01:43+01:00').toJSON(), | ||
level: 'warning', | ||
@@ -35,3 +35,3 @@ warning: 'warning text' | ||
{ | ||
ts: new Date('2018-02-02T02:02:22+01:00'), | ||
ts: new Date('2018-02-02T02:02:22+01:00').toJSON(), | ||
level: 'error', | ||
@@ -38,0 +38,0 @@ error: new Error('error message') |
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
41717
105382
16
1128
24