Efficiently applies the minimum of transforms to run stage 4 code on Node.js 6, 8 and 10
Installations
npm install @ava/babel-preset-stage-4
Releases
Unable to fetch releases
Developer
avajs
Developer Guide
Module System
Unable to determine the module system for this package.
Min. Node Version
>=8.9.4 <9 || >=10.0.0 <11 || >=12.0.0
Typescript Support
No
Node Version
12.8.0
NPM Version
6.10.3
Statistics
13 Stars
59 Commits
6 Forks
7 Watching
2 Branches
4 Contributors
Updated on 28 Jan 2023
Languages
JavaScript (100%)
Total Downloads
Cumulative downloads
Total Downloads
35,132,728
Last day
-17.4%
14,478
Compared to previous day
Last week
11.3%
96,973
Compared to previous week
Last month
30.7%
352,775
Compared to previous month
Last year
-8.4%
3,491,744
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
@ava/babel-preset-stage-4
Aspires to bring finished ECMAScript proposals to AVA's test and helper files.
Efficiently applies the minimum of transforms to run the latest JavaScript syntax on Node.js 8, 10 and 12.
Built-ins are not added or extended, so features like Proxies, Array.prototype.includes
or String.prototype.padStart
will only be available if the Node.js version running the tests supports it. Consult node.green for details.
Sometimes a particular feature is mostly implemented in Node.js. In that case transforms are not applied.
Not all proposals can be supported via Babel transforms, see below for details. Babel may require "syntax" plugins in order to parse certain files. These plugins should be applied explicitly since this preset may not include them.
Install
1$ npm install --save @ava/babel-preset-stage-4
Usage
Add @ava/stage-4
to your Babel presets.
Options
For more information on setting options for a preset, refer to the preset options documentation.
modules
By default this preset transform ES2015 modules to CommonJS. Set to false
to disable this behavior. Other values are ignored.
Supported proposals
†@babel/plugin-proposal-async-generator-functions
relies on Symbol.asyncIterator
, which AVA does not polyfill for you.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities 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/avajs/.github/SECURITY.md:1
- Info: Found linked content: github.com/avajs/.github/SECURITY.md:1
- Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/avajs/.github/SECURITY.md:1
- Info: Found text in security policy: github.com/avajs/.github/SECURITY.md:1
Reason
Found 2/18 approved changesets -- score normalized to 1
Reason
project is archived
Details
- Warn: Repository is archived.
Reason
no effort to earn an OpenSSF best practices badge detected
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
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 20 are checked with a SAST tool
Score
4
/10
Last Scanned on 2024-11-25
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