Skip to content

Commit bd18bbb

Browse files
committed
chore: 🔨 updated
1 parent a324984 commit bd18bbb

File tree

6 files changed

+6288
-5573
lines changed

6 files changed

+6288
-5573
lines changed

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -96,17 +96,17 @@
9696
"@types/lodash-es": "4.17.6",
9797
"@types/markdown-it": "12.2.3",
9898
"@types/merge-descriptors": "1.0.1",
99-
"@types/node": "*",
99+
"@types/node": "20.8.8",
100100
"@types/proj4": "2.5.0",
101101
"@types/sass": "^1.43.1",
102102
"@types/webpack-dev-server": "^4.1.0",
103103
"@typescript-eslint/eslint-plugin": "5.58.0",
104104
"@typescript-eslint/parser": "5.58.0",
105105
"@vue/babel-plugin-jsx": "1.1.1",
106-
"@vue/compiler-sfc": "^3.2.30",
106+
"@vue/compiler-sfc": "3.2.47",
107107
"@vue/component-compiler-utils": "^3.3.0",
108-
"@vue/shared": "^3.2.30",
109-
"@vue/test-utils": "2.0.0-rc.18",
108+
"@vue/shared": "3.2.47",
109+
"@vue/test-utils": "2.3.2",
110110
"algoliasearch": "^4.10.5",
111111
"babel-jest": "^26.6.3",
112112
"babel-loader": "^8.2.3",
@@ -126,7 +126,7 @@
126126
"echarts": "^5.2.1",
127127
"element-plus": "^2.0.5",
128128
"element-theme-chalk": "^2.15.6",
129-
"esbuild": "0.14.20",
129+
"esbuild": "0.19.5",
130130
"eslint": "^8.23.1",
131131
"eslint-config-prettier": "^8.8.0",
132132
"eslint-define-config": "1.17.0",
@@ -141,7 +141,7 @@
141141
"highlight.js": "^11.2.0",
142142
"html-webpack-plugin": "4.3.0",
143143
"husky": "7.0.4",
144-
"jest": "26.6.3",
144+
"jest": "29.7.0",
145145
"jest-electron": "0.1.12",
146146
"lint-staged": "12.3.3",
147147
"markdown-it": "^12.2.0",
@@ -165,17 +165,17 @@
165165
"sucrase": "3.20.3",
166166
"throttle-debounce": "2.3.0",
167167
"transliteration": "^2.2.0",
168-
"ts-jest": "26.5.6",
169-
"ts-morph": "13.0.3",
168+
"ts-jest": "29.1.1",
169+
"ts-morph": "20.0.0",
170170
"type-fest": "^2.18.0",
171-
"typescript": "^5.0.4",
171+
"typescript": "^5.2.2",
172172
"url-loader": "^4.1.1",
173-
"vitest": "0.12.6",
173+
"vitest": "0.34.6",
174174
"vue": "3.2.47",
175175
"vue-jest": "5.0.0-alpha.10",
176176
"vue-loader": "16.5.0",
177177
"vue-router": "^4.0.12",
178-
"vue-tsc": "^1.2.0",
178+
"vue-tsc": "^1.8.20",
179179
"webpack": "4.44.1",
180180
"webpack-bundle-analyzer": "3.9.0",
181181
"webpack-cli": "3.3.12",

packages/composables/use-global-config/index.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*
22
* @Author: zouyaoji@https://github.com/zouyaoji
33
* @Date: 2022-02-09 16:19:57
4-
* @LastEditTime: 2022-09-06 23:38:00
5-
* @LastEditors: zouyaoji
4+
* @LastEditTime: 2023-10-23 17:23:48
5+
* @LastEditors: zouyaoji 370681295@qq.com
66
* @Description:
77
* @FilePath: \vue-cesium@next\packages\composables\use-global-config\index.ts
88
*/
@@ -44,7 +44,13 @@ export const provideGlobalConfig = (config: MaybeRef<ConfigProviderContext>, app
4444
if (!oldConfig?.value) return cfg
4545
return mergeConfig(oldConfig.value, cfg)
4646
})
47-
provideFn(configProviderContextKey, context)
47+
48+
if (app?.provide) {
49+
app.provide(configProviderContextKey, context)
50+
} else {
51+
provide(configProviderContextKey, context)
52+
}
53+
4854
if (global || !globalConfig.value) {
4955
globalConfig.value = context.value
5056
}

packages/theme-default/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
"gulp-postcss": "9.0.1",
3131
"gulp-rename": "2.0.0",
3232
"gulp-sass": "5.1.0",
33-
"postcss": "^8.3.9",
34-
"postcss-import": "^14.0.2",
33+
"postcss": "^8.4.31",
34+
"postcss-import": "^15.1.0",
3535
"postcss-url": "^10.1.3"
3636
}
3737
}

0 commit comments

Comments
 (0)