Socket
Socket
Sign inDemoInstall

redisk

Package Overview
Dependencies
36
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.1 to 2.1.2

6

dist/redisk.js

@@ -51,3 +51,3 @@ "use strict";

}
if (property.searchable) {
if (property.searchable && persistedEntity[property.name]) {
yield this.client.srem(this.getSearchableKeyName(name, property.name), this.getSearchableValuePrefix(entity[primary]) + persistedEntity[property.name].toLowerCase());

@@ -91,3 +91,3 @@ }

valuesToStore.push(valueToStore);
if (property.searchable) {
if (property.searchable && entity[property.name]) {
yield this.client.sadd(this.getSearchableKeyName(name, property.name), this.getSearchableValuePrefix(entity[primary]) + entity[property.name].toLowerCase());

@@ -378,3 +378,3 @@ }

for (const property of Object.keys(properties).map(key => properties[key])) {
if (property.searchable) {
if (property.searchable && entity[property.name]) {
yield this.client.srem(this.getSearchableKeyName(name, property.name), this.getSearchableValuePrefix(entity[primary]) + entity[property.name].toLowerCase());

@@ -381,0 +381,0 @@ }

{
"name": "redisk",
"version": "2.1.1",
"version": "2.1.2",
"description": "TypeScript ORM for Redis.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -56,3 +56,3 @@ import { Type } from './metadata/type';

if (property.searchable) {
if (property.searchable && persistedEntity[property.name]) {
await this.client.srem(

@@ -112,3 +112,3 @@ this.getSearchableKeyName(name, property.name),

if (property.searchable) {
if (property.searchable && entity[property.name]) {
await this.client.sadd(

@@ -484,3 +484,3 @@ this.getSearchableKeyName(name, property.name),

for (const property of Object.keys(properties).map(key => properties[key])) {
if (property.searchable) {
if (property.searchable && entity[property.name]) {
await this.client.srem(

@@ -487,0 +487,0 @@ this.getSearchableKeyName(name, property.name),

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc