Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@contember/schema-migrations

Package Overview
Dependencies
Maintainers
5
Versions
261
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contember/schema-migrations - npm Package Compare versions

Comparing version 1.3.0-alpha.2 to 1.3.0-alpha.4

dist/src/modifications/actions/CreateTargetModification.d.ts

10

dist/src/modifications/ModificationHandlerFactory.js

@@ -15,2 +15,6 @@ "use strict";

const settings_1 = require("./settings");
const actions_1 = require("./actions");
const CreateTargetModification_1 = require("./actions/CreateTargetModification");
const RemoveTargetModification_1 = require("./actions/RemoveTargetModification");
const UpdateTargetModification_1 = require("./actions/UpdateTargetModification");
const UpdateEntityOrderByModification_1 = require("./entities/UpdateEntityOrderByModification");

@@ -67,2 +71,8 @@ class ModificationHandlerFactory {

UpdateEntityOrderByModification_1.updateEntityOrderByModification,
actions_1.createTriggerModification,
actions_1.updateTriggerModification,
actions_1.removeTriggerModification,
CreateTargetModification_1.createTargetModification,
UpdateTargetModification_1.updateTargetModification,
RemoveTargetModification_1.removeTargetModification,
];

@@ -69,0 +79,0 @@ ModificationHandlerFactory.defaultFactoryMap = Object.fromEntries(handlers.map(it => [it.id, it]));

@@ -9,2 +9,6 @@ "use strict";

const indexes_1 = require("./modifications/indexes");
const actions_1 = require("./modifications/actions");
const UpdateTargetModification_1 = require("./modifications/actions/UpdateTargetModification");
const CreateTargetModification_1 = require("./modifications/actions/CreateTargetModification");
const RemoveTargetModification_1 = require("./modifications/actions/RemoveTargetModification");
const settings_1 = require("./modifications/settings");

@@ -62,2 +66,8 @@ class SchemaDiffer {

new modifications_1.UpdateEntityOrderByDiffer(),
new UpdateTargetModification_1.UpdateTargetDiffer(),
new CreateTargetModification_1.CreateTargetDiffer(),
new actions_1.UpdateTriggerDiffer(),
new actions_1.CreateTriggerDiffer(),
new actions_1.RemoveTriggerDiffer(),
new RemoveTargetModification_1.RemoveTargetDiffer(),
];

@@ -64,0 +74,0 @@ const diffs = [];

14

package.json
{
"name": "@contember/schema-migrations",
"version": "1.3.0-alpha.2",
"version": "1.3.0-alpha.4",
"license": "Apache-2.0",

@@ -11,7 +11,7 @@ "main": "dist/src/index.js",

"dependencies": {
"@contember/database": "^1.3.0-alpha.2",
"@contember/database-migrations": "^1.3.0-alpha.2",
"@contember/engine-common": "^1.3.0-alpha.2",
"@contember/schema": "^1.3.0-alpha.2",
"@contember/schema-utils": "^1.3.0-alpha.2",
"@contember/database": "^1.3.0-alpha.4",
"@contember/database-migrations": "^1.3.0-alpha.4",
"@contember/engine-common": "^1.3.0-alpha.4",
"@contember/schema": "^1.3.0-alpha.4",
"@contember/schema-utils": "^1.3.0-alpha.4",
"fast-deep-equal": "^3.1.3",

@@ -21,3 +21,3 @@ "rfc6902": "^5.0.1"

"devDependencies": {
"@contember/schema-definition": "^1.3.0-alpha.2"
"@contember/schema-definition": "^1.3.0-alpha.4"
},

@@ -24,0 +24,0 @@ "peerDependencies": {

@@ -34,2 +34,6 @@ import { Schema } from '@contember/schema'

import { updateSettingsModification } from './settings'
import { createTriggerModification, removeTriggerModification, updateTriggerModification } from './actions'
import { createTargetModification } from './actions/CreateTargetModification'
import { removeTargetModification } from './actions/RemoveTargetModification'
import { updateTargetModification } from './actions/UpdateTargetModification'
import { updateEntityOrderByModification } from './entities/UpdateEntityOrderByModification'

@@ -89,2 +93,8 @@

updateEntityOrderByModification,
createTriggerModification,
updateTriggerModification,
removeTriggerModification,
createTargetModification,
updateTargetModification,
removeTargetModification,
]

@@ -91,0 +101,0 @@

@@ -48,2 +48,6 @@ import { Schema } from '@contember/schema'

import { SchemaWithMeta } from './modifications/utils/schemaMeta'
import { CreateTriggerDiffer, RemoveTriggerDiffer, UpdateTriggerDiffer } from './modifications/actions'
import { UpdateTargetDiffer } from './modifications/actions/UpdateTargetModification'
import { CreateTargetDiffer } from './modifications/actions/CreateTargetModification'
import { RemoveTargetDiffer } from './modifications/actions/RemoveTargetModification'
import { UpdateSettingsDiffer } from './modifications/settings'

@@ -107,2 +111,8 @@

new UpdateEntityOrderByDiffer(),
new UpdateTargetDiffer(),
new CreateTargetDiffer(),
new UpdateTriggerDiffer(),
new CreateTriggerDiffer(),
new RemoveTriggerDiffer(),
new RemoveTargetDiffer(),
]

@@ -109,0 +119,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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