Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rev dev dependencies and add usage examples to readme #1

Merged
merged 1 commit into from
Mar 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ Directives and composables for wiring up and debouncing native HTML events in Vu
</a>
</p>

## Examples

* [dragon-drop-vue](https://dragondropvue.com)
* [setup](https://github.com/nruffing/dragon-drop-vue/blob/main/lib/DragonDropVue.ts#L15C13-L15C27)
* [usage](https://github.com/nruffing/dragon-drop-vue/blob/main/lib/htmlHelpers.ts#L32C3-L32C17)
* [data-grid-vue](https://datagridvue.com)
* setup via dragon-drop-vue plugin
* [usage](https://github.com/nruffing/data-grid-vue/blob/main/lib/components/DataGridVue.vue#L791C33-L791C47)

## Install

```
Expand Down Expand Up @@ -150,6 +159,10 @@ The following debounce behavior modes are available via the `DebounceMode` enum.

## Release Notes

### v1.4.1
* Rev development dependencies. This addresses the security vulnerabilities reported in package [`ip`](https://github.com/nruffing/native-event-vue/security/dependabot/6).
* Add example usages to readme.

### v1.4.0
* Add option to call `preventDefault` on all events including ones that are debounced. For example. to ensure that the drop event always fires as expected, you should always include a `preventDefault` call in the part of your code which handles the dragover event. |

Expand Down
14 changes: 7 additions & 7 deletions dev-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@
"node": ">=18"
},
"devDependencies": {
"@babel/types": "^7.23.6",
"@babel/types": "^7.24.0",
"@tsconfig/node18": "^18.2.2",
"@types/node": "^18.11.9",
"@vitejs/plugin-vue": "^5.0.3",
"@vitejs/plugin-vue": "^5.0.4",
"@vue/tsconfig": "^0.5.1",
"tslib": "^2.6.2",
"typescript": "~5.3.3",
"vite": "^5.0.12",
"vue": "^3.4.15",
"vue-router": "^4.2.5",
"vue-tsc": "^1.8.27"
"typescript": "~5.4.2",
"vite": "^5.1.5",
"vue": "^3.4.21",
"vue-router": "^4.3.0",
"vue-tsc": "^2.0.6"
},
"dependencies": {
"native-event-vue": "link:.."
Expand Down
16 changes: 8 additions & 8 deletions e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,20 @@
"node": ">=18"
},
"devDependencies": {
"@babel/types": "^7.23.6",
"@babel/types": "^7.24.0",
"@tsconfig/node18": "^18.2.2",
"@types/node": "^18.11.9",
"@vitejs/plugin-vue": "^5.0.3",
"@vitejs/plugin-vue": "^5.0.4",
"@vue/tsconfig": "^0.5.1",
"cypress": "^13.6.3",
"cypress": "^13.6.6",
"cypress-vite": "^1.5.0",
"start-server-and-test": "^2.0.3",
"tslib": "^2.6.2",
"typescript": "~5.3.3",
"vite": "^5.0.12",
"vue": "^3.4.15",
"vue-router": "^4.2.5",
"vue-tsc": "^1.8.27"
"typescript": "~5.4.2",
"vite": "^5.1.5",
"vue": "^3.4.21",
"vue-router": "^4.3.0",
"vue-tsc": "^2.0.6"
},
"dependencies": {
"native-event-vue": "link:.."
Expand Down
44 changes: 23 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "native-event-vue",
"version": "1.4.0",
"version": "1.4.1",
"type": "module",
"private": false,
"description": "Directives and composables for wiring up and debouncing native HTML events in Vue.",
"description": "Directives and composables for wiring up and debouncing native HTML events in Vue with zero dependencies.",
"license": "MIT",
"author": {
"name": "Nicholas Ruffing",
Expand Down Expand Up @@ -78,35 +78,37 @@
"vue": ">=3.3.0"
},
"devDependencies": {
"@babel/types": "^7.23.6",
"@babel/types": "^7.24.0",
"@tsconfig/node18": "^18.2.2",
"@types/node": "^18.11.9",
"@vitejs/plugin-vue": "^5.0.3",
"@vitest/browser": "^1.2.1",
"@vitest/coverage-istanbul": "^1.2.1",
"@vitejs/plugin-vue": "^5.0.4",
"@vitest/browser": "^1.3.1",
"@vitest/coverage-istanbul": "^1.3.1",
"@vue/tsconfig": "^0.5.1",
"@vuepress/utils": "2.0.0-rc.0",
"cspell": "^8.3.2",
"dotenv": "^16.3.2",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"npm-check-updates": "^16.14.12",
"prettier": "^3.2.4",
"@vuepress/utils": "2.0.0-rc.8",
"cspell": "^8.6.0",
"dotenv": "^16.4.5",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"npm-check-updates": "^16.14.15",
"prettier": "^3.2.5",
"tslib": "^2.6.2",
"typescript": "~5.3.3",
"vite": "^5.0.12",
"vitest": "^1.2.1",
"vue": "^3.4.15",
"vue-router": "^4.2.5",
"vue-tsc": "^1.8.27",
"webdriverio": "^8.28.8"
"typescript": "~5.4.2",
"vite": "^5.1.5",
"vitest": "^1.3.1",
"vue": "^3.4.21",
"vue-router": "^4.3.0",
"vue-tsc": "^2.0.6",
"webdriverio": "^8.33.1"
},
"lint-staged": {
"*.{ts,json,vue,css}": "prettier --write"
},
"pnpm": {
"overrides": {
"follow-redirects@<1.15.4": ">=1.15.4"
"follow-redirects@<1.15.4": ">=1.15.4",
"ip@<1.1.9": ">=1.1.9",
"ip@=2.0.0": ">=2.0.1"
}
}
}
Loading
Loading