Socket
Socket
Sign inDemoInstall

strapi-utils

Package Overview
Dependencies
Maintainers
8
Versions
282
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

strapi-utils - npm Package Compare versions

Comparing version 3.4.5 to 3.5.0-beta.0

10

lib/build-query.js

@@ -114,4 +114,12 @@ 'use strict';

return whereClauses
.filter(({ value }) => !_.isNil(value))
.filter(({ value }) => !_.isNull(value))
.map(({ field, operator, value }) => {
if (_.isUndefined(value)) {
const err = new Error(
`The value of field: '${field}', in your where filter, is undefined.`
);
err.status = 400;
throw err;
}
if (BOOLEAN_OPERATORS.includes(operator)) {

@@ -118,0 +126,0 @@ return {

10

package.json
{
"name": "strapi-utils",
"version": "3.4.5",
"version": "3.5.0-beta.0",
"description": "Shared utilities for the Strapi packages",
"homepage": "http://strapi.io",
"homepage": "https://strapi.io",
"keywords": [

@@ -27,3 +27,3 @@ "strapi",

"name": "Strapi team",
"url": "http://strapi.io"
"url": "https://strapi.io"
},

@@ -34,3 +34,3 @@ "maintainers": [

"email": "hi@strapi.io",
"url": "http://strapi.io"
"url": "https://strapi.io"
}

@@ -50,3 +50,3 @@ ],

"license": "SEE LICENSE IN LICENSE",
"gitHead": "4f9cc8a22cb1f48e4da7617a99984dc45d0b4a43"
"gitHead": "8287e2ea21287334b797a0523a6195a912139ce6"
}

@@ -7,3 +7,3 @@ # strapi-utils

[![Build status](https://travis-ci.org/strapi/strapi-utils.svg?branch=master)](https://travis-ci.org/strapi/strapi-utils)
[![Slack status](https://slack.strapi.io/badge.svg)](http://slack.strapi.io)
[![Slack status](https://slack.strapi.io/badge.svg)](https://slack.strapi.io)

@@ -18,4 +18,4 @@ Shared utilities between Strapi packages.

- [Strapi website](http://strapi.io/)
- [Strapi community on Slack](http://slack.strapi.io)
- [Strapi website](https://strapi.io/)
- [Strapi community on Slack](https://slack.strapi.io)
- [Strapi news on Twitter](https://twitter.com/strapijs)
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