New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

trifid-plugin-graph-explorer

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

trifid-plugin-graph-explorer - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

5

index.js
const absoluteUrl = require('absolute-url')
const express = require('express')
const path = require('path')
const url = require('url')

@@ -19,3 +18,3 @@ function middleware (options) {

const urlPathname = url.parse(req.originalUrl).pathname
const urlPathname = new URL(req.originalUrl).pathname

@@ -28,3 +27,3 @@ // redirect to trailing slash URL for relative pathes of JS and CSS files

// read SPARQL endpoint URL from options and resolve with absoluteUrl
res.locals.endpointUrl = url.resolve(req.absoluteUrl(), options.endpointUrl)
res.locals.endpointUrl = new URL(options.endpointUrl, req.absoluteUrl()).href

@@ -31,0 +30,0 @@ res.render(options.template)

8

package.json
{
"name": "trifid-plugin-graph-explorer",
"description": "Trifid Graph Explorer plugin",
"version": "0.2.0",
"version": "0.3.0",
"license": "MIT",

@@ -19,8 +19,8 @@ "homepage": "https://github.com/zazuko/trifid-plugin-graph-explorer",

"absolute-url": "^1.2.2",
"express": "^4.15.4",
"graph-explorer": "^1.0.0"
"express": "^4.17.1",
"graph-explorer": "^1.1.0"
},
"devDependencies": {
"standard": "^10.0.3"
"standard": "^16.0.4"
}
}

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