
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@hyext/matrix-compiler
Advanced tools
调用 metro 进行打包, 使用 react-native 0.62.2+
compiler.compile = (options: Options) => Promise<CompileOutput[]>
type Platform = 'ios' | 'android'
export interface BundleConfig {
entryAbsPath: string
outputDir: string
getBundleName?: (platform: Platform, entryAbsPath: string) => string,
platforms?: Platform[]
}
export interface Options {
projectRoot: string
bundleConfigs: BundleConfig[]
publicPath: string
metroConfig?: MetroConfig
filterModules?: Set<string>
}
export type CompileOutput = {
entryAbsPath: string
bundleAbsPath: string
bundleMd5: string
}
compiler.devServer = (config: MatrixServerConfig) => Promise<void>
export interface MatrixServerConfig {
projectRoot: string
metroConfig?: MetroConfig
onRequest?: (queryUrl: string) => void | Promise<void>
interactive?: boolean
}
compiler.getDefaultConfig = (options: Options) => MetroConfig
type Options = {
projectRoot: string
filterModules: Set<string>
mode: 'dev' | 'production'
imageBaseURI?: string
}
调用 react-native/local-cli 进行打包, 适用 react-native 0.58.5
deprecatedCompiler.compile = (options: CliOptions) => Promise<CompileOutput[]>
interface CliOptions {
projectRoot: string
metroConfigAbsPath: string
bundleConfigs: BundleConfig[]
}
deprecatedCompiler.devServer = (options: CliOptions) => Promise<void>
type CliOptions = {
projectRoot: string
metroConfigAbsPath: string
}
deprecatedCompiler.generateMetroCfg = (options: Options) => string
interface Options {
projectRoot: string
publicPath: string
filterModulesPath: string
mode: 'dev' | 'production'
cfgOutputDir?: string
useHyCSS?: boolean,
}
FAQs
## compiler 调用 metro 进行打包, 使用 react-native 0.62.2+
We found that @hyext/matrix-compiler demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

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.