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

@live-change/relations-plugin

Package Overview
Dependencies
Maintainers
0
Versions
254
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.23 to 0.9.24

6

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

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

"dependencies": {
"@live-change/framework": "^0.9.23",
"@live-change/framework": "^0.9.24",
"pluralize": "^8.0.0"
},
"gitHead": "bf65fb9345db4a0fa93ccc827033c766bf52738e"
"gitHead": "491639ed7431a58594e60aedd14fedfb499065a4"
}

@@ -245,8 +245,9 @@ import App from "@live-change/framework"

const id = obj?.id ?? oldObj?.id
const type = id.slice(0, id.indexOf(':'))
const count = await table.count({ gte: type+':', lte: type+'_\xFF\xFF\xFF\xFF', limit: 1 })
const typeJson = id.slice(0, id.indexOf(':'))
const type = JSON.parse(typeJson)
const count = await table.count({ gte: typeJson+':', lte: type+'_\xFF\xFF\xFF\xFF', limit: 1 })
if(count > 0) {
await output.put({ id: JSON.parse(type) })
await output.put({ id: type })
} else {
await output.delete({ id: JSON.parse(type) })
await output.delete({ id: type })
}

@@ -253,0 +254,0 @@ })

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