nuxt-api-party
Advanced tools
Comparing version 0.21.3 to 0.22.1
@@ -7,3 +7,3 @@ { | ||
}, | ||
"version": "0.21.3" | ||
"version": "0.22.1" | ||
} |
import type { NitroFetchOptions } from 'nitropack'; | ||
import type { Ref } from 'vue'; | ||
type HTTPMethod = 'GET' | 'HEAD' | 'PATCH' | 'POST' | 'PUT' | 'DELETE' | 'CONNECT' | 'OPTIONS' | 'TRACE'; | ||
export type EndpointFetchOptions = NitroFetchOptions<string> & { | ||
path: string; | ||
query?: Record<string, any>; | ||
headers?: HeadersInit; | ||
method?: Lowercase<HTTPMethod> | Uppercase<HTTPMethod>; | ||
body?: RequestInit['body'] | Record<string, any>; | ||
}; | ||
export type MaybeRef<T> = T | Ref<T>; | ||
export type MaybeRefOrGetter<T> = MaybeRef<T> | (() => T); | ||
export {}; |
{ | ||
"name": "nuxt-api-party", | ||
"type": "module", | ||
"version": "0.21.3", | ||
"version": "0.22.1", | ||
"packageManager": "pnpm@8.11.0", | ||
@@ -39,3 +39,3 @@ "description": "Nuxt 3 module to securely connect with any API", | ||
"dev:build": "nuxi build playground", | ||
"dev:prepare": "nuxt-module-build --stub && nuxi prepare playground", | ||
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground && nuxi prepare test/fixture", | ||
"docs": "pnpm -C docs run dev", | ||
@@ -48,4 +48,3 @@ "docs:build": "pnpm -C docs run build", | ||
"test:types": "tsc --noEmit", | ||
"release": "bumpp --commit --push --tag", | ||
"prepare": "nuxi prepare playground && nuxi prepare test/fixture" | ||
"release": "bumpp --commit --push --tag" | ||
}, | ||
@@ -58,21 +57,21 @@ "dependencies": { | ||
"pathe": "^1.1.1", | ||
"scule": "^1.1.0", | ||
"scule": "^1.1.1", | ||
"ufo": "^1.3.2" | ||
}, | ||
"optionalDependencies": { | ||
"openapi-typescript": "^6.7.1" | ||
"openapi-typescript": "^6.7.2" | ||
}, | ||
"devDependencies": { | ||
"@antfu/eslint-config": "^2.1.1", | ||
"@antfu/eslint-config": "^2.4.3", | ||
"@nuxt/module-builder": "^0.5.4", | ||
"@nuxt/test-utils": "^3.8.1", | ||
"@types/node": "^20.10.0", | ||
"@types/node": "^20.10.4", | ||
"bumpp": "^9.2.0", | ||
"eslint": "^8.54.0", | ||
"eslint": "^8.55.0", | ||
"nuxt": "^3.8.2", | ||
"nuxt-api-party": "workspace:*", | ||
"typescript": "^5.3.2", | ||
"typescript": "^5.3.3", | ||
"vitest": "^0.34.6", | ||
"vue-tsc": "^1.8.22" | ||
"vue-tsc": "^1.8.25" | ||
} | ||
} |
@@ -7,3 +7,3 @@ [![nuxt-api-party](./docs/public/og.jpg)](https://nuxt-api-party.byjohann.dev) | ||
> [Nuxt](https://nuxt.com) module to securely connect with any API. | ||
[Nuxt](https://nuxt.com) module to securely connect with any API. | ||
@@ -25,2 +25,3 @@ - [✨ Release Notes](https://github.com/johannschopplich/nuxt-api-party/releases) | ||
> [!TIP] | ||
> [📖 Read the documentation](https://nuxt-api-party.byjohann.dev) | ||
@@ -38,2 +39,3 @@ | ||
> [!TIP] | ||
> [📖 Read the documentation](https://nuxt-api-party.byjohann.dev) | ||
@@ -40,0 +42,0 @@ |
Sorry, the diff of this file is not supported yet
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
44082
2508
892
98
22
+ Addedjiti@2.4.0(transitive)
+ Addedunimport@3.13.4(transitive)
- Removedfdir@6.4.2(transitive)
- Removedjiti@2.4.1(transitive)
- Removedtinyglobby@0.2.10(transitive)
- Removedunimport@3.14.2(transitive)
Updatedscule@^1.1.1