Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yl15_ai_video
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
yl15_ai_video
Commits
39b2e852
Commit
39b2e852
authored
Mar 05, 2026
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat
parent
9d944887
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
580 additions
and
102 deletions
+580
-102
index.css
form/index.css
+80
-2
index.html
form/index.html
+86
-6
index.js
form/index.js
+322
-28
package-lock.json
package-lock.json
+92
-66
No files found.
form/index.css
View file @
39b2e852
.edit-data
{
padding
:
10px
;
html
,
body
{
height
:
100%
;
}
body
{
margin
:
0
;
}
.page
{
padding
:
15px
;
box-sizing
:
border-box
;
height
:
100vh
;
background
:
#f5f7fa
;
}
[
v-cloak
]
{
display
:
none
;
}
.split
{
height
:
calc
(
100vh
-
30px
);
display
:
flex
;
gap
:
15px
;
}
.split
>
.el-col
{
float
:
none
;
flex
:
1
;
max-width
:
none
;
}
.panel
{
background
:
#fff
;
border-radius
:
6px
;
padding
:
16px
;
box-sizing
:
border-box
;
height
:
100%
;
overflow
:
auto
;
border
:
1px
solid
#ebeef5
;
}
.panel-title
{
font-size
:
16px
;
font-weight
:
600
;
margin-bottom
:
16px
;
color
:
#303133
;
}
.uploader
.hint
{
margin-left
:
10px
;
color
:
#909399
;
font-size
:
12px
;
}
.upload-progress
{
width
:
100%
;
}
.upload-progress
.progress-info
{
display
:
flex
;
justify-content
:
space-between
;
color
:
#606266
;
font-size
:
12px
;
margin-bottom
:
6px
;
}
.video-preview
{
width
:
100%
;
max-height
:
260px
;
background
:
#000
;
}
.meta
{
font-size
:
13px
;
color
:
#606266
;
line-height
:
22px
;
}
.json-alert
{
margin-top
:
12px
;
}
\ No newline at end of file
form/index.html
View file @
39b2e852
...
...
@@ -9,17 +9,97 @@
<script
type=
"text/javascript"
src=
"//teach.cdn.ireadabc.com/h5template/h5-static-lib/js/jquery-1.12.3.min.js"
></script>
<script
type=
"text/javascript"
src=
"//teach.cdn.ireadabc.com/h5template/h5-static-lib/js/air.js"
></script>
<script
type=
"text/javascript"
src=
"//teach.cdn.ireadabc.com/h5template/h5-static-lib/js/vue.min.js"
></script>
<script
type=
"text/javascript"
src=
"//teach.cdn.ireadabc.com/h5template/h5-static-lib/js/crypto-js.min.js"
></script>
<script
type=
"text/javascript"
src=
"//teach.cdn.ireadabc.com/h5template/h5-static-lib/js/aliyun-oss-sdk-6.18.1.min.js"
></script>
<!-- 引入样式 -->
<link
href=
"//teach.cdn.ireadabc.com/h5template/h5-static-lib/js/element-ui/theme-chalk/index.css"
rel=
"stylesheet"
>
<!-- 引入组件库 -->
<script
src=
"//teach.cdn.ireadabc.com/h5template/h5-static-lib/js/element-ui/index.js"
></script>
</head>
<body>
<div
class=
"edit-data"
>
<!-- 简单的例子,一个输入框+一个按钮,保存输入框的信息 -->
test:
<input
type=
"text"
name=
"test"
/>
<input
id=
"save"
type=
"button"
value=
"保存"
>
</div>
<body>
<div
id=
"app"
v-cloak
class=
"page"
>
<el-row
:gutter=
"0"
class=
"split"
>
<el-col
:span=
"12"
class=
"panel"
>
<div
class=
"panel-title"
>
内容录入区
</div>
<el-form
label-width=
"90px"
size=
"small"
>
<el-form-item
label=
"上传视频"
>
<el-upload
v-if=
"!videoPreviewUrl"
ref=
"upload"
class=
"uploader"
:action=
"uploadUrl"
:data=
"uploadData"
:show-file-list=
"false"
:before-upload=
"beforeUpload"
:on-change=
"handleFileChange"
:on-error=
"handleUploadError"
accept=
"video/*"
>
<el-button
type=
"primary"
:loading=
"uploading"
:disabled=
"uploading"
>
选择视频
</el-button>
<span
class=
"hint"
>
支持重复上传,会覆盖当前视频
</span>
</el-upload>
<el-button
v-else
type=
"warning"
:loading=
"uploading"
:disabled=
"uploading"
@
click=
"confirmReupload"
>
重新上传
</el-button>
</el-form-item>
<el-form-item
label=
"上传进度"
v-if=
"uploading"
>
<div
class=
"upload-progress"
>
<div
class=
"progress-info"
>
<span>
正在上传视频...
</span>
<span>
{{ uploadProgress }}%
</span>
</div>
<el-progress
:percentage=
"uploadProgress"
:stroke-width=
"8"
:show-text=
"false"
status=
"success"
>
</el-progress>
</div>
</el-form-item>
<el-form-item
label=
"预览播放"
v-if=
"videoPreviewUrl"
>
<video
ref=
"videoRef"
class=
"video-preview"
controls
:src=
"videoPreviewUrl"
></video>
</el-form-item>
<el-form-item
label=
"视频信息"
v-if=
"videoInfo.ready"
>
<div
class=
"meta"
>
<div>
时长:{{ videoInfo.durationText }}
</div>
<div>
分辨率:{{ videoInfo.width }} × {{ videoInfo.height }}
</div>
<div>
大小:{{ videoInfo.sizeText }}
</div>
</div>
</el-form-item>
</el-form>
</el-col>
<el-col
:span=
"12"
class=
"panel"
>
<div
class=
"panel-title"
>
AI 编排脚本区
</div>
<el-input
type=
"textarea"
:rows=
"16"
v-model=
"scriptText"
placeholder=
"请输入 JSON"
></el-input>
<el-alert
v-if=
"jsonError"
type=
"error"
:closable=
"false"
class=
"json-alert"
:title=
"jsonError"
></el-alert>
<el-alert
v-else
type=
"success"
:closable=
"false"
class=
"json-alert"
title=
"JSON 格式正确"
></el-alert>
</el-col>
</el-row>
</div>
</body>
<script
src=
"./index.js"
></script>
</html>
\ No newline at end of file
form/index.js
View file @
39b2e852
/*
window.courseware.getData(callback,key); //用于获取数据
window.courseware.setData(data,callback,key); //用于存储数据
/*
window.courseware.getData(callback, key); //用于获取数据
window.courseware.setData(data, callback, key); //用于存储数据
var uploadUrl = window.courseware.uploadUrl(); //上传文件的路径
var uploadData = window.courseware.uploadData(); //上传文件必须要的参数
var uploadData = window.courseware.uploadData(); //上传文件必须要的参数
*/
//对应模板的名称,这个可以不写,但是最好是能写上,同时开发多个模板的情况下如果不写这个,本地缓存可能会存在混乱
var
key
=
"
h5_test
"
;
var
key
=
'
ai_video_form
'
;
var
callServerMethod
=
function
(
method
,
data
)
{
return
new
Promise
(
function
(
resolve
)
{
window
.
courseware
.
onEvent
(
method
,
function
(
result
,
next
)
{
resolve
(
result
);
next
();
},
key
);
window
.
courseware
.
sendEvent
(
method
,
data
||
{},
key
);
});
};
$
(
function
(){
window
.
courseware
.
getData
(
function
(
data
){
//数据加载完,才算页面加载完成
//获取数据
if
(
data
&&
data
.
test
){
$
(
"
[name='test']
"
).
val
(
data
.
test
);
}
new
Vue
({
el
:
'
#app
'
,
data
:
function
()
{
return
{
uploadUrl
:
window
.
courseware
&&
window
.
courseware
.
uploadUrl
?
window
.
courseware
.
uploadUrl
()
:
''
,
uploadData
:
window
.
courseware
&&
window
.
courseware
.
uploadData
?
window
.
courseware
.
uploadData
()
:
{},
videoPreviewUrl
:
''
,
videoInfo
:
{
ready
:
false
,
duration
:
0
,
durationText
:
''
,
width
:
0
,
height
:
0
,
size
:
0
,
sizeText
:
''
},
uploading
:
false
,
uploadProgress
:
0
,
currentUploadId
:
0
,
scriptText
:
''
,
jsonError
:
''
};
},
watch
:
{
scriptText
:
function
()
{
this
.
validateJson
();
this
.
saveData
();
}
},
mounted
:
function
()
{
var
_this
=
this
;
if
(
window
.
courseware
&&
window
.
courseware
.
getData
)
{
window
.
courseware
.
getData
(
function
(
data
)
{
if
(
window
.
air
&&
window
.
air
.
hideAirClassLoading
)
{
window
.
air
.
hideAirClassLoading
(
key
,
data
);
}
if
(
data
)
{
if
(
data
.
videoUrl
)
{
_this
.
videoPreviewUrl
=
data
.
videoUrl
;
}
if
(
data
.
videoInfo
&&
typeof
data
.
videoInfo
===
'
object
'
)
{
_this
.
videoInfo
.
ready
=
!!
data
.
videoInfo
.
ready
;
_this
.
videoInfo
.
duration
=
data
.
videoInfo
.
duration
||
0
;
_this
.
videoInfo
.
durationText
=
data
.
videoInfo
.
durationText
||
''
;
_this
.
videoInfo
.
width
=
data
.
videoInfo
.
width
||
0
;
_this
.
videoInfo
.
height
=
data
.
videoInfo
.
height
||
0
;
_this
.
videoInfo
.
size
=
data
.
videoInfo
.
size
||
0
;
_this
.
videoInfo
.
sizeText
=
data
.
videoInfo
.
sizeText
||
''
;
}
if
(
_this
.
videoPreviewUrl
&&
!
_this
.
videoInfo
.
ready
)
{
_this
.
$nextTick
(
_this
.
readVideoMeta
);
}
if
(
data
.
scriptText
)
{
_this
.
scriptText
=
data
.
scriptText
;
}
}
_this
.
validateJson
();
},
key
);
}
else
{
this
.
validateJson
();
}
},
methods
:
{
beforeUpload
:
function
(
file
)
{
if
(
this
.
uploading
)
{
this
.
$message
.
warning
(
'
正在上传,请稍候再试
'
);
return
false
;
}
var
isMP4
=
file
.
type
===
'
video/mp4
'
;
if
(
!
isMP4
)
{
this
.
$message
.
error
(
'
只能上传 mp4 文件
'
);
return
false
;
}
this
.
currentUploadId
+=
1
;
var
uploadId
=
this
.
currentUploadId
;
this
.
handleFileChange
(
file
);
this
.
uploading
=
true
;
this
.
uploadProgress
=
0
;
this
.
uploadToOssWithSignature
(
file
,
uploadId
);
return
false
;
},
handleFileChange
:
function
(
file
)
{
var
rawFile
=
file
&&
file
.
raw
?
file
.
raw
:
file
;
if
(
!
rawFile
)
{
return
;
}
if
(
this
.
videoPreviewUrl
&&
this
.
videoPreviewUrl
.
indexOf
(
'
blob:
'
)
===
0
)
{
URL
.
revokeObjectURL
(
this
.
videoPreviewUrl
);
}
this
.
videoPreviewUrl
=
URL
.
createObjectURL
(
rawFile
);
this
.
videoInfo
.
size
=
rawFile
.
size
||
0
;
this
.
videoInfo
.
sizeText
=
this
.
formatBytes
(
this
.
videoInfo
.
size
);
this
.
videoInfo
.
ready
=
false
;
this
.
$nextTick
(
this
.
readVideoMeta
);
},
handleUploadError
:
function
(
uploadId
)
{
if
(
uploadId
&&
uploadId
!==
this
.
currentUploadId
)
{
return
;
}
this
.
uploading
=
false
;
this
.
uploadProgress
=
0
;
this
.
$message
.
error
(
'
上传失败,请重试
'
);
},
confirmReupload
:
function
()
{
if
(
this
.
uploading
)
{
this
.
$message
.
warning
(
'
正在上传,请稍候再试
'
);
return
;
}
this
.
$confirm
(
'
重新上传会覆盖当前视频信息,确定继续吗?
'
,
'
确认重新上传
'
,
{
confirmButtonText
:
'
确定
'
,
cancelButtonText
:
'
取消
'
,
type
:
'
warning
'
}).
then
(
function
()
{
this
.
reuploadVideo
();
}.
bind
(
this
)).
catch
(
function
()
{});
},
reuploadVideo
:
function
()
{
this
.
currentUploadId
+=
1
;
if
(
this
.
videoPreviewUrl
&&
this
.
videoPreviewUrl
.
indexOf
(
'
blob:
'
)
===
0
)
{
URL
.
revokeObjectURL
(
this
.
videoPreviewUrl
);
}
this
.
videoPreviewUrl
=
''
;
this
.
videoInfo
.
ready
=
false
;
this
.
videoInfo
.
duration
=
0
;
this
.
videoInfo
.
durationText
=
''
;
this
.
videoInfo
.
width
=
0
;
this
.
videoInfo
.
height
=
0
;
this
.
videoInfo
.
size
=
0
;
this
.
videoInfo
.
sizeText
=
''
;
this
.
uploading
=
false
;
this
.
uploadProgress
=
0
;
this
.
saveData
();
if
(
this
.
$refs
.
upload
&&
this
.
$refs
.
upload
.
$el
)
{
var
input
=
this
.
$refs
.
upload
.
$el
.
querySelector
(
'
input[type="file"]
'
);
if
(
input
)
{
input
.
value
=
''
;
input
.
click
();
}
}
},
readVideoMeta
:
function
()
{
var
video
=
this
.
$refs
.
videoRef
;
if
(
!
video
)
{
return
;
}
var
_this
=
this
;
var
onLoaded
=
function
()
{
_this
.
videoInfo
.
duration
=
video
.
duration
||
0
;
_this
.
videoInfo
.
durationText
=
_this
.
formatDuration
(
_this
.
videoInfo
.
duration
);
_this
.
videoInfo
.
width
=
video
.
videoWidth
||
0
;
_this
.
videoInfo
.
height
=
video
.
videoHeight
||
0
;
_this
.
videoInfo
.
ready
=
true
;
_this
.
saveData
();
video
.
removeEventListener
(
'
loadedmetadata
'
,
onLoaded
);
};
video
.
addEventListener
(
'
loadedmetadata
'
,
onLoaded
);
},
formatDuration
:
function
(
seconds
)
{
if
(
!
seconds
||
isNaN
(
seconds
))
{
return
'
--
'
;
}
var
total
=
Math
.
floor
(
seconds
);
var
min
=
Math
.
floor
(
total
/
60
);
var
sec
=
total
%
60
;
return
min
+
'
:
'
+
(
sec
<
10
?
'
0
'
+
sec
:
sec
);
},
formatBytes
:
function
(
bytes
)
{
if
(
!
bytes
)
{
return
'
--
'
;
}
var
units
=
[
'
B
'
,
'
KB
'
,
'
MB
'
,
'
GB
'
];
var
idx
=
Math
.
floor
(
Math
.
log
(
bytes
)
/
Math
.
log
(
1024
));
var
value
=
bytes
/
Math
.
pow
(
1024
,
idx
);
return
value
.
toFixed
(
2
)
+
'
'
+
units
[
idx
];
},
calculateMD5
:
function
(
file
)
{
return
new
Promise
(
function
(
resolve
,
reject
)
{
var
reader
=
new
FileReader
();
reader
.
onload
=
function
(
e
)
{
try
{
var
wordArray
=
CryptoJS
.
lib
.
WordArray
.
create
(
e
.
target
.
result
);
var
hash
=
CryptoJS
.
MD5
(
wordArray
);
resolve
(
hash
.
toString
());
}
catch
(
err
)
{
reject
(
err
);
}
};
reader
.
onerror
=
function
(
error
)
{
reject
(
error
);
};
reader
.
readAsArrayBuffer
(
file
);
});
},
uploadToOssWithSignature
:
function
(
file
,
uploadId
)
{
var
_this
=
this
;
this
.
$message
.
info
(
'
正在获取上传凭证...
'
);
callServerMethod
(
'
getOSSSignature
'
).
then
(
function
(
ossSignature
)
{
if
(
uploadId
!==
_this
.
currentUploadId
)
{
return
;
}
if
(
!
ossSignature
||
!
ossSignature
.
data
)
{
_this
.
handleUploadError
(
uploadId
);
return
;
}
_this
.
uploadToOSS
(
file
,
ossSignature
.
data
,
uploadId
);
});
},
uploadToOSS
:
function
(
file
,
ossConfig
,
uploadId
)
{
var
_this
=
this
;
var
client
=
new
OSS
({
region
:
ossConfig
.
region
,
accessKeyId
:
ossConfig
.
accessKeyId
,
accessKeySecret
:
ossConfig
.
accessKeySecret
,
stsToken
:
ossConfig
.
securityToken
,
bucket
:
ossConfig
.
bucket
,
cors
:
true
,
secure
:
true
,
silent
:
true
});
var
videoClient
=
new
OSS
({
region
:
ossConfig
.
region
,
accessKeyId
:
ossConfig
.
accessKeyId
,
accessKeySecret
:
ossConfig
.
accessKeySecret
,
stsToken
:
ossConfig
.
securityToken
,
bucket
:
'
iplayabc-worker-queue-video-mini
'
,
cors
:
true
,
secure
:
true
,
silent
:
true
});
//绑定点击事件
$
(
'
#save
'
).
on
(
'
click
'
,
function
(){
var
test
=
$
(
"
[name='test']
"
).
val
();
//保存新增或修改的数据
window
.
courseware
.
setData
({
test
:
test
},
function
(){
//保存数据也是异步的
alert
(
"
保存成功!
"
);
},
key
);
})
},
key
);
})
\ No newline at end of file
this
.
$message
.
info
(
'
正在计算文件 MD5 值...
'
);
this
.
calculateMD5
(
file
).
then
(
function
(
md5
)
{
if
(
uploadId
!==
_this
.
currentUploadId
)
{
return
Promise
.
reject
(
new
Error
(
'
stale upload
'
));
}
console
.
log
(
'
md5
'
,
md5
);
var
ext
=
file
.
name
.
split
(
'
.
'
).
pop
().
toLowerCase
();
var
newFileName
=
md5
+
'
.
'
+
ext
;
return
client
.
multipartUpload
(
newFileName
,
file
,
{
progress
:
function
(
p
)
{
if
(
uploadId
===
_this
.
currentUploadId
)
{
_this
.
uploadProgress
=
Math
.
floor
(
p
*
50
);
}
}
}).
then
(
function
()
{
if
(
ext
!==
'
mp4
'
)
{
return
newFileName
;
}
var
miniName
=
md5
+
'
_mini.mp4
'
;
return
videoClient
.
multipartUpload
(
miniName
,
file
,
{
progress
:
function
(
p
)
{
if
(
uploadId
===
_this
.
currentUploadId
)
{
_this
.
uploadProgress
=
Math
.
floor
(
p
*
50
)
+
50
;
}
}
}).
then
(
function
()
{
return
miniName
;
});
});
}).
then
(
function
(
fileName
)
{
if
(
uploadId
!==
_this
.
currentUploadId
)
{
return
;
}
var
url
=
(
ossConfig
.
domain
||
''
).
replace
(
'
http://
'
,
'
https://
'
)
+
fileName
;
_this
.
uploadProgress
=
100
;
_this
.
videoPreviewUrl
=
url
;
_this
.
videoInfo
.
ready
=
false
;
_this
.
uploading
=
false
;
_this
.
$nextTick
(
_this
.
readVideoMeta
);
_this
.
saveData
();
_this
.
$message
.
success
(
'
上传成功
'
);
}).
catch
(
function
()
{
_this
.
handleUploadError
(
uploadId
);
});
},
saveData
:
function
()
{
if
(
!
window
.
courseware
||
!
window
.
courseware
.
setData
)
{
return
;
}
var
data
=
{
videoUrl
:
this
.
videoPreviewUrl
,
videoInfo
:
{
ready
:
this
.
videoInfo
.
ready
,
duration
:
this
.
videoInfo
.
duration
,
durationText
:
this
.
videoInfo
.
durationText
,
width
:
this
.
videoInfo
.
width
,
height
:
this
.
videoInfo
.
height
,
size
:
this
.
videoInfo
.
size
,
sizeText
:
this
.
videoInfo
.
sizeText
},
scriptText
:
this
.
scriptText
};
window
.
courseware
.
setData
(
data
,
function
()
{},
key
);
},
validateJson
:
function
()
{
if
(
!
this
.
scriptText
)
{
this
.
jsonError
=
''
;
return
;
}
try
{
JSON
.
parse
(
this
.
scriptText
);
this
.
jsonError
=
''
;
}
catch
(
err
)
{
this
.
jsonError
=
err
.
message
||
'
JSON 语法错误
'
;
}
}
}
});
\ No newline at end of file
package-lock.json
View file @
39b2e852
{
"name"
:
"h5-template-generator"
,
"version"
:
"1.0.0"
,
"lockfileVersion"
:
1
,
"lockfileVersion"
:
3
,
"requires"
:
true
,
"dependencies"
:
{
"bl"
:
{
"packages"
:
{
""
:
{
"name"
:
"h5-template-generator"
,
"version"
:
"1.0.0"
,
"license"
:
"ISC"
,
"dependencies"
:
{
"compressing"
:
"^1.5.0"
}
},
"node_modules/bl"
:
{
"version"
:
"1.2.2"
,
"resolved"
:
"https://registry.npmjs.org/bl/-/bl-1.2.2.tgz"
,
"integrity"
:
"sha512-e8tQYnZodmebYDWGH7KMRvtzKXaJHx3BbilrgZCfvyLUYdKpK1t5PSPmpkny/SgiTSCnjfLW7v5rlONXVFkQEA=="
,
"
requir
es"
:
{
"
dependenci
es"
:
{
"readable-stream"
:
"^2.3.5"
,
"safe-buffer"
:
"^5.1.1"
}
},
"buffer-alloc"
:
{
"
node_modules/
buffer-alloc"
:
{
"version"
:
"1.2.0"
,
"resolved"
:
"https://registry.npmjs.org/buffer-alloc/-/buffer-alloc-1.2.0.tgz"
,
"integrity"
:
"sha512-CFsHQgjtW1UChdXgbyJGtnm+O/uLQeZdtbDo8mfUgYXCHSM1wgrVxXm6bSyrUuErEb+4sYVGCzASBRot7zyrow=="
,
"
requir
es"
:
{
"
dependenci
es"
:
{
"buffer-alloc-unsafe"
:
"^1.1.0"
,
"buffer-fill"
:
"^1.0.0"
}
},
"buffer-alloc-unsafe"
:
{
"
node_modules/
buffer-alloc-unsafe"
:
{
"version"
:
"1.1.0"
,
"resolved"
:
"https://registry.npmjs.org/buffer-alloc-unsafe/-/buffer-alloc-unsafe-1.1.0.tgz"
,
"integrity"
:
"sha512-TEM2iMIEQdJ2yjPJoSIsldnleVaAk1oW3DBVUykyOLsEsFmEc9kn+SFFPz+gl54KQNxlDnAwCXosOS9Okx2xAg=="
},
"buffer-crc32"
:
{
"
node_modules/
buffer-crc32"
:
{
"version"
:
"0.2.13"
,
"resolved"
:
"https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz"
,
"integrity"
:
"sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI="
"integrity"
:
"sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI="
,
"engines"
:
{
"node"
:
"*"
}
},
"buffer-fill"
:
{
"
node_modules/
buffer-fill"
:
{
"version"
:
"1.0.0"
,
"resolved"
:
"https://registry.npmjs.org/buffer-fill/-/buffer-fill-1.0.0.tgz"
,
"integrity"
:
"sha1-+PeLdniYiO858gXNY39o5wISKyw="
},
"compressing"
:
{
"
node_modules/
compressing"
:
{
"version"
:
"1.5.0"
,
"resolved"
:
"https://registry.npmjs.org/compressing/-/compressing-1.5.0.tgz"
,
"integrity"
:
"sha512-CPMzMd/MswJh7CPRo605FQhXQlP0JbwCjPteh9GZ0jYTQcDBrYJLEW7Fm1dpTdOHk0/2ZE2C8SO5EX4Dp7KZ8w=="
,
"
requir
es"
:
{
"
dependenci
es"
:
{
"flushwritable"
:
"^1.0.0"
,
"get-ready"
:
"^1.0.0"
,
"iconv-lite"
:
"^0.5.0"
,
...
...
@@ -51,107 +62,117 @@
"tar-stream"
:
"^1.5.2"
,
"yauzl"
:
"^2.7.0"
,
"yazl"
:
"^2.4.2"
},
"engines"
:
{
"node"
:
">= 4.0.0"
}
},
"core-util-is"
:
{
"
node_modules/
core-util-is"
:
{
"version"
:
"1.0.2"
,
"resolved"
:
"https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz"
,
"integrity"
:
"sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
},
"end-of-stream"
:
{
"
node_modules/
end-of-stream"
:
{
"version"
:
"1.4.4"
,
"resolved"
:
"https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz"
,
"integrity"
:
"sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q=="
,
"
requir
es"
:
{
"
dependenci
es"
:
{
"once"
:
"^1.4.0"
}
},
"fd-slicer"
:
{
"
node_modules/
fd-slicer"
:
{
"version"
:
"1.1.0"
,
"resolved"
:
"https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz"
,
"integrity"
:
"sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4="
,
"
requir
es"
:
{
"
dependenci
es"
:
{
"pend"
:
"~1.2.0"
}
},
"flushwritable"
:
{
"
node_modules/
flushwritable"
:
{
"version"
:
"1.0.0"
,
"resolved"
:
"https://registry.npmjs.org/flushwritable/-/flushwritable-1.0.0.tgz"
,
"integrity"
:
"sha1-PjKNj95BKtR+c44751C00pAENJg="
},
"fs-constants"
:
{
"
node_modules/
fs-constants"
:
{
"version"
:
"1.0.0"
,
"resolved"
:
"https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz"
,
"integrity"
:
"sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow=="
},
"get-ready"
:
{
"
node_modules/
get-ready"
:
{
"version"
:
"1.0.0"
,
"resolved"
:
"https://registry.npmjs.org/get-ready/-/get-ready-1.0.0.tgz"
,
"integrity"
:
"sha1-+RgX8emt7P6hOlYq38jeiDqzR4I="
},
"iconv-lite"
:
{
"
node_modules/
iconv-lite"
:
{
"version"
:
"0.5.0"
,
"resolved"
:
"https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.5.0.tgz"
,
"integrity"
:
"sha512-NnEhI9hIEKHOzJ4f697DMz9IQEXr/MMJ5w64vN2/4Ai+wRnvV7SBrL0KLoRlwaKVghOc7LQ5YkPLuX146b6Ydw=="
,
"
requir
es"
:
{
"
dependenci
es"
:
{
"safer-buffer"
:
">= 2.1.2 < 3"
},
"engines"
:
{
"node"
:
">=0.10.0"
}
},
"inherits"
:
{
"
node_modules/
inherits"
:
{
"version"
:
"2.0.4"
,
"resolved"
:
"https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz"
,
"integrity"
:
"sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
},
"isarray"
:
{
"
node_modules/
isarray"
:
{
"version"
:
"1.0.0"
,
"resolved"
:
"https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz"
,
"integrity"
:
"sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE="
},
"minimist"
:
{
"
node_modules/
minimist"
:
{
"version"
:
"0.0.8"
,
"resolved"
:
"https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz"
,
"integrity"
:
"sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0="
},
"mkdirp"
:
{
"
node_modules/
mkdirp"
:
{
"version"
:
"0.5.1"
,
"resolved"
:
"https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz"
,
"integrity"
:
"sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM="
,
"requires"
:
{
"deprecated"
:
"Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)"
,
"dependencies"
:
{
"minimist"
:
"0.0.8"
},
"bin"
:
{
"mkdirp"
:
"bin/cmd.js"
}
},
"once"
:
{
"
node_modules/
once"
:
{
"version"
:
"1.4.0"
,
"resolved"
:
"https://registry.npmjs.org/once/-/once-1.4.0.tgz"
,
"integrity"
:
"sha1-WDsap3WWHUsROsF9nFC6753Xa9E="
,
"
requir
es"
:
{
"
dependenci
es"
:
{
"wrappy"
:
"1"
}
},
"pend"
:
{
"
node_modules/
pend"
:
{
"version"
:
"1.2.0"
,
"resolved"
:
"https://registry.npmjs.org/pend/-/pend-1.2.0.tgz"
,
"integrity"
:
"sha1-elfrVQpng/kRUzH89GY9XI4AelA="
},
"process-nextick-args"
:
{
"
node_modules/
process-nextick-args"
:
{
"version"
:
"2.0.1"
,
"resolved"
:
"https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz"
,
"integrity"
:
"sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="
},
"pump"
:
{
"
node_modules/
pump"
:
{
"version"
:
"3.0.0"
,
"resolved"
:
"https://registry.npmjs.org/pump/-/pump-3.0.0.tgz"
,
"integrity"
:
"sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww=="
,
"
requir
es"
:
{
"
dependenci
es"
:
{
"end-of-stream"
:
"^1.1.0"
,
"once"
:
"^1.3.1"
}
},
"readable-stream"
:
{
"
node_modules/
readable-stream"
:
{
"version"
:
"2.3.6"
,
"resolved"
:
"https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz"
,
"integrity"
:
"sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw=="
,
"
requir
es"
:
{
"
dependenci
es"
:
{
"core-util-is"
:
"~1.0.0"
,
"inherits"
:
"~2.0.3"
,
"isarray"
:
"~1.0.0"
,
...
...
@@ -159,50 +180,49 @@
"safe-buffer"
:
"~5.1.1"
,
"string_decoder"
:
"~1.1.1"
,
"util-deprecate"
:
"~1.0.1"
},
"dependencies"
:
{
"safe-buffer"
:
{
"version"
:
"5.1.2"
,
"resolved"
:
"https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz"
,
"integrity"
:
"sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
}
}
},
"safe-buffer"
:
{
"node_modules/readable-stream/node_modules/safe-buffer"
:
{
"version"
:
"5.1.2"
,
"resolved"
:
"https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz"
,
"integrity"
:
"sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
},
"node_modules/safe-buffer"
:
{
"version"
:
"5.2.0"
,
"resolved"
:
"https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz"
,
"integrity"
:
"sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg=="
},
"safer-buffer"
:
{
"
node_modules/
safer-buffer"
:
{
"version"
:
"2.1.2"
,
"resolved"
:
"https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz"
,
"integrity"
:
"sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
},
"streamifier"
:
{
"
node_modules/
streamifier"
:
{
"version"
:
"0.1.1"
,
"resolved"
:
"https://registry.npmjs.org/streamifier/-/streamifier-0.1.1.tgz"
,
"integrity"
:
"sha1-l+mNj6TRBdYqJpHR3AfoINuN/E8="
"integrity"
:
"sha1-l+mNj6TRBdYqJpHR3AfoINuN/E8="
,
"engines"
:
{
"node"
:
">=0.10"
}
},
"string_decoder"
:
{
"
node_modules/
string_decoder"
:
{
"version"
:
"1.1.1"
,
"resolved"
:
"https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz"
,
"integrity"
:
"sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg=="
,
"requires"
:
{
"safe-buffer"
:
"~5.1.0"
},
"dependencies"
:
{
"safe-buffer"
:
{
"version"
:
"5.1.2"
,
"resolved"
:
"https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz"
,
"integrity"
:
"sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
}
"safe-buffer"
:
"~5.1.0"
}
},
"tar-stream"
:
{
"node_modules/string_decoder/node_modules/safe-buffer"
:
{
"version"
:
"5.1.2"
,
"resolved"
:
"https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz"
,
"integrity"
:
"sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
},
"node_modules/tar-stream"
:
{
"version"
:
"1.6.2"
,
"resolved"
:
"https://registry.npmjs.org/tar-stream/-/tar-stream-1.6.2.tgz"
,
"integrity"
:
"sha512-rzS0heiNf8Xn7/mpdSVVSMAWAoy9bfb1WOTYC78Z0UQKeKa/CWS8FOq0lKGNa8DWKAn9gxjCvMLYc5PGXYlK2A=="
,
"
requir
es"
:
{
"
dependenci
es"
:
{
"bl"
:
"^1.0.0"
,
"buffer-alloc"
:
"^1.2.0"
,
"end-of-stream"
:
"^1.0.0"
,
...
...
@@ -210,42 +230,48 @@
"readable-stream"
:
"^2.3.0"
,
"to-buffer"
:
"^1.1.1"
,
"xtend"
:
"^4.0.0"
},
"engines"
:
{
"node"
:
">= 0.8.0"
}
},
"to-buffer"
:
{
"
node_modules/
to-buffer"
:
{
"version"
:
"1.1.1"
,
"resolved"
:
"https://registry.npmjs.org/to-buffer/-/to-buffer-1.1.1.tgz"
,
"integrity"
:
"sha512-lx9B5iv7msuFYE3dytT+KE5tap+rNYw+K4jVkb9R/asAb+pbBSM17jtunHplhBe6RRJdZx3Pn2Jph24O32mOVg=="
},
"util-deprecate"
:
{
"
node_modules/
util-deprecate"
:
{
"version"
:
"1.0.2"
,
"resolved"
:
"https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz"
,
"integrity"
:
"sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
},
"wrappy"
:
{
"
node_modules/
wrappy"
:
{
"version"
:
"1.0.2"
,
"resolved"
:
"https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz"
,
"integrity"
:
"sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
},
"xtend"
:
{
"
node_modules/
xtend"
:
{
"version"
:
"4.0.2"
,
"resolved"
:
"https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz"
,
"integrity"
:
"sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ=="
"integrity"
:
"sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ=="
,
"engines"
:
{
"node"
:
">=0.4"
}
},
"yauzl"
:
{
"
node_modules/
yauzl"
:
{
"version"
:
"2.10.0"
,
"resolved"
:
"https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz"
,
"integrity"
:
"sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk="
,
"
requir
es"
:
{
"
dependenci
es"
:
{
"buffer-crc32"
:
"~0.2.3"
,
"fd-slicer"
:
"~1.1.0"
}
},
"yazl"
:
{
"
node_modules/
yazl"
:
{
"version"
:
"2.5.1"
,
"resolved"
:
"https://registry.npmjs.org/yazl/-/yazl-2.5.1.tgz"
,
"integrity"
:
"sha512-phENi2PLiHnHb6QBVot+dJnaAZ0xosj7p3fWl+znIjBDlnMI2PsZCJZ306BPTFOaHf5qdDEI8x5qFrSOBN5vrw=="
,
"
requir
es"
:
{
"
dependenci
es"
:
{
"buffer-crc32"
:
"~0.2.3"
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment