Gathering detailed insights and metrics for babel-plugin-transform-builtin-extend-fixed
Gathering detailed insights and metrics for babel-plugin-transform-builtin-extend-fixed
npm install babel-plugin-transform-builtin-extend-fixed
Typescript
Module System
Node Version
NPM Version
65.8
Supply Chain
78.4
Quality
73.2
Maintenance
25
Vulnerability
99.6
License
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
4,389
Last Day
1
Last Week
5
Last Month
23
Last Year
473
MIT License
147 Stars
9 Commits
19 Forks
4 Watchers
1 Branches
2 Contributors
Updated on Jan 02, 2025
Latest Version
1.1.4
Package Id
babel-plugin-transform-builtin-extend-fixed@1.1.4
Unpacked Size
60.59 kB
Size
16.71 kB
File Count
9
NPM Version
5.7.1
Node Version
8.9.1
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
0%
5
Compared to previous week
Last Month
109.1%
23
Compared to previous month
Last Year
2.6%
473
Compared to previous year
2
5
This is a Babel 6 plugin to enable extending builtin types like "Error" and "Array" and such, which require special treatment and require static analysis to detect.
In your Babel 6 configuration, for example in a .babelrc
you might have
{
"plugins": [
["babel-plugin-transform-builtin-extend", {
globals: ["Error", "Array"]
}]
]
}
which would enable the plugin and configure it to look for any class extending Error
or Array
globals.
On older browsers that do not support reassigning the prototype of an existing object, you will need to
enable the approximate
mode, which will fall back to the Babel 5 behavior of using simple ES5 inheritance
to approximate extending a class, though your results may vary depending on your goals.
{
"plugins": [
["babel-plugin-transform-builtin-extend", {
globals: ["Error", "Array"],
approximate: true
}]
]
}
This plugin will only reles on assigning __proto__
for static property inheritance from parent constructors.
If you are relying on this, it will not work on IE<=10 and any other browsers that don't support __proto__
.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 1/8 approved changesets -- score normalized to 1
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
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-02-10
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