Revert "Upgrade vercel og and remove yoga type patching (#81937)" (#82066)
This reverts commit 89a8b65341af7652ea781fab35a0381ccd4daa57.
x-ref:
https://github.com/vercel/next.js/actions/runs/16532118100/job/46759737328#step:33:329
This is causing issues when deployed
```sh
[warning] Aborted(CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder)
2025-07-25T22:30:32.604Z [error] CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder
at (node_modules/next/dist/compiled/@vercel/og/index.edge.js?0d65:4887:0)
[warning] failed to asynchronously prepare wasm: CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder
[warning] Aborted(CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder)
[15:33](https://vercel.slack.com/archives/D025SP9804T/p1753482815263529)
failed to asynchronously prepare wasm: CompileError: WebAssembly.instantiate(): Wasm code generation disallowed by embedder
```
```sh
FAIL default test/e2e/og-api/index.test.ts (99.883 s)
og-api
✓ should respond from index (390 ms)
✕ should work in pages/api (761 ms)
✕ should work in app route (708 ms)
✓ should work in app route in node runtime (963 ms)
✓ should work in middleware (486 ms)
● og-api › should work in pages/api
expect(received).toBeGreaterThan(expected)
Expected: > 0
Received: 0
25 | expect(res.headers.get('content-type')).toContain('image/png')
26 | const body = await res.blob()
> 27 | expect(body.size).toBeGreaterThan(0)
| ^
28 | })
29 |
30 | it('should work in app route', async () => {
at Object.toBeGreaterThan (e2e/og-api/index.test.ts:27:23)
● og-api › should work in app route
expect(received).toBeGreaterThan(expected)
Expected: > 0
Received: 0
33 | expect(res.headers.get('content-type')).toContain('image/png')
34 | const body = await res.blob()
> 35 | expect(body.size).toBeGreaterThan(0)
| ^
36 | })
37 |
38 | it('should work in app route in node runtime', async () => {
at Object.toBeGreaterThan (e2e/og-api/index.test.ts:35:23)
```