Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@honeybadger-io/webpack
Advanced tools
Webpack plugin to upload source maps to Honeybadger's API - http://docs.honeybadger.io/guides/source-maps.html
This is a webpack plugin to upload javascript sourcemaps to Honeybadger's API endpoint for source maps.
Word Up! to the thredUP development team for a similar webpack plugin they have authored.
Installing via Node.js
npm install @honeybadger-io/webpack --save-dev
These plugin parameters correspond to the Honeybadger Sourcemap API.
apiKey
(required)assetsUrl
(required)*
wildcards are supported. The plugin combines assetsUrl
with the generated minified js file name to build the API parameter minified_url
revision
(optional — default: "master")silent
(optional — default: "null/false")ignoreErrors
(optional — default: "null/false")const HoneybadgerSourceMapPlugin = require('@honeybadger-io/webpack')
const ASSETS_URL = 'https://cdn.example.com/assets';
const webpackConfig = {
plugins: [new HoneybadgerSourceMapPlugin({
apiKey: 'abc123',
assetsUrl: ASSETS_URL,
revision: 'master'
})]
}
const { environment } = require('@rails/webpacker')
const HoneybadgerSourceMapPlugin = require('@honeybadger-io/webpack')
// See Heroku notes in README https://github.com/honeybadger-io/honeybadger-rails-webpacker-example
// Assumes Heroku / 12-factor application style ENV variables
// named GIT_COMMIT, HONEYBADGER_API_KEY, ASSETS_URL
const revision = process.env.GIT_COMMIT || 'master'
environment.plugins.append(
'HoneybadgerSourceMap',
new HoneybadgerSourceMapPlugin({
apiKey: process.env.HONEYBADGER_API_KEY,
assetsUrl: process.env.ASSETS_URL,
silent: false,
ignoreErrors: false,
revision: revision
}))
module.exports = environment
See example Rails 5 application https://github.com/honeybadger-io/honeybadger-rails-webpacker-example
git checkout -b my_branch
git commit -am "Boom"
git push origin my_branch
Install the required npm packages with npm install
. Write code. Run tests npm test
. Repeat.
After that you can
The Honeybadger's Webpack Source Map Plugin is MIT licensed. See the MIT-LICENSE file in this repository for details.
FAQs
Webpack plugin to upload source maps to Honeybadger's API - http://docs.honeybadger.io/guides/source-maps.html
The npm package @honeybadger-io/webpack receives a total of 19,104 weekly downloads. As such, @honeybadger-io/webpack popularity was classified as popular.
We found that @honeybadger-io/webpack demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.