Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
yangkaifeng
uni-app
提交
3555bf36
U
uni-app
项目概览
yangkaifeng
/
uni-app
与 Fork 源项目一致
Fork自
DCloud / uni-app
通知
3
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,发现更多精彩内容 >>
提交
3555bf36
编写于
5月 19, 2022
作者:
D
DCloud_LXH
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: uniStracktraceyPreset use sourceRoot
上级
d5e4df8c
变更
7
显示空白变更内容
内联
并排
Showing
7 changed file
with
51 addition
and
43 deletion
+51
-43
packages/uni-stacktracey/__tests__/test.spec.ts
packages/uni-stacktracey/__tests__/test.spec.ts
+2
-4
packages/uni-stacktracey/dist/uni-stacktracey.cjs.js
packages/uni-stacktracey/dist/uni-stacktracey.cjs.js
+29
-23
packages/uni-stacktracey/src/index.ts
packages/uni-stacktracey/src/index.ts
+18
-11
packages/uni-stacktracey/test/__UNI__APPID__/1.0.0/.sourcemap/h5/static/js/chunk-vendors.75525bd5.js.map
...0.0/.sourcemap/h5/static/js/chunk-vendors.75525bd5.js.map
+0
-0
packages/uni-stacktracey/test/__UNI__APPID__/1.0.0/.sourcemap/h5/static/js/pages-index-index.3ab0d0e5.js.map
....sourcemap/h5/static/js/pages-index-index.3ab0d0e5.js.map
+0
-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
+0
-1
packages/uni-stacktracey/test/index.js
packages/uni-stacktracey/test/index.js
+2
-4
未找到文件。
packages/uni-stacktracey/__tests__/test.spec.ts
浏览文件 @
3555bf36
...
...
@@ -35,10 +35,8 @@ describe('uni-stacktracey', () => {
test
(
'
uniStracktraceyPreset local
'
,
()
=>
{
stacktracey
(
uniErrorMsg
,
{
preset
:
uniStracktraceyPreset
({
base
:
'
D:/DCloud_local_git/uni-app-next/packages/uni-stacktracey/test
'
,
platform
:
'
h5
'
,
version
:
'
1.0.0
'
,
appId
:
'
__UNI__APPID__
'
,
base
:
'
D:/DCloud_local_git/uni-app-next/packages/uni-stacktracey/test/__UNI__APPID__/1.0.0/.sourcemap/h5/
'
,
sourceRoot
:
''
,
}),
}).
then
((
res
:
string
)
=>
{
expect
(
res
).
toEqual
(
`Error: Sentry Error
...
...
packages/uni-stacktracey/dist/uni-stacktracey.cjs.js
浏览文件 @
3555bf36
...
...
@@ -113,14 +113,20 @@ function parseSourceMapContent(consumer, obj) {
}
}
function
uniStracktraceyPreset
(
opts
)
{
const
{
base
,
platform
,
version
,
appId
}
=
opts
;
const
{
base
,
sourceRoot
}
=
opts
;
let
stack
;
return
{
parseSourceMapUrl
(
file
,
fileName
)
{
if
(
!
platform
||
!
version
||
!
appId
)
// 组合 sourceMapUrl
if
(
!
base
)
return
''
;
// 根据 base,platform,version,filename 组合 sourceMapUrl
return
`
${
base
}
/
${
appId
}
/
${
version
}
/
${
platform
}
/.sourcemap/
${
fileName
.
split
(
'
.
'
)[
0
]}
.js.map`
;
file
=
(
file
.
match
(
/
(\/
.*
)
/
)
||
[])[
1
];
if
(
!
file
)
return
''
;
if
(
sourceRoot
)
{
return
`
${
file
.
replace
(
sourceRoot
,
base
)}
.map`
;
}
return
`
${
base
}
/
${
file
}
.map`
;
},
getSourceMapContent
(
file
,
fileName
)
{
return
Promise
.
resolve
(
getSourceMapContent
(
this
.
parseSourceMapUrl
(
file
,
fileName
)));
...
...
@@ -141,7 +147,7 @@ function utsStracktraceyPreset(opts) {
return
{
parseSourceMapUrl
(
file
,
fileName
)
{
// 根据 base,filename 组合 sourceMapUrl
return
`
${
opts
.
base
}${
file
.
replace
(
opts
.
sourceRoot
,
''
)}
.map`
;
return
`
${
file
.
replace
(
opts
.
sourceRoot
,
opts
.
base
)}
.map`
;
},
getSourceMapContent
(
file
,
fileName
)
{
// 根据 base,filename 组合 sourceMapUrl
...
...
packages/uni-stacktracey/src/index.ts
浏览文件 @
3555bf36
...
...
@@ -181,24 +181,25 @@ function parseSourceMapContent(
interface
UniStracktraceyPresetOptions
{
base
:
string
appId
:
string
platform
:
string
version
:
string
sourceRoot
:
string
}
export
function
uniStracktraceyPreset
(
opts
:
UniStracktraceyPresetOptions
):
StacktraceyPreset
{
const
{
base
,
platform
,
version
,
appId
}
=
opts
const
{
base
,
sourceRoot
}
=
opts
let
stack
:
Stacktracey
return
{
parseSourceMapUrl
(
file
,
fileName
)
{
if
(
!
platform
||
!
version
||
!
appId
)
return
''
// 根据 base,platform,version,filename 组合 sourceMapUrl
return
`
${
base
}
/
${
appId
}
/
${
version
}
/
${
platform
}
/.sourcemap/
${
fileName
.
split
(
'
.
'
)[
0
]
}
.js.map`
// 组合 sourceMapUrl
if
(
!
base
)
return
''
file
=
(
file
.
match
(
/
(\/
.*
)
/
)
||
[])[
1
]
if
(
!
file
)
return
''
if
(
sourceRoot
)
{
return
`
${
file
.
replace
(
sourceRoot
,
base
)}
.map`
}
return
`
${
base
}
/
${
file
}
.map`
},
getSourceMapContent
(
file
,
fileName
)
{
return
Promise
.
resolve
(
...
...
@@ -231,12 +232,18 @@ interface UtsStracktraceyPreset {
export
function
utsStracktraceyPreset
(
opts
:
UtsStracktraceyPreset
):
StacktraceyPreset
{
const
{
base
,
sourceRoot
}
=
opts
let
stack
:
Stacktracey
let
errStack
:
string
[]
=
[]
return
{
parseSourceMapUrl
(
file
,
fileName
)
{
// 根据 base,filename 组合 sourceMapUrl
return
`
${
opts
.
base
}${
file
.
replace
(
opts
.
sourceRoot
,
''
)}
.map`
// 组合 sourceMapUrl
if
(
sourceRoot
)
{
return
`
${
file
.
replace
(
sourceRoot
,
base
)}
.map`
}
return
`
${
base
}
/
${
file
}
.map`
},
getSourceMapContent
(
file
,
fileName
)
{
// 根据 base,filename 组合 sourceMapUrl
...
...
packages/uni-stacktracey/test/__UNI__APPID__/1.0.0/
h5/.sourcemap/chunk-vendors
.js.map
→
packages/uni-stacktracey/test/__UNI__APPID__/1.0.0/
.sourcemap/h5/static/js/chunk-vendors.75525bd5
.js.map
浏览文件 @
3555bf36
文件已移动
packages/uni-stacktracey/test/__UNI__APPID__/1.0.0/
h5/.sourcemap/pages-index-index
.js.map
→
packages/uni-stacktracey/test/__UNI__APPID__/1.0.0/
.sourcemap/h5/static/js/pages-index-index.3ab0d0e5
.js.map
浏览文件 @
3555bf36
文件已移动
packages/uni-stacktracey/test/__UNI__APPID__/1.0.0/h5/.sourcemap/index.js.map
已删除
100644 → 0
浏览文件 @
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","keepAliveInclude","staticRenderFns"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,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1J5B,IAAIC,EAA8B,EAAQ,QAC1CpI,EAAUoI,GAA4B,GAEtCpI,EAAQlB,KAAK,CAACmB,EAAO3B,EAAI,+CAAgD,KAEzE2B,EAAOD,QAAUA,G,qBCHjB,IAAIqI,EAAU,EAAQ,QACA,kBAAZA,IAAsBA,EAAU,CAAC,CAACpI,EAAO3B,EAAI+J,EAAS,MAC7DA,EAAQC,SAAQrI,EAAOD,QAAUqI,EAAQC,QAE5C,IAAIC,EAAM,EAAQ,QAAqGC,QAC1GD,EAAI,WAAYF,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,K,kCCR5E,IAAII,E,sGACJ,IAAItB,EAAS,WAAa,IAAIuB,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,MAAM,CAAC,iBAAmBN,EAAIO,qBAEpIC,EAAkB","file":"static/js/index.624b5287.js","sourceRoot":""}
\ No newline at end of file
packages/uni-stacktracey/test/index.js
浏览文件 @
3555bf36
...
...
@@ -33,10 +33,8 @@ at HTMLElement.i(/static/js/chunk-vendors.75525bd5.js:7:609894)`
stacktracey
(
uniErrorMsg
,
{
preset
:
uniStracktraceyPreset
({
base
:
'
D:/DCloud_local_git/uni-app-next/packages/uni-stacktracey/test
'
,
platform
:
'
h5
'
,
version
:
'
1.0.0
'
,
appId
:
'
__UNI__APPID__
'
,
base
:
'
D:/DCloud_local_git/uni-app-next/packages/uni-stacktracey/test/__UNI__APPID__/1.0.0/.sourcemap/h5/
'
,
sourceRoot
:
''
,
}),
}).
then
((
res
)
=>
{
console
.
log
(
'
res :>>
'
,
res
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录