Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
bs-eslint-message
Advanced tools
BrowserSync plugin to display eslint errors (or any other message) within connected browsers
BrowserSync plugin to display eslint errors (or any other message) within connected browsers. Built specifically for gulp-eslint
, but uses eslint's native error object, so should work with any eslint wrapper that exposes a results object.
Note: Uses a lot of es6 syntax, so probably won't work in older browsers 💁
npm i browser-sync gulp-eslint bs-eslint-message
const gulp = require('gulp')
const eslint = require('gulp-eslint')
const browserSync = require('browser-sync').create()
gulp.task('serve', () => {
browserSync.init({
server: 'dist',
plugins: ['bs-eslint-message']
})
})
gulp.task('lint', () => {
gulp.src('src/**/*.js')
.pipe(eslint())
.pipe(eslint.results(results => {
browserSync.sockets.emit('msg:eslint', results)
}))
.pipe(eslint.format())
})
const gulp = require('gulp')
const eslint = require('gulp-eslint')
const browserSync = require('browser-sync').create()
gulp.task('serve', () => {
browserSync.init({
server: 'dist',
plugins: ['bs-eslint-message']
})
// Basic message only needs title and body
setTimeout(() => {
browserSync.sockets.emit('msg', {
title: 'Hello world',
body: 'This is the best 💃'
})
}, 2000)
})
FAQs
BrowserSync plugin to display eslint errors (or any other message) within connected browsers
The npm package bs-eslint-message receives a total of 1 weekly downloads. As such, bs-eslint-message popularity was classified as not popular.
We found that bs-eslint-message 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.