Skip to content

Commit

Permalink
Revert #10980 (#10989)
Browse files Browse the repository at this point in the history
Undoes #10980 (mostly). This appears to be some kind of caching issue. Works locally until you run `eslint` without `--cache` and then it will reproduce. Hopefully this is the last time and we're not playing whack-a-mole with these pragmas every day?
  • Loading branch information
trek authored Dec 21, 2023
1 parent c536a74 commit 2cc2fac
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .changeset/tiny-ravens-pretend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 2 additions & 0 deletions packages/node/test/dev-fixtures/edge-buffer.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* global Response */

import B from 'node:buffer';
import { Buffer } from 'buffer';

Expand Down
2 changes: 1 addition & 1 deletion packages/node/test/dev-fixtures/edge-websocket.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*global WebSocket */
/*global TextEncoderStream, ReadableStream, Response, WebSocket */

export const config = { runtime: 'edge' };

Expand Down
2 changes: 2 additions & 0 deletions packages/node/test/dev-fixtures/serverless-web.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* global Response */

const baseUrl = ({ headers }) =>
`${headers.get('x-forwarded-proto')}://${headers.get('x-forwarded-host')}`;

Expand Down

0 comments on commit 2cc2fac

Please sign in to comment.