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

@uniorg/localneo

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uniorg/localneo - npm Package Compare versions

Comparing version 1.8.0 to 1.8.1

2

package.json
{
"name": "@uniorg/localneo",
"version": "1.8.0",
"version": "1.8.1",
"author": "m.schmale@uniorg.de",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -16,6 +16,13 @@ const Router = require('./Router')

})
this.proxy.on('error', (err) => console.error(err.message))
}
handle (request, response) {
this.proxy.web(request, response)
try {
this.proxy.web(request, response)
} catch (e) {
console.error(e)
response.end(501)
}
}

@@ -22,0 +29,0 @@ }

@@ -35,3 +35,3 @@ const fs = require('fs')

return new TargetInfo({path, desc, target, name})
return new TargetInfo({ path, desc, target, name })
})

@@ -104,3 +104,3 @@

getDestTarget ({url: proxyUrl, auth}, {entryPath}, incomingPath) {
getDestTarget ({ url: proxyUrl, auth }, { entryPath }, incomingPath) {
return new Destination({

@@ -125,3 +125,3 @@ url: proxyUrl,

getAppTarget ({path: appPath, name, remotePath, preferLocal, localUrl}) {
getAppTarget ({ path: appPath, name, remotePath, preferLocal, localUrl }) {
if (!path.isAbsolute(appPath)) {

@@ -128,0 +128,0 @@ appPath = path.normalize(path.join(this.dir, appPath))

@@ -13,3 +13,3 @@ const test = require('tape')

const oldWd = process.cwd()
const tempdir = tmp.dirSync({unsafeCleanup: true})
const tempdir = tmp.dirSync({ unsafeCleanup: true })
if (!prepare) {

@@ -48,3 +48,3 @@ prepare = function () { Promise.resolve() }

const url = `http://${server.address().address}:${server.address().port}`
resolve({url, cleanup})
resolve({ url, cleanup })
})

@@ -79,7 +79,7 @@ app.listen(0, 'localhost')

applications: {
testApp: {path: './app'}
testApp: { path: './app' }
}
}
}
).then(({url, cleanup}) => {
).then(({ url, cleanup }) => {
const fileUrl = `${url}/app/index.html`

@@ -141,3 +141,3 @@ got(fileUrl)

)
).then(({url, cleanup}) => {
).then(({ url, cleanup }) => {
const fileUrl = `${url}/app/index.html`

@@ -198,3 +198,3 @@ got(fileUrl)

)
).then(({url, cleanup}) => {
).then(({ url, cleanup }) => {
const fileUrl = `${url}/app/index.html`

@@ -238,3 +238,3 @@ got(fileUrl)

}
).then(({url, cleanup}) => {
).then(({ url, cleanup }) => {
const fileUrl = `${url}/resources/sap-ui-version.json`

@@ -281,3 +281,3 @@ got(fileUrl)

}
).then(({url, cleanup}) => {
).then(({ url, cleanup }) => {
const fileUrl = `${url}/resources/sap-ui-version.json`

@@ -349,3 +349,3 @@ got(fileUrl)

}
).then(({url, cleanup}) => {
).then(({ url, cleanup }) => {
const fileUrl = `${url}/resources/sap-ui-version.json`

@@ -352,0 +352,0 @@ got(fileUrl)

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