From 08c8379fd7dc2a1d7ad92c39601afe5a6deb6f4b Mon Sep 17 00:00:00 2001 From: Bronley Plumb Date: Tue, 30 Jan 2024 11:13:37 -0500 Subject: [PATCH 1/7] Update changelog for v0.8.17 --- CHANGELOG.md | 7 +++++++ package-lock.json | 14 +++++++------- package.json | 2 +- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fa87a59..e3706fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 +## [0.8.17](https://github.com/rokucommunity/bslint/compare/v0.8.16...v0.8.17) - 2024-01-30 +### Changed + - upgrade to [brighterscript@0.65.19](https://github.com/rokucommunity/brighterscript/blob/master/CHANGELOG.md#06519---2024-01-30). Notable changes since 0.65.18: + - Backport v1 syntax changes ([brighterscript#1034](https://github.com/rokucommunity/brighterscript/pull/1034)) + + + ## [0.8.16](https://github.com/rokucommunity/bslint/compare/v0.8.15...v0.8.16) - 2024-01-25 ### Changed - upgrade to [brighterscript@0.65.18](https://github.com/rokucommunity/brighterscript/blob/master/CHANGELOG.md#06518---2024-01-25). Notable changes since 0.65.17: diff --git a/package-lock.json b/package-lock.json index dd7082e..e6645f0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,7 +25,7 @@ "@types/node": "^14.6.0", "@typescript-eslint/eslint-plugin": "^3.10.1", "@typescript-eslint/parser": "^3.10.1", - "brighterscript": "^0.65.18", + "brighterscript": "^0.65.19", "chai": "^4.3.6", "coveralls": "^3.1.1", "eslint": "^7.7.0", @@ -1025,9 +1025,9 @@ } }, "node_modules/brighterscript": { - "version": "0.65.18", - "resolved": "https://registry.npmjs.org/brighterscript/-/brighterscript-0.65.18.tgz", - "integrity": "sha512-6RU9gE1wYMS8thQCBuUcwrGeDo8ywnMp7DKzS/Zl5yHqvU9LstBP6Z3vFxDFxxovYGhIy5o1B6OulnxPBD0pVA==", + "version": "0.65.19", + "resolved": "https://registry.npmjs.org/brighterscript/-/brighterscript-0.65.19.tgz", + "integrity": "sha512-nGWMgmhgMsiDgabUPeJS/c/8hQK3qgw1bBsXWSLaJd4SFkR4JSxW+ElqnayNHN2MAWhfenj0TkDCFf/QGDUO+A==", "dev": true, "dependencies": { "@rokucommunity/bslib": "^0.1.1", @@ -5807,9 +5807,9 @@ } }, "brighterscript": { - "version": "0.65.18", - "resolved": "https://registry.npmjs.org/brighterscript/-/brighterscript-0.65.18.tgz", - "integrity": "sha512-6RU9gE1wYMS8thQCBuUcwrGeDo8ywnMp7DKzS/Zl5yHqvU9LstBP6Z3vFxDFxxovYGhIy5o1B6OulnxPBD0pVA==", + "version": "0.65.19", + "resolved": "https://registry.npmjs.org/brighterscript/-/brighterscript-0.65.19.tgz", + "integrity": "sha512-nGWMgmhgMsiDgabUPeJS/c/8hQK3qgw1bBsXWSLaJd4SFkR4JSxW+ElqnayNHN2MAWhfenj0TkDCFf/QGDUO+A==", "dev": true, "requires": { "@rokucommunity/bslib": "^0.1.1", diff --git a/package.json b/package.json index ada99b3..d699362 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "@types/node": "^14.6.0", "@typescript-eslint/eslint-plugin": "^3.10.1", "@typescript-eslint/parser": "^3.10.1", - "brighterscript": "^0.65.18", + "brighterscript": "^0.65.19", "chai": "^4.3.6", "coveralls": "^3.1.1", "eslint": "^7.7.0", From 69fa9592e4b1ad22f71e02359125d077a85d2cba Mon Sep 17 00:00:00 2001 From: Bronley Plumb Date: Tue, 30 Jan 2024 11:13:48 -0500 Subject: [PATCH 2/7] 0.8.17 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index e6645f0..1200da7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@rokucommunity/bslint", - "version": "0.8.16", + "version": "0.8.17", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@rokucommunity/bslint", - "version": "0.8.16", + "version": "0.8.17", "license": "MIT", "dependencies": { "fs-extra": "^10.0.0", diff --git a/package.json b/package.json index d699362..b0f536d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rokucommunity/bslint", - "version": "0.8.16", + "version": "0.8.17", "description": "BrighterScript linter plugin", "main": "dist/index.js", "bin": { From a94d5087428e677b2945a1980c2064f92380011e Mon Sep 17 00:00:00 2001 From: Bronley Plumb Date: Thu, 29 Feb 2024 16:59:36 -0500 Subject: [PATCH 3/7] Update changelog for v0.8.18 --- CHANGELOG.md | 10 ++++ package-lock.json | 136 +++++++--------------------------------------- package.json | 2 +- 3 files changed, 32 insertions(+), 116 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e3706fc..40d2623 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 +## [0.8.18](https://github.com/rokucommunity/bslint/compare/v0.8.17...v0.8.18) - 2024-02-29 +### Changed + - upgrade to [brighterscript@0.65.23](https://github.com/rokucommunity/brighterscript/blob/master/CHANGELOG.md#06523---2024-02-29). Notable changes since 0.65.19: + - empty interfaces break the parser ([brighterscript#1082](https://github.com/rokucommunity/brighterscript/pull/1082)) + - Allow v1 syntax: built-in types for class member types and type declarations on lhs ([brighterscript#1059](https://github.com/rokucommunity/brighterscript/pull/1059)) + - Move `coveralls-next` to a devDependency since it's not needed at runtime ([brighterscript#1051](https://github.com/rokucommunity/brighterscript/pull/1051)) + - Fix parsing issues with multi-index IndexedSet and IndexedGet ([brighterscript#1050](https://github.com/rokucommunity/brighterscript/pull/1050)) + + + ## [0.8.17](https://github.com/rokucommunity/bslint/compare/v0.8.16...v0.8.17) - 2024-01-30 ### Changed - upgrade to [brighterscript@0.65.19](https://github.com/rokucommunity/brighterscript/blob/master/CHANGELOG.md#06519---2024-01-30). Notable changes since 0.65.18: diff --git a/package-lock.json b/package-lock.json index 1200da7..e72c639 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,7 +25,7 @@ "@types/node": "^14.6.0", "@typescript-eslint/eslint-plugin": "^3.10.1", "@typescript-eslint/parser": "^3.10.1", - "brighterscript": "^0.65.19", + "brighterscript": "^0.65.23", "chai": "^4.3.6", "coveralls": "^3.1.1", "eslint": "^7.7.0", @@ -1025,9 +1025,9 @@ } }, "node_modules/brighterscript": { - "version": "0.65.19", - "resolved": "https://registry.npmjs.org/brighterscript/-/brighterscript-0.65.19.tgz", - "integrity": "sha512-nGWMgmhgMsiDgabUPeJS/c/8hQK3qgw1bBsXWSLaJd4SFkR4JSxW+ElqnayNHN2MAWhfenj0TkDCFf/QGDUO+A==", + "version": "0.65.23", + "resolved": "https://registry.npmjs.org/brighterscript/-/brighterscript-0.65.23.tgz", + "integrity": "sha512-oIekpbevsdZoQR93sarPCzeCuMBCyq6x4UdVO9D63ip8Yqytlh4dtcwrbPNIGXCaJw1KBdLhU13+VcbSrn9oUg==", "dev": true, "dependencies": { "@rokucommunity/bslib": "^0.1.1", @@ -1037,7 +1037,6 @@ "chevrotain": "^7.0.1", "chokidar": "^3.5.1", "clear": "^0.1.0", - "coveralls-next": "^4.2.0", "cross-platform-clear-console": "^2.3.0", "debounce-promise": "^3.1.0", "eventemitter3": "^4.0.0", @@ -1053,7 +1052,7 @@ "parse-ms": "^2.1.0", "readline": "^1.3.0", "require-relative": "^0.8.7", - "roku-deploy": "^3.11.2", + "roku-deploy": "^3.11.3", "serialize-error": "^7.0.1", "source-map": "^0.7.4", "vscode-languageserver": "7.0.0", @@ -1423,57 +1422,6 @@ "node": ">=6" } }, - "node_modules/coveralls-next": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/coveralls-next/-/coveralls-next-4.2.0.tgz", - "integrity": "sha512-zg41a/4QDSASPtlV6gp+6owoU43U5CguxuPZR3nPZ26M5ZYdEK3MdUe7HwE+AnCZPkucudfhqqJZehCNkz2rYg==", - "dev": true, - "dependencies": { - "form-data": "4.0.0", - "js-yaml": "4.1.0", - "lcov-parse": "1.0.0", - "log-driver": "1.2.7", - "minimist": "1.2.7" - }, - "bin": { - "coveralls": "bin/coveralls.js" - }, - "engines": { - "node": ">=14" - } - }, - "node_modules/coveralls-next/node_modules/argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true - }, - "node_modules/coveralls-next/node_modules/form-data": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", - "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", - "dev": true, - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/coveralls-next/node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", - "dev": true, - "dependencies": { - "argparse": "^2.0.1" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, "node_modules/create-require": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", @@ -2037,9 +1985,9 @@ "dev": true }, "node_modules/fastq": { - "version": "1.16.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.16.0.tgz", - "integrity": "sha512-ifCoaXsDrsdkWTtiNJX5uzHDsrck5TzfKKDcuFFTIrrc/BS076qgEIfoIy1VeZqViznfKiysPYTh/QeHtnIsYA==", + "version": "1.17.1", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", + "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", "dev": true, "dependencies": { "reusify": "^1.0.4" @@ -4056,9 +4004,9 @@ } }, "node_modules/roku-deploy": { - "version": "3.11.2", - "resolved": "https://registry.npmjs.org/roku-deploy/-/roku-deploy-3.11.2.tgz", - "integrity": "sha512-3JDlnbTxv6Xk5GVolQoA3+d34MLZXXwZWMySprHwazZoWLP3LvulYHP92YvFOJAo/aI4IZp/TFA8kR82IrmHKA==", + "version": "3.11.3", + "resolved": "https://registry.npmjs.org/roku-deploy/-/roku-deploy-3.11.3.tgz", + "integrity": "sha512-vHb/YL45LWrD+hOAGO9GGhZW5GE6W5I/bSGLCO/JgyqhvRq/MoKdeFuEUgrztDhaKgODQIjGj7/DJaUO0Vx+IA==", "dev": true, "dependencies": { "chalk": "^2.4.2", @@ -5807,9 +5755,9 @@ } }, "brighterscript": { - "version": "0.65.19", - "resolved": "https://registry.npmjs.org/brighterscript/-/brighterscript-0.65.19.tgz", - "integrity": "sha512-nGWMgmhgMsiDgabUPeJS/c/8hQK3qgw1bBsXWSLaJd4SFkR4JSxW+ElqnayNHN2MAWhfenj0TkDCFf/QGDUO+A==", + "version": "0.65.23", + "resolved": "https://registry.npmjs.org/brighterscript/-/brighterscript-0.65.23.tgz", + "integrity": "sha512-oIekpbevsdZoQR93sarPCzeCuMBCyq6x4UdVO9D63ip8Yqytlh4dtcwrbPNIGXCaJw1KBdLhU13+VcbSrn9oUg==", "dev": true, "requires": { "@rokucommunity/bslib": "^0.1.1", @@ -5819,7 +5767,6 @@ "chevrotain": "^7.0.1", "chokidar": "^3.5.1", "clear": "^0.1.0", - "coveralls-next": "^4.2.0", "cross-platform-clear-console": "^2.3.0", "debounce-promise": "^3.1.0", "eventemitter3": "^4.0.0", @@ -5835,7 +5782,7 @@ "parse-ms": "^2.1.0", "readline": "^1.3.0", "require-relative": "^0.8.7", - "roku-deploy": "^3.11.2", + "roku-deploy": "^3.11.3", "serialize-error": "^7.0.1", "source-map": "^0.7.4", "vscode-languageserver": "7.0.0", @@ -6133,47 +6080,6 @@ "request": "^2.88.2" } }, - "coveralls-next": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/coveralls-next/-/coveralls-next-4.2.0.tgz", - "integrity": "sha512-zg41a/4QDSASPtlV6gp+6owoU43U5CguxuPZR3nPZ26M5ZYdEK3MdUe7HwE+AnCZPkucudfhqqJZehCNkz2rYg==", - "dev": true, - "requires": { - "form-data": "4.0.0", - "js-yaml": "4.1.0", - "lcov-parse": "1.0.0", - "log-driver": "1.2.7", - "minimist": "1.2.7" - }, - "dependencies": { - "argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true - }, - "form-data": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", - "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", - "dev": true, - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - } - }, - "js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", - "dev": true, - "requires": { - "argparse": "^2.0.1" - } - } - } - }, "create-require": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", @@ -6596,9 +6502,9 @@ "dev": true }, "fastq": { - "version": "1.16.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.16.0.tgz", - "integrity": "sha512-ifCoaXsDrsdkWTtiNJX5uzHDsrck5TzfKKDcuFFTIrrc/BS076qgEIfoIy1VeZqViznfKiysPYTh/QeHtnIsYA==", + "version": "1.17.1", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", + "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", "dev": true, "requires": { "reusify": "^1.0.4" @@ -8117,9 +8023,9 @@ } }, "roku-deploy": { - "version": "3.11.2", - "resolved": "https://registry.npmjs.org/roku-deploy/-/roku-deploy-3.11.2.tgz", - "integrity": "sha512-3JDlnbTxv6Xk5GVolQoA3+d34MLZXXwZWMySprHwazZoWLP3LvulYHP92YvFOJAo/aI4IZp/TFA8kR82IrmHKA==", + "version": "3.11.3", + "resolved": "https://registry.npmjs.org/roku-deploy/-/roku-deploy-3.11.3.tgz", + "integrity": "sha512-vHb/YL45LWrD+hOAGO9GGhZW5GE6W5I/bSGLCO/JgyqhvRq/MoKdeFuEUgrztDhaKgODQIjGj7/DJaUO0Vx+IA==", "dev": true, "requires": { "chalk": "^2.4.2", diff --git a/package.json b/package.json index b0f536d..5fd4d13 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "@types/node": "^14.6.0", "@typescript-eslint/eslint-plugin": "^3.10.1", "@typescript-eslint/parser": "^3.10.1", - "brighterscript": "^0.65.19", + "brighterscript": "^0.65.23", "chai": "^4.3.6", "coveralls": "^3.1.1", "eslint": "^7.7.0", From 656036da95ed252035fb8879e0921795142f5faf Mon Sep 17 00:00:00 2001 From: Bronley Plumb Date: Thu, 29 Feb 2024 16:59:46 -0500 Subject: [PATCH 4/7] 0.8.18 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index e72c639..8c6bf40 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@rokucommunity/bslint", - "version": "0.8.17", + "version": "0.8.18", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@rokucommunity/bslint", - "version": "0.8.17", + "version": "0.8.18", "license": "MIT", "dependencies": { "fs-extra": "^10.0.0", diff --git a/package.json b/package.json index 5fd4d13..f5ea785 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rokucommunity/bslint", - "version": "0.8.17", + "version": "0.8.18", "description": "BrighterScript linter plugin", "main": "dist/index.js", "bin": { From 30d2565baef49a5617ecb27b5f4b4f4426e2acab Mon Sep 17 00:00:00 2001 From: Bronley Plumb Date: Thu, 7 Mar 2024 15:06:59 -0500 Subject: [PATCH 5/7] Update changelog for v0.8.19 --- CHANGELOG.md | 9 +++++++++ package-lock.json | 30 +++++++++++++++--------------- package.json | 2 +- 3 files changed, 25 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 40d2623..3619b60 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 +## [0.8.19](https://github.com/rokucommunity/bslint/compare/v0.8.18...v0.8.19) - 2024-03-07 +### Changed + - upgrade to [brighterscript@0.65.25](https://github.com/rokucommunity/brighterscript/blob/master/CHANGELOG.md#06525---2024-03-07). Notable changes since 0.65.23: + - Support when tokens have null ranges ([brighterscript#1072](https://github.com/rokucommunity/brighterscript/pull/1072)) + - Support whitespace in conditional compile keywords ([brighterscript#1090](https://github.com/rokucommunity/brighterscript/pull/1090)) + - Allow negative patterns in diagnostic filters ([brighterscript#1078](https://github.com/rokucommunity/brighterscript/pull/1078)) + + + ## [0.8.18](https://github.com/rokucommunity/bslint/compare/v0.8.17...v0.8.18) - 2024-02-29 ### Changed - upgrade to [brighterscript@0.65.23](https://github.com/rokucommunity/brighterscript/blob/master/CHANGELOG.md#06523---2024-02-29). Notable changes since 0.65.19: diff --git a/package-lock.json b/package-lock.json index 8c6bf40..5686cd9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,7 +25,7 @@ "@types/node": "^14.6.0", "@typescript-eslint/eslint-plugin": "^3.10.1", "@typescript-eslint/parser": "^3.10.1", - "brighterscript": "^0.65.23", + "brighterscript": "^0.65.25", "chai": "^4.3.6", "coveralls": "^3.1.1", "eslint": "^7.7.0", @@ -1025,9 +1025,9 @@ } }, "node_modules/brighterscript": { - "version": "0.65.23", - "resolved": "https://registry.npmjs.org/brighterscript/-/brighterscript-0.65.23.tgz", - "integrity": "sha512-oIekpbevsdZoQR93sarPCzeCuMBCyq6x4UdVO9D63ip8Yqytlh4dtcwrbPNIGXCaJw1KBdLhU13+VcbSrn9oUg==", + "version": "0.65.25", + "resolved": "https://registry.npmjs.org/brighterscript/-/brighterscript-0.65.25.tgz", + "integrity": "sha512-sezfScxcXZfzEJ702HCMjfPsIH/x3mfLAFDObGU+xAC2E8m/zxrPOHKlD9Qpmdvd7/j4TgsujhiRQ1tnk8BzGA==", "dev": true, "dependencies": { "@rokucommunity/bslib": "^0.1.1", @@ -1052,7 +1052,7 @@ "parse-ms": "^2.1.0", "readline": "^1.3.0", "require-relative": "^0.8.7", - "roku-deploy": "^3.11.3", + "roku-deploy": "^3.12.0", "serialize-error": "^7.0.1", "source-map": "^0.7.4", "vscode-languageserver": "7.0.0", @@ -4004,9 +4004,9 @@ } }, "node_modules/roku-deploy": { - "version": "3.11.3", - "resolved": "https://registry.npmjs.org/roku-deploy/-/roku-deploy-3.11.3.tgz", - "integrity": "sha512-vHb/YL45LWrD+hOAGO9GGhZW5GE6W5I/bSGLCO/JgyqhvRq/MoKdeFuEUgrztDhaKgODQIjGj7/DJaUO0Vx+IA==", + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/roku-deploy/-/roku-deploy-3.12.0.tgz", + "integrity": "sha512-YiCZeQ+sEmFW9ZfXtMNH+/CBSHQ5deNZYWONM+s6gCEQsrz7kCMFPj5YEdgfqW+d2b8G1ve9GELHcSt2FsfM8g==", "dev": true, "dependencies": { "chalk": "^2.4.2", @@ -5755,9 +5755,9 @@ } }, "brighterscript": { - "version": "0.65.23", - "resolved": "https://registry.npmjs.org/brighterscript/-/brighterscript-0.65.23.tgz", - "integrity": "sha512-oIekpbevsdZoQR93sarPCzeCuMBCyq6x4UdVO9D63ip8Yqytlh4dtcwrbPNIGXCaJw1KBdLhU13+VcbSrn9oUg==", + "version": "0.65.25", + "resolved": "https://registry.npmjs.org/brighterscript/-/brighterscript-0.65.25.tgz", + "integrity": "sha512-sezfScxcXZfzEJ702HCMjfPsIH/x3mfLAFDObGU+xAC2E8m/zxrPOHKlD9Qpmdvd7/j4TgsujhiRQ1tnk8BzGA==", "dev": true, "requires": { "@rokucommunity/bslib": "^0.1.1", @@ -5782,7 +5782,7 @@ "parse-ms": "^2.1.0", "readline": "^1.3.0", "require-relative": "^0.8.7", - "roku-deploy": "^3.11.3", + "roku-deploy": "^3.12.0", "serialize-error": "^7.0.1", "source-map": "^0.7.4", "vscode-languageserver": "7.0.0", @@ -8023,9 +8023,9 @@ } }, "roku-deploy": { - "version": "3.11.3", - "resolved": "https://registry.npmjs.org/roku-deploy/-/roku-deploy-3.11.3.tgz", - "integrity": "sha512-vHb/YL45LWrD+hOAGO9GGhZW5GE6W5I/bSGLCO/JgyqhvRq/MoKdeFuEUgrztDhaKgODQIjGj7/DJaUO0Vx+IA==", + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/roku-deploy/-/roku-deploy-3.12.0.tgz", + "integrity": "sha512-YiCZeQ+sEmFW9ZfXtMNH+/CBSHQ5deNZYWONM+s6gCEQsrz7kCMFPj5YEdgfqW+d2b8G1ve9GELHcSt2FsfM8g==", "dev": true, "requires": { "chalk": "^2.4.2", diff --git a/package.json b/package.json index f5ea785..9d466ef 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "@types/node": "^14.6.0", "@typescript-eslint/eslint-plugin": "^3.10.1", "@typescript-eslint/parser": "^3.10.1", - "brighterscript": "^0.65.23", + "brighterscript": "^0.65.25", "chai": "^4.3.6", "coveralls": "^3.1.1", "eslint": "^7.7.0", From 2cd798ec52125aec0861912cc432fd34c5d4a3b2 Mon Sep 17 00:00:00 2001 From: Bronley Plumb Date: Thu, 7 Mar 2024 15:07:09 -0500 Subject: [PATCH 6/7] 0.8.19 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5686cd9..aeafc4f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@rokucommunity/bslint", - "version": "0.8.18", + "version": "0.8.19", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@rokucommunity/bslint", - "version": "0.8.18", + "version": "0.8.19", "license": "MIT", "dependencies": { "fs-extra": "^10.0.0", diff --git a/package.json b/package.json index 9d466ef..30c0010 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rokucommunity/bslint", - "version": "0.8.18", + "version": "0.8.19", "description": "BrighterScript linter plugin", "main": "dist/index.js", "bin": { From a650d6f89655023ea58c6822b696d96840a759e8 Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Mon, 11 Mar 2024 16:40:04 -0400 Subject: [PATCH 7/7] Fix safe colors (#101) * Fix safe colors * Update README.md Co-authored-by: Brahim Hadriche --------- Co-authored-by: Bronley Plumb --- README.md | 2 +- src/createColorValidator.ts | 4 ++-- src/plugins/codeStyle/index.spec.ts | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f47e760..69b6f3b 100644 --- a/README.md +++ b/README.md @@ -245,7 +245,7 @@ Default rules: - `color-cert`: enforces Roku's [broadcast safe color 6.4 certification requirement](https://developer.roku.com/en-gb/docs/developer-program/certification/certification.md). Requires that `color-format` is set to `hash-hex` or `quoted-numeric-hex`. - - `always`: ensures all white and black color-format values either match or are darker/ lighter than the minimum recommended values. For white the minimum value is `#DBDBDB` and for black the minimum value is `#161616` + - `always`: ensures all white and black color-format values either match or are darker/ lighter than the minimum recommended values. For white the maximum value is `#EBEBEB` and for black the minimum value is `#161616` - `off`: do not validate (**default**) ### Strictness rules diff --git a/src/createColorValidator.ts b/src/createColorValidator.ts index dade4dd..542c200 100644 --- a/src/createColorValidator.ts +++ b/src/createColorValidator.ts @@ -7,7 +7,7 @@ export function createColorValidator(severity: Readonly) { return (text, range, diagnostics) => { const len = text.length; if (len < 7 || len > 12) { - // we're only interested in string length is between 7 (#DBDBDB) to 12 ("0xDBDBDBff") chars long + // we're only interested in string length is between 7 (#EBEBEB) to 12 ("0xEBEBEBFF") chars long return; } @@ -82,7 +82,7 @@ function validateColorCertCompliance(matches: RegExpMatchArray, range: Range, di const validateCertCompliant = certCompliant === 'always'; if (validateCertCompliant && matches) { const BROADCAST_SAFE_BLACK = '161616'; - const BROADCAST_SAFE_WHITE = 'DBDBDB'; + const BROADCAST_SAFE_WHITE = 'EBEBEB'; const MAX_BLACK_LUMA = getColorLuma(BROADCAST_SAFE_BLACK); const MAX_WHITE_LUMA = getColorLuma(BROADCAST_SAFE_WHITE); let colorValue = matches[0]; diff --git a/src/plugins/codeStyle/index.spec.ts b/src/plugins/codeStyle/index.spec.ts index 86ee41e..76e9aed 100644 --- a/src/plugins/codeStyle/index.spec.ts +++ b/src/plugins/codeStyle/index.spec.ts @@ -775,9 +775,9 @@ describe('codeStyle', () => { }); program.setFile('source/main.bs', ` sub init() - color = "0xDBDBDC" + color = "0xEBEBEC" color = "0x161616" - color = "0xDBDBDBFF" + color = "0xEBEBEBFF" color = "0x161615" longStringWithColors = "Long string value with 0x161615 non broadcast safe color values defined" end sub @@ -798,7 +798,7 @@ describe('codeStyle', () => { sub init() color = "0xDBDBDC" color = "0x161616" - color = "0xDBDBDBFF" + color = "0xEBEBEBFF" color = "0x161615" longStringWithColors = "Long string value with 0x161615 non broadcast safe color values defined" end sub