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

appserver

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appserver - npm Package Compare versions

Comparing version 0.1.1 to 0.2.0

lib/middleware/login.js

13

Gruntfile.js

@@ -21,5 +21,12 @@ 'use strict';

'Gruntfile.js',
'lib/**/*.js',
'spec/**/*.js'
]
'lib/**/*.js'
],
specs: {
options: {
jshintrc: 'spec/.jshintrc'
},
files: [{
src: ['spec/**/*.js']
}]
}
},

@@ -26,0 +33,0 @@ mochaTest: {

@@ -10,4 +10,5 @@ module.exports = {

manifests: require('./middleware/manifests').create,
login: require('./middleware/login').create,
proxy: require('./middleware/proxy').create
}
};

@@ -27,2 +27,3 @@ function unifyOptions(options) {

var manifestsMiddleware = require('./middleware/manifests');
var loginMiddleware = require('./middleware/login');
var localFilesMiddleware = require('./middleware/localfiles');

@@ -36,2 +37,3 @@ var proxyMiddleware = require('./middleware/proxy');

.use(manifestsMiddleware.create(options))
.use(loginMiddleware.create(options))
.use(localFilesMiddleware.create(options))

@@ -38,0 +40,0 @@ .use(proxyMiddleware.create(options));

{
"name": "appserver",
"version": "0.1.1",
"version": "0.2.0",
"description": "A connect based middleware to support local development against a remote backend.",

@@ -32,4 +32,5 @@ "main": "./lib/appserver",

"grunt-contrib-watch": "~0.5.3",
"grunt-mocha-test": "~0.9.3"
"grunt-mocha-test": "~0.9.3",
"chai": "^1.9.1"
}
}

@@ -15,3 +15,3 @@ # appserver

npm install -g Open-Xchange-Frontend/appserver
npm install -g appserver

@@ -43,2 +43,22 @@ After that, you can run `appserver --help` in a terminal to get this help:

#### Options
Read more about the CLI options in detail:
##### verbose
Enables verbose output. During normal operation, ```appserver``` only writes errors to its console. By specifying this option one or more times, additional output can be enabled, depending on the value of each option:
- ```local```: The name of every read local file is written to standard output.
- ```local:error```: The name of files that have not been found locally are written to standard output (good for debugging missing files).
- ```remote```: The URL of every request for missing local files is written to standard output.
- ```proxy```: The URL of every client request which is forwarded as-is is written to standard output.
- ```all```: This is just a shortcut for ```-v local -v remote -v proxy```.
Output lines belonging to the same client request are grouped together and separated from the next request by an empty line.
##### zoneinfo
Specifies the path to the zoneinfo database. On POSIX systems, the default of ```/usr/share/zoneinfo/``` should always work. Even on systems without the database everything should just work if ```--server``` is specified, since any missing files will be fetched from the remote server. This option may still be useful when debugging time zone problems caused by different versions of the zoneinfo database.
### As a node module

@@ -45,0 +65,0 @@

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