From 3a6ff64fc483471b81179fd4fcf7bc2d034dcfdc Mon Sep 17 00:00:00 2001 From: Brandon Reid Date: Mon, 21 Aug 2023 15:26:17 -0300 Subject: [PATCH] undo package updates --- package-lock.json | 18 +++++++-------- package.json | 22 +++++++++---------- .../usePositionStickyObserver.ts | 3 +-- 3 files changed, 21 insertions(+), 22 deletions(-) diff --git a/package-lock.json b/package-lock.json index 961e880b..24edc440 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,19 +16,19 @@ "@types/lodash.debounce": "4.0.7", "@types/lodash.isequal": "^4.5.6", "auto-changelog": "^2.3.0", - "eslint": "^8.6.0", + "eslint": "^8.5.0", "lodash.isequal": "^4.5.0", - "ts-node": "^10.7.0", - "tsc-alias": "1.8.7", - "typescript": "5.1.6", - "vite": "4.4.9", - "vitest": "^0.34.2", - "vue-tsc": "1.8.8" + "ts-node": "^10.4.0", + "tsc-alias": "^1.7.1", + "typescript": "^5.0.3", + "vite": "^4.0.3", + "vitest": "^0.34.1", + "vue-tsc": "^1.0.9" }, "peerDependencies": { "lodash.debounce": "^4.0.8", - "vue": "^3.3.4", - "vue-router": "^4.1.6" + "vue": "^3.2.36", + "vue-router": "^4.0.15" }, "peerDependenciesMeta": { "lodash.debounce": { diff --git a/package.json b/package.json index c8822102..ae27010a 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,8 @@ "dev": "tsc -w & tsc-alias -w & vite build -w", "build": "tsc && tsc-alias && vite build", "test": "vitest", - "lint": "eslint src", - "lint:fix": "eslint src --fix", + "lint": "eslint ./", + "lint:fix": "eslint ./ --fix", "types": "vue-tsc --noEmit", "changelog": "auto-changelog --package --commit-limit 0", "version": "npm run changelog && git add CHANGELOG.md" @@ -45,19 +45,19 @@ "@types/lodash.debounce": "4.0.7", "@types/lodash.isequal": "^4.5.6", "auto-changelog": "^2.3.0", - "eslint": "^8.6.0", + "eslint": "^8.5.0", "lodash.isequal": "^4.5.0", - "ts-node": "^10.7.0", - "tsc-alias": "1.8.7", - "typescript": "5.1.6", - "vite": "4.4.9", - "vitest": "^0.34.2", - "vue-tsc": "1.8.8" + "ts-node": "^10.4.0", + "tsc-alias": "^1.7.1", + "typescript": "^5.0.3", + "vite": "^4.0.3", + "vitest": "^0.34.1", + "vue-tsc": "^1.0.9" }, "peerDependencies": { "lodash.debounce": "^4.0.8", - "vue": "^3.3.4", - "vue-router": "^4.1.6" + "vue": "^3.2.36", + "vue-router": "^4.0.15" }, "peerDependenciesMeta": { "vue-router": { diff --git a/src/usePositionStickyObserver/usePositionStickyObserver.ts b/src/usePositionStickyObserver/usePositionStickyObserver.ts index 349080e5..b5288d6d 100644 --- a/src/usePositionStickyObserver/usePositionStickyObserver.ts +++ b/src/usePositionStickyObserver/usePositionStickyObserver.ts @@ -1,4 +1,4 @@ -import { Ref, computed, onMounted, ref, MaybeRefOrGetter, toValue } from 'vue' +import { Ref, computed, onMounted, ref, toValue } from 'vue' import { useIntersectionObserver } from '@/useIntersectionObserver' export type UsePositionStickyObserverResponse = { @@ -26,7 +26,6 @@ export function usePositionStickyObserver( } const { rootMargin, boundingElement } = toValue(options) - console.log('in deal', boundingElement) const boundingElementRef = toValue(boundingElement) return {