two-stroke 7.11.0 → 7.11.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,4 +21,4 @@ jobs:
21
21
 
22
22
  - uses: ./.github/actions/install
23
23
 
24
- - run: pnpm publish --no-git-checks
24
+ - run: pnpm publish --no-git-checks --tag eslint
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "dependencies": {
13
13
  "@cloudflare/vitest-pool-workers": "^0.18.0",
14
14
  "@sentry/cli": "^3.6.0",
15
- "@typescript-eslint/eslint-plugin": "^8.63.0",
15
+ "@typescript-eslint/eslint-plugin": "^8.64.0",
16
16
  "@typescript-eslint/parser": "^8.62.1",
17
17
  "@vitest/runner": "^4.1.8",
18
18
  "@vitest/snapshot": "^4.1.8",
@@ -56,7 +56,7 @@
56
56
  "url": "https://github.com/change-engine/two-stroke"
57
57
  },
58
58
  "type": "module",
59
- "version": "7.11.0",
59
+ "version": "7.11.3",
60
60
  "devDependencies": {
61
61
  "@types/eslint": "^9.6.1",
62
62
  "eslint": "^10.6.0",
package/src/index.ts CHANGED
@@ -45,6 +45,7 @@ export function twoStroke<T>(
45
45
  context: ExecutionContext,
46
46
  ): Promise<Response> {
47
47
  const defaultHeaders = {
48
+ Vary: "Origin",
48
49
  "Access-Control-Allow-Origin": origin
49
50
  ? (env.SENTRY_ENVIRONMENT === "staging" || env.SENTRY_ENVIRONMENT === "dev") &&
50
51
  req.headers.get("Origin")?.split(":")[1]?.endsWith("localhost")