0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-22 15:23:29 -05:00

Release v2.0.3

This commit is contained in:
Neil Jenkins 2023-04-20 11:05:35 +10:00
parent cbde45311a
commit 00f6a4fb8d
9 changed files with 87 additions and 156 deletions

View file

@ -4,6 +4,27 @@ All notable changes to this project will be documented in this file, starting fr
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [2.0.3] - 2023-04-20
### Fixed
- Fixed an error being thrown when you typed a URL in the middle of a text
node. https://github.com/fastmail/Squire/issues/430
## [2.0.2] - 2023-03-20
### Changed
- Let ArrowRight key always break out of <code> if at end. It will add a
space afterwards if needed.
- Added documentation for pasteImage event.
### Fixed
- Fix backspace can delete two characters.
- Consistently focus after calling removeAllFormatting.
- Performance improvements.
## [2.0.1] - 2023-02-14 ## [2.0.1] - 2023-02-14
### Changed ### Changed

10
dist/squire-raw.js vendored
View file

@ -1637,6 +1637,8 @@
self._getRangeAndRemoveBookmark(selection); self._getRangeAndRemoveBookmark(selection);
const index = searchFrom + match.index; const index = searchFrom + match.index;
const endIndex = index + match[0].length; const endIndex = index + match[0].length;
const needsSelectionUpdate = selection.startContainer === textNode;
const newSelectionOffset = selection.startOffset - endIndex;
if (index) { if (index) {
textNode = textNode.splitText(index); textNode = textNode.splitText(index);
} }
@ -1652,12 +1654,10 @@
); );
link.textContent = data.slice(index, endIndex); link.textContent = data.slice(index, endIndex);
textNode.parentNode.insertBefore(link, textNode); textNode.parentNode.insertBefore(link, textNode);
const startOffset = selection.startOffset;
textNode.data = data.slice(endIndex); textNode.data = data.slice(endIndex);
if (selection.startContainer === textNode) { if (needsSelectionUpdate) {
const newOffset = startOffset - endIndex; selection.setStart(textNode, newSelectionOffset);
selection.setStart(textNode, newOffset); selection.setEnd(textNode, newSelectionOffset);
selection.setEnd(textNode, newOffset);
} }
self.setSelection(selection); self.setSelection(selection);
} }

10
dist/squire-raw.mjs vendored
View file

@ -1639,6 +1639,8 @@ var linkifyText = (self, textNode, offset) => {
self._getRangeAndRemoveBookmark(selection); self._getRangeAndRemoveBookmark(selection);
const index = searchFrom + match.index; const index = searchFrom + match.index;
const endIndex = index + match[0].length; const endIndex = index + match[0].length;
const needsSelectionUpdate = selection.startContainer === textNode;
const newSelectionOffset = selection.startOffset - endIndex;
if (index) { if (index) {
textNode = textNode.splitText(index); textNode = textNode.splitText(index);
} }
@ -1654,12 +1656,10 @@ var linkifyText = (self, textNode, offset) => {
); );
link.textContent = data.slice(index, endIndex); link.textContent = data.slice(index, endIndex);
textNode.parentNode.insertBefore(link, textNode); textNode.parentNode.insertBefore(link, textNode);
const startOffset = selection.startOffset;
textNode.data = data.slice(endIndex); textNode.data = data.slice(endIndex);
if (selection.startContainer === textNode) { if (needsSelectionUpdate) {
const newOffset = startOffset - endIndex; selection.setStart(textNode, newSelectionOffset);
selection.setStart(textNode, newOffset); selection.setEnd(textNode, newSelectionOffset);
selection.setEnd(textNode, newOffset);
} }
self.setSelection(selection); self.setSelection(selection);
} }

2
dist/squire.js vendored

File diff suppressed because one or more lines are too long

6
dist/squire.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/squire.mjs vendored

File diff suppressed because one or more lines are too long

6
dist/squire.mjs.map vendored

File diff suppressed because one or more lines are too long

184
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "squire-rte", "name": "squire-rte",
"version": "2.0.2", "version": "2.0.3",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "squire-rte", "name": "squire-rte",
"version": "2.0.2", "version": "2.0.3",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"@babel/core": "^7.20.12", "@babel/core": "^7.20.12",
@ -1709,14 +1709,10 @@
"version": "0.16.17", "version": "0.16.17",
"resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.16.17.tgz", "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.16.17.tgz",
"integrity": "sha512-N9x1CMXVhtWEAMS7pNNONyA14f71VPQN9Cnavj1XQh6T7bskqiLLrSca4O0Vr8Wdcga943eThxnVp3JLnBMYtw==", "integrity": "sha512-N9x1CMXVhtWEAMS7pNNONyA14f71VPQN9Cnavj1XQh6T7bskqiLLrSca4O0Vr8Wdcga943eThxnVp3JLnBMYtw==",
"cpu": [ "cpu": ["arm"],
"arm"
],
"dev": true, "dev": true,
"optional": true, "optional": true,
"os": [ "os": ["android"],
"android"
],
"engines": { "engines": {
"node": ">=12" "node": ">=12"
} }
@ -1725,14 +1721,10 @@
"version": "0.16.17", "version": "0.16.17",
"resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.16.17.tgz", "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.16.17.tgz",
"integrity": "sha512-MIGl6p5sc3RDTLLkYL1MyL8BMRN4tLMRCn+yRJJmEDvYZ2M7tmAf80hx1kbNEUX2KJ50RRtxZ4JHLvCfuB6kBg==", "integrity": "sha512-MIGl6p5sc3RDTLLkYL1MyL8BMRN4tLMRCn+yRJJmEDvYZ2M7tmAf80hx1kbNEUX2KJ50RRtxZ4JHLvCfuB6kBg==",
"cpu": [ "cpu": ["arm64"],
"arm64"
],
"dev": true, "dev": true,
"optional": true, "optional": true,
"os": [ "os": ["android"],
"android"
],
"engines": { "engines": {
"node": ">=12" "node": ">=12"
} }
@ -1741,14 +1733,10 @@
"version": "0.16.17", "version": "0.16.17",
"resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.16.17.tgz", "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.16.17.tgz",
"integrity": "sha512-a3kTv3m0Ghh4z1DaFEuEDfz3OLONKuFvI4Xqczqx4BqLyuFaFkuaG4j2MtA6fuWEFeC5x9IvqnX7drmRq/fyAQ==", "integrity": "sha512-a3kTv3m0Ghh4z1DaFEuEDfz3OLONKuFvI4Xqczqx4BqLyuFaFkuaG4j2MtA6fuWEFeC5x9IvqnX7drmRq/fyAQ==",
"cpu": [ "cpu": ["x64"],
"x64"
],
"dev": true, "dev": true,
"optional": true, "optional": true,
"os": [ "os": ["android"],
"android"
],
"engines": { "engines": {
"node": ">=12" "node": ">=12"
} }
@ -1757,14 +1745,10 @@
"version": "0.16.17", "version": "0.16.17",
"resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.16.17.tgz", "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.16.17.tgz",
"integrity": "sha512-/2agbUEfmxWHi9ARTX6OQ/KgXnOWfsNlTeLcoV7HSuSTv63E4DqtAc+2XqGw1KHxKMHGZgbVCZge7HXWX9Vn+w==", "integrity": "sha512-/2agbUEfmxWHi9ARTX6OQ/KgXnOWfsNlTeLcoV7HSuSTv63E4DqtAc+2XqGw1KHxKMHGZgbVCZge7HXWX9Vn+w==",
"cpu": [ "cpu": ["arm64"],
"arm64"
],
"dev": true, "dev": true,
"optional": true, "optional": true,
"os": [ "os": ["darwin"],
"darwin"
],
"engines": { "engines": {
"node": ">=12" "node": ">=12"
} }
@ -1773,14 +1757,10 @@
"version": "0.16.17", "version": "0.16.17",
"resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.16.17.tgz", "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.16.17.tgz",
"integrity": "sha512-2By45OBHulkd9Svy5IOCZt376Aa2oOkiE9QWUK9fe6Tb+WDr8hXL3dpqi+DeLiMed8tVXspzsTAvd0jUl96wmg==", "integrity": "sha512-2By45OBHulkd9Svy5IOCZt376Aa2oOkiE9QWUK9fe6Tb+WDr8hXL3dpqi+DeLiMed8tVXspzsTAvd0jUl96wmg==",
"cpu": [ "cpu": ["x64"],
"x64"
],
"dev": true, "dev": true,
"optional": true, "optional": true,
"os": [ "os": ["darwin"],
"darwin"
],
"engines": { "engines": {
"node": ">=12" "node": ">=12"
} }
@ -1789,14 +1769,10 @@
"version": "0.16.17", "version": "0.16.17",
"resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.16.17.tgz", "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.16.17.tgz",
"integrity": "sha512-mt+cxZe1tVx489VTb4mBAOo2aKSnJ33L9fr25JXpqQqzbUIw/yzIzi+NHwAXK2qYV1lEFp4OoVeThGjUbmWmdw==", "integrity": "sha512-mt+cxZe1tVx489VTb4mBAOo2aKSnJ33L9fr25JXpqQqzbUIw/yzIzi+NHwAXK2qYV1lEFp4OoVeThGjUbmWmdw==",
"cpu": [ "cpu": ["arm64"],
"arm64"
],
"dev": true, "dev": true,
"optional": true, "optional": true,
"os": [ "os": ["freebsd"],
"freebsd"
],
"engines": { "engines": {
"node": ">=12" "node": ">=12"
} }
@ -1805,14 +1781,10 @@
"version": "0.16.17", "version": "0.16.17",
"resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.16.17.tgz", "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.16.17.tgz",
"integrity": "sha512-8ScTdNJl5idAKjH8zGAsN7RuWcyHG3BAvMNpKOBaqqR7EbUhhVHOqXRdL7oZvz8WNHL2pr5+eIT5c65kA6NHug==", "integrity": "sha512-8ScTdNJl5idAKjH8zGAsN7RuWcyHG3BAvMNpKOBaqqR7EbUhhVHOqXRdL7oZvz8WNHL2pr5+eIT5c65kA6NHug==",
"cpu": [ "cpu": ["x64"],
"x64"
],
"dev": true, "dev": true,
"optional": true, "optional": true,
"os": [ "os": ["freebsd"],
"freebsd"
],
"engines": { "engines": {
"node": ">=12" "node": ">=12"
} }
@ -1821,14 +1793,10 @@
"version": "0.16.17", "version": "0.16.17",
"resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.16.17.tgz", "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.16.17.tgz",
"integrity": "sha512-iihzrWbD4gIT7j3caMzKb/RsFFHCwqqbrbH9SqUSRrdXkXaygSZCZg1FybsZz57Ju7N/SHEgPyaR0LZ8Zbe9gQ==", "integrity": "sha512-iihzrWbD4gIT7j3caMzKb/RsFFHCwqqbrbH9SqUSRrdXkXaygSZCZg1FybsZz57Ju7N/SHEgPyaR0LZ8Zbe9gQ==",
"cpu": [ "cpu": ["arm"],
"arm"
],
"dev": true, "dev": true,
"optional": true, "optional": true,
"os": [ "os": ["linux"],
"linux"
],
"engines": { "engines": {
"node": ">=12" "node": ">=12"
} }
@ -1837,14 +1805,10 @@
"version": "0.16.17", "version": "0.16.17",
"resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.16.17.tgz", "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.16.17.tgz",
"integrity": "sha512-7S8gJnSlqKGVJunnMCrXHU9Q8Q/tQIxk/xL8BqAP64wchPCTzuM6W3Ra8cIa1HIflAvDnNOt2jaL17vaW+1V0g==", "integrity": "sha512-7S8gJnSlqKGVJunnMCrXHU9Q8Q/tQIxk/xL8BqAP64wchPCTzuM6W3Ra8cIa1HIflAvDnNOt2jaL17vaW+1V0g==",
"cpu": [ "cpu": ["arm64"],
"arm64"
],
"dev": true, "dev": true,
"optional": true, "optional": true,
"os": [ "os": ["linux"],
"linux"
],
"engines": { "engines": {
"node": ">=12" "node": ">=12"
} }
@ -1853,14 +1817,10 @@
"version": "0.16.17", "version": "0.16.17",
"resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.16.17.tgz", "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.16.17.tgz",
"integrity": "sha512-kiX69+wcPAdgl3Lonh1VI7MBr16nktEvOfViszBSxygRQqSpzv7BffMKRPMFwzeJGPxcio0pdD3kYQGpqQ2SSg==", "integrity": "sha512-kiX69+wcPAdgl3Lonh1VI7MBr16nktEvOfViszBSxygRQqSpzv7BffMKRPMFwzeJGPxcio0pdD3kYQGpqQ2SSg==",
"cpu": [ "cpu": ["ia32"],
"ia32"
],
"dev": true, "dev": true,
"optional": true, "optional": true,
"os": [ "os": ["linux"],
"linux"
],
"engines": { "engines": {
"node": ">=12" "node": ">=12"
} }
@ -1869,14 +1829,10 @@
"version": "0.16.17", "version": "0.16.17",
"resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.16.17.tgz", "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.16.17.tgz",
"integrity": "sha512-dTzNnQwembNDhd654cA4QhbS9uDdXC3TKqMJjgOWsC0yNCbpzfWoXdZvp0mY7HU6nzk5E0zpRGGx3qoQg8T2DQ==", "integrity": "sha512-dTzNnQwembNDhd654cA4QhbS9uDdXC3TKqMJjgOWsC0yNCbpzfWoXdZvp0mY7HU6nzk5E0zpRGGx3qoQg8T2DQ==",
"cpu": [ "cpu": ["loong64"],
"loong64"
],
"dev": true, "dev": true,
"optional": true, "optional": true,
"os": [ "os": ["linux"],
"linux"
],
"engines": { "engines": {
"node": ">=12" "node": ">=12"
} }
@ -1885,14 +1841,10 @@
"version": "0.16.17", "version": "0.16.17",
"resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.16.17.tgz", "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.16.17.tgz",
"integrity": "sha512-ezbDkp2nDl0PfIUn0CsQ30kxfcLTlcx4Foz2kYv8qdC6ia2oX5Q3E/8m6lq84Dj/6b0FrkgD582fJMIfHhJfSw==", "integrity": "sha512-ezbDkp2nDl0PfIUn0CsQ30kxfcLTlcx4Foz2kYv8qdC6ia2oX5Q3E/8m6lq84Dj/6b0FrkgD582fJMIfHhJfSw==",
"cpu": [ "cpu": ["mips64el"],
"mips64el"
],
"dev": true, "dev": true,
"optional": true, "optional": true,
"os": [ "os": ["linux"],
"linux"
],
"engines": { "engines": {
"node": ">=12" "node": ">=12"
} }
@ -1901,14 +1853,10 @@
"version": "0.16.17", "version": "0.16.17",
"resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.16.17.tgz", "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.16.17.tgz",
"integrity": "sha512-dzS678gYD1lJsW73zrFhDApLVdM3cUF2MvAa1D8K8KtcSKdLBPP4zZSLy6LFZ0jYqQdQ29bjAHJDgz0rVbLB3g==", "integrity": "sha512-dzS678gYD1lJsW73zrFhDApLVdM3cUF2MvAa1D8K8KtcSKdLBPP4zZSLy6LFZ0jYqQdQ29bjAHJDgz0rVbLB3g==",
"cpu": [ "cpu": ["ppc64"],
"ppc64"
],
"dev": true, "dev": true,
"optional": true, "optional": true,
"os": [ "os": ["linux"],
"linux"
],
"engines": { "engines": {
"node": ">=12" "node": ">=12"
} }
@ -1917,14 +1865,10 @@
"version": "0.16.17", "version": "0.16.17",
"resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.16.17.tgz", "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.16.17.tgz",
"integrity": "sha512-ylNlVsxuFjZK8DQtNUwiMskh6nT0vI7kYl/4fZgV1llP5d6+HIeL/vmmm3jpuoo8+NuXjQVZxmKuhDApK0/cKw==", "integrity": "sha512-ylNlVsxuFjZK8DQtNUwiMskh6nT0vI7kYl/4fZgV1llP5d6+HIeL/vmmm3jpuoo8+NuXjQVZxmKuhDApK0/cKw==",
"cpu": [ "cpu": ["riscv64"],
"riscv64"
],
"dev": true, "dev": true,
"optional": true, "optional": true,
"os": [ "os": ["linux"],
"linux"
],
"engines": { "engines": {
"node": ">=12" "node": ">=12"
} }
@ -1933,14 +1877,10 @@
"version": "0.16.17", "version": "0.16.17",
"resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.16.17.tgz", "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.16.17.tgz",
"integrity": "sha512-gzy7nUTO4UA4oZ2wAMXPNBGTzZFP7mss3aKR2hH+/4UUkCOyqmjXiKpzGrY2TlEUhbbejzXVKKGazYcQTZWA/w==", "integrity": "sha512-gzy7nUTO4UA4oZ2wAMXPNBGTzZFP7mss3aKR2hH+/4UUkCOyqmjXiKpzGrY2TlEUhbbejzXVKKGazYcQTZWA/w==",
"cpu": [ "cpu": ["s390x"],
"s390x"
],
"dev": true, "dev": true,
"optional": true, "optional": true,
"os": [ "os": ["linux"],
"linux"
],
"engines": { "engines": {
"node": ">=12" "node": ">=12"
} }
@ -1949,14 +1889,10 @@
"version": "0.16.17", "version": "0.16.17",
"resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.16.17.tgz", "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.16.17.tgz",
"integrity": "sha512-mdPjPxfnmoqhgpiEArqi4egmBAMYvaObgn4poorpUaqmvzzbvqbowRllQ+ZgzGVMGKaPkqUmPDOOFQRUFDmeUw==", "integrity": "sha512-mdPjPxfnmoqhgpiEArqi4egmBAMYvaObgn4poorpUaqmvzzbvqbowRllQ+ZgzGVMGKaPkqUmPDOOFQRUFDmeUw==",
"cpu": [ "cpu": ["x64"],
"x64"
],
"dev": true, "dev": true,
"optional": true, "optional": true,
"os": [ "os": ["linux"],
"linux"
],
"engines": { "engines": {
"node": ">=12" "node": ">=12"
} }
@ -1965,14 +1901,10 @@
"version": "0.16.17", "version": "0.16.17",
"resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.16.17.tgz", "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.16.17.tgz",
"integrity": "sha512-/PzmzD/zyAeTUsduZa32bn0ORug+Jd1EGGAUJvqfeixoEISYpGnAezN6lnJoskauoai0Jrs+XSyvDhppCPoKOA==", "integrity": "sha512-/PzmzD/zyAeTUsduZa32bn0ORug+Jd1EGGAUJvqfeixoEISYpGnAezN6lnJoskauoai0Jrs+XSyvDhppCPoKOA==",
"cpu": [ "cpu": ["x64"],
"x64"
],
"dev": true, "dev": true,
"optional": true, "optional": true,
"os": [ "os": ["netbsd"],
"netbsd"
],
"engines": { "engines": {
"node": ">=12" "node": ">=12"
} }
@ -1981,14 +1913,10 @@
"version": "0.16.17", "version": "0.16.17",
"resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.16.17.tgz", "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.16.17.tgz",
"integrity": "sha512-2yaWJhvxGEz2RiftSk0UObqJa/b+rIAjnODJgv2GbGGpRwAfpgzyrg1WLK8rqA24mfZa9GvpjLcBBg8JHkoodg==", "integrity": "sha512-2yaWJhvxGEz2RiftSk0UObqJa/b+rIAjnODJgv2GbGGpRwAfpgzyrg1WLK8rqA24mfZa9GvpjLcBBg8JHkoodg==",
"cpu": [ "cpu": ["x64"],
"x64"
],
"dev": true, "dev": true,
"optional": true, "optional": true,
"os": [ "os": ["openbsd"],
"openbsd"
],
"engines": { "engines": {
"node": ">=12" "node": ">=12"
} }
@ -1997,14 +1925,10 @@
"version": "0.16.17", "version": "0.16.17",
"resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.16.17.tgz", "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.16.17.tgz",
"integrity": "sha512-xtVUiev38tN0R3g8VhRfN7Zl42YCJvyBhRKw1RJjwE1d2emWTVToPLNEQj/5Qxc6lVFATDiy6LjVHYhIPrLxzw==", "integrity": "sha512-xtVUiev38tN0R3g8VhRfN7Zl42YCJvyBhRKw1RJjwE1d2emWTVToPLNEQj/5Qxc6lVFATDiy6LjVHYhIPrLxzw==",
"cpu": [ "cpu": ["x64"],
"x64"
],
"dev": true, "dev": true,
"optional": true, "optional": true,
"os": [ "os": ["sunos"],
"sunos"
],
"engines": { "engines": {
"node": ">=12" "node": ">=12"
} }
@ -2013,14 +1937,10 @@
"version": "0.16.17", "version": "0.16.17",
"resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.16.17.tgz", "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.16.17.tgz",
"integrity": "sha512-ga8+JqBDHY4b6fQAmOgtJJue36scANy4l/rL97W+0wYmijhxKetzZdKOJI7olaBaMhWt8Pac2McJdZLxXWUEQw==", "integrity": "sha512-ga8+JqBDHY4b6fQAmOgtJJue36scANy4l/rL97W+0wYmijhxKetzZdKOJI7olaBaMhWt8Pac2McJdZLxXWUEQw==",
"cpu": [ "cpu": ["arm64"],
"arm64"
],
"dev": true, "dev": true,
"optional": true, "optional": true,
"os": [ "os": ["win32"],
"win32"
],
"engines": { "engines": {
"node": ">=12" "node": ">=12"
} }
@ -2029,14 +1949,10 @@
"version": "0.16.17", "version": "0.16.17",
"resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.16.17.tgz", "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.16.17.tgz",
"integrity": "sha512-WnsKaf46uSSF/sZhwnqE4L/F89AYNMiD4YtEcYekBt9Q7nj0DiId2XH2Ng2PHM54qi5oPrQ8luuzGszqi/veig==", "integrity": "sha512-WnsKaf46uSSF/sZhwnqE4L/F89AYNMiD4YtEcYekBt9Q7nj0DiId2XH2Ng2PHM54qi5oPrQ8luuzGszqi/veig==",
"cpu": [ "cpu": ["ia32"],
"ia32"
],
"dev": true, "dev": true,
"optional": true, "optional": true,
"os": [ "os": ["win32"],
"win32"
],
"engines": { "engines": {
"node": ">=12" "node": ">=12"
} }
@ -2045,14 +1961,10 @@
"version": "0.16.17", "version": "0.16.17",
"resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.16.17.tgz", "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.16.17.tgz",
"integrity": "sha512-y+EHuSchhL7FjHgvQL/0fnnFmO4T1bhvWANX6gcnqTjtnKWbTvUMCpGnv2+t+31d7RzyEAYAd4u2fnIhHL6N/Q==", "integrity": "sha512-y+EHuSchhL7FjHgvQL/0fnnFmO4T1bhvWANX6gcnqTjtnKWbTvUMCpGnv2+t+31d7RzyEAYAd4u2fnIhHL6N/Q==",
"cpu": [ "cpu": ["x64"],
"x64"
],
"dev": true, "dev": true,
"optional": true, "optional": true,
"os": [ "os": ["win32"],
"win32"
],
"engines": { "engines": {
"node": ">=12" "node": ">=12"
} }
@ -5018,9 +4930,7 @@
"dev": true, "dev": true,
"hasInstallScript": true, "hasInstallScript": true,
"optional": true, "optional": true,
"os": [ "os": ["darwin"],
"darwin"
],
"engines": { "engines": {
"node": "^8.16.0 || ^10.6.0 || >=11.0.0" "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
} }

View file

@ -1,6 +1,6 @@
{ {
"name": "squire-rte", "name": "squire-rte",
"version": "2.0.2", "version": "2.0.3",
"description": "Squire is an HTML5 rich text editor, which provides powerful cross-browser normalisation, whilst being supremely lightweight and flexible.", "description": "Squire is an HTML5 rich text editor, which provides powerful cross-browser normalisation, whilst being supremely lightweight and flexible.",
"main": "dist/squire.mjs", "main": "dist/squire.mjs",
"type": "module", "type": "module",