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

@live-change/relations-plugin

Package Overview
Dependencies
Maintainers
0
Versions
247
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@live-change/relations-plugin - npm Package Compare versions

Comparing version 0.9.1 to 0.9.2

6

package.json
{
"name": "@live-change/relations-plugin",
"version": "0.9.1",
"version": "0.9.2",
"description": "",

@@ -25,6 +25,6 @@ "main": "index.js",

"dependencies": {
"@live-change/framework": "^0.9.1",
"@live-change/framework": "^0.9.2",
"pluralize": "^8.0.0"
},
"gitHead": "d00e08ee081d6993421e4573fc25588345aaabca"
"gitHead": "353f5aa8d66fec68587825db5ba09f63b08f4dee"
}

@@ -159,3 +159,3 @@ import App from '@live-change/framework'

} = context
const eventName = joinedOthersPropertyName + context.reverseRelationWord + modelName + 'Updated'
const eventName = modelName + 'Updated'
return async function execute(properties, { client, service }, emit) {

@@ -276,3 +276,2 @@ const id = properties[modelPropertyName]

} = context
const eventName = joinedOthersPropertyName + context.reverseRelationWord + modelName + 'Deleted'
const actionName = 'delete' + modelName

@@ -309,3 +308,2 @@ const accessControl = config.deleteAccessControl || config.writeAccessControl

} = context
const eventName = modelName + 'Deleted'
const actionName = 'delete' + modelName

@@ -338,3 +336,3 @@ const triggerName = `${service.name}_${actionName}`

} = context
const eventName = joinedOthersPropertyName + context.reverseRelationWord + modelName + 'Copied'
const eventName = modelName + 'Copied'
return async function execute(properties, { client, service }, emit) {

@@ -395,3 +393,2 @@ const id = properties[modelPropertyName]

} = context
const eventName = modelName + 'Copied'
const actionName = 'copy' + modelName

@@ -433,3 +430,2 @@ const accessControl = config.copyAccessControl

} = context
const eventName = joinedOthersPropertyName + context.reverseRelationWord + modelName + 'Copied'
const actionName = 'copy' + joinedOthersClassName + context.reverseRelationWord + modelName

@@ -436,0 +432,0 @@ const triggerName = `${service.name}_${actionName}`

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