Gathering detailed insights and metrics for eslint-plugin-ecmascript-compat
Gathering detailed insights and metrics for eslint-plugin-ecmascript-compat
Gathering detailed insights and metrics for eslint-plugin-ecmascript-compat
Gathering detailed insights and metrics for eslint-plugin-ecmascript-compat
*** DEPRECATED*** Check JavaScript code compatibility with target runtime environments
npm install eslint-plugin-ecmascript-compat
Typescript
Module System
Min. Node Version
Node Version
NPM Version
75
Supply Chain
79.8
Quality
73.5
Maintenance
100
Vulnerability
98.6
License
JavaScript (100%)
Total Downloads
335,736
Last Day
98
Last Week
3,692
Last Month
16,224
Last Year
141,507
MIT License
69 Stars
218 Commits
14 Forks
3 Watchers
1 Branches
7 Contributors
Updated on Jan 08, 2025
Minified
Minified + Gzipped
Latest Version
3.2.1
Package Id
eslint-plugin-ecmascript-compat@3.2.1
Unpacked Size
63.72 kB
Size
13.13 kB
File Count
33
NPM Version
lerna/4.0.0/node@v18.19.0+x64 (win32)
Node Version
18.19.0
Published on
Mar 08, 2024
Cumulative downloads
Total Downloads
Last Day
-70.7%
98
Compared to previous day
Last Week
16.8%
3,692
Compared to previous week
Last Month
25.6%
16,224
Compared to previous month
Last Year
34%
141,507
Compared to previous year
1
1
ESLint plugin for checking JavaScript code compatibility with target browsers and Node.js versions
1npm install --save-dev eslint-plugin-ecmascript-compat
1// .eslintrc.json 2{ 3 "extends": ["plugin:ecmascript-compat/recommended"] 4} 5 6// Alternatively 7{ 8 "plugins": ["ecmascript-compat"], 9 "rules": { 10 "ecmascript-compat/compat": [ 11 "error", 12 { 13 // Optionally, specify provided polyfills 14 "polyfills": [ 15 "Array.prototype.includes" 16 ], 17 // Optionally, provide a browserslist to use instead of the project one 18 "overrideBrowserslist": "IE >= 11", 19 // Optionally, specify browserslist options - see https://github.com/browserslist/browserslist#js-api 20 "browserslistOptions": { "env": "legacy" } 21 } 22 ] 23 } 24}
// .browserslistrc
Chrome >= 64
Firefox >= 58
The optional polyfills
option is used to specify polyfills that your application loads. These features are therefore considered supported in all browsers. Features that are polyfillable and can be specified here can be found in the rule schema.
For example usage, see sibling directory: eslint-plugin-ecmascript-compat-example
➡ For more information, see the main readme.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
Reason
Found 2/30 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
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
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
28 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-30
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