Socket
Socket
Sign inDemoInstall

aspida

Package Overview
Dependencies
Maintainers
1
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 0.19.3 to 0.19.4

2

dist/getConfig.js

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

var defaultConfig = {
input: (_a = ['apis', 'server/api', 'api'].find(function (input) { return fs_1.default.existsSync(input); })) !== null && _a !== void 0 ? _a : 'apis',
input: (_a = ['apis', 'api'].find(function (input) { return fs_1.default.existsSync(input); })) !== null && _a !== void 0 ? _a : 'apis',
baseURL: '',

@@ -24,0 +24,0 @@ trailingSlash: false,

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

}
else if (/[^ \n;]/.test(first)) {
else if (/[^ \n;,]/.test(first)) {
break;

@@ -96,0 +96,0 @@ }

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

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

@@ -267,8 +267,8 @@ | aspida | [aspida-mock] | [@aspida/axios] | [@aspida/ky] | [@aspida/fetch] | [@aspida/node-fetch] |

| Option | Type | Default | Description |
| ------------- | ------- | --------------------------- | ----------------------------------------------------- |
| input | string | "apis", "server/api", "api" | Specifies the endpoint type definition root directory |
| baseURL | string | "" | Specify baseURL of the request |
| trailingSlash | boolean | false | Append `/` to the request URL |
| outputEachDir | boolean | false | Generate `$api.ts` in each endpoint directory |
| Option | Type | Default | Description |
| ------------- | ------- | ------------- | ----------------------------------------------------- |
| input | string | "apis", "api" | Specifies the endpoint type definition root directory |
| baseURL | string | "" | Specify baseURL of the request |
| trailingSlash | boolean | false | Append `/` to the request URL |
| outputEachDir | boolean | false | Generate `$api.ts` in each endpoint directory |

@@ -275,0 +275,0 @@ ## Tips

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