@contember/schema-migrations
Advanced tools
Comparing version 1.2.0-alpha.19 to 1.2.0-beta.1
@@ -15,3 +15,2 @@ "use strict"; | ||
return (await this.migrationFilesManager.readFiles()).map(({ filename, content }) => { | ||
var _a; | ||
const parsed = JSON.parse(content); | ||
@@ -23,3 +22,3 @@ return { | ||
modifications: parsed.modifications, | ||
skippedErrors: (_a = parsed.skippedErrors) !== null && _a !== void 0 ? _a : [], | ||
...(parsed.skippedErrors ? { skippedErrors: parsed.skippedErrors } : {}), | ||
}; | ||
@@ -26,0 +25,0 @@ }); |
{ | ||
"name": "@contember/schema-migrations", | ||
"version": "1.2.0-alpha.19", | ||
"version": "1.2.0-beta.1", | ||
"license": "Apache-2.0", | ||
@@ -11,6 +11,6 @@ "main": "dist/src/index.js", | ||
"dependencies": { | ||
"@contember/database": "^1.2.0-alpha.19", | ||
"@contember/database-migrations": "^1.2.0-alpha.19", | ||
"@contember/schema": "^1.2.0-alpha.19", | ||
"@contember/schema-utils": "^1.2.0-alpha.19", | ||
"@contember/database": "^1.2.0-beta.1", | ||
"@contember/database-migrations": "^1.2.0-beta.1", | ||
"@contember/schema": "^1.2.0-beta.1", | ||
"@contember/schema-utils": "^1.2.0-beta.1", | ||
"fast-deep-equal": "^3.1.3", | ||
@@ -20,3 +20,3 @@ "rfc6902": "^5.0.1" | ||
"devDependencies": { | ||
"@contember/schema-definition": "^1.2.0-alpha.19" | ||
"@contember/schema-definition": "^1.2.0-beta.1" | ||
}, | ||
@@ -23,0 +23,0 @@ "peerDependencies": { |
@@ -21,3 +21,3 @@ import { MigrationFilesManager } from './MigrationFilesManager' | ||
modifications: parsed.modifications, | ||
skippedErrors: parsed.skippedErrors ?? [], | ||
...(parsed.skippedErrors ? { skippedErrors: parsed.skippedErrors } : {}), | ||
} | ||
@@ -24,0 +24,0 @@ }) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1040907
15731