Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nuxt-api-party

Package Overview
Dependencies
Maintainers
0
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuxt-api-party - npm Package Compare versions

Comparing version 2.0.8 to 2.0.9

2

dist/module.d.ts

@@ -78,4 +78,4 @@ import * as _nuxt_schema from '@nuxt/schema';

}
declare const _default: _nuxt_schema.NuxtModule<ModuleOptions>;
declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
export { type ApiEndpoint, type ModuleOptions, _default as default };

@@ -7,7 +7,7 @@ {

},
"version": "2.0.8",
"version": "2.0.9",
"builder": {
"@nuxt/module-builder": "0.8.1",
"@nuxt/module-builder": "0.8.3",
"unbuild": "2.0.0"
}
}
import type { MaybeRefOrGetter } from 'vue';
import type { NuxtError } from 'nuxt/app';
import type { ErrorResponse, MediaType, OperationRequestBodyContent, ResponseObjectMap, SuccessResponse } from 'openapi-typescript-helpers';
import type { ErrorResponse, MediaType, OperationRequestBodyContent, ResponseObjectMap, IsOperationRequestBodyOptional, SuccessResponse } from 'openapi-typescript-helpers';
export type FetchResponseData<T> = SuccessResponse<ResponseObjectMap<T>, MediaType>;

@@ -14,6 +14,6 @@ export type FetchResponseError<T> = NuxtError<ErrorResponse<ResponseObjectMap<T>, MediaType>>;

query?: any;
} ? T['parameters'] : unknown;
} ? T['parameters'] : Record<string, unknown>;
export type RequestBodyOption<T> = OperationRequestBodyContent<T> extends never ? {
body?: never;
} : undefined extends OperationRequestBodyContent<T> ? {
} : IsOperationRequestBodyOptional<T> extends true ? {
body?: OperationRequestBodyContent<T>;

@@ -20,0 +20,0 @@ } : {

{
"name": "nuxt-api-party",
"type": "module",
"version": "2.0.8",
"packageManager": "pnpm@9.5.0",
"version": "2.0.9",
"packageManager": "pnpm@9.9.0",
"description": "Securely connect to any API with a server proxy and generated composables",

@@ -50,10 +50,10 @@ "author": "Johann Schopplich <hello@johannschopplich.com>",

"dependencies": {
"@nuxt/kit": "^3.12.3",
"@nuxt/kit": "^3.13.0",
"defu": "^6.1.4",
"ofetch": "^1.3.4",
"ohash": "^1.1.3",
"openapi-typescript-helpers": "^0.0.9",
"openapi-typescript-helpers": "0.0.13",
"pathe": "^1.1.2",
"scule": "^1.3.0",
"ufo": "^1.5.3"
"ufo": "^1.5.4"
},

@@ -64,14 +64,14 @@ "peerDependencies": {

"devDependencies": {
"@nuxt/eslint-config": "^0.3.13",
"@nuxt/module-builder": "^0.8.1",
"@nuxt/test-utils": "^3.13.1",
"@types/node": "^20.14.10",
"bumpp": "^9.4.1",
"eslint": "^9.6.0",
"nuxt": "^3.12.3",
"openapi-typescript": "^7.0.2",
"typescript": "^5.5.3",
"vitest": "^2.0.1",
"vue-tsc": "^2.0.26"
"@nuxt/eslint-config": "^0.5.4",
"@nuxt/module-builder": "^0.8.3",
"@nuxt/test-utils": "^3.14.1",
"@types/node": "^20.16.2",
"bumpp": "^9.5.2",
"eslint": "^9.9.1",
"nuxt": "^3.13.0",
"openapi-typescript": "^7.3.3",
"typescript": "^5.5.4",
"vitest": "^2.0.5",
"vue-tsc": "^2.1.2"
}
}

@@ -64,3 +64,3 @@ [![Nuxt API Party module](./docs/public/og.jpg)](https://nuxt-api-party.byjohann.dev)

<script setup lang="ts">
const { data, pending, refresh, error } = await useJsonPlaceholderData('posts/1')
const { data, refresh, error, status, clear } = await useJsonPlaceholderData('posts/1')
</script>

@@ -67,0 +67,0 @@

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