Update immutable from 4.0.0-rc.12 to ^4.3.8

- Update immutable dependency to stable v4.3.8
- Add type assertions for getIn calls that now return unknown in v4 stable
- Add skipLibCheck to tsconfig.json for @nteract and @octokit .d.ts compat
- Add patch-package patch for @nteract/commutable .ts source files

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Jade Welton
2026-05-01 11:17:23 -07:00
parent 4e8410cd66
commit bae31897f6
7 changed files with 809 additions and 783 deletions
@@ -159,7 +159,7 @@ export const makeMapStateToProps = (
const cell = selectors.notebook.cellById(model, { id });
if (cell) {
outputs = cell.get("outputs", Immutable.List());
hidden = cell.cell_type === "code" && cell.getIn(["metadata", "jupyter", "outputs_hidden"]);
hidden = cell.cell_type === "code" && (cell.getIn(["metadata", "jupyter", "outputs_hidden"]) as boolean);
expanded = cell.cell_type === "code" && cell.getIn(["metadata", "collapsed"]) === false;
}
}