
Security News
Risky Biz Podcast: AI Agents Are Raising the Stakes for Software Supply Chain Security
Open source attacks are accelerating as AI coding agents pull in dependencies faster, with less human review.
@fly_tiger/tiger-upload
Advanced tools
Now I’m the model of a modern major general / The venerated Virginian veteran whose men are all / Lining up, to put me up on a pedestal / Writin’ letters to relatives / Embellishin’ my elegance and eloquence / But the elephant is in the room / The truth i
::: demo
<div>
<div>
<el-upload
action="/"
:before-upload="beforeUpload"
>
<el-button size="small" type="primary">点击上传</el-button>
</el-upload>
<el-button @click="handlerPause">暂停</el-button>
<el-button @click="handlerRun">开始</el-button>
<div v-for="item in (uploadList || [])">
<div>{{(item || {}).Location}}</div>
</div>
<el-progress style="width: 200px;" :text-inside="true" :stroke-width="24" :percentage="percentage" status="success"></el-progress>
</div>
</div>
<script>
export default {
data() {
return {
percentage: 0,
uploadList: [],
multipartUpload: null,
awsClient: null
};
},
methods: {
async handlerRun() {
const result = await this.multipartUpload.reRun()
this.uploadList.push(result)
},
handlerPause() {
this.multipartUpload.pause()
},
async beforeUpload(file) {
this.multipartUpload = this.awsClient.multipartUpload({
file,
progress: (percent) => {
this.percentage = percent * 100;
},
breakpoint: () => {
return new Promise((res, rej) => {
this.$confirm('是否继续上传', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
res(true)
}).catch(() => {
res(false)
});
})
}
})
const result = await this.multipartUpload.run()
fetch("http://test-api.flytiger.net/base/sysStorageCeph/anon/add", {
method:"POST",
mode: 'cors',
headers: {
'Content-Type': 'application/json'
},
body:JSON.stringify({
'etag' : result.ETag,
'filePath': result.Location
})
}).then(response => response.json()).then(json => {})
this.uploadList.push(result)
return false;
}
},
mounted() {
fetch("http://test-api.flytiger.net/base/sysStorageCeph/anon/getCephSignature")
.then(res => res.json())
.then(data => {
const { accessKey: accessKeyId, bucket: Bucket, endpoint, secretKey: secretAccessKey } = data.data;
this.awsClient = new AWSClient({
accessKeyId,
secretAccessKey,
endpoint: `http://${endpoint}`,
Bucket
});
console.log(this.awsClient)
})
console.log(AWSClient)
}
}
</script>
<style>
.avatar-uploader .el-upload {
border: 1px dashed #d9d9d9;
border-radius: 6px;
cursor: pointer;
position: relative;
overflow: hidden;
}
.avatar-uploader .el-upload:hover {
border-color: #409EFF;
}
.avatar-uploader-icon {
font-size: 28px;
color: #8c939d;
width: 178px;
height: 178px;
line-height: 178px;
text-align: center;
}
.avatar {
width: 178px;
height: 178px;
display: block;
}
</style>
:::
FAQs
Now I’m the model of a modern major general / The venerated Virginian veteran whose men are all / Lining up, to put me up on a pedestal / Writin’ letters to relatives / Embellishin’ my elegance and eloquence / But the elephant is in the room / The truth i
The npm package @fly_tiger/tiger-upload receives a total of 2 weekly downloads. As such, @fly_tiger/tiger-upload popularity was classified as not popular.
We found that @fly_tiger/tiger-upload demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Open source attacks are accelerating as AI coding agents pull in dependencies faster, with less human review.

Research
/Security News
Malicious Chrome and Firefox extensions posed as free VPNs while stealing clipboard data through later extension updates.

Research
/Security News
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.