
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@crasman/stage-webpack
Advanced tools
Webpack bundling processes desgined to work well with Stage / Studio environment
This is installed automatically if you use @crasman/create-stage-webpack
to create new project, also the configuration is taken care of.
To install manually run npm install stage-webpack --save-dev
Config file (stage-webpack.config.js
) needs to be found in project root folder. See config documentation
You also need to setup linters and build process configuration. Click links for examples on how to use and extend stage-webpack
defaults:
These files should be stored in the root of your project.
If defined (config.files.serviceWorker
), we expect to find self.__WB_MANIFEST
in the service worker file for precaching built assets. Example service-worker.js setup
You can extend project settings with local ones by placing another stage-webpack.config.js
file outside of the project folder. This way you can generate valid SSL certificate that you can use for all your stage-webpack
dev servers.
stage-webpack start
: Start dev server. Change proxy target with --sw-stage-url <config.stage.urls[target]>
. E.g. stage-webpack-scripts start --sw-stage-url admin
stage-webpack build
: Build files and upload to Studiostage-webpack watch
: Dev version of build
. Should only be used when dev server can't be used, for example when developing Prince XML which requires that server has access to needed files.stage-webpack update-project
: Can be used to apply automatic fixes to source files if there are any availableExposed to client:
PUBLIC_PATH
: Can be used to register service worker etc.NODE_ENV
: 'production'
, 'development'
or 'test'
DEV_SERVER
: undefined
or 'true'
SW_<anything>
: Any env variable prefixed with SW_
can be used in client code. E.g SW_TEST = 'test'
can be accessed with process.env.SW_TEST
Just run npm link
inside packages/stage-webpack
folder
This is little tricky to link thanks to how npm link
now works (>= 7.0.0). Step 4 works around this new limitation by installing all other monorepo packages as dependencies.
@crasman/stage-webpack
developingnode_modules
and package-lock.json
and run npm install
if you needed to change Node versionnpm install @crasman/babel-preset-stage-webpack @crasman/branch-bar @crasman/eslint-config-stage-webpack @crasman/stylelint-config-stage-webpack
npm link @crasman/stage-webpack
FAQs
Webpack configs and scripts for Stage / Studio
We found that @crasman/stage-webpack demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.