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

bistre

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bistre - npm Package Compare versions

Comparing version 0.1.0 to 1.0.0

12

index.js

@@ -35,6 +35,12 @@ var combiner = require('stream-combiner')

function write(data, _, next) {
function safeparse(data) {
try {
data = JSON.parse(data)
} catch(e) {
} catch(e) { }
return data
}
function write(data, _, next) {
data = safeparse(data)
if (typeof data !== 'object') {
this.push(data)

@@ -47,3 +53,3 @@ this.push('\n')

var line = []
var name = data.name.replace(/\:[-:a-z0-9]{8,}$/g, '')
var name = data.name ? data.name.replace(/\:[-:a-z0-9]{8,}$/g, '') : ''

@@ -50,0 +56,0 @@ var nameColor = poolIndex[name] || (

{
"name": "bistre",
"version": "0.1.0",
"version": "1.0.0",
"main": "index.js",

@@ -5,0 +5,0 @@ "bin": {

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