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

fib-app

Package Overview
Dependencies
Maintainers
3
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fib-app - npm Package Compare versions

Comparing version 1.16.9 to 1.16.10

10

lib/orm_plugins/assoc.js
Object.defineProperty(exports, "__esModule", { value: true });
// TODO: allow developer customize what is `id` on fib-app's rest model
function default_1(orm, plugin_opts) {
function beforeDefine(name, properties, opts) {
if ((opts.extension || opts.__for_extension) && !properties.id) {
opts.__webx_use_uuid = true;
if (typeof opts.__webx_use_uuid === 'boolean')
return;
if (opts.extension || opts.__for_extension) {
// for those extension models, we should enforce add id property to it
if (!properties.id) {
opts.__webx_use_uuid = true;
}
}

@@ -7,0 +13,0 @@ }

3

lib/orm_plugins/uuid.js

@@ -9,5 +9,6 @@ Object.defineProperty(exports, "__esModule", { value: true });

function beforeDefine(name, properties, opts) {
var _a;
if (opts.virtualView)
return;
use_uuid = use_uuid || opts.__webx_use_uuid;
use_uuid = (_a = opts.__webx_use_uuid) !== null && _a !== void 0 ? _a : use_uuid;
if (!use_uuid)

@@ -14,0 +15,0 @@ return;

{
"name": "fib-app",
"version": "1.16.9",
"version": "1.16.10",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib",

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