Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion compatibility/config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Bump this explicit revision when the meaning of a compatibility check changes.
export const suiteVersion = '2-live';
export const runtimeVersions = { bun: '1.4.4', deno: '2.9.6' };
export const frameworkVersions = { vite: '5.4.21', next: '16.4.5', react: '19.2.0' };
export const frameworkVersions = { vite: '6.4.6', next: '16.4.5', react: '19.2.0' };
export const targets = ['node', 'bun', 'deno', 'vite', 'browser', 'browser-configured', 'browser-bundle', 'next', 'react-native', 'react-native-ios', 'react-native-configured', 'react-native-ios-configured'];
export const labels = { node: 'Node.js', bun: 'Bun', deno: 'Deno', vite: 'Vite build', browser:'Browser / default Vite', 'browser-configured':'Browser / configured Vite', 'browser-bundle':'Browser / published bundle', next: 'Next.js server', 'react-native': 'React Native / default Android', 'react-native-ios':'React Native / default iOS', 'react-native-configured':'React Native / Android with polyfills', 'react-native-ios-configured':'React Native / iOS with polyfills' };
export const nativeVersions={expo:'58.0.23',react:'19.3.0',reactNative:'0.88.1',expoGo:'0.2.0'};
Expand Down
2 changes: 1 addition & 1 deletion compatibility/report.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export async function generateCompatibility(ctx,root) {
if(c.observation)lines.push(`The server route received BTC price **${safe(c.observation.price)}** at ${safe(c.observation.observedAt)}.`,'');
if(t==='browser-configured'&&c.status==='passed'){
const recipe=await readFile(path.join(projectRoot,'compatibility/browser-config',ctx.id+'.mjs'),'utf8');
lines.push('### Vite configuration','','Install the SDK and EventEmitter polyfill:','','```sh',`npm install ${ctx.pkg.name} events@3.3.0`,'```','','Save this as `vite.config.mjs` at the application root:','','```js',recipe.trim(),'```','','This supplies EventEmitter'+(ctx.id==='binance'?" and selects Binance's browser signing module":'')+'. Tested with Vite 5.4.21 and an npm installation.','');
lines.push('### Vite configuration','','Install the SDK and EventEmitter polyfill:','','```sh',`npm install ${ctx.pkg.name} events@3.3.0`,'```','','Save this as `vite.config.mjs` at the application root:','','```js',recipe.trim(),'```','','This supplies EventEmitter'+(ctx.id==='binance'?" and selects Binance's browser signing module":'')+'. Tested with Vite 6.4.6 and an npm installation.','');
}
if(t==='vite')lines.push('Bundling only; see the browser results for runtime checks.','');
if(t===setupTarget) {
Expand Down
Loading
Loading