Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Lego Starter Kit builder & webpack configurator
Данный проект - это вспомогательная утилита, позволяющая удобно конфигурировать сборку вебпака. Все свои проекты я собираю данный утилитой, это позволяет мне настраивать их в взаимо совместимом виде, и спользовать подпроекты в качестве зависимостей.
Ключевой особоенностью данной утилиты является принцип наследуемости.
import fs from 'fs';
const dirname = `${__dirname}/..`;
const ctx = {
env: process.env.NODE_ENV,
debug: !process.argv.includes('--release'),
verbose: process.argv.includes('--verbose'),
webpackConfigDist: `${dirname}/build/webpack.config.js`,
webpackStats: 'verbose',
dirname,
pkg: require('../package.json'),
deps: [
{
name: 'lego-starter-kit',
path: fs.realpathSync(`${dirname}/node_modules/lego-starter-kit/src`),
alias: 'lego-starter-kit',
},
{
name: 'lsk-general',
path: fs.realpathSync(`${dirname}/node_modules/lsk-general/src`),
alias: 'lsk-general',
},
{
name: 'lsk-quiz',
path: fs.realpathSync(`${dirname}/node_modules/lsk-quiz/src`),
alias: 'lsk-quiz',
},
{
name: 'lsk-admin',
path: fs.realpathSync(`${dirname}/node_modules/lsk-admin/src`),
alias: 'lsk-admin',
},
// {
// name: 'universal-model',
// path: fs.realpathSync(`${dirname}/node_modules/universal-model/src`),
// alias: 'universal-model',
// },
],
alias: {
react: fs.realpathSync(`${dirname}/node_modules/react`),
'react-dom': fs.realpathSync(`${dirname}/node_modules/react-dom`),
},
};
export default ctx;
FAQs
Lego Starter Kit builder & webpack configurator
The npm package lsk-build receives a total of 48 weekly downloads. As such, lsk-build popularity was classified as not popular.
We found that lsk-build demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.