Installations
npm install @lingui/babel-preset-react
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
12.16.3
NPM Version
6.13.6
Score
70.5
Supply Chain
72
Quality
77.9
Maintenance
100
Vulnerability
100
License
Releases
Contributors
Languages
TypeScript (90.09%)
MDX (6.24%)
JavaScript (2.01%)
SCSS (1.48%)
Vue (0.17%)
Shell (0.01%)
Developer
Download Statistics
Total Downloads
2,318,829
Last Day
885
Last Week
3,660
Last Month
13,451
Last Year
216,244
GitHub Statistics
4,850 Stars
2,522 Commits
394 Forks
32 Watching
7 Branches
222 Contributors
Bundle Size
16.60 kB
Minified
4.61 kB
Minified + Gzipped
Package Meta Information
Latest Version
2.9.2
Package Id
@lingui/babel-preset-react@2.9.2
Unpacked Size
3.23 kB
Size
1.62 kB
File Count
4
NPM Version
6.13.6
Node Version
12.16.3
Total Downloads
Cumulative downloads
Total Downloads
2,318,829
Last day
8.1%
885
Compared to previous day
Last week
3%
3,660
Compared to previous week
Last month
9.6%
13,451
Compared to previous month
Last year
-18.6%
216,244
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
@lingui/babel-preset-react
Babel preset for all Lingui plugins required in React apps (for vanilla JS apps see @lingui/babel-preset-js).
@lingui/babel-preset-react
is part of LinguiJS. See the documentation for all information, tutorials and examples.
Installation
1npm install --save-dev @lingui/babel-preset-react 2# yarn add --dev @lingui/babel-preset-react
Usage
Via .babelrc
(Recommended)
.babelrc
1{ 2 "presets": ["@lingui/babel-preset-react"] 3}
Via CLI
1babel script.js --presets @lingui/babel-preset-react
Via Node API
1require("@babel/core").transform("code", { 2 presets: ["@lingui/babel-preset-react"] 3});
License
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
30 commit(s) and 23 issue activity found in the last 90 days -- score normalized to 10
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
Found 15/30 approved changesets -- score normalized to 5
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/docs-suite.yml:1
- Warn: no topLevel permission defined: .github/workflows/lint-pr-title.yml:1
- Warn: no topLevel permission defined: .github/workflows/main-suite.yml:1
- Warn: no topLevel permission defined: .github/workflows/next-sync.yml:1
- Warn: no topLevel permission defined: .github/workflows/release-docs.yml:1
- Warn: no topLevel permission defined: .github/workflows/release-test.yml:1
- Warn: no topLevel permission defined: .github/workflows/release.yml:1
- Warn: no topLevel permission defined: .github/workflows/size-limit.yml:1
- Info: no jobLevel write permissions found
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
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs-suite.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/lingui/js-lingui/docs-suite.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docs-suite.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/lingui/js-lingui/docs-suite.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/lint-pr-title.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/lingui/js-lingui/lint-pr-title.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main-suite.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/lingui/js-lingui/main-suite.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main-suite.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/lingui/js-lingui/main-suite.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/main-suite.yml:81: update your workflow using https://app.stepsecurity.io/secureworkflow/lingui/js-lingui/main-suite.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main-suite.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/lingui/js-lingui/main-suite.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main-suite.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/lingui/js-lingui/main-suite.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/next-sync.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/lingui/js-lingui/next-sync.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/next-sync.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/lingui/js-lingui/next-sync.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/next-sync.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/lingui/js-lingui/next-sync.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-docs.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/lingui/js-lingui/release-docs.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-docs.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/lingui/js-lingui/release-docs.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-docs.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/lingui/js-lingui/release-docs.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-test.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/lingui/js-lingui/release-test.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release-test.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/lingui/js-lingui/release-test.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/lingui/js-lingui/release.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/lingui/js-lingui/release.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/lingui/js-lingui/release.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/size-limit.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/lingui/js-lingui/size-limit.yml/main?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/size-limit.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/lingui/js-lingui/size-limit.yml/main?enable=pin
- Warn: npmCommand not pinned by hash: .github/workflows/release-test.yml:34
- Info: 0 out of 15 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 6 third-party GitHubAction dependencies pinned
- Info: 0 out of 1 npmCommand dependencies pinned
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 28 are checked with a SAST tool
Reason
68 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-hpx4-r86g-5jrg
- Warn: Project is vulnerable to: GHSA-prr3-c3m5-p7q2
- Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92
- Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw
- Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw
- Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-w8qv-6jwh-64r5
- Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c
- Warn: Project is vulnerable to: GHSA-ghr5-ch3p-vcr6
- Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc
- Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx
- Warn: Project is vulnerable to: GHSA-74fj-2j2h-c42q
- Warn: Project is vulnerable to: GHSA-pw2r-vq6v-hr8c
- Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc
- Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp
- Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6
- Warn: Project is vulnerable to: GHSA-c7qv-q95q-8v27
- Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37
- Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22
- Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp
- Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h
- Warn: Project is vulnerable to: GHSA-76p3-8jx3-jpfq
- Warn: Project is vulnerable to: GHSA-3rfm-jhwj-7488
- Warn: Project is vulnerable to: GHSA-hhq3-ff78-jv3g
- 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-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3
- Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m
- Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h
- Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55
- Warn: Project is vulnerable to: GHSA-rp65-9cf3-cjxr
- Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9
- Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j
- Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w
- Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j
- Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg
- Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p
- Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36
- Warn: Project is vulnerable to: GHSA-jgrx-mgxx-jf9v
- Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3
- Warn: Project is vulnerable to: GHSA-4vvj-4cpr-p986 / GHSA-64vr-g452-qvp3
- Warn: Project is vulnerable to: GHSA-wr3j-pwj9-hqq6
- Warn: Project is vulnerable to: GHSA-g78m-2chm-r7qv
- Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7
- Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q
- Warn: Project is vulnerable to: GHSA-c59h-r6p8-q9wc
- Warn: Project is vulnerable to: GHSA-7m27-7ghc-44w9
- Warn: Project is vulnerable to: GHSA-g77x-44xx-532m
- Warn: Project is vulnerable to: GHSA-7gfc-8cq8-jh5f
- Warn: Project is vulnerable to: GHSA-3q56-9cc2-46j4
- Warn: Project is vulnerable to: GHSA-6w63-h3fj-q4vw
- Warn: Project is vulnerable to: GHSA-3g92-w8c5-73pq
- Warn: Project is vulnerable to: GHSA-c76h-2ccp-4975
- Warn: Project is vulnerable to: GHSA-9cwx-2883-4wfx
- Warn: Project is vulnerable to: GHSA-vg6x-rcgg-rjx6
- Warn: Project is vulnerable to: GHSA-84jw-g43v-8gjm
- Warn: Project is vulnerable to: GHSA-cg87-wmx4-v546
- Warn: Project is vulnerable to: GHSA-g974-hxvm-x689
- Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6
- Warn: Project is vulnerable to: GHSA-vx3p-948g-6vhq
- Warn: Project is vulnerable to: GHSA-f9xv-q969-pqx4
Score
4.3
/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