(core) another bundle of dependabot suggestions

Summary:
Version changes suggested by dependabot for security issues that
may or may not affect us (it is easier to apply the changes than
to figure out if the issues are relevant).

 * understore 1.12.1
 * ini 1.3.7, 1.3.8
 * electron 19.0.9
 * js-yaml 3.13.1, 3.14.1
 * highlight.js 10.7.3
 * file-type 16.5.4

Test Plan: existing tests pass

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D3629
This commit is contained in:
Paul Fitzpatrick
2022-09-12 09:34:28 -04:00
parent 81c623109f
commit 1a091f1dd5
3 changed files with 233 additions and 199 deletions

View File

@@ -5,7 +5,7 @@ import {dom, Observable} from 'grainjs';
// Rather than require the whole of highlight.js, require just the core with the one language we
// need, to keep our bundle smaller and the build faster.
const hljs = require('highlight.js/lib/highlight');
const hljs = require('highlight.js/lib/core');
hljs.registerLanguage('python', require('highlight.js/lib/languages/python'));
export class CodeEditorPanel extends DisposableWithEvents {