Security News
The Unpaid Backbone of Open Source: Solo Maintainers Face Increasing Security Demands
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
load-source-map
Advanced tools
Reads a source file and extracts a sourcemap for consumption (inline or external)
Given a source file location, will load any referenced (or inline) source map.
Result is a SourceMapConsumer.
$ npm install --save load-source-map
var loadSourceMap = require('load-source-map')
loadSourceMap(__filename, function (err, sourcemap) {
if (err) {
throw err
}
if (!sourcemap) {
// No source map found
return
}
console.log(sourcemap.originalPositionFor({
line: 3,
column: 10,
}))
// { source: 'some-file.js',
// line: 2,
// column: 2,
// name: null }
})
MIT-licensed. See LICENSE.
FAQs
Reads a source file and extracts a sourcemap for consumption (inline or external)
The npm package load-source-map receives a total of 17,017 weekly downloads. As such, load-source-map popularity was classified as popular.
We found that load-source-map 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
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.
Security News
A developer is accusing Tencent of violating the GPL by modifying a Python utility and changing its license to BSD, highlighting the importance of copyleft compliance.