Comparing version 0.19.3 to 0.19.4
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
83817