Installations
npm install babel-preset-react-native-without-regenerator
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
6.8.0
NPM Version
3.10.8
Score
64
Supply Chain
72.5
Quality
69.1
Maintenance
25
Vulnerability
99.6
License
Releases
Contributors
Languages
C++ (29.79%)
JavaScript (16.5%)
Java (15.05%)
Kotlin (13%)
Objective-C++ (12.34%)
Objective-C (8.2%)
Ruby (3.01%)
CMake (0.72%)
TypeScript (0.56%)
Shell (0.4%)
C (0.32%)
Assembly (0.1%)
HTML (0.01%)
Swift (0.01%)
Developer
Download Statistics
Total Downloads
2,093
Last Day
3
Last Week
6
Last Month
9
Last Year
171
GitHub Statistics
120,139 Stars
34,525 Commits
24,437 Forks
3,590 Watching
222 Branches
2,776 Contributors
Bundle Size
1.91 kB
Minified
853.00 B
Minified + Gzipped
Package Meta Information
Latest Version
1.9.0-a
Package Id
babel-preset-react-native-without-regenerator@1.9.0-a
Size
3.25 kB
NPM Version
3.10.8
Node Version
6.8.0
Total Downloads
Cumulative downloads
Total Downloads
2,093
Last day
0%
3
Compared to previous day
Last week
100%
6
Compared to previous week
Last month
50%
9
Compared to previous month
Last year
-16.2%
171
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
29
babel-preset-react-native
Babel presets for React Native applications. React Native itself uses this Babel preset by default when transforming your app's source code.
If you wish to use a custom Babel configuration by writing a .babelrc
file in your project's root directory, you must specify all the plugins necessary to transform your code. React Native does not apply its default Babel configuration in this case. So, to make your life easier, you can use this preset to get the default configuration and then specify more plugins that run before it.
Usage
As mentioned above, you only need to use this preset if you are writing a custom .babelrc
file.
Installation
Install babel-preset-react-native
in your app:
1npm i babel-preset-react-native --save-dev
Configuring Babel
Then, create a file called .babelrc
in your project's root directory. The existence of this .babelrc
file will tell React Native to use your custom Babel configuration instead of its own. Then load this preset:
{
"presets": ["react-native"]
}
You can further customize your Babel configuration by specifying plugins and other options. See Babel's .babelrc
documentation to learn more.
Help and Support
If you get stuck configuring Babel, please ask a question on Stack Overflow or find a consultant for help. If you discover a bug, please open up an issue.
No vulnerabilities found.
Reason
30 commit(s) and 16 issue activity found in the last 90 days -- score normalized to 10
Reason
all changesets reviewed
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
security policy file detected
Details
- Info: security policy file detected: github.com/facebook/.github/SECURITY.md:1
- Info: Found linked content: github.com/facebook/.github/SECURITY.md:1
- Warn: One or no descriptive hints of disclosure, vulnerability, and/or timelines in security policy
- Info: Found text in security policy: github.com/facebook/.github/SECURITY.md:1
Reason
binaries present in source code
Details
- Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1
- Warn: binary detected: packages/gradle-plugin/gradle/wrapper/gradle-wrapper.jar:1
- Warn: binary detected: packages/helloworld/android/gradle/wrapper/gradle-wrapper.jar:1
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/autorebase.yml:14
- Info: jobLevel 'pull-requests' permission set to 'read': .github/workflows/autorebase.yml:15
- Info: jobLevel 'contents' permission set to 'read': .github/workflows/needs-attention.yml:13
- Info: topLevel 'contents' permission set to 'read': .github/workflows/autorebase.yml:9
- Warn: no topLevel permission defined: .github/workflows/cache-reaper.yml:1
- Warn: no topLevel permission defined: .github/workflows/check-for-reproducer.yml:1
- Warn: no topLevel permission defined: .github/workflows/check-nightly.yml:1
- Info: topLevel 'contents' permission set to 'read': .github/workflows/close-pr.yml:6
- Warn: no topLevel permission defined: .github/workflows/create-release.yml:1
- Warn: topLevel 'actions' permission set to 'write': .github/workflows/danger-pr.yml:8
- Warn: topLevel 'checks' permission set to 'write': .github/workflows/danger-pr.yml:9
- Warn: topLevel 'contents' permission set to 'write': .github/workflows/danger-pr.yml:10
- Warn: topLevel 'statuses' permission set to 'write': .github/workflows/danger-pr.yml:13
- Info: topLevel 'contents' permission set to 'read': .github/workflows/needs-attention.yml:8
- Warn: no topLevel permission defined: .github/workflows/nightly.yml:1
- Warn: topLevel 'contents' permission set to 'write': .github/workflows/on-issue-labeled.yml:8
- Warn: no topLevel permission defined: .github/workflows/publish-bumped-packages.yml:1
- Warn: no topLevel permission defined: .github/workflows/publish-release.yml:1
- Warn: no topLevel permission defined: .github/workflows/stale-bot.yml:1
- Warn: no topLevel permission defined: .github/workflows/test-all.yml:1
- Warn: no topLevel permission defined: .github/workflows/test-libraries-on-nightlies.yml:1
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/autorebase.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/autorebase.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/autorebase.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/autorebase.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/cache-reaper.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/cache-reaper.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/cache-reaper.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/cache-reaper.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check-for-reproducer.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/check-for-reproducer.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check-for-reproducer.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/check-for-reproducer.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check-nightly.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/check-nightly.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/close-pr.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/close-pr.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/create-release.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/create-release.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/danger-pr.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/danger-pr.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/needs-attention.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/needs-attention.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/needs-attention.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/needs-attention.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nightly.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/nightly.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nightly.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/nightly.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nightly.yml:95: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/nightly.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nightly.yml:151: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/nightly.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nightly.yml:184: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/nightly.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nightly.yml:73: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/nightly.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nightly.yml:111: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/nightly.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nightly.yml:130: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/nightly.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/on-issue-labeled.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/on-issue-labeled.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/on-issue-labeled.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/on-issue-labeled.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/on-issue-labeled.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/on-issue-labeled.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/on-issue-labeled.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/on-issue-labeled.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/on-issue-labeled.yml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/on-issue-labeled.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-bumped-packages.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/publish-bumped-packages.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-release.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/publish-release.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-release.yml:108: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/publish-release.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-release.yml:127: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/publish-release.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-release.yml:182: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/publish-release.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-release.yml:194: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/publish-release.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-release.yml:204: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/publish-release.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-release.yml:70: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/publish-release.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-release.yml:92: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/publish-release.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-release.yml:148: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/publish-release.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-release.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/publish-release.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/stale-bot.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/stale-bot.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/stale-bot.yml:66: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/stale-bot.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/stale-bot.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/stale-bot.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/stale-bot.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/stale-bot.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-all.yml:525: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-all.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-all.yml:529: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-all.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-all.yml:534: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-all.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-all.yml:561: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-all.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-all.yml:576: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-all.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-all.yml:604: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-all.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-all.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-all.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-all.yml:182: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-all.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-all.yml:454: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-all.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-all.yml:460: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-all.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-all.yml:398: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-all.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-all.yml:111: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-all.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-all.yml:150: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-all.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-all.yml:324: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-all.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-all.yml:330: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-all.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-all.yml:335: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-all.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-all.yml:340: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-all.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-all.yml:621: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-all.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-all.yml:65: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-all.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-all.yml:211: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-all.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-all.yml:213: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-all.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-all.yml:417: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-all.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-all.yml:244: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-all.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/test-all.yml:252: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-all.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-all.yml:256: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-all.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-all.yml:261: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-all.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-all.yml:436: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-all.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-all.yml:496: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-all.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-all.yml:633: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-all.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-all.yml:89: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-all.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-all.yml:128: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-all.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-libraries-on-nightlies.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-libraries-on-nightlies.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-libraries-on-nightlies.yml:70: update your workflow using https://app.stepsecurity.io/secureworkflow/facebook/react-native/test-libraries-on-nightlies.yml/main?enable=pin
- Info: 0 out of 70 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 3 third-party GitHubAction dependencies pinned
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
11 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-2rxp-v6pw-ch6m
- Warn: Project is vulnerable to: GHSA-4xqq-m2hx-25v8
- Warn: Project is vulnerable to: GHSA-5866-49gr-22v4
- Warn: Project is vulnerable to: GHSA-r55c-59qm-vjw6
- Warn: Project is vulnerable to: GHSA-vg3r-rm7w-2xgh
- Warn: Project is vulnerable to: GHSA-vmwr-mc7x-5vc3
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6
- Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg
- Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p
- Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3
Score
5.1
/10
Last Scanned on 2025-01-06
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More