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
This commit is contained in:
76
package-lock.json
generated
76
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "dyad",
|
"name": "dyad",
|
||||||
"version": "0.13.0-beta.1",
|
"version": "0.14.0-beta.1",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "dyad",
|
"name": "dyad",
|
||||||
"version": "0.13.0-beta.1",
|
"version": "0.14.0-beta.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ai-sdk/anthropic": "^1.2.8",
|
"@ai-sdk/anthropic": "^1.2.8",
|
||||||
@@ -110,7 +110,7 @@
|
|||||||
"happy-dom": "^17.4.4",
|
"happy-dom": "^17.4.4",
|
||||||
"husky": "^9.1.7",
|
"husky": "^9.1.7",
|
||||||
"lint-staged": "^15.5.2",
|
"lint-staged": "^15.5.2",
|
||||||
"oxlint": "^0.16.9",
|
"oxlint": "^1.8.0",
|
||||||
"prettier": "3.5.3",
|
"prettier": "3.5.3",
|
||||||
"typescript": "^5.8.3",
|
"typescript": "^5.8.3",
|
||||||
"vite": "^5.4.17",
|
"vite": "^5.4.17",
|
||||||
@@ -3697,9 +3697,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@oxlint/darwin-arm64": {
|
"node_modules/@oxlint/darwin-arm64": {
|
||||||
"version": "0.16.9",
|
"version": "1.8.0",
|
||||||
"resolved": "https://registry.npmjs.org/@oxlint/darwin-arm64/-/darwin-arm64-0.16.9.tgz",
|
"resolved": "https://registry.npmjs.org/@oxlint/darwin-arm64/-/darwin-arm64-1.8.0.tgz",
|
||||||
"integrity": "sha512-s8gPacumFNuDQcl0dCRLI0+efbiQrOF984brGrW1i2buJtaMzjYiunaU5TSrbHgnb/omvpFnG4l9g+YHOK/s0A==",
|
"integrity": "sha512-1juYJF1xqRNkswzDSN1V44NoZ+O2Mkc9LjbkDB/UErb8dxTqFhCZC3CQR6Em55/tys1FtajXgK3B+ykWnY9HNQ==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
@@ -3711,9 +3711,9 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"node_modules/@oxlint/darwin-x64": {
|
"node_modules/@oxlint/darwin-x64": {
|
||||||
"version": "0.16.9",
|
"version": "1.8.0",
|
||||||
"resolved": "https://registry.npmjs.org/@oxlint/darwin-x64/-/darwin-x64-0.16.9.tgz",
|
"resolved": "https://registry.npmjs.org/@oxlint/darwin-x64/-/darwin-x64-1.8.0.tgz",
|
||||||
"integrity": "sha512-QFue9yhfRU+fkbsOmDzCCwDafPR6fnaP/M+Rocp/MMDQ7qvjbB2sj0/xxp/CcvL7aLtFklMeXPR0hCfW3LyrSw==",
|
"integrity": "sha512-5b7J/XE2eGhx3+vw6IFuuL0BbIF3wRzo4SWHVXN9rO3WYq2YpoHToY4C5WMWb8toVZcoJlx4Y1lq3IO2V78zTg==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
@@ -3725,9 +3725,9 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"node_modules/@oxlint/linux-arm64-gnu": {
|
"node_modules/@oxlint/linux-arm64-gnu": {
|
||||||
"version": "0.16.9",
|
"version": "1.8.0",
|
||||||
"resolved": "https://registry.npmjs.org/@oxlint/linux-arm64-gnu/-/linux-arm64-gnu-0.16.9.tgz",
|
"resolved": "https://registry.npmjs.org/@oxlint/linux-arm64-gnu/-/linux-arm64-gnu-1.8.0.tgz",
|
||||||
"integrity": "sha512-qP/wdlgqLuiW9WDkAsyMN85wQ3nqAQynjRD+1II1QO0yI9N1ZHD6LF9P5fXAqY0eJwcf3emluQMoaeveewtiCg==",
|
"integrity": "sha512-pzfk9IZBbYuIYn4sbT//Vox8B8e8hOZPkIQnNAdzhpGtRjV4NYOgNL5/h2QZC+ecmxl8H+Gi9WV6dyKjFrBtcw==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
@@ -3739,9 +3739,9 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"node_modules/@oxlint/linux-arm64-musl": {
|
"node_modules/@oxlint/linux-arm64-musl": {
|
||||||
"version": "0.16.9",
|
"version": "1.8.0",
|
||||||
"resolved": "https://registry.npmjs.org/@oxlint/linux-arm64-musl/-/linux-arm64-musl-0.16.9.tgz",
|
"resolved": "https://registry.npmjs.org/@oxlint/linux-arm64-musl/-/linux-arm64-musl-1.8.0.tgz",
|
||||||
"integrity": "sha512-486wn1MIqP4hkHTnuWedTb16X6Zs3ImmmMxqzfYlcemf9kODM6yNlxal6wGvkm7SGRPYrsB/P9S5wgpzmLzKrw==",
|
"integrity": "sha512-6rpaeAG271wbUNM+WeJhdvJDDMwfoenm7rPY304dxnC+fcuR8Q0LSv09dGeNWrsqjjZuDP9R10qR154nysBxFg==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
@@ -3753,9 +3753,9 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"node_modules/@oxlint/linux-x64-gnu": {
|
"node_modules/@oxlint/linux-x64-gnu": {
|
||||||
"version": "0.16.9",
|
"version": "1.8.0",
|
||||||
"resolved": "https://registry.npmjs.org/@oxlint/linux-x64-gnu/-/linux-x64-gnu-0.16.9.tgz",
|
"resolved": "https://registry.npmjs.org/@oxlint/linux-x64-gnu/-/linux-x64-gnu-1.8.0.tgz",
|
||||||
"integrity": "sha512-d20zqy4Mimz9CxjIEJdGd6jtyyhpSryff95gNJSTvh/EA4NqvjjlbjxuHt3clNjglRwJWE3kgmUCw9U9oWFcWA==",
|
"integrity": "sha512-qPEF8tKMu+63b58gPfwU3KyJf2z9KyorbrC0yGXFHQLzRPEtrh6bAjf+AzCs3n8WhDR1K6jPgcPT4Sp8bahCyQ==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
@@ -3767,9 +3767,9 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"node_modules/@oxlint/linux-x64-musl": {
|
"node_modules/@oxlint/linux-x64-musl": {
|
||||||
"version": "0.16.9",
|
"version": "1.8.0",
|
||||||
"resolved": "https://registry.npmjs.org/@oxlint/linux-x64-musl/-/linux-x64-musl-0.16.9.tgz",
|
"resolved": "https://registry.npmjs.org/@oxlint/linux-x64-musl/-/linux-x64-musl-1.8.0.tgz",
|
||||||
"integrity": "sha512-mZLshz99773RMa77YhtsgWbqE7JY4xnYSDecDy+ZkafRb0acqz1Ujiq2l4cE+HnJOGVOMaOpzG0UoQ3ZNkXNAA==",
|
"integrity": "sha512-JyErk/LsLg/tA3XkHhU8VIxahOdq56L99mbpMFGLTkOQgtnhY2MDAYULVgOuFFX3v6Q02o4mpIR/SwW/tRnZlg==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
@@ -3781,9 +3781,9 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"node_modules/@oxlint/win32-arm64": {
|
"node_modules/@oxlint/win32-arm64": {
|
||||||
"version": "0.16.9",
|
"version": "1.8.0",
|
||||||
"resolved": "https://registry.npmjs.org/@oxlint/win32-arm64/-/win32-arm64-0.16.9.tgz",
|
"resolved": "https://registry.npmjs.org/@oxlint/win32-arm64/-/win32-arm64-1.8.0.tgz",
|
||||||
"integrity": "sha512-Zp9+0CfTb7ebgvRwDO2F6NVgRtRmxWMdBnrbMRdVbKY6CCT2vjLAIILwBf5AsNLdLQC7FbXAEivSKbRX0UPyJA==",
|
"integrity": "sha512-QvhtDAU9bBdC2m5xO+ibKyMG4KZR44wB0vDbQ5YkQxJiuXrlleHLyz0+saFzVYQ/Fvc0QgIRTIwiVz9dzxidVw==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"arm64"
|
"arm64"
|
||||||
],
|
],
|
||||||
@@ -3795,9 +3795,9 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"node_modules/@oxlint/win32-x64": {
|
"node_modules/@oxlint/win32-x64": {
|
||||||
"version": "0.16.9",
|
"version": "1.8.0",
|
||||||
"resolved": "https://registry.npmjs.org/@oxlint/win32-x64/-/win32-x64-0.16.9.tgz",
|
"resolved": "https://registry.npmjs.org/@oxlint/win32-x64/-/win32-x64-1.8.0.tgz",
|
||||||
"integrity": "sha512-6a507bALmDNFdvEbJzu9ybajryBHo+6nMWPNyu/mBguCqmconoBbQXftELd2VG/0ecxBmBcMKAQW6aONGUVc3w==",
|
"integrity": "sha512-veXJXgF905UOvuxtmvzM328b4Itm8Fyu+lUq4PagXOmyRScevaVUXq6++ui3A/Gxd8yo0SHspHCbYkpuvJkXqQ==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
@@ -16029,9 +16029,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/oxlint": {
|
"node_modules/oxlint": {
|
||||||
"version": "0.16.9",
|
"version": "1.8.0",
|
||||||
"resolved": "https://registry.npmjs.org/oxlint/-/oxlint-0.16.9.tgz",
|
"resolved": "https://registry.npmjs.org/oxlint/-/oxlint-1.8.0.tgz",
|
||||||
"integrity": "sha512-YMGu177AURJxdCq45/Yw6Q+uDh9ZfU++GuLYhUz+DfIGdHpAqVlBI9lCqm2HkLc6qO8ySYZ+8ljsWHLQA8F+EQ==",
|
"integrity": "sha512-kDC3zuplBM35GbrZ/3rRdDrZ6unpUkUjM8P3VSbyLgaYh2xZeg0TLLDbYALNAUyChVonNafXzgHZmbwnHfrTRg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bin": {
|
"bin": {
|
||||||
@@ -16045,14 +16045,14 @@
|
|||||||
"url": "https://github.com/sponsors/Boshen"
|
"url": "https://github.com/sponsors/Boshen"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@oxlint/darwin-arm64": "0.16.9",
|
"@oxlint/darwin-arm64": "1.8.0",
|
||||||
"@oxlint/darwin-x64": "0.16.9",
|
"@oxlint/darwin-x64": "1.8.0",
|
||||||
"@oxlint/linux-arm64-gnu": "0.16.9",
|
"@oxlint/linux-arm64-gnu": "1.8.0",
|
||||||
"@oxlint/linux-arm64-musl": "0.16.9",
|
"@oxlint/linux-arm64-musl": "1.8.0",
|
||||||
"@oxlint/linux-x64-gnu": "0.16.9",
|
"@oxlint/linux-x64-gnu": "1.8.0",
|
||||||
"@oxlint/linux-x64-musl": "0.16.9",
|
"@oxlint/linux-x64-musl": "1.8.0",
|
||||||
"@oxlint/win32-arm64": "0.16.9",
|
"@oxlint/win32-arm64": "1.8.0",
|
||||||
"@oxlint/win32-x64": "0.16.9"
|
"@oxlint/win32-x64": "1.8.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/p-cancelable": {
|
"node_modules/p-cancelable": {
|
||||||
|
|||||||
@@ -76,7 +76,7 @@
|
|||||||
"happy-dom": "^17.4.4",
|
"happy-dom": "^17.4.4",
|
||||||
"husky": "^9.1.7",
|
"husky": "^9.1.7",
|
||||||
"lint-staged": "^15.5.2",
|
"lint-staged": "^15.5.2",
|
||||||
"oxlint": "^0.16.9",
|
"oxlint": "^1.8.0",
|
||||||
"prettier": "3.5.3",
|
"prettier": "3.5.3",
|
||||||
"typescript": "^5.8.3",
|
"typescript": "^5.8.3",
|
||||||
"vite": "^5.4.17",
|
"vite": "^5.4.17",
|
||||||
|
|||||||
@@ -338,6 +338,7 @@ export function handleGitPush(req: Request, res: Response, next?: Function) {
|
|||||||
lines.forEach((line) => {
|
lines.forEach((line) => {
|
||||||
// Look for lines containing refs/heads/
|
// Look for lines containing refs/heads/
|
||||||
const refMatch = line.match(
|
const refMatch = line.match(
|
||||||
|
// eslint-disable-next-line
|
||||||
/([0-9a-f]{40})\s+([0-9a-f]{40})\s+refs\/heads\/([^\s\u0000]+)/,
|
/([0-9a-f]{40})\s+([0-9a-f]{40})\s+refs\/heads\/([^\s\u0000]+)/,
|
||||||
);
|
);
|
||||||
if (refMatch) {
|
if (refMatch) {
|
||||||
|
|||||||
Reference in New Issue
Block a user