Upgrade CodeMirror dependencies (#10483)

* Upgrade CodeMirror dependencies
* Re-enable emptyLineFiller extension

GitOrigin-RevId: 86291af24e1669b8509bad5a799e18c2a176ae87
This commit is contained in:
Alf Eaton 2022-11-17 13:06:55 +00:00 committed by Copybot
parent a3e1eaa0a6
commit a619225872
2 changed files with 68 additions and 68 deletions

122
package-lock.json generated
View file

@ -3744,13 +3744,13 @@
"dev": true "dev": true
}, },
"node_modules/@codemirror/autocomplete": { "node_modules/@codemirror/autocomplete": {
"version": "6.3.0", "version": "6.3.2",
"resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.3.0.tgz", "resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.3.2.tgz",
"integrity": "sha512-4jEvh3AjJZTDKazd10J6ZsCIqaYxDMCeua5ouQxY8hlFIml+nr7le0SgBhT3SIytFBmdzPK3AUhXGuW3T79nVg==", "integrity": "sha512-+VzxrHWkuvSSt0fw4I57SULo/NMrLnNgm6JHrkbIYfDw9jZJNTruCwkv32TCqSeC8xIXhYWMuxawwr/xOoHr8w==",
"dependencies": { "dependencies": {
"@codemirror/language": "^6.0.0", "@codemirror/language": "^6.0.0",
"@codemirror/state": "^6.0.0", "@codemirror/state": "^6.0.0",
"@codemirror/view": "^6.0.0", "@codemirror/view": "^6.5.0",
"@lezer/common": "^1.0.0" "@lezer/common": "^1.0.0"
}, },
"peerDependencies": { "peerDependencies": {
@ -3811,9 +3811,9 @@
} }
}, },
"node_modules/@codemirror/lang-markdown": { "node_modules/@codemirror/lang-markdown": {
"version": "6.0.4", "version": "6.0.5",
"resolved": "https://registry.npmjs.org/@codemirror/lang-markdown/-/lang-markdown-6.0.4.tgz", "resolved": "https://registry.npmjs.org/@codemirror/lang-markdown/-/lang-markdown-6.0.5.tgz",
"integrity": "sha512-w50etMCYnm4btsVwOkREVc73sHk2+ZXA0q0nb7hNhjQ/NeEix9jRa63l/FUgrsfG2jjuRqsXTNjGdmmcorkTBQ==", "integrity": "sha512-qH0THRYc2M7pIJoAp6jstXZkv8ZMVhNaBm7Bs4+0SLHhHlwX53txFy98AcPwrfq0Sh8Zi6RAuj9j/GyL8E1MKw==",
"dependencies": { "dependencies": {
"@codemirror/lang-html": "^6.0.0", "@codemirror/lang-html": "^6.0.0",
"@codemirror/language": "^6.3.0", "@codemirror/language": "^6.3.0",
@ -3824,9 +3824,9 @@
} }
}, },
"node_modules/@codemirror/language": { "node_modules/@codemirror/language": {
"version": "6.3.0", "version": "6.3.1",
"resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.3.0.tgz", "resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.3.1.tgz",
"integrity": "sha512-6jOE5DEt6sKD46SXhn3xPbBehn+l48ACcA6Uxs2k+E2YNH9XGF5WdGMTYr2DlggfK4h0QZBK6zEb5S7lkTriWA==", "integrity": "sha512-MK+G1QKaGfSEUg9YEFaBkMBI6j1ge4VMBPZv9fDYotw7w695c42x5Ba1mmwBkesYnzYFBfte6Hh9TDcKa6xORQ==",
"dependencies": { "dependencies": {
"@codemirror/state": "^6.0.0", "@codemirror/state": "^6.0.0",
"@codemirror/view": "^6.0.0", "@codemirror/view": "^6.0.0",
@ -3837,9 +3837,9 @@
} }
}, },
"node_modules/@codemirror/lint": { "node_modules/@codemirror/lint": {
"version": "6.0.0", "version": "6.1.0",
"resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.0.0.tgz", "resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.1.0.tgz",
"integrity": "sha512-nUUXcJW1Xp54kNs+a1ToPLK8MadO0rMTnJB8Zk4Z8gBdrN0kqV7uvUraU/T2yqg+grDNR38Vmy/MrhQN/RgwiA==", "integrity": "sha512-mdvDQrjRmYPvQ3WrzF6Ewaao+NWERYtpthJvoQ3tK3t/44Ynhk8ZGjTSL9jMEv8CgSMogmt75X8ceOZRDSXHtQ==",
"dependencies": { "dependencies": {
"@codemirror/state": "^6.0.0", "@codemirror/state": "^6.0.0",
"@codemirror/view": "^6.0.0", "@codemirror/view": "^6.0.0",
@ -3847,9 +3847,9 @@
} }
}, },
"node_modules/@codemirror/search": { "node_modules/@codemirror/search": {
"version": "6.2.2", "version": "6.2.3",
"resolved": "https://registry.npmjs.org/@codemirror/search/-/search-6.2.2.tgz", "resolved": "https://registry.npmjs.org/@codemirror/search/-/search-6.2.3.tgz",
"integrity": "sha512-2pWY599zXk+lSoJ2iv9EuTO4gB7lhgBPLPwFb/zTbimFH4NmZSaKzJSV51okjABZ7/Rj0DYy5klWbIgaJh2LoQ==", "integrity": "sha512-V9n9233lopQhB1dyjsBK2Wc1i+8hcCqxl1wQ46c5HWWLePoe4FluV3TGHoZ04rBRlGjNyz9DTmpJErig8UE4jw==",
"dependencies": { "dependencies": {
"@codemirror/state": "^6.0.0", "@codemirror/state": "^6.0.0",
"@codemirror/view": "^6.0.0", "@codemirror/view": "^6.0.0",
@ -3857,16 +3857,16 @@
} }
}, },
"node_modules/@codemirror/state": { "node_modules/@codemirror/state": {
"version": "6.1.2", "version": "6.1.4",
"resolved": "https://registry.npmjs.org/@codemirror/state/-/state-6.1.2.tgz", "resolved": "https://registry.npmjs.org/@codemirror/state/-/state-6.1.4.tgz",
"integrity": "sha512-Mxff85Hp5va+zuj+H748KbubXjrinX/k28lj43H14T2D0+4kuvEFIEIO7hCEcvBT8ubZyIelt9yGOjj2MWOEQA==" "integrity": "sha512-g+3OJuRylV5qsXuuhrc6Cvs1NQluNioepYMM2fhnpYkNk7NgX+j0AFuevKSVKzTDmDyt9+Puju+zPdHNECzCNQ=="
}, },
"node_modules/@codemirror/view": { "node_modules/@codemirror/view": {
"version": "6.4.1", "version": "6.5.1",
"resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.4.1.tgz", "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.5.1.tgz",
"integrity": "sha512-QdBpD6E5HYx6YFXXhqwrRyQ83w7CxWZnchM4QpWBVkkmV7/oJT8N+yz2KAi2iRaLObc/aOf7C2RCQTO2yswF8A==", "integrity": "sha512-xBKP8N3AXOs06VcKvIuvIQoUlGs7Hb78ftJWahLaRX909jKPMgGxR5XjvrawzTTZMSTU3DzdjDNPwG6fPM/ypQ==",
"dependencies": { "dependencies": {
"@codemirror/state": "^6.0.0", "@codemirror/state": "^6.1.4",
"style-mod": "^4.0.0", "style-mod": "^4.0.0",
"w3c-keyname": "^2.2.4" "w3c-keyname": "^2.2.4"
} }
@ -38632,14 +38632,14 @@
"@babel/preset-env": "^7.14.5", "@babel/preset-env": "^7.14.5",
"@babel/preset-react": "^7.14.5", "@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.16.0", "@babel/preset-typescript": "^7.16.0",
"@codemirror/autocomplete": "^6.3.0", "@codemirror/autocomplete": "^6.3.2",
"@codemirror/commands": "^6.1.2", "@codemirror/commands": "^6.1.2",
"@codemirror/lang-markdown": "^6.0.4", "@codemirror/lang-markdown": "^6.0.5",
"@codemirror/language": "^6.3.0", "@codemirror/language": "^6.3.1",
"@codemirror/lint": "^6.0.0", "@codemirror/lint": "^6.1.0",
"@codemirror/search": "^6.2.2", "@codemirror/search": "^6.2.3",
"@codemirror/state": "^6.1.2", "@codemirror/state": "^6.1.4",
"@codemirror/view": "^6.4.1", "@codemirror/view": "^6.5.1",
"@lezer/common": "^1.0.1", "@lezer/common": "^1.0.1",
"@lezer/highlight": "^1.1.2", "@lezer/highlight": "^1.1.2",
"@lezer/lr": "^1.2.4", "@lezer/lr": "^1.2.4",
@ -43007,13 +43007,13 @@
"dev": true "dev": true
}, },
"@codemirror/autocomplete": { "@codemirror/autocomplete": {
"version": "6.3.0", "version": "6.3.2",
"resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.3.0.tgz", "resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.3.2.tgz",
"integrity": "sha512-4jEvh3AjJZTDKazd10J6ZsCIqaYxDMCeua5ouQxY8hlFIml+nr7le0SgBhT3SIytFBmdzPK3AUhXGuW3T79nVg==", "integrity": "sha512-+VzxrHWkuvSSt0fw4I57SULo/NMrLnNgm6JHrkbIYfDw9jZJNTruCwkv32TCqSeC8xIXhYWMuxawwr/xOoHr8w==",
"requires": { "requires": {
"@codemirror/language": "^6.0.0", "@codemirror/language": "^6.0.0",
"@codemirror/state": "^6.0.0", "@codemirror/state": "^6.0.0",
"@codemirror/view": "^6.0.0", "@codemirror/view": "^6.5.0",
"@lezer/common": "^1.0.0" "@lezer/common": "^1.0.0"
} }
}, },
@ -43068,9 +43068,9 @@
} }
}, },
"@codemirror/lang-markdown": { "@codemirror/lang-markdown": {
"version": "6.0.4", "version": "6.0.5",
"resolved": "https://registry.npmjs.org/@codemirror/lang-markdown/-/lang-markdown-6.0.4.tgz", "resolved": "https://registry.npmjs.org/@codemirror/lang-markdown/-/lang-markdown-6.0.5.tgz",
"integrity": "sha512-w50etMCYnm4btsVwOkREVc73sHk2+ZXA0q0nb7hNhjQ/NeEix9jRa63l/FUgrsfG2jjuRqsXTNjGdmmcorkTBQ==", "integrity": "sha512-qH0THRYc2M7pIJoAp6jstXZkv8ZMVhNaBm7Bs4+0SLHhHlwX53txFy98AcPwrfq0Sh8Zi6RAuj9j/GyL8E1MKw==",
"requires": { "requires": {
"@codemirror/lang-html": "^6.0.0", "@codemirror/lang-html": "^6.0.0",
"@codemirror/language": "^6.3.0", "@codemirror/language": "^6.3.0",
@ -43081,9 +43081,9 @@
} }
}, },
"@codemirror/language": { "@codemirror/language": {
"version": "6.3.0", "version": "6.3.1",
"resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.3.0.tgz", "resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.3.1.tgz",
"integrity": "sha512-6jOE5DEt6sKD46SXhn3xPbBehn+l48ACcA6Uxs2k+E2YNH9XGF5WdGMTYr2DlggfK4h0QZBK6zEb5S7lkTriWA==", "integrity": "sha512-MK+G1QKaGfSEUg9YEFaBkMBI6j1ge4VMBPZv9fDYotw7w695c42x5Ba1mmwBkesYnzYFBfte6Hh9TDcKa6xORQ==",
"requires": { "requires": {
"@codemirror/state": "^6.0.0", "@codemirror/state": "^6.0.0",
"@codemirror/view": "^6.0.0", "@codemirror/view": "^6.0.0",
@ -43094,9 +43094,9 @@
} }
}, },
"@codemirror/lint": { "@codemirror/lint": {
"version": "6.0.0", "version": "6.1.0",
"resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.0.0.tgz", "resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.1.0.tgz",
"integrity": "sha512-nUUXcJW1Xp54kNs+a1ToPLK8MadO0rMTnJB8Zk4Z8gBdrN0kqV7uvUraU/T2yqg+grDNR38Vmy/MrhQN/RgwiA==", "integrity": "sha512-mdvDQrjRmYPvQ3WrzF6Ewaao+NWERYtpthJvoQ3tK3t/44Ynhk8ZGjTSL9jMEv8CgSMogmt75X8ceOZRDSXHtQ==",
"requires": { "requires": {
"@codemirror/state": "^6.0.0", "@codemirror/state": "^6.0.0",
"@codemirror/view": "^6.0.0", "@codemirror/view": "^6.0.0",
@ -43104,9 +43104,9 @@
} }
}, },
"@codemirror/search": { "@codemirror/search": {
"version": "6.2.2", "version": "6.2.3",
"resolved": "https://registry.npmjs.org/@codemirror/search/-/search-6.2.2.tgz", "resolved": "https://registry.npmjs.org/@codemirror/search/-/search-6.2.3.tgz",
"integrity": "sha512-2pWY599zXk+lSoJ2iv9EuTO4gB7lhgBPLPwFb/zTbimFH4NmZSaKzJSV51okjABZ7/Rj0DYy5klWbIgaJh2LoQ==", "integrity": "sha512-V9n9233lopQhB1dyjsBK2Wc1i+8hcCqxl1wQ46c5HWWLePoe4FluV3TGHoZ04rBRlGjNyz9DTmpJErig8UE4jw==",
"requires": { "requires": {
"@codemirror/state": "^6.0.0", "@codemirror/state": "^6.0.0",
"@codemirror/view": "^6.0.0", "@codemirror/view": "^6.0.0",
@ -43114,16 +43114,16 @@
} }
}, },
"@codemirror/state": { "@codemirror/state": {
"version": "6.1.2", "version": "6.1.4",
"resolved": "https://registry.npmjs.org/@codemirror/state/-/state-6.1.2.tgz", "resolved": "https://registry.npmjs.org/@codemirror/state/-/state-6.1.4.tgz",
"integrity": "sha512-Mxff85Hp5va+zuj+H748KbubXjrinX/k28lj43H14T2D0+4kuvEFIEIO7hCEcvBT8ubZyIelt9yGOjj2MWOEQA==" "integrity": "sha512-g+3OJuRylV5qsXuuhrc6Cvs1NQluNioepYMM2fhnpYkNk7NgX+j0AFuevKSVKzTDmDyt9+Puju+zPdHNECzCNQ=="
}, },
"@codemirror/view": { "@codemirror/view": {
"version": "6.4.1", "version": "6.5.1",
"resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.4.1.tgz", "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.5.1.tgz",
"integrity": "sha512-QdBpD6E5HYx6YFXXhqwrRyQ83w7CxWZnchM4QpWBVkkmV7/oJT8N+yz2KAi2iRaLObc/aOf7C2RCQTO2yswF8A==", "integrity": "sha512-xBKP8N3AXOs06VcKvIuvIQoUlGs7Hb78ftJWahLaRX909jKPMgGxR5XjvrawzTTZMSTU3DzdjDNPwG6fPM/ypQ==",
"requires": { "requires": {
"@codemirror/state": "^6.0.0", "@codemirror/state": "^6.1.4",
"style-mod": "^4.0.0", "style-mod": "^4.0.0",
"w3c-keyname": "^2.2.4" "w3c-keyname": "^2.2.4"
} }
@ -48757,14 +48757,14 @@
"@babel/preset-react": "^7.14.5", "@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.16.0", "@babel/preset-typescript": "^7.16.0",
"@babel/register": "^7.14.5", "@babel/register": "^7.14.5",
"@codemirror/autocomplete": "^6.3.0", "@codemirror/autocomplete": "^6.3.2",
"@codemirror/commands": "^6.1.2", "@codemirror/commands": "^6.1.2",
"@codemirror/lang-markdown": "^6.0.4", "@codemirror/lang-markdown": "^6.0.5",
"@codemirror/language": "^6.3.0", "@codemirror/language": "^6.3.1",
"@codemirror/lint": "^6.0.0", "@codemirror/lint": "^6.1.0",
"@codemirror/search": "^6.2.2", "@codemirror/search": "^6.2.3",
"@codemirror/state": "^6.1.2", "@codemirror/state": "^6.1.4",
"@codemirror/view": "^6.4.1", "@codemirror/view": "^6.5.1",
"@cypress/react": "^6.2.0", "@cypress/react": "^6.2.0",
"@juggle/resize-observer": "^3.3.1", "@juggle/resize-observer": "^3.3.1",
"@lezer/common": "^1.0.1", "@lezer/common": "^1.0.1",
@ -65735,7 +65735,7 @@
"knex": "^0.21.17", "knex": "^0.21.17",
"lodash": "^4.17.19", "lodash": "^4.17.19",
"mocha": "^8.4.0", "mocha": "^8.4.0",
"mongodb": "*", "mongodb": "^4.11.0",
"node-fetch": "^2.6.7", "node-fetch": "^2.6.7",
"overleaf-editor-core": "*", "overleaf-editor-core": "*",
"pg": "^8.7.1", "pg": "^8.7.1",

View file

@ -71,14 +71,14 @@
"@babel/preset-env": "^7.14.5", "@babel/preset-env": "^7.14.5",
"@babel/preset-react": "^7.14.5", "@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.16.0", "@babel/preset-typescript": "^7.16.0",
"@codemirror/autocomplete": "^6.3.0", "@codemirror/autocomplete": "^6.3.2",
"@codemirror/commands": "^6.1.2", "@codemirror/commands": "^6.1.2",
"@codemirror/lang-markdown": "^6.0.4", "@codemirror/lang-markdown": "^6.0.5",
"@codemirror/language": "^6.3.0", "@codemirror/language": "^6.3.1",
"@codemirror/lint": "^6.0.0", "@codemirror/lint": "^6.1.0",
"@codemirror/search": "^6.2.2", "@codemirror/search": "^6.2.3",
"@codemirror/state": "^6.1.2", "@codemirror/state": "^6.1.4",
"@codemirror/view": "^6.4.1", "@codemirror/view": "^6.5.1",
"@lezer/common": "^1.0.1", "@lezer/common": "^1.0.1",
"@lezer/highlight": "^1.1.2", "@lezer/highlight": "^1.1.2",
"@lezer/lr": "^1.2.4", "@lezer/lr": "^1.2.4",