Skip to content

Commit

Permalink
Upgrade deps
Browse files Browse the repository at this point in the history
  • Loading branch information
surol committed Nov 23, 2023
1 parent f9871c0 commit 143682e
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 12 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,24 +82,24 @@
"@run-z/eslint-config": "^3.5.0",
"@run-z/prettier-config": "^2.0.0",
"@run-z/project-config": "^0.20.1",
"@swc/core": "^1.3.92",
"@swc/core": "^1.3.99",
"@swc/jest": "^0.2.29",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"esgen": "^0.2.11",
"eslint": "^8.51.0",
"eslint-plugin-jest": "^27.4.2",
"eslint": "^8.54.0",
"eslint-plugin-jest": "^27.6.0",
"expect": "^29.7.0",
"jest": "^29.7.0",
"jest-junit": "^16.0.0",
"jest-mock": "^29.7.0",
"prettier": "^2.8.8",
"prettier-eslint-cli": "^7.1.0",
"rollup": "^4.0.2",
"rollup": "^4.5.1",
"run-z": "^2.0.0",
"ts-jest": "^29.1.1",
"tslib": "^2.6.2",
"typedoc": "^0.25.1",
"typedoc": "^0.25.3",
"typescript": "~5.2.2"
},
"imports": {
Expand Down
1 change: 1 addition & 0 deletions src/compiler/rx/ucrx-lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export abstract class UcrxLib {

abstract ucrxClassFor<T, TSchema extends UcSchema<T> = UcSchema<T>>(schema: TSchema): UcrxClass;

/* istanbul ignore next */
ucrxProtoFor<T, TSchema extends UcSchema<T> = UcSchema<T>>(
schema: TSchema,
): UcrxProto<T, TSchema> | undefined {
Expand Down
2 changes: 1 addition & 1 deletion src/compiler/rx/ucrx.class.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export abstract class UcrxClass<
readonly #methodMods = new Map<UcrxMethod<EsSignature.Args, any>, unknown[]>();
#supportedTypes?: ReadonlySet<string>;
#associations?: Map<UcrxClass.Association<unknown, TArgs, T, TSchema, this>, unknown>;
#lib: UcrxLib;
readonly #lib: UcrxLib;

constructor(init: UcrxClass.Init<TArgs, T, TSchema>) {
const { lib, schema, typeName = ucSchemaTypeSymbol(schema), declare = { at: 'bundle' } } = init;
Expand Down
2 changes: 1 addition & 1 deletion src/compiler/serialization/ucs-function.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export class UcsFunction<out T = unknown, out TSchema extends UcSchema<T> = UcSc
code
.line(
writer.const({
value: () => (this.#createWriter?.(format) ?? UcsFunction$createWriter)(
value: /* istanbul ignore next */ () => (this.#createWriter?.(format) ?? UcsFunction$createWriter)(
{ stream, options },
this,
),
Expand Down
2 changes: 1 addition & 1 deletion src/deserializer/impl/ucrx-handle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { UcdReader } from '../ucd-reader.js';

export class UcrxHandle implements UcrxContext {

#reader: UcdReader;
readonly #reader: UcdReader;
#rx: Ucrx;
#_reject: ((rejection: UcRejection) => 0) | undefined;
#meta: UcMeta.Mutable | undefined;
Expand Down
1 change: 1 addition & 0 deletions src/schema/uc-bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*/
export declare abstract class UcBundle {

// eslint-disable-next-line @typescript-eslint/prefer-readonly
#private;

readonly config: UcBundleConfig;
Expand Down
1 change: 1 addition & 0 deletions src/serializer/ucs-memory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ class UcsMemoryBlock {
free(size: number): boolean {
this.#free += size;

/* istanbul ignore next */
if (this.#free < this.#reserved) {
// Some space is still used.
this.#moreAvailable?.();
Expand Down
4 changes: 2 additions & 2 deletions src/syntax/formats/json/uc-json.lexer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
*/
export class UcJSONLexer implements UcLexer {

#state: UcJSON$State;
readonly #state: UcJSON$State;

/**
* Constructs JSON lexer.
Expand All @@ -40,7 +40,7 @@ class UcJSON$State {
data = '';
num = 0;
#strategy: UcJSON$Strategy = UcJSON$TopLevel;
#stack: UcJSON$Strategy[] = [];
readonly #stack: UcJSON$Strategy[] = [];

constructor(readonly emit: (this: void, token: UcToken) => void) {}

Expand Down

0 comments on commit 143682e

Please sign in to comment.