Skip to content
Merged
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
1,315 changes: 362 additions & 953 deletions package-lock.json

Large diffs are not rendered by default.

19 changes: 9 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,33 +44,32 @@
"@eslint/js": "10.0.1",
"@jest/globals": "30.3.0",
"@rollup/plugin-terser": "1.0.0",
"@stryker-mutator/core": "9.6.0",
"@stryker-mutator/jest-runner": "9.6.0",
"@stryker-mutator/core": "9.6.1",
"@stryker-mutator/jest-runner": "9.6.1",
"@stylistic/eslint-plugin": "5.10.0",
"@types/eslint__js": "8.42.3",
"@types/jest": "30.0.0",
"@types/node": "22.18.13",
"barrelsby": "2.8.1",
"eslint": "10.2.0",
"eslint": "10.2.1",
"eslint-plugin-array-func": "5.1.1",
"eslint-plugin-jest": "29.15.2",
"eslint-plugin-jsdoc": "62.9.0",
"eslint-plugin-tsdoc": "0.5.2",
"eslint-plugin-unicorn": "64.0.0",
"globals": "17.4.0",
"globals": "17.5.0",
"husky": "9.1.7",
"interacto-nono": "0.6.0",
"jest": "30.3.0",
"jest-environment-jsdom": "30.3.0",
"jest-mock-extended": "4.0.0",
"rollup": "4.60.1",
"jest-mock-extended": "4.0.1",
"rollup": "4.60.2",
"rollup-plugin-dts": "6.4.1",
"rollup-plugin-esbuild": "6.2.1",
"ts-jest": "29.4.9",
"typedoc": "0.28.18",
"typedoc": "0.28.19",
"typescript": "5.9.3",
"typescript-eslint": "8.58.1",
"@typescript/native-preview": "^7.0.0-dev.20260409.1"
"typescript-eslint": "8.59.0",
"@typescript/native-preview": "^7.0.0-dev.20260420.1"
},
"scripts": {
"package": "npm run pre-build && npm run build && npm run doc",
Expand Down
2 changes: 1 addition & 1 deletion src/impl/binding/BindingsImpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export class BindingsImpl<H extends LinearHistoryBase> extends Bindings<H> {

public nodeBinder<A>(accInit?: A): BaseUpdateBinder {
return new UpdateBinder<CommandBase, Interaction<object>, A>(this.cmdhistory,
this.logger, this.observer, undefined, accInit) as BaseUpdateBinder;
this.logger, this.observer, undefined, accInit);
}

public buttonBinder<A>(accInit?: A): PartialButtonTypedBinder<A> {
Expand Down
11 changes: 5 additions & 6 deletions test/fsm/OutputStateImpl.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import {OutputStateBase} from "../../src/impl/fsm/OutputStateBase";
import {StdState} from "../../src/impl/fsm/StdState";
import {beforeEach, describe, expect, test} from "@jest/globals";
import {mock} from "jest-mock-extended";
import type {FSM} from "../../src/api/fsm/FSM";
import type {InputState} from "../../src/api/fsm/InputState";
import type {OutputState} from "../../src/api/fsm/OutputState";
import type {Transition} from "../../src/api/fsm/Transition";
Expand Down Expand Up @@ -76,7 +75,7 @@ describe("using an output state", () => {
"uninstall": () => {},
"name": "foo",
"process": () => false,
"fsm": fsm as FSM,
fsm,
"transitions": new Array<Transition<Event>>(),
"addTransition": () => {},
"checkStartingState": () => false,
Expand All @@ -91,7 +90,7 @@ describe("using an output state", () => {
"uninstall": () => {},
"name": "foo",
"process": () => false,
"fsm": fsm as FSM,
fsm,
"transitions": new Array<Transition<Event>>(),
"exit": () => {},
"checkStartingState": () => false,
Expand All @@ -106,7 +105,7 @@ describe("using an output state", () => {
"uninstall": () => {},
"name": "foo",
"addTransition": () => {},
"fsm": fsm as FSM,
fsm,
"transitions": new Array<Transition<Event>>(),
"exit": () => {},
"checkStartingState": () => false,
Expand All @@ -121,7 +120,7 @@ describe("using an output state", () => {
"uninstall": () => {},
"name": "foo",
"addTransition": () => {},
"fsm": fsm as FSM,
fsm,
"process": () => false,
"exit": () => {},
"checkStartingState": () => false,
Expand All @@ -135,7 +134,7 @@ describe("using an output state", () => {
"uninstall": () => {},
"name": "foo",
"addTransition": () => {},
"fsm": fsm as FSM,
fsm,
"transitions": new Array<Transition<Event>>(),
"exit": () => {},
"checkStartingState": () => false,
Expand Down
2 changes: 1 addition & 1 deletion test/interaction/InteractionBase.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ describe("using a base interaction", () => {
});

test("throttle with a single event > timeout", async() => {
interaction.processEvent(undefined as never as Event);
interaction.processEvent(undefined as never);
jest.runAllTimers();
await flushPromises();

Expand Down
2 changes: 1 addition & 1 deletion test/interaction/KeyDataImpl.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe("using a key data", () => {
"timeStamp": 0,
"target": null,
"currentTarget": null
} as KeyData;
};

defaultData = new KeyDataImpl();
defaultData.copy({
Expand Down
2 changes: 1 addition & 1 deletion test/interaction/PointDataImpl.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ describe("using a point data", () => {
"timeStamp": 17,
"target": new EventTarget(),
"currentTarget": new EventTarget()
} as PointData;
};
defaultData = new PointDataImpl();
defaultData.copy({
"button": 0,
Expand Down
2 changes: 1 addition & 1 deletion test/interaction/WheelDataImpl.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ describe("using a wheel data", () => {
"deltaY": 19,
"deltaZ": 20,
"deltaMode": 21
} as WheelData;
};
defaultData = new WheelDataImpl();
defaultData.copy({
"button": 0,
Expand Down
Loading