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

@metlo/testing

Package Overview
Dependencies
Maintainers
2
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metlo/testing - npm Package Compare versions

Comparing version 0.3.22 to 0.3.23

9

dist/generate/sample-request.js

@@ -208,2 +208,3 @@ "use strict";

const recurseCreateBodyGraphQl = (body, mapTokens, currTokenIndex, dataField, entityMap, ast, seenArgs) => {
var _a;
if (currTokenIndex > mapTokens.length - 1 || !mapTokens[currTokenIndex]) {

@@ -242,2 +243,7 @@ if (typeof body === "object") {

}
if (currTokenIndex === mapTokens.length - 1 &&
dataField.dataSection === enums_2.DataSection.RESPONSE_BODY &&
(body === null || body === void 0 ? void 0 : body[currToken])) {
(_a = body === null || body === void 0 ? void 0 : body[currToken]) === null || _a === void 0 ? true : delete _a["__typename"];
}
if (currToken === "__args") {

@@ -271,2 +277,5 @@ seenArgs = true;

let body = undefined;
if (endpoint.isGraphQl) {
filteredDataFields.sort((a, b) => a.dataSection.localeCompare(b.dataSection));
}
const func = endpoint.isGraphQl ? recurseCreateBodyGraphQl : recurseCreateBody;

@@ -273,0 +282,0 @@ const ast = endpoint.graphQlSchema

2

package.json
{
"name": "@metlo/testing",
"version": "0.3.22",
"version": "0.3.23",
"license": "MIT",

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

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