├── webbit-nashorn
├── .gitignore
├── public
│ └── index.html
├── README.md
├── Makefile
├── demo.js
└── pom.xml
├── commonjs-support-nashorn
├── README
├── math.js
├── program.js
├── inc.js
├── CommonJSRunner.class
├── README.md
└── CommonJSRunner.java
├── express-nashorn
├── node_modules
│ └── express
│ │ ├── node_modules
│ │ ├── qs
│ │ │ ├── .jshintignore
│ │ │ ├── index.js
│ │ │ ├── .travis.yml
│ │ │ ├── CONTRIBUTING.md
│ │ │ ├── .jshintrc
│ │ │ ├── Makefile
│ │ │ ├── lib
│ │ │ │ ├── index.js
│ │ │ │ └── stringify.js
│ │ │ ├── .npmignore
│ │ │ ├── package.json
│ │ │ └── LICENSE
│ │ ├── methods
│ │ │ ├── .npmignore
│ │ │ ├── Readme.md
│ │ │ ├── History.md
│ │ │ ├── index.js
│ │ │ ├── test
│ │ │ │ └── methods.js
│ │ │ ├── LICENSE
│ │ │ └── package.json
│ │ ├── cookie
│ │ │ ├── .npmignore
│ │ │ ├── LICENSE
│ │ │ ├── README.md
│ │ │ ├── package.json
│ │ │ └── index.js
│ │ ├── escape-html
│ │ │ ├── .npmignore
│ │ │ ├── Makefile
│ │ │ ├── Readme.md
│ │ │ ├── component.json
│ │ │ ├── index.js
│ │ │ └── package.json
│ │ ├── debug
│ │ │ ├── .jshintrc
│ │ │ ├── .npmignore
│ │ │ ├── node_modules
│ │ │ │ └── ms
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── README.md
│ │ │ │ │ └── package.json
│ │ │ ├── component.json
│ │ │ ├── Makefile
│ │ │ └── package.json
│ │ ├── path-to-regexp
│ │ │ ├── .npmignore
│ │ │ ├── component.json
│ │ │ ├── History.md
│ │ │ ├── Readme.md
│ │ │ └── index.js
│ │ ├── vary
│ │ │ ├── .npmignore
│ │ │ ├── History.md
│ │ │ ├── LICENSE
│ │ │ ├── README.md
│ │ │ └── package.json
│ │ ├── cookie-signature
│ │ │ ├── .npmignore
│ │ │ ├── Makefile
│ │ │ ├── History.md
│ │ │ ├── index.js
│ │ │ ├── package.json
│ │ │ └── Readme.md
│ │ ├── proxy-addr
│ │ │ ├── node_modules
│ │ │ │ ├── ipaddr.js
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── Cakefile
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ └── package.json
│ │ │ │ └── forwarded
│ │ │ │ │ ├── HISTORY.md
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── README.md
│ │ │ │ │ └── package.json
│ │ │ ├── HISTORY.md
│ │ │ └── LICENSE
│ │ ├── parseurl
│ │ │ ├── .npmignore
│ │ │ ├── HISTORY.md
│ │ │ ├── LICENSE
│ │ │ └── package.json
│ │ ├── etag
│ │ │ ├── node_modules
│ │ │ │ └── crc
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── lib
│ │ │ │ │ ├── hex.js
│ │ │ │ │ ├── create.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── crc1.js
│ │ │ │ │ ├── crc.js
│ │ │ │ │ ├── crc8.js
│ │ │ │ │ └── crc8_1wire.js
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ └── package.json
│ │ │ ├── HISTORY.md
│ │ │ ├── LICENSE
│ │ │ └── package.json
│ │ ├── send
│ │ │ ├── node_modules
│ │ │ │ ├── ms
│ │ │ │ │ ├── .npmignore
│ │ │ │ │ ├── README.md
│ │ │ │ │ └── package.json
│ │ │ │ ├── destroy
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── README.md
│ │ │ │ │ └── package.json
│ │ │ │ └── mime
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ └── README.md
│ │ │ ├── LICENSE
│ │ │ └── package.json
│ │ ├── utils-merge
│ │ │ ├── .travis.yml
│ │ │ ├── index.js
│ │ │ ├── README.md
│ │ │ ├── LICENSE
│ │ │ └── package.json
│ │ ├── accepts
│ │ │ ├── node_modules
│ │ │ │ ├── mime-types
│ │ │ │ │ ├── node_modules
│ │ │ │ │ │ └── mime-db
│ │ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ │ └── package.json
│ │ │ │ │ ├── HISTORY.md
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── package.json
│ │ │ │ └── negotiator
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── lib
│ │ │ │ │ ├── negotiator.js
│ │ │ │ │ └── charset.js
│ │ │ │ │ └── package.json
│ │ │ ├── LICENSE
│ │ │ ├── HISTORY.md
│ │ │ └── package.json
│ │ ├── type-is
│ │ │ ├── node_modules
│ │ │ │ └── mime-types
│ │ │ │ │ ├── node_modules
│ │ │ │ │ └── mime-db
│ │ │ │ │ │ ├── index.js
│ │ │ │ │ │ ├── LICENSE
│ │ │ │ │ │ └── package.json
│ │ │ │ │ ├── HISTORY.md
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── package.json
│ │ │ ├── LICENSE
│ │ │ ├── HISTORY.md
│ │ │ └── package.json
│ │ ├── merge-descriptors
│ │ │ ├── component.json
│ │ │ ├── index.js
│ │ │ ├── .npmignore
│ │ │ ├── package.json
│ │ │ └── README.md
│ │ ├── fresh
│ │ │ ├── HISTORY.md
│ │ │ ├── LICENSE
│ │ │ ├── index.js
│ │ │ ├── README.md
│ │ │ └── package.json
│ │ ├── media-typer
│ │ │ ├── HISTORY.md
│ │ │ ├── LICENSE
│ │ │ └── package.json
│ │ ├── depd
│ │ │ ├── lib
│ │ │ │ └── compat
│ │ │ │ │ ├── buffer-concat.js
│ │ │ │ │ └── index.js
│ │ │ ├── LICENSE
│ │ │ ├── History.md
│ │ │ └── package.json
│ │ ├── range-parser
│ │ │ ├── HISTORY.md
│ │ │ ├── index.js
│ │ │ ├── LICENSE
│ │ │ ├── README.md
│ │ │ └── package.json
│ │ ├── content-disposition
│ │ │ ├── HISTORY.md
│ │ │ ├── LICENSE
│ │ │ └── package.json
│ │ ├── finalhandler
│ │ │ ├── HISTORY.md
│ │ │ ├── LICENSE
│ │ │ └── package.json
│ │ ├── on-finished
│ │ │ ├── node_modules
│ │ │ │ └── ee-first
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── index.js
│ │ │ │ │ └── package.json
│ │ │ ├── LICENSE
│ │ │ ├── HISTORY.md
│ │ │ └── package.json
│ │ └── serve-static
│ │ │ ├── LICENSE
│ │ │ └── package.json
│ │ ├── index.js
│ │ ├── lib
│ │ ├── middleware
│ │ │ ├── query.js
│ │ │ └── init.js
│ │ └── express.js
│ │ └── LICENSE
├── Main.class
├── README
├── dist
│ ├── avatar-js.jar
│ ├── Java-WebSocket.jar
│ └── libavatar-js.dylib
├── app.js
└── Main.java
├── README.md
└── chrome-remote-interface-nashorn
├── CHROME_DEBUG
├── dist
├── avatar-js.jar
├── Java-WebSocket.jar
└── libavatar-js.dylib
├── README
├── sample.js
└── chrome-remote-interface-nashorn
└── index.js
/webbit-nashorn/.gitignore:
--------------------------------------------------------------------------------
1 | target
--------------------------------------------------------------------------------
/commonjs-support-nashorn/README:
--------------------------------------------------------------------------------
1 | java CommonJSRunner program.js
2 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/qs/.jshintignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/methods/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules/
2 |
--------------------------------------------------------------------------------
/commonjs-support-nashorn/math.js:
--------------------------------------------------------------------------------
1 | exports.add = function(a,b){
2 | return a + b;
3 | }
4 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/cookie/.npmignore:
--------------------------------------------------------------------------------
1 | test
2 | .travis.yml
3 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/index.js:
--------------------------------------------------------------------------------
1 |
2 | module.exports = require('./lib/express');
3 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/escape-html/.npmignore:
--------------------------------------------------------------------------------
1 | components
2 | build
3 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/debug/.jshintrc:
--------------------------------------------------------------------------------
1 | {
2 | "laxbreak": true
3 | }
4 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/qs/index.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./lib');
2 |
--------------------------------------------------------------------------------
/express-nashorn/Main.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pk11/nashorn-demos/HEAD/express-nashorn/Main.class
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/path-to-regexp/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | coverage
3 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/vary/.npmignore:
--------------------------------------------------------------------------------
1 | coverage/
2 | test/
3 | .travis.yml
4 |
--------------------------------------------------------------------------------
/express-nashorn/README:
--------------------------------------------------------------------------------
1 | java -cp .:/dist/Java-WebSocket.jar:dist/avatar-js.jar -Djava.library.path=dist Main
2 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/qs/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 |
3 | node_js:
4 | - 0.10
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | nashorn-demos
2 | =============
3 | Nashorn demos presented at http://www.meetup.com/sv-jug/events/218752724/
4 |
--------------------------------------------------------------------------------
/commonjs-support-nashorn/program.js:
--------------------------------------------------------------------------------
1 | var inc = require('./inc').increment;
2 | var a = 7;
3 | a = inc(a);
4 | print(a);
5 |
--------------------------------------------------------------------------------
/express-nashorn/dist/avatar-js.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pk11/nashorn-demos/HEAD/express-nashorn/dist/avatar-js.jar
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/cookie-signature/.npmignore:
--------------------------------------------------------------------------------
1 | support
2 | test
3 | examples
4 | *.sock
5 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/proxy-addr/node_modules/ipaddr.js/.npmignore:
--------------------------------------------------------------------------------
1 | .idea
2 | node_modules
3 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/parseurl/.npmignore:
--------------------------------------------------------------------------------
1 | benchmark/
2 | coverage/
3 | test/
4 | .travis.yml
5 |
--------------------------------------------------------------------------------
/express-nashorn/dist/Java-WebSocket.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pk11/nashorn-demos/HEAD/express-nashorn/dist/Java-WebSocket.jar
--------------------------------------------------------------------------------
/express-nashorn/dist/libavatar-js.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pk11/nashorn-demos/HEAD/express-nashorn/dist/libavatar-js.dylib
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/debug/.npmignore:
--------------------------------------------------------------------------------
1 | support
2 | test
3 | examples
4 | example
5 | *.sock
6 | dist
7 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/etag/node_modules/crc/.npmignore:
--------------------------------------------------------------------------------
1 | benchmark
2 | src
3 | test
4 | .travis.yml
5 |
--------------------------------------------------------------------------------
/chrome-remote-interface-nashorn/CHROME_DEBUG:
--------------------------------------------------------------------------------
1 | /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222
2 |
--------------------------------------------------------------------------------
/commonjs-support-nashorn/inc.js:
--------------------------------------------------------------------------------
1 | var math = require('./math');
2 | exports.increment = function(n){
3 | return math.add(n, 1);
4 | }
5 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/methods/Readme.md:
--------------------------------------------------------------------------------
1 |
2 | # Methods
3 |
4 | HTTP verbs that node core's parser supports.
5 |
--------------------------------------------------------------------------------
/commonjs-support-nashorn/CommonJSRunner.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pk11/nashorn-demos/HEAD/commonjs-support-nashorn/CommonJSRunner.class
--------------------------------------------------------------------------------
/chrome-remote-interface-nashorn/dist/avatar-js.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pk11/nashorn-demos/HEAD/chrome-remote-interface-nashorn/dist/avatar-js.jar
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/debug/node_modules/ms/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | test
3 | History.md
4 | Makefile
5 | component.json
6 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/send/node_modules/ms/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | test
3 | History.md
4 | Makefile
5 | component.json
6 |
--------------------------------------------------------------------------------
/chrome-remote-interface-nashorn/dist/Java-WebSocket.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pk11/nashorn-demos/HEAD/chrome-remote-interface-nashorn/dist/Java-WebSocket.jar
--------------------------------------------------------------------------------
/chrome-remote-interface-nashorn/dist/libavatar-js.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pk11/nashorn-demos/HEAD/chrome-remote-interface-nashorn/dist/libavatar-js.dylib
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/utils-merge/.travis.yml:
--------------------------------------------------------------------------------
1 | language: "node_js"
2 | node_js:
3 | - "0.4"
4 | - "0.6"
5 | - "0.8"
6 | - "0.10"
7 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/proxy-addr/node_modules/forwarded/HISTORY.md:
--------------------------------------------------------------------------------
1 | 0.1.0 / 2014-09-21
2 | ==================
3 |
4 | * Initial release
5 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/qs/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | Please view our [hapijs contributing guide](https://github.com/hapijs/hapi/blob/master/CONTRIBUTING.md).
2 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/cookie-signature/Makefile:
--------------------------------------------------------------------------------
1 |
2 | test:
3 | @./node_modules/.bin/mocha \
4 | --require should \
5 | --reporter spec
6 |
7 | .PHONY: test
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/qs/.jshintrc:
--------------------------------------------------------------------------------
1 | {
2 | "node": true,
3 |
4 | "curly": true,
5 | "latedef": true,
6 | "quotmark": true,
7 | "undef": true,
8 | "unused": true,
9 | "trailing": true
10 | }
11 |
--------------------------------------------------------------------------------
/commonjs-support-nashorn/README.md:
--------------------------------------------------------------------------------
1 | CommonJS support for Nashorn
2 | ============================
3 |
4 | Compile
5 | =======
6 |
7 | `javac CommonJSRunner.java`
8 |
9 | How to Use
10 | ==========
11 | `java CommonJSRunner program.js`
12 |
13 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/escape-html/Makefile:
--------------------------------------------------------------------------------
1 |
2 | build: components index.js
3 | @component build
4 |
5 | components:
6 | @Component install
7 |
8 | clean:
9 | rm -fr build components template.js
10 |
11 | .PHONY: clean
12 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/escape-html/Readme.md:
--------------------------------------------------------------------------------
1 |
2 | # escape-html
3 |
4 | Escape HTML entities
5 |
6 | ## Example
7 |
8 | ```js
9 | var escape = require('escape-html');
10 | escape(str);
11 | ```
12 |
13 | ## License
14 |
15 | MIT
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/qs/Makefile:
--------------------------------------------------------------------------------
1 | test:
2 | @node node_modules/lab/bin/lab
3 | test-cov:
4 | @node node_modules/lab/bin/lab -t 100
5 | test-cov-html:
6 | @node node_modules/lab/bin/lab -r html -o coverage.html
7 |
8 | .PHONY: test test-cov test-cov-html
--------------------------------------------------------------------------------
/chrome-remote-interface-nashorn/README:
--------------------------------------------------------------------------------
1 | #start chrome with debugging on
2 | #/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222
3 | #then:
4 | java -cp dist/Java-WebSocket.jar:dist/avatar-js.jar -Djava.library.path=dist com.oracle.avatar.js.Server sample.js
5 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/accepts/node_modules/mime-types/node_modules/mime-db/index.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * mime-db
3 | * Copyright(c) 2014 Jonathan Ong
4 | * MIT Licensed
5 | */
6 |
7 | /**
8 | * Module exports.
9 | */
10 |
11 | module.exports = require('./db.json')
12 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/type-is/node_modules/mime-types/node_modules/mime-db/index.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * mime-db
3 | * Copyright(c) 2014 Jonathan Ong
4 | * MIT Licensed
5 | */
6 |
7 | /**
8 | * Module exports.
9 | */
10 |
11 | module.exports = require('./db.json')
12 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/escape-html/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "escape-html",
3 | "description": "Escape HTML entities",
4 | "version": "1.0.1",
5 | "keywords": ["escape", "html", "utility"],
6 | "dependencies": {},
7 | "scripts": [
8 | "index.js"
9 | ]
10 | }
11 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/etag/node_modules/crc/lib/hex.js:
--------------------------------------------------------------------------------
1 | // Generated by CoffeeScript 1.7.1
2 | module.exports = function(number) {
3 | var result;
4 | result = number.toString(16);
5 | while (result.length % 2) {
6 | result = "0" + result;
7 | }
8 | return result;
9 | };
10 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/merge-descriptors/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "merge-descriptors",
3 | "description": "Merge objects using descriptors",
4 | "version": "0.0.2",
5 | "scripts": [
6 | "index.js"
7 | ],
8 | "repo": "component/merge-descriptors",
9 | "license": "MIT"
10 | }
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/merge-descriptors/index.js:
--------------------------------------------------------------------------------
1 | module.exports = function (dest, src) {
2 | Object.getOwnPropertyNames(src).forEach(function (name) {
3 | var descriptor = Object.getOwnPropertyDescriptor(src, name)
4 | Object.defineProperty(dest, name, descriptor)
5 | })
6 |
7 | return dest
8 | }
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/qs/lib/index.js:
--------------------------------------------------------------------------------
1 | // Load modules
2 |
3 | var Stringify = require('./stringify');
4 | var Parse = require('./parse');
5 |
6 |
7 | // Declare internals
8 |
9 | var internals = {};
10 |
11 |
12 | module.exports = {
13 | stringify: Stringify,
14 | parse: Parse
15 | };
16 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/etag/node_modules/crc/lib/create.js:
--------------------------------------------------------------------------------
1 | // Generated by CoffeeScript 1.7.1
2 | module.exports = function(calc) {
3 | var fn;
4 | fn = function(buf, previous) {
5 | return calc(buf, previous) >>> 0;
6 | };
7 | fn.signed = calc;
8 | fn.unsigned = fn;
9 | return fn;
10 | };
11 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/qs/.npmignore:
--------------------------------------------------------------------------------
1 | .idea
2 | *.iml
3 | npm-debug.log
4 | dump.rdb
5 | node_modules
6 | results.tap
7 | results.xml
8 | npm-shrinkwrap.json
9 | config.json
10 | .DS_Store
11 | */.DS_Store
12 | */*/.DS_Store
13 | ._*
14 | */._*
15 | */*/._*
16 | coverage.*
17 | lib-cov
18 | complexity.md
19 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/path-to-regexp/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "path-to-regexp",
3 | "description": "Express style path to RegExp utility",
4 | "version": "0.1.3",
5 | "keywords": [
6 | "express",
7 | "regexp",
8 | "route",
9 | "routing"
10 | ],
11 | "scripts": [
12 | "index.js"
13 | ],
14 | "license": "MIT"
15 | }
16 |
--------------------------------------------------------------------------------
/express-nashorn/app.js:
--------------------------------------------------------------------------------
1 | var express = require('express')
2 | var app = express()
3 |
4 | app.get('/', function (req, res) {
5 | res.send('Hello World!');
6 | })
7 |
8 | var server = app.listen(3000, function () {
9 |
10 | var host = server.address().address
11 | var port = server.address().port
12 |
13 | console.log('Example app listening at http://%s:%s', host, port)
14 |
15 | })
16 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/methods/History.md:
--------------------------------------------------------------------------------
1 |
2 | 1.1.0 / 2014-07-05
3 | ==================
4 |
5 | * add CONNECT
6 |
7 | 1.0.1 / 2014-06-02
8 | ==================
9 |
10 | * fix index.js to work with harmony transform
11 |
12 | 1.0.0 / 2014-05-08
13 | ==================
14 |
15 | * add PURGE. Closes #9
16 |
17 | 0.1.0 / 2013-10-28
18 | ==================
19 |
20 | * add http.METHODS support
21 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/etag/node_modules/crc/lib/index.js:
--------------------------------------------------------------------------------
1 | // Generated by CoffeeScript 1.7.1
2 | module.exports = {
3 | crc1: require('./crc1'),
4 | crc8: require('./crc8'),
5 | crc81wire: require('./crc8_1wire'),
6 | crc16: require('./crc16'),
7 | crc16ccitt: require('./crc16_ccitt'),
8 | crc16modbus: require('./crc16_modbus'),
9 | crc24: require('./crc24'),
10 | crc32: require('./crc32')
11 | };
12 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/path-to-regexp/History.md:
--------------------------------------------------------------------------------
1 | 0.1.3 / 2014-07-06
2 | ==================
3 |
4 | * Better array support
5 | * Improved support for trailing slash in non-ending mode
6 |
7 | 0.1.0 / 2014-03-06
8 | ==================
9 |
10 | * add options.end
11 |
12 | 0.0.2 / 2013-02-10
13 | ==================
14 |
15 | * Update to match current express
16 | * add .license property to component.json
17 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/vary/History.md:
--------------------------------------------------------------------------------
1 | 1.0.0 / 2014-08-10
2 | ==================
3 |
4 | * Accept valid `Vary` header string as `field`
5 | * Add `vary.append` for low-level string manipulation
6 | * Move to `jshttp` orgainzation
7 |
8 | 0.1.0 / 2014-06-05
9 | ==================
10 |
11 | * Support array of fields to set
12 |
13 | 0.0.0 / 2014-06-04
14 | ==================
15 |
16 | * Initial release
17 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/debug/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "debug",
3 | "repo": "visionmedia/debug",
4 | "description": "small debugging utility",
5 | "version": "2.1.0",
6 | "keywords": [
7 | "debug",
8 | "log",
9 | "debugger"
10 | ],
11 | "main": "browser.js",
12 | "scripts": [
13 | "browser.js",
14 | "debug.js"
15 | ],
16 | "dependencies": {
17 | "guille/ms.js": "0.6.1"
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/escape-html/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Escape special characters in the given string of html.
3 | *
4 | * @param {String} html
5 | * @return {String}
6 | * @api private
7 | */
8 |
9 | module.exports = function(html) {
10 | return String(html)
11 | .replace(/&/g, '&')
12 | .replace(/"/g, '"')
13 | .replace(/'/g, ''')
14 | .replace(//g, '>');
16 | }
17 |
--------------------------------------------------------------------------------
/chrome-remote-interface-nashorn/sample.js:
--------------------------------------------------------------------------------
1 | var Chrome = require('chrome-remote-interface-nashorn');
2 | Chrome(function (chrome) {
3 | with(chrome){
4 | on('Network.requestWillBeSent', function (message) {
5 | console.log(message.request.url);
6 | });
7 | on('Page.loadEventFired', close);
8 | Network.enable();
9 | Page.enable();
10 | Page.navigate({'url': 'https://netflix.com'});
11 | }
12 | }).on('error', function () {
13 | console.error('Cannot connect to Chrome');
14 | });
15 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/utils-merge/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Merge object b with object a.
3 | *
4 | * var a = { foo: 'bar' }
5 | * , b = { bar: 'baz' };
6 | *
7 | * merge(a, b);
8 | * // => { foo: 'bar', bar: 'baz' }
9 | *
10 | * @param {Object} a
11 | * @param {Object} b
12 | * @return {Object}
13 | * @api public
14 | */
15 |
16 | exports = module.exports = function(a, b){
17 | if (a && b) {
18 | for (var key in b) {
19 | a[key] = b[key];
20 | }
21 | }
22 | return a;
23 | };
24 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/fresh/HISTORY.md:
--------------------------------------------------------------------------------
1 | 0.2.4 / 2014-09-07
2 | ==================
3 |
4 | * Support Node.js 0.6
5 |
6 | 0.2.3 / 2014-09-07
7 | ==================
8 |
9 | * Move repository to jshttp
10 |
11 | 0.2.2 / 2014-02-19
12 | ==================
13 |
14 | * Revert "Fix for blank page on Safari reload"
15 |
16 | 0.2.1 / 2014-01-29
17 | ==================
18 |
19 | * fix: support max-age=0 for end-to-end revalidation
20 |
21 | 0.2.0 / 2013-08-11
22 | ==================
23 |
24 | * fix: return false for no-cache
25 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/etag/node_modules/crc/lib/crc1.js:
--------------------------------------------------------------------------------
1 | // Generated by CoffeeScript 1.7.1
2 | var Buffer, create;
3 |
4 | Buffer = require('buffer').Buffer;
5 |
6 | create = require('./create');
7 |
8 | module.exports = create(function(buf, previous) {
9 | var accum, byte, crc, _i, _len;
10 | if (!Buffer.isBuffer(buf)) {
11 | buf = Buffer(buf);
12 | }
13 | crc = ~~previous;
14 | accum = 0;
15 | for (_i = 0, _len = buf.length; _i < _len; _i++) {
16 | byte = buf[_i];
17 | accum += byte;
18 | }
19 | crc += accum % 256;
20 | return crc % 256;
21 | });
22 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/media-typer/HISTORY.md:
--------------------------------------------------------------------------------
1 | 0.3.0 / 2014-09-07
2 | ==================
3 |
4 | * Support Node.js 0.6
5 | * Throw error when parameter format invalid on parse
6 |
7 | 0.2.0 / 2014-06-18
8 | ==================
9 |
10 | * Add `typer.format()` to format media types
11 |
12 | 0.1.0 / 2014-06-17
13 | ==================
14 |
15 | * Accept `req` as argument to `parse`
16 | * Accept `res` as argument to `parse`
17 | * Parse media type with extra LWS between type and first parameter
18 |
19 | 0.0.0 / 2014-06-13
20 | ==================
21 |
22 | * Initial implementation
23 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/cookie-signature/History.md:
--------------------------------------------------------------------------------
1 | 1.0.4 / 2014-06-25
2 | ==================
3 |
4 | * corrected avoidance of timing attacks (thanks @tenbits!)
5 |
6 |
7 | 1.0.3 / 2014-01-28
8 | ==================
9 |
10 | * [incorrect] fix for timing attacks
11 |
12 | 1.0.2 / 2014-01-28
13 | ==================
14 |
15 | * fix missing repository warning
16 | * fix typo in test
17 |
18 | 1.0.1 / 2013-04-15
19 | ==================
20 |
21 | * Revert "Changed underlying HMAC algo. to sha512."
22 | * Revert "Fix for timing attacks on MAC verification."
23 |
24 | 0.0.1 / 2010-01-03
25 | ==================
26 |
27 | * Initial release
28 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/lib/middleware/query.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Module dependencies.
3 | */
4 |
5 | var parseUrl = require('parseurl');
6 | var qs = require('qs');
7 |
8 | /**
9 | * @param {Object} options
10 | * @return {Function}
11 | * @api public
12 | */
13 |
14 | module.exports = function query(options) {
15 | var queryparse = qs.parse;
16 |
17 | if (typeof options === 'function') {
18 | queryparse = options;
19 | options = undefined;
20 | }
21 |
22 | return function query(req, res, next){
23 | if (!req.query) {
24 | var val = parseUrl(req).query;
25 | req.query = queryparse(val, options);
26 | }
27 |
28 | next();
29 | };
30 | };
31 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/depd/lib/compat/buffer-concat.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * depd
3 | * Copyright(c) 2014 Douglas Christopher Wilson
4 | * MIT Licensed
5 | */
6 |
7 | /**
8 | * Module exports.
9 | */
10 |
11 | module.exports = bufferConcat
12 |
13 | /**
14 | * Concatenate an array of Buffers.
15 | */
16 |
17 | function bufferConcat(bufs) {
18 | var length = 0
19 |
20 | for (var i = 0, len = bufs.length; i < len; i++) {
21 | length += bufs[i].length
22 | }
23 |
24 | var buf = new Buffer(length)
25 | var pos = 0
26 |
27 | for (var i = 0, len = bufs.length; i < len; i++) {
28 | bufs[i].copy(buf, pos)
29 | pos += bufs[i].length
30 | }
31 |
32 | return buf
33 | }
34 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/lib/middleware/init.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Initialization middleware, exposing the
3 | * request and response to eachother, as well
4 | * as defaulting the X-Powered-By header field.
5 | *
6 | * @param {Function} app
7 | * @return {Function}
8 | * @api private
9 | */
10 |
11 | exports.init = function(app){
12 | return function expressInit(req, res, next){
13 | if (app.enabled('x-powered-by')) res.setHeader('X-Powered-By', 'Express');
14 | req.res = res;
15 | res.req = req;
16 | req.next = next;
17 |
18 | req.__proto__ = app.request;
19 | res.__proto__ = app.response;
20 |
21 | res.locals = res.locals || Object.create(null);
22 |
23 | next();
24 | };
25 | };
26 |
27 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/range-parser/HISTORY.md:
--------------------------------------------------------------------------------
1 | 1.0.2 / 2014-09-08
2 | ==================
3 |
4 | * Support Node.js 0.6
5 |
6 | 1.0.1 / 2014-09-07
7 | ==================
8 |
9 | * Move repository to jshttp
10 |
11 | 1.0.0 / 2013-12-11
12 | ==================
13 |
14 | * Add repository to package.json
15 | * Add MIT license
16 |
17 | 0.0.4 / 2012-06-17
18 | ==================
19 |
20 | * Change ret -1 for unsatisfiable and -2 when invalid
21 |
22 | 0.0.3 / 2012-06-17
23 | ==================
24 |
25 | * Fix last-byte-pos default to len - 1
26 |
27 | 0.0.2 / 2012-06-14
28 | ==================
29 |
30 | * Add `.type`
31 |
32 | 0.0.1 / 2012-06-11
33 | ==================
34 |
35 | * Initial release
36 |
--------------------------------------------------------------------------------
/commonjs-support-nashorn/CommonJSRunner.java:
--------------------------------------------------------------------------------
1 | import javax.script.*;
2 |
3 | public class CommonJSRunner {
4 |
5 | public static void main(String[] args) throws ScriptException {
6 | ScriptEngineManager scriptEngineManager = new ScriptEngineManager();
7 | ScriptEngine nashorn = scriptEngineManager.getEngineByName("nashorn");
8 | String scriptName = args[0];
9 | Bindings bindings = nashorn.createBindings();
10 | bindings.put("scriptFileName", scriptName);
11 | bindings.put("scriptFileName", "jvm-npm.js");
12 | nashorn.setBindings(bindings, ScriptContext.ENGINE_SCOPE);
13 | nashorn.eval("load('jvm-npm.js')");
14 | nashorn.eval("load('"+ scriptName +"')");
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/proxy-addr/node_modules/ipaddr.js/Cakefile:
--------------------------------------------------------------------------------
1 | fs = require 'fs'
2 | CoffeeScript = require 'coffee-script'
3 | nodeunit = require 'nodeunit'
4 | UglifyJS = require 'uglify-js'
5 |
6 | task 'build', 'build the JavaScript files from CoffeeScript source', build = (cb) ->
7 | source = fs.readFileSync 'src/ipaddr.coffee'
8 | fs.writeFileSync 'lib/ipaddr.js', CoffeeScript.compile source.toString()
9 |
10 | invoke 'test'
11 | invoke 'compress'
12 |
13 | task 'test', 'run the bundled tests', (cb) ->
14 | nodeunit.reporters.default.run ['test']
15 |
16 | task 'compress', 'uglify the resulting javascript', (cb) ->
17 | result = UglifyJS.minify('lib/ipaddr.js')
18 | fs.writeFileSync('ipaddr.min.js', result.code)
19 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/methods/index.js:
--------------------------------------------------------------------------------
1 |
2 | var http = require('http');
3 |
4 | if (http.METHODS) {
5 |
6 | module.exports = http.METHODS.map(function(method){
7 | return method.toLowerCase();
8 | });
9 |
10 | } else {
11 |
12 | module.exports = [
13 | 'get',
14 | 'post',
15 | 'put',
16 | 'head',
17 | 'delete',
18 | 'options',
19 | 'trace',
20 | 'copy',
21 | 'lock',
22 | 'mkcol',
23 | 'move',
24 | 'purge',
25 | 'propfind',
26 | 'proppatch',
27 | 'unlock',
28 | 'report',
29 | 'mkactivity',
30 | 'checkout',
31 | 'merge',
32 | 'm-search',
33 | 'notify',
34 | 'subscribe',
35 | 'unsubscribe',
36 | 'patch',
37 | 'search',
38 | 'connect'
39 | ];
40 |
41 | }
42 |
--------------------------------------------------------------------------------
/webbit-nashorn/public/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Websockets demo
9 |
10 |
11 |
12 |
23 |
24 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/utils-merge/README.md:
--------------------------------------------------------------------------------
1 | # utils-merge
2 |
3 | Merges the properties from a source object into a destination object.
4 |
5 | ## Install
6 |
7 | $ npm install utils-merge
8 |
9 | ## Usage
10 |
11 | ```javascript
12 | var a = { foo: 'bar' }
13 | , b = { bar: 'baz' };
14 |
15 | merge(a, b);
16 | // => { foo: 'bar', bar: 'baz' }
17 | ```
18 |
19 | ## Tests
20 |
21 | $ npm install
22 | $ npm test
23 |
24 | [](http://travis-ci.org/jaredhanson/utils-merge)
25 |
26 | ## Credits
27 |
28 | - [Jared Hanson](http://github.com/jaredhanson)
29 |
30 | ## License
31 |
32 | [The MIT License](http://opensource.org/licenses/MIT)
33 |
34 | Copyright (c) 2013 Jared Hanson <[http://jaredhanson.net/](http://jaredhanson.net/)>
35 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/debug/Makefile:
--------------------------------------------------------------------------------
1 |
2 | # get Makefile directory name: http://stackoverflow.com/a/5982798/376773
3 | THIS_MAKEFILE_PATH:=$(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))
4 | THIS_DIR:=$(shell cd $(dir $(THIS_MAKEFILE_PATH));pwd)
5 |
6 | # BIN directory
7 | BIN := $(THIS_DIR)/node_modules/.bin
8 |
9 | # applications
10 | NODE ?= $(shell which node)
11 | NPM ?= $(NODE) $(shell which npm)
12 | BROWSERIFY ?= $(NODE) $(BIN)/browserify
13 |
14 | all: dist/debug.js
15 |
16 | install: node_modules
17 |
18 | clean:
19 | @rm -rf node_modules dist
20 |
21 | dist:
22 | @mkdir -p $@
23 |
24 | dist/debug.js: node_modules browser.js debug.js dist
25 | @$(BROWSERIFY) \
26 | --standalone debug \
27 | . > $@
28 |
29 | node_modules: package.json
30 | @NODE_ENV= $(NPM) install
31 | @touch node_modules
32 |
33 | .PHONY: all install clean
34 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/proxy-addr/node_modules/forwarded/index.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * forwarded
3 | * Copyright(c) 2014 Douglas Christopher Wilson
4 | * MIT Licensed
5 | */
6 |
7 | /**
8 | * Module exports.
9 | */
10 |
11 | module.exports = forwarded
12 |
13 | /**
14 | * Get all addresses in the request, using the `X-Forwarded-For` header.
15 | *
16 | * @param {Object} req
17 | * @api public
18 | */
19 |
20 | function forwarded(req) {
21 | if (!req) {
22 | throw new TypeError('argument req is required')
23 | }
24 |
25 | // simple header parsing
26 | var proxyAddrs = (req.headers['x-forwarded-for'] || '')
27 | .split(/ *, */)
28 | .filter(Boolean)
29 | .reverse()
30 | var socketAddr = req.connection.remoteAddress
31 | var addrs = [socketAddr].concat(proxyAddrs)
32 |
33 | // return all addresses
34 | return addrs
35 | }
36 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/send/node_modules/destroy/index.js:
--------------------------------------------------------------------------------
1 | var ReadStream = require('fs').ReadStream
2 | var Stream = require('stream')
3 |
4 | module.exports = function destroy(stream) {
5 | if (stream instanceof ReadStream) {
6 | return destroyReadStream(stream)
7 | }
8 |
9 | if (!(stream instanceof Stream)) {
10 | return stream
11 | }
12 |
13 | if (typeof stream.destroy === 'function') {
14 | stream.destroy()
15 | }
16 |
17 | return stream
18 | }
19 |
20 | function destroyReadStream(stream) {
21 | stream.destroy()
22 |
23 | if (typeof stream.close === 'function') {
24 | // node.js core bug work-around
25 | stream.on('open', onopenClose)
26 | }
27 |
28 | return stream
29 | }
30 |
31 | function onopenClose() {
32 | if (typeof this.fd === 'number') {
33 | // actually close down the fd
34 | this.close()
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/webbit-nashorn/README.md:
--------------------------------------------------------------------------------
1 | # tl;dr
2 |
3 | This demo app demonstrates how to create a simple non-blocking WebSocket and HTTP server using Nashorn scripting and Webbit (hello end-to-end, Javascript apps on the JVM!)
4 |
5 | # quick intro
6 |
7 | http://tech.kinja.com/a-simple-realtime-webapp-using-nashorn-scripting-1059181159
8 |
9 | # prerequisites:
10 |
11 | * [install java 8](http://jdk8.java.net/download.html)
12 | * maven
13 | * make
14 |
15 | # setup:
16 |
17 | `make update`
18 |
19 | `make run`
20 |
21 | then visit:
22 |
23 | `http://localhost:9000/index.html`
24 |
25 | and
26 |
27 | `http://localhost:9000/hello`
28 |
29 | # repl:
30 |
31 | `make console`
32 |
33 | # development environment:
34 |
35 | Combining all this with [fswatch] (https://github.com/alandipert/fswatch), one could get a pretty decent development environment for building server side JavaScript services on the JVM.
36 |
37 |
38 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/merge-descriptors/.npmignore:
--------------------------------------------------------------------------------
1 | # Compiled source #
2 | ###################
3 | *.com
4 | *.class
5 | *.dll
6 | *.exe
7 | *.o
8 | *.so
9 |
10 | # Packages #
11 | ############
12 | # it's better to unpack these files and commit the raw source
13 | # git has its own built in compression methods
14 | *.7z
15 | *.dmg
16 | *.gz
17 | *.iso
18 | *.jar
19 | *.rar
20 | *.tar
21 | *.zip
22 |
23 | # Logs and databases #
24 | ######################
25 | *.log
26 | *.sql
27 | *.sqlite
28 |
29 | # OS generated files #
30 | ######################
31 | .DS_Store*
32 | ehthumbs.db
33 | Icon?
34 | Thumbs.db
35 |
36 | # Node.js #
37 | ###########
38 | lib-cov
39 | *.seed
40 | *.log
41 | *.csv
42 | *.dat
43 | *.out
44 | *.pid
45 | *.gz
46 |
47 | pids
48 | logs
49 | results
50 |
51 | node_modules
52 | npm-debug.log
53 |
54 | # Components #
55 | ##############
56 |
57 | /build
58 | /components
59 | /vendors
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/content-disposition/HISTORY.md:
--------------------------------------------------------------------------------
1 | 0.5.0 / 2014-10-11
2 | ==================
3 |
4 | * Add `parse` function
5 |
6 | 0.4.0 / 2014-09-21
7 | ==================
8 |
9 | * Expand non-Unicode `filename` to the full ISO-8859-1 charset
10 |
11 | 0.3.0 / 2014-09-20
12 | ==================
13 |
14 | * Add `fallback` option
15 | * Add `type` option
16 |
17 | 0.2.0 / 2014-09-19
18 | ==================
19 |
20 | * Reduce ambiguity of file names with hex escape in buggy browsers
21 |
22 | 0.1.2 / 2014-09-19
23 | ==================
24 |
25 | * Fix periodic invalid Unicode filename header
26 |
27 | 0.1.1 / 2014-09-19
28 | ==================
29 |
30 | * Fix invalid characters appearing in `filename*` parameter
31 |
32 | 0.1.0 / 2014-09-18
33 | ==================
34 |
35 | * Make the `filename` argument optional
36 |
37 | 0.0.0 / 2014-09-18
38 | ==================
39 |
40 | * Initial release
41 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/accepts/node_modules/mime-types/HISTORY.md:
--------------------------------------------------------------------------------
1 | 2.0.3 / 2014-11-09
2 | ==================
3 |
4 | * deps: mime-db@~1.2.0
5 | - Add new mime types
6 |
7 | 2.0.2 / 2014-09-28
8 | ==================
9 |
10 | * deps: mime-db@~1.1.0
11 | - Add new mime types
12 | - Add additional compressible
13 | - Update charsets
14 |
15 | 2.0.1 / 2014-09-07
16 | ==================
17 |
18 | * Support Node.js 0.6
19 |
20 | 2.0.0 / 2014-09-02
21 | ==================
22 |
23 | * Use `mime-db`
24 | * Remove `.define()`
25 |
26 | 1.0.2 / 2014-08-04
27 | ==================
28 |
29 | * Set charset=utf-8 for `text/javascript`
30 |
31 | 1.0.1 / 2014-06-24
32 | ==================
33 |
34 | * Add `text/jsx` type
35 |
36 | 1.0.0 / 2014-05-12
37 | ==================
38 |
39 | * Return `false` for unknown types
40 | * Set charset=utf-8 for `application/json`
41 |
42 | 0.1.0 / 2014-05-02
43 | ==================
44 |
45 | * Initial release
46 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/type-is/node_modules/mime-types/HISTORY.md:
--------------------------------------------------------------------------------
1 | 2.0.3 / 2014-11-09
2 | ==================
3 |
4 | * deps: mime-db@~1.2.0
5 | - Add new mime types
6 |
7 | 2.0.2 / 2014-09-28
8 | ==================
9 |
10 | * deps: mime-db@~1.1.0
11 | - Add new mime types
12 | - Add additional compressible
13 | - Update charsets
14 |
15 | 2.0.1 / 2014-09-07
16 | ==================
17 |
18 | * Support Node.js 0.6
19 |
20 | 2.0.0 / 2014-09-02
21 | ==================
22 |
23 | * Use `mime-db`
24 | * Remove `.define()`
25 |
26 | 1.0.2 / 2014-08-04
27 | ==================
28 |
29 | * Set charset=utf-8 for `text/javascript`
30 |
31 | 1.0.1 / 2014-06-24
32 | ==================
33 |
34 | * Add `text/jsx` type
35 |
36 | 1.0.0 / 2014-05-12
37 | ==================
38 |
39 | * Return `false` for unknown types
40 | * Set charset=utf-8 for `application/json`
41 |
42 | 0.1.0 / 2014-05-02
43 | ==================
44 |
45 | * Initial release
46 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/parseurl/HISTORY.md:
--------------------------------------------------------------------------------
1 | 1.3.0 / 2014-08-09
2 | ==================
3 |
4 | * Add `parseurl.original` for parsing `req.originalUrl` with fallback
5 | * Return `undefined` if `req.url` is `undefined`
6 |
7 | 1.2.0 / 2014-07-21
8 | ==================
9 |
10 | * Cache URLs based on original value
11 | * Remove no-longer-needed URL mis-parse work-around
12 | * Simplify the "fast-path" `RegExp`
13 |
14 | 1.1.3 / 2014-07-08
15 | ==================
16 |
17 | * Fix typo
18 |
19 | 1.1.2 / 2014-07-08
20 | ==================
21 |
22 | * Seriously fix Node.js 0.8 compatibility
23 |
24 | 1.1.1 / 2014-07-08
25 | ==================
26 |
27 | * Fix Node.js 0.8 compatibility
28 |
29 | 1.1.0 / 2014-07-08
30 | ==================
31 |
32 | * Incorporate URL href-only parse fast-path
33 |
34 | 1.0.1 / 2014-03-08
35 | ==================
36 |
37 | * Add missing `require`
38 |
39 | 1.0.0 / 2014-03-08
40 | ==================
41 |
42 | * Genesis from `connect`
43 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/debug/node_modules/ms/README.md:
--------------------------------------------------------------------------------
1 | # ms.js: miliseconds conversion utility
2 |
3 | ```js
4 | ms('1d') // 86400000
5 | ms('10h') // 36000000
6 | ms('2h') // 7200000
7 | ms('1m') // 60000
8 | ms('5s') // 5000
9 | ms('100') // 100
10 | ```
11 |
12 | ```js
13 | ms(60000) // "1m"
14 | ms(2 * 60000) // "2m"
15 | ms(ms('10 hours')) // "10h"
16 | ```
17 |
18 | ```js
19 | ms(60000, { long: true }) // "1 minute"
20 | ms(2 * 60000, { long: true }) // "2 minutes"
21 | ms(ms('10 hours', { long: true })) // "10 hours"
22 | ```
23 |
24 | - Node/Browser compatible. Published as `ms` in NPM.
25 | - If a number is supplied to `ms`, a string with a unit is returned.
26 | - If a string that contains the number is supplied, it returns it as
27 | a number (e.g: it returns `100` for `'100'`).
28 | - If you pass a string with a number and a valid unit, the number of
29 | equivalent ms is returned.
30 |
31 | ## License
32 |
33 | MIT
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/send/node_modules/ms/README.md:
--------------------------------------------------------------------------------
1 | # ms.js: miliseconds conversion utility
2 |
3 | ```js
4 | ms('1d') // 86400000
5 | ms('10h') // 36000000
6 | ms('2h') // 7200000
7 | ms('1m') // 60000
8 | ms('5s') // 5000
9 | ms('100') // 100
10 | ```
11 |
12 | ```js
13 | ms(60000) // "1m"
14 | ms(2 * 60000) // "2m"
15 | ms(ms('10 hours')) // "10h"
16 | ```
17 |
18 | ```js
19 | ms(60000, { long: true }) // "1 minute"
20 | ms(2 * 60000, { long: true }) // "2 minutes"
21 | ms(ms('10 hours', { long: true })) // "10 hours"
22 | ```
23 |
24 | - Node/Browser compatible. Published as `ms` in NPM.
25 | - If a number is supplied to `ms`, a string with a unit is returned.
26 | - If a string that contains the number is supplied, it returns it as
27 | a number (e.g: it returns `100` for `'100'`).
28 | - If you pass a string with a number and a valid unit, the number of
29 | equivalent ms is returned.
30 |
31 | ## License
32 |
33 | MIT
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/proxy-addr/HISTORY.md:
--------------------------------------------------------------------------------
1 | 1.0.3 / 2014-09-21
2 | ==================
3 |
4 | * Use `forwarded` npm module
5 |
6 | 1.0.2 / 2014-09-18
7 | ==================
8 |
9 | * Fix a global leak when multiple subnets are trusted
10 | * Support Node.js 0.6
11 | * deps: ipaddr.js@0.1.3
12 |
13 | 1.0.1 / 2014-06-03
14 | ==================
15 |
16 | * Fix links in npm package
17 |
18 | 1.0.0 / 2014-05-08
19 | ==================
20 |
21 | * Add `trust` argument to determine proxy trust on
22 | * Accepts custom function
23 | * Accepts IPv4/IPv6 address(es)
24 | * Accepts subnets
25 | * Accepts pre-defined names
26 | * Add optional `trust` argument to `proxyaddr.all` to
27 | stop at first untrusted
28 | * Add `proxyaddr.compile` to pre-compile `trust` function
29 | to make subsequent calls faster
30 |
31 | 0.0.1 / 2014-05-04
32 | ==================
33 |
34 | * Fix bad npm publish
35 |
36 | 0.0.0 / 2014-05-04
37 | ==================
38 |
39 | * Initial release
40 |
--------------------------------------------------------------------------------
/webbit-nashorn/Makefile:
--------------------------------------------------------------------------------
1 | PROJECT = "nashorn-demo"
2 | DIST = "dist"
3 | TMP = "/tmp/cp"
4 | MAIN = "demo.js"
5 |
6 | all: clean update package
7 |
8 | compile: ; @echo "Compiling ${PROJECT}....."; \
9 | javac -Xlint:unchecked -d ./target/classes -cp `cat ${TMP}` `find . -name "*.java"`
10 |
11 | run: ; @echo "running main class of ${PROJECT}.....";\
12 | jjs -scripting ${MAIN} -cp `cat ${TMP}`:./target/classes
13 |
14 | test: ; @echo "running test for ${PROJECT}....." \
15 | mvn test
16 |
17 | console: ; @echo "Running REPL ${PROJECT}....."; \
18 | rlwrap jjs -cp `cat ${TMP}`:./target/classes
19 |
20 |
21 | package: ; @echo "packaging ${PROJECT}....."; \
22 | mvn package -Dmainclass=${MAINCLASS}
23 |
24 |
25 | update: ; @echo "genering classpath for ${PROJECT} into ${TMP}....."; \
26 | mvn -q dependency:build-classpath -Dmdep.outputFile=${TMP} -Dmainclass=${MAINCLASS} -Ddist=${DIST}
27 |
28 | clean: ; @echo "cleaning up ${PROJECT}....." \
29 | mvn clean;
30 | rm -rf target;
31 | rm -rf dist;
32 | mkdir -p ./target/classes
33 |
34 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/methods/test/methods.js:
--------------------------------------------------------------------------------
1 | var http = require('http');
2 | var assert = require('assert');
3 | var methods = require('..');
4 |
5 | describe('methods', function() {
6 |
7 | if (http.METHODS) {
8 |
9 | it('is a lowercased http.METHODS', function() {
10 | var lowercased = http.METHODS.map(function(method) {
11 | return method.toLowerCase();
12 | });
13 | assert.deepEqual(lowercased, methods);
14 | });
15 |
16 | } else {
17 |
18 | it('contains GET, POST, PUT, and DELETE', function() {
19 | assert.notEqual(methods.indexOf('get'), -1);
20 | assert.notEqual(methods.indexOf('post'), -1);
21 | assert.notEqual(methods.indexOf('put'), -1);
22 | assert.notEqual(methods.indexOf('delete'), -1);
23 | });
24 |
25 | it('is all lowercase', function() {
26 | for (var i = 0; i < methods.length; i ++) {
27 | assert(methods[i], methods[i].toLowerCase(), methods[i] + " isn't all lowercase");
28 | }
29 | });
30 |
31 | }
32 |
33 | });
34 |
--------------------------------------------------------------------------------
/express-nashorn/Main.java:
--------------------------------------------------------------------------------
1 | import com.oracle.avatar.js.Server;
2 | import com.oracle.avatar.js.Server;
3 | import jdk.nashorn.api.scripting.URLReader;
4 |
5 | import javax.script.ScriptEngine;
6 | import java.io.File;
7 | import java.lang.reflect.Field;
8 |
9 | public class Main {
10 |
11 | /* USE THIS IF YOU WANT TO SET java.library.path PROGRAMMATICALLY
12 | static {
13 | try {
14 | final Field sysPathsField = ClassLoader.class.getDeclaredField("sys_paths");
15 | sysPathsField.setAccessible(true);
16 | sysPathsField.set(null, null);
17 | System.setProperty("java.library.path",
18 | new File(Main.class.getResource("/libavatar-js.so").getPath())
19 | .getParentFile().getCanonicalPath());
20 | System.loadLibrary("avatar-js");
21 | } catch (Throwable t) {
22 | throw new RuntimeException(t);
23 | }
24 | }
25 | */
26 | public static void main(String[] args) throws Throwable {
27 | Server.main(Main.class.getResource("/app.js").getPath());
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/chrome-remote-interface-nashorn/chrome-remote-interface-nashorn/index.js:
--------------------------------------------------------------------------------
1 | var events = require('events');
2 | var Chrome = require('./lib/chrome.js');
3 |
4 | module.exports = function (options, callback) {
5 | if (typeof options === 'function') {
6 | callback = options;
7 | options = undefined;
8 | }
9 | options = options || {};
10 | options.chooseTab = options.chooseTab || function () { return 0; };
11 | var notifier = new events.EventEmitter();
12 | if (typeof callback === 'function') {
13 | notifier.on('connect', callback);
14 | }
15 | // allow to register callbacks later
16 | process.nextTick(function () {
17 | // the default listener just disconnects from Chrome, this can be used
18 | // to simply check the connection
19 | if (notifier.listeners('connect').length === 0) {
20 | notifier.on('connect', function (chrome) {
21 | chrome.close();
22 | });
23 | }
24 | new Chrome(options, notifier);
25 | });
26 | return notifier;
27 | };
28 |
29 | module.exports.listTabs = Chrome.listTabs;
30 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/etag/HISTORY.md:
--------------------------------------------------------------------------------
1 | 1.5.0 / 2014-10-14
2 | ==================
3 |
4 | * Improve string performance
5 | * Slightly improve speed for weak ETags over 1KB
6 |
7 | 1.4.0 / 2014-09-21
8 | ==================
9 |
10 | * Support "fake" stats objects
11 | * Support Node.js 0.6
12 |
13 | 1.3.1 / 2014-09-14
14 | ==================
15 |
16 | * Use the (new and improved) `crc` for crc32
17 |
18 | 1.3.0 / 2014-08-29
19 | ==================
20 |
21 | * Default strings to strong ETags
22 | * Improve speed for weak ETags over 1KB
23 |
24 | 1.2.1 / 2014-08-29
25 | ==================
26 |
27 | * Use the (much faster) `buffer-crc32` for crc32
28 |
29 | 1.2.0 / 2014-08-24
30 | ==================
31 |
32 | * Add support for file stat objects
33 |
34 | 1.1.0 / 2014-08-24
35 | ==================
36 |
37 | * Add fast-path for empty entity
38 | * Add weak ETag generation
39 | * Shrink size of generated ETags
40 |
41 | 1.0.1 / 2014-08-24
42 | ==================
43 |
44 | * Fix behavior of string containing Unicode
45 |
46 | 1.0.0 / 2014-05-18
47 | ==================
48 |
49 | * Initial release
50 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/cookie/LICENSE:
--------------------------------------------------------------------------------
1 | // MIT License
2 |
3 | Copyright (C) Roman Shtylman
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6 |
7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8 |
9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
10 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/range-parser/index.js:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * Parse "Range" header `str` relative to the given file `size`.
4 | *
5 | * @param {Number} size
6 | * @param {String} str
7 | * @return {Array}
8 | * @api public
9 | */
10 |
11 | module.exports = function(size, str){
12 | var valid = true;
13 | var i = str.indexOf('=');
14 |
15 | if (-1 == i) return -2;
16 |
17 | var arr = str.slice(i + 1).split(',').map(function(range){
18 | var range = range.split('-')
19 | , start = parseInt(range[0], 10)
20 | , end = parseInt(range[1], 10);
21 |
22 | // -nnn
23 | if (isNaN(start)) {
24 | start = size - end;
25 | end = size - 1;
26 | // nnn-
27 | } else if (isNaN(end)) {
28 | end = size - 1;
29 | }
30 |
31 | // limit last-byte-pos to current length
32 | if (end > size - 1) end = size - 1;
33 |
34 | // invalid
35 | if (isNaN(start)
36 | || isNaN(end)
37 | || start > end
38 | || start < 0) valid = false;
39 |
40 | return {
41 | start: start,
42 | end: end
43 | };
44 | });
45 |
46 | arr.type = str.slice(0, i);
47 |
48 | return valid ? arr : -1;
49 | };
50 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/utils-merge/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2013 Jared Hanson
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy of
6 | this software and associated documentation files (the "Software"), to deal in
7 | the Software without restriction, including without limitation the rights to
8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9 | the Software, and to permit persons to whom the Software is furnished to do so,
10 | subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/send/node_modules/mime/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2010 Benjamin Thomas, Robert Kieffer
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in
11 | all copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 | THE SOFTWARE.
20 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2009-2014 TJ Holowaychuk
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining
6 | a copy of this software and associated documentation files (the
7 | 'Software'), to deal in the Software without restriction, including
8 | without limitation the rights to use, copy, modify, merge, publish,
9 | distribute, sublicense, and/or sell copies of the Software, and to
10 | permit persons to whom the Software is furnished to do so, subject to
11 | the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/depd/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2014 Douglas Christopher Wilson
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining
6 | a copy of this software and associated documentation files (the
7 | 'Software'), to deal in the Software without restriction, including
8 | without limitation the rights to use, copy, modify, merge, publish,
9 | distribute, sublicense, and/or sell copies of the Software, and to
10 | permit persons to whom the Software is furnished to do so, subject to
11 | the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/etag/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2014 Douglas Christopher Wilson
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining
6 | a copy of this software and associated documentation files (the
7 | 'Software'), to deal in the Software without restriction, including
8 | without limitation the rights to use, copy, modify, merge, publish,
9 | distribute, sublicense, and/or sell copies of the Software, and to
10 | permit persons to whom the Software is furnished to do so, subject to
11 | the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/vary/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2014 Douglas Christopher Wilson
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining
6 | a copy of this software and associated documentation files (the
7 | 'Software'), to deal in the Software without restriction, including
8 | without limitation the rights to use, copy, modify, merge, publish,
9 | distribute, sublicense, and/or sell copies of the Software, and to
10 | permit persons to whom the Software is furnished to do so, subject to
11 | the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/etag/node_modules/crc/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright 2014 Alex Gorbatchev
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining
6 | a copy of this software and associated documentation files (the
7 | "Software"), to deal in the Software without restriction, including
8 | without limitation the rights to use, copy, modify, merge, publish,
9 | distribute, sublicense, and/or sell copies of the Software, and to
10 | permit persons to whom the Software is furnished to do so, subject to
11 | the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/proxy-addr/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2014 Douglas Christopher Wilson
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining
6 | a copy of this software and associated documentation files (the
7 | 'Software'), to deal in the Software without restriction, including
8 | without limitation the rights to use, copy, modify, merge, publish,
9 | distribute, sublicense, and/or sell copies of the Software, and to
10 | permit persons to whom the Software is furnished to do so, subject to
11 | the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/proxy-addr/node_modules/ipaddr.js/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (C) 2011 Peter Zotov
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in
11 | all copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 | THE SOFTWARE.
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/accepts/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2014 Jonathan Ong
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining
6 | a copy of this software and associated documentation files (the
7 | 'Software'), to deal in the Software without restriction, including
8 | without limitation the rights to use, copy, modify, merge, publish,
9 | distribute, sublicense, and/or sell copies of the Software, and to
10 | permit persons to whom the Software is furnished to do so, subject to
11 | the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/fresh/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2012 TJ Holowaychuk
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining
6 | a copy of this software and associated documentation files (the
7 | 'Software'), to deal in the Software without restriction, including
8 | without limitation the rights to use, copy, modify, merge, publish,
9 | distribute, sublicense, and/or sell copies of the Software, and to
10 | permit persons to whom the Software is furnished to do so, subject to
11 | the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/media-typer/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2014 Douglas Christopher Wilson
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining
6 | a copy of this software and associated documentation files (the
7 | 'Software'), to deal in the Software without restriction, including
8 | without limitation the rights to use, copy, modify, merge, publish,
9 | distribute, sublicense, and/or sell copies of the Software, and to
10 | permit persons to whom the Software is furnished to do so, subject to
11 | the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/path-to-regexp/Readme.md:
--------------------------------------------------------------------------------
1 |
2 | # Path-to-RegExp
3 |
4 | Turn an Express-style path string such as `/user/:name` into a regular expression.
5 |
6 | ## Usage
7 |
8 | ```javascript
9 | var pathToRegexp = require('path-to-regexp');
10 | ```
11 | ### pathToRegexp(path, keys, options)
12 |
13 | - **path** A string in the express format, an array of such strings, or a regular expression
14 | - **keys** An array to be populated with the keys present in the url. Once the function completes, this will be an array of strings.
15 | - **options**
16 | - **options.sensitive** Defaults to false, set this to true to make routes case sensitive
17 | - **options.strict** Defaults to false, set this to true to make the trailing slash matter.
18 | - **options.end** Defaults to true, set this to false to only match the prefix of the URL.
19 |
20 | ```javascript
21 | var keys = [];
22 | var exp = pathToRegexp('/foo/:bar', keys);
23 | //keys = ['bar']
24 | //exp = /^\/foo\/(?:([^\/]+?))\/?$/i
25 | ```
26 |
27 | ## Live Demo
28 |
29 | You can see a live demo of this library in use at [express-route-tester](http://forbeslindesay.github.com/express-route-tester/).
30 |
31 | ## License
32 |
33 | MIT
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/type-is/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2014 Jonathan Ong me@jongleberry.com
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in
13 | all copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | THE SOFTWARE.
22 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/content-disposition/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2014 Douglas Christopher Wilson
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining
6 | a copy of this software and associated documentation files (the
7 | 'Software'), to deal in the Software without restriction, including
8 | without limitation the rights to use, copy, modify, merge, publish,
9 | distribute, sublicense, and/or sell copies of the Software, and to
10 | permit persons to whom the Software is furnished to do so, subject to
11 | the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/finalhandler/HISTORY.md:
--------------------------------------------------------------------------------
1 | 0.3.2 / 2014-10-22
2 | ==================
3 |
4 | * deps: on-finished@~2.1.1
5 | - Fix handling of pipelined requests
6 |
7 | 0.3.1 / 2014-10-16
8 | ==================
9 |
10 | * deps: debug@~2.1.0
11 | - Implement `DEBUG_FD` env variable support
12 |
13 | 0.3.0 / 2014-09-17
14 | ==================
15 |
16 | * Terminate in progress response only on error
17 | * Use `on-finished` to determine request status
18 |
19 | 0.2.0 / 2014-09-03
20 | ==================
21 |
22 | * Set `X-Content-Type-Options: nosniff` header
23 | * deps: debug@~2.0.0
24 |
25 | 0.1.0 / 2014-07-16
26 | ==================
27 |
28 | * Respond after request fully read
29 | - prevents hung responses and socket hang ups
30 | * deps: debug@1.0.4
31 |
32 | 0.0.3 / 2014-07-11
33 | ==================
34 |
35 | * deps: debug@1.0.3
36 | - Add support for multiple wildcards in namespaces
37 |
38 | 0.0.2 / 2014-06-19
39 | ==================
40 |
41 | * Handle invalid status codes
42 |
43 | 0.0.1 / 2014-06-05
44 | ==================
45 |
46 | * deps: debug@1.0.2
47 |
48 | 0.0.0 / 2014-06-05
49 | ==================
50 |
51 | * Extracted from connect/express
52 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/range-parser/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2012-2014 TJ Holowaychuk
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining
6 | a copy of this software and associated documentation files (the
7 | 'Software'), to deal in the Software without restriction, including
8 | without limitation the rights to use, copy, modify, merge, publish,
9 | distribute, sublicense, and/or sell copies of the Software, and to
10 | permit persons to whom the Software is furnished to do so, subject to
11 | the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/methods/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2013-2014 TJ Holowaychuk
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining
6 | a copy of this software and associated documentation files (the
7 | 'Software'), to deal in the Software without restriction, including
8 | without limitation the rights to use, copy, modify, merge, publish,
9 | distribute, sublicense, and/or sell copies of the Software, and to
10 | permit persons to whom the Software is furnished to do so, subject to
11 | the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 |
24 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/proxy-addr/node_modules/forwarded/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2014 Douglas Christopher Wilson
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining
6 | a copy of this software and associated documentation files (the
7 | 'Software'), to deal in the Software without restriction, including
8 | without limitation the rights to use, copy, modify, merge, publish,
9 | distribute, sublicense, and/or sell copies of the Software, and to
10 | permit persons to whom the Software is furnished to do so, subject to
11 | the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/finalhandler/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2014 Douglas Christopher Wilson
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining
6 | a copy of this software and associated documentation files (the
7 | 'Software'), to deal in the Software without restriction, including
8 | without limitation the rights to use, copy, modify, merge, publish,
9 | distribute, sublicense, and/or sell copies of the Software, and to
10 | permit persons to whom the Software is furnished to do so, subject to
11 | the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be
14 | included in all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/accepts/node_modules/mime-types/LICENSE:
--------------------------------------------------------------------------------
1 |
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2014 Jonathan Ong me@jongleberry.com
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy
7 | of this software and associated documentation files (the "Software"), to deal
8 | in the Software without restriction, including without limitation the rights
9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | copies of the Software, and to permit persons to whom the Software is
11 | furnished to do so, subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in
14 | all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 | THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/send/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2012 TJ Holowaychuk
4 | Copyright (c) 2014 Douglas Christopher Wilson
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining
7 | a copy of this software and associated documentation files (the
8 | 'Software'), to deal in the Software without restriction, including
9 | without limitation the rights to use, copy, modify, merge, publish,
10 | distribute, sublicense, and/or sell copies of the Software, and to
11 | permit persons to whom the Software is furnished to do so, subject to
12 | the following conditions:
13 |
14 | The above copyright notice and this permission notice shall be
15 | included in all copies or substantial portions of the Software.
16 |
17 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
18 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
21 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/type-is/node_modules/mime-types/LICENSE:
--------------------------------------------------------------------------------
1 |
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2014 Jonathan Ong me@jongleberry.com
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy
7 | of this software and associated documentation files (the "Software"), to deal
8 | in the Software without restriction, including without limitation the rights
9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | copies of the Software, and to permit persons to whom the Software is
11 | furnished to do so, subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in
14 | all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 | THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/accepts/node_modules/mime-types/node_modules/mime-db/LICENSE:
--------------------------------------------------------------------------------
1 |
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2014 Jonathan Ong me@jongleberry.com
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy
7 | of this software and associated documentation files (the "Software"), to deal
8 | in the Software without restriction, including without limitation the rights
9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | copies of the Software, and to permit persons to whom the Software is
11 | furnished to do so, subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in
14 | all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 | THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/on-finished/node_modules/ee-first/LICENSE:
--------------------------------------------------------------------------------
1 |
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2014 Jonathan Ong me@jongleberry.com
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy
7 | of this software and associated documentation files (the "Software"), to deal
8 | in the Software without restriction, including without limitation the rights
9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | copies of the Software, and to permit persons to whom the Software is
11 | furnished to do so, subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in
14 | all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 | THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/type-is/node_modules/mime-types/node_modules/mime-db/LICENSE:
--------------------------------------------------------------------------------
1 |
2 | The MIT License (MIT)
3 |
4 | Copyright (c) 2014 Jonathan Ong me@jongleberry.com
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy
7 | of this software and associated documentation files (the "Software"), to deal
8 | in the Software without restriction, including without limitation the rights
9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | copies of the Software, and to permit persons to whom the Software is
11 | furnished to do so, subject to the following conditions:
12 |
13 | The above copyright notice and this permission notice shall be included in
14 | all copies or substantial portions of the Software.
15 |
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 | THE SOFTWARE.
23 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/accepts/node_modules/negotiator/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2012 Federico Romero
4 | Copyright (c) 2012-2014 Isaac Z. Schlueter
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining
7 | a copy of this software and associated documentation files (the
8 | 'Software'), to deal in the Software without restriction, including
9 | without limitation the rights to use, copy, modify, merge, publish,
10 | distribute, sublicense, and/or sell copies of the Software, and to
11 | permit persons to whom the Software is furnished to do so, subject to
12 | the following conditions:
13 |
14 | The above copyright notice and this permission notice shall be
15 | included in all copies or substantial portions of the Software.
16 |
17 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
18 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
21 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/send/node_modules/ms/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "ms",
3 | "version": "0.6.2",
4 | "description": "Tiny ms conversion utility",
5 | "repository": {
6 | "type": "git",
7 | "url": "git://github.com/guille/ms.js.git"
8 | },
9 | "main": "./index",
10 | "devDependencies": {
11 | "mocha": "*",
12 | "expect.js": "*",
13 | "serve": "*"
14 | },
15 | "component": {
16 | "scripts": {
17 | "ms/index.js": "index.js"
18 | }
19 | },
20 | "bugs": {
21 | "url": "https://github.com/guille/ms.js/issues"
22 | },
23 | "_id": "ms@0.6.2",
24 | "dist": {
25 | "shasum": "d89c2124c6fdc1353d65a8b77bf1aac4b193708c",
26 | "tarball": "http://registry.npmjs.org/ms/-/ms-0.6.2.tgz"
27 | },
28 | "_from": "ms@0.6.2",
29 | "_npmVersion": "1.2.30",
30 | "_npmUser": {
31 | "name": "rauchg",
32 | "email": "rauchg@gmail.com"
33 | },
34 | "maintainers": [
35 | {
36 | "name": "rauchg",
37 | "email": "rauchg@gmail.com"
38 | }
39 | ],
40 | "directories": {},
41 | "_shasum": "d89c2124c6fdc1353d65a8b77bf1aac4b193708c",
42 | "_resolved": "https://registry.npmjs.org/ms/-/ms-0.6.2.tgz",
43 | "readme": "ERROR: No README data found!",
44 | "homepage": "https://github.com/guille/ms.js"
45 | }
46 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/debug/node_modules/ms/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "ms",
3 | "version": "0.6.2",
4 | "description": "Tiny ms conversion utility",
5 | "repository": {
6 | "type": "git",
7 | "url": "git://github.com/guille/ms.js.git"
8 | },
9 | "main": "./index",
10 | "devDependencies": {
11 | "mocha": "*",
12 | "expect.js": "*",
13 | "serve": "*"
14 | },
15 | "component": {
16 | "scripts": {
17 | "ms/index.js": "index.js"
18 | }
19 | },
20 | "bugs": {
21 | "url": "https://github.com/guille/ms.js/issues"
22 | },
23 | "_id": "ms@0.6.2",
24 | "dist": {
25 | "shasum": "d89c2124c6fdc1353d65a8b77bf1aac4b193708c",
26 | "tarball": "http://registry.npmjs.org/ms/-/ms-0.6.2.tgz"
27 | },
28 | "_from": "ms@0.6.2",
29 | "_npmVersion": "1.2.30",
30 | "_npmUser": {
31 | "name": "rauchg",
32 | "email": "rauchg@gmail.com"
33 | },
34 | "maintainers": [
35 | {
36 | "name": "rauchg",
37 | "email": "rauchg@gmail.com"
38 | }
39 | ],
40 | "directories": {},
41 | "_shasum": "d89c2124c6fdc1353d65a8b77bf1aac4b193708c",
42 | "_resolved": "https://registry.npmjs.org/ms/-/ms-0.6.2.tgz",
43 | "readme": "ERROR: No README data found!",
44 | "homepage": "https://github.com/guille/ms.js"
45 | }
46 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/on-finished/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2013 Jonathan Ong
4 | Copyright (c) 2014 Douglas Christopher Wilson
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining
7 | a copy of this software and associated documentation files (the
8 | 'Software'), to deal in the Software without restriction, including
9 | without limitation the rights to use, copy, modify, merge, publish,
10 | distribute, sublicense, and/or sell copies of the Software, and to
11 | permit persons to whom the Software is furnished to do so, subject to
12 | the following conditions:
13 |
14 | The above copyright notice and this permission notice shall be
15 | included in all copies or substantial portions of the Software.
16 |
17 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
18 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
21 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/parseurl/LICENSE:
--------------------------------------------------------------------------------
1 |
2 | (The MIT License)
3 |
4 | Copyright (c) 2014 Jonathan Ong
5 | Copyright (c) 2014 Douglas Christopher Wilson
6 |
7 | Permission is hereby granted, free of charge, to any person obtaining
8 | a copy of this software and associated documentation files (the
9 | 'Software'), to deal in the Software without restriction, including
10 | without limitation the rights to use, copy, modify, merge, publish,
11 | distribute, sublicense, and/or sell copies of the Software, and to
12 | permit persons to whom the Software is furnished to do so, subject to
13 | the following conditions:
14 |
15 | The above copyright notice and this permission notice shall be
16 | included in all copies or substantial portions of the Software.
17 |
18 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
19 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
21 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
22 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
23 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
24 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/accepts/node_modules/negotiator/lib/negotiator.js:
--------------------------------------------------------------------------------
1 | module.exports = Negotiator;
2 | Negotiator.Negotiator = Negotiator;
3 |
4 | function Negotiator(request) {
5 | if (!(this instanceof Negotiator)) return new Negotiator(request);
6 | this.request = request;
7 | }
8 |
9 | var set = { charset: 'accept-charset',
10 | encoding: 'accept-encoding',
11 | language: 'accept-language',
12 | mediaType: 'accept' };
13 |
14 |
15 | function capitalize(string){
16 | return string.charAt(0).toUpperCase() + string.slice(1);
17 | }
18 |
19 | Object.keys(set).forEach(function (k) {
20 | var header = set[k],
21 | method = require('./'+k+'.js'),
22 | singular = k,
23 | plural = k + 's';
24 |
25 | Negotiator.prototype[plural] = function (available) {
26 | return method(this.request.headers[header], available);
27 | };
28 |
29 | Negotiator.prototype[singular] = function(available) {
30 | var set = this[plural](available);
31 | if (set) return set[0];
32 | };
33 |
34 | // Keep preferred* methods for legacy compatibility
35 | Negotiator.prototype['preferred'+capitalize(plural)] = Negotiator.prototype[plural];
36 | Negotiator.prototype['preferred'+capitalize(singular)] = Negotiator.prototype[singular];
37 | })
38 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/serve-static/LICENSE:
--------------------------------------------------------------------------------
1 | (The MIT License)
2 |
3 | Copyright (c) 2010 Sencha Inc.
4 | Copyright (c) 2011 LearnBoost
5 | Copyright (c) 2011 TJ Holowaychuk
6 | Copyright (c) 2014 Douglas Christopher Wilson
7 |
8 | Permission is hereby granted, free of charge, to any person obtaining
9 | a copy of this software and associated documentation files (the
10 | 'Software'), to deal in the Software without restriction, including
11 | without limitation the rights to use, copy, modify, merge, publish,
12 | distribute, sublicense, and/or sell copies of the Software, and to
13 | permit persons to whom the Software is furnished to do so, subject to
14 | the following conditions:
15 |
16 | The above copyright notice and this permission notice shall be
17 | included in all copies or substantial portions of the Software.
18 |
19 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
20 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
22 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
23 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
24 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
25 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
26 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/cookie/README.md:
--------------------------------------------------------------------------------
1 | # cookie [](http://travis-ci.org/defunctzombie/node-cookie) #
2 |
3 | cookie is a basic cookie parser and serializer. It doesn't make assumptions about how you are going to deal with your cookies. It basically just provides a way to read and write the HTTP cookie headers.
4 |
5 | See [RFC6265](http://tools.ietf.org/html/rfc6265) for details about the http header for cookies.
6 |
7 | ## how?
8 |
9 | ```
10 | npm install cookie
11 | ```
12 |
13 | ```javascript
14 | var cookie = require('cookie');
15 |
16 | var hdr = cookie.serialize('foo', 'bar');
17 | // hdr = 'foo=bar';
18 |
19 | var cookies = cookie.parse('foo=bar; cat=meow; dog=ruff');
20 | // cookies = { foo: 'bar', cat: 'meow', dog: 'ruff' };
21 | ```
22 |
23 | ## more
24 |
25 | The serialize function takes a third parameter, an object, to set cookie options. See the RFC for valid values.
26 |
27 | ### path
28 | > cookie path
29 |
30 | ### expires
31 | > absolute expiration date for the cookie (Date object)
32 |
33 | ### maxAge
34 | > relative max age of the cookie from when the client receives it (seconds)
35 |
36 | ### domain
37 | > domain for the cookie
38 |
39 | ### secure
40 | > true or false
41 |
42 | ### httpOnly
43 | > true or false
44 |
45 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/merge-descriptors/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "merge-descriptors",
3 | "description": "Merge objects using descriptors",
4 | "version": "0.0.2",
5 | "author": {
6 | "name": "Jonathan Ong",
7 | "email": "me@jongleberry.com",
8 | "url": "http://jongleberry.com"
9 | },
10 | "license": "MIT",
11 | "repository": {
12 | "type": "git",
13 | "url": "https://github.com/component/merge-descriptors.git"
14 | },
15 | "bugs": {
16 | "url": "https://github.com/component/merge-descriptors/issues"
17 | },
18 | "scripts": {
19 | "test": "make test;"
20 | },
21 | "homepage": "https://github.com/component/merge-descriptors",
22 | "_id": "merge-descriptors@0.0.2",
23 | "dist": {
24 | "shasum": "c36a52a781437513c57275f39dd9d317514ac8c7",
25 | "tarball": "http://registry.npmjs.org/merge-descriptors/-/merge-descriptors-0.0.2.tgz"
26 | },
27 | "_from": "merge-descriptors@0.0.2",
28 | "_npmVersion": "1.3.17",
29 | "_npmUser": {
30 | "name": "jongleberry",
31 | "email": "jonathanrichardong@gmail.com"
32 | },
33 | "maintainers": [
34 | {
35 | "name": "jongleberry",
36 | "email": "jonathanrichardong@gmail.com"
37 | }
38 | ],
39 | "directories": {},
40 | "_shasum": "c36a52a781437513c57275f39dd9d317514ac8c7",
41 | "_resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-0.0.2.tgz"
42 | }
43 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/cookie-signature/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Module dependencies.
3 | */
4 |
5 | var crypto = require('crypto');
6 |
7 | /**
8 | * Sign the given `val` with `secret`.
9 | *
10 | * @param {String} val
11 | * @param {String} secret
12 | * @return {String}
13 | * @api private
14 | */
15 |
16 | exports.sign = function(val, secret){
17 | if ('string' != typeof val) throw new TypeError('cookie required');
18 | if ('string' != typeof secret) throw new TypeError('secret required');
19 | return val + '.' + crypto
20 | .createHmac('sha256', secret)
21 | .update(val)
22 | .digest('base64')
23 | .replace(/\=+$/, '');
24 | };
25 |
26 | /**
27 | * Unsign and decode the given `val` with `secret`,
28 | * returning `false` if the signature is invalid.
29 | *
30 | * @param {String} val
31 | * @param {String} secret
32 | * @return {String|Boolean}
33 | * @api private
34 | */
35 |
36 | exports.unsign = function(val, secret){
37 | if ('string' != typeof val) throw new TypeError('cookie required');
38 | if ('string' != typeof secret) throw new TypeError('secret required');
39 | var str = val.slice(0, val.lastIndexOf('.'))
40 | , mac = exports.sign(str, secret);
41 |
42 | return sha1(mac) == sha1(val) ? str : false;
43 | };
44 |
45 | /**
46 | * Private
47 | */
48 |
49 | function sha1(str){
50 | return crypto.createHash('sha1').update(str).digest('hex');
51 | }
52 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/cookie/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "author": {
3 | "name": "Roman Shtylman",
4 | "email": "shtylman@gmail.com"
5 | },
6 | "name": "cookie",
7 | "description": "cookie parsing and serialization",
8 | "version": "0.1.2",
9 | "repository": {
10 | "type": "git",
11 | "url": "git://github.com/shtylman/node-cookie.git"
12 | },
13 | "keywords": [
14 | "cookie",
15 | "cookies"
16 | ],
17 | "main": "index.js",
18 | "scripts": {
19 | "test": "mocha"
20 | },
21 | "dependencies": {},
22 | "devDependencies": {
23 | "mocha": "1.x.x"
24 | },
25 | "optionalDependencies": {},
26 | "engines": {
27 | "node": "*"
28 | },
29 | "bugs": {
30 | "url": "https://github.com/shtylman/node-cookie/issues"
31 | },
32 | "homepage": "https://github.com/shtylman/node-cookie",
33 | "_id": "cookie@0.1.2",
34 | "dist": {
35 | "shasum": "72fec3d24e48a3432073d90c12642005061004b1",
36 | "tarball": "http://registry.npmjs.org/cookie/-/cookie-0.1.2.tgz"
37 | },
38 | "_from": "cookie@0.1.2",
39 | "_npmVersion": "1.4.6",
40 | "_npmUser": {
41 | "name": "shtylman",
42 | "email": "shtylman@gmail.com"
43 | },
44 | "maintainers": [
45 | {
46 | "name": "shtylman",
47 | "email": "shtylman@gmail.com"
48 | }
49 | ],
50 | "directories": {},
51 | "_shasum": "72fec3d24e48a3432073d90c12642005061004b1",
52 | "_resolved": "https://registry.npmjs.org/cookie/-/cookie-0.1.2.tgz"
53 | }
54 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/fresh/index.js:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * Expose `fresh()`.
4 | */
5 |
6 | module.exports = fresh;
7 |
8 | /**
9 | * Check freshness of `req` and `res` headers.
10 | *
11 | * When the cache is "fresh" __true__ is returned,
12 | * otherwise __false__ is returned to indicate that
13 | * the cache is now stale.
14 | *
15 | * @param {Object} req
16 | * @param {Object} res
17 | * @return {Boolean}
18 | * @api public
19 | */
20 |
21 | function fresh(req, res) {
22 | // defaults
23 | var etagMatches = true;
24 | var notModified = true;
25 |
26 | // fields
27 | var modifiedSince = req['if-modified-since'];
28 | var noneMatch = req['if-none-match'];
29 | var lastModified = res['last-modified'];
30 | var etag = res['etag'];
31 | var cc = req['cache-control'];
32 |
33 | // unconditional request
34 | if (!modifiedSince && !noneMatch) return false;
35 |
36 | // check for no-cache cache request directive
37 | if (cc && cc.indexOf('no-cache') !== -1) return false;
38 |
39 | // parse if-none-match
40 | if (noneMatch) noneMatch = noneMatch.split(/ *, */);
41 |
42 | // if-none-match
43 | if (noneMatch) etagMatches = ~noneMatch.indexOf(etag) || '*' == noneMatch[0];
44 |
45 | // if-modified-since
46 | if (modifiedSince) {
47 | modifiedSince = new Date(modifiedSince);
48 | lastModified = new Date(lastModified);
49 | notModified = lastModified <= modifiedSince;
50 | }
51 |
52 | return !! (etagMatches && notModified);
53 | }
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/escape-html/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "escape-html",
3 | "description": "Escape HTML entities",
4 | "version": "1.0.1",
5 | "keywords": [
6 | "escape",
7 | "html",
8 | "utility"
9 | ],
10 | "dependencies": {},
11 | "main": "index.js",
12 | "component": {
13 | "scripts": {
14 | "escape-html/index.js": "index.js"
15 | }
16 | },
17 | "repository": {
18 | "type": "git",
19 | "url": "https://github.com/component/escape-html.git"
20 | },
21 | "readme": "\n# escape-html\n\n Escape HTML entities\n\n## Example\n\n```js\nvar escape = require('escape-html');\nescape(str);\n```\n\n## License\n\n MIT",
22 | "readmeFilename": "Readme.md",
23 | "bugs": {
24 | "url": "https://github.com/component/escape-html/issues"
25 | },
26 | "homepage": "https://github.com/component/escape-html",
27 | "_id": "escape-html@1.0.1",
28 | "dist": {
29 | "shasum": "181a286ead397a39a92857cfb1d43052e356bff0",
30 | "tarball": "http://registry.npmjs.org/escape-html/-/escape-html-1.0.1.tgz"
31 | },
32 | "_from": "escape-html@1.0.1",
33 | "_npmVersion": "1.3.15",
34 | "_npmUser": {
35 | "name": "tjholowaychuk",
36 | "email": "tj@vision-media.ca"
37 | },
38 | "maintainers": [
39 | {
40 | "name": "tjholowaychuk",
41 | "email": "tj@vision-media.ca"
42 | }
43 | ],
44 | "directories": {},
45 | "_shasum": "181a286ead397a39a92857cfb1d43052e356bff0",
46 | "_resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.1.tgz"
47 | }
48 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/qs/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "qs",
3 | "version": "2.3.2",
4 | "description": "A querystring parser that supports nesting and arrays, with a depth limit",
5 | "homepage": "https://github.com/hapijs/qs",
6 | "main": "index.js",
7 | "dependencies": {},
8 | "devDependencies": {
9 | "lab": "4.x.x"
10 | },
11 | "scripts": {
12 | "test": "make test-cov"
13 | },
14 | "repository": {
15 | "type": "git",
16 | "url": "https://github.com/hapijs/qs.git"
17 | },
18 | "keywords": [
19 | "querystring",
20 | "qs"
21 | ],
22 | "licenses": [
23 | {
24 | "type": "BSD",
25 | "url": "http://github.com/hapijs/qs/raw/master/LICENSE"
26 | }
27 | ],
28 | "gitHead": "58097c12559b4c5857af99927273b3141dff8529",
29 | "bugs": {
30 | "url": "https://github.com/hapijs/qs/issues"
31 | },
32 | "_id": "qs@2.3.2",
33 | "_shasum": "d45ec249e4b9b029af008829a101d5ff7e972790",
34 | "_from": "qs@2.3.2",
35 | "_npmVersion": "1.4.28",
36 | "_npmUser": {
37 | "name": "nlf",
38 | "email": "quitlahok@gmail.com"
39 | },
40 | "maintainers": [
41 | {
42 | "name": "nlf",
43 | "email": "quitlahok@gmail.com"
44 | },
45 | {
46 | "name": "hueniverse",
47 | "email": "eran@hueniverse.com"
48 | }
49 | ],
50 | "dist": {
51 | "shasum": "d45ec249e4b9b029af008829a101d5ff7e972790",
52 | "tarball": "http://registry.npmjs.org/qs/-/qs-2.3.2.tgz"
53 | },
54 | "directories": {},
55 | "_resolved": "https://registry.npmjs.org/qs/-/qs-2.3.2.tgz"
56 | }
57 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/accepts/HISTORY.md:
--------------------------------------------------------------------------------
1 | 1.1.3 / 2014-11-09
2 | ==================
3 |
4 | * deps: mime-types@~2.0.3
5 | - deps: mime-db@~1.2.0
6 |
7 | 1.1.2 / 2014-10-14
8 | ==================
9 |
10 | * deps: negotiator@0.4.9
11 | - Fix error when media type has invalid parameter
12 |
13 | 1.1.1 / 2014-09-28
14 | ==================
15 |
16 | * deps: mime-types@~2.0.2
17 | - deps: mime-db@~1.1.0
18 | * deps: negotiator@0.4.8
19 | - Fix all negotiations to be case-insensitive
20 | - Stable sort preferences of same quality according to client order
21 |
22 | 1.1.0 / 2014-09-02
23 | ==================
24 |
25 | * update `mime-types`
26 |
27 | 1.0.7 / 2014-07-04
28 | ==================
29 |
30 | * Fix wrong type returned from `type` when match after unknown extension
31 |
32 | 1.0.6 / 2014-06-24
33 | ==================
34 |
35 | * deps: negotiator@0.4.7
36 |
37 | 1.0.5 / 2014-06-20
38 | ==================
39 |
40 | * fix crash when unknown extension given
41 |
42 | 1.0.4 / 2014-06-19
43 | ==================
44 |
45 | * use `mime-types`
46 |
47 | 1.0.3 / 2014-06-11
48 | ==================
49 |
50 | * deps: negotiator@0.4.6
51 | - Order by specificity when quality is the same
52 |
53 | 1.0.2 / 2014-05-29
54 | ==================
55 |
56 | * Fix interpretation when header not in request
57 | * deps: pin negotiator@0.4.5
58 |
59 | 1.0.1 / 2014-01-18
60 | ==================
61 |
62 | * Identity encoding isn't always acceptable
63 | * deps: negotiator@~0.4.0
64 |
65 | 1.0.0 / 2013-12-27
66 | ==================
67 |
68 | * Genesis
69 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/depd/lib/compat/index.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * depd
3 | * Copyright(c) 2014 Douglas Christopher Wilson
4 | * MIT Licensed
5 | */
6 |
7 | /**
8 | * Module exports.
9 | */
10 |
11 | lazyProperty(module.exports, 'bufferConcat', function bufferConcat() {
12 | return Buffer.concat || require('./buffer-concat')
13 | })
14 |
15 | lazyProperty(module.exports, 'callSiteToString', function callSiteToString() {
16 | var limit = Error.stackTraceLimit
17 | var obj = {}
18 | var prep = Error.prepareStackTrace
19 |
20 | function prepareObjectStackTrace(obj, stack) {
21 | return stack
22 | }
23 |
24 | Error.prepareStackTrace = prepareObjectStackTrace
25 | Error.stackTraceLimit = 2
26 |
27 | // capture the stack
28 | Error.captureStackTrace(obj)
29 |
30 | // slice the stack
31 | var stack = obj.stack.slice()
32 |
33 | Error.prepareStackTrace = prep
34 | Error.stackTraceLimit = limit
35 |
36 | return stack[0].toString ? toString : require('./callsite-tostring')
37 | })
38 |
39 | /**
40 | * Define a lazy property.
41 | */
42 |
43 | function lazyProperty(obj, prop, getter) {
44 | function get() {
45 | var val = getter()
46 |
47 | Object.defineProperty(obj, prop, {
48 | configurable: true,
49 | enumerable: true,
50 | value: val
51 | })
52 |
53 | return val
54 | }
55 |
56 | Object.defineProperty(obj, prop, {
57 | configurable: true,
58 | enumerable: true,
59 | get: get
60 | })
61 | }
62 |
63 | /**
64 | * Call toString() on the obj
65 | */
66 |
67 | function toString(obj) {
68 | return obj.toString()
69 | }
70 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/proxy-addr/node_modules/ipaddr.js/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "ipaddr.js",
3 | "description": "A library for manipulating IPv4 and IPv6 addresses in JavaScript.",
4 | "version": "0.1.3",
5 | "author": {
6 | "name": "Peter Zotov",
7 | "email": "whitequark@whitequark.org"
8 | },
9 | "directories": {
10 | "lib": "./lib"
11 | },
12 | "dependencies": {},
13 | "devDependencies": {
14 | "coffee-script": "~1.6",
15 | "nodeunit": "~0.5.3",
16 | "uglify-js": "latest"
17 | },
18 | "scripts": {
19 | "test": "cake build test"
20 | },
21 | "keywords": [
22 | "ip",
23 | "ipv4",
24 | "ipv6"
25 | ],
26 | "repository": {
27 | "type": "git",
28 | "url": "git://github.com/whitequark/ipaddr.js"
29 | },
30 | "main": "./lib/ipaddr",
31 | "engines": {
32 | "node": ">= 0.2.5"
33 | },
34 | "bugs": {
35 | "url": "https://github.com/whitequark/ipaddr.js/issues"
36 | },
37 | "_id": "ipaddr.js@0.1.3",
38 | "dist": {
39 | "shasum": "27a9ca37f148d2102b0ef191ccbf2c51a8f025c6",
40 | "tarball": "http://registry.npmjs.org/ipaddr.js/-/ipaddr.js-0.1.3.tgz"
41 | },
42 | "_from": "ipaddr.js@0.1.3",
43 | "_npmVersion": "1.4.4",
44 | "_npmUser": {
45 | "name": "whitequark",
46 | "email": "whitequark@whitequark.org"
47 | },
48 | "maintainers": [
49 | {
50 | "name": "whitequark",
51 | "email": "whitequark@whitequark.org"
52 | }
53 | ],
54 | "_shasum": "27a9ca37f148d2102b0ef191ccbf2c51a8f025c6",
55 | "_resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-0.1.3.tgz"
56 | }
57 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/cookie-signature/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "cookie-signature",
3 | "version": "1.0.5",
4 | "description": "Sign and unsign cookies",
5 | "keywords": [
6 | "cookie",
7 | "sign",
8 | "unsign"
9 | ],
10 | "author": {
11 | "name": "TJ Holowaychuk",
12 | "email": "tj@learnboost.com"
13 | },
14 | "license": "MIT",
15 | "repository": {
16 | "type": "git",
17 | "url": "https://github.com/visionmedia/node-cookie-signature.git"
18 | },
19 | "dependencies": {},
20 | "devDependencies": {
21 | "mocha": "*",
22 | "should": "*"
23 | },
24 | "main": "index",
25 | "gitHead": "73ed69b511b3ef47555d71b4ed1deea9e5ed6e1f",
26 | "bugs": {
27 | "url": "https://github.com/visionmedia/node-cookie-signature/issues"
28 | },
29 | "homepage": "https://github.com/visionmedia/node-cookie-signature",
30 | "_id": "cookie-signature@1.0.5",
31 | "scripts": {},
32 | "_shasum": "a122e3f1503eca0f5355795b0711bb2368d450f9",
33 | "_from": "cookie-signature@1.0.5",
34 | "_npmVersion": "1.4.20",
35 | "_npmUser": {
36 | "name": "natevw",
37 | "email": "natevw@yahoo.com"
38 | },
39 | "maintainers": [
40 | {
41 | "name": "tjholowaychuk",
42 | "email": "tj@vision-media.ca"
43 | },
44 | {
45 | "name": "natevw",
46 | "email": "natevw@yahoo.com"
47 | }
48 | ],
49 | "dist": {
50 | "shasum": "a122e3f1503eca0f5355795b0711bb2368d450f9",
51 | "tarball": "http://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.5.tgz"
52 | },
53 | "directories": {},
54 | "_resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.5.tgz"
55 | }
56 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/methods/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "methods",
3 | "version": "1.1.0",
4 | "description": "HTTP methods that node supports",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "./node_modules/mocha/bin/mocha"
8 | },
9 | "keywords": [
10 | "http",
11 | "methods"
12 | ],
13 | "author": {
14 | "name": "TJ Holowaychuk"
15 | },
16 | "license": "MIT",
17 | "repository": {
18 | "type": "git",
19 | "url": "git://github.com/visionmedia/node-methods.git"
20 | },
21 | "devDependencies": {
22 | "mocha": "1.17.x"
23 | },
24 | "gitHead": "2a4dd325d18436c33356e6be19e32e08a7c877ab",
25 | "bugs": {
26 | "url": "https://github.com/visionmedia/node-methods/issues"
27 | },
28 | "homepage": "https://github.com/visionmedia/node-methods",
29 | "_id": "methods@1.1.0",
30 | "_shasum": "5dca4ee12df52ff3b056145986a8f01cbc86436f",
31 | "_from": "methods@1.1.0",
32 | "_npmVersion": "1.4.16",
33 | "_npmUser": {
34 | "name": "jongleberry",
35 | "email": "jonathanrichardong@gmail.com"
36 | },
37 | "maintainers": [
38 | {
39 | "name": "tjholowaychuk",
40 | "email": "tj@vision-media.ca"
41 | },
42 | {
43 | "name": "jonathanong",
44 | "email": "jonathanrichardong@gmail.com"
45 | },
46 | {
47 | "name": "jongleberry",
48 | "email": "jonathanrichardong@gmail.com"
49 | }
50 | ],
51 | "dist": {
52 | "shasum": "5dca4ee12df52ff3b056145986a8f01cbc86436f",
53 | "tarball": "http://registry.npmjs.org/methods/-/methods-1.1.0.tgz"
54 | },
55 | "directories": {},
56 | "_resolved": "https://registry.npmjs.org/methods/-/methods-1.1.0.tgz"
57 | }
58 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/cookie-signature/Readme.md:
--------------------------------------------------------------------------------
1 |
2 | # cookie-signature
3 |
4 | Sign and unsign cookies.
5 |
6 | ## Example
7 |
8 | ```js
9 | var cookie = require('cookie-signature');
10 |
11 | var val = cookie.sign('hello', 'tobiiscool');
12 | val.should.equal('hello.DGDUkGlIkCzPz+C0B064FNgHdEjox7ch8tOBGslZ5QI');
13 |
14 | var val = cookie.sign('hello', 'tobiiscool');
15 | cookie.unsign(val, 'tobiiscool').should.equal('hello');
16 | cookie.unsign(val, 'luna').should.be.false;
17 | ```
18 |
19 | ## License
20 |
21 | (The MIT License)
22 |
23 | Copyright (c) 2012 LearnBoost <tj@learnboost.com>
24 |
25 | Permission is hereby granted, free of charge, to any person obtaining
26 | a copy of this software and associated documentation files (the
27 | 'Software'), to deal in the Software without restriction, including
28 | without limitation the rights to use, copy, modify, merge, publish,
29 | distribute, sublicense, and/or sell copies of the Software, and to
30 | permit persons to whom the Software is furnished to do so, subject to
31 | the following conditions:
32 |
33 | The above copyright notice and this permission notice shall be
34 | included in all copies or substantial portions of the Software.
35 |
36 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
37 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
38 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
39 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
40 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
41 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
42 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/on-finished/HISTORY.md:
--------------------------------------------------------------------------------
1 | 2.1.1 / 2014-10-22
2 | ==================
3 |
4 | * Fix handling of pipelined requests
5 |
6 | 2.1.0 / 2014-08-16
7 | ==================
8 |
9 | * Check if `socket` is detached
10 | * Return `undefined` for `isFinished` if state unknown
11 |
12 | 2.0.0 / 2014-08-16
13 | ==================
14 |
15 | * Add `isFinished` function
16 | * Move to `jshttp` organization
17 | * Remove support for plain socket argument
18 | * Rename to `on-finished`
19 | * Support both `req` and `res` as arguments
20 | * deps: ee-first@1.0.5
21 |
22 | 1.2.2 / 2014-06-10
23 | ==================
24 |
25 | * Reduce listeners added to emitters
26 | - avoids "event emitter leak" warnings when used multiple times on same request
27 |
28 | 1.2.1 / 2014-06-08
29 | ==================
30 |
31 | * Fix returned value when already finished
32 |
33 | 1.2.0 / 2014-06-05
34 | ==================
35 |
36 | * Call callback when called on already-finished socket
37 |
38 | 1.1.4 / 2014-05-27
39 | ==================
40 |
41 | * Support node.js 0.8
42 |
43 | 1.1.3 / 2014-04-30
44 | ==================
45 |
46 | * Make sure errors passed as instanceof `Error`
47 |
48 | 1.1.2 / 2014-04-18
49 | ==================
50 |
51 | * Default the `socket` to passed-in object
52 |
53 | 1.1.1 / 2014-01-16
54 | ==================
55 |
56 | * Rename module to `finished`
57 |
58 | 1.1.0 / 2013-12-25
59 | ==================
60 |
61 | * Call callback when called on already-errored socket
62 |
63 | 1.0.1 / 2013-12-20
64 | ==================
65 |
66 | * Actually pass the error to the callback
67 |
68 | 1.0.0 / 2013-12-20
69 | ==================
70 |
71 | * Initial release
72 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/proxy-addr/node_modules/forwarded/README.md:
--------------------------------------------------------------------------------
1 | # forwarded
2 |
3 | [![NPM Version][npm-image]][npm-url]
4 | [![NPM Downloads][downloads-image]][downloads-url]
5 | [![Node.js Version][node-version-image]][node-version-url]
6 | [![Build Status][travis-image]][travis-url]
7 | [![Test Coverage][coveralls-image]][coveralls-url]
8 |
9 | Parse HTTP X-Forwarded-For header
10 |
11 | ## Installation
12 |
13 | ```sh
14 | $ npm install forwarded
15 | ```
16 |
17 | ## API
18 |
19 | ```js
20 | var forwarded = require('forwarded')
21 | ```
22 |
23 | ### forwarded(req)
24 |
25 | ```js
26 | var addresses = forwarded(req)
27 | ```
28 |
29 | Parse the `X-Forwarded-For` header from the request. Returns an array
30 | of the addresses, including the socket address for the `req`. In reverse
31 | order (i.e. index `0` is the socket address and the last index is the
32 | furthest address, typically the end-user).
33 |
34 | ## Testing
35 |
36 | ```sh
37 | $ npm test
38 | ```
39 |
40 | ## License
41 |
42 | [MIT](LICENSE)
43 |
44 | [npm-image]: https://img.shields.io/npm/v/forwarded.svg?style=flat
45 | [npm-url]: https://npmjs.org/package/forwarded
46 | [node-version-image]: https://img.shields.io/node/v/forwarded.svg?style=flat
47 | [node-version-url]: http://nodejs.org/download/
48 | [travis-image]: https://img.shields.io/travis/jshttp/forwarded.svg?style=flat
49 | [travis-url]: https://travis-ci.org/jshttp/forwarded
50 | [coveralls-image]: https://img.shields.io/coveralls/jshttp/forwarded.svg?style=flat
51 | [coveralls-url]: https://coveralls.io/r/jshttp/forwarded?branch=master
52 | [downloads-image]: https://img.shields.io/npm/dm/forwarded.svg?style=flat
53 | [downloads-url]: https://npmjs.org/package/forwarded
54 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/fresh/README.md:
--------------------------------------------------------------------------------
1 | # fresh
2 |
3 | [![NPM Version][npm-image]][npm-url]
4 | [![NPM Downloads][downloads-image]][downloads-url]
5 | [![Node.js Version][node-version-image]][node-version-url]
6 | [![Build Status][travis-image]][travis-url]
7 | [![Test Coverage][coveralls-image]][coveralls-url]
8 |
9 | HTTP response freshness testing
10 |
11 | ## Installation
12 |
13 | ```
14 | $ npm install fresh
15 | ```
16 |
17 | ## API
18 |
19 | ```js
20 | var fresh = require('fresh')
21 | ```
22 |
23 | ### fresh(req, res)
24 |
25 | Check freshness of `req` and `res` headers.
26 |
27 | When the cache is "fresh" __true__ is returned,
28 | otherwise __false__ is returned to indicate that
29 | the cache is now stale.
30 |
31 | ## Example
32 |
33 | ```js
34 | var req = { 'if-none-match': 'tobi' };
35 | var res = { 'etag': 'luna' };
36 | fresh(req, res);
37 | // => false
38 |
39 | var req = { 'if-none-match': 'tobi' };
40 | var res = { 'etag': 'tobi' };
41 | fresh(req, res);
42 | // => true
43 | ```
44 |
45 | ## License
46 |
47 | [MIT](LICENSE)
48 |
49 | [npm-image]: https://img.shields.io/npm/v/fresh.svg?style=flat
50 | [npm-url]: https://npmjs.org/package/fresh
51 | [node-version-image]: https://img.shields.io/badge/node.js-%3E%3D_0.6-brightgreen.svg?style=flat
52 | [node-version-url]: http://nodejs.org/download/
53 | [travis-image]: https://img.shields.io/travis/jshttp/fresh.svg?style=flat
54 | [travis-url]: https://travis-ci.org/jshttp/fresh
55 | [coveralls-image]: https://img.shields.io/coveralls/jshttp/fresh.svg?style=flat
56 | [coveralls-url]: https://coveralls.io/r/jshttp/fresh?branch=master
57 | [downloads-image]: https://img.shields.io/npm/dm/fresh.svg?style=flat
58 | [downloads-url]: https://npmjs.org/package/fresh
59 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/etag/node_modules/crc/lib/crc.js:
--------------------------------------------------------------------------------
1 | // Generated by CoffeeScript 1.7.1
2 | var CRC, hex;
3 |
4 | hex = require('./hex');
5 |
6 | module.exports = CRC = (function() {
7 | CRC.prototype.INIT_CRC = 0x00;
8 |
9 | CRC.prototype.XOR_MASK = 0x00;
10 |
11 | CRC.prototype.WIDTH = 0;
12 |
13 | CRC.prototype.pack = function(crc) {
14 | return '';
15 | };
16 |
17 | CRC.prototype.each_byte = function(buf, cb) {
18 | var i, _i, _ref, _results;
19 | if (!Buffer.isBuffer(buf)) {
20 | buf = Buffer(buf);
21 | }
22 | _results = [];
23 | for (i = _i = 0, _ref = buf.length - 1; 0 <= _ref ? _i <= _ref : _i >= _ref; i = 0 <= _ref ? ++_i : --_i) {
24 | _results.push(cb(buf[i]));
25 | }
26 | return _results;
27 | };
28 |
29 | function CRC() {
30 | this.crc = this.INIT_CRC;
31 | }
32 |
33 | CRC.prototype.digest_length = function() {
34 | return Math.ceil(this.WIDTH / 8.0);
35 | };
36 |
37 | CRC.prototype.update = function(data) {};
38 |
39 | CRC.prototype.reset = function() {
40 | return this.crc = this.INIT_CRC;
41 | };
42 |
43 | CRC.prototype.checksum = function(signed) {
44 | var sum;
45 | if (signed == null) {
46 | signed = true;
47 | }
48 | sum = this.crc ^ this.XOR_MASK;
49 | if (signed) {
50 | sum = sum >>> 0;
51 | }
52 | return sum;
53 | };
54 |
55 | CRC.prototype.finish = function() {
56 | return this.pack(this.checksum());
57 | };
58 |
59 | CRC.prototype.hexdigest = function(value) {
60 | var result;
61 | if (value != null) {
62 | this.update(value);
63 | }
64 | result = this.finish();
65 | this.reset();
66 | return result;
67 | };
68 |
69 | return CRC;
70 |
71 | })();
72 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/merge-descriptors/README.md:
--------------------------------------------------------------------------------
1 | # Merge Descriptors [](https://travis-ci.org/component/merge-descriptors)
2 |
3 | Merge objects using descriptors.
4 |
5 | ```js
6 | var thing = {
7 | get name() {
8 | return 'jon'
9 | }
10 | }
11 |
12 | var animal = {
13 |
14 | }
15 |
16 | merge(animal, thing)
17 |
18 | animal.name === 'jon'
19 | ```
20 |
21 | ## API
22 |
23 | ### merge(destination, source)
24 |
25 | Overwrites `destination`'s descriptors with `source`'s.
26 |
27 | ## License
28 |
29 | The MIT License (MIT)
30 |
31 | Copyright (c) 2013 Jonathan Ong me@jongleberry.com
32 |
33 | Permission is hereby granted, free of charge, to any person obtaining a copy
34 | of this software and associated documentation files (the "Software"), to deal
35 | in the Software without restriction, including without limitation the rights
36 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
37 | copies of the Software, and to permit persons to whom the Software is
38 | furnished to do so, subject to the following conditions:
39 |
40 | The above copyright notice and this permission notice shall be included in
41 | all copies or substantial portions of the Software.
42 |
43 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
44 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
45 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
46 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
47 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
48 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
49 | THE SOFTWARE.
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/send/node_modules/destroy/README.md:
--------------------------------------------------------------------------------
1 | # Destroy
2 |
3 | [![NPM version][npm-image]][npm-url]
4 | [![Build status][travis-image]][travis-url]
5 | [![Test coverage][coveralls-image]][coveralls-url]
6 | [![Dependency Status][david-image]][david-url]
7 | [![License][license-image]][license-url]
8 | [![Downloads][downloads-image]][downloads-url]
9 | [![Gittip][gittip-image]][gittip-url]
10 |
11 | Destroy a stream.
12 |
13 | ## API
14 |
15 | ```js
16 | var destroy = require('destroy')
17 |
18 | var fs = require('fs')
19 | var stream = fs.createReadStream('package.json')
20 | destroy(stream)
21 | ```
22 |
23 | [npm-image]: https://img.shields.io/npm/v/destroy.svg?style=flat-square
24 | [npm-url]: https://npmjs.org/package/destroy
25 | [github-tag]: http://img.shields.io/github/tag/stream-utils/destroy.svg?style=flat-square
26 | [github-url]: https://github.com/stream-utils/destroy/tags
27 | [travis-image]: https://img.shields.io/travis/stream-utils/destroy.svg?style=flat-square
28 | [travis-url]: https://travis-ci.org/stream-utils/destroy
29 | [coveralls-image]: https://img.shields.io/coveralls/stream-utils/destroy.svg?style=flat-square
30 | [coveralls-url]: https://coveralls.io/r/stream-utils/destroy?branch=master
31 | [david-image]: http://img.shields.io/david/stream-utils/destroy.svg?style=flat-square
32 | [david-url]: https://david-dm.org/stream-utils/destroy
33 | [license-image]: http://img.shields.io/npm/l/destroy.svg?style=flat-square
34 | [license-url]: LICENSE.md
35 | [downloads-image]: http://img.shields.io/npm/dm/destroy.svg?style=flat-square
36 | [downloads-url]: https://npmjs.org/package/destroy
37 | [gittip-image]: https://img.shields.io/gittip/jonathanong.svg?style=flat-square
38 | [gittip-url]: https://www.gittip.com/jonathanong/
39 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/depd/History.md:
--------------------------------------------------------------------------------
1 | 1.0.0 / 2014-09-17
2 | ==================
3 |
4 | * No changes
5 |
6 | 0.4.5 / 2014-09-09
7 | ==================
8 |
9 | * Improve call speed to functions using the function wrapper
10 | * Support Node.js 0.6
11 |
12 | 0.4.4 / 2014-07-27
13 | ==================
14 |
15 | * Work-around v8 generating empty stack traces
16 |
17 | 0.4.3 / 2014-07-26
18 | ==================
19 |
20 | * Fix exception when global `Error.stackTraceLimit` is too low
21 |
22 | 0.4.2 / 2014-07-19
23 | ==================
24 |
25 | * Correct call site for wrapped functions and properties
26 |
27 | 0.4.1 / 2014-07-19
28 | ==================
29 |
30 | * Improve automatic message generation for function properties
31 |
32 | 0.4.0 / 2014-07-19
33 | ==================
34 |
35 | * Add `TRACE_DEPRECATION` environment variable
36 | * Remove non-standard grey color from color output
37 | * Support `--no-deprecation` argument
38 | * Support `--trace-deprecation` argument
39 | * Support `deprecate.property(fn, prop, message)`
40 |
41 | 0.3.0 / 2014-06-16
42 | ==================
43 |
44 | * Add `NO_DEPRECATION` environment variable
45 |
46 | 0.2.0 / 2014-06-15
47 | ==================
48 |
49 | * Add `deprecate.property(obj, prop, message)`
50 | * Remove `supports-color` dependency for node.js 0.8
51 |
52 | 0.1.0 / 2014-06-15
53 | ==================
54 |
55 | * Add `deprecate.function(fn, message)`
56 | * Add `process.on('deprecation', fn)` emitter
57 | * Automatically generate message when omitted from `deprecate()`
58 |
59 | 0.0.1 / 2014-06-15
60 | ==================
61 |
62 | * Fix warning for dynamic calls at singe call site
63 |
64 | 0.0.0 / 2014-06-15
65 | ==================
66 |
67 | * Initial implementation
68 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/qs/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2014 Nathan LaFreniere and other contributors.
2 | All rights reserved.
3 |
4 | Redistribution and use in source and binary forms, with or without
5 | modification, are permitted provided that the following conditions are met:
6 | * Redistributions of source code must retain the above copyright
7 | notice, this list of conditions and the following disclaimer.
8 | * Redistributions in binary form must reproduce the above copyright
9 | notice, this list of conditions and the following disclaimer in the
10 | documentation and/or other materials provided with the distribution.
11 | * The names of any contributors may not be used to endorse or promote
12 | products derived from this software without specific prior written
13 | permission.
14 |
15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
16 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY
19 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 |
26 | * * *
27 |
28 | The complete list of contributors can be found at: https://github.com/hapijs/qs/graphs/contributors
29 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/on-finished/node_modules/ee-first/index.js:
--------------------------------------------------------------------------------
1 |
2 | module.exports = function first(stuff, done) {
3 | if (!Array.isArray(stuff))
4 | throw new TypeError('arg must be an array of [ee, events...] arrays')
5 |
6 | var cleanups = []
7 |
8 | for (var i = 0; i < stuff.length; i++) {
9 | var arr = stuff[i]
10 |
11 | if (!Array.isArray(arr) || arr.length < 2)
12 | throw new TypeError('each array member must be [ee, events...]')
13 |
14 | var ee = arr[0]
15 |
16 | for (var j = 1; j < arr.length; j++) {
17 | var event = arr[j]
18 | var fn = listener(event, callback)
19 |
20 | // listen to the event
21 | ee.on(event, fn)
22 | // push this listener to the list of cleanups
23 | cleanups.push({
24 | ee: ee,
25 | event: event,
26 | fn: fn,
27 | })
28 | }
29 | }
30 |
31 | function callback() {
32 | cleanup()
33 | done.apply(null, arguments)
34 | }
35 |
36 | function cleanup() {
37 | var x
38 | for (var i = 0; i < cleanups.length; i++) {
39 | x = cleanups[i]
40 | x.ee.removeListener(x.event, x.fn)
41 | }
42 | }
43 |
44 | function thunk(fn) {
45 | done = fn
46 | }
47 |
48 | thunk.cancel = cleanup
49 |
50 | return thunk
51 | }
52 |
53 | function listener(event, done) {
54 | return function onevent(arg1) {
55 | var args = new Array(arguments.length)
56 | var ee = this
57 | var err = event === 'error'
58 | ? arg1
59 | : null
60 |
61 | // copy args to prevent arguments escaping scope
62 | for (var i = 0; i < args.length; i++) {
63 | args[i] = arguments[i]
64 | }
65 |
66 | done(err, ee, event, args)
67 | }
68 | }
69 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/etag/node_modules/crc/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "crc",
3 | "version": "3.0.0",
4 | "description": "Various CRC JavaScript implementations",
5 | "keywords": [
6 | "crc"
7 | ],
8 | "main": "./lib/index.js",
9 | "scripts": {
10 | "test": "mocha test/*.spec.coffee",
11 | "pretest": "coffee --bare --output ./lib --compile ./src/*.coffee"
12 | },
13 | "author": {
14 | "name": "Alex Gorbatchev",
15 | "url": "https://github.com/alexgorbatchev"
16 | },
17 | "devDependencies": {
18 | "beautify-benchmark": "^0.2.4",
19 | "benchmark": "^1.0.0",
20 | "buffer-crc32": "^0.2.3",
21 | "chai": "~1.9.1",
22 | "coffee-errors": "~0.8.6",
23 | "coffee-script": "~1.7.1",
24 | "mocha": "*",
25 | "seedrandom": "^2.3.6"
26 | },
27 | "homepage": "https://github.com/alexgorbatchev/node-crc",
28 | "bugs": {
29 | "url": "https://github.com/alexgorbatchev/node-crc/issues"
30 | },
31 | "repository": {
32 | "type": "git",
33 | "url": "git://github.com/alexgorbatchev/node-crc.git"
34 | },
35 | "license": "MIT",
36 | "gitHead": "16dbe7ca019d73be10e99c2f5fa690dcbfc0dd40",
37 | "_id": "crc@3.0.0",
38 | "_shasum": "d11e97ec44a844e5eb15a74fa2c7875d0aac4b22",
39 | "_from": "crc@3.0.0",
40 | "_npmVersion": "2.0.0-beta.0",
41 | "_npmUser": {
42 | "name": "alexgorbatchev",
43 | "email": "alex.gorbatchev@gmail.com"
44 | },
45 | "maintainers": [
46 | {
47 | "name": "alexgorbatchev",
48 | "email": "alex.gorbatchev@gmail.com"
49 | }
50 | ],
51 | "dist": {
52 | "shasum": "d11e97ec44a844e5eb15a74fa2c7875d0aac4b22",
53 | "tarball": "http://registry.npmjs.org/crc/-/crc-3.0.0.tgz"
54 | },
55 | "directories": {},
56 | "_resolved": "https://registry.npmjs.org/crc/-/crc-3.0.0.tgz"
57 | }
58 |
--------------------------------------------------------------------------------
/webbit-nashorn/demo.js:
--------------------------------------------------------------------------------
1 | var createWebServer = Packages.org.webbitserver.WebServers.createWebServer;
2 | var Thread = java.lang.Thread;
3 | var StaticFileHandler = Packages.org.webbitserver.handler.StaticFileHandler;
4 | var HttpHandler = Packages.org.webbitserver.HttpHandler;
5 | var BaseWebSocketHandler = Java.extend(Packages.org.webbitserver.BaseWebSocketHandler);
6 | var Map = java.util.HashMap;
7 |
8 | var websocket = new BaseWebSocketHandler() {
9 |
10 | connectionCount: 1,
11 | //note: Webbit is single-threaded
12 | connections: new Map(),
13 |
14 | onOpen: function (connection) {
15 | connection.send("Number of active connections: " + this.connectionCount );
16 | this.connectionCount++;
17 | this.connections.put(connection.hashCode(), connection);
18 | },
19 |
20 | onClose: function (connection) {
21 | this.connectionCount--;
22 | this.connections.remove(connection.hashCode());
23 | },
24 |
25 | onMessage: function (connection, message) {
26 | print("message arrived: "+message);
27 | var conns = Java.from(this.connections.values());
28 | for (var i = 0; i < conns.length; i++) {
29 | conns[i].send(message.toUpperCase());
30 | }
31 | }
32 | };
33 |
34 |
35 | var helloworld = new HttpHandler {
36 | handleHttpRequest: function (request, response, control) {
37 | //note: Webbit is single-threaded
38 | //this essentially means execute this block of code on nextTick
39 | control.execute(function () {
40 | response.content("Hello World").end();
41 | });
42 | }
43 | };
44 |
45 | var webServer =
46 | createWebServer(9000).
47 | add("/websockets", websocket).
48 | add("/hello", helloworld).
49 | add(new StaticFileHandler("./public"));
50 |
51 | webServer.start();
52 |
53 | print("Server running at " + webServer.getUri());
54 |
55 | Thread.currentThread().join();
56 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/vary/README.md:
--------------------------------------------------------------------------------
1 | # vary
2 |
3 | [](https://www.npmjs.org/package/vary)
4 | [](http://nodejs.org/download/)
5 | [](https://travis-ci.org/jshttp/vary)
6 | [](https://coveralls.io/r/jshttp/vary)
7 | [](https://www.gittip.com/dougwilson/)
8 |
9 | Manipulate the HTTP Vary header
10 |
11 | ## Install
12 |
13 | ```sh
14 | $ npm install vary
15 | ```
16 |
17 | ## API
18 |
19 | ```js
20 | var vary = require('vary')
21 | ```
22 |
23 | ### vary(res, field)
24 |
25 | Adds the given header `field` to the `Vary` response header of `res`.
26 | This can be a string of a single field, a string of a valid `Vary`
27 | header, or an array of multiple fields.
28 |
29 | This will append the header if not already listed, otherwise leaves
30 | it listed in the current location.
31 |
32 | ```js
33 | // Append "Origin" to the Vary header of the response
34 | vary(res, 'Origin')
35 | ```
36 |
37 | ### vary.append(header, field)
38 |
39 | Adds the given header `field` to the `Vary` response header string `header`.
40 | This can be a string of a single field, a string of a valid `Vary` header,
41 | or an array of multiple fields.
42 |
43 | This will append the header if not already listed, otherwise leaves
44 | it listed in the current location. The new header string is returned.
45 |
46 | ```js
47 | // Get header string appending "Origin" to "Accept, User-Agent"
48 | vary.append('Accept, User-Agent', 'Origin')
49 | ```
50 |
51 | ## Testing
52 |
53 | ```sh
54 | $ npm test
55 | ```
56 |
57 | ## License
58 |
59 | [MIT](LICENSE)
60 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/media-typer/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "media-typer",
3 | "description": "Simple RFC 6838 media type parser and formatter",
4 | "version": "0.3.0",
5 | "author": {
6 | "name": "Douglas Christopher Wilson",
7 | "email": "doug@somethingdoug.com"
8 | },
9 | "license": "MIT",
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/jshttp/media-typer"
13 | },
14 | "devDependencies": {
15 | "istanbul": "0.3.2",
16 | "mocha": "~1.21.4",
17 | "should": "~4.0.4"
18 | },
19 | "files": [
20 | "LICENSE",
21 | "HISTORY.md",
22 | "index.js"
23 | ],
24 | "engines": {
25 | "node": ">= 0.6"
26 | },
27 | "scripts": {
28 | "test": "mocha --reporter spec --check-leaks --bail test/",
29 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
30 | "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
31 | },
32 | "gitHead": "d49d41ffd0bb5a0655fa44a59df2ec0bfc835b16",
33 | "bugs": {
34 | "url": "https://github.com/jshttp/media-typer/issues"
35 | },
36 | "homepage": "https://github.com/jshttp/media-typer",
37 | "_id": "media-typer@0.3.0",
38 | "_shasum": "8710d7af0aa626f8fffa1ce00168545263255748",
39 | "_from": "media-typer@0.3.0",
40 | "_npmVersion": "1.4.21",
41 | "_npmUser": {
42 | "name": "dougwilson",
43 | "email": "doug@somethingdoug.com"
44 | },
45 | "maintainers": [
46 | {
47 | "name": "dougwilson",
48 | "email": "doug@somethingdoug.com"
49 | }
50 | ],
51 | "dist": {
52 | "shasum": "8710d7af0aa626f8fffa1ce00168545263255748",
53 | "tarball": "http://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz"
54 | },
55 | "directories": {},
56 | "_resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz"
57 | }
58 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/type-is/HISTORY.md:
--------------------------------------------------------------------------------
1 | 1.5.3 / 2014-11-09
2 | ==================
3 |
4 | * deps: mime-types@~2.0.3
5 | - Add new mime types
6 | - deps: mime-db@~1.2.0
7 |
8 | 1.5.2 / 2014-09-28
9 | ==================
10 |
11 | * deps: mime-types@~2.0.2
12 | - Add new mime types
13 | - deps: mime-db@~1.1.0
14 |
15 | 1.5.1 / 2014-09-07
16 | ==================
17 |
18 | * Support Node.js 0.6
19 | * deps: media-typer@0.3.0
20 | * deps: mime-types@~2.0.1
21 | - Support Node.js 0.6
22 |
23 | 1.5.0 / 2014-09-05
24 | ==================
25 |
26 | * fix `hasbody` to be true for `content-length: 0`
27 |
28 | 1.4.0 / 2014-09-02
29 | ==================
30 |
31 | * update mime-types
32 |
33 | 1.3.2 / 2014-06-24
34 | ==================
35 |
36 | * use `~` range on mime-types
37 |
38 | 1.3.1 / 2014-06-19
39 | ==================
40 |
41 | * fix global variable leak
42 |
43 | 1.3.0 / 2014-06-19
44 | ==================
45 |
46 | * improve type parsing
47 |
48 | - invalid media type never matches
49 | - media type not case-sensitive
50 | - extra LWS does not affect results
51 |
52 | 1.2.2 / 2014-06-19
53 | ==================
54 |
55 | * fix behavior on unknown type argument
56 |
57 | 1.2.1 / 2014-06-03
58 | ==================
59 |
60 | * switch dependency from `mime` to `mime-types@1.0.0`
61 |
62 | 1.2.0 / 2014-05-11
63 | ==================
64 |
65 | * support suffix matching:
66 |
67 | - `+json` matches `application/vnd+json`
68 | - `*/vnd+json` matches `application/vnd+json`
69 | - `application/*+json` matches `application/vnd+json`
70 |
71 | 1.1.0 / 2014-04-12
72 | ==================
73 |
74 | * add non-array values support
75 | * expose internal utilities:
76 |
77 | - `.is()`
78 | - `.hasBody()`
79 | - `.normalize()`
80 | - `.match()`
81 |
82 | 1.0.1 / 2014-03-30
83 | ==================
84 |
85 | * add `multipart` as a shorthand
86 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/send/node_modules/destroy/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "destroy",
3 | "description": "destroy a stream if possible",
4 | "version": "1.0.3",
5 | "author": {
6 | "name": "Jonathan Ong",
7 | "email": "me@jongleberry.com",
8 | "url": "http://jongleberry.com"
9 | },
10 | "contributors": [
11 | {
12 | "name": "Douglas Christopher Wilson",
13 | "email": "doug@somethingdoug.com"
14 | }
15 | ],
16 | "license": "MIT",
17 | "repository": {
18 | "type": "git",
19 | "url": "https://github.com/stream-utils/destroy"
20 | },
21 | "devDependencies": {
22 | "istanbul": "0",
23 | "mocha": "1"
24 | },
25 | "scripts": {
26 | "test": "mocha --reporter spec",
27 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot",
28 | "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot"
29 | },
30 | "files": [
31 | "index.js"
32 | ],
33 | "keywords": [
34 | "stream",
35 | "streams",
36 | "destroy",
37 | "cleanup",
38 | "leak",
39 | "fd"
40 | ],
41 | "gitHead": "50af95ece4a70202f9301bc3edc8f9fdbbad0f26",
42 | "bugs": {
43 | "url": "https://github.com/stream-utils/destroy/issues"
44 | },
45 | "homepage": "https://github.com/stream-utils/destroy",
46 | "_id": "destroy@1.0.3",
47 | "_shasum": "b433b4724e71fd8551d9885174851c5fc377e2c9",
48 | "_from": "destroy@1.0.3",
49 | "_npmVersion": "1.4.21",
50 | "_npmUser": {
51 | "name": "jongleberry",
52 | "email": "jonathanrichardong@gmail.com"
53 | },
54 | "maintainers": [
55 | {
56 | "name": "jongleberry",
57 | "email": "jonathanrichardong@gmail.com"
58 | }
59 | ],
60 | "dist": {
61 | "shasum": "b433b4724e71fd8551d9885174851c5fc377e2c9",
62 | "tarball": "http://registry.npmjs.org/destroy/-/destroy-1.0.3.tgz"
63 | },
64 | "directories": {},
65 | "_resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.3.tgz"
66 | }
67 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/proxy-addr/node_modules/forwarded/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "forwarded",
3 | "description": "Parse HTTP X-Forwarded-For header",
4 | "version": "0.1.0",
5 | "contributors": [
6 | {
7 | "name": "Douglas Christopher Wilson",
8 | "email": "doug@somethingdoug.com"
9 | }
10 | ],
11 | "license": "MIT",
12 | "keywords": [
13 | "x-forwarded-for",
14 | "http",
15 | "req"
16 | ],
17 | "repository": {
18 | "type": "git",
19 | "url": "https://github.com/jshttp/forwarded"
20 | },
21 | "devDependencies": {
22 | "istanbul": "0.3.2",
23 | "mocha": "~1.21.4"
24 | },
25 | "files": [
26 | "LICENSE",
27 | "HISTORY.md",
28 | "README.md",
29 | "index.js"
30 | ],
31 | "engines": {
32 | "node": ">= 0.6"
33 | },
34 | "scripts": {
35 | "test": "mocha --reporter spec --bail --check-leaks test/",
36 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
37 | "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
38 | },
39 | "gitHead": "e9a9faeb3cfaadf40eb57d144fff26bca9b818e8",
40 | "bugs": {
41 | "url": "https://github.com/jshttp/forwarded/issues"
42 | },
43 | "homepage": "https://github.com/jshttp/forwarded",
44 | "_id": "forwarded@0.1.0",
45 | "_shasum": "19ef9874c4ae1c297bcf078fde63a09b66a84363",
46 | "_from": "forwarded@~0.1.0",
47 | "_npmVersion": "1.4.21",
48 | "_npmUser": {
49 | "name": "dougwilson",
50 | "email": "doug@somethingdoug.com"
51 | },
52 | "maintainers": [
53 | {
54 | "name": "dougwilson",
55 | "email": "doug@somethingdoug.com"
56 | }
57 | ],
58 | "dist": {
59 | "shasum": "19ef9874c4ae1c297bcf078fde63a09b66a84363",
60 | "tarball": "http://registry.npmjs.org/forwarded/-/forwarded-0.1.0.tgz"
61 | },
62 | "directories": {},
63 | "_resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.0.tgz"
64 | }
65 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/accepts/node_modules/mime-types/index.js:
--------------------------------------------------------------------------------
1 |
2 | var db = require('mime-db')
3 |
4 | // types[extension] = type
5 | exports.types = Object.create(null)
6 | // extensions[type] = [extensions]
7 | exports.extensions = Object.create(null)
8 |
9 | Object.keys(db).forEach(function (name) {
10 | var mime = db[name]
11 | var exts = mime.extensions
12 | if (!exts || !exts.length) return
13 | exports.extensions[name] = exts
14 | exts.forEach(function (ext) {
15 | exports.types[ext] = name
16 | })
17 | })
18 |
19 | exports.lookup = function (string) {
20 | if (!string || typeof string !== "string") return false
21 | // remove any leading paths, though we should just use path.basename
22 | string = string.replace(/.*[\.\/\\]/, '').toLowerCase()
23 | if (!string) return false
24 | return exports.types[string] || false
25 | }
26 |
27 | exports.extension = function (type) {
28 | if (!type || typeof type !== "string") return false
29 | // to do: use media-typer
30 | type = type.match(/^\s*([^;\s]*)(?:;|\s|$)/)
31 | if (!type) return false
32 | var exts = exports.extensions[type[1].toLowerCase()]
33 | if (!exts || !exts.length) return false
34 | return exts[0]
35 | }
36 |
37 | // type has to be an exact mime type
38 | exports.charset = function (type) {
39 | var mime = db[type]
40 | if (mime && mime.charset) return mime.charset
41 |
42 | // default text/* to utf-8
43 | if (/^text\//.test(type)) return 'UTF-8'
44 |
45 | return false
46 | }
47 |
48 | // backwards compatibility
49 | exports.charsets = {
50 | lookup: exports.charset
51 | }
52 |
53 | // to do: maybe use set-type module or something
54 | exports.contentType = function (type) {
55 | if (!type || typeof type !== "string") return false
56 | if (!~type.indexOf('/')) type = exports.lookup(type)
57 | if (!type) return false
58 | if (!~type.indexOf('charset')) {
59 | var charset = exports.charset(type)
60 | if (charset) type += '; charset=' + charset.toLowerCase()
61 | }
62 | return type
63 | }
64 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/type-is/node_modules/mime-types/index.js:
--------------------------------------------------------------------------------
1 |
2 | var db = require('mime-db')
3 |
4 | // types[extension] = type
5 | exports.types = Object.create(null)
6 | // extensions[type] = [extensions]
7 | exports.extensions = Object.create(null)
8 |
9 | Object.keys(db).forEach(function (name) {
10 | var mime = db[name]
11 | var exts = mime.extensions
12 | if (!exts || !exts.length) return
13 | exports.extensions[name] = exts
14 | exts.forEach(function (ext) {
15 | exports.types[ext] = name
16 | })
17 | })
18 |
19 | exports.lookup = function (string) {
20 | if (!string || typeof string !== "string") return false
21 | // remove any leading paths, though we should just use path.basename
22 | string = string.replace(/.*[\.\/\\]/, '').toLowerCase()
23 | if (!string) return false
24 | return exports.types[string] || false
25 | }
26 |
27 | exports.extension = function (type) {
28 | if (!type || typeof type !== "string") return false
29 | // to do: use media-typer
30 | type = type.match(/^\s*([^;\s]*)(?:;|\s|$)/)
31 | if (!type) return false
32 | var exts = exports.extensions[type[1].toLowerCase()]
33 | if (!exts || !exts.length) return false
34 | return exts[0]
35 | }
36 |
37 | // type has to be an exact mime type
38 | exports.charset = function (type) {
39 | var mime = db[type]
40 | if (mime && mime.charset) return mime.charset
41 |
42 | // default text/* to utf-8
43 | if (/^text\//.test(type)) return 'UTF-8'
44 |
45 | return false
46 | }
47 |
48 | // backwards compatibility
49 | exports.charsets = {
50 | lookup: exports.charset
51 | }
52 |
53 | // to do: maybe use set-type module or something
54 | exports.contentType = function (type) {
55 | if (!type || typeof type !== "string") return false
56 | if (!~type.indexOf('/')) type = exports.lookup(type)
57 | if (!type) return false
58 | if (!~type.indexOf('charset')) {
59 | var charset = exports.charset(type)
60 | if (charset) type += '; charset=' + charset.toLowerCase()
61 | }
62 | return type
63 | }
64 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/debug/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "debug",
3 | "version": "2.1.0",
4 | "repository": {
5 | "type": "git",
6 | "url": "git://github.com/visionmedia/debug.git"
7 | },
8 | "description": "small debugging utility",
9 | "keywords": [
10 | "debug",
11 | "log",
12 | "debugger"
13 | ],
14 | "author": {
15 | "name": "TJ Holowaychuk",
16 | "email": "tj@vision-media.ca"
17 | },
18 | "contributors": [
19 | {
20 | "name": "Nathan Rajlich",
21 | "email": "nathan@tootallnate.net",
22 | "url": "http://n8.io"
23 | }
24 | ],
25 | "license": "MIT",
26 | "dependencies": {
27 | "ms": "0.6.2"
28 | },
29 | "devDependencies": {
30 | "browserify": "6.1.0",
31 | "mocha": "*"
32 | },
33 | "main": "./node.js",
34 | "browser": "./browser.js",
35 | "component": {
36 | "scripts": {
37 | "debug/index.js": "browser.js",
38 | "debug/debug.js": "debug.js"
39 | }
40 | },
41 | "gitHead": "953162b4fa8849268d147f4bac91c737baee55bb",
42 | "bugs": {
43 | "url": "https://github.com/visionmedia/debug/issues"
44 | },
45 | "homepage": "https://github.com/visionmedia/debug",
46 | "_id": "debug@2.1.0",
47 | "scripts": {},
48 | "_shasum": "33ab915659d8c2cc8a41443d94d6ebd37697ed21",
49 | "_from": "debug@~2.1.0",
50 | "_npmVersion": "2.1.3",
51 | "_nodeVersion": "0.10.32",
52 | "_npmUser": {
53 | "name": "tootallnate",
54 | "email": "nathan@tootallnate.net"
55 | },
56 | "maintainers": [
57 | {
58 | "name": "tjholowaychuk",
59 | "email": "tj@vision-media.ca"
60 | },
61 | {
62 | "name": "tootallnate",
63 | "email": "nathan@tootallnate.net"
64 | }
65 | ],
66 | "dist": {
67 | "shasum": "33ab915659d8c2cc8a41443d94d6ebd37697ed21",
68 | "tarball": "http://registry.npmjs.org/debug/-/debug-2.1.0.tgz"
69 | },
70 | "directories": {},
71 | "_resolved": "https://registry.npmjs.org/debug/-/debug-2.1.0.tgz",
72 | "readme": "ERROR: No README data found!"
73 | }
74 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/depd/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "depd",
3 | "description": "Deprecate all the things",
4 | "version": "1.0.0",
5 | "author": {
6 | "name": "Douglas Christopher Wilson",
7 | "email": "doug@somethingdoug.com"
8 | },
9 | "license": "MIT",
10 | "keywords": [
11 | "deprecate",
12 | "deprecated"
13 | ],
14 | "repository": {
15 | "type": "git",
16 | "url": "https://github.com/dougwilson/nodejs-depd"
17 | },
18 | "devDependencies": {
19 | "benchmark": "1.0.0",
20 | "beautify-benchmark": "0.2.4",
21 | "istanbul": "0.3.2",
22 | "mocha": "~1.21.4",
23 | "should": "~4.0.4"
24 | },
25 | "files": [
26 | "lib/",
27 | "History.md",
28 | "LICENSE",
29 | "index.js",
30 | "Readme.md"
31 | ],
32 | "engines": {
33 | "node": ">= 0.6"
34 | },
35 | "scripts": {
36 | "bench": "node benchmark/index.js",
37 | "test": "mocha --reporter spec --bail --require should test/",
38 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --require should test/",
39 | "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --require should test/"
40 | },
41 | "gitHead": "08b5a2182c8c1fdf7420e4ff8532bfd7e266a7b2",
42 | "bugs": {
43 | "url": "https://github.com/dougwilson/nodejs-depd/issues"
44 | },
45 | "homepage": "https://github.com/dougwilson/nodejs-depd",
46 | "_id": "depd@1.0.0",
47 | "_shasum": "2fda0d00e98aae2845d4991ab1bf1f2a199073d5",
48 | "_from": "depd@~1.0.0",
49 | "_npmVersion": "1.4.21",
50 | "_npmUser": {
51 | "name": "dougwilson",
52 | "email": "doug@somethingdoug.com"
53 | },
54 | "maintainers": [
55 | {
56 | "name": "dougwilson",
57 | "email": "doug@somethingdoug.com"
58 | }
59 | ],
60 | "dist": {
61 | "shasum": "2fda0d00e98aae2845d4991ab1bf1f2a199073d5",
62 | "tarball": "http://registry.npmjs.org/depd/-/depd-1.0.0.tgz"
63 | },
64 | "directories": {},
65 | "_resolved": "https://registry.npmjs.org/depd/-/depd-1.0.0.tgz"
66 | }
67 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/on-finished/node_modules/ee-first/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "ee-first",
3 | "description": "return the first event in a set of ee/event pairs",
4 | "version": "1.1.0",
5 | "author": {
6 | "name": "Jonathan Ong",
7 | "email": "me@jongleberry.com",
8 | "url": "http://jongleberry.com"
9 | },
10 | "contributors": [
11 | {
12 | "name": "Douglas Christopher Wilson",
13 | "email": "doug@somethingdoug.com"
14 | }
15 | ],
16 | "license": "MIT",
17 | "repository": {
18 | "type": "git",
19 | "url": "https://github.com/jonathanong/ee-first"
20 | },
21 | "devDependencies": {
22 | "istanbul": "0.3.2",
23 | "mocha": "1"
24 | },
25 | "files": [
26 | "index.js",
27 | "LICENSE"
28 | ],
29 | "scripts": {
30 | "test": "mocha --reporter spec --bail --check-leaks test/",
31 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
32 | "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
33 | },
34 | "gitHead": "a6412004da4745941af2fc98ec30c8da570da7ea",
35 | "bugs": {
36 | "url": "https://github.com/jonathanong/ee-first/issues"
37 | },
38 | "homepage": "https://github.com/jonathanong/ee-first",
39 | "_id": "ee-first@1.1.0",
40 | "_shasum": "6a0d7c6221e490feefd92ec3f441c9ce8cd097f4",
41 | "_from": "ee-first@1.1.0",
42 | "_npmVersion": "1.4.21",
43 | "_npmUser": {
44 | "name": "dougwilson",
45 | "email": "doug@somethingdoug.com"
46 | },
47 | "maintainers": [
48 | {
49 | "name": "jongleberry",
50 | "email": "jonathanrichardong@gmail.com"
51 | },
52 | {
53 | "name": "dougwilson",
54 | "email": "doug@somethingdoug.com"
55 | }
56 | ],
57 | "dist": {
58 | "shasum": "6a0d7c6221e490feefd92ec3f441c9ce8cd097f4",
59 | "tarball": "http://registry.npmjs.org/ee-first/-/ee-first-1.1.0.tgz"
60 | },
61 | "directories": {},
62 | "_resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.0.tgz"
63 | }
64 |
--------------------------------------------------------------------------------
/webbit-nashorn/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 4.0.0
5 | com.github.pk11
6 | nashorn
7 | 1.0-SNAPSHOT
8 |
9 |
10 |
11 | org.apache.maven.plugins
12 | maven-compiler-plugin
13 | 2.5
14 |
15 | 1.7
16 | 1.7
17 | UTF-8
18 |
19 |
20 |
21 | maven-assembly-plugin
22 |
23 |
24 |
25 | com.github.pk11.MainClass
26 |
27 |
28 |
29 | jar-with-dependencies
30 |
31 |
32 |
33 |
34 | make-assembly
35 |
36 | package
37 |
38 |
39 | single
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 | org.webbitserver
49 | webbit
50 | 0.4.15
51 |
52 |
53 | junit
54 | junit
55 | 4.2
56 | test
57 |
58 |
59 |
60 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/qs/lib/stringify.js:
--------------------------------------------------------------------------------
1 | // Load modules
2 |
3 | var Utils = require('./utils');
4 |
5 |
6 | // Declare internals
7 |
8 | var internals = {
9 | delimiter: '&',
10 | indices: true
11 | };
12 |
13 |
14 | internals.stringify = function (obj, prefix, options) {
15 |
16 | if (Utils.isBuffer(obj)) {
17 | obj = obj.toString();
18 | }
19 | else if (obj instanceof Date) {
20 | obj = obj.toISOString();
21 | }
22 | else if (obj === null) {
23 | obj = '';
24 | }
25 |
26 | if (typeof obj === 'string' ||
27 | typeof obj === 'number' ||
28 | typeof obj === 'boolean') {
29 |
30 | return [encodeURIComponent(prefix) + '=' + encodeURIComponent(obj)];
31 | }
32 |
33 | var values = [];
34 |
35 | if (typeof obj === 'undefined') {
36 | return values;
37 | }
38 |
39 | var objKeys = Object.keys(obj);
40 | for (var i = 0, il = objKeys.length; i < il; ++i) {
41 | var key = objKeys[i];
42 | if (!options.indices &&
43 | Array.isArray(obj)) {
44 |
45 | values = values.concat(internals.stringify(obj[key], prefix, options));
46 | }
47 | else {
48 | values = values.concat(internals.stringify(obj[key], prefix + '[' + key + ']', options));
49 | }
50 | }
51 |
52 | return values;
53 | };
54 |
55 |
56 | module.exports = function (obj, options) {
57 |
58 | options = options || {};
59 | var delimiter = typeof options.delimiter === 'undefined' ? internals.delimiter : options.delimiter;
60 | options.indices = typeof options.indices === 'boolean' ? options.indices : internals.indices;
61 |
62 | var keys = [];
63 |
64 | if (typeof obj !== 'object' ||
65 | obj === null) {
66 |
67 | return '';
68 | }
69 |
70 | var objKeys = Object.keys(obj);
71 | for (var i = 0, il = objKeys.length; i < il; ++i) {
72 | var key = objKeys[i];
73 | keys = keys.concat(internals.stringify(obj[key], key, options));
74 | }
75 |
76 | return keys.join(delimiter);
77 | };
78 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/content-disposition/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "content-disposition",
3 | "description": "Create and parse Content-Disposition header",
4 | "version": "0.5.0",
5 | "contributors": [
6 | {
7 | "name": "Douglas Christopher Wilson",
8 | "email": "doug@somethingdoug.com"
9 | }
10 | ],
11 | "license": "MIT",
12 | "keywords": [
13 | "content-disposition",
14 | "http",
15 | "rfc6266",
16 | "res"
17 | ],
18 | "repository": {
19 | "type": "git",
20 | "url": "https://github.com/jshttp/content-disposition"
21 | },
22 | "devDependencies": {
23 | "istanbul": "0.3.2",
24 | "mocha": "~1.21.4"
25 | },
26 | "files": [
27 | "LICENSE",
28 | "HISTORY.md",
29 | "README.md",
30 | "index.js"
31 | ],
32 | "engines": {
33 | "node": ">= 0.6"
34 | },
35 | "scripts": {
36 | "test": "mocha --reporter spec --bail --check-leaks test/",
37 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
38 | "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
39 | },
40 | "gitHead": "f3c915f0c9d9f5ec79713dba24c8c6181b73305d",
41 | "bugs": {
42 | "url": "https://github.com/jshttp/content-disposition/issues"
43 | },
44 | "homepage": "https://github.com/jshttp/content-disposition",
45 | "_id": "content-disposition@0.5.0",
46 | "_shasum": "4284fe6ae0630874639e44e80a418c2934135e9e",
47 | "_from": "content-disposition@0.5.0",
48 | "_npmVersion": "1.4.21",
49 | "_npmUser": {
50 | "name": "dougwilson",
51 | "email": "doug@somethingdoug.com"
52 | },
53 | "maintainers": [
54 | {
55 | "name": "dougwilson",
56 | "email": "doug@somethingdoug.com"
57 | }
58 | ],
59 | "dist": {
60 | "shasum": "4284fe6ae0630874639e44e80a418c2934135e9e",
61 | "tarball": "http://registry.npmjs.org/content-disposition/-/content-disposition-0.5.0.tgz"
62 | },
63 | "directories": {},
64 | "_resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.0.tgz"
65 | }
66 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/vary/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "vary",
3 | "description": "Manipulate the HTTP Vary header",
4 | "version": "1.0.0",
5 | "author": {
6 | "name": "Douglas Christopher Wilson",
7 | "email": "doug@somethingdoug.com"
8 | },
9 | "license": "MIT",
10 | "keywords": [
11 | "http",
12 | "res",
13 | "vary"
14 | ],
15 | "repository": {
16 | "type": "git",
17 | "url": "https://github.com/jshttp/vary"
18 | },
19 | "devDependencies": {
20 | "istanbul": "0.3.0",
21 | "mocha": "~1.21.4",
22 | "should": "~4.0.4",
23 | "supertest": "~0.13.0"
24 | },
25 | "engines": {
26 | "node": ">= 0.8.0"
27 | },
28 | "scripts": {
29 | "test": "mocha --reporter spec --bail --check-leaks test/",
30 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
31 | "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
32 | },
33 | "gitHead": "56acecd9fa20888132563b00576625ea02a69a35",
34 | "bugs": {
35 | "url": "https://github.com/jshttp/vary/issues"
36 | },
37 | "homepage": "https://github.com/jshttp/vary",
38 | "_id": "vary@1.0.0",
39 | "_shasum": "c5e76cec20d3820d8f2a96e7bee38731c34da1e7",
40 | "_from": "vary@~1.0.0",
41 | "_npmVersion": "1.4.21",
42 | "_npmUser": {
43 | "name": "dougwilson",
44 | "email": "doug@somethingdoug.com"
45 | },
46 | "maintainers": [
47 | {
48 | "name": "dougwilson",
49 | "email": "doug@somethingdoug.com"
50 | },
51 | {
52 | "name": "jongleberry",
53 | "email": "jonathanrichardong@gmail.com"
54 | },
55 | {
56 | "name": "fishrock123",
57 | "email": "fishrock123@rocketmail.com"
58 | },
59 | {
60 | "name": "shtylman",
61 | "email": "shtylman@gmail.com"
62 | }
63 | ],
64 | "dist": {
65 | "shasum": "c5e76cec20d3820d8f2a96e7bee38731c34da1e7",
66 | "tarball": "http://registry.npmjs.org/vary/-/vary-1.0.0.tgz"
67 | },
68 | "directories": {},
69 | "_resolved": "https://registry.npmjs.org/vary/-/vary-1.0.0.tgz"
70 | }
71 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/etag/node_modules/crc/lib/crc8.js:
--------------------------------------------------------------------------------
1 | // Generated by CoffeeScript 1.7.1
2 | var Buffer, TABLE, create;
3 |
4 | Buffer = require('buffer').Buffer;
5 |
6 | create = require('./create');
7 |
8 | TABLE = [0x00, 0x07, 0x0e, 0x09, 0x1c, 0x1b, 0x12, 0x15, 0x38, 0x3f, 0x36, 0x31, 0x24, 0x23, 0x2a, 0x2d, 0x70, 0x77, 0x7e, 0x79, 0x6c, 0x6b, 0x62, 0x65, 0x48, 0x4f, 0x46, 0x41, 0x54, 0x53, 0x5a, 0x5d, 0xe0, 0xe7, 0xee, 0xe9, 0xfc, 0xfb, 0xf2, 0xf5, 0xd8, 0xdf, 0xd6, 0xd1, 0xc4, 0xc3, 0xca, 0xcd, 0x90, 0x97, 0x9e, 0x99, 0x8c, 0x8b, 0x82, 0x85, 0xa8, 0xaf, 0xa6, 0xa1, 0xb4, 0xb3, 0xba, 0xbd, 0xc7, 0xc0, 0xc9, 0xce, 0xdb, 0xdc, 0xd5, 0xd2, 0xff, 0xf8, 0xf1, 0xf6, 0xe3, 0xe4, 0xed, 0xea, 0xb7, 0xb0, 0xb9, 0xbe, 0xab, 0xac, 0xa5, 0xa2, 0x8f, 0x88, 0x81, 0x86, 0x93, 0x94, 0x9d, 0x9a, 0x27, 0x20, 0x29, 0x2e, 0x3b, 0x3c, 0x35, 0x32, 0x1f, 0x18, 0x11, 0x16, 0x03, 0x04, 0x0d, 0x0a, 0x57, 0x50, 0x59, 0x5e, 0x4b, 0x4c, 0x45, 0x42, 0x6f, 0x68, 0x61, 0x66, 0x73, 0x74, 0x7d, 0x7a, 0x89, 0x8e, 0x87, 0x80, 0x95, 0x92, 0x9b, 0x9c, 0xb1, 0xb6, 0xbf, 0xb8, 0xad, 0xaa, 0xa3, 0xa4, 0xf9, 0xfe, 0xf7, 0xf0, 0xe5, 0xe2, 0xeb, 0xec, 0xc1, 0xc6, 0xcf, 0xc8, 0xdd, 0xda, 0xd3, 0xd4, 0x69, 0x6e, 0x67, 0x60, 0x75, 0x72, 0x7b, 0x7c, 0x51, 0x56, 0x5f, 0x58, 0x4d, 0x4a, 0x43, 0x44, 0x19, 0x1e, 0x17, 0x10, 0x05, 0x02, 0x0b, 0x0c, 0x21, 0x26, 0x2f, 0x28, 0x3d, 0x3a, 0x33, 0x34, 0x4e, 0x49, 0x40, 0x47, 0x52, 0x55, 0x5c, 0x5b, 0x76, 0x71, 0x78, 0x7f, 0x6a, 0x6d, 0x64, 0x63, 0x3e, 0x39, 0x30, 0x37, 0x22, 0x25, 0x2c, 0x2b, 0x06, 0x01, 0x08, 0x0f, 0x1a, 0x1d, 0x14, 0x13, 0xae, 0xa9, 0xa0, 0xa7, 0xb2, 0xb5, 0xbc, 0xbb, 0x96, 0x91, 0x98, 0x9f, 0x8a, 0x8d, 0x84, 0x83, 0xde, 0xd9, 0xd0, 0xd7, 0xc2, 0xc5, 0xcc, 0xcb, 0xe6, 0xe1, 0xe8, 0xef, 0xfa, 0xfd, 0xf4, 0xf3];
9 |
10 | if (typeof Int32Array !== 'undefined') {
11 | TABLE = new Int32Array(TABLE);
12 | }
13 |
14 | module.exports = create(function(buf, previous) {
15 | var byte, crc, _i, _len;
16 | if (!Buffer.isBuffer(buf)) {
17 | buf = Buffer(buf);
18 | }
19 | crc = ~~previous;
20 | for (_i = 0, _len = buf.length; _i < _len; _i++) {
21 | byte = buf[_i];
22 | crc = (TABLE[(crc ^ byte) & 0xff] ^ (crc << 8)) & 0xff;
23 | }
24 | return crc;
25 | });
26 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/lib/express.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Module dependencies.
3 | */
4 |
5 | var EventEmitter = require('events').EventEmitter;
6 | var mixin = require('merge-descriptors');
7 | var proto = require('./application');
8 | var Route = require('./router/route');
9 | var Router = require('./router');
10 | var req = require('./request');
11 | var res = require('./response');
12 |
13 | /**
14 | * Expose `createApplication()`.
15 | */
16 |
17 | exports = module.exports = createApplication;
18 |
19 | /**
20 | * Create an express application.
21 | *
22 | * @return {Function}
23 | * @api public
24 | */
25 |
26 | function createApplication() {
27 | var app = function(req, res, next) {
28 | app.handle(req, res, next);
29 | };
30 |
31 | mixin(app, proto);
32 | mixin(app, EventEmitter.prototype);
33 |
34 | app.request = { __proto__: req, app: app };
35 | app.response = { __proto__: res, app: app };
36 | app.init();
37 | return app;
38 | }
39 |
40 | /**
41 | * Expose the prototypes.
42 | */
43 |
44 | exports.application = proto;
45 | exports.request = req;
46 | exports.response = res;
47 |
48 | /**
49 | * Expose constructors.
50 | */
51 |
52 | exports.Route = Route;
53 | exports.Router = Router;
54 |
55 | /**
56 | * Expose middleware
57 | */
58 |
59 | exports.query = require('./middleware/query');
60 | exports.static = require('serve-static');
61 |
62 | /**
63 | * Replace removed middleware with an appropriate error message.
64 | */
65 |
66 | [
67 | 'json',
68 | 'urlencoded',
69 | 'bodyParser',
70 | 'compress',
71 | 'cookieSession',
72 | 'session',
73 | 'logger',
74 | 'cookieParser',
75 | 'favicon',
76 | 'responseTime',
77 | 'errorHandler',
78 | 'timeout',
79 | 'methodOverride',
80 | 'vhost',
81 | 'csrf',
82 | 'directory',
83 | 'limit',
84 | 'multipart',
85 | 'staticCache',
86 | ].forEach(function (name) {
87 | Object.defineProperty(exports, name, {
88 | get: function () {
89 | throw new Error('Most middleware (like ' + name + ') is no longer bundled with Express and must be installed separately. Please see https://github.com/senchalabs/connect#middleware.');
90 | },
91 | configurable: true
92 | });
93 | });
94 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/etag/node_modules/crc/lib/crc8_1wire.js:
--------------------------------------------------------------------------------
1 | // Generated by CoffeeScript 1.7.1
2 | var Buffer, TABLE, create;
3 |
4 | Buffer = require('buffer').Buffer;
5 |
6 | create = require('./create');
7 |
8 | TABLE = [0x00, 0x5e, 0xbc, 0xe2, 0x61, 0x3f, 0xdd, 0x83, 0xc2, 0x9c, 0x7e, 0x20, 0xa3, 0xfd, 0x1f, 0x41, 0x9d, 0xc3, 0x21, 0x7f, 0xfc, 0xa2, 0x40, 0x1e, 0x5f, 0x01, 0xe3, 0xbd, 0x3e, 0x60, 0x82, 0xdc, 0x23, 0x7d, 0x9f, 0xc1, 0x42, 0x1c, 0xfe, 0xa0, 0xe1, 0xbf, 0x5d, 0x03, 0x80, 0xde, 0x3c, 0x62, 0xbe, 0xe0, 0x02, 0x5c, 0xdf, 0x81, 0x63, 0x3d, 0x7c, 0x22, 0xc0, 0x9e, 0x1d, 0x43, 0xa1, 0xff, 0x46, 0x18, 0xfa, 0xa4, 0x27, 0x79, 0x9b, 0xc5, 0x84, 0xda, 0x38, 0x66, 0xe5, 0xbb, 0x59, 0x07, 0xdb, 0x85, 0x67, 0x39, 0xba, 0xe4, 0x06, 0x58, 0x19, 0x47, 0xa5, 0xfb, 0x78, 0x26, 0xc4, 0x9a, 0x65, 0x3b, 0xd9, 0x87, 0x04, 0x5a, 0xb8, 0xe6, 0xa7, 0xf9, 0x1b, 0x45, 0xc6, 0x98, 0x7a, 0x24, 0xf8, 0xa6, 0x44, 0x1a, 0x99, 0xc7, 0x25, 0x7b, 0x3a, 0x64, 0x86, 0xd8, 0x5b, 0x05, 0xe7, 0xb9, 0x8c, 0xd2, 0x30, 0x6e, 0xed, 0xb3, 0x51, 0x0f, 0x4e, 0x10, 0xf2, 0xac, 0x2f, 0x71, 0x93, 0xcd, 0x11, 0x4f, 0xad, 0xf3, 0x70, 0x2e, 0xcc, 0x92, 0xd3, 0x8d, 0x6f, 0x31, 0xb2, 0xec, 0x0e, 0x50, 0xaf, 0xf1, 0x13, 0x4d, 0xce, 0x90, 0x72, 0x2c, 0x6d, 0x33, 0xd1, 0x8f, 0x0c, 0x52, 0xb0, 0xee, 0x32, 0x6c, 0x8e, 0xd0, 0x53, 0x0d, 0xef, 0xb1, 0xf0, 0xae, 0x4c, 0x12, 0x91, 0xcf, 0x2d, 0x73, 0xca, 0x94, 0x76, 0x28, 0xab, 0xf5, 0x17, 0x49, 0x08, 0x56, 0xb4, 0xea, 0x69, 0x37, 0xd5, 0x8b, 0x57, 0x09, 0xeb, 0xb5, 0x36, 0x68, 0x8a, 0xd4, 0x95, 0xcb, 0x29, 0x77, 0xf4, 0xaa, 0x48, 0x16, 0xe9, 0xb7, 0x55, 0x0b, 0x88, 0xd6, 0x34, 0x6a, 0x2b, 0x75, 0x97, 0xc9, 0x4a, 0x14, 0xf6, 0xa8, 0x74, 0x2a, 0xc8, 0x96, 0x15, 0x4b, 0xa9, 0xf7, 0xb6, 0xe8, 0x0a, 0x54, 0xd7, 0x89, 0x6b, 0x35];
9 |
10 | if (typeof Int32Array !== 'undefined') {
11 | TABLE = new Int32Array(TABLE);
12 | }
13 |
14 | module.exports = create(function(buf, previous) {
15 | var byte, crc, _i, _len;
16 | if (!Buffer.isBuffer(buf)) {
17 | buf = Buffer(buf);
18 | }
19 | crc = ~~previous;
20 | for (_i = 0, _len = buf.length; _i < _len; _i++) {
21 | byte = buf[_i];
22 | crc = (TABLE[(crc ^ byte) & 0xff] ^ (crc << 8)) & 0xff;
23 | }
24 | return crc;
25 | });
26 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/etag/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "etag",
3 | "description": "Create simple ETags",
4 | "version": "1.5.0",
5 | "contributors": [
6 | {
7 | "name": "Douglas Christopher Wilson",
8 | "email": "doug@somethingdoug.com"
9 | },
10 | {
11 | "name": "David Björklund",
12 | "email": "david.bjorklund@gmail.com"
13 | }
14 | ],
15 | "license": "MIT",
16 | "keywords": [
17 | "etag",
18 | "http",
19 | "res"
20 | ],
21 | "repository": {
22 | "type": "git",
23 | "url": "https://github.com/jshttp/etag"
24 | },
25 | "dependencies": {
26 | "crc": "3.0.0"
27 | },
28 | "devDependencies": {
29 | "benchmark": "1.0.0",
30 | "beautify-benchmark": "0.2.4",
31 | "istanbul": "0.3.2",
32 | "mocha": "~1.21.4",
33 | "seedrandom": "~2.3.6"
34 | },
35 | "files": [
36 | "LICENSE",
37 | "HISTORY.md",
38 | "index.js"
39 | ],
40 | "engines": {
41 | "node": ">= 0.6"
42 | },
43 | "scripts": {
44 | "bench": "node benchmark/index.js",
45 | "test": "mocha --reporter spec --bail --check-leaks test/",
46 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
47 | "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
48 | },
49 | "gitHead": "d42734af50250c05893f02cb900e1c71efffbc45",
50 | "bugs": {
51 | "url": "https://github.com/jshttp/etag/issues"
52 | },
53 | "homepage": "https://github.com/jshttp/etag",
54 | "_id": "etag@1.5.0",
55 | "_shasum": "8ca0f7a30b4b7305f034e8902fb8ec3c321491e4",
56 | "_from": "etag@~1.5.0",
57 | "_npmVersion": "1.4.21",
58 | "_npmUser": {
59 | "name": "dougwilson",
60 | "email": "doug@somethingdoug.com"
61 | },
62 | "maintainers": [
63 | {
64 | "name": "dougwilson",
65 | "email": "doug@somethingdoug.com"
66 | }
67 | ],
68 | "dist": {
69 | "shasum": "8ca0f7a30b4b7305f034e8902fb8ec3c321491e4",
70 | "tarball": "http://registry.npmjs.org/etag/-/etag-1.5.0.tgz"
71 | },
72 | "directories": {},
73 | "_resolved": "https://registry.npmjs.org/etag/-/etag-1.5.0.tgz"
74 | }
75 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/accepts/node_modules/negotiator/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "negotiator",
3 | "description": "HTTP content negotiation",
4 | "version": "0.4.9",
5 | "author": {
6 | "name": "Federico Romero",
7 | "email": "federico.romero@outboxlabs.com"
8 | },
9 | "contributors": [
10 | {
11 | "name": "Isaac Z. Schlueter",
12 | "email": "i@izs.me",
13 | "url": "http://blog.izs.me/"
14 | }
15 | ],
16 | "repository": {
17 | "type": "git",
18 | "url": "https://github.com/jshttp/negotiator"
19 | },
20 | "keywords": [
21 | "http",
22 | "content negotiation",
23 | "accept",
24 | "accept-language",
25 | "accept-encoding",
26 | "accept-charset"
27 | ],
28 | "license": "MIT",
29 | "devDependencies": {
30 | "istanbul": "~0.3.2",
31 | "nodeunit": "0.8.x"
32 | },
33 | "scripts": {
34 | "test": "nodeunit test",
35 | "test-cov": "istanbul cover ./node_modules/nodeunit/bin/nodeunit test"
36 | },
37 | "engines": {
38 | "node": ">= 0.6"
39 | },
40 | "main": "lib/negotiator.js",
41 | "files": [
42 | "lib",
43 | "LICENSE"
44 | ],
45 | "gitHead": "1e90abd710b662db80f1ea244e647cce3bd74504",
46 | "bugs": {
47 | "url": "https://github.com/jshttp/negotiator/issues"
48 | },
49 | "homepage": "https://github.com/jshttp/negotiator",
50 | "_id": "negotiator@0.4.9",
51 | "_shasum": "92e46b6db53c7e421ed64a2bc94f08be7630df3f",
52 | "_from": "negotiator@0.4.9",
53 | "_npmVersion": "1.4.21",
54 | "_npmUser": {
55 | "name": "dougwilson",
56 | "email": "doug@somethingdoug.com"
57 | },
58 | "maintainers": [
59 | {
60 | "name": "federomero",
61 | "email": "federomero@gmail.com"
62 | },
63 | {
64 | "name": "dougwilson",
65 | "email": "doug@somethingdoug.com"
66 | },
67 | {
68 | "name": "jongleberry",
69 | "email": "jonathanrichardong@gmail.com"
70 | }
71 | ],
72 | "dist": {
73 | "shasum": "92e46b6db53c7e421ed64a2bc94f08be7630df3f",
74 | "tarball": "http://registry.npmjs.org/negotiator/-/negotiator-0.4.9.tgz"
75 | },
76 | "directories": {},
77 | "_resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.4.9.tgz"
78 | }
79 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/on-finished/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "on-finished",
3 | "description": "Execute a callback when a request closes, finishes, or errors",
4 | "version": "2.1.1",
5 | "contributors": [
6 | {
7 | "name": "Douglas Christopher Wilson",
8 | "email": "doug@somethingdoug.com"
9 | },
10 | {
11 | "name": "Jonathan Ong",
12 | "email": "me@jongleberry.com",
13 | "url": "http://jongleberry.com"
14 | }
15 | ],
16 | "license": "MIT",
17 | "repository": {
18 | "type": "git",
19 | "url": "https://github.com/jshttp/on-finished"
20 | },
21 | "dependencies": {
22 | "ee-first": "1.1.0"
23 | },
24 | "devDependencies": {
25 | "istanbul": "0.3.2",
26 | "mocha": "~2.0.0"
27 | },
28 | "engines": {
29 | "node": ">= 0.8"
30 | },
31 | "files": [
32 | "HISTORY.md",
33 | "LICENSE",
34 | "index.js"
35 | ],
36 | "scripts": {
37 | "test": "mocha --reporter spec --bail --check-leaks test/",
38 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
39 | "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
40 | },
41 | "gitHead": "8ec5fa639ace400b543b5bc1821ce909b9acdc03",
42 | "bugs": {
43 | "url": "https://github.com/jshttp/on-finished/issues"
44 | },
45 | "homepage": "https://github.com/jshttp/on-finished",
46 | "_id": "on-finished@2.1.1",
47 | "_shasum": "f82ca1c9e3a4f3286b1b9938610e5b8636bd3cb2",
48 | "_from": "on-finished@~2.1.1",
49 | "_npmVersion": "1.4.21",
50 | "_npmUser": {
51 | "name": "dougwilson",
52 | "email": "doug@somethingdoug.com"
53 | },
54 | "maintainers": [
55 | {
56 | "name": "dougwilson",
57 | "email": "doug@somethingdoug.com"
58 | },
59 | {
60 | "name": "jongleberry",
61 | "email": "jonathanrichardong@gmail.com"
62 | }
63 | ],
64 | "dist": {
65 | "shasum": "f82ca1c9e3a4f3286b1b9938610e5b8636bd3cb2",
66 | "tarball": "http://registry.npmjs.org/on-finished/-/on-finished-2.1.1.tgz"
67 | },
68 | "directories": {},
69 | "_resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.1.1.tgz"
70 | }
71 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/fresh/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "fresh",
3 | "description": "HTTP response freshness testing",
4 | "version": "0.2.4",
5 | "author": {
6 | "name": "TJ Holowaychuk",
7 | "email": "tj@vision-media.ca",
8 | "url": "http://tjholowaychuk.com"
9 | },
10 | "license": "MIT",
11 | "keywords": [
12 | "fresh",
13 | "http",
14 | "conditional",
15 | "cache"
16 | ],
17 | "repository": {
18 | "type": "git",
19 | "url": "https://github.com/jshttp/fresh"
20 | },
21 | "devDependencies": {
22 | "istanbul": "0",
23 | "mocha": "1",
24 | "should": "3"
25 | },
26 | "files": [
27 | "HISTORY.md",
28 | "LICENSE",
29 | "index.js"
30 | ],
31 | "engines": {
32 | "node": ">= 0.6"
33 | },
34 | "scripts": {
35 | "test": "mocha --reporter spec --require should",
36 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --require should",
37 | "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot --require should"
38 | },
39 | "gitHead": "8440a4ca75fb091dec06e88654b3b1c31d7e7164",
40 | "bugs": {
41 | "url": "https://github.com/jshttp/fresh/issues"
42 | },
43 | "homepage": "https://github.com/jshttp/fresh",
44 | "_id": "fresh@0.2.4",
45 | "_shasum": "3582499206c9723714190edd74b4604feb4a614c",
46 | "_from": "fresh@0.2.4",
47 | "_npmVersion": "1.4.21",
48 | "_npmUser": {
49 | "name": "dougwilson",
50 | "email": "doug@somethingdoug.com"
51 | },
52 | "maintainers": [
53 | {
54 | "name": "tjholowaychuk",
55 | "email": "tj@vision-media.ca"
56 | },
57 | {
58 | "name": "jonathanong",
59 | "email": "jonathanrichardong@gmail.com"
60 | },
61 | {
62 | "name": "dougwilson",
63 | "email": "doug@somethingdoug.com"
64 | },
65 | {
66 | "name": "jongleberry",
67 | "email": "jonathanrichardong@gmail.com"
68 | }
69 | ],
70 | "dist": {
71 | "shasum": "3582499206c9723714190edd74b4604feb4a614c",
72 | "tarball": "http://registry.npmjs.org/fresh/-/fresh-0.2.4.tgz"
73 | },
74 | "directories": {},
75 | "_resolved": "https://registry.npmjs.org/fresh/-/fresh-0.2.4.tgz"
76 | }
77 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/range-parser/README.md:
--------------------------------------------------------------------------------
1 | # range-parser
2 |
3 | [![NPM Version][npm-image]][npm-url]
4 | [![NPM Downloads][downloads-image]][downloads-url]
5 | [![Node.js Version][node-version-image]][node-version-url]
6 | [![Build Status][travis-image]][travis-url]
7 | [![Test Coverage][coveralls-image]][coveralls-url]
8 |
9 | Range header field parser.
10 |
11 | ## Installation
12 |
13 | ```
14 | $ npm install range-parser
15 | ```
16 |
17 | ## Examples
18 |
19 | ```js
20 | assert(-1 == parse(200, 'bytes=500-20'));
21 | assert(-2 == parse(200, 'bytes=malformed'));
22 | parse(200, 'bytes=0-499').should.eql(arr('bytes', [{ start: 0, end: 199 }]));
23 | parse(1000, 'bytes=0-499').should.eql(arr('bytes', [{ start: 0, end: 499 }]));
24 | parse(1000, 'bytes=40-80').should.eql(arr('bytes', [{ start: 40, end: 80 }]));
25 | parse(1000, 'bytes=-500').should.eql(arr('bytes', [{ start: 500, end: 999 }]));
26 | parse(1000, 'bytes=-400').should.eql(arr('bytes', [{ start: 600, end: 999 }]));
27 | parse(1000, 'bytes=500-').should.eql(arr('bytes', [{ start: 500, end: 999 }]));
28 | parse(1000, 'bytes=400-').should.eql(arr('bytes', [{ start: 400, end: 999 }]));
29 | parse(1000, 'bytes=0-0').should.eql(arr('bytes', [{ start: 0, end: 0 }]));
30 | parse(1000, 'bytes=-1').should.eql(arr('bytes', [{ start: 999, end: 999 }]));
31 | parse(1000, 'items=0-5').should.eql(arr('items', [{ start: 0, end: 5 }]));
32 | parse(1000, 'bytes=40-80,-1').should.eql(arr('bytes', [{ start: 40, end: 80 }, { start: 999, end: 999 }]));
33 | ```
34 |
35 | ## License
36 |
37 | [MIT](LICENSE)
38 |
39 | [npm-image]: https://img.shields.io/npm/v/range-parser.svg?style=flat
40 | [npm-url]: https://npmjs.org/package/range-parser
41 | [node-version-image]: https://img.shields.io/badge/node.js-%3E%3D_0.6-brightgreen.svg?style=flat
42 | [node-version-url]: http://nodejs.org/download/
43 | [travis-image]: https://img.shields.io/travis/jshttp/range-parser.svg?style=flat
44 | [travis-url]: https://travis-ci.org/jshttp/range-parser
45 | [coveralls-image]: https://img.shields.io/coveralls/jshttp/range-parser.svg?style=flat
46 | [coveralls-url]: https://coveralls.io/r/jshttp/range-parser
47 | [downloads-image]: https://img.shields.io/npm/dm/range-parser.svg?style=flat
48 | [downloads-url]: https://npmjs.org/package/range-parser
49 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/range-parser/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "range-parser",
3 | "author": {
4 | "name": "TJ Holowaychuk",
5 | "email": "tj@vision-media.ca",
6 | "url": "http://tjholowaychuk.com"
7 | },
8 | "description": "Range header field string parser",
9 | "version": "1.0.2",
10 | "license": "MIT",
11 | "keywords": [
12 | "range",
13 | "parser",
14 | "http"
15 | ],
16 | "repository": {
17 | "type": "git",
18 | "url": "https://github.com/jshttp/range-parser"
19 | },
20 | "devDependencies": {
21 | "istanbul": "0",
22 | "mocha": "1",
23 | "should": "2"
24 | },
25 | "files": [
26 | "HISTORY.md",
27 | "LICENSE",
28 | "index.js"
29 | ],
30 | "engines": {
31 | "node": ">= 0.6"
32 | },
33 | "scripts": {
34 | "test": "mocha --reporter spec --require should",
35 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --require should",
36 | "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot --require should"
37 | },
38 | "gitHead": "ae23b02ce705b56e7f7c48e832d41fa710227ecc",
39 | "bugs": {
40 | "url": "https://github.com/jshttp/range-parser/issues"
41 | },
42 | "homepage": "https://github.com/jshttp/range-parser",
43 | "_id": "range-parser@1.0.2",
44 | "_shasum": "06a12a42e5131ba8e457cd892044867f2344e549",
45 | "_from": "range-parser@~1.0.2",
46 | "_npmVersion": "1.4.21",
47 | "_npmUser": {
48 | "name": "dougwilson",
49 | "email": "doug@somethingdoug.com"
50 | },
51 | "maintainers": [
52 | {
53 | "name": "tjholowaychuk",
54 | "email": "tj@vision-media.ca"
55 | },
56 | {
57 | "name": "jonathanong",
58 | "email": "jonathanrichardong@gmail.com"
59 | },
60 | {
61 | "name": "dougwilson",
62 | "email": "doug@somethingdoug.com"
63 | },
64 | {
65 | "name": "jongleberry",
66 | "email": "jonathanrichardong@gmail.com"
67 | }
68 | ],
69 | "dist": {
70 | "shasum": "06a12a42e5131ba8e457cd892044867f2344e549",
71 | "tarball": "http://registry.npmjs.org/range-parser/-/range-parser-1.0.2.tgz"
72 | },
73 | "directories": {},
74 | "_resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.0.2.tgz"
75 | }
76 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/path-to-regexp/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Expose `pathtoRegexp`.
3 | */
4 |
5 | module.exports = pathtoRegexp;
6 |
7 | /**
8 | * Normalize the given path string,
9 | * returning a regular expression.
10 | *
11 | * An empty array should be passed,
12 | * which will contain the placeholder
13 | * key names. For example "/user/:id" will
14 | * then contain ["id"].
15 | *
16 | * @param {String|RegExp|Array} path
17 | * @param {Array} keys
18 | * @param {Object} options
19 | * @return {RegExp}
20 | * @api private
21 | */
22 |
23 | function pathtoRegexp(path, keys, options) {
24 | options = options || {};
25 | var strict = options.strict;
26 | var end = options.end !== false;
27 | var flags = options.sensitive ? '' : 'i';
28 | keys = keys || [];
29 |
30 | if (path instanceof RegExp) {
31 | return path;
32 | }
33 |
34 | if (Array.isArray(path)) {
35 | // Map array parts into regexps and return their source. We also pass
36 | // the same keys and options instance into every generation to get
37 | // consistent matching groups before we join the sources together.
38 | path = path.map(function (value) {
39 | return pathtoRegexp(value, keys, options).source;
40 | });
41 |
42 | return new RegExp('(?:' + path.join('|') + ')', flags);
43 | }
44 |
45 | path = ('^' + path + (strict ? '' : path[path.length - 1] === '/' ? '?' : '/?'))
46 | .replace(/\/\(/g, '/(?:')
47 | .replace(/([\/\.])/g, '\\$1')
48 | .replace(/(\\\/)?(\\\.)?:(\w+)(\(.*?\))?(\*)?(\?)?/g, function (match, slash, format, key, capture, star, optional) {
49 | slash = slash || '';
50 | format = format || '';
51 | capture = capture || '([^\\/' + format + ']+?)';
52 | optional = optional || '';
53 |
54 | keys.push({ name: key, optional: !!optional });
55 |
56 | return ''
57 | + (optional ? '' : slash)
58 | + '(?:'
59 | + format + (optional ? slash : '') + capture
60 | + (star ? '((?:[\\/' + format + '].+?)?)' : '')
61 | + ')'
62 | + optional;
63 | })
64 | .replace(/\*/g, '(.*)');
65 |
66 | // If the path is non-ending, match until the end or a slash.
67 | path += (end ? '$' : (path[path.length - 1] === '/' ? '' : '(?=\\/|$)'));
68 |
69 | return new RegExp(path, flags);
70 | };
71 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/cookie/index.js:
--------------------------------------------------------------------------------
1 |
2 | /// Serialize the a name value pair into a cookie string suitable for
3 | /// http headers. An optional options object specified cookie parameters
4 | ///
5 | /// serialize('foo', 'bar', { httpOnly: true })
6 | /// => "foo=bar; httpOnly"
7 | ///
8 | /// @param {String} name
9 | /// @param {String} val
10 | /// @param {Object} options
11 | /// @return {String}
12 | var serialize = function(name, val, opt){
13 | opt = opt || {};
14 | var enc = opt.encode || encode;
15 | var pairs = [name + '=' + enc(val)];
16 |
17 | if (null != opt.maxAge) {
18 | var maxAge = opt.maxAge - 0;
19 | if (isNaN(maxAge)) throw new Error('maxAge should be a Number');
20 | pairs.push('Max-Age=' + maxAge);
21 | }
22 |
23 | if (opt.domain) pairs.push('Domain=' + opt.domain);
24 | if (opt.path) pairs.push('Path=' + opt.path);
25 | if (opt.expires) pairs.push('Expires=' + opt.expires.toUTCString());
26 | if (opt.httpOnly) pairs.push('HttpOnly');
27 | if (opt.secure) pairs.push('Secure');
28 |
29 | return pairs.join('; ');
30 | };
31 |
32 | /// Parse the given cookie header string into an object
33 | /// The object has the various cookies as keys(names) => values
34 | /// @param {String} str
35 | /// @return {Object}
36 | var parse = function(str, opt) {
37 | opt = opt || {};
38 | var obj = {}
39 | var pairs = str.split(/; */);
40 | var dec = opt.decode || decode;
41 |
42 | pairs.forEach(function(pair) {
43 | var eq_idx = pair.indexOf('=')
44 |
45 | // skip things that don't look like key=value
46 | if (eq_idx < 0) {
47 | return;
48 | }
49 |
50 | var key = pair.substr(0, eq_idx).trim()
51 | var val = pair.substr(++eq_idx, pair.length).trim();
52 |
53 | // quoted values
54 | if ('"' == val[0]) {
55 | val = val.slice(1, -1);
56 | }
57 |
58 | // only assign once
59 | if (undefined == obj[key]) {
60 | try {
61 | obj[key] = dec(val);
62 | } catch (e) {
63 | obj[key] = val;
64 | }
65 | }
66 | });
67 |
68 | return obj;
69 | };
70 |
71 | var encode = encodeURIComponent;
72 | var decode = decodeURIComponent;
73 |
74 | module.exports.serialize = serialize;
75 | module.exports.parse = parse;
76 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/type-is/node_modules/mime-types/node_modules/mime-db/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "mime-db",
3 | "description": "Media Type Database",
4 | "version": "1.2.0",
5 | "author": {
6 | "name": "Jonathan Ong",
7 | "email": "me@jongleberry.com",
8 | "url": "http://jongleberry.com"
9 | },
10 | "license": "MIT",
11 | "repository": {
12 | "type": "git",
13 | "url": "https://github.com/jshttp/mime-db"
14 | },
15 | "devDependencies": {
16 | "co": "3",
17 | "cogent": "1",
18 | "csv-parse": "0",
19 | "gnode": "0.1.0",
20 | "istanbul": "0.3.2",
21 | "mocha": "~1.21.4",
22 | "stream-to-array": "2"
23 | },
24 | "engines": {
25 | "node": ">= 0.6"
26 | },
27 | "files": [
28 | "LICENSE",
29 | "db.json",
30 | "index.js"
31 | ],
32 | "scripts": {
33 | "update": "gnode scripts/extensions && gnode scripts/types && node scripts/build",
34 | "clean": "rm src/*",
35 | "test": "mocha --reporter spec --bail --check-leaks test/",
36 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
37 | "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
38 | },
39 | "keywords": [
40 | "mime",
41 | "db",
42 | "type",
43 | "types",
44 | "database",
45 | "charset",
46 | "charsets"
47 | ],
48 | "gitHead": "caf5b253569f0267e31044602d2f1078028e2361",
49 | "bugs": {
50 | "url": "https://github.com/jshttp/mime-db/issues"
51 | },
52 | "homepage": "https://github.com/jshttp/mime-db",
53 | "_id": "mime-db@1.2.0",
54 | "_shasum": "76b92e7ecac673f5dab066a10b66faea1be2f01f",
55 | "_from": "mime-db@~1.2.0",
56 | "_npmVersion": "1.4.21",
57 | "_npmUser": {
58 | "name": "dougwilson",
59 | "email": "doug@somethingdoug.com"
60 | },
61 | "maintainers": [
62 | {
63 | "name": "jongleberry",
64 | "email": "jonathanrichardong@gmail.com"
65 | },
66 | {
67 | "name": "dougwilson",
68 | "email": "doug@somethingdoug.com"
69 | }
70 | ],
71 | "dist": {
72 | "shasum": "76b92e7ecac673f5dab066a10b66faea1be2f01f",
73 | "tarball": "http://registry.npmjs.org/mime-db/-/mime-db-1.2.0.tgz"
74 | },
75 | "directories": {},
76 | "_resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.2.0.tgz"
77 | }
78 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/accepts/node_modules/mime-types/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "mime-types",
3 | "description": "The ultimate javascript content-type utility.",
4 | "version": "2.0.3",
5 | "contributors": [
6 | {
7 | "name": "Jeremiah Senkpiel",
8 | "email": "fishrock123@rocketmail.com",
9 | "url": "https://searchbeam.jit.su"
10 | },
11 | {
12 | "name": "Jonathan Ong",
13 | "email": "me@jongleberry.com",
14 | "url": "http://jongleberry.com"
15 | }
16 | ],
17 | "license": "MIT",
18 | "keywords": [
19 | "mime",
20 | "types"
21 | ],
22 | "repository": {
23 | "type": "git",
24 | "url": "https://github.com/jshttp/mime-types"
25 | },
26 | "dependencies": {
27 | "mime-db": "~1.2.0"
28 | },
29 | "devDependencies": {
30 | "istanbul": "0",
31 | "mocha": "~1.21.5"
32 | },
33 | "files": [
34 | "HISTORY.md",
35 | "LICENSE",
36 | "index.js"
37 | ],
38 | "engines": {
39 | "node": ">= 0.6"
40 | },
41 | "scripts": {
42 | "test": "mocha --reporter spec test/test.js",
43 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/test.js",
44 | "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot test/test.js"
45 | },
46 | "gitHead": "7d38db8c0576cf7a2dd49df4818dc129090b3a2f",
47 | "bugs": {
48 | "url": "https://github.com/jshttp/mime-types/issues"
49 | },
50 | "homepage": "https://github.com/jshttp/mime-types",
51 | "_id": "mime-types@2.0.3",
52 | "_shasum": "70b5cb5165b55dcb4972839f16d6077b0bb506f4",
53 | "_from": "mime-types@~2.0.3",
54 | "_npmVersion": "1.4.21",
55 | "_npmUser": {
56 | "name": "dougwilson",
57 | "email": "doug@somethingdoug.com"
58 | },
59 | "maintainers": [
60 | {
61 | "name": "jongleberry",
62 | "email": "jonathanrichardong@gmail.com"
63 | },
64 | {
65 | "name": "fishrock123",
66 | "email": "fishrock123@rocketmail.com"
67 | },
68 | {
69 | "name": "dougwilson",
70 | "email": "doug@somethingdoug.com"
71 | }
72 | ],
73 | "dist": {
74 | "shasum": "70b5cb5165b55dcb4972839f16d6077b0bb506f4",
75 | "tarball": "http://registry.npmjs.org/mime-types/-/mime-types-2.0.3.tgz"
76 | },
77 | "directories": {},
78 | "_resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.0.3.tgz"
79 | }
80 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/type-is/node_modules/mime-types/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "mime-types",
3 | "description": "The ultimate javascript content-type utility.",
4 | "version": "2.0.3",
5 | "contributors": [
6 | {
7 | "name": "Jeremiah Senkpiel",
8 | "email": "fishrock123@rocketmail.com",
9 | "url": "https://searchbeam.jit.su"
10 | },
11 | {
12 | "name": "Jonathan Ong",
13 | "email": "me@jongleberry.com",
14 | "url": "http://jongleberry.com"
15 | }
16 | ],
17 | "license": "MIT",
18 | "keywords": [
19 | "mime",
20 | "types"
21 | ],
22 | "repository": {
23 | "type": "git",
24 | "url": "https://github.com/jshttp/mime-types"
25 | },
26 | "dependencies": {
27 | "mime-db": "~1.2.0"
28 | },
29 | "devDependencies": {
30 | "istanbul": "0",
31 | "mocha": "~1.21.5"
32 | },
33 | "files": [
34 | "HISTORY.md",
35 | "LICENSE",
36 | "index.js"
37 | ],
38 | "engines": {
39 | "node": ">= 0.6"
40 | },
41 | "scripts": {
42 | "test": "mocha --reporter spec test/test.js",
43 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/test.js",
44 | "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot test/test.js"
45 | },
46 | "gitHead": "7d38db8c0576cf7a2dd49df4818dc129090b3a2f",
47 | "bugs": {
48 | "url": "https://github.com/jshttp/mime-types/issues"
49 | },
50 | "homepage": "https://github.com/jshttp/mime-types",
51 | "_id": "mime-types@2.0.3",
52 | "_shasum": "70b5cb5165b55dcb4972839f16d6077b0bb506f4",
53 | "_from": "mime-types@~2.0.3",
54 | "_npmVersion": "1.4.21",
55 | "_npmUser": {
56 | "name": "dougwilson",
57 | "email": "doug@somethingdoug.com"
58 | },
59 | "maintainers": [
60 | {
61 | "name": "jongleberry",
62 | "email": "jonathanrichardong@gmail.com"
63 | },
64 | {
65 | "name": "fishrock123",
66 | "email": "fishrock123@rocketmail.com"
67 | },
68 | {
69 | "name": "dougwilson",
70 | "email": "doug@somethingdoug.com"
71 | }
72 | ],
73 | "dist": {
74 | "shasum": "70b5cb5165b55dcb4972839f16d6077b0bb506f4",
75 | "tarball": "http://registry.npmjs.org/mime-types/-/mime-types-2.0.3.tgz"
76 | },
77 | "directories": {},
78 | "_resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.0.3.tgz"
79 | }
80 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/utils-merge/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "utils-merge",
3 | "version": "1.0.0",
4 | "description": "merge() utility function",
5 | "keywords": [
6 | "util"
7 | ],
8 | "repository": {
9 | "type": "git",
10 | "url": "git://github.com/jaredhanson/utils-merge.git"
11 | },
12 | "bugs": {
13 | "url": "http://github.com/jaredhanson/utils-merge/issues"
14 | },
15 | "author": {
16 | "name": "Jared Hanson",
17 | "email": "jaredhanson@gmail.com",
18 | "url": "http://www.jaredhanson.net/"
19 | },
20 | "licenses": [
21 | {
22 | "type": "MIT",
23 | "url": "http://www.opensource.org/licenses/MIT"
24 | }
25 | ],
26 | "main": "./index",
27 | "dependencies": {},
28 | "devDependencies": {
29 | "mocha": "1.x.x",
30 | "chai": "1.x.x"
31 | },
32 | "scripts": {
33 | "test": "node_modules/.bin/mocha --reporter spec --require test/bootstrap/node test/*.test.js"
34 | },
35 | "engines": {
36 | "node": ">= 0.4.0"
37 | },
38 | "readme": "# utils-merge\n\nMerges the properties from a source object into a destination object.\n\n## Install\n\n $ npm install utils-merge\n\n## Usage\n\n```javascript\nvar a = { foo: 'bar' }\n , b = { bar: 'baz' };\n\nmerge(a, b);\n// => { foo: 'bar', bar: 'baz' }\n```\n\n## Tests\n\n $ npm install\n $ npm test\n\n[](http://travis-ci.org/jaredhanson/utils-merge)\n\n## Credits\n\n - [Jared Hanson](http://github.com/jaredhanson)\n\n## License\n\n[The MIT License](http://opensource.org/licenses/MIT)\n\nCopyright (c) 2013 Jared Hanson <[http://jaredhanson.net/](http://jaredhanson.net/)>\n",
39 | "readmeFilename": "README.md",
40 | "_id": "utils-merge@1.0.0",
41 | "dist": {
42 | "shasum": "0294fb922bb9375153541c4f7096231f287c8af8",
43 | "tarball": "http://registry.npmjs.org/utils-merge/-/utils-merge-1.0.0.tgz"
44 | },
45 | "_from": "utils-merge@1.0.0",
46 | "_npmVersion": "1.2.25",
47 | "_npmUser": {
48 | "name": "jaredhanson",
49 | "email": "jaredhanson@gmail.com"
50 | },
51 | "maintainers": [
52 | {
53 | "name": "jaredhanson",
54 | "email": "jaredhanson@gmail.com"
55 | }
56 | ],
57 | "directories": {},
58 | "_shasum": "0294fb922bb9375153541c4f7096231f287c8af8",
59 | "_resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.0.tgz"
60 | }
61 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/accepts/node_modules/negotiator/lib/charset.js:
--------------------------------------------------------------------------------
1 | module.exports = preferredCharsets;
2 | preferredCharsets.preferredCharsets = preferredCharsets;
3 |
4 | function parseAcceptCharset(accept) {
5 | return accept.split(',').map(function(e, i) {
6 | return parseCharset(e.trim(), i);
7 | }).filter(function(e) {
8 | return e;
9 | });
10 | }
11 |
12 | function parseCharset(s, i) {
13 | var match = s.match(/^\s*(\S+?)\s*(?:;(.*))?$/);
14 | if (!match) return null;
15 |
16 | var charset = match[1];
17 | var q = 1;
18 | if (match[2]) {
19 | var params = match[2].split(';')
20 | for (var i = 0; i < params.length; i ++) {
21 | var p = params[i].trim().split('=');
22 | if (p[0] === 'q') {
23 | q = parseFloat(p[1]);
24 | break;
25 | }
26 | }
27 | }
28 |
29 | return {
30 | charset: charset,
31 | q: q,
32 | i: i
33 | };
34 | }
35 |
36 | function getCharsetPriority(charset, accepted) {
37 | return (accepted.map(function(a) {
38 | return specify(charset, a);
39 | }).filter(Boolean).sort(function (a, b) {
40 | if(a.s == b.s) {
41 | return a.q > b.q ? -1 : 1;
42 | } else {
43 | return a.s > b.s ? -1 : 1;
44 | }
45 | })[0] || {s: 0, q:0});
46 | }
47 |
48 | function specify(charset, spec) {
49 | var s = 0;
50 | if(spec.charset.toLowerCase() === charset.toLowerCase()){
51 | s |= 1;
52 | } else if (spec.charset !== '*' ) {
53 | return null
54 | }
55 |
56 | return {
57 | s: s,
58 | q: spec.q,
59 | }
60 | }
61 |
62 | function preferredCharsets(accept, provided) {
63 | // RFC 2616 sec 14.2: no header = *
64 | accept = parseAcceptCharset(accept === undefined ? '*' : accept || '');
65 | if (provided) {
66 | return provided.map(function(type) {
67 | return [type, getCharsetPriority(type, accept)];
68 | }).filter(function(pair) {
69 | return pair[1].q > 0;
70 | }).sort(function(a, b) {
71 | var pa = a[1];
72 | var pb = b[1];
73 | return (pb.q - pa.q) || (pb.s - pa.s) || (pa.i - pb.i);
74 | }).map(function(pair) {
75 | return pair[0];
76 | });
77 | } else {
78 | return accept.sort(function (a, b) {
79 | // revsort
80 | return (b.q - a.q) || (a.i - b.i);
81 | }).filter(function(type) {
82 | return type.q > 0;
83 | }).map(function(type) {
84 | return type.charset;
85 | });
86 | }
87 | }
88 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/accepts/node_modules/mime-types/node_modules/mime-db/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "mime-db",
3 | "description": "Media Type Database",
4 | "version": "1.2.0",
5 | "author": {
6 | "name": "Jonathan Ong",
7 | "email": "me@jongleberry.com",
8 | "url": "http://jongleberry.com"
9 | },
10 | "license": "MIT",
11 | "repository": {
12 | "type": "git",
13 | "url": "https://github.com/jshttp/mime-db"
14 | },
15 | "devDependencies": {
16 | "co": "3",
17 | "cogent": "1",
18 | "csv-parse": "0",
19 | "gnode": "0.1.0",
20 | "istanbul": "0.3.2",
21 | "mocha": "~1.21.4",
22 | "stream-to-array": "2"
23 | },
24 | "engines": {
25 | "node": ">= 0.6"
26 | },
27 | "files": [
28 | "LICENSE",
29 | "db.json",
30 | "index.js"
31 | ],
32 | "scripts": {
33 | "update": "gnode scripts/extensions && gnode scripts/types && node scripts/build",
34 | "clean": "rm src/*",
35 | "test": "mocha --reporter spec --bail --check-leaks test/",
36 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
37 | "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
38 | },
39 | "keywords": [
40 | "mime",
41 | "db",
42 | "type",
43 | "types",
44 | "database",
45 | "charset",
46 | "charsets"
47 | ],
48 | "gitHead": "caf5b253569f0267e31044602d2f1078028e2361",
49 | "bugs": {
50 | "url": "https://github.com/jshttp/mime-db/issues"
51 | },
52 | "homepage": "https://github.com/jshttp/mime-db",
53 | "_id": "mime-db@1.2.0",
54 | "_shasum": "76b92e7ecac673f5dab066a10b66faea1be2f01f",
55 | "_from": "mime-db@~1.2.0",
56 | "_npmVersion": "1.4.21",
57 | "_npmUser": {
58 | "name": "dougwilson",
59 | "email": "doug@somethingdoug.com"
60 | },
61 | "maintainers": [
62 | {
63 | "name": "jongleberry",
64 | "email": "jonathanrichardong@gmail.com"
65 | },
66 | {
67 | "name": "dougwilson",
68 | "email": "doug@somethingdoug.com"
69 | }
70 | ],
71 | "dist": {
72 | "shasum": "76b92e7ecac673f5dab066a10b66faea1be2f01f",
73 | "tarball": "http://registry.npmjs.org/mime-db/-/mime-db-1.2.0.tgz"
74 | },
75 | "directories": {},
76 | "_resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.2.0.tgz",
77 | "readme": "ERROR: No README data found!"
78 | }
79 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/send/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "send",
3 | "description": "Better streaming static file server with Range and conditional-GET support",
4 | "version": "0.10.1",
5 | "author": {
6 | "name": "TJ Holowaychuk",
7 | "email": "tj@vision-media.ca"
8 | },
9 | "contributors": [
10 | {
11 | "name": "Douglas Christopher Wilson",
12 | "email": "doug@somethingdoug.com"
13 | }
14 | ],
15 | "license": "MIT",
16 | "repository": {
17 | "type": "git",
18 | "url": "https://github.com/tj/send"
19 | },
20 | "keywords": [
21 | "static",
22 | "file",
23 | "server"
24 | ],
25 | "dependencies": {
26 | "debug": "~2.1.0",
27 | "depd": "~1.0.0",
28 | "destroy": "1.0.3",
29 | "escape-html": "1.0.1",
30 | "etag": "~1.5.0",
31 | "fresh": "0.2.4",
32 | "mime": "1.2.11",
33 | "ms": "0.6.2",
34 | "on-finished": "~2.1.1",
35 | "range-parser": "~1.0.2"
36 | },
37 | "devDependencies": {
38 | "istanbul": "0.3.2",
39 | "mocha": "~2.0.0",
40 | "should": "~4.1.0",
41 | "supertest": "~0.14.0"
42 | },
43 | "files": [
44 | "History.md",
45 | "LICENSE",
46 | "index.js"
47 | ],
48 | "engines": {
49 | "node": ">= 0.8.0"
50 | },
51 | "scripts": {
52 | "test": "mocha --check-leaks --reporter spec --bail",
53 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --check-leaks --reporter dot",
54 | "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --check-leaks --reporter spec"
55 | },
56 | "gitHead": "a5e6237f3e812a99d079e2100f6294251ef5f465",
57 | "bugs": {
58 | "url": "https://github.com/tj/send/issues"
59 | },
60 | "homepage": "https://github.com/tj/send",
61 | "_id": "send@0.10.1",
62 | "_shasum": "7745c50ec72f115115980e8fb179aec01900e08a",
63 | "_from": "send@0.10.1",
64 | "_npmVersion": "1.4.21",
65 | "_npmUser": {
66 | "name": "dougwilson",
67 | "email": "doug@somethingdoug.com"
68 | },
69 | "maintainers": [
70 | {
71 | "name": "tjholowaychuk",
72 | "email": "tj@vision-media.ca"
73 | },
74 | {
75 | "name": "dougwilson",
76 | "email": "doug@somethingdoug.com"
77 | }
78 | ],
79 | "dist": {
80 | "shasum": "7745c50ec72f115115980e8fb179aec01900e08a",
81 | "tarball": "http://registry.npmjs.org/send/-/send-0.10.1.tgz"
82 | },
83 | "directories": {},
84 | "_resolved": "https://registry.npmjs.org/send/-/send-0.10.1.tgz"
85 | }
86 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/finalhandler/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "finalhandler",
3 | "description": "Node.js final http responder",
4 | "version": "0.3.2",
5 | "author": {
6 | "name": "Douglas Christopher Wilson",
7 | "email": "doug@somethingdoug.com"
8 | },
9 | "license": "MIT",
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/pillarjs/finalhandler"
13 | },
14 | "dependencies": {
15 | "debug": "~2.1.0",
16 | "escape-html": "1.0.1",
17 | "on-finished": "~2.1.1"
18 | },
19 | "devDependencies": {
20 | "istanbul": "0.3.2",
21 | "mocha": "~2.0.0",
22 | "readable-stream": "~1.0.33",
23 | "should": "~4.1.0",
24 | "supertest": "~0.14.0"
25 | },
26 | "files": [
27 | "LICENSE",
28 | "HISTORY.md",
29 | "index.js"
30 | ],
31 | "engines": {
32 | "node": ">= 0.8"
33 | },
34 | "scripts": {
35 | "test": "mocha --reporter spec --bail --check-leaks test/",
36 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
37 | "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
38 | },
39 | "gitHead": "1dc292faf576fade3b0218caab39060f4da5fe9c",
40 | "bugs": {
41 | "url": "https://github.com/pillarjs/finalhandler/issues"
42 | },
43 | "homepage": "https://github.com/pillarjs/finalhandler",
44 | "_id": "finalhandler@0.3.2",
45 | "_shasum": "7b389b0fd3647a6f90bd564e22624bf8a4a77fb5",
46 | "_from": "finalhandler@0.3.2",
47 | "_npmVersion": "1.4.21",
48 | "_npmUser": {
49 | "name": "dougwilson",
50 | "email": "doug@somethingdoug.com"
51 | },
52 | "maintainers": [
53 | {
54 | "name": "dougwilson",
55 | "email": "doug@somethingdoug.com"
56 | },
57 | {
58 | "name": "jongleberry",
59 | "email": "jonathanrichardong@gmail.com"
60 | },
61 | {
62 | "name": "shtylman",
63 | "email": "shtylman@gmail.com"
64 | },
65 | {
66 | "name": "tjholowaychuk",
67 | "email": "tj@vision-media.ca"
68 | },
69 | {
70 | "name": "fishrock123",
71 | "email": "fishrock123@rocketmail.com"
72 | }
73 | ],
74 | "dist": {
75 | "shasum": "7b389b0fd3647a6f90bd564e22624bf8a4a77fb5",
76 | "tarball": "http://registry.npmjs.org/finalhandler/-/finalhandler-0.3.2.tgz"
77 | },
78 | "directories": {},
79 | "_resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-0.3.2.tgz"
80 | }
81 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/parseurl/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "parseurl",
3 | "description": "parse a url with memoization",
4 | "version": "1.3.0",
5 | "author": {
6 | "name": "Jonathan Ong",
7 | "email": "me@jongleberry.com",
8 | "url": "http://jongleberry.com"
9 | },
10 | "contributors": [
11 | {
12 | "name": "Douglas Christopher Wilson",
13 | "email": "doug@somethingdoug.com"
14 | }
15 | ],
16 | "repository": {
17 | "type": "git",
18 | "url": "https://github.com/expressjs/parseurl"
19 | },
20 | "license": "MIT",
21 | "devDependencies": {
22 | "benchmark": "1.0.0",
23 | "beautify-benchmark": "0.2.4",
24 | "fast-url-parser": "~1.0.0",
25 | "istanbul": "0.3.0",
26 | "mocha": "~1.21.4"
27 | },
28 | "scripts": {
29 | "bench": "node benchmark/index.js",
30 | "test": "mocha --check-leaks --bail --reporter spec test/",
31 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --check-leaks --reporter dot test/",
32 | "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --check-leaks --reporter spec test/"
33 | },
34 | "gitHead": "03b7ccca240e2bef5df6c25797e99175d28fb2cb",
35 | "bugs": {
36 | "url": "https://github.com/expressjs/parseurl/issues"
37 | },
38 | "homepage": "https://github.com/expressjs/parseurl",
39 | "_id": "parseurl@1.3.0",
40 | "_shasum": "b58046db4223e145afa76009e61bac87cc2281b3",
41 | "_from": "parseurl@~1.3.0",
42 | "_npmVersion": "1.4.21",
43 | "_npmUser": {
44 | "name": "dougwilson",
45 | "email": "doug@somethingdoug.com"
46 | },
47 | "maintainers": [
48 | {
49 | "name": "jongleberry",
50 | "email": "jonathanrichardong@gmail.com"
51 | },
52 | {
53 | "name": "shtylman",
54 | "email": "shtylman@gmail.com"
55 | },
56 | {
57 | "name": "dougwilson",
58 | "email": "doug@somethingdoug.com"
59 | },
60 | {
61 | "name": "tjholowaychuk",
62 | "email": "tj@vision-media.ca"
63 | },
64 | {
65 | "name": "mscdex",
66 | "email": "mscdex@mscdex.net"
67 | },
68 | {
69 | "name": "fishrock123",
70 | "email": "fishrock123@rocketmail.com"
71 | }
72 | ],
73 | "dist": {
74 | "shasum": "b58046db4223e145afa76009e61bac87cc2281b3",
75 | "tarball": "http://registry.npmjs.org/parseurl/-/parseurl-1.3.0.tgz"
76 | },
77 | "directories": {},
78 | "_resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.0.tgz"
79 | }
80 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/send/node_modules/mime/README.md:
--------------------------------------------------------------------------------
1 | # mime
2 |
3 | Comprehensive MIME type mapping API. Includes all 600+ types and 800+ extensions defined by the Apache project, plus additional types submitted by the node.js community.
4 |
5 | ## Install
6 |
7 | Install with [npm](http://github.com/isaacs/npm):
8 |
9 | npm install mime
10 |
11 | ## API - Queries
12 |
13 | ### mime.lookup(path)
14 | Get the mime type associated with a file, if no mime type is found `application/octet-stream` is returned. Performs a case-insensitive lookup using the extension in `path` (the substring after the last '/' or '.'). E.g.
15 |
16 | var mime = require('mime');
17 |
18 | mime.lookup('/path/to/file.txt'); // => 'text/plain'
19 | mime.lookup('file.txt'); // => 'text/plain'
20 | mime.lookup('.TXT'); // => 'text/plain'
21 | mime.lookup('htm'); // => 'text/html'
22 |
23 | ### mime.default_type
24 | Sets the mime type returned when `mime.lookup` fails to find the extension searched for. (Default is `application/octet-stream`.)
25 |
26 | ### mime.extension(type)
27 | Get the default extension for `type`
28 |
29 | mime.extension('text/html'); // => 'html'
30 | mime.extension('application/octet-stream'); // => 'bin'
31 |
32 | ### mime.charsets.lookup()
33 |
34 | Map mime-type to charset
35 |
36 | mime.charsets.lookup('text/plain'); // => 'UTF-8'
37 |
38 | (The logic for charset lookups is pretty rudimentary. Feel free to suggest improvements.)
39 |
40 | ## API - Defining Custom Types
41 |
42 | The following APIs allow you to add your own type mappings within your project. If you feel a type should be included as part of node-mime, see [requesting new types](https://github.com/broofa/node-mime/wiki/Requesting-New-Types).
43 |
44 | ### mime.define()
45 |
46 | Add custom mime/extension mappings
47 |
48 | mime.define({
49 | 'text/x-some-format': ['x-sf', 'x-sft', 'x-sfml'],
50 | 'application/x-my-type': ['x-mt', 'x-mtt'],
51 | // etc ...
52 | });
53 |
54 | mime.lookup('x-sft'); // => 'text/x-some-format'
55 |
56 | The first entry in the extensions array is returned by `mime.extension()`. E.g.
57 |
58 | mime.extension('text/x-some-format'); // => 'x-sf'
59 |
60 | ### mime.load(filepath)
61 |
62 | Load mappings from an Apache ".types" format file
63 |
64 | mime.load('./my_project.types');
65 |
66 | The .types file format is simple - See the `types` dir for examples.
67 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/serve-static/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "serve-static",
3 | "description": "Serve static files",
4 | "version": "1.7.1",
5 | "author": {
6 | "name": "Douglas Christopher Wilson",
7 | "email": "doug@somethingdoug.com"
8 | },
9 | "license": "MIT",
10 | "repository": {
11 | "type": "git",
12 | "url": "https://github.com/expressjs/serve-static"
13 | },
14 | "dependencies": {
15 | "escape-html": "1.0.1",
16 | "parseurl": "~1.3.0",
17 | "send": "0.10.1",
18 | "utils-merge": "1.0.0"
19 | },
20 | "devDependencies": {
21 | "istanbul": "0.3.2",
22 | "mocha": "~2.0.0",
23 | "should": "~4.1.0",
24 | "supertest": "~0.14.0"
25 | },
26 | "files": [
27 | "LICENSE",
28 | "HISTORY.md",
29 | "index.js"
30 | ],
31 | "engines": {
32 | "node": ">= 0.8.0"
33 | },
34 | "scripts": {
35 | "test": "mocha --reporter spec --bail --check-leaks --require should test/",
36 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks --require should test/",
37 | "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks --require should test/"
38 | },
39 | "gitHead": "61f59894e6a3d41532383ca440a395772bcdc8ed",
40 | "bugs": {
41 | "url": "https://github.com/expressjs/serve-static/issues"
42 | },
43 | "homepage": "https://github.com/expressjs/serve-static",
44 | "_id": "serve-static@1.7.1",
45 | "_shasum": "6ea54d5ba7ef563f00e5fad25d0e4f5307e9809b",
46 | "_from": "serve-static@~1.7.1",
47 | "_npmVersion": "1.4.21",
48 | "_npmUser": {
49 | "name": "dougwilson",
50 | "email": "doug@somethingdoug.com"
51 | },
52 | "maintainers": [
53 | {
54 | "name": "dougwilson",
55 | "email": "doug@somethingdoug.com"
56 | },
57 | {
58 | "name": "jongleberry",
59 | "email": "jonathanrichardong@gmail.com"
60 | },
61 | {
62 | "name": "shtylman",
63 | "email": "shtylman@gmail.com"
64 | },
65 | {
66 | "name": "tjholowaychuk",
67 | "email": "tj@vision-media.ca"
68 | },
69 | {
70 | "name": "mscdex",
71 | "email": "mscdex@mscdex.net"
72 | },
73 | {
74 | "name": "fishrock123",
75 | "email": "fishrock123@rocketmail.com"
76 | }
77 | ],
78 | "dist": {
79 | "shasum": "6ea54d5ba7ef563f00e5fad25d0e4f5307e9809b",
80 | "tarball": "http://registry.npmjs.org/serve-static/-/serve-static-1.7.1.tgz"
81 | },
82 | "directories": {},
83 | "_resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.7.1.tgz"
84 | }
85 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/accepts/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "accepts",
3 | "description": "Higher-level content negotiation",
4 | "version": "1.1.3",
5 | "author": {
6 | "name": "Jonathan Ong",
7 | "email": "me@jongleberry.com",
8 | "url": "http://jongleberry.com"
9 | },
10 | "license": "MIT",
11 | "repository": {
12 | "type": "git",
13 | "url": "https://github.com/jshttp/accepts"
14 | },
15 | "dependencies": {
16 | "mime-types": "~2.0.3",
17 | "negotiator": "0.4.9"
18 | },
19 | "devDependencies": {
20 | "istanbul": "~0.3.0",
21 | "mocha": "~2.0.1"
22 | },
23 | "files": [
24 | "LICENSE",
25 | "HISTORY.md",
26 | "index.js"
27 | ],
28 | "engines": {
29 | "node": ">= 0.8"
30 | },
31 | "scripts": {
32 | "test": "mocha --reporter spec --check-leaks --bail test/",
33 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
34 | "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
35 | },
36 | "keywords": [
37 | "content",
38 | "negotiation",
39 | "accept",
40 | "accepts"
41 | ],
42 | "gitHead": "8c3267ffe54e657b00dcd019ce6fdf8b342377b6",
43 | "bugs": {
44 | "url": "https://github.com/jshttp/accepts/issues"
45 | },
46 | "homepage": "https://github.com/jshttp/accepts",
47 | "_id": "accepts@1.1.3",
48 | "_shasum": "14d99f8ee3ea69f8709d4bd17ffe153bef0f6c6d",
49 | "_from": "accepts@~1.1.3",
50 | "_npmVersion": "1.4.21",
51 | "_npmUser": {
52 | "name": "dougwilson",
53 | "email": "doug@somethingdoug.com"
54 | },
55 | "maintainers": [
56 | {
57 | "name": "jongleberry",
58 | "email": "jonathanrichardong@gmail.com"
59 | },
60 | {
61 | "name": "federomero",
62 | "email": "federomero@gmail.com"
63 | },
64 | {
65 | "name": "dougwilson",
66 | "email": "doug@somethingdoug.com"
67 | },
68 | {
69 | "name": "tjholowaychuk",
70 | "email": "tj@vision-media.ca"
71 | },
72 | {
73 | "name": "shtylman",
74 | "email": "shtylman@gmail.com"
75 | },
76 | {
77 | "name": "mscdex",
78 | "email": "mscdex@mscdex.net"
79 | },
80 | {
81 | "name": "fishrock123",
82 | "email": "fishrock123@rocketmail.com"
83 | }
84 | ],
85 | "dist": {
86 | "shasum": "14d99f8ee3ea69f8709d4bd17ffe153bef0f6c6d",
87 | "tarball": "http://registry.npmjs.org/accepts/-/accepts-1.1.3.tgz"
88 | },
89 | "directories": {},
90 | "_resolved": "https://registry.npmjs.org/accepts/-/accepts-1.1.3.tgz"
91 | }
92 |
--------------------------------------------------------------------------------
/express-nashorn/node_modules/express/node_modules/type-is/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "type-is",
3 | "description": "Infer the content-type of a request.",
4 | "version": "1.5.3",
5 | "author": {
6 | "name": "Jonathan Ong",
7 | "email": "me@jongleberry.com",
8 | "url": "http://jongleberry.com"
9 | },
10 | "contributors": [
11 | {
12 | "name": "Douglas Christopher Wilson",
13 | "email": "doug@somethingdoug.com"
14 | }
15 | ],
16 | "license": "MIT",
17 | "repository": {
18 | "type": "git",
19 | "url": "https://github.com/jshttp/type-is"
20 | },
21 | "dependencies": {
22 | "media-typer": "0.3.0",
23 | "mime-types": "~2.0.3"
24 | },
25 | "devDependencies": {
26 | "istanbul": "~0.3.0",
27 | "mocha": "~1.21.5"
28 | },
29 | "engines": {
30 | "node": ">= 0.6"
31 | },
32 | "files": [
33 | "LICENSE",
34 | "HISTORY.md",
35 | "index.js"
36 | ],
37 | "scripts": {
38 | "test": "mocha --reporter spec --check-leaks --bail test/",
39 | "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
40 | "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
41 | },
42 | "keywords": [
43 | "content",
44 | "type",
45 | "checking"
46 | ],
47 | "gitHead": "202b4823bcc0aeda3595c14a03fdcb2c60cb0ebf",
48 | "bugs": {
49 | "url": "https://github.com/jshttp/type-is/issues"
50 | },
51 | "homepage": "https://github.com/jshttp/type-is",
52 | "_id": "type-is@1.5.3",
53 | "_shasum": "b7fb92d0abc628393f10dd260932cca65fe9ff68",
54 | "_from": "type-is@~1.5.3",
55 | "_npmVersion": "1.4.21",
56 | "_npmUser": {
57 | "name": "dougwilson",
58 | "email": "doug@somethingdoug.com"
59 | },
60 | "maintainers": [
61 | {
62 | "name": "jongleberry",
63 | "email": "jonathanrichardong@gmail.com"
64 | },
65 | {
66 | "name": "dougwilson",
67 | "email": "doug@somethingdoug.com"
68 | },
69 | {
70 | "name": "tjholowaychuk",
71 | "email": "tj@vision-media.ca"
72 | },
73 | {
74 | "name": "shtylman",
75 | "email": "shtylman@gmail.com"
76 | },
77 | {
78 | "name": "mscdex",
79 | "email": "mscdex@mscdex.net"
80 | },
81 | {
82 | "name": "fishrock123",
83 | "email": "fishrock123@rocketmail.com"
84 | }
85 | ],
86 | "dist": {
87 | "shasum": "b7fb92d0abc628393f10dd260932cca65fe9ff68",
88 | "tarball": "http://registry.npmjs.org/type-is/-/type-is-1.5.3.tgz"
89 | },
90 | "directories": {},
91 | "_resolved": "https://registry.npmjs.org/type-is/-/type-is-1.5.3.tgz"
92 | }
93 |
--------------------------------------------------------------------------------