vue-window-size
Advanced tools
Comparing version 1.0.3 to 1.0.4-0
@@ -1,8 +0,8 @@ | ||
import { ComputedRef } from 'vue-demi'; | ||
import * as vue from 'vue'; | ||
declare const useWindowSize: () => { | ||
width: ComputedRef<number>; | ||
height: ComputedRef<number>; | ||
width: vue.ComputedRef<number>; | ||
height: vue.ComputedRef<number>; | ||
}; | ||
export { useWindowSize }; |
{ | ||
"name": "vue-window-size", | ||
"version": "1.0.3", | ||
"version": "1.0.4-0", | ||
"description": "Reactivity window size for Vue.js.", | ||
@@ -21,3 +21,4 @@ "main": "dist/index.js", | ||
"test:integration": "jest --config tests/integration/jest.config.js", | ||
"release": "np" | ||
"release": "np", | ||
"prepare": "husky install" | ||
}, | ||
@@ -31,3 +32,3 @@ "dependencies": { | ||
"@vue/test-utils": "^2.0.0-beta.5", | ||
"husky": "^4.2.5", | ||
"husky": "^6.0.0", | ||
"jest": "^26.2.1", | ||
@@ -40,5 +41,5 @@ "lint-staged": "^10.2.11", | ||
"rollup": "^2.23.0", | ||
"rollup-plugin-dts": "^2.0.0", | ||
"rollup-plugin-dts": "^3.0.1", | ||
"rollup-plugin-terser": "^7.0.0", | ||
"rollup-plugin-typescript2": "^0.29.0", | ||
"rollup-plugin-typescript2": "^0.30.0", | ||
"ts-jest": "^26.1.4", | ||
@@ -66,8 +67,3 @@ "typescript": "^4.0.2", | ||
"*.{js,ts,json,md,yml}": "prettier --write" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged" | ||
} | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10667
4