diff --git a/templates/vite/package.json b/templates/vite/package.json index d43a18540..49cfaa497 100644 --- a/templates/vite/package.json +++ b/templates/vite/package.json @@ -30,6 +30,6 @@ "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.3.4", "typescript": "^5.0.2", - "vite": "^4.3.9" + "vite": "^4.5.3" } } diff --git a/templates/vite/yarn.lock b/templates/vite/yarn.lock index af15027f8..8b68d168a 100644 --- a/templates/vite/yarn.lock +++ b/templates/vite/yarn.lock @@ -14,156 +14,156 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm64@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/android-arm64@npm:0.17.19" +"@esbuild/android-arm64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/android-arm64@npm:0.18.20" conditions: os=android & cpu=arm64 languageName: node linkType: hard -"@esbuild/android-arm@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/android-arm@npm:0.17.19" +"@esbuild/android-arm@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/android-arm@npm:0.18.20" conditions: os=android & cpu=arm languageName: node linkType: hard -"@esbuild/android-x64@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/android-x64@npm:0.17.19" +"@esbuild/android-x64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/android-x64@npm:0.18.20" conditions: os=android & cpu=x64 languageName: node linkType: hard -"@esbuild/darwin-arm64@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/darwin-arm64@npm:0.17.19" +"@esbuild/darwin-arm64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/darwin-arm64@npm:0.18.20" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@esbuild/darwin-x64@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/darwin-x64@npm:0.17.19" +"@esbuild/darwin-x64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/darwin-x64@npm:0.18.20" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@esbuild/freebsd-arm64@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/freebsd-arm64@npm:0.17.19" +"@esbuild/freebsd-arm64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/freebsd-arm64@npm:0.18.20" conditions: os=freebsd & cpu=arm64 languageName: node linkType: hard -"@esbuild/freebsd-x64@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/freebsd-x64@npm:0.17.19" +"@esbuild/freebsd-x64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/freebsd-x64@npm:0.18.20" conditions: os=freebsd & cpu=x64 languageName: node linkType: hard -"@esbuild/linux-arm64@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/linux-arm64@npm:0.17.19" +"@esbuild/linux-arm64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-arm64@npm:0.18.20" conditions: os=linux & cpu=arm64 languageName: node linkType: hard -"@esbuild/linux-arm@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/linux-arm@npm:0.17.19" +"@esbuild/linux-arm@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-arm@npm:0.18.20" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@esbuild/linux-ia32@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/linux-ia32@npm:0.17.19" +"@esbuild/linux-ia32@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-ia32@npm:0.18.20" conditions: os=linux & cpu=ia32 languageName: node linkType: hard -"@esbuild/linux-loong64@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/linux-loong64@npm:0.17.19" +"@esbuild/linux-loong64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-loong64@npm:0.18.20" conditions: os=linux & cpu=loong64 languageName: node linkType: hard -"@esbuild/linux-mips64el@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/linux-mips64el@npm:0.17.19" +"@esbuild/linux-mips64el@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-mips64el@npm:0.18.20" conditions: os=linux & cpu=mips64el languageName: node linkType: hard -"@esbuild/linux-ppc64@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/linux-ppc64@npm:0.17.19" +"@esbuild/linux-ppc64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-ppc64@npm:0.18.20" conditions: os=linux & cpu=ppc64 languageName: node linkType: hard -"@esbuild/linux-riscv64@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/linux-riscv64@npm:0.17.19" +"@esbuild/linux-riscv64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-riscv64@npm:0.18.20" conditions: os=linux & cpu=riscv64 languageName: node linkType: hard -"@esbuild/linux-s390x@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/linux-s390x@npm:0.17.19" +"@esbuild/linux-s390x@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-s390x@npm:0.18.20" conditions: os=linux & cpu=s390x languageName: node linkType: hard -"@esbuild/linux-x64@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/linux-x64@npm:0.17.19" +"@esbuild/linux-x64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-x64@npm:0.18.20" conditions: os=linux & cpu=x64 languageName: node linkType: hard -"@esbuild/netbsd-x64@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/netbsd-x64@npm:0.17.19" +"@esbuild/netbsd-x64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/netbsd-x64@npm:0.18.20" conditions: os=netbsd & cpu=x64 languageName: node linkType: hard -"@esbuild/openbsd-x64@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/openbsd-x64@npm:0.17.19" +"@esbuild/openbsd-x64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/openbsd-x64@npm:0.18.20" conditions: os=openbsd & cpu=x64 languageName: node linkType: hard -"@esbuild/sunos-x64@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/sunos-x64@npm:0.17.19" +"@esbuild/sunos-x64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/sunos-x64@npm:0.18.20" conditions: os=sunos & cpu=x64 languageName: node linkType: hard -"@esbuild/win32-arm64@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/win32-arm64@npm:0.17.19" +"@esbuild/win32-arm64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/win32-arm64@npm:0.18.20" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@esbuild/win32-ia32@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/win32-ia32@npm:0.17.19" +"@esbuild/win32-ia32@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/win32-ia32@npm:0.18.20" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@esbuild/win32-x64@npm:0.17.19": - version: 0.17.19 - resolution: "@esbuild/win32-x64@npm:0.17.19" +"@esbuild/win32-x64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/win32-x64@npm:0.18.20" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -1164,90 +1164,92 @@ __metadata: languageName: node linkType: hard -"@swc/core-darwin-arm64@npm:1.3.64": - version: 1.3.64 - resolution: "@swc/core-darwin-arm64@npm:1.3.64" +"@swc/core-darwin-arm64@npm:1.5.3": + version: 1.5.3 + resolution: "@swc/core-darwin-arm64@npm:1.5.3" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@swc/core-darwin-x64@npm:1.3.64": - version: 1.3.64 - resolution: "@swc/core-darwin-x64@npm:1.3.64" +"@swc/core-darwin-x64@npm:1.5.3": + version: 1.5.3 + resolution: "@swc/core-darwin-x64@npm:1.5.3" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@swc/core-linux-arm-gnueabihf@npm:1.3.64": - version: 1.3.64 - resolution: "@swc/core-linux-arm-gnueabihf@npm:1.3.64" +"@swc/core-linux-arm-gnueabihf@npm:1.5.3": + version: 1.5.3 + resolution: "@swc/core-linux-arm-gnueabihf@npm:1.5.3" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@swc/core-linux-arm64-gnu@npm:1.3.64": - version: 1.3.64 - resolution: "@swc/core-linux-arm64-gnu@npm:1.3.64" +"@swc/core-linux-arm64-gnu@npm:1.5.3": + version: 1.5.3 + resolution: "@swc/core-linux-arm64-gnu@npm:1.5.3" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@swc/core-linux-arm64-musl@npm:1.3.64": - version: 1.3.64 - resolution: "@swc/core-linux-arm64-musl@npm:1.3.64" +"@swc/core-linux-arm64-musl@npm:1.5.3": + version: 1.5.3 + resolution: "@swc/core-linux-arm64-musl@npm:1.5.3" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@swc/core-linux-x64-gnu@npm:1.3.64": - version: 1.3.64 - resolution: "@swc/core-linux-x64-gnu@npm:1.3.64" +"@swc/core-linux-x64-gnu@npm:1.5.3": + version: 1.5.3 + resolution: "@swc/core-linux-x64-gnu@npm:1.5.3" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@swc/core-linux-x64-musl@npm:1.3.64": - version: 1.3.64 - resolution: "@swc/core-linux-x64-musl@npm:1.3.64" +"@swc/core-linux-x64-musl@npm:1.5.3": + version: 1.5.3 + resolution: "@swc/core-linux-x64-musl@npm:1.5.3" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@swc/core-win32-arm64-msvc@npm:1.3.64": - version: 1.3.64 - resolution: "@swc/core-win32-arm64-msvc@npm:1.3.64" +"@swc/core-win32-arm64-msvc@npm:1.5.3": + version: 1.5.3 + resolution: "@swc/core-win32-arm64-msvc@npm:1.5.3" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@swc/core-win32-ia32-msvc@npm:1.3.64": - version: 1.3.64 - resolution: "@swc/core-win32-ia32-msvc@npm:1.3.64" +"@swc/core-win32-ia32-msvc@npm:1.5.3": + version: 1.5.3 + resolution: "@swc/core-win32-ia32-msvc@npm:1.5.3" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@swc/core-win32-x64-msvc@npm:1.3.64": - version: 1.3.64 - resolution: "@swc/core-win32-x64-msvc@npm:1.3.64" +"@swc/core-win32-x64-msvc@npm:1.5.3": + version: 1.5.3 + resolution: "@swc/core-win32-x64-msvc@npm:1.5.3" conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"@swc/core@npm:^1.3.61": - version: 1.3.64 - resolution: "@swc/core@npm:1.3.64" +"@swc/core@npm:^1.3.107": + version: 1.5.3 + resolution: "@swc/core@npm:1.5.3" dependencies: - "@swc/core-darwin-arm64": "npm:1.3.64" - "@swc/core-darwin-x64": "npm:1.3.64" - "@swc/core-linux-arm-gnueabihf": "npm:1.3.64" - "@swc/core-linux-arm64-gnu": "npm:1.3.64" - "@swc/core-linux-arm64-musl": "npm:1.3.64" - "@swc/core-linux-x64-gnu": "npm:1.3.64" - "@swc/core-linux-x64-musl": "npm:1.3.64" - "@swc/core-win32-arm64-msvc": "npm:1.3.64" - "@swc/core-win32-ia32-msvc": "npm:1.3.64" - "@swc/core-win32-x64-msvc": "npm:1.3.64" + "@swc/core-darwin-arm64": "npm:1.5.3" + "@swc/core-darwin-x64": "npm:1.5.3" + "@swc/core-linux-arm-gnueabihf": "npm:1.5.3" + "@swc/core-linux-arm64-gnu": "npm:1.5.3" + "@swc/core-linux-arm64-musl": "npm:1.5.3" + "@swc/core-linux-x64-gnu": "npm:1.5.3" + "@swc/core-linux-x64-musl": "npm:1.5.3" + "@swc/core-win32-arm64-msvc": "npm:1.5.3" + "@swc/core-win32-ia32-msvc": "npm:1.5.3" + "@swc/core-win32-x64-msvc": "npm:1.5.3" + "@swc/counter": "npm:^0.1.2" + "@swc/types": "npm:^0.1.5" peerDependencies: "@swc/helpers": ^0.5.0 dependenciesMeta: @@ -1274,19 +1276,35 @@ __metadata: peerDependenciesMeta: "@swc/helpers": optional: true - checksum: cb1a20ab3dc169f27addbf8677e8689f6c005c8425793124d6bcd7687dc05e5516779d570dc858518371873f981ff2460c3f858de8a401456773150c26933525 + checksum: 2869abc8827d831b209d2d4a2c4ad0296dbc9a776abd0f7e243ad871de8c34fbc7a0b578d56b7b4ecd7e0e7304f211ae9babd0cf5557acb42c0aa4cc4e7e02cf languageName: node linkType: hard -"@tldraw/editor@npm:2.0.0-beta.4": - version: 2.0.0-beta.4 - resolution: "@tldraw/editor@npm:2.0.0-beta.4" +"@swc/counter@npm:^0.1.2, @swc/counter@npm:^0.1.3": + version: 0.1.3 + resolution: "@swc/counter@npm:0.1.3" + checksum: df8f9cfba9904d3d60f511664c70d23bb323b3a0803ec9890f60133954173047ba9bdeabce28cd70ba89ccd3fd6c71c7b0bd58be85f611e1ffbe5d5c18616598 + languageName: node + linkType: hard + +"@swc/types@npm:^0.1.5": + version: 0.1.6 + resolution: "@swc/types@npm:0.1.6" dependencies: - "@tldraw/state": "npm:2.0.0-beta.4" - "@tldraw/store": "npm:2.0.0-beta.4" - "@tldraw/tlschema": "npm:2.0.0-beta.4" - "@tldraw/utils": "npm:2.0.0-beta.4" - "@tldraw/validate": "npm:2.0.0-beta.4" + "@swc/counter": "npm:^0.1.3" + checksum: b42fbca6f1ad56d1909fa6114b62107418a665730bb9b4d8bd8fa1c86921f8758a73959928342638fb57490b5d618a46881045fa9f094763a00f939944835d36 + languageName: node + linkType: hard + +"@tldraw/editor@npm:2.1.4": + version: 2.1.4 + resolution: "@tldraw/editor@npm:2.1.4" + dependencies: + "@tldraw/state": "npm:2.1.4" + "@tldraw/store": "npm:2.1.4" + "@tldraw/tlschema": "npm:2.1.4" + "@tldraw/utils": "npm:2.1.4" + "@tldraw/validate": "npm:2.1.4" "@types/core-js": "npm:^2.5.5" "@use-gesture/react": "npm:^10.2.27" classnames: "npm:^2.3.2" @@ -1300,85 +1318,61 @@ __metadata: peerDependencies: react: ^18 react-dom: ^18 - checksum: a9ef62fc61ba0901d55a6393ac9c1824d98249fec992390c6f14f32f46eba320edc9343f894089f5effb40436eaef29f585304a924577156047ad663ace60824 + checksum: 5b08abc2ccca6e07e078e138d5c48003c362c4bb4110564307f01f88817ffccb28587f890e197b6f2a5e8e7137703c2ac7a49bb0ee958f219b9507083d142934 languageName: node linkType: hard -"@tldraw/state@npm:2.0.0-beta.4": - version: 2.0.0-beta.4 - resolution: "@tldraw/state@npm:2.0.0-beta.4" +"@tldraw/state@npm:2.1.4": + version: 2.1.4 + resolution: "@tldraw/state@npm:2.1.4" peerDependencies: react: ^18 - checksum: 004491766be744c14416f03a6d22a39dfa2d1b6fced5546a8f35ef960fa20e11f001a7657c7c0def6335410724ce315f141f9b4c118bdb2d4c09e7001a54fa8a + checksum: 891d25b821aa88d1fe4b2b5b2bd2c7c2d38e12ac18b3905aa54477619ab7cc55f24c4ae2c89b0814c95414f535da8ec74c7b732aa6a6ede44c5c5460f935b83f languageName: node linkType: hard -"@tldraw/store@npm:2.0.0-beta.4": - version: 2.0.0-beta.4 - resolution: "@tldraw/store@npm:2.0.0-beta.4" +"@tldraw/store@npm:2.1.4": + version: 2.1.4 + resolution: "@tldraw/store@npm:2.1.4" dependencies: - "@tldraw/state": "npm:2.0.0-beta.4" - "@tldraw/utils": "npm:2.0.0-beta.4" + "@tldraw/state": "npm:2.1.4" + "@tldraw/utils": "npm:2.1.4" lodash.isequal: "npm:^4.5.0" nanoid: "npm:4.0.2" peerDependencies: react: ^18 - checksum: 7de4869dbdd0ce089be72048ae1f0da48621eebbf47b55849eb5f601650df084aa919ea445ad23b1c451dcd38cbdee2b7cb033503f2234efabcef0a4f1e04bb5 + checksum: 07e29949204b7ecf79e853757a0da42adbc6f45e05212dc2da396b9cfff400a6f6523723e3b028f9e771e059ff56494dee358fa4da62ab249fd2040706322e4e languageName: node linkType: hard -"@tldraw/tldraw@npm:2.0.0-beta.4": - version: 2.0.0-beta.4 - resolution: "@tldraw/tldraw@npm:2.0.0-beta.4" +"@tldraw/tlschema@npm:2.1.4": + version: 2.1.4 + resolution: "@tldraw/tlschema@npm:2.1.4" dependencies: - "@radix-ui/react-alert-dialog": "npm:^1.0.5" - "@radix-ui/react-context-menu": "npm:^2.1.5" - "@radix-ui/react-dialog": "npm:^1.0.5" - "@radix-ui/react-dropdown-menu": "npm:^2.0.6" - "@radix-ui/react-popover": "npm:^1.0.7" - "@radix-ui/react-select": "npm:^1.2.0" - "@radix-ui/react-slider": "npm:^1.1.0" - "@radix-ui/react-toast": "npm:^1.1.1" - "@tldraw/editor": "npm:2.0.0-beta.4" - canvas-size: "npm:^1.2.6" - classnames: "npm:^2.3.2" - hotkeys-js: "npm:^3.11.2" - lz-string: "npm:^1.4.4" - peerDependencies: - react: ^18 - react-dom: ^18 - checksum: 28ddfe82b4683d55ffff74649f10619d3e1f4e47135652cca7fd649b4f863f1420d4d922c98659046cd45da893b17427eb9b93b3982eef3f91e44ad6ff44c951 - languageName: node - linkType: hard - -"@tldraw/tlschema@npm:2.0.0-beta.4": - version: 2.0.0-beta.4 - resolution: "@tldraw/tlschema@npm:2.0.0-beta.4" - dependencies: - "@tldraw/state": "npm:2.0.0-beta.4" - "@tldraw/store": "npm:2.0.0-beta.4" - "@tldraw/utils": "npm:2.0.0-beta.4" - "@tldraw/validate": "npm:2.0.0-beta.4" + "@tldraw/state": "npm:2.1.4" + "@tldraw/store": "npm:2.1.4" + "@tldraw/utils": "npm:2.1.4" + "@tldraw/validate": "npm:2.1.4" nanoid: "npm:4.0.2" peerDependencies: react: ^18 - checksum: c20fefb2f6c9787676d58bd8a1ca0003afd62a0c8b53e82e72f7a8abab1d86bf8aa6660d16bcaff4311833861af4b263ce3ceae8933148fb709ccdca31c719a7 + checksum: 59244b45d3a8137d388f7d54a66285b9b688931415cf5a4e2cfe51021ef5327a05d199a3a7bea812b81db169b326c83cfda5b11c9a0136c83595a0c1b4a7ebd3 languageName: node linkType: hard -"@tldraw/utils@npm:2.0.0-beta.4": - version: 2.0.0-beta.4 - resolution: "@tldraw/utils@npm:2.0.0-beta.4" - checksum: 37616fb0cc29e8b13ac03154b94e5d30c1ede048a9e55399d8fef0e391d8091fc8b63f451c727a18b9ad097f021d427301f81c43596729dc79d317d92313fe7e +"@tldraw/utils@npm:2.1.4": + version: 2.1.4 + resolution: "@tldraw/utils@npm:2.1.4" + checksum: 328fd17186c173eca7721737d6ee504a678c02180bdf347cd9355bce5cbf3c22307b3b7c51dc000910685e4b83e4f33b21db4d22d987555d6e606c45cb7fbb8e languageName: node linkType: hard -"@tldraw/validate@npm:2.0.0-beta.4": - version: 2.0.0-beta.4 - resolution: "@tldraw/validate@npm:2.0.0-beta.4" +"@tldraw/validate@npm:2.1.4": + version: 2.1.4 + resolution: "@tldraw/validate@npm:2.1.4" dependencies: - "@tldraw/utils": "npm:2.0.0-beta.4" - checksum: 449875205055f8a672f2f38c8d6c6f0040b891a12ad4b648f77aed324b0d4a19bea0085c8642622d49d30fb9c9717445a5b2044b2aa438d3029a8af2d7aaf1e7 + "@tldraw/utils": "npm:2.1.4" + checksum: 6b69ec08c80c8a00e62284a202f998b9fc5879ed318f56a5e47c1f5f1976ff7f310a0e2e62f70f412a809e09bb1732d3a9734f5e9595555e7a87f51122d1fc3d languageName: node linkType: hard @@ -1576,14 +1570,14 @@ __metadata: languageName: node linkType: hard -"@vitejs/plugin-react-swc@npm:^3.0.0": - version: 3.3.2 - resolution: "@vitejs/plugin-react-swc@npm:3.3.2" +"@vitejs/plugin-react-swc@npm:^3.6.0": + version: 3.6.0 + resolution: "@vitejs/plugin-react-swc@npm:3.6.0" dependencies: - "@swc/core": "npm:^1.3.61" + "@swc/core": "npm:^1.3.107" peerDependencies: - vite: ^4 - checksum: f3ad798ff7ca9ae9388da1742e059f8c187d249185422f37d7331b01f63e0676007382034040b81907ee2b620705c6c892d09610d9911f5e20049c6635cd2e4f + vite: ^4 || ^5 + checksum: 8bff5065e9689d0b0405932b5f2483bd0c388812dc13219a1511023f7eaca7a53c43f75f3eae785e27f7ce5a60e99d5d32bac4845a63ab095d5562180f7efa7c languageName: node linkType: hard @@ -1932,32 +1926,32 @@ __metadata: languageName: node linkType: hard -"esbuild@npm:^0.17.5": - version: 0.17.19 - resolution: "esbuild@npm:0.17.19" +"esbuild@npm:^0.18.10": + version: 0.18.20 + resolution: "esbuild@npm:0.18.20" dependencies: - "@esbuild/android-arm": "npm:0.17.19" - "@esbuild/android-arm64": "npm:0.17.19" - "@esbuild/android-x64": "npm:0.17.19" - "@esbuild/darwin-arm64": "npm:0.17.19" - "@esbuild/darwin-x64": "npm:0.17.19" - "@esbuild/freebsd-arm64": "npm:0.17.19" - "@esbuild/freebsd-x64": "npm:0.17.19" - "@esbuild/linux-arm": "npm:0.17.19" - "@esbuild/linux-arm64": "npm:0.17.19" - "@esbuild/linux-ia32": "npm:0.17.19" - "@esbuild/linux-loong64": "npm:0.17.19" - "@esbuild/linux-mips64el": "npm:0.17.19" - "@esbuild/linux-ppc64": "npm:0.17.19" - "@esbuild/linux-riscv64": "npm:0.17.19" - "@esbuild/linux-s390x": "npm:0.17.19" - "@esbuild/linux-x64": "npm:0.17.19" - "@esbuild/netbsd-x64": "npm:0.17.19" - "@esbuild/openbsd-x64": "npm:0.17.19" - "@esbuild/sunos-x64": "npm:0.17.19" - "@esbuild/win32-arm64": "npm:0.17.19" - "@esbuild/win32-ia32": "npm:0.17.19" - "@esbuild/win32-x64": "npm:0.17.19" + "@esbuild/android-arm": "npm:0.18.20" + "@esbuild/android-arm64": "npm:0.18.20" + "@esbuild/android-x64": "npm:0.18.20" + "@esbuild/darwin-arm64": "npm:0.18.20" + "@esbuild/darwin-x64": "npm:0.18.20" + "@esbuild/freebsd-arm64": "npm:0.18.20" + "@esbuild/freebsd-x64": "npm:0.18.20" + "@esbuild/linux-arm": "npm:0.18.20" + "@esbuild/linux-arm64": "npm:0.18.20" + "@esbuild/linux-ia32": "npm:0.18.20" + "@esbuild/linux-loong64": "npm:0.18.20" + "@esbuild/linux-mips64el": "npm:0.18.20" + "@esbuild/linux-ppc64": "npm:0.18.20" + "@esbuild/linux-riscv64": "npm:0.18.20" + "@esbuild/linux-s390x": "npm:0.18.20" + "@esbuild/linux-x64": "npm:0.18.20" + "@esbuild/netbsd-x64": "npm:0.18.20" + "@esbuild/openbsd-x64": "npm:0.18.20" + "@esbuild/sunos-x64": "npm:0.18.20" + "@esbuild/win32-arm64": "npm:0.18.20" + "@esbuild/win32-ia32": "npm:0.18.20" + "@esbuild/win32-x64": "npm:0.18.20" dependenciesMeta: "@esbuild/android-arm": optional: true @@ -2005,7 +1999,7 @@ __metadata: optional: true bin: esbuild: bin/esbuild - checksum: 86ada7cad6d37a3445858fee31ca39fc6c0436c7c00b2e07b9ce308235be67f36aefe0dda25da9ab08653fde496d1e759d6ad891ce9479f9e1fb4964c8f2a0fa + checksum: 1f723ec71c3aa196473bf3298316eedc3f62d523924652dfeb60701b609792f918fc60db84b420d1d8ba9bfa7d69de2fc1d3157ba47c028bdae5d507a26a3c64 languageName: node linkType: hard @@ -2901,12 +2895,12 @@ __metadata: languageName: node linkType: hard -"nanoid@npm:^3.3.6": - version: 3.3.6 - resolution: "nanoid@npm:3.3.6" +"nanoid@npm:^3.3.7": + version: 3.3.7 + resolution: "nanoid@npm:3.3.7" bin: nanoid: bin/nanoid.cjs - checksum: 67235c39d1bc05851383dadde5cf77ae1c90c2a1d189e845c7f20f646f0488d875ad5f5226bbba072a88cebbb085a3f784a6673117daf785bdf614a852550362 + checksum: ac1eb60f615b272bccb0e2b9cd933720dad30bf9708424f691b8113826bb91aca7e9d14ef5d9415a6ba15c266b37817256f58d8ce980c82b0ba3185352565679 languageName: node linkType: hard @@ -3073,14 +3067,14 @@ __metadata: languageName: node linkType: hard -"postcss@npm:^8.4.23": - version: 8.4.24 - resolution: "postcss@npm:8.4.24" +"postcss@npm:^8.4.27": + version: 8.4.38 + resolution: "postcss@npm:8.4.38" dependencies: - nanoid: "npm:^3.3.6" + nanoid: "npm:^3.3.7" picocolors: "npm:^1.0.0" - source-map-js: "npm:^1.0.2" - checksum: 8d20defe7c2914e0561dc84ec497756600c2b1182f3dff3c8f0a857dfdc4d3849a3d5de9afd771a869ed4c06e9d24cb4dbd0cc833a7d5ce877fd26984c3b57aa + source-map-js: "npm:^1.2.0" + checksum: 6e44a7ed835ffa9a2b096e8d3e5dfc6bcf331a25c48aeb862dd54e3aaecadf814fa22be224fd308f87d08adf2299164f88c5fd5ab1c4ef6cbd693ceb295377f4 languageName: node linkType: hard @@ -3234,9 +3228,9 @@ __metadata: languageName: node linkType: hard -"rollup@npm:^3.21.0": - version: 3.25.1 - resolution: "rollup@npm:3.25.1" +"rollup@npm:^3.27.1": + version: 3.29.4 + resolution: "rollup@npm:3.29.4" dependencies: fsevents: "npm:~2.3.2" dependenciesMeta: @@ -3244,7 +3238,7 @@ __metadata: optional: true bin: rollup: dist/bin/rollup - checksum: 5995026642e2cfc44a1633a67c444febaa031b8a14add2b1cf1edcfb40e07e9cc5c42dff1782104f4258b2a7c898eaaad9c28b1c5c7f109d1fd7b2114c245fca + checksum: 9e39d54e23731a4c4067e9c02910cdf7479a0f9a7584796e2dc6efaa34bb1e5e015c062c87d1e64d96038baca76cefd47681ff22604fae5827147f54123dc6d0 languageName: node linkType: hard @@ -3273,25 +3267,14 @@ __metadata: languageName: node linkType: hard -"semver@npm:^7.3.5": - version: 7.5.4 - resolution: "semver@npm:7.5.4" +"semver@npm:^7.3.5, semver@npm:^7.3.7": + version: 7.6.0 + resolution: "semver@npm:7.6.0" dependencies: lru-cache: "npm:^6.0.0" bin: semver: bin/semver.js - checksum: 985dec0d372370229a262c737063860fabd4a1c730662c1ea3200a2f649117761a42184c96df62a0e885e76fbd5dace41087d6c1ac0351b13c0df5d6bcb1b5ac - languageName: node - linkType: hard - -"semver@npm:^7.3.7": - version: 7.5.2 - resolution: "semver@npm:7.5.2" - dependencies: - lru-cache: "npm:^6.0.0" - bin: - semver: bin/semver.js - checksum: f77b3a1842e19b78e5864a175d62699a17c0c25f6223366684041e8c7dd6a55f0091887f405c534895dfe69e1d770528d072b32d9ed866ab24392fe34344d3b5 + checksum: 1b41018df2d8aca5a1db4729985e8e20428c650daea60fcd16e926e9383217d00f574fab92d79612771884a98d2ee2a1973f49d630829a8d54d6570defe62535 languageName: node linkType: hard @@ -3353,10 +3336,10 @@ __metadata: languageName: node linkType: hard -"source-map-js@npm:^1.0.2": - version: 1.0.2 - resolution: "source-map-js@npm:1.0.2" - checksum: 38e2d2dd18d2e331522001fc51b54127ef4a5d473f53b1349c5cca2123562400e0986648b52e9407e348eaaed53bce49248b6e2641e6d793ca57cb2c360d6d51 +"source-map-js@npm:^1.2.0": + version: 1.2.0 + resolution: "source-map-js@npm:1.2.0" + checksum: 74f331cfd2d121c50790c8dd6d3c9de6be21926de80583b23b37029b0f37aefc3e019fa91f9a10a5e120c08135297e1ecf312d561459c45908cb1e0e365f49e5 languageName: node linkType: hard @@ -3433,8 +3416,8 @@ __metadata: linkType: hard "tar@npm:^6.1.11, tar@npm:^6.1.2": - version: 6.2.0 - resolution: "tar@npm:6.2.0" + version: 6.2.1 + resolution: "tar@npm:6.2.1" dependencies: chownr: "npm:^2.0.0" fs-minipass: "npm:^2.0.0" @@ -3442,7 +3425,7 @@ __metadata: minizlib: "npm:^2.1.1" mkdirp: "npm:^1.0.3" yallist: "npm:^4.0.0" - checksum: 2042bbb14830b5cd0d584007db0eb0a7e933e66d1397e72a4293768d2332449bc3e312c266a0887ec20156dea388d8965e53b4fc5097f42d78593549016da089 + checksum: bfbfbb2861888077fc1130b84029cdc2721efb93d1d1fb80f22a7ac3a98ec6f8972f29e564103bbebf5e97be67ebc356d37fa48dbc4960600a1eb7230fbd1ea0 languageName: node linkType: hard @@ -3457,22 +3440,47 @@ __metadata: version: 0.0.0-use.local resolution: "tldraw-vite-example@workspace:." dependencies: - "@tldraw/tldraw": "npm:2.0.0-beta.4" "@types/react": "npm:^18.0.37" "@types/react-dom": "npm:^18.0.11" "@typescript-eslint/eslint-plugin": "npm:^5.59.0" "@typescript-eslint/parser": "npm:^5.59.0" - "@vitejs/plugin-react-swc": "npm:^3.0.0" + "@vitejs/plugin-react-swc": "npm:^3.6.0" eslint: "npm:^8.38.0" eslint-plugin-react-hooks: "npm:^4.6.0" eslint-plugin-react-refresh: "npm:^0.3.4" react: "npm:^18.2.0" react-dom: "npm:^18.2.0" + tldraw: "npm:latest" typescript: "npm:^5.0.2" - vite: "npm:^4.3.9" + vite: "npm:^4.5.3" languageName: unknown linkType: soft +"tldraw@npm:latest": + version: 2.1.4 + resolution: "tldraw@npm:2.1.4" + dependencies: + "@radix-ui/react-alert-dialog": "npm:^1.0.5" + "@radix-ui/react-context-menu": "npm:^2.1.5" + "@radix-ui/react-dialog": "npm:^1.0.5" + "@radix-ui/react-dropdown-menu": "npm:^2.0.6" + "@radix-ui/react-popover": "npm:^1.0.7" + "@radix-ui/react-select": "npm:^1.2.0" + "@radix-ui/react-slider": "npm:^1.1.0" + "@radix-ui/react-toast": "npm:^1.1.1" + "@tldraw/editor": "npm:2.1.4" + "@tldraw/store": "npm:2.1.4" + canvas-size: "npm:^1.2.6" + classnames: "npm:^2.3.2" + hotkeys-js: "npm:^3.11.2" + lz-string: "npm:^1.4.4" + peerDependencies: + react: ^18 + react-dom: ^18 + checksum: c68389a5b7986f4bc7de5e4844284d49ba48a022e9996c3f189349b9cec8e1126835ed633894ab160340160d4e341588fb68546b2c710eb1de1bf0b59277301f + languageName: node + linkType: hard + "to-regex-range@npm:^5.0.1": version: 5.0.1 resolution: "to-regex-range@npm:5.0.1" @@ -3601,17 +3609,18 @@ __metadata: languageName: node linkType: hard -"vite@npm:^4.3.9": - version: 4.3.9 - resolution: "vite@npm:4.3.9" +"vite@npm:^4.5.3": + version: 4.5.3 + resolution: "vite@npm:4.5.3" dependencies: - esbuild: "npm:^0.17.5" + esbuild: "npm:^0.18.10" fsevents: "npm:~2.3.2" - postcss: "npm:^8.4.23" - rollup: "npm:^3.21.0" + postcss: "npm:^8.4.27" + rollup: "npm:^3.27.1" peerDependencies: "@types/node": ">= 14" less: "*" + lightningcss: ^1.21.0 sass: "*" stylus: "*" sugarss: "*" @@ -3624,6 +3633,8 @@ __metadata: optional: true less: optional: true + lightningcss: + optional: true sass: optional: true stylus: @@ -3634,7 +3645,7 @@ __metadata: optional: true bin: vite: bin/vite.js - checksum: c2f0b392a253318a1d3ffc6873885d4a03c6bda6f717682bd0c82b7a431a67fb1ba08de6e1bf7f3f31bde1615015c5ef4be264f20c6e34c590d8a7c9516e94f4 + checksum: 82efe1bc6d6848f8c97b71f1dc5b2fba2c3f30b2207ef2451c8df1a0ed5903c55714d7cd8ecb75879b488661d97f6e01a4ad758b5ef6a50a14338f916233bfa4 languageName: node linkType: hard @@ -3661,9 +3672,9 @@ __metadata: linkType: hard "word-wrap@npm:^1.2.3": - version: 1.2.3 - resolution: "word-wrap@npm:1.2.3" - checksum: 08a677e1578b9cc367a03d52bc51b6869fec06303f68d29439e4ed647257411f857469990c31066c1874678937dac737c9f8f20d3fd59918fb86b7d926a76b15 + version: 1.2.5 + resolution: "word-wrap@npm:1.2.5" + checksum: 1ec6f6089f205f83037be10d0c4b34c9183b0b63fca0834a5b3cee55dd321429d73d40bb44c8fc8471b5203d6e8f8275717f49a8ff4b2b0ab41d7e1b563e0854 languageName: node linkType: hard diff --git a/yarn.lock b/yarn.lock index 9857a1aee..3a2ee0bb2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -19112,10 +19112,10 @@ __metadata: languageName: node linkType: hard -"minipass@npm:^5.0.0 || ^6.0.2 || ^7.0.0, minipass@npm:^7.0.2, minipass@npm:^7.0.3, minipass@npm:^7.0.4": - version: 7.0.4 - resolution: "minipass@npm:7.0.4" - checksum: e864bd02ceb5e0707696d58f7ce3a0b89233f0d686ef0d447a66db705c0846a8dc6f34865cd85256c1472ff623665f616b90b8ff58058b2ad996c5de747d2d18 +"minipass@npm:^5.0.0 || ^6.0.2 || ^7.0.0, minipass@npm:^7.0.2, minipass@npm:^7.0.3, minipass@npm:^7.0.4, minipass@npm:^7.1.0": + version: 7.1.0 + resolution: "minipass@npm:7.1.0" + checksum: 0cfc1bc95bfce2a0cf69fcb5e7b92f62ee7159f2787356e66b5804dba73546e1653bbc70bf9bb32acb031e6d0d4b6249628a014644a597a7e4a14b441a510ba5 languageName: node linkType: hard @@ -23404,16 +23404,16 @@ __metadata: linkType: hard "tar@npm:^7.0.1": - version: 7.0.1 - resolution: "tar@npm:7.0.1" + version: 7.1.0 + resolution: "tar@npm:7.1.0" dependencies: "@isaacs/fs-minipass": "npm:^4.0.0" chownr: "npm:^3.0.0" - minipass: "npm:^5.0.0" + minipass: "npm:^7.1.0" minizlib: "npm:^3.0.1" mkdirp: "npm:^3.0.1" yallist: "npm:^5.0.0" - checksum: 6fd89ef8051d12975f66a2f3932a80479bdc6c9f3bcdf04b8b57784e942ed860708ccecf79bcbb30659b14ab52eef2095d2c3af377545ff9df30de28036671dc + checksum: 87c2caa631dcf212cc50cc7fc4402b429d9083cf76f21d9ec63eba7a703b78804b2185bbe072f4c6cac8263dc8e7df786dfdfd53ef5bfbf7b46b480535794ea5 languageName: node linkType: hard @@ -24989,8 +24989,8 @@ __metadata: linkType: hard "vite@npm:^5.0.0": - version: 5.2.9 - resolution: "vite@npm:5.2.9" + version: 5.2.11 + resolution: "vite@npm:5.2.11" dependencies: esbuild: "npm:^0.20.1" fsevents: "npm:~2.3.3" @@ -25024,7 +25024,7 @@ __metadata: optional: true bin: vite: bin/vite.js - checksum: 26342c8dde540e4161fdad2c9c8f2f0e23567f051c7a40abb8e4796d6c4292fbd118ab7a4ac252515e78c4f99525b557731e6117287b2bccde0ea61d73bcff27 + checksum: ee0ad038f0831c9514796522deb1e2dcb84bc311abbccb77e4b12216d37fc9559137f4f1b8e75187d51007b954e845c6518e36ee3acac2e2a2789c1181ebb16c languageName: node linkType: hard @@ -25903,9 +25903,9 @@ __metadata: linkType: hard "zod@npm:^3.20.6, zod@npm:^3.21.4": - version: 3.22.4 - resolution: "zod@npm:3.22.4" - checksum: 73622ca36a916f785cf528fe612a884b3e0f183dbe6b33365a7d0fc92abdbedf7804c5e2bd8df0a278e1472106d46674281397a3dd800fa9031dc3429758c6ac + version: 3.23.6 + resolution: "zod@npm:3.23.6" + checksum: a3b0ea904f0615c67ef01ab3abc4e917d3bb87d46fc39515bcb68e59450b54f175dc9d29ddc7e13217dd456099729afa0b76609db135ca158e3ccebcac6153d9 languageName: node linkType: hard