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

trollbox

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

trollbox - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"name": "trollbox",
"version": "0.0.1",
"version": "0.0.2",
"description": "",

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

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

WIP
# trollbox
wip
<!--

@@ -4,0 +6,0 @@ Database -> Rules

@@ -54,8 +54,7 @@ (function (root) {

function initFirebase (config) {
let room = config.room || ''
room = room.replace(/[^a-zA-Z\d]/, '_')
const channel = (config.channel || '').replace(/[^a-zA-Z\d]/, '_')
const app = window.firebase.initializeApp(config.firebase)
const db = app.database()
const ref = db.ref(`trollbox/${room}`)
const ref = db.ref(`trollbox/${channel}`)

@@ -62,0 +61,0 @@ return ref

Sorry, the diff of this file is not supported yet

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