Skip to content

Commit e237c24

Browse files
committed
fix: change dep to work on cf workers
1 parent 72c8d82 commit e237c24

File tree

11 files changed

+1713
-1157
lines changed

11 files changed

+1713
-1157
lines changed

.prettierrc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
module.exports = {
2-
trailingComma: 'all',
3-
singleQuote: true,
2+
trailingComma: "all",
3+
singleQuote: true,
44
};

biome.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.8.0/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
33
"organizeImports": {
44
"enabled": true
55
},
@@ -24,11 +24,5 @@
2424
"trailingCommas": "all",
2525
"arrowParentheses": "asNeeded"
2626
}
27-
},
28-
"vcs": {
29-
"enabled": true,
30-
"clientKind": "git",
31-
"useIgnoreFile": true,
32-
"defaultBranch": "master"
3327
}
3428
}

nitro.config.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ export default defineNitroConfig({
66
noPublicDir: true,
77
srcDir: "./src",
88
runtimeConfig: {
9-
version: pkg.version
9+
version: pkg.version,
1010
},
1111
alias: {
12-
"@": join(__dirname, "src")
13-
}
12+
"@": join(__dirname, "src"),
13+
},
14+
compatibilityDate: "2024-12-19",
1415
});

package.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "simple-proxy",
33
"private": true,
4-
"version": "2.2.0",
4+
"version": "2.3.0",
55
"scripts": {
66
"prepare": "nitropack prepare",
77
"dev": "nitropack dev",
@@ -12,16 +12,18 @@
1212
"preinstall": "npx only-allow pnpm"
1313
},
1414
"dependencies": {
15-
"fetch-cookie": "^3.0.1",
16-
"h3": "^1.10.0",
17-
"nitropack": "^2.8.1"
15+
"fetch-cookie": "3.0.1",
16+
"h3": "1.13.0",
17+
"nitropack": "2.10.4",
18+
"unenv": "1.10.0"
1819
},
1920
"devDependencies": {
20-
"@rollup/wasm-node": "^4.9.4"
21+
"@rollup/wasm-node": "^4.28.1"
2122
},
2223
"pnpm": {
2324
"overrides": {
24-
"rollup": "npm:@rollup/wasm-node"
25+
"rollup": "npm:@rollup/wasm-node",
26+
"tough-cookie": "npm:tough-cookie@5.0.0"
2527
}
2628
}
2729
}

0 commit comments

Comments
 (0)