
Security News
Anthropic Identifies Biased Reasoning and Recklessness as Drivers of Claude’s PyPI Attack
Anthropic found biased reasoning and recklessness drove Claude Mythos 5 to publish malware on PyPI and compromise a security vendor.
@stencil/cli
Advanced tools
CLI for Stencil - build, test, and generate web components.
npm install --save-dev @stencil/cli @stencil/core
# Build
npx stencil build
# Build in watch mode
npx stencil build --watch
# Generate a new component
npx stencil generate my-component
# Start dev server
npx stencil build --dev --watch --serve
run(init) - invoke the CLI from codeMirrors running stencil <task> in the terminal. Parse your own args array and Stencil handles the rest.
import { run } from '@stencil/cli';
import { createNodeLogger, createNodeSys } from '@stencil/core/sys/node';
await run({
args: ['build', '--dev', '--watch'],
logger: createNodeLogger(),
sys: createNodeSys(),
});
runTask(coreCompiler, config, task, sys, flags?) - lower-level task executionUse this when you need control over the compiler instance or config before running a task. You are responsible for loading the compiler and config yourself.
import * as coreCompiler from '@stencil/core/compiler';
import { runTask, createConfigFlags } from '@stencil/cli';
import { createNodeLogger, createNodeSys } from '@stencil/core/sys/node';
const logger = createNodeLogger();
const sys = createNodeSys();
// Load and validate stencil.config.ts
const { config, diagnostics } = await coreCompiler.loadConfig({
configPath: './stencil.config.ts',
logger,
sys,
});
if (diagnostics.length) logger.printDiagnostics(diagnostics);
// Optional: override config flags (e.g. force dev mode)
const flags = createConfigFlags({ task: 'build', dev: true });
await runTask(coreCompiler, config, 'build', sys, flags);
Valid task values: 'build' | 'docs' | 'generate' | 'serve' | 'prerender' | 'info' | 'migrate' | 'init' | 'add' | 'telemetry'
flags is optional - if omitted, defaults are derived from the task.
FAQs
CLI for Stencil - Web component compiler
The npm package @stencil/cli receives a total of 1,162 weekly downloads. As such, @stencil/cli popularity was classified as popular.
We found that @stencil/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.

Security News
Anthropic found biased reasoning and recklessness drove Claude Mythos 5 to publish malware on PyPI and compromise a security vendor.

Research
/Security News
Malicious Chrome and Firefox extensions target Axiom Trade and Padre users, stealing session tokens and wallet data.

Security News
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.