
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@callstack/repack-plugin-reanimated
Advanced tools
A plugin for @callstack/repack that integrates react-native-reanimated
@callstack/repack-plugin-reanimated
is a plugin for @callstack/repack
that integrates react-native-reanimated
into your React Native projects.
This plugin exists in order to simplify the setup required to get react-native-reanimated
working with Re.Pack and to minimize the impact on build performance. It looks for relevant keywords like worklet
inside the source before transforming the file with babel
.
npm install -D @callstack/repack-plugin-reanimated
To add the plugin to your Re.Pack configuration, update your rspack.config.js
or webpack.config.js
as follows:
import { ReanimatedPlugin } from '@callstack/repack-plugin-reanimated';
export default (env) => {
// ...
return {
// ...
plugins: [
// ...
new ReanimatedPlugin(),
],
};
};
The plugin also comes with it's own loader, which you can use on it's own inside rspack.config.js
or webpack.config.js
like this:
export default (env) => {
// ...
return {
// ...
module: {
rules: [
{
test: /\.ts$/,
use: {
loader: '@callstack/repack-plugin-reanimated/loader',
options: {
babelPlugins: [
[
'@babel/plugin-syntax-typescript',
{ isTSX: false, allowNamespaces: true },
],
],
},
},
},
],
},
};
};
Check out our website at https://re-pack.dev for more info and documentation or our GitHub: https://github.com/callstack/repack.
FAQs
A plugin for @callstack/repack that integrates react-native-reanimated
The npm package @callstack/repack-plugin-reanimated receives a total of 5,959 weekly downloads. As such, @callstack/repack-plugin-reanimated popularity was classified as popular.
We found that @callstack/repack-plugin-reanimated demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 15 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
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.