From 825b9e567b9f2d22df121a5a7ba22e9bca6235a0 Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Sat, 10 Aug 2024 13:35:36 -0400 Subject: [PATCH] [chore] update dependencies (#438) * update dependencies * docs fix --- CHANGELOG.md | 4 +++ docs/README.md | 5 +-- package-lock.json | 8 ++--- package.json | 2 +- playlet-web/package-lock.json | 60 ++++++++++++++++++++--------------- playlet-web/package.json | 12 +++---- 6 files changed, 53 insertions(+), 38 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 797d1e28..7ea4adcf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +- Nothing worth mentioning yet. + ## [0.25.2] - 2024-08-05 ### Added diff --git a/docs/README.md b/docs/README.md index 29bbe05a..6b9c07d7 100644 --- a/docs/README.md +++ b/docs/README.md @@ -145,7 +145,7 @@ There are a few reasons we made this separation: - Playlet relies on [Invidious](https://github.com/iv-org/invidious). Invidious tries to keep up with YouTube making changes to their platform, but sometimes, a breaking change happens that requires Playlet to react quickly. Releasing through the Roku Channel store can take days, or a week. During this time, Playlet would be not functional, and that's not acceptable. - The ability to roll back: Sometimes an app breaking bug gets released. Allowing users to choose a seperate version is a flexible way to keep things working. For example, it's possible to choose a different verrsion from the developer settings in the web app. -- It is simply easier to release: Releasing Playlet Lib on Github, and everyone receives the latest version immediately, is very conveninct and less of a hassle, than going through the Roku Channel store. +- It is simply easier to release: Releasing Playlet Lib on Github, and everyone receives the latest version immediately, is very convenient and less of a hassle, than going through the Roku Channel store. - I've had instances where I was trying to pass the certfication for Playlet to publish it. One of the criterias is to pass a some automated tests. But the tests were failing because their system could not connect to their Roku test devices (connection keeps timing out). My only option was to keep trying over and over until it worked. - It might sound that Playlet Lib is just a workaround for the Roku Channel release process. But phrased differently, Roku Channel release process is not good enough of what we need for Playlet. - Canary builds: The latest version of Playlet can be tested as soon as it lands in the main branch. This is a great way to test newer features in production, without affecting the stability of the released version. Roku has the concept of "beta" channels, but they are more cumbersome. @@ -182,7 +182,8 @@ These are useful to see if the files and caching are working as expected. ### Releases from Github -Since Component Libraries are simply zip files hosted at some https endpoint, Github releases are used to host and deliver Playet Lib to users. By default, Playlet grabs `https://github.com/iBicha/playlet/releases/latest/download/playlet-lib.zip` and loads it, but this can be pointed to somewhere else, if for some reason the Github repository becomes unavailable. +Since Component Libraries are simply zip/squashfs files hosted at some HTTPS endpoint, Github releases are used to host and deliver Playet Lib to users. By default, Playlet grabs `https://github.com/iBicha/playlet/releases/latest/download/playlet-lib.squashfs.pkg` and loads it, but this can be pointed to somewhere else, if for some reason the Github repository becomes unavailable. +Squashfs files are faster to load, but they require signing. Zip files can be used without signing if they are served from an HTTPS endpoint. ### Dev library hosted by VS Code Extension diff --git a/package-lock.json b/package-lock.json index 0a1229a3..d51b01f7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@rokucommunity/bslint": "^0.8.22", "@types/crypto-js": "^4.2.2", "@types/fs-extra": "^11.0.4", - "@types/node": "^22.1.0", + "@types/node": "^22.2.0", "@types/xml2js": "^0.4.14", "argparse": "^2.0.1", "brighterscript": "0.67.5", @@ -514,9 +514,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "22.1.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.1.0.tgz", - "integrity": "sha512-AOmuRF0R2/5j1knA3c6G3HOk523Ga+l+ZXltX8SF1+5oqcXijjfTd8fY3XRZqSihEu9XhtQnKYLmkFaoxgsJHw==", + "version": "22.2.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.2.0.tgz", + "integrity": "sha512-bm6EG6/pCpkxDf/0gDNDdtDILMOHgaQBVOJGdwsqClnxA3xL6jtMv76rLBc006RVMWbmaf0xbmom4Z/5o2nRkQ==", "dev": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 5f134752..a2b8c832 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "@rokucommunity/bslint": "^0.8.22", "@types/crypto-js": "^4.2.2", "@types/fs-extra": "^11.0.4", - "@types/node": "^22.1.0", + "@types/node": "^22.2.0", "@types/xml2js": "^0.4.14", "argparse": "^2.0.1", "brighterscript": "0.67.5", diff --git a/playlet-web/package-lock.json b/playlet-web/package-lock.json index 29fde3dd..ed9bfada 100644 --- a/playlet-web/package-lock.json +++ b/playlet-web/package-lock.json @@ -9,23 +9,23 @@ "version": "0.25.2", "devDependencies": { "@sveltejs/vite-plugin-svelte": "^3.1.1", - "@tailwindcss/typography": "^0.5.13", + "@tailwindcss/typography": "^0.5.14", "@tsconfig/svelte": "^5.0.4", "@vitejs/plugin-legacy": "^5.4.1", "autoprefixer": "^10.4.20", "daisyui": "^4.12.10", "dotenv": "^16.4.5", "ip": "^2.0.1", - "postcss": "^8.4.40", + "postcss": "^8.4.41", "svelte": "^4.2.18", "svelte-check": "^3.8.5", "svelte-preprocess": "^6.0.2", - "tailwindcss": "^3.4.7", - "terser": "^5.31.3", + "tailwindcss": "^3.4.9", + "terser": "^5.31.5", "tslib": "^2.6.3", "typescript": "^5.5.4", - "vite": "^5.3.5", - "vite-tsconfig-paths": "^4.3.2" + "vite": "^5.4.0", + "vite-tsconfig-paths": "^5.0.1" } }, "node_modules/@alloc/quick-lru": { @@ -2393,10 +2393,11 @@ } }, "node_modules/@tailwindcss/typography": { - "version": "0.5.13", - "resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.13.tgz", - "integrity": "sha512-ADGcJ8dX21dVVHIwTRgzrcunY6YY9uSlAHHGVKvkA+vLc5qLwEszvKts40lx7z0qc4clpjclwLeK5rVCV2P/uw==", + "version": "0.5.14", + "resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.14.tgz", + "integrity": "sha512-ZvOCjUbsJBjL9CxQBn+VEnFpouzuKhxh2dH8xMIWHILL+HfOYtlAkWcyoon8LlzE53d2Yo6YO6pahKKNW3q1YQ==", "dev": true, + "license": "MIT", "dependencies": { "lodash.castarray": "^4.4.0", "lodash.isplainobject": "^4.0.6", @@ -3667,9 +3668,9 @@ } }, "node_modules/postcss": { - "version": "8.4.40", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.40.tgz", - "integrity": "sha512-YF2kKIUzAofPMpfH6hOi2cGnv/HrUlfucspc7pDyvv7kGdqXrfj8SCl/t8owkEgKEuu8ZcRjSOxFxVLqwChZ2Q==", + "version": "8.4.41", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.41.tgz", + "integrity": "sha512-TesUflQ0WKZqAvg52PWL6kHgLKP6xB6heTOdoYM0Wt2UHyxNa4K25EZZMgKns3BH1RLVbZCREPpLY0rhnNoHVQ==", "dev": true, "funding": [ { @@ -3685,6 +3686,7 @@ "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "dependencies": { "nanoid": "^3.3.7", "picocolors": "^1.0.1", @@ -4368,10 +4370,11 @@ "dev": true }, "node_modules/tailwindcss": { - "version": "3.4.7", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.7.tgz", - "integrity": "sha512-rxWZbe87YJb4OcSopb7up2Ba4U82BoiSGUdoDr3Ydrg9ckxFS/YWsvhN323GMcddgU65QRy7JndC7ahhInhvlQ==", + "version": "3.4.9", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.9.tgz", + "integrity": "sha512-1SEOvRr6sSdV5IDf9iC+NU4dhwdqzF4zKKq3sAbasUWHEM6lsMhX+eNN5gkPx1BvLFEnZQEUFbXnGj8Qlp83Pg==", "dev": true, + "license": "MIT", "dependencies": { "@alloc/quick-lru": "^5.2.0", "arg": "^5.0.2", @@ -4430,10 +4433,11 @@ } }, "node_modules/terser": { - "version": "5.31.3", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.31.3.tgz", - "integrity": "sha512-pAfYn3NIZLyZpa83ZKigvj6Rn9c/vd5KfYGX7cN1mnzqgDcxWvrU5ZtAfIKhEXz9nRecw4z3LXkjaq96/qZqAA==", + "version": "5.31.5", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.31.5.tgz", + "integrity": "sha512-YPmas0L0rE1UyLL/llTWA0SiDOqIcAQYLeUj7cJYzXHlRTAnMSg9pPe4VJ5PlKvTrPQsdVFuiRiwyeNlYgwh2Q==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "@jridgewell/source-map": "^0.3.3", "acorn": "^8.8.2", @@ -4618,13 +4622,14 @@ "dev": true }, "node_modules/vite": { - "version": "5.3.5", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.3.5.tgz", - "integrity": "sha512-MdjglKR6AQXQb9JGiS7Rc2wC6uMjcm7Go/NHNO63EwiJXfuk9PgqiP/n5IDJCziMkfw9n4Ubp7lttNwz+8ZVKA==", + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.0.tgz", + "integrity": "sha512-5xokfMX0PIiwCMCMb9ZJcMyh5wbBun0zUzKib+L65vAZ8GY9ePZMXxFrHbr/Kyll2+LSCY7xtERPpxkBDKngwg==", "dev": true, + "license": "MIT", "dependencies": { "esbuild": "^0.21.3", - "postcss": "^8.4.39", + "postcss": "^8.4.40", "rollup": "^4.13.0" }, "bin": { @@ -4644,6 +4649,7 @@ "less": "*", "lightningcss": "^1.21.0", "sass": "*", + "sass-embedded": "*", "stylus": "*", "sugarss": "*", "terser": "^5.4.0" @@ -4661,6 +4667,9 @@ "sass": { "optional": true }, + "sass-embedded": { + "optional": true + }, "stylus": { "optional": true }, @@ -4673,10 +4682,11 @@ } }, "node_modules/vite-tsconfig-paths": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/vite-tsconfig-paths/-/vite-tsconfig-paths-4.3.2.tgz", - "integrity": "sha512-0Vd/a6po6Q+86rPlntHye7F31zA2URZMbH8M3saAZ/xR9QoGN/L21bxEGfXdWmFdNkqPpRdxFT7nmNe12e9/uA==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/vite-tsconfig-paths/-/vite-tsconfig-paths-5.0.1.tgz", + "integrity": "sha512-yqwv+LstU7NwPeNqajZzLEBVpUFU6Dugtb2P84FXuvaoYA+/70l9MHE+GYfYAycVyPSDYZ7mjOFuYBRqlEpTig==", "dev": true, + "license": "MIT", "dependencies": { "debug": "^4.1.1", "globrex": "^0.1.2", diff --git a/playlet-web/package.json b/playlet-web/package.json index cbace52c..2e859f6e 100644 --- a/playlet-web/package.json +++ b/playlet-web/package.json @@ -10,22 +10,22 @@ }, "devDependencies": { "@sveltejs/vite-plugin-svelte": "^3.1.1", - "@tailwindcss/typography": "^0.5.13", + "@tailwindcss/typography": "^0.5.14", "@tsconfig/svelte": "^5.0.4", "@vitejs/plugin-legacy": "^5.4.1", "autoprefixer": "^10.4.20", "daisyui": "^4.12.10", "dotenv": "^16.4.5", "ip": "^2.0.1", - "postcss": "^8.4.40", + "postcss": "^8.4.41", "svelte": "^4.2.18", "svelte-check": "^3.8.5", "svelte-preprocess": "^6.0.2", - "tailwindcss": "^3.4.7", - "terser": "^5.31.3", + "tailwindcss": "^3.4.9", + "terser": "^5.31.5", "tslib": "^2.6.3", "typescript": "^5.5.4", - "vite": "^5.3.5", - "vite-tsconfig-paths": "^4.3.2" + "vite": "^5.4.0", + "vite-tsconfig-paths": "^5.0.1" } }