Skip to content

Commit

Permalink
[bun-framework-next] Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Jul 5, 2022
1 parent f5527c9 commit ebb4f85
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Binary file removed packages/bun-framework-next/bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/bun-framework-next/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bun-framework-next",
"version": "12.1.3",
"version": "12.1.5",
"main": "empty.js",
"module": "empty.js",
"description": "bun compatibility layer for Next.js v12.x.x",
Expand Down
4 changes: 2 additions & 2 deletions packages/bun-framework-next/renderDocument.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ import * as NextDocument from "next/document";
import * as ReactDOMServer from "react-dom/server.browser";
import * as React from "react";
import * as ReactIs from "react-is";
import { packageVersion } from "macro:./packageVersion.ts";
import packageJson from "next/package.json";

const nextVersion = packageVersion("next");
const nextVersion = packageJson.version;

var HtmlContext;
// HtmlContext is in different places depending on the next version
Expand Down
4 changes: 2 additions & 2 deletions packages/bun-framework-next/server.development.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import "./server-polyfills";
import { render } from "./renderDocument";
import { packageVersion } from "macro:./packageVersion.ts";
import packagejson from "next/package.json";

const version = packageVersion("next");
const version = packagejson.version;

if (
(!version.startsWith("11.1") &&
Expand Down

0 comments on commit ebb4f85

Please sign in to comment.