From 2d0f46b26e003701f0b69fcc7e1f3db07fc615c0 Mon Sep 17 00:00:00 2001 From: Bronley Plumb Date: Fri, 23 Aug 2024 09:53:37 -0400 Subject: [PATCH 1/6] Add support for roIntrinsicDouble (#1291) --- scripts/scrape-roku-docs.ts | 29 +++++++++++++++++++++++++---- src/Scope.spec.ts | 10 ++++++++++ src/roku-types/data.json | 19 ++++++++++++++++++- 3 files changed, 53 insertions(+), 5 deletions(-) diff --git a/scripts/scrape-roku-docs.ts b/scripts/scrape-roku-docs.ts index a3422c89f..0a3346097 100644 --- a/scripts/scrape-roku-docs.ts +++ b/scripts/scrape-roku-docs.ts @@ -1,3 +1,4 @@ +/* eslint-disable import/no-extraneous-dependencies */ /* eslint-disable @typescript-eslint/dot-notation */ /* eslint-disable @typescript-eslint/no-var-requires */ /* eslint-disable @typescript-eslint/no-require-imports */ @@ -298,7 +299,7 @@ class Runner { const arg = call.args[i]; let paramName = `param${i}`; if (isVariableExpression(arg)) { - paramName = arg.getName(ParseMode.BrightScript) + paramName = arg.getName(ParseMode.BrightScript); } signature.params.push({ name: paramName, @@ -311,7 +312,7 @@ class Runner { component.constructors.push(signature); } } else if (match[1]) { - const signature = this.getConstructorSignature(name, match[1]) + const signature = this.getConstructorSignature(name, match[1]); if (signature) { component.constructors.push(signature); @@ -329,10 +330,30 @@ class Runner { this.result.components[component?.name?.toLowerCase()] = component; } + if (!this.result.components['rointrinsicdouble']) { + this.result.components['rointrinsicdouble'] = { + availableSince: undefined, + constructors: [], + description: 'roIntrinsicDouble is the object equivalent for type \'Double\'.\n\nIt is a legacy object name, corresponding to the intrinsic Double object. Applications should use Double literal values and/or Double-typed variables directly.', + events: [], + interfaces: [ + { + name: 'ifDouble', + url: 'https://developer.roku.com/docs/references/brightscript/interfaces/ifdouble.md' + }, + { + name: 'ifToStr', + url: 'https://developer.roku.com/docs/references/brightscript/interfaces/iftostr.md' + } + ], + name: 'roIntrinsicDouble', + url: 'https://developer.roku.com/docs/references/brightscript/components/rodouble.md' + }; + } } private getConstructorSignature(componentName: string, sourceCode: string) { - const foundParamTexts = this.findParamTexts(sourceCode) + const foundParamTexts = this.findParamTexts(sourceCode); if (foundParamTexts && foundParamTexts[0].toLowerCase() === componentName.toLowerCase()) { const signature = { @@ -797,6 +818,7 @@ function deepSearch(object, key, predicate): T { return object; } + // eslint-disable-next-line @typescript-eslint/prefer-for-of for (let i = 0; i < Object.keys(object).length; i++) { let value = object[Object.keys(object)[i]]; if (typeof value === 'object' && value) { @@ -1235,4 +1257,3 @@ interface ElementFilter { //run the builder new Runner().run().catch((e) => console.error(e)); - diff --git a/src/Scope.spec.ts b/src/Scope.spec.ts index bce1d0f3a..3e5a5beb5 100644 --- a/src/Scope.spec.ts +++ b/src/Scope.spec.ts @@ -709,6 +709,16 @@ describe('Scope', () => { expectZeroDiagnostics(program); }); + it('recognizes roIntrinsicDouble', () => { + program.setFile(`source/file.brs`, ` + sub main() + intrinsicDouble = CreateObject("roIntrinsicDouble") + end sub + `); + program.validate(); + expectZeroDiagnostics(program); + }); + it('catches invalid BrightScript components', () => { program.setFile(`source/file.brs`, ` sub main() diff --git a/src/roku-types/data.json b/src/roku-types/data.json index 7b36b51d9..c0c0557c0 100644 --- a/src/roku-types/data.json +++ b/src/roku-types/data.json @@ -1,5 +1,5 @@ { - "generatedDate": "2022-11-02T15:29:46.390Z", + "generatedDate": "2024-08-23T13:39:25.188Z", "nodes": { "animation": { "description": "Extends [**AnimationBase**](https://developer.roku.com/docs/references/scenegraph/abstract-nodes/animationbase.md\n\nThe Animation node class provides animations of renderable nodes, by applying interpolator functions to the values in specified renderable node fields. For an animation to take effect, an Animation node definition must include a child field interpolator node ([FloatFieldInterpolator](https://developer.roku.com/docs/references/scenegraph/animation-nodes/floatfieldinterpolator.md\"FloatFieldInterpolator\"), [Vector2DFieldInterpolator](https://developer.roku.com/docs/references/scenegraph/animation-nodes/vector2dfieldinterpolator.md\"Vector2DFieldInterpolator\"), [ColorFieldInterpolator](https://developer.roku.com/docs/references/scenegraph/animation-nodes/colorfieldinterpolator.md\"ColorFieldInterpolator\")) definition for each renderable node field that is animated.\n\nThe Animation node class provides a simple linear interpolator function, where the animation takes place smoothly and simply from beginning to end. The Animation node class also provides several more complex interpolator functions to allow custom animation effects. For example, you can move a graphic image around the screen at differing speeds and curved trajectories at different times in the animation by specifying the appropriate function in the easeFunction field (quadratic and exponential are two examples of functions that can be specified). The interpolator functions are divided into two parts: the beginning of the animation (ease-in), and the end of the animation (ease-out). You can apply a specified interpolator function to either or both ease-in and ease-out, or specify no function for either or both (which is the linear function). You can also change the portion of the animation that is ease-in and ease-out to arbitrary fractional values for a quadratic interpolator function applied to both ease-in and ease-out.", @@ -6682,6 +6682,23 @@ "name": "roInt", "url": "https://developer.roku.com/docs/references/brightscript/components/roint.md" }, + "rointrinsicdouble": { + "constructors": [], + "description": "roIntrinsicDouble is the object equivalent for type 'Double'.\n\nIt is a legacy object name, corresponding to the intrinsic Double object. Applications should use Double literal values and/or Double-typed variables directly.", + "events": [], + "interfaces": [ + { + "name": "ifDouble", + "url": "https://developer.roku.com/docs/references/brightscript/interfaces/ifdouble.md" + }, + { + "name": "ifToStr", + "url": "https://developer.roku.com/docs/references/brightscript/interfaces/iftostr.md" + } + ], + "name": "roIntrinsicDouble", + "url": "https://developer.roku.com/docs/references/brightscript/components/rodouble.md" + }, "roinvalid": { "constructors": [], "description": "roInvalid is the object equivalent for intrinsic type 'Invalid'.", From d86c5f5d5c4eb7e26fe92dfe3b020b26d40b05b2 Mon Sep 17 00:00:00 2001 From: Bronley Plumb Date: Fri, 23 Aug 2024 15:41:19 -0400 Subject: [PATCH 2/6] Add support for resolving sourceRoot at time of config load (#1290) * Add support for resolving sourceRoot at time of config load * Update schema --- bsconfig.schema.json | 22 +++++++++++++++++++--- src/BsConfig.ts | 5 +++++ src/util.spec.ts | 20 ++++++++++++++++++++ src/util.ts | 4 ++++ 4 files changed, 48 insertions(+), 3 deletions(-) diff --git a/bsconfig.schema.json b/bsconfig.schema.json index 1d510ab91..9dd7a7db7 100644 --- a/bsconfig.schema.json +++ b/bsconfig.schema.json @@ -30,7 +30,10 @@ "type": "object", "patternProperties": { "^.+$": { - "type": ["boolean", "null"] + "type": [ + "boolean", + "null" + ] } } } @@ -161,8 +164,16 @@ "type": "object", "patternProperties": { ".{1,}": { - "type": ["number", "string"], - "enum": ["error", "warn", "info", "hint"] + "type": [ + "number", + "string" + ], + "enum": [ + "error", + "warn", + "info", + "hint" + ] } } }, @@ -268,6 +279,11 @@ "description": "Override the root directory path where debugger should locate the source files. The location will be embedded in the source map to help debuggers locate the original source files. This only applies to files found within rootDir. This is useful when you want to preprocess files before passing them to BrighterScript, and want a debugger to open the original files. This option also affects the `SOURCE_FILE_PATH` and `SOURCE_LOCATION` source literals.", "type": "string" }, + "resolveSourceRoot": { + "description": "Should the `sourceRoot` property be resolve to an absolute path (relative to the bsconfig it's defined in)", + "type": "boolean", + "default": false + }, "diagnosticLevel": { "description": "Specify what diagnostic levels are printed to the console. This has no effect on what diagnostics are reported in the LanguageServer. Defaults to 'warn'", "type": "string", diff --git a/src/BsConfig.ts b/src/BsConfig.ts index 3dade7360..05cb40271 100644 --- a/src/BsConfig.ts +++ b/src/BsConfig.ts @@ -181,6 +181,11 @@ export interface BsConfig { * have their source maps changed. This option also affects the `SOURCE_FILE_PATH` and `SOURCE_LOCATION` source literals. */ sourceRoot?: string; + /** + * Should the `sourceRoot` property be resolve to an absolute path (relative to the bsconfig it's defined in) + * @default false + */ + resolveSourceRoot?: boolean; /** * Enables generating sourcemap files, which allow debugging tools to show the original source code while running the emitted files. * @default true diff --git a/src/util.spec.ts b/src/util.spec.ts index 0d9a59d61..c0853b293 100644 --- a/src/util.spec.ts +++ b/src/util.spec.ts @@ -95,6 +95,26 @@ describe('util', () => { ]); }); + it('resolves sourceRoot relative to the bsconfig file', () => { + fsExtra.outputJsonSync(s`${rootDir}/folder1/parent.json`, { sourceRoot: './alpha/beta', resolveSourceRoot: true }); + fsExtra.outputJsonSync(s`${rootDir}/child.json`, { extends: 'folder1/parent.json' }); + expect( + util.loadConfigFile(s`${rootDir}/child.json`).sourceRoot + ).to.eql( + s`${rootDir}/folder1/alpha/beta` + ); + }); + + it('leaves sourceRoot relative when defaulted to', () => { + fsExtra.outputJsonSync(s`${rootDir}/folder1/parent.json`, { sourceRoot: './alpha/beta' }); + fsExtra.outputJsonSync(s`${rootDir}/child.json`, { extends: 'folder1/parent.json' }); + expect( + util.loadConfigFile(s`${rootDir}/child.json`).sourceRoot + ).to.eql( + `./alpha/beta` + ); + }); + it('returns empty ancestors list for non-extends files', () => { fsExtra.outputFileSync(s`${rootDir}/child.json`, `{}`); let config = util.loadConfigFile(s`${rootDir}/child.json`); diff --git a/src/util.ts b/src/util.ts index d5e41f4fb..07d513e20 100644 --- a/src/util.ts +++ b/src/util.ts @@ -237,6 +237,9 @@ export class Util { if (result.stagingDir) { result.stagingDir = path.resolve(projectFileCwd, result.stagingDir); } + if (result.sourceRoot && result.resolveSourceRoot) { + result.sourceRoot = path.resolve(projectFileCwd, result.sourceRoot); + } return result; } } @@ -367,6 +370,7 @@ export class Util { autoImportComponentScript: config.autoImportComponentScript === true ? true : false, showDiagnosticsInConsole: config.showDiagnosticsInConsole === false ? false : true, sourceRoot: config.sourceRoot ? standardizePath(config.sourceRoot) : undefined, + resolveSourceRoot: config.resolveSourceRoot === true ? true: false, allowBrighterScriptInBrightScript: config.allowBrighterScriptInBrightScript === true ? true : false, emitDefinitions: config.emitDefinitions === true ? true : false, removeParameterTypes: config.removeParameterTypes === true ? true : false, From dd6ac0a996bf914d20ed0ada73174be6a1287e62 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 5 Sep 2024 09:56:26 -0400 Subject: [PATCH 3/6] Bump micromatch from 4.0.4 to 4.0.8 (#1292) Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.4 to 4.0.8. - [Release notes](https://github.com/micromatch/micromatch/releases) - [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md) - [Commits](https://github.com/micromatch/micromatch/compare/4.0.4...4.0.8) --- updated-dependencies: - dependency-name: micromatch dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 111 ++++++++++------------------------------------ 1 file changed, 24 insertions(+), 87 deletions(-) diff --git a/package-lock.json b/package-lock.json index c549cfe35..6226e3b38 100644 --- a/package-lock.json +++ b/package-lock.json @@ -174,15 +174,6 @@ "url": "https://opencollective.com/babel" } }, - "node_modules/@babel/core/node_modules/@babel/code-frame": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.13.tgz", - "integrity": "sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==", - "dev": true, - "dependencies": { - "@babel/highlight": "^7.12.13" - } - }, "node_modules/@babel/core/node_modules/semver": { "version": "6.3.1", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", @@ -397,20 +388,6 @@ "@babel/types": "^7.13.0" } }, - "node_modules/@babel/highlight": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.5.tgz", - "integrity": "sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==", - "dev": true, - "dependencies": { - "@babel/helper-validator-identifier": "^7.14.5", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/parser": { "version": "7.13.13", "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.13.13.tgz", @@ -445,15 +422,6 @@ "@babel/types": "^7.12.13" } }, - "node_modules/@babel/template/node_modules/@babel/code-frame": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.13.tgz", - "integrity": "sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==", - "dev": true, - "dependencies": { - "@babel/highlight": "^7.12.13" - } - }, "node_modules/@babel/traverse": { "version": "7.24.1", "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.24.1.tgz", @@ -2111,11 +2079,11 @@ } }, "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dependencies": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" }, "engines": { "node": ">=8" @@ -4200,9 +4168,9 @@ } }, "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dependencies": { "to-regex-range": "^5.0.1" }, @@ -6052,12 +6020,12 @@ } }, "node_modules/micromatch": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", - "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "dependencies": { - "braces": "^3.0.1", - "picomatch": "^2.2.3" + "braces": "^3.0.3", + "picomatch": "^2.3.1" }, "engines": { "node": ">=8.6" @@ -9299,15 +9267,6 @@ "source-map": "^0.5.0" }, "dependencies": { - "@babel/code-frame": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.13.tgz", - "integrity": "sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==", - "dev": true, - "requires": { - "@babel/highlight": "^7.12.13" - } - }, "semver": { "version": "6.3.1", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", @@ -9497,17 +9456,6 @@ "@babel/types": "^7.13.0" } }, - "@babel/highlight": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.5.tgz", - "integrity": "sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==", - "dev": true, - "requires": { - "@babel/helper-validator-identifier": "^7.14.5", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - } - }, "@babel/parser": { "version": "7.13.13", "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.13.13.tgz", @@ -9531,17 +9479,6 @@ "@babel/code-frame": "^7.12.13", "@babel/parser": "^7.12.13", "@babel/types": "^7.12.13" - }, - "dependencies": { - "@babel/code-frame": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.13.tgz", - "integrity": "sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==", - "dev": true, - "requires": { - "@babel/highlight": "^7.12.13" - } - } } }, "@babel/traverse": { @@ -10770,11 +10707,11 @@ } }, "braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "requires": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" } }, "brotli": { @@ -12346,9 +12283,9 @@ } }, "fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "requires": { "to-regex-range": "^5.0.1" } @@ -13675,12 +13612,12 @@ "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==" }, "micromatch": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", - "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "requires": { - "braces": "^3.0.1", - "picomatch": "^2.2.3" + "braces": "^3.0.3", + "picomatch": "^2.3.1" } }, "mime-db": { From 921a58618a21a18934aec6fae6efc52b052c0544 Mon Sep 17 00:00:00 2001 From: Bronley Plumb Date: Thu, 5 Sep 2024 10:02:23 -0400 Subject: [PATCH 4/6] Update changelog for v0.67.6 --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cd2787328..0bc1643a5 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.67.6](https://github.com/rokucommunity/brighterscript/compare/v0.67.5...v0.67.6) - 2024-09-05 +### Added + - support for `roIntrinsicDouble` ([#1291](https://github.com/rokucommunity/brighterscript/pull/1291)) + - support for resolving `sourceRoot` at time of config load ([#1290](https://github.com/rokucommunity/brighterscript/pull/1290)) +### Changed + - document plugin naming convention ([#1284](https://github.com/rokucommunity/brighterscript/pull/1284)) + + + ## [0.67.5](https://github.com/rokucommunity/brighterscript/compare/v0.67.4...v0.67.5) - 2024-07-31 ### Fixed - templatestring support for `annotation.getArguments()` ([#1264](https://github.com/rokucommunity/brighterscript/pull/1264)) From 27aeea3d3affb446905254e425d8b4bad56e2ac5 Mon Sep 17 00:00:00 2001 From: Bronley Plumb Date: Thu, 5 Sep 2024 10:03:12 -0400 Subject: [PATCH 5/6] 0.67.6 --- 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 6226e3b38..ffd1a6ed3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "brighterscript", - "version": "0.67.5", + "version": "0.67.6", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "brighterscript", - "version": "0.67.5", + "version": "0.67.6", "license": "MIT", "dependencies": { "@rokucommunity/bslib": "^0.1.1", diff --git a/package.json b/package.json index 3960b5386..ea7634dac 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "brighterscript", - "version": "0.67.5", + "version": "0.67.6", "description": "A superset of Roku's BrightScript language.", "scripts": { "preversion": "npm run build && npm run lint && npm run test", From 56dcaaa63202e167c674812c32fb9e74d29fa8ba Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 6 Sep 2024 07:27:06 -0400 Subject: [PATCH 6/6] Bump micromatch from 4.0.5 to 4.0.8 in /benchmarks (#1295) Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8. - [Release notes](https://github.com/micromatch/micromatch/releases) - [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md) - [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8) --- updated-dependencies: - dependency-name: micromatch dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Bronley Plumb --- benchmarks/package-lock.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/benchmarks/package-lock.json b/benchmarks/package-lock.json index 70f50e29c..f6da3da17 100644 --- a/benchmarks/package-lock.json +++ b/benchmarks/package-lock.json @@ -1172,11 +1172,11 @@ } }, "node_modules/micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "dependencies": { - "braces": "^3.0.2", + "braces": "^3.0.3", "picomatch": "^2.3.1" }, "engines": { @@ -3085,11 +3085,11 @@ "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==" }, "micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "requires": { - "braces": "^3.0.2", + "braces": "^3.0.3", "picomatch": "^2.3.1" } },