Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
clipboard-parser
Advanced tools
支持解析@RequestParam/@ApiModelProperty 接口定义代码、Word、Excel 以及其他表格类数据
# 通过npm安装
npm install -S clipboard-parser
# 或者通过yarn安装
yarn add clipboard-parser
# vue页面
<template>
<textarea @paste="handlePaste"></textarea>
</template>
<script>
import clipboardParser from 'clipboard-parser'
export default {
methods: {
handlePaste(e) {
const result = clipboardParser(e)
// ...
}
}
}
</script>
@RequestParam("rowCount")
@ApiParam(required = false, name = "rowCount", value = "每页容量大小",defaultValue = 10)
String rowCount,
@RequestParam(value = "current")
@ApiParam(required = false, name = "current", value = "开始页",defaultValue = 1)
String current,
[
{
"type": "String",
"required": true,
"name": "rowCount",
"defaultValue": 10,
"description": "每页容量大小"
},
{
"type": "String",
"required": true,
"name": "current",
"defaultValue": 1,
"description": "开始页"
}
]
@ApiModelProperty(value = "id主键", required = true)
private String id;
@ApiModelProperty(value = "名称")
private String name;
[
{
"required": true,
"type": "String",
"description": "id主键",
"defaultValue": "",
"name": "id"
},
{
"required": true,
"type": "String",
"description": "名称",
"defaultValue": "",
"name": "name"
}
]
参数 | 说明 | 类型 | 可选值 | 必填 | 默认 |
---|---|---|---|---|---|
type | 分支类型 | String | feature/bugfix/support | false | 当前分支类型 |
name | 分支名称 | String | - | false | 当前分支名称 |
[
{
"name": "type",
"type": "String",
"required": false,
"defaultValue": "",
"description": "分支类型"
},
{
"name": "name",
"type": "String",
"required": false,
"defaultValue": "",
"description": "分支名称"
}
]
2021.09.05 v2.0.0
typescript
.clipboardParser(window.clipboardData || event.clipboardData)
to clipboardParser(e)
tsdoc
to generate API documentationFAQs
A tool to read the clipboard and parse out the table data
The npm package clipboard-parser receives a total of 4 weekly downloads. As such, clipboard-parser popularity was classified as not popular.
We found that clipboard-parser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.