Installations
npm install babel-preset-expo-modern
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
14.16.0
NPM Version
6.14.11
Score
58
Supply Chain
77.9
Quality
73.8
Maintenance
100
Vulnerability
99.3
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
mailmindlin
Download Statistics
Total Downloads
7,754
Last Day
2
Last Week
24
Last Month
813
Last Year
5,665
GitHub Statistics
14 Commits
2 Watching
3 Branches
1 Contributors
Package Meta Information
Latest Version
0.1.3
Package Id
babel-preset-expo-modern@0.1.3
Unpacked Size
13.43 kB
Size
4.53 kB
File Count
15
NPM Version
6.14.11
Node Version
14.16.0
Total Downloads
Cumulative downloads
Total Downloads
7,754
Last day
-93.5%
2
Compared to previous day
Last week
-91.5%
24
Compared to previous week
Last month
-6.2%
813
Compared to previous month
Last year
902.7%
5,665
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
18
Peer Dependencies
1
Dev Dependencies
1
babel-preset-expo-modern
Babel preset for Expo that won't transpile all the way back to ES5
Using the default expo/metro preset for Babel will yield you code that's pretty portable,
but uses more transforms than are strictly necessary. Modern browsers support destructuring,
computed properties, ES6 classes, arrow functions, for-of, and a slew of other features that
are transpiled away by metro-react-native-babel-preset
. Simply by not doing that, we can
emit better source maps and cleaner code for debugging.
Included transforms
These syntax elements will be transpiled away
- Expo vector icons transform
- Flow syntax
- Decorators
- Class properties
- Nullish coalescing
- Optional chaining
- Optional catch binding
- Dynamic import
- Export default from
- JSX
- JSX sourcemap
- TypeScript
- (optionally) Import/export => CommonJS
Removed transforms (present in metro)
Use metro/expo preset if you use these syntax elements AND your target browser doesn't support them.
- Block scoping
- Computed properties
- Destructuring
- Integer literals
- Rest/default parameters
- Shorthand properties
- Sticky regex
- Unicode regex
- Arrow functions
- ES6 classes
- For-of
- Spread
- Template literals
- Exponentiation operator
- Object.assign
- Object rest/spread
- Symbol members
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
8 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92
- Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c
- Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h
- Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw
- Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9
- Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm
- Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3
- Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9
Reason
Found 0/14 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
license file not detected
Details
- Warn: project does not have a license file
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
1.6
/10
Last Scanned on 2025-01-27
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