From fb98dc15dd4fda34ed6f1e8a0506d59b80353574 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 15 Sep 2024 05:47:09 +0000 Subject: [PATCH 1/2] Bump slate-react from 0.107.1 to 0.110.1 Bumps [slate-react](https://github.com/ianstormtaylor/slate) from 0.107.1 to 0.110.1. - [Release notes](https://github.com/ianstormtaylor/slate/releases) - [Commits](https://github.com/ianstormtaylor/slate/compare/slate-react@0.107.1...slate-react@0.110.1) --- updated-dependencies: - dependency-name: slate-react dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 18 +++--------------- package.json | 2 +- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9d4a14eb7..94ba56b25 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6693,11 +6693,6 @@ "@types/node": "*" } }, - "@types/is-hotkey": { - "version": "0.1.10", - "resolved": "https://registry.npmjs.org/@types/is-hotkey/-/is-hotkey-0.1.10.tgz", - "integrity": "sha512-RvC8KMw5BCac1NvRRyaHgMMEtBaZ6wh0pyPTBu7izn4Sj/AX9Y4aXU5c7rX8PnM/knsuUpC1IeoBkANtxBypsQ==" - }, "@types/jquery": { "version": "3.5.29", "resolved": "https://registry.npmjs.org/@types/jquery/-/jquery-3.5.29.tgz", @@ -6725,11 +6720,6 @@ "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==", "dev": true }, - "@types/lodash": { - "version": "4.17.7", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.7.tgz", - "integrity": "sha512-8wTvZawATi/lsmNu10/j2hk1KEP0IvjubqPE3cu1Xz7xfXXt5oCq3SNUz4fMIP4XGF9Ky+Ue2tBA3hcS7LSBlA==" - }, "@types/logfmt": { "version": "1.2.6", "resolved": "https://registry.npmjs.org/@types/logfmt/-/logfmt-1.2.6.tgz", @@ -19632,13 +19622,11 @@ } }, "slate-react": { - "version": "0.107.1", - "resolved": "https://registry.npmjs.org/slate-react/-/slate-react-0.107.1.tgz", - "integrity": "sha512-CDIFzeSkTqwOaFHIxRg4MnOsv0Ml8/PoaWiM5zL5hvDYFqVXQUEhMNQqpPEFTWJ5xVLzEv/rd9N3WloiCyEWYQ==", + "version": "0.110.1", + "resolved": "https://registry.npmjs.org/slate-react/-/slate-react-0.110.1.tgz", + "integrity": "sha512-bx6J0PkY9A50O4w78k4NPqNOXGo49fmSbCRgr8OBDWKKo4BeSt9y3vGXCkQ/Mm4lQ8riyRKr3TrJXzqMY7lRZg==", "requires": { "@juggle/resize-observer": "^3.4.0", - "@types/is-hotkey": "^0.1.8", - "@types/lodash": "^4.14.200", "direction": "^1.0.4", "is-hotkey": "^0.2.0", "is-plain-object": "^5.0.0", diff --git a/package.json b/package.json index ec8bd80c5..91e2bb4f9 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "react-textarea-autosize": "^8.5.3", "slate": "^0.103.0", "slate-history": "^0.109.0", - "slate-react": "^0.107.1", + "slate-react": "^0.110.1", "stacktrace-js": "^2.0.2", "styled-components": "^6.1.13", "use-persisted-state": "^0.3.3", From 37f430779eebe7b05b39484d8f3fc835fa0805ee Mon Sep 17 00:00:00 2001 From: Drew Fisher Date: Sun, 15 Sep 2024 00:19:42 -0700 Subject: [PATCH 2/2] Add `@types/lodash` to devDependencies `slate-react` appears to use it so to avoid failing typechecking, we should pull this dependency in too. --- package-lock.json | 16 +++++++++++----- package.json | 3 ++- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 94ba56b25..1ed2c5516 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6720,6 +6720,12 @@ "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==", "dev": true }, + "@types/lodash": { + "version": "4.17.7", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.7.tgz", + "integrity": "sha512-8wTvZawATi/lsmNu10/j2hk1KEP0IvjubqPE3cu1Xz7xfXXt5oCq3SNUz4fMIP4XGF9Ky+Ue2tBA3hcS7LSBlA==", + "dev": true + }, "@types/logfmt": { "version": "1.2.6", "resolved": "https://registry.npmjs.org/@types/logfmt/-/logfmt-1.2.6.tgz", @@ -16080,6 +16086,11 @@ "@types/debug": "^4.1.12", "debug": "^4.3.4" } + }, + "npm-events-package": { + "version": "npm:events@3.3.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==" } } }, @@ -16619,11 +16630,6 @@ "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", "dev": true }, - "npm-events-package": { - "version": "npm:events@3.3.0", - "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", - "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==" - }, "npm-run-all": { "version": "4.1.5", "resolved": "https://registry.npmjs.org/npm-run-all/-/npm-run-all-4.1.5.tgz", diff --git a/package.json b/package.json index 91e2bb4f9..5dbf881d8 100644 --- a/package.json +++ b/package.json @@ -82,11 +82,11 @@ "@types/chai-as-promised": "^7.1.8", "@types/dompurify": "^3.0.5", "@types/element-resize-detector": "^1.1.6", - "@types/npm-events-package": "npm:@types/events@^3.0.3", "@types/express": "^4.17.21", "@types/glob": "^8.1.0", "@types/http-proxy": "^1.17.15", "@types/jsbn": "^1.2.33", + "@types/lodash": "^4.17.7", "@types/logfmt": "^1.2.6", "@types/marked": "^4.3.2", "@types/meteor": "^2.9.8", @@ -94,6 +94,7 @@ "@types/mocha": "^10.0.7", "@types/mustache": "^4.2.5", "@types/node": "^14.18.63", + "@types/npm-events-package": "npm:@types/events@^3.0.3", "@types/portscanner": "^2.1.4", "@types/react": "^18.3.3", "@types/react-copy-to-clipboard": "^5.0.7",