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

@axios-use/vue

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@axios-use/vue - npm Package Compare versions

Comparing version 0.2.5-alpha.0 to 0.2.5

14

CHANGELOG.md

@@ -0,1 +1,15 @@

## [0.2.5](https://github.com/axios-use/axios-use-vue/compare/v0.2.4...v0.2.5) (2024-01-12)
### Bug Fixes
* **useRequest:** revert hasPending recomputed (sources) ([d349846](https://github.com/axios-use/axios-use-vue/commit/d349846b2f4809582fd99b5337d870edbc0de679))
### Features
* **types:** `FullRefArrayItem` compatible with MaybeRef ([8082b72](https://github.com/axios-use/axios-use-vue/commit/8082b723e48e94ad4003bc9be1fde45151963de5))
## [0.2.4](https://github.com/axios-use/axios-use-vue/compare/v0.2.3...v0.2.4) (2024-01-08)

@@ -2,0 +16,0 @@

6

esm/useResource.js

@@ -35,3 +35,3 @@ var L = Object.defineProperty;

getResponseItem: e == null ? void 0 : e.getResponseItem
}), [s, u] = I(Q, m({
}), [E, u] = I(Q, m({
isLoading: N(

@@ -54,3 +54,3 @@ r && n(r),

return l(...c);
}, E = (c) => {
}, s = (c) => {
u({ type: "reset" }), a(c);

@@ -69,3 +69,3 @@ }, v = S(

}
), [S(() => x(s)), l, y, E];
), [S(() => x(E)), l, y, s];
}

@@ -72,0 +72,0 @@ export {

@@ -11,5 +11,6 @@ import type { ComputedRef, Ref } from "vue";

export declare function useReducer<R extends Reducer<any, any>>(reducer: R, initialArg: ReducerState<R>): [Readonly<Ref<ReducerState<R>>>, (action: ReducerAction<R>) => void];
type MaybeRef<T = any> = T | Ref<T>;
export type UnRef<T> = T extends Ref<infer U> ? U : T;
export type FullRefArrayItem<T extends any[]> = {
[K in keyof T]: Ref<T[K]>;
[K in keyof T]: MaybeRef<T[K]>;
};

@@ -16,0 +17,0 @@ export type UnRefArrayItem<T extends any[]> = {

{
"name": "@axios-use/vue",
"version": "0.2.5-alpha.0",
"version": "0.2.5",
"description": "A Vue composition utilities for Axios.",

@@ -5,0 +5,0 @@ "type": "module",

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