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

@braidjs/antimatter_wiki

Package Overview
Dependencies
Maintainers
4
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@braidjs/antimatter_wiki - npm Package Compare versions

Comparing version 0.0.2 to 0.1.0

4

app.js
// Example app
var port = 60509,
host = 'localhost'
domain = 'localhost:60509'

@@ -9,2 +9,2 @@ process.on('uncaughtException', console.log)

require('@braidjs/antimatter_wiki').serve({port, host})
require('@braidjs/antimatter_wiki').serve({port, domain})
{
"name": "@braidjs/antimatter_wiki",
"version": "0.0.2",
"version": "0.1.0",
"description": "collaborative wiki using antimatter sync algorithm",

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

@@ -5,3 +5,3 @@ var default_fissure_lifetime = 1000 * 60 * 60 * 24 * 14 // 14 days

function serve({port, host, fissure_lifetime = default_fissure_lifetime}) {
function serve({port, domain, fissure_lifetime = default_fissure_lifetime}) {
console.log('v28')

@@ -105,3 +105,3 @@

client_html = '' + client_html
client_html = client_html.replace(/__WIKI_HOST__/, `ws://${host}:${port}`)
client_html = client_html.replace(/__WIKI_HOST__/, `ws://${domain}`)
var etag = require('crypto').createHash('md5').update(client_html).digest('hex')

@@ -108,0 +108,0 @@ if (req.headers['if-none-match'] === etag) {

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