
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
theme-webpack-plugin
Advanced tools
This plugin allows you to use theme within any imported library that support it.
What is theme? Theme is just a directory inside module base directory that holds theme specific content (code, css, images, anything...)
Define module content
/my-cool-module
/desktop
index.js
/mobile
index.js
index.js
package.json
Add plugin to webpack resolver passing regex to match module name and theme name
const ThemeWebpackPlugin = require('theme-webpack-plugin');
resolver: {
plugins: [
new ThemeWebpackPlugin(/my-(cool|chill)-module/, 'desktop')
]
};
}
Import module
import MyThemedClass from 'my-cool-module';
Now MyThemedClass is imported not from my-cool-module directory, but from my-cool-module/dekstop
FAQs
Resolve theme directory
The npm package theme-webpack-plugin receives a total of 0 weekly downloads. As such, theme-webpack-plugin popularity was classified as not popular.
We found that theme-webpack-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
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.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.