New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

antd-tag-input

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

antd-tag-input - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

26

package.json
{
"name": "antd-tag-input",
"version": "1.0.8",
"version": "1.0.9",
"scripts": {
"dev": "vite --open",
"build": "tsc && vite build",
"preview": "vite preview",
"test": "vitest",
"test:coverage": "vitest --coverage"
},
"main": "./dist/index.umd.js",

@@ -14,7 +21,2 @@ "module": "./dist/index.es.js",

},
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
},
"dependencies": {

@@ -24,10 +26,20 @@ "antd": "^4.18.6"

"devDependencies": {
"@testing-library/dom": "^8.11.3",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^13.5.0",
"@types/react": "^17.0.33",
"@types/react-dom": "^17.0.10",
"@vitejs/plugin-react": "^1.2.0",
"c8": "^7.11.0",
"classnames": "^2.3.1",
"jsdom": "^19.0.0",
"less": "^4.1.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"typescript": "^4.5.4",
"vite": "^2.8.0",
"vite-plugin-dts": "^0.9.9",
"vite-plugin-imp": "^2.1.3"
"vite-plugin-imp": "^2.1.3",
"vitest": "^0.4.1"
},

@@ -34,0 +46,0 @@ "peerDependencies": {

@@ -1,5 +0,27 @@

# antd-tag-input
## Install
```
npm i antd-tag-input
// or
yarn add antd-tag-input
```
## Usage
```js
import TagInput from 'antd-tag-input';
import 'antd-tag-input/dist/style.css';
```
```
## Options
| 参数 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
| value | 输入框内容 | string[] | [] |
| onChange | 输入框内容变化时的回调 | (value: string[]) => void | - |
| className | 类名 | string | - |
| style | 内敛样式 | React.CSSProperties => void | - |
## todo
- [] vite-plugin-dts 打包出来的类型文件怎么非要有个 src 目录
- [] github 自动化 ci cd
- [] eslint 模板
- [] 接入 changelog 和 自动发布 github release

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc