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

api-core

Package Overview
Dependencies
Maintainers
1
Versions
225
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

api-core - npm Package Compare versions

Comparing version 0.19.5 to 0.19.6

3

dist/src/query/ApiQueryBuilder.js

@@ -132,4 +132,5 @@ "use strict";

debug(`[${scope.query.id}]`, this.inspect());
if (this.query.type !== ApiEdgeQueryType_1.ApiEdgeQueryType.Read)
if (this.query.type !== ApiEdgeQueryType_1.ApiEdgeQueryType.Get && this.query.type !== ApiEdgeQueryType_1.ApiEdgeQueryType.List) {
this.query.body = scope.body;
}
this.query.context = scope.context;

@@ -136,0 +137,0 @@ this.query.execute().then((response) => {

{
"name": "api-core",
"version": "0.19.5",
"version": "0.19.6",
"description": "Model-based dynamic multi-level APIs for any provider, plus multiple consumption channels",

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

@@ -162,3 +162,6 @@ import {ApiQuery, ApiQueryScope, QueryStep} from "./ApiQuery";

if(this.query.type !== ApiEdgeQueryType.Read) this.query.body = scope.body;
if(this.query.type !== ApiEdgeQueryType.Get && this.query.type !== ApiEdgeQueryType.List) {
this.query.body = scope.body;
}
this.query.context = scope.context;

@@ -165,0 +168,0 @@

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