
Product
Socket MCP Adds Org Alerts, Threat Feed Review, and Package Inspection
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.
loopback-objectid-mixin
Advanced tools
This module is designed for the Strongloop Loopback framework. It sets objectId type for model properties.
npm install --save loopback-objectid-mixin
Add the mixins property to your server/model-config.json like the following:
{
"_meta": {
"sources": [
"loopback/common/models",
"loopback/server/models",
"../common/models",
"./models"
],
"mixins": [
"loopback/common/mixins",
"../node_modules/loopback-objectid-mixin",
"../common/mixins"
]
}
}
To use with your Models add the mixins attribute to the definition object of your model config.
{
"name": "Product",
"properties": {},
"mixins": {
"ObjectidType": {
"properties": ["userId"]
}
}
}
options
| option | type | description | required |
|---|---|---|---|
| properties | [String] | properties which you want to set objectId type | true |
FAQs
Sets objectId type for model property
The npm package loopback-objectid-mixin receives a total of 24 weekly downloads. As such, loopback-objectid-mixin popularity was classified as not popular.
We found that loopback-objectid-mixin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.

Research
More than 140 Mastra npm packages were compromised in a supply chain attack that used a typosquatted dependency to deliver a cross-platform infostealer during installation.