Unverified 提交 a6e0ea2f authored 作者: Will Chen's avatar Will Chen 提交者: GitHub

Upgrade oxlint and disable line (#690)

side note: test.only check doesn't work because oxlint hardcodes to find jest https://github.com/oxc-project/oxc/blob/main/crates/oxc_linter/src/utils/jest/parse_jest_fn.rs#L317
上级 14f13c7c
{
"name": "dyad",
"version": "0.13.0-beta.1",
"version": "0.14.0-beta.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "dyad",
"version": "0.13.0-beta.1",
"version": "0.14.0-beta.1",
"license": "MIT",
"dependencies": {
"@ai-sdk/anthropic": "^1.2.8",
......@@ -110,7 +110,7 @@
"happy-dom": "^17.4.4",
"husky": "^9.1.7",
"lint-staged": "^15.5.2",
"oxlint": "^0.16.9",
"oxlint": "^1.8.0",
"prettier": "3.5.3",
"typescript": "^5.8.3",
"vite": "^5.4.17",
......@@ -3697,9 +3697,9 @@
}
},
"node_modules/@oxlint/darwin-arm64": {
"version": "0.16.9",
"resolved": "https://registry.npmjs.org/@oxlint/darwin-arm64/-/darwin-arm64-0.16.9.tgz",
"integrity": "sha512-s8gPacumFNuDQcl0dCRLI0+efbiQrOF984brGrW1i2buJtaMzjYiunaU5TSrbHgnb/omvpFnG4l9g+YHOK/s0A==",
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/@oxlint/darwin-arm64/-/darwin-arm64-1.8.0.tgz",
"integrity": "sha512-1juYJF1xqRNkswzDSN1V44NoZ+O2Mkc9LjbkDB/UErb8dxTqFhCZC3CQR6Em55/tys1FtajXgK3B+ykWnY9HNQ==",
"cpu": [
"arm64"
],
......@@ -3711,9 +3711,9 @@
]
},
"node_modules/@oxlint/darwin-x64": {
"version": "0.16.9",
"resolved": "https://registry.npmjs.org/@oxlint/darwin-x64/-/darwin-x64-0.16.9.tgz",
"integrity": "sha512-QFue9yhfRU+fkbsOmDzCCwDafPR6fnaP/M+Rocp/MMDQ7qvjbB2sj0/xxp/CcvL7aLtFklMeXPR0hCfW3LyrSw==",
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/@oxlint/darwin-x64/-/darwin-x64-1.8.0.tgz",
"integrity": "sha512-5b7J/XE2eGhx3+vw6IFuuL0BbIF3wRzo4SWHVXN9rO3WYq2YpoHToY4C5WMWb8toVZcoJlx4Y1lq3IO2V78zTg==",
"cpu": [
"x64"
],
......@@ -3725,9 +3725,9 @@
]
},
"node_modules/@oxlint/linux-arm64-gnu": {
"version": "0.16.9",
"resolved": "https://registry.npmjs.org/@oxlint/linux-arm64-gnu/-/linux-arm64-gnu-0.16.9.tgz",
"integrity": "sha512-qP/wdlgqLuiW9WDkAsyMN85wQ3nqAQynjRD+1II1QO0yI9N1ZHD6LF9P5fXAqY0eJwcf3emluQMoaeveewtiCg==",
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/@oxlint/linux-arm64-gnu/-/linux-arm64-gnu-1.8.0.tgz",
"integrity": "sha512-pzfk9IZBbYuIYn4sbT//Vox8B8e8hOZPkIQnNAdzhpGtRjV4NYOgNL5/h2QZC+ecmxl8H+Gi9WV6dyKjFrBtcw==",
"cpu": [
"arm64"
],
......@@ -3739,9 +3739,9 @@
]
},
"node_modules/@oxlint/linux-arm64-musl": {
"version": "0.16.9",
"resolved": "https://registry.npmjs.org/@oxlint/linux-arm64-musl/-/linux-arm64-musl-0.16.9.tgz",
"integrity": "sha512-486wn1MIqP4hkHTnuWedTb16X6Zs3ImmmMxqzfYlcemf9kODM6yNlxal6wGvkm7SGRPYrsB/P9S5wgpzmLzKrw==",
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/@oxlint/linux-arm64-musl/-/linux-arm64-musl-1.8.0.tgz",
"integrity": "sha512-6rpaeAG271wbUNM+WeJhdvJDDMwfoenm7rPY304dxnC+fcuR8Q0LSv09dGeNWrsqjjZuDP9R10qR154nysBxFg==",
"cpu": [
"arm64"
],
......@@ -3753,9 +3753,9 @@
]
},
"node_modules/@oxlint/linux-x64-gnu": {
"version": "0.16.9",
"resolved": "https://registry.npmjs.org/@oxlint/linux-x64-gnu/-/linux-x64-gnu-0.16.9.tgz",
"integrity": "sha512-d20zqy4Mimz9CxjIEJdGd6jtyyhpSryff95gNJSTvh/EA4NqvjjlbjxuHt3clNjglRwJWE3kgmUCw9U9oWFcWA==",
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/@oxlint/linux-x64-gnu/-/linux-x64-gnu-1.8.0.tgz",
"integrity": "sha512-qPEF8tKMu+63b58gPfwU3KyJf2z9KyorbrC0yGXFHQLzRPEtrh6bAjf+AzCs3n8WhDR1K6jPgcPT4Sp8bahCyQ==",
"cpu": [
"x64"
],
......@@ -3767,9 +3767,9 @@
]
},
"node_modules/@oxlint/linux-x64-musl": {
"version": "0.16.9",
"resolved": "https://registry.npmjs.org/@oxlint/linux-x64-musl/-/linux-x64-musl-0.16.9.tgz",
"integrity": "sha512-mZLshz99773RMa77YhtsgWbqE7JY4xnYSDecDy+ZkafRb0acqz1Ujiq2l4cE+HnJOGVOMaOpzG0UoQ3ZNkXNAA==",
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/@oxlint/linux-x64-musl/-/linux-x64-musl-1.8.0.tgz",
"integrity": "sha512-JyErk/LsLg/tA3XkHhU8VIxahOdq56L99mbpMFGLTkOQgtnhY2MDAYULVgOuFFX3v6Q02o4mpIR/SwW/tRnZlg==",
"cpu": [
"x64"
],
......@@ -3781,9 +3781,9 @@
]
},
"node_modules/@oxlint/win32-arm64": {
"version": "0.16.9",
"resolved": "https://registry.npmjs.org/@oxlint/win32-arm64/-/win32-arm64-0.16.9.tgz",
"integrity": "sha512-Zp9+0CfTb7ebgvRwDO2F6NVgRtRmxWMdBnrbMRdVbKY6CCT2vjLAIILwBf5AsNLdLQC7FbXAEivSKbRX0UPyJA==",
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/@oxlint/win32-arm64/-/win32-arm64-1.8.0.tgz",
"integrity": "sha512-QvhtDAU9bBdC2m5xO+ibKyMG4KZR44wB0vDbQ5YkQxJiuXrlleHLyz0+saFzVYQ/Fvc0QgIRTIwiVz9dzxidVw==",
"cpu": [
"arm64"
],
......@@ -3795,9 +3795,9 @@
]
},
"node_modules/@oxlint/win32-x64": {
"version": "0.16.9",
"resolved": "https://registry.npmjs.org/@oxlint/win32-x64/-/win32-x64-0.16.9.tgz",
"integrity": "sha512-6a507bALmDNFdvEbJzu9ybajryBHo+6nMWPNyu/mBguCqmconoBbQXftELd2VG/0ecxBmBcMKAQW6aONGUVc3w==",
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/@oxlint/win32-x64/-/win32-x64-1.8.0.tgz",
"integrity": "sha512-veXJXgF905UOvuxtmvzM328b4Itm8Fyu+lUq4PagXOmyRScevaVUXq6++ui3A/Gxd8yo0SHspHCbYkpuvJkXqQ==",
"cpu": [
"x64"
],
......@@ -16029,9 +16029,9 @@
}
},
"node_modules/oxlint": {
"version": "0.16.9",
"resolved": "https://registry.npmjs.org/oxlint/-/oxlint-0.16.9.tgz",
"integrity": "sha512-YMGu177AURJxdCq45/Yw6Q+uDh9ZfU++GuLYhUz+DfIGdHpAqVlBI9lCqm2HkLc6qO8ySYZ+8ljsWHLQA8F+EQ==",
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/oxlint/-/oxlint-1.8.0.tgz",
"integrity": "sha512-kDC3zuplBM35GbrZ/3rRdDrZ6unpUkUjM8P3VSbyLgaYh2xZeg0TLLDbYALNAUyChVonNafXzgHZmbwnHfrTRg==",
"dev": true,
"license": "MIT",
"bin": {
......@@ -16045,14 +16045,14 @@
"url": "https://github.com/sponsors/Boshen"
},
"optionalDependencies": {
"@oxlint/darwin-arm64": "0.16.9",
"@oxlint/darwin-x64": "0.16.9",
"@oxlint/linux-arm64-gnu": "0.16.9",
"@oxlint/linux-arm64-musl": "0.16.9",
"@oxlint/linux-x64-gnu": "0.16.9",
"@oxlint/linux-x64-musl": "0.16.9",
"@oxlint/win32-arm64": "0.16.9",
"@oxlint/win32-x64": "0.16.9"
"@oxlint/darwin-arm64": "1.8.0",
"@oxlint/darwin-x64": "1.8.0",
"@oxlint/linux-arm64-gnu": "1.8.0",
"@oxlint/linux-arm64-musl": "1.8.0",
"@oxlint/linux-x64-gnu": "1.8.0",
"@oxlint/linux-x64-musl": "1.8.0",
"@oxlint/win32-arm64": "1.8.0",
"@oxlint/win32-x64": "1.8.0"
}
},
"node_modules/p-cancelable": {
......
......@@ -76,7 +76,7 @@
"happy-dom": "^17.4.4",
"husky": "^9.1.7",
"lint-staged": "^15.5.2",
"oxlint": "^0.16.9",
"oxlint": "^1.8.0",
"prettier": "3.5.3",
"typescript": "^5.8.3",
"vite": "^5.4.17",
......
......@@ -338,6 +338,7 @@ export function handleGitPush(req: Request, res: Response, next?: Function) {
lines.forEach((line) => {
// Look for lines containing refs/heads/
const refMatch = line.match(
// eslint-disable-next-line
/([0-9a-f]{40})\s+([0-9a-f]{40})\s+refs\/heads\/([^\s\u0000]+)/,
);
if (refMatch) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论