Installations
npm install jest-mdx-loader
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
8.9.4
NPM Version
6.3.0
Score
65.2
Supply Chain
80.6
Quality
75.1
Maintenance
100
Vulnerability
100
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
JosephConradBlack
Download Statistics
Total Downloads
3,772
Last Day
12
Last Week
16
Last Month
19
Last Year
223
GitHub Statistics
2 Stars
6 Commits
4 Forks
1 Branches
1 Contributors
Package Meta Information
Latest Version
0.1.1
Package Id
jest-mdx-loader@0.1.1
Unpacked Size
28.04 kB
Size
8.98 kB
File Count
6
NPM Version
6.3.0
Node Version
8.9.4
Total Downloads
Cumulative downloads
Total Downloads
3,772
Last day
500%
12
Compared to previous day
Last week
700%
16
Compared to previous week
Last month
58.3%
19
Compared to previous month
Last year
58.2%
223
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dev Dependencies
3
jest-mdx-loader
Jest transformer that wraps mdx-js/mx webpack loader
Install
yarn add --dev jest-mdx-loader
Usage
Install jest-mdx-loader and then add it to your jest.config.js under transform:
1/// jest.config.js 2 3module.exports = { 4 //... 5 transform: { 6 "^.+\\.jsx?$": "babel-jest", 7 ".mdx?$": "jest-mdx-loader" 8 } 9 //... 10};
If you need to perform any additional pre-processing prior to parsing with mdx you can easily extend the loader as follows:
1// src/my-custom-jest-mdx-loader.js 2 3preMdxParseCallback = function(src) { 4 var modifiedSrc = src; 5 6 // CUSTOM LOGIC HERE 7 8 return modifiedSrc; 9}; 10 11module.exports = { 12 process: createTransformer(preMdxParseCallback) 13};
1/// jest.config.js 2 3module.exports = { 4 //... 5 transform: { 6 "^.+\\.jsx?$": "babel-jest", 7 ".mdx?$": "<rootDir>/src/my-custom-jest-mdx-loader.js" 8 } 9 //... 10};
Licence
MIT © Joseph Black
No vulnerabilities found.
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 0/6 approved changesets -- score normalized to 0
Reason
project is archived
Details
- Warn: Repository is archived.
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
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
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
16 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92
- Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h
- Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574
- Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm
- Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695
- 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-vh95-rmgr-6w4m / GHSA-xvch-5gv4-984h
- Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g
- Warn: Project is vulnerable to: GHSA-w5p7-h5w8-2hfq
- Warn: Project is vulnerable to: GHSA-662x-fhqg-9p8v
- Warn: Project is vulnerable to: GHSA-394c-5j6w-4xmx
- Warn: Project is vulnerable to: GHSA-78cj-fxph-m83p
- Warn: Project is vulnerable to: GHSA-fhg7-m89q-25r3
Score
1.7
/10
Last Scanned on 2024-12-23
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