···3344console.log('started on http://localhost:3000');
5566-export default new Elysia().use(logger()).get('/', () => 'hello elysia!!\n๐\n');
66+export default new Elysia().use(logger()).get('/', () => `hello elysia!!\n\n๐ ${Ant.version}\n`);
+2-2
examples/npm/express/index.cjs
···44let port = 3000;
5566app.get('/', (_req, res) => {
77- res.send('Hello World!');
77+ res.type('txt').send(`hello express!!\n\n๐ ${Ant.version}\n`);
88});
991010app.listen(port, () => {
1111- console.log(`Example app listening on port ${port}`);
1111+ console.log(`started on http://localhost:${port}`);
1212});
+1-1
examples/npm/hono/src/index.ts
···44const app = new Hono();
5566app.use(logger());
77-app.get('/', c => c.text('hello hono!!\n๐\n'));
77+app.get('/', c => c.text(`hello hono!!\n\n๐ ${Ant.version}\n`));
8899console.log('started on http://localhost:3000');
1010
+5-5
examples/results.txt
···607607compat-table/es6/String.prototype.startsWith.throws-regex.js: OK
608608compat-table/es6/String.raw.js: OK
609609compat-table/es6/Symbol.JSON.stringify.object.js: TypeError: Object.defineProperty called on non-object
610610-compat-table/es6/Symbol.JSON.stringify.primitive.js: failed
610610+compat-table/es6/Symbol.JSON.stringify.primitive.js: OK
611611compat-table/es6/Symbol.Object.js: failed
612612compat-table/es6/Symbol.String.js: OK
613613compat-table/es6/Symbol.defineProperty.js: OK
···10421042compat-table/es6/typed-arrays.ArrayBuffer.Symbol.species.js: OK
10431043compat-table/es6/typed-arrays.DataView.Float32.js: failed
10441044compat-table/es6/typed-arrays.DataView.Float64.js: OK
10451045-compat-table/es6/typed-arrays.DataView.Int8.js: TypeError: undefined is not a function
10451045+compat-table/es6/typed-arrays.DataView.Int8.js: OK
10461046compat-table/es6/typed-arrays.DataView.Int16.js: OK
10471047compat-table/es6/typed-arrays.DataView.Int32.js: OK
10481048compat-table/es6/typed-arrays.DataView.Uint8.js: OK
10491049-compat-table/es6/typed-arrays.DataView.Uint16.js: TypeError: undefined is not a function
10501050-compat-table/es6/typed-arrays.DataView.Uint32.js: TypeError: undefined is not a function
10491049+compat-table/es6/typed-arrays.DataView.Uint16.js: OK
10501050+compat-table/es6/typed-arrays.DataView.Uint32.js: OK
10511051compat-table/es6/typed-arrays.Float32Array.js: failed
10521052compat-table/es6/typed-arrays.Float64Array.js: OK
10531053compat-table/es6/typed-arrays.Int8Array.js: OK
···12481248compat-table/es2020/BigUint64Array.js: failed
12491249compat-table/es2020/DataView.prototype.getBigInt64.js: TypeError: undefined is not a function
12501250compat-table/es2020/DataView.prototype.getBigUint64.js: TypeError: undefined is not a function
12511251-compat-table/es2020/Promise.allSettled.js: TypeError: undefined is not a function
12511251+compat-table/es2020/Promise.allSettled.js: OK
12521252compat-table/es2020/String.prototype.matchAll.js: TypeError: undefined is not a function
12531253compat-table/es2020/String.prototype.matchAll.throws-non-global.js: failed
12541254compat-table/es2020/globalThis.descriptor.js: OK
···11+// TODO:
22+the following builtins are currently compatibility stubs, not full node.js implementations:
33+44+- https.mjs
55+- http2.mjs
66+- tls.mjs
77+- stream.cjs