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

@trapi/query

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trapi/query - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

5

dist/utils/flatten.js

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

typeof data[key] === 'undefined' ||
query[key] === null ||
data[key] === null ||
Array.isArray(data[key]):

@@ -27,2 +27,5 @@ const destinationKey = [...prefixParts, key].join('.');

// todo: this might be risky, if an entity has 'operator' and 'value' properties :( ^^
if (typeof data[key] !== 'object') {
continue;
}
if ((0, index_1.hasOwnProperty)(data[key], 'operator') &&

@@ -29,0 +32,0 @@ (0, index_1.hasOwnProperty)(data[key], 'value')) {

4

package.json
{
"name": "@trapi/query",
"version": "2.0.0",
"version": "2.0.1",
"description": "An tiny library which provides utility types/functions for request and response query handling.",

@@ -54,3 +54,3 @@ "main": "./dist/index.js",

},
"gitHead": "4f2bc542708ccfd55d64efa0cc55a5eafea14f63"
"gitHead": "d56eb2f242b01454a8aa04f5bb9e61e947adb004"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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