
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
babel-preset-jolt
Advanced tools
Install babel-preset-jolt
using yarn
:
yarn add --dev babel-preset-jolt
In your .babelrc
or package.json
, add jolt
as a preset:
"babel": {
"presets": [
"jolt"
]
}
target
By default, this will not target any environment. By passing the target
option, you can specify if this is a node
, react-native
, or web
package. This will enable the babel-preset-env
, babel-preset-react-native
, and both respectively.
"babel": {
"presets": [
["jolt", {"target": "node"}]
]
}
import: {static}
Another option is to convert dynamic import()
statements into static require()
statements. This should be used when you do not want dynamic imports in one target (say, web
), to affect another target (say, react-native
).
"babel": {
"presets": [
["jolt", {"reactNative": true, "useStaticImport": true,}]
]
}
FAQs
Default babel configuration for jolt packages.
The npm package babel-preset-jolt receives a total of 6 weekly downloads. As such, babel-preset-jolt popularity was classified as not popular.
We found that babel-preset-jolt 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.