Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
@bogeychan/elysia-polyfills
Advanced tools
Collection of experimental Elysia.js polyfills:
Package | Node.js (v18.16.0) | Deno (1.36.4#1,3) |
---|---|---|
elysia (0.6.19#2) | 🔬 | 🔬 |
@elysiajs/cors (0.6.0) | ✅ | ✅ |
@elysiajs/html (0.6.4) | ✅ | ✅ |
@elysiajs/bearer (0.6.0) | ✅ | ✅ |
@elysiajs/cookie (0.6.1) | ✅ | ✅ |
@elysiajs/swagger (0.6.1) | ✅ | ✅ |
@elysiajs/static (0.6.0) | ✅ | ✅ |
... | ... | ... |
Legend
🔬 - Under testing
✅ - Fully supported
⚠️ - Partial supported
❌ - Unsupported
#1 With release 1.33.0, Deno
introduced a new way to resolve node_modules
dependencies. You need to update @bogeychan/elysia-polyfills
to at least version 0.0.7
in order to be compatible.
#2 With version 0.5.15, Elysia.js
supports CommonJS
. Therefore, a build step is no longer required. The plugins listed above can be used out of the box for ESM
and CommonJS
projects.
#3 With release 1.35.0, Deno
stabilized the Deno.serve()
API. From now on Deno.serve()
is used instead of the Deno Standard Modules.
yarn add @bogeychan/elysia-polyfills
Checkout the examples folder on Github and follow its setup guide.
OR use an Elysia.js scaffold.
import '@bogeychan/elysia-polyfills/node/index.js';
import { Elysia } from 'elysia';
new Elysia().get('/', () => ({ hello: 'Node.js👋' })).listen(8080);
Create a new Node.js
project:
npm create elysia@latest my-elysia-app --template node-ts
import 'npm:@bogeychan/elysia-polyfills/deno/index.js';
import { Elysia } from 'npm:elysia';
new Elysia().get('/', () => ({ hello: 'Deno👋' })).listen(8080);
Create a new Deno
project:
deno run -r=npm:create-elysia --allow-read --allow-write npm:create-elysia my-elysia-app --template deno
FAQs
Collection of experimental Elysia.js polyfills
The npm package @bogeychan/elysia-polyfills receives a total of 1,613 weekly downloads. As such, @bogeychan/elysia-polyfills popularity was classified as popular.
We found that @bogeychan/elysia-polyfills demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.