Socket
Socket
Sign inDemoInstall

aspida

Package Overview
Dependencies
Maintainers
3
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aspida - npm Package Compare versions

Comparing version 1.10.1 to 1.10.2

2

dist/createMethodsString.js

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

var _a, _b;
return "".concat(method.name, "Request(option: any) {\n").concat(indent, " return fetch(prefix, ").concat(path, ", ").concat(method.name.toUpperCase()).concat(genRequest(__assign(__assign({}, method.props), (_a = method.props.polymorph) === null || _a === void 0 ? void 0 : _a.find(function (p) { return p.reqBody; }))), ").").concat(genResMethodName(__assign(__assign({}, method.props), (_b = method.props.polymorph) === null || _b === void 0 ? void 0 : _b.find(function (p) { return p.reqBody; }))), "()");
return "".concat(method.name, "Request(option: any) {\n").concat(indent, " return fetch(prefix, ").concat(path, ", ").concat(method.name.toUpperCase()).concat(genRequest(__assign(__assign({}, method.props), (_a = method.props.polymorph) === null || _a === void 0 ? void 0 : _a.find(function (p) { return p.reqBody; }))), ").").concat(genResMethodName(__assign(__assign({}, method.props), (_b = method.props.polymorph) === null || _b === void 0 ? void 0 : _b.find(function (p) { return p.resBody; }))), "()");
};

@@ -155,0 +155,0 @@ exports.default = (function (methods, indent, importName, path, outputMode) {

{
"name": "aspida",
"version": "1.10.1",
"version": "1.10.2",
"description": "TypeScript friendly HTTP client wrapper for the browser and node.js",

@@ -5,0 +5,0 @@ "author": "Solufa <solufa2020@gmail.com>",

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