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

@live-change/user-service

Package Overview
Dependencies
Maintainers
1
Versions
274
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@live-change/user-service - npm Package Compare versions

Comparing version 0.2.19 to 0.2.20

7

package.json
{
"name": "@live-change/user-service",
"version": "0.2.19",
"version": "0.2.20",
"description": "",

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

"@live-change/framework": "^0.5.10",
"@live-change/relations-plugin": "^0.1.10"
"@live-change/relations-plugin": "^0.1.10",
"pluralize": "8.0.0"
},
"gitHead": "c2833a9660374ee17dd3def99fd1cdf47f6b1531"
"gitHead": "48b13d32478da797b31f73ed1d6f4271cd68b574"
}

@@ -6,2 +6,4 @@ const definition = require("./definition.js")

const pluralize = require('pluralize')
definition.processor(function(service, app) {

@@ -32,3 +34,3 @@

if(config.ownerReadAccess) {
const viewName = 'my' + modelName + 's'
const viewName = 'my' + pluralize(modelName)
service.views[viewName] = new ViewDefinition({

@@ -48,3 +50,3 @@ name: viewName,

const sortFieldUc = sortField.slice(0, 1).toUpperCase() + sortField.slice(1)
const viewName = 'mySessionOrUser' + modelName + 'sBy' + sortFieldUc
const viewName = 'mySessionOrUser' + pluralize(modelName) + 'By' + sortFieldUc
service.views[viewName] = new ViewDefinition({

@@ -51,0 +53,0 @@ name: viewName,

@@ -6,2 +6,4 @@ const definition = require("./definition.js")

const pluralize = require('pluralize')
definition.processor(function(service, app) {

@@ -33,3 +35,3 @@

if(config.userReadAccess) {
const viewName = 'myUser' + modelName + 's'
const viewName = 'myUser' + pluralize(modelName)
service.views[viewName] = new ViewDefinition({

@@ -49,3 +51,3 @@ name: viewName,

const sortFieldUc = sortField.slice(0, 1).toUpperCase() + sortField.slice(1)
const viewName = 'myUser' + modelName + 'sBy' + sortFieldUc
const viewName = 'myUser' + pluralize(modelName) + 'By' + sortFieldUc
service.views[viewName] = new ViewDefinition({

@@ -52,0 +54,0 @@ name: viewName,

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