mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
* [editor-core] gracefully handle no-op TextOperation * [web] avoid sending sync to pdf requests without a ?file * [validation-tools] log deeper nested violations * [editor-core] fix round trip of EditNoOperation * [web] use custom error for sync to pdf w/o file, fix tests * [validation-tools] include request params in log msg for violation * Revert "[editor-core] gracefully handle no-op TextOperation" This reverts commit c1d37261d5db72b37dbf39428c54edcfb5423f41. * [web] gracefully handle rejected sync to pdf from context menu GitOrigin-RevId: 21de7dc96b23575b0d67b6eb0c68ed9c2f86292b
35 lines
1.1 KiB
JSON
35 lines
1.1 KiB
JSON
{
|
|
"name": "@overleaf/validation-tools",
|
|
"homepage": "www.overleaf.com",
|
|
"description": "Validation tools that can be used in a service.",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/overleaf/overleaf"
|
|
},
|
|
"main": "index.js",
|
|
"license": "AGPL-3.0-only",
|
|
"version": "1.0.0",
|
|
"scripts": {
|
|
"test": "yarn run lint && yarn run types:check && yarn run test:unit",
|
|
"lint": "eslint --cache --cache-location ../../.cache/eslint/ --ext .cjs,.js,.jsx,.mjs,.ts --max-warnings 0 .",
|
|
"lint:fix": "eslint --cache --cache-location ../../.cache/eslint/ --fix --ext .cjs,.js,.jsx,.mjs,.ts .",
|
|
"test:ci": "yarn run test:unit",
|
|
"test:unit": "vitest --config vitest.config.ts",
|
|
"types:check": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@overleaf/o-error": "workspace:*",
|
|
"mongodb": "^6.12.0",
|
|
"zod": "^4.1.8",
|
|
"zod-validation-error": "^4.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@overleaf/logger": "workspace:*",
|
|
"@types/express": "4.17.23",
|
|
"@types/node": "^24.5.2",
|
|
"eslint": "^10.4.0",
|
|
"typescript": "^5.0.4",
|
|
"vitest": "4.1.5"
|
|
}
|
|
}
|