Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
webpack-loader-dojo
Advanced tools
Webpack loader for Dojo Toolkit 1.x (actually, tested with version 1.10). It adapts dojo modules so they can be bundled by webpack and even used out of Dojo Toolkit ecosystem.
This package is adapted from https://github.com/Nordth/dojo-webpack-loader It supports Webpack 2 as well as comment stripping. It will strip multiline comments, but will not strip single line comments as that can also result in destruction of regular expressions. Please see below for an example of what is needed to add to your webpack config.
module: {
rules: [
{
test: /\.js$/,
use: [{
loader: 'webpack-loader-dojo',
options: {
// We should specify paths to core and dijit modules because we using both
dojoCorePath: path.resolve(__dirname, './bower_components/dojo/'),
dojoDijitPath: path.resolve(__dirname, './bower_components/dijit/'),
// Languages for dojo/nls module which will be in result pack.
includeLanguages: ['en'],
staticHasFeatures: {
...
}
}
}]
}
]
},
yarn
npm link
to which ever repo you intend to use withNone, but we are always looking for contributions! There are going to be some when I have a chance. I promise...
FAQs
Webpack 2 loader for Dojo Toolkit v. 1.x
The npm package webpack-loader-dojo receives a total of 1 weekly downloads. As such, webpack-loader-dojo popularity was classified as not popular.
We found that webpack-loader-dojo 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
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.