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.1.4 to 3.1.5

coverage/clover.xml

6

lib/sanitize-entity.js

@@ -14,6 +14,10 @@ 'use strict';

if (typeof data !== 'object') {
if (typeof data !== 'object' || _.isNil(data)) {
return data;
}
if (_.isArray(data)) {
return data.map(entity => sanitizeEntity(entity, options));
}
if (_.isNil(model)) {

@@ -20,0 +24,0 @@ return null;

6

package.json
{
"name": "strapi-utils",
"version": "3.1.4",
"version": "3.1.5",
"description": "Shared utilities for the Strapi packages",

@@ -44,7 +44,7 @@ "homepage": "http://strapi.io",

"engines": {
"node": ">=10.10.0",
"node": ">=10.10.0 <13",
"npm": ">=6.0.0"
},
"license": "SEE LICENSE IN LICENSE",
"gitHead": "231263a3535658bab1e9492c6aaaed8692d62a53"
"gitHead": "736a580001cd6f0d94ff2d5a930554f6d42e0477"
}
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