Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
MuGuiLin
uni-app
提交
d5e4df8c
U
uni-app
项目概览
MuGuiLin
/
uni-app
与 Fork 源项目一致
Fork自
DCloud / uni-app
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-app
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d5e4df8c
编写于
5月 19, 2022
作者:
D
DCloud_LXH
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore(test): uni.stacktracey
上级
d9e14717
变更
7
展开全部
显示空白变更内容
内联
并排
Showing
7 changed file
with
62 addition
and
51 deletion
+62
-51
packages/uni-stacktracey/__tests__/test.spec.ts
packages/uni-stacktracey/__tests__/test.spec.ts
+21
-16
packages/uni-stacktracey/dist/uni-stacktracey.cjs.js
packages/uni-stacktracey/dist/uni-stacktracey.cjs.js
+22
-22
packages/uni-stacktracey/src/index.ts
packages/uni-stacktracey/src/index.ts
+5
-5
packages/uni-stacktracey/test/__UNI__APPID__/1.0.0/h5/.sourcemap/chunk-vendors.js.map
...t/__UNI__APPID__/1.0.0/h5/.sourcemap/chunk-vendors.js.map
+1
-0
packages/uni-stacktracey/test/__UNI__APPID__/1.0.0/h5/.sourcemap/index.js.map
...acey/test/__UNI__APPID__/1.0.0/h5/.sourcemap/index.js.map
+1
-0
packages/uni-stacktracey/test/__UNI__APPID__/1.0.0/h5/.sourcemap/pages-index-index.js.map
...UNI__APPID__/1.0.0/h5/.sourcemap/pages-index-index.js.map
+1
-0
packages/uni-stacktracey/test/index.js
packages/uni-stacktracey/test/index.js
+11
-8
未找到文件。
packages/uni-stacktracey/__tests__/test.spec.ts
浏览文件 @
d5e4df8c
...
...
@@ -21,30 +21,35 @@ Run with --stacktrace option to get the stack trace. Run with --info or --debug
BUILD FAILED in 3s`
const
uniErrorMsg
=
`ReferenceError: Sentry is not defined
at Proxy.throwError(/vue3/assets/pages-index-index.4077a069.js:1:295)
at e(/vue3/assets/index.2be9343a.js:1:52317)
at Ue(/vue3/assets/index.2be9343a.js:1:16271)
at He(/vue3/assets/index.2be9343a.js:1:16349)
at HTMLElement.n(/vue3/assets/index.2be9343a.js:1:51834)
at HTMLElement.o(/vue3/assets/index.2be9343a.js:21:60087)`
const
uniErrorMsg
=
`Error: Sentry Error
at a.throwError(/static/js/pages-index-index.3ab0d0e5.js:1:567)
at click(/static/js/pages-index-index.3ab0d0e5.js:1:2745)
at ee(/static/js/chunk-vendors.75525bd5.js:34:11927)
at n(/static/js/chunk-vendors.75525bd5.js:34:13747)
at ee(/static/js/chunk-vendors.75525bd5.js:34:11927)
at HTMLElement.n(/static/js/chunk-vendors.75525bd5.js:34:13824)
at HTMLElement.o._wrapper(/static/js/chunk-vendors.75525bd5.js:34:53966)
at HTMLElement.i(/static/js/chunk-vendors.75525bd5.js:7:609894)`
describe
(
'
uni-stacktracey
'
,
()
=>
{
test
(
'
uniStracktraceyPreset
'
,
()
=>
{
test
(
'
uniStracktraceyPreset
local
'
,
()
=>
{
stacktracey
(
uniErrorMsg
,
{
preset
:
uniStracktraceyPreset
({
base
:
'
https://7463-tcb-uzyfn59tqxjxtnbab2e2c-5ba40b-1303909289.tcb.qcloud.la
'
,
base
:
'
D:/DCloud_local_git/uni-app-next/packages/uni-stacktracey/test
'
,
platform
:
'
h5
'
,
version
:
'
1.0.0
'
,
appId
:
'
__UNI__APPID__
'
,
}),
}).
then
((
res
:
string
)
=>
{
expect
(
res
).
toEqual
(
`ReferenceError: Sentry is not defined
at Proxy.throwError(/vue3/assets/pages-index-index.4077a069.js:1
at e(/vue3/assets/index.2be9343a.js:1
at Ue(/vue3/assets/index.2be9343a.js:1
at He(/vue3/assets/index.2be9343a.js:1
at HTMLElement.n(/vue3/assets/index.2be9343a.js:1
at HTMLElement.o(/vue3/assets/index.2be9343a.js:21 `
)
expect
(
res
).
toEqual
(
`Error: Sentry Error
at src/pages/index/index.vue:44
at src/pages/index/index.vue?be58:12
at node_modules/@dcloudio/vue-cli-plugin-uni/packages/h5-vue/dist/vue.runtime.esm.js:1864
at node_modules/@dcloudio/vue-cli-plugin-uni/packages/h5-vue/dist/vue.runtime.esm.js:2189
at node_modules/@dcloudio/vue-cli-plugin-uni/packages/h5-vue/dist/vue.runtime.esm.js:1864
at node_modules/@dcloudio/vue-cli-plugin-uni/packages/h5-vue/dist/vue.runtime.esm.js:2185
at node_modules/@dcloudio/vue-cli-plugin-uni/packages/h5-vue/dist/vue.runtime.esm.js:7076
at node_modules/@sentry/browser/esm/helpers.js:74 `
)
})
})
...
...
packages/uni-stacktracey/dist/uni-stacktracey.cjs.js
浏览文件 @
d5e4df8c
...
...
@@ -72,7 +72,7 @@ function getSourceMapContent(sourcemapUrl) {
return
(
sourcemapCatch
[
sourcemapUrl
]
||
(
sourcemapCatch
[
sourcemapUrl
]
=
new
Promise
((
resolve
,
reject
)
=>
{
try
{
if
(
/^
[
a-z
]
+:/i
.
test
(
sourcemapUrl
))
{
if
(
/^
[
http|https
]
+:/i
.
test
(
sourcemapUrl
))
{
uni
.
request
({
url
:
sourcemapUrl
,
success
:
(
res
)
=>
{
...
...
@@ -113,14 +113,14 @@ function parseSourceMapContent(consumer, obj) {
}
}
function
uniStracktraceyPreset
(
opts
)
{
const
{
base
,
platform
,
version
}
=
opts
;
const
{
base
,
platform
,
version
,
appId
}
=
opts
;
let
stack
;
return
{
parseSourceMapUrl
(
file
,
fileName
)
{
if
(
!
platform
||
!
version
)
if
(
!
platform
||
!
version
||
!
appId
)
return
''
;
// 根据 base,platform,version,filename 组合 sourceMapUrl
return
`
${
base
}
/
${
version
}
/.sourcemap/
${
platform
}
/
${
fil
e
.
split
(
'
.
'
)[
0
]}
.js.map`
;
return
`
${
base
}
/
${
appId
}
/
${
version
}
/
${
platform
}
/.sourcemap/
${
fileNam
e
.
split
(
'
.
'
)[
0
]}
.js.map`
;
},
getSourceMapContent
(
file
,
fileName
)
{
return
Promise
.
resolve
(
getSourceMapContent
(
this
.
parseSourceMapUrl
(
file
,
fileName
)));
...
...
packages/uni-stacktracey/src/index.ts
浏览文件 @
d5e4df8c
...
...
@@ -119,7 +119,7 @@ function getSourceMapContent(sourcemapUrl: string) {
sourcemapCatch
[
sourcemapUrl
]
||
(
sourcemapCatch
[
sourcemapUrl
]
=
new
Promise
((
resolve
,
reject
)
=>
{
try
{
if
(
/^
[
a-z
]
+:/i
.
test
(
sourcemapUrl
))
{
if
(
/^
[
http|https
]
+:/i
.
test
(
sourcemapUrl
))
{
uni
.
request
({
url
:
sourcemapUrl
,
success
:
(
res
)
=>
{
...
...
@@ -188,16 +188,16 @@ interface UniStracktraceyPresetOptions {
export
function
uniStracktraceyPreset
(
opts
:
UniStracktraceyPresetOptions
):
StacktraceyPreset
{
const
{
base
,
platform
,
version
}
=
opts
const
{
base
,
platform
,
version
,
appId
}
=
opts
let
stack
:
Stacktracey
return
{
parseSourceMapUrl
(
file
,
fileName
)
{
if
(
!
platform
||
!
version
)
return
''
if
(
!
platform
||
!
version
||
!
appId
)
return
''
// 根据 base,platform,version,filename 组合 sourceMapUrl
return
`
${
base
}
/
${
version
}
/.sourcemap/
${
platform
}
/
${
file
.
split
(
'
.
'
)[
0
]
return
`
${
base
}
/
${
appId
}
/
${
version
}
/
${
platform
}
/.sourcemap
/
${
file
Name
.
split
(
'
.
'
)[
0
]
}
.js.map`
},
getSourceMapContent
(
file
,
fileName
)
{
...
...
packages/uni-stacktracey/test/__UNI__APPID__/1.0.0/h5/.sourcemap/chunk-vendors.js.map
0 → 100644
浏览文件 @
d5e4df8c
此差异已折叠。
点击以展开。
packages/uni-stacktracey/test/__UNI__APPID__/1.0.0/h5/.sourcemap/index.js.map
0 → 100644
浏览文件 @
d5e4df8c
{"version":3,"sources":["uni-app:///webpack/bootstrap","webpack:///./src/App.vue?ab81","webpack:///./src/App.vue?86db","uni-app:///src/App.vue","webpack:///./src/App.vue?4221","uni-app:///src/store/index.js","uni-app:///src/main.js","uni-app:///src/pages.json","webpack:///./src/App.vue?c8ed","webpack:///./src/App.vue?8771","webpack:///./src/App.vue?499c"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","jsonpScriptSrc","p","exports","module","l","e","promises","installedChunkData","promise","Promise","resolve","reject","onScriptComplete","script","document","createElement","charset","timeout","nc","setAttribute","src","error","Error","event","onerror","onload","clearTimeout","chunk","errorType","type","realSrc","target","message","name","request","undefined","setTimeout","head","appendChild","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","err","console","jsonpArray","window","oldJsonpFunction","slice","renderjs","component","pinia","createPinia","Vue","config","productionTip","App","mpType","Sentry","init","dsn","integrations","BrowserTracing","tracingOrigins","tracesSampleRate","release","process","RELEASE","use","app","$mount","a","locales","keys","global","__uniConfig","compilerVersion","router","publicPath","debug","networkTimeout","sdkConfigs","qqMapKey","googleMapKey","locale","fallbackLocale","reduce","res","replace","messages","assign","common","nvue","__webpack_chunk_load__","require","delay","loading","render","__uniRoutes","path","alias","props","isQuit","isEntry","globalStyle","slot","meta","id","isNVue","maxWidth","pagePath","windowTop","navigationStyle","UniApp","___CSS_LOADER_API_IMPORT___","content","locals","add","default","components","_vm","this","_h","$createElement","_c","_self","attrs","keepAliveIncl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BAAmBN,EAAIO,qBAEpIC,EAAkB","file":"static/js/index.624b5287.js","sourceRoot":""}
\ No newline at end of file
packages/uni-stacktracey/test/__UNI__APPID__/1.0.0/h5/.sourcemap/pages-index-index.js.map
0 → 100644
浏览文件 @
d5e4df8c
{"version":3,"sources":["uni-app:///src/pages/index/index.vue","webpack:///./src/pages/index/index.vue?a8ab","webpack:///./src/pages/index/index.vue?3d84","webpack:///./src/components/testdata.vue?dd1c","webpack:///./src/pages/index/index.vue?d15f","uni-app:///src/store/useTodos.js","webpack:///./src/pages/index/index.vue?be58","webpack:///./src/components/testdata.vue?4d09","uni-app:///src/components/testdata.vue","webpack:///./src/pages/index/index.vue?6b24","webpack:///./src/pages/index/index.vue?6bba","webpack:///./src/components/testdata.vue?b60c"],"names":["___CSS_LOADER_API_IMPORT___","exports","push","module","i","renderjs","component","defineStore","state","todos","filter","nextId","getters","finishedTodos","todo","isFinished","unfinishedTodos","filteredTodos","this","actions","addTodo","text","id","components","render","_vm","_h","$createElement","_c","_self","staticClass","scopedSlots","_u","key","fn","ref","games","_v","_s","_l","item","on","$event","arguments","$handleEvent","apply","staticRenderFns","_t","content","locals","add","default"],"mappings":"mOAiBA,mBACA,eACA,e,EAEA,CACA,YACA,oBAEA,KAJA,WAKA,OACA,sBAGA,OATA,WAUA,sBACA,qCAEA,SACA,MADA,SACA,GACA,yBAEA,YAJA,SAIA,GACA,yBAEA,WAPA,WAQA,IACA,gCACA,SACA,eACA,0B,oCC7CA,IAAIA,EAA8B,EAAQ,QAC1CC,EAAUD,GAA4B,GAEtCC,EAAQC,KAAK,CAACC,EAAOC,EAAI,+FAAgG,KAEzHD,EAAOF,QAAUA,G,kCCNjB,4HAAunB,eAAG,G,oCCA1nB,mIACII,EADJ,YAQIC,EAAY,eACd,aACA,OACA,QACA,EACA,KACA,WACA,MACA,EACA,OACAD,GAGa,aAAAC,E,2CCrBf,yBAAqzB,EAAG,G,wHCAxzB,gB,GAIe,IAAAC,aAAY,QAAS,CACnCC,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AAKD,EAASjB,EAAImB,aAAaF,GACxCjB,EAAc,WAAEoB,WAAM,EAAQF,cAC3B,CAAClB,EAAIY,GAAG,kBAAkB,IAE1BS,EAAkB,I,kCCdtB,IAAIvB,E,sGACJ,IAAIC,EAAS,WAAa,IAAIC,EAAIP,KAASQ,EAAGD,EAAIE,eAAmBC,EAAGH,EAAII,MAAMD,IAAIF,EAAG,OAAOE,EAAG,aAAa,CAACH,EAAIY,GAAG,SAASZ,EAAIsB,GAAG,UAAU,KAAK,CAAC,MAAQtB,EAAIW,SAAS,IAEzKU,EAAkB,I,0GCMtB,CACA,gBACA,KAFA,WAGA,OACA,0C,kCCVA,IAAIE,EAAU,EAAQ,QACA,kBAAZA,IAAsBA,EAAU,CAAC,CAAC7C,EAAOC,EAAI4C,EAAS,MAC7DA,EAAQC,SAAQ9C,EAAOF,QAAU+C,EAAQC,QAE5C,IAAIC,EAAM,EAAQ,QAA2GC,QAChHD,EAAI,WAAYF,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,K,kCCR5E,6IACI3C,EADJ,YASIC,EAAY,eACd,aACA,OACA,QACA,EACA,KACA,WACA,MACA,EACA,OACAD,GAGa,aAAAC,E,2CCtBf,4HAAwmB,eAAG","file":"static/js/pages-index-index.3ab0d0e5.js","sourceRoot":""}
\ No newline at end of file
packages/uni-stacktracey/test/index.js
浏览文件 @
d5e4df8c
...
...
@@ -21,19 +21,22 @@ Run with --stacktrace option to get the stack trace. Run with --info or --debug
BUILD FAILED in 3s`
const
uniErrorMsg
=
`ReferenceError: Sentry is not defined
at Proxy.throwError(/vue3/assets/pages-index-index.4077a069.js:1:295)
at e(/vue3/assets/index.2be9343a.js:1:52317)
at Ue(/vue3/assets/index.2be9343a.js:1:16271)
at He(/vue3/assets/index.2be9343a.js:1:16349)
at HTMLElement.n(/vue3/assets/index.2be9343a.js:1:51834)
at HTMLElement.o(/vue3/assets/index.2be9343a.js:21:60087)`
const
uniErrorMsg
=
`Error: Sentry Error
at a.throwError(/static/js/pages-index-index.3ab0d0e5.js:1:567)
at click(/static/js/pages-index-index.3ab0d0e5.js:1:2745)
at ee(/static/js/chunk-vendors.75525bd5.js:34:11927)
at n(/static/js/chunk-vendors.75525bd5.js:34:13747)
at ee(/static/js/chunk-vendors.75525bd5.js:34:11927)
at HTMLElement.n(/static/js/chunk-vendors.75525bd5.js:34:13824)
at HTMLElement.o._wrapper(/static/js/chunk-vendors.75525bd5.js:34:53966)
at HTMLElement.i(/static/js/chunk-vendors.75525bd5.js:7:609894)`
stacktracey
(
uniErrorMsg
,
{
preset
:
uniStracktraceyPreset
({
base
:
'
https://7463-tcb-uzyfn59tqxjxtnbab2e2c-5ba40b-1303909289.tcb.qcloud.la
'
,
base
:
'
D:/DCloud_local_git/uni-app-next/packages/uni-stacktracey/test
'
,
platform
:
'
h5
'
,
version
:
'
1.0.0
'
,
appId
:
'
__UNI__APPID__
'
,
}),
}).
then
((
res
)
=>
{
console
.
log
(
'
res :>>
'
,
res
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录