mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Upgrade TypeScript to 5.9 (#30433)
GitOrigin-RevId: 7b11f258c0188f69fabd8fd0da709e0979fc8a4a
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
"lodash": "^4.17.21"
|
"lodash": "^4.17.21"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@typescript-eslint/parser": "^8.30.1"
|
"@typescript-eslint/parser": "^8.50.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "node rules.test.js"
|
"test": "node rules.test.js"
|
||||||
|
|||||||
697
package-lock.json
generated
697
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -8,8 +8,8 @@
|
|||||||
"@types/chai": "^4.3.0",
|
"@types/chai": "^4.3.0",
|
||||||
"@types/chai-as-promised": "^7.1.8",
|
"@types/chai-as-promised": "^7.1.8",
|
||||||
"@types/mocha": "^10.0.6",
|
"@types/mocha": "^10.0.6",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.30.1",
|
"@typescript-eslint/eslint-plugin": "8.50.0",
|
||||||
"@typescript-eslint/parser": "^8.30.1",
|
"@typescript-eslint/parser": "^8.50.0",
|
||||||
"@vitest/eslint-plugin": "^1.5.0",
|
"@vitest/eslint-plugin": "^1.5.0",
|
||||||
"eslint": "^8.15.0",
|
"eslint": "^8.15.0",
|
||||||
"eslint-config-prettier": "^8.5.0",
|
"eslint-config-prettier": "^8.5.0",
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
"eslint-plugin-unicorn": "^56.0.0",
|
"eslint-plugin-unicorn": "^56.0.0",
|
||||||
"prettier": "3.6.2",
|
"prettier": "3.6.2",
|
||||||
"prettier-plugin-groovy": "0.2.1",
|
"prettier-plugin-groovy": "0.2.1",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.9.3"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"npm": "11.4.2"
|
"npm": "11.4.2"
|
||||||
|
|||||||
@@ -406,7 +406,7 @@
|
|||||||
"to-string-loader": "^1.2.0",
|
"to-string-loader": "^1.2.0",
|
||||||
"ts-loader": "^9.5.2",
|
"ts-loader": "^9.5.2",
|
||||||
"tty-browserify": "^0.0.1",
|
"tty-browserify": "^0.0.1",
|
||||||
"typescript": "^5.8.3",
|
"typescript": "^5.9.3",
|
||||||
"use-stick-to-bottom": "^1.1.1",
|
"use-stick-to-bottom": "^1.1.1",
|
||||||
"uuid": "^9.0.1",
|
"uuid": "^9.0.1",
|
||||||
"vitest": "^4.0.0",
|
"vitest": "^4.0.0",
|
||||||
|
|||||||
@@ -813,7 +813,7 @@ test test test</p>
|
|||||||
it('treats a pasted image as a figure even if there is HTML', function () {
|
it('treats a pasted image as a figure even if there is HTML', function () {
|
||||||
mountEditor()
|
mountEditor()
|
||||||
|
|
||||||
cy.fixture<Uint8Array>('images/gradient.png').then(image => {
|
cy.fixture<ArrayBuffer>('images/gradient.png').then(image => {
|
||||||
const file = new File([image], 'gradient.png', { type: 'image/png' })
|
const file = new File([image], 'gradient.png', { type: 'image/png' })
|
||||||
const html = `<meta charset="utf-8"><img src="https://example.com/gradient.png" alt="gradient">`
|
const html = `<meta charset="utf-8"><img src="https://example.com/gradient.png" alt="gradient">`
|
||||||
|
|
||||||
@@ -830,7 +830,7 @@ test test test</p>
|
|||||||
it('does not treat a pasted image as a figure if there is Office HTML', function () {
|
it('does not treat a pasted image as a figure if there is Office HTML', function () {
|
||||||
mountEditor()
|
mountEditor()
|
||||||
|
|
||||||
cy.fixture<Uint8Array>('images/gradient.png').then(image => {
|
cy.fixture<ArrayBuffer>('images/gradient.png').then(image => {
|
||||||
const file = new File([image], 'gradient.png', { type: 'image/png' })
|
const file = new File([image], 'gradient.png', { type: 'image/png' })
|
||||||
const html = `<meta charset="utf-8"><meta name="ProgId" content="MS.Word"><img src="https://example.com/gradient.png" alt="gradient">`
|
const html = `<meta charset="utf-8"><meta name="ProgId" content="MS.Word"><img src="https://example.com/gradient.png" alt="gradient">`
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user