
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@pomsky-lang/compiler-web
Advanced tools
WASM module of Pomsky.
import { compile } from '@pomsky-lang/compiler-web'
const { output, diagnostics } = compile(`^ C* '.' C* $`, 'js')
If this doesn't work with your bundler, try initializing the module explicitly:
import init, { compile } from '@pomsky-lang/compiler-web'
await init()
const { output, diagnostics } = compile(`^ C* '.' C* $`, 'js')
Don't forget to check if output === null, which means that compilation failed, and you have to look at the diagnostics. Even when the expression compiled successfully, diagnostics may contain useful warnings.
If you're using vite, you also need to update your vite config like this:
import { defineConfig } from 'vite'
export default defineConfig(({ mode }) => ({
+ optimizeDeps: {
+ exclude: mode === 'production' ? [] : ['@pomsky-lang/compiler-web'],
+ },
}))
Dual-licensed under the MIT license or the Apache 2.0 license.
FAQs
A portable, modern regular expression language
We found that @pomsky-lang/compiler-web demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.