You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

vue-use-async

Package Overview
Dependencies
Maintainers
1
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-use-async - npm Package Compare versions

Comparing version

to
1.1.16

2

dist/useResult.d.ts
import { Ref } from 'vue';
declare type NonNullable<T> = Exclude<T, null | undefined>;
declare type Res<T, Z extends T> = NonNullable<Z extends never[] ? T : Z>;
export default function <T, Z extends T>(res: Ref<T>, defaultRes: NonNullable<Z>, map?: (r: Res<T, Z>) => Res<T, Z>): Ref<Res<T, Z>>;
export default function <T, Z extends T, U = Res<T, Z>>(res: Ref<T>, defaultRes: NonNullable<Z>, map?: (r: Res<T, Z>) => NonNullable<U>): Ref<U>;
export {};
{
"name": "vue-use-async",
"version": "1.1.15",
"version": "1.1.16",
"description": "Xhr and async helpers",

@@ -35,7 +35,7 @@ "repository": {

"@babel/preset-typescript": "^7.15.0",
"@types/jest": "^27.0.1",
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1",
"@types/jest": "^27.0.2",
"@typescript-eslint/eslint-plugin": "^4.32.0",
"@typescript-eslint/parser": "^4.32.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^27.2.0",
"babel-jest": "^27.2.4",
"babel-loader": "^8.2.2",

@@ -48,7 +48,7 @@ "babel-plugin-module-resolver": "^4.1.0",

"husky": "^7.0.2",
"jest": "^27.2.0",
"jest": "^27.2.4",
"lint-staged": "^11.1.2",
"typescript": "^4.4.3",
"vue": "^3.2.11",
"webpack": "^5.52.1",
"webpack": "^5.55.1",
"webpack-cli": "^4.8.0"

@@ -55,0 +55,0 @@ },

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.