Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bs-eslint-message

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bs-eslint-message - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

8

client.js

@@ -1,3 +0,1 @@

// replace bs-fullscreen-message with this shit
(function (socket) {

@@ -13,3 +11,5 @@

socket.on('msg:eslint', results => {
if (results[0].errorCount === 0) {
const newErrors = results.filter(obj => obj.errorCount > 0)
if (!newErrors.length) {
removeMsg()

@@ -19,3 +19,3 @@ return

addStyles()
addMessage({ title: 'ESLINT ERRORS', body: parseErrors(results) })
addMessage({ title: 'ESLINT ERRORS', body: parseErrors(newErrors) })
})

@@ -22,0 +22,0 @@

{
"name": "bs-eslint-message",
"version": "0.0.2",
"version": "0.0.3",
"description": "BrowserSync plugin to display eslint errors (or any other message) within connected browsers",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc