Update compute-scroll-into-view

This commit is contained in:
Oliver Blanthorn 2023-04-07 14:59:50 +02:00
parent 03231e7b83
commit 6efbfccd63
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3
3 changed files with 6 additions and 6 deletions

View file

@ -14,7 +14,7 @@
"dependencies": {
"arg": "^5.0.2",
"cleanslate": "^0.10.1",
"compute-scroll-into-view": "^1.0.17",
"compute-scroll-into-view": "^3.0.0",
"csp-serdes": "github:cmcaine/csp-serdes",
"css": "^3.0.0",
"editor-adapter": "^0.0.3",

View file

@ -3,7 +3,7 @@ import * as DOM from "@src/lib/dom"
import { browserBg, activeTabId } from "@src/lib/webext"
import state from "@src/state"
import * as State from "@src/state"
import scrollCompute from "compute-scroll-into-view"
import { compute as scrollCompute } from "compute-scroll-into-view"
// The host is the shadow root of a span used to contain all highlighting
// elements. This is the least disruptive way of highlighting text in a page.

View file

@ -1906,10 +1906,10 @@ component-emitter@^1.2.1:
resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.2.1.tgz#137918d6d78283f7df7a6b7c5a63e140e69425e6"
integrity sha1-E3kY1teCg/ffemt8WmPhQOaUJeY=
compute-scroll-into-view@^1.0.17:
version "1.0.17"
resolved "https://registry.yarnpkg.com/compute-scroll-into-view/-/compute-scroll-into-view-1.0.17.tgz#6a88f18acd9d42e9cf4baa6bec7e0522607ab7ab"
integrity sha512-j4dx+Fb0URmzbwwMUrhqWM2BEWHdFGx+qZ9qqASHRPqvTYdqvWnHg0H1hIbcyLnvgnoNAVMlwkepyqM3DaIFUg==
compute-scroll-into-view@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/compute-scroll-into-view/-/compute-scroll-into-view-3.0.0.tgz#95d2f2f4653e7edda74dd1e38edaaa897918e0f0"
integrity sha512-Yk1An4qzo5++Cu6peT9PsmRKIU8tALpmdoE09n//AfGQFcPfx21/tMGMsmKYmLJWaBJrGOJ5Jz5hoU+7cZZUWQ==
concat-map@0.0.1:
version "0.0.1"