Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HULUROKU-6968 - update to rokucommunity/brs version 0.47.0 #140

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"@types/long": "^4.0.1",
"@types/memory-fs": "^0.3.2",
"@types/xmldoc": "^1.1.5",
"brs": "^0.43.0",
"@rokucommunity/brs": "^0.45.0",
"docsify-cli": "^4.4.2",
"doctoc": "^1.4.0",
"husky": "^4.2.5",
Expand All @@ -73,7 +73,7 @@
"typescript": "^3.9.7"
},
"peerDependencies": {
"brs": "^0.43.0"
"@rokucommunity/brs": "^0.45.0"
},
"lint-staged": {
"./README.md": "doctoc",
Expand Down
2 changes: 1 addition & 1 deletion src/coverage.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { createContext } from "istanbul-lib-report";
import { create as createReport, ReportOptions } from "istanbul-reports";
import { createCoverageMap } from "istanbul-lib-coverage";
import { getCoverageResults } from "brs";
import { getCoverageResults } from "@rokucommunity/brs";

/*
* Generates coverage reports using the given list of reporters.
Expand Down
6 changes: 5 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import { types, ExecuteWithScope, createExecuteWithScope } from "brs";
import {
types,
ExecuteWithScope,
createExecuteWithScope,
} from "@rokucommunity/brs";
import fastGlob from "fast-glob";
import * as path from "path";
import * as c from "ansi-colors";
Expand Down
2 changes: 1 addition & 1 deletion src/reporter/JestReporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
createFailureMessage,
} from "./utils";
import type { Config } from "@jest/types";
import { BrsError } from "brs/types/Error";
import { BrsError } from "@rokucommunity/brs/types/Error";

function isBrsError(error: Error | BrsError): error is BrsError {
let maybeBrsError = error as BrsError;
Expand Down
2 changes: 1 addition & 1 deletion src/runner/JestRunner.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Config } from "@jest/types";
import { ExecuteWithScope, types as BrsTypes } from "brs";
import { ExecuteWithScope, types as BrsTypes } from "@rokucommunity/brs";
import { JestReporter } from "../reporter/JestReporter";
import { TestRunner } from "./TestRunner";

Expand Down
2 changes: 1 addition & 1 deletion src/runner/TestRunner.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as path from "path";
import { types as BrsTypes, ExecuteWithScope } from "brs";
import { types as BrsTypes, ExecuteWithScope } from "@rokucommunity/brs";
import { formatInterpreterError } from "../util";

export class TestRunner {
Expand Down
2 changes: 1 addition & 1 deletion test/reporter/jest-reporter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { PassThrough } from "stream";
import { JestReporter } from "../../src/reporter/JestReporter";
import * as Reporters from "@jest/reporters";
import * as TestResult from "@jest/test-result";
import { BrsError } from "brs/types/Error";
import { BrsError } from "@rokucommunity/brs/types/Error";

jest.mock("@jest/reporters");
let ReportersMock = Reporters as jest.Mocked<typeof Reporters>;
Expand Down
44 changes: 22 additions & 22 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,23 @@
"@nodelib/fs.scandir" "2.1.4"
fastq "^1.6.0"

"@rokucommunity/brs@^0.45.0":
version "0.45.5"
resolved "https://registry.yarnpkg.com/@rokucommunity/brs/-/brs-0.45.5.tgz#4f0bb78aa7c9361913c097787bb143ea35df32db"
integrity sha512-xX+tWVclVPDkus33M4o807VVl6aX2C/nRBoQ9XmKWg6gxGUY9NQVceQIH1DGZpJEE2wSM57gUsaUXXMknY6Bmg==
dependencies:
commander "^2.12.2"
dayjs "^1.11.10"
decompress "^4.2.1"
fast-glob "^3.0.1"
long "^3.2.0"
memory-fs "^0.4.1"
nanomatch "^1.2.13"
p-settle "^2.1.0"
sanitize-filename "^1.6.3"
uuid "^8.3.0"
xmldoc "^1.1.2"

"@sindresorhus/is@^0.14.0":
version "0.14.0"
resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.14.0.tgz#9fb3a3cf3132328151f353de4632e01e52102bea"
Expand Down Expand Up @@ -1144,23 +1161,6 @@ browser-process-hrtime@^1.0.0:
resolved "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz#3c9b4b7d782c8121e56f10106d84c0d0ffc94626"
integrity sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==

brs@^0.43.0:
version "0.43.0"
resolved "https://registry.yarnpkg.com/brs/-/brs-0.43.0.tgz#a56b95d845ff51473558bb723d2512a0cb9b5c46"
integrity sha512-1Wc6be3ZdqUAON2Y5gS6/n8knwj8xP9ZUJ4d2+t++WyDQCfqcjzRerWZgltS50YZWi35uDnnaYKtmoBFXyeihg==
dependencies:
commander "^2.12.2"
decompress "^4.2.1"
fast-glob "^3.0.1"
long "^3.2.0"
luxon "^1.8.3"
memory-fs "^0.4.1"
nanomatch "^1.2.13"
p-settle "^2.1.0"
sanitize-filename "^1.6.3"
uuid "^8.3.0"
xmldoc "^1.1.2"

[email protected]:
version "0.2.6"
resolved "https://registry.yarnpkg.com/bs-logger/-/bs-logger-0.2.6.tgz#eb7d365307a72cf974cc6cda76b68354ad336bd8"
Expand Down Expand Up @@ -1627,6 +1627,11 @@ data-urls@^2.0.0:
whatwg-mimetype "^2.3.0"
whatwg-url "^8.0.0"

dayjs@^1.11.10:
version "1.11.13"
resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.11.13.tgz#92430b0139055c3ebb60150aa13e860a4b5a366c"
integrity sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==

[email protected], debug@^2.1.3, debug@^2.2.0, debug@^2.3.3:
version "2.6.9"
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
Expand Down Expand Up @@ -3927,11 +3932,6 @@ lru-cache@^6.0.0:
dependencies:
yallist "^4.0.0"

luxon@^1.8.3:
version "1.26.0"
resolved "https://registry.yarnpkg.com/luxon/-/luxon-1.26.0.tgz#d3692361fda51473948252061d0f8561df02b578"
integrity sha512-+V5QIQ5f6CDXQpWNICELwjwuHdqeJM1UenlZWx5ujcRMc9venvluCjFb4t5NYLhb6IhkbMVOxzVuOqkgMxee2A==

make-dir@^1.0.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-1.3.0.tgz#79c1033b80515bd6d24ec9933e860ca75ee27f0c"
Expand Down
Loading