diff --git a/CHANGELOG.md b/CHANGELOG.md index 31e6b1ac..91f06500 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.26.0] - 2024-09-23 ### Added diff --git a/package-lock.json b/package-lock.json index 61dd4a26..c304ea36 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,14 +9,14 @@ "version": "0.26.0", "hasInstallScript": true, "devDependencies": { - "@rokucommunity/bslint": "^0.8.24", + "@rokucommunity/bslint": "^0.8.25", "@types/crypto-js": "^4.2.2", "@types/fs-extra": "^11.0.4", - "@types/node": "^22.5.5", + "@types/node": "^22.7.4", "@types/xml2js": "^0.4.14", "argparse": "^2.0.1", - "brighterscript": "0.67.6", - "brighterscript-formatter": "^1.7.4", + "brighterscript": "0.67.7", + "brighterscript-formatter": "^1.7.5", "convert-svg-to-png": "^0.6.4", "cross-fetch": "^4.0.0", "crypto-js": "^4.2.0", @@ -29,7 +29,7 @@ "json5": "^2.2.3", "mailparser": "^3.7.1", "roku-deploy": "^3.12.1", - "rooibos-roku": "5.12.0", + "rooibos-roku": "5.13.0", "rounded-rect-9patch": "^1.0.1", "semver": "^7.6.3", "shelljs": "^0.8.5", @@ -289,9 +289,9 @@ "dev": true }, "node_modules/@rokucommunity/bslint": { - "version": "0.8.24", - "resolved": "https://registry.npmjs.org/@rokucommunity/bslint/-/bslint-0.8.24.tgz", - "integrity": "sha512-1EbA6VeW3QC2QQ/Tqf9qTTcCdZ2ZP9q7H9ZvkeN9gzWYiXFSpJo9AnS41LzEsjRKUtC95UXxIhNhIt4Y+x5szg==", + "version": "0.8.25", + "resolved": "https://registry.npmjs.org/@rokucommunity/bslint/-/bslint-0.8.25.tgz", + "integrity": "sha512-qQ9o5khnyF80K/2FnpnUFHfz28sW1B5UOsBiCjqAjhtTBKWzhkIQP8CrIIWej2nGy7+UlmA4slODZkinCsJv+w==", "dev": true, "license": "MIT", "dependencies": { @@ -515,9 +515,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "22.5.5", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.5.tgz", - "integrity": "sha512-Xjs4y5UPO/CLdzpgR6GirZJx36yScjh73+2NlLlkFRSoQN8B0DpfXPdZGnvVmLRLOsqDpOfTNv7D9trgGhmOIA==", + "version": "22.7.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.4.tgz", + "integrity": "sha512-y+NPi1rFzDs1NdQHHToqeiX2TIS79SWEAw9GYhkkx8bD0ChpfqC+n2j5OXOCpzfojBEBt6DnEnnG9MY0zk1XLg==", "dev": true, "license": "MIT", "dependencies": { @@ -890,9 +890,9 @@ } }, "node_modules/brighterscript": { - "version": "0.67.6", - "resolved": "https://registry.npmjs.org/brighterscript/-/brighterscript-0.67.6.tgz", - "integrity": "sha512-MsqPOTJSzvVaOY4R5aykdg9jqesBPZbIXZZvmBKHI5DYwBWtY9SMDe2G+AwTwQ3q8KJvmsPQ6Yw/UbL8tReizQ==", + "version": "0.67.7", + "resolved": "https://registry.npmjs.org/brighterscript/-/brighterscript-0.67.7.tgz", + "integrity": "sha512-KvHM3U4AVu3cOprwmWCOjg8Z7eMkehEJJeDp2PABVnT4GcqwOxtObOUITDJiJ5EuPSsmBlCzt1v3eTywyy7hTw==", "dev": true, "license": "MIT", "dependencies": { @@ -935,12 +935,13 @@ } }, "node_modules/brighterscript-formatter": { - "version": "1.7.4", - "resolved": "https://registry.npmjs.org/brighterscript-formatter/-/brighterscript-formatter-1.7.4.tgz", - "integrity": "sha512-a9RWMbCADBHLwaVirf5NuXPxZaRSraSf3Zm8/ecf5qx51gEU4DbwqpLE+d4ncnHn2/Y5M3mf0fJeQGfWlqo6Kg==", + "version": "1.7.5", + "resolved": "https://registry.npmjs.org/brighterscript-formatter/-/brighterscript-formatter-1.7.5.tgz", + "integrity": "sha512-TIo1BdzHfhd07aFcikEMHyeLhrZqbVNOKF/v03DX3n/33FXhsstR3PhhVjJUxFsoeawO6dRhzGUGDh/EegJ5Iw==", "dev": true, + "license": "MIT", "dependencies": { - "brighterscript": "^0.67.4", + "brighterscript": "^0.67.7", "glob-all": "^3.3.0", "jsonc-parser": "^3.0.0", "source-map": "^0.7.3", @@ -4501,10 +4502,11 @@ } }, "node_modules/rooibos-roku": { - "version": "5.12.0", - "resolved": "https://registry.npmjs.org/rooibos-roku/-/rooibos-roku-5.12.0.tgz", - "integrity": "sha512-fJofEoaD2fNGK7zurdwSBVIQQAbc0jo0Q8TKbJbip0FGPt+inMerFhsWyp7dgXiUaw4mX+S95g74NgHbll9O/g==", + "version": "5.13.0", + "resolved": "https://registry.npmjs.org/rooibos-roku/-/rooibos-roku-5.13.0.tgz", + "integrity": "sha512-tp+hlAtYVnzF3ZMatSmodGl990+pzKg0uwSqM8dyFBNn0Ob5PdUGFRv0oQKg3m7FYCjnglIQxiL97VpiT4rOMg==", "dev": true, + "license": "ISC", "dependencies": { "source-map": "^0.7.3", "undent": "^0.1.0", diff --git a/package.json b/package.json index 0aa83cb4..8c48eac5 100644 --- a/package.json +++ b/package.json @@ -3,14 +3,14 @@ "version": "0.26.0", "description": "Unofficial YouTube client for Roku", "devDependencies": { - "@rokucommunity/bslint": "^0.8.24", + "@rokucommunity/bslint": "^0.8.25", "@types/crypto-js": "^4.2.2", "@types/fs-extra": "^11.0.4", - "@types/node": "^22.5.5", + "@types/node": "^22.7.4", "@types/xml2js": "^0.4.14", "argparse": "^2.0.1", - "brighterscript": "0.67.6", - "brighterscript-formatter": "^1.7.4", + "brighterscript": "0.67.7", + "brighterscript-formatter": "^1.7.5", "convert-svg-to-png": "^0.6.4", "cross-fetch": "^4.0.0", "crypto-js": "^4.2.0", @@ -23,7 +23,7 @@ "json5": "^2.2.3", "mailparser": "^3.7.1", "roku-deploy": "^3.12.1", - "rooibos-roku": "5.12.0", + "rooibos-roku": "5.13.0", "rounded-rect-9patch": "^1.0.1", "semver": "^7.6.3", "shelljs": "^0.8.5", diff --git a/playlet-lib/src/source/components/tests/Navigation.spec.bs b/playlet-lib/src/source/components/tests/Navigation.spec.bs index e52f5cbf..6996907f 100644 --- a/playlet-lib/src/source/components/tests/Navigation.spec.bs +++ b/playlet-lib/src/source/components/tests/Navigation.spec.bs @@ -1,3 +1,5 @@ +import "pkg:/source/utils/RemoteKeys.bs" + namespace Tests @SGNode("NavigationTestNode") diff --git a/playlet-web/package-lock.json b/playlet-web/package-lock.json index 8d92d161..18b568b1 100644 --- a/playlet-web/package-lock.json +++ b/playlet-web/package-lock.json @@ -21,13 +21,13 @@ "ip": "^2.0.1", "postcss": "^8.4.47", "svelte": "^4.2.19", - "svelte-check": "^4.0.2", - "svelte-preprocess": "^6.0.2", - "tailwindcss": "^3.4.12", - "terser": "^5.33.0", + "svelte-check": "^4.0.4", + "svelte-preprocess": "^6.0.3", + "tailwindcss": "^3.4.13", + "terser": "^5.34.1", "tslib": "^2.7.0", "typescript": "^5.6.2", - "vite": "^5.4.7", + "vite": "^5.4.8", "vite-tsconfig-paths": "^5.0.1" } }, @@ -4285,14 +4285,14 @@ } }, "node_modules/svelte-check": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/svelte-check/-/svelte-check-4.0.2.tgz", - "integrity": "sha512-w2yqcG9ELJe2RJCnAvB7v0OgkHhL3czzz/tVoxGFfO6y4mOrF6QHCDhXijeXzsU7LVKEwWS3Qd9tza4JBuDxqA==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/svelte-check/-/svelte-check-4.0.4.tgz", + "integrity": "sha512-AcHWIPuZb1mh/jKoIrww0ebBPpAvwWd1bfXCnwC2dx4OkydNMaiG//+Xnry91RJMHFH7CiE+6Y2p332DRIaOXQ==", "dev": true, "license": "MIT", "dependencies": { "@jridgewell/trace-mapping": "^0.3.25", - "chokidar": "^3.4.1", + "chokidar": "^4.0.1", "fdir": "^6.2.0", "picocolors": "^1.0.0", "sade": "^1.7.4" @@ -4308,6 +4308,22 @@ "typescript": ">=5.0.0" } }, + "node_modules/svelte-check/node_modules/chokidar": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.1.tgz", + "integrity": "sha512-n8enUVCED/KVRQlab1hr3MVpcVMvxtZjmEa956u+4YijlmQED223XMSYj2tLuKvr4jcCTzNNMpQDUer72MMmzA==", + "dev": true, + "license": "MIT", + "dependencies": { + "readdirp": "^4.0.1" + }, + "engines": { + "node": ">= 14.16.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, "node_modules/svelte-check/node_modules/fdir": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.3.0.tgz", @@ -4338,6 +4354,20 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, + "node_modules/svelte-check/node_modules/readdirp": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.0.1.tgz", + "integrity": "sha512-GkMg9uOTpIWWKbSsgwb5fA4EavTR+SG/PMPoAY8hkhHfEEY0/vqljY+XHqtDf2cr2IJtoNRDbrrEpZUiZCkYRw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 14.16.0" + }, + "funding": { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + }, "node_modules/svelte-hmr": { "version": "0.16.0", "resolved": "https://registry.npmjs.org/svelte-hmr/-/svelte-hmr-0.16.0.tgz", @@ -4351,11 +4381,12 @@ } }, "node_modules/svelte-preprocess": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/svelte-preprocess/-/svelte-preprocess-6.0.2.tgz", - "integrity": "sha512-OvDTLfaOkkhjprbDKO0SOCkjNYuHy16dbD4SpqbIi6QiabOMHxRT4km5/dzbFFkmW1L0E2INF3MFltG2pgOyKQ==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/svelte-preprocess/-/svelte-preprocess-6.0.3.tgz", + "integrity": "sha512-PLG2k05qHdhmRG7zR/dyo5qKvakhm8IJ+hD2eFRQmMLHp7X3eJnjeupUtvuRpbNiF31RjVw45W+abDwHEmP5OA==", "dev": true, "hasInstallScript": true, + "license": "MIT", "engines": { "node": ">= 18.0.0" }, @@ -4412,9 +4443,9 @@ "dev": true }, "node_modules/tailwindcss": { - "version": "3.4.12", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.12.tgz", - "integrity": "sha512-Htf/gHj2+soPb9UayUNci/Ja3d8pTmu9ONTfh4QY8r3MATTZOzmv6UYWF7ZwikEIC8okpfqmGqrmDehua8mF8w==", + "version": "3.4.13", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.13.tgz", + "integrity": "sha512-KqjHOJKogOUt5Bs752ykCeiwvi0fKVkr5oqsFNt/8px/tA8scFPIlkygsf6jXrfCqGHz7VflA6+yytWuM+XhFw==", "dev": true, "license": "MIT", "dependencies": { @@ -4475,9 +4506,9 @@ } }, "node_modules/terser": { - "version": "5.33.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.33.0.tgz", - "integrity": "sha512-JuPVaB7s1gdFKPKTelwUyRq5Sid2A3Gko2S0PncwdBq7kN9Ti9HPWDQ06MPsEDGsZeVESjKEnyGy68quBk1w6g==", + "version": "5.34.1", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.34.1.tgz", + "integrity": "sha512-FsJZ7iZLd/BXkz+4xrRTGJ26o/6VTjQytUk8b8OxkwcD2I+79VPJlz7qss1+zE7h8GNIScFqXcDyJ/KqBYZFVA==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -4681,9 +4712,9 @@ "dev": true }, "node_modules/vite": { - "version": "5.4.7", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.7.tgz", - "integrity": "sha512-5l2zxqMEPVENgvzTuBpHer2awaetimj2BGkhBPdnwKbPNOlHsODU+oiazEZzLK7KhAnOrO+XGYJYn4ZlUhDtDQ==", + "version": "5.4.8", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.8.tgz", + "integrity": "sha512-FqrItQ4DT1NC4zCUqMB4c4AZORMKIa0m8/URVCZ77OZ/QSNeJ54bU1vrFADbDsuwfIPcgknRkmqakQcgnL4GiQ==", "dev": true, "license": "MIT", "dependencies": { diff --git a/playlet-web/package.json b/playlet-web/package.json index 5ff1e016..71acfe65 100644 --- a/playlet-web/package.json +++ b/playlet-web/package.json @@ -19,13 +19,13 @@ "ip": "^2.0.1", "postcss": "^8.4.47", "svelte": "^4.2.19", - "svelte-check": "^4.0.2", - "svelte-preprocess": "^6.0.2", - "tailwindcss": "^3.4.12", - "terser": "^5.33.0", + "svelte-check": "^4.0.4", + "svelte-preprocess": "^6.0.3", + "tailwindcss": "^3.4.13", + "terser": "^5.34.1", "tslib": "^2.7.0", "typescript": "^5.6.2", - "vite": "^5.4.7", + "vite": "^5.4.8", "vite-tsconfig-paths": "^5.0.1" }, "dependencies": { diff --git a/tools/bs-plugins/Classes/RawCodeStatement.ts b/tools/bs-plugins/Classes/RawCodeStatement.ts index 4f3052e2..5e329705 100644 --- a/tools/bs-plugins/Classes/RawCodeStatement.ts +++ b/tools/bs-plugins/Classes/RawCodeStatement.ts @@ -22,6 +22,10 @@ export class RawCodeStatement extends Statement { super(); } + public clone() { + return new RawCodeStatement(this.source, this.sourceFile, this.range); + } + public transpile(state: BrsTranspileState) { //indent every line with the current transpile indent level (except the first line, because that's pre-indented by bsc) let source = this.source.replace(/\r?\n/g, (match, newline) => { @@ -35,6 +39,7 @@ export class RawCodeStatement extends Statement { source )]; } + public walk(visitor: WalkVisitor, options: WalkOptions) { //nothing to walk }