feat: upgrade request

This commit is contained in:
winixt 2025-03-10 18:01:04 +08:00
parent 736807d9e8
commit 17a7e0116e
3 changed files with 8 additions and 9 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@fesjs/plugin-request",
"version": "4.0.0-rc.5",
"version": "4.0.0-rc.6",
"description": "@fesjs/plugin-request",
"author": "qlin",
"license": "MIT",
@ -33,7 +33,7 @@
},
"dependencies": {
"@fesjs/utils": "^3.0.3",
"@qlin/request": "^0.2.3"
"@qlin/request": "^0.3.0"
},
"typings": "./types.d.ts"
}

View File

@ -1,8 +1,8 @@
import { ApplyPluginsType, plugin } from '@fesjs/fes';
import { ref, shallowRef } from 'vue';
import { createRequest } from '@qlin/request';
import { ref, shallowRef } from 'vue';
function getRequestInstance() {
const defaultConfig = plugin.applyPlugins({
key: 'request',

9
pnpm-lock.yaml generated
View File

@ -650,8 +650,8 @@ importers:
specifier: ^3.0.3
version: link:../fes-utils
'@qlin/request':
specifier: ^0.2.3
version: 0.2.3
specifier: ^0.3.0
version: 0.3.0
vue:
specifier: ^3.2.37
version: 3.3.4
@ -4777,10 +4777,9 @@ packages:
resolution: {integrity: sha512-2LuNTFBIO0m7kKIQvvPHN6UE63VjpmL9rnEEaOOaiSPbZK+zUOYIzBAWcED+3XYzhYsd/0mD57VdxAEqqV52CQ==}
dev: false
/@qlin/request@0.2.3:
resolution: {integrity: sha512-haKCRgZZWF9cZF7btRNfZQlDtJQ0uVqjwp51mqT+073V7JbL2DpUmVsRODtb3nnw9uVAHOqS9rmq+ZigwftgGg==}
/@qlin/request@0.3.0:
resolution: {integrity: sha512-/1bvNA1BPjxXrFONbBvq+e/+uJKgvKjZs9YhQ97NABAXGNOaqMXsRS6MEfDIRZok4lbkHRquCXON2Lht3CkD6A==}
dependencies:
'@types/lodash-es': 4.17.12
lodash-es: 4.17.21
dev: false