Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
espower-source
Advanced tools
Power Assert instrumentor from code to code, with SourceMap.
espower-source
is a source code transformer that applies espower to target code.
espower
manipulates assertion expression (JavaScript Code) represented as Mozilla JavaScript AST, to instrument power-assert feature into the code. SourceMap information is appended in SourceMap Comment syntax at the end of returned code.
Please note that espower-source
is a beta version product. Pull-requests, issue reports and patches are always welcomed.
See power-assert project for more documentation.
See CHANGELOG
return type |
---|
string |
espowerSource
function manipulates originalCode
then returns (transformed) JavaScript code as string. SourceMap information is appended in SourceMap Comment syntax at the end of returned code.
type | default value |
---|---|
string | N/A |
Original JavaScript source code that is a source of code transformation.
type | default value |
---|---|
string | N/A |
Filepath of originalCode
. If passed, espowerSource stores filepath information for later reporting.
type | default value |
---|---|
object | (return value of espower.defaultOptions() but with destructive option is true ) |
Configuration options for espower
module. If not passed, default options (Same as espower.defaultOptions()) will be used, but destructive
option is set to true
by espower-source module.
Licensed under the MIT license.
FAQs
Power Assert instrumentor from source to source, with source-map
We found that espower-source demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.