2 |
3 | Permission to use, copy, modify, and/or distribute this software for any
4 | purpose with or without fee is hereby granted, provided that the above
5 | copyright notice and this permission notice appear in all copies.
6 |
7 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
14 |
--------------------------------------------------------------------------------
/node_modules/har-schema/lib/browser.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "browser.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "name",
7 | "version"
8 | ],
9 | "properties": {
10 | "name": {
11 | "type": "string"
12 | },
13 | "version": {
14 | "type": "string"
15 | },
16 | "comment": {
17 | "type": "string"
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/node_modules/har-schema/lib/cache.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "cache.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "properties": {
5 | "beforeRequest": {
6 | "oneOf": [
7 | { "type": "null" },
8 | { "$ref": "beforeRequest.json#" }
9 | ]
10 | },
11 | "afterRequest": {
12 | "oneOf": [
13 | { "type": "null" },
14 | { "$ref": "afterRequest.json#" }
15 | ]
16 | },
17 | "comment": {
18 | "type": "string"
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/node_modules/har-schema/lib/content.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "content.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "size",
7 | "mimeType"
8 | ],
9 | "properties": {
10 | "size": {
11 | "type": "integer"
12 | },
13 | "compression": {
14 | "type": "integer"
15 | },
16 | "mimeType": {
17 | "type": "string"
18 | },
19 | "text": {
20 | "type": "string"
21 | },
22 | "encoding": {
23 | "type": "string"
24 | },
25 | "comment": {
26 | "type": "string"
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/node_modules/har-schema/lib/cookie.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "cookie.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "name",
7 | "value"
8 | ],
9 | "properties": {
10 | "name": {
11 | "type": "string"
12 | },
13 | "value": {
14 | "type": "string"
15 | },
16 | "path": {
17 | "type": "string"
18 | },
19 | "domain": {
20 | "type": "string"
21 | },
22 | "expires": {
23 | "type": ["string", "null"],
24 | "format": "date-time"
25 | },
26 | "httpOnly": {
27 | "type": "boolean"
28 | },
29 | "secure": {
30 | "type": "boolean"
31 | },
32 | "comment": {
33 | "type": "string"
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/node_modules/har-schema/lib/creator.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "creator.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "name",
7 | "version"
8 | ],
9 | "properties": {
10 | "name": {
11 | "type": "string"
12 | },
13 | "version": {
14 | "type": "string"
15 | },
16 | "comment": {
17 | "type": "string"
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/node_modules/har-schema/lib/har.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "har.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "log"
7 | ],
8 | "properties": {
9 | "log": {
10 | "$ref": "log.json#"
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/node_modules/har-schema/lib/header.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "header.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "name",
7 | "value"
8 | ],
9 | "properties": {
10 | "name": {
11 | "type": "string"
12 | },
13 | "value": {
14 | "type": "string"
15 | },
16 | "comment": {
17 | "type": "string"
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/node_modules/har-schema/lib/index.js:
--------------------------------------------------------------------------------
1 | 'use strict'
2 |
3 | module.exports = {
4 | afterRequest: require('./afterRequest.json'),
5 | beforeRequest: require('./beforeRequest.json'),
6 | browser: require('./browser.json'),
7 | cache: require('./cache.json'),
8 | content: require('./content.json'),
9 | cookie: require('./cookie.json'),
10 | creator: require('./creator.json'),
11 | entry: require('./entry.json'),
12 | har: require('./har.json'),
13 | header: require('./header.json'),
14 | log: require('./log.json'),
15 | page: require('./page.json'),
16 | pageTimings: require('./pageTimings.json'),
17 | postData: require('./postData.json'),
18 | query: require('./query.json'),
19 | request: require('./request.json'),
20 | response: require('./response.json'),
21 | timings: require('./timings.json')
22 | }
23 |
--------------------------------------------------------------------------------
/node_modules/har-schema/lib/log.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "log.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "version",
7 | "creator",
8 | "entries"
9 | ],
10 | "properties": {
11 | "version": {
12 | "type": "string"
13 | },
14 | "creator": {
15 | "$ref": "creator.json#"
16 | },
17 | "browser": {
18 | "$ref": "browser.json#"
19 | },
20 | "pages": {
21 | "type": "array",
22 | "items": {
23 | "$ref": "page.json#"
24 | }
25 | },
26 | "entries": {
27 | "type": "array",
28 | "items": {
29 | "$ref": "entry.json#"
30 | }
31 | },
32 | "comment": {
33 | "type": "string"
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/node_modules/har-schema/lib/page.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "page.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "optional": true,
6 | "required": [
7 | "startedDateTime",
8 | "id",
9 | "title",
10 | "pageTimings"
11 | ],
12 | "properties": {
13 | "startedDateTime": {
14 | "type": "string",
15 | "format": "date-time",
16 | "pattern": "^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))"
17 | },
18 | "id": {
19 | "type": "string",
20 | "unique": true
21 | },
22 | "title": {
23 | "type": "string"
24 | },
25 | "pageTimings": {
26 | "$ref": "pageTimings.json#"
27 | },
28 | "comment": {
29 | "type": "string"
30 | }
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/node_modules/har-schema/lib/pageTimings.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "pageTimings.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "properties": {
6 | "onContentLoad": {
7 | "type": "number",
8 | "min": -1
9 | },
10 | "onLoad": {
11 | "type": "number",
12 | "min": -1
13 | },
14 | "comment": {
15 | "type": "string"
16 | }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/node_modules/har-schema/lib/query.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "query.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "type": "object",
5 | "required": [
6 | "name",
7 | "value"
8 | ],
9 | "properties": {
10 | "name": {
11 | "type": "string"
12 | },
13 | "value": {
14 | "type": "string"
15 | },
16 | "comment": {
17 | "type": "string"
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/node_modules/har-schema/lib/timings.json:
--------------------------------------------------------------------------------
1 | {
2 | "$id": "timings.json#",
3 | "$schema": "http://json-schema.org/draft-06/schema#",
4 | "required": [
5 | "send",
6 | "wait",
7 | "receive"
8 | ],
9 | "properties": {
10 | "dns": {
11 | "type": "number",
12 | "min": -1
13 | },
14 | "connect": {
15 | "type": "number",
16 | "min": -1
17 | },
18 | "blocked": {
19 | "type": "number",
20 | "min": -1
21 | },
22 | "send": {
23 | "type": "number",
24 | "min": -1
25 | },
26 | "wait": {
27 | "type": "number",
28 | "min": -1
29 | },
30 | "receive": {
31 | "type": "number",
32 | "min": -1
33 | },
34 | "ssl": {
35 | "type": "number",
36 | "min": -1
37 | },
38 | "comment": {
39 | "type": "string"
40 | }
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/node_modules/har-validator/lib/error.js:
--------------------------------------------------------------------------------
1 | function HARError (errors) {
2 | var message = 'validation failed'
3 |
4 | this.name = 'HARError'
5 | this.message = message
6 | this.errors = errors
7 |
8 | if (typeof Error.captureStackTrace === 'function') {
9 | Error.captureStackTrace(this, this.constructor)
10 | } else {
11 | this.stack = (new Error(message)).stack
12 | }
13 | }
14 |
15 | HARError.prototype = Error.prototype
16 |
17 | module.exports = HARError
18 |
--------------------------------------------------------------------------------
/node_modules/http-signature/.dir-locals.el:
--------------------------------------------------------------------------------
1 | ((nil . ((indent-tabs-mode . nil)
2 | (tab-width . 8)
3 | (fill-column . 80)))
4 | (js-mode . ((js-indent-level . 2)
5 | (indent-tabs-mode . nil)
6 | )))
--------------------------------------------------------------------------------
/node_modules/http-signature/.npmignore:
--------------------------------------------------------------------------------
1 | .gitmodules
2 | deps
3 | docs
4 | Makefile
5 | node_modules
6 | test
7 | tools
--------------------------------------------------------------------------------
/node_modules/http-signature/lib/index.js:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Joyent, Inc.
2 |
3 | var parser = require('./parser');
4 | var signer = require('./signer');
5 | var verify = require('./verify');
6 | var utils = require('./utils');
7 |
8 |
9 |
10 | ///--- API
11 |
12 | module.exports = {
13 |
14 | parse: parser.parseRequest,
15 | parseRequest: parser.parseRequest,
16 |
17 | sign: signer.signRequest,
18 | signRequest: signer.signRequest,
19 | createSigner: signer.createSigner,
20 | isSigner: signer.isSigner,
21 |
22 | sshKeyToPEM: utils.sshKeyToPEM,
23 | sshKeyFingerprint: utils.fingerprint,
24 | pemToRsaSSHKey: utils.pemToRsaSSHKey,
25 |
26 | verify: verify.verifySignature,
27 | verifySignature: verify.verifySignature,
28 | verifyHMAC: verify.verifyHMAC
29 | };
30 |
--------------------------------------------------------------------------------
/node_modules/iconv-lite/encodings/index.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | // Update this array if you add/rename/remove files in this directory.
4 | // We support Browserify by skipping automatic module discovery and requiring modules directly.
5 | var modules = [
6 | require("./internal"),
7 | require("./utf16"),
8 | require("./utf7"),
9 | require("./sbcs-codec"),
10 | require("./sbcs-data"),
11 | require("./sbcs-data-generated"),
12 | require("./dbcs-codec"),
13 | require("./dbcs-data"),
14 | ];
15 |
16 | // Put all encoding/alias/codec definitions to single object and export it.
17 | for (var i = 0; i < modules.length; i++) {
18 | var module = modules[i];
19 | for (var enc in module)
20 | if (Object.prototype.hasOwnProperty.call(module, enc))
21 | exports[enc] = module[enc];
22 | }
23 |
--------------------------------------------------------------------------------
/node_modules/inherits/LICENSE:
--------------------------------------------------------------------------------
1 | The ISC License
2 |
3 | Copyright (c) Isaac Z. Schlueter
4 |
5 | Permission to use, copy, modify, and/or distribute this software for any
6 | purpose with or without fee is hereby granted, provided that the above
7 | copyright notice and this permission notice appear in all copies.
8 |
9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
10 | REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
11 | FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
12 | INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13 | LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
14 | OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15 | PERFORMANCE OF THIS SOFTWARE.
16 |
17 |
--------------------------------------------------------------------------------
/node_modules/inherits/inherits.js:
--------------------------------------------------------------------------------
1 | try {
2 | var util = require('util');
3 | if (typeof util.inherits !== 'function') throw '';
4 | module.exports = util.inherits;
5 | } catch (e) {
6 | module.exports = require('./inherits_browser.js');
7 | }
8 |
--------------------------------------------------------------------------------
/node_modules/inherits/inherits_browser.js:
--------------------------------------------------------------------------------
1 | if (typeof Object.create === 'function') {
2 | // implementation from standard node.js 'util' module
3 | module.exports = function inherits(ctor, superCtor) {
4 | ctor.super_ = superCtor
5 | ctor.prototype = Object.create(superCtor.prototype, {
6 | constructor: {
7 | value: ctor,
8 | enumerable: false,
9 | writable: true,
10 | configurable: true
11 | }
12 | });
13 | };
14 | } else {
15 | // old school shim for old browsers
16 | module.exports = function inherits(ctor, superCtor) {
17 | ctor.super_ = superCtor
18 | var TempCtor = function () {}
19 | TempCtor.prototype = superCtor.prototype
20 | ctor.prototype = new TempCtor()
21 | ctor.prototype.constructor = ctor
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/node_modules/is-typedarray/README.md:
--------------------------------------------------------------------------------
1 | # is-typedarray [](http://github.com/badges/stability-badges)
2 |
3 | Detect whether or not an object is a
4 | [Typed Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Typed_arrays).
5 |
6 | ## Usage
7 |
8 | [](https://nodei.co/npm/is-typedarray/)
9 |
10 | ### isTypedArray(array)
11 |
12 | Returns `true` when array is a Typed Array, and `false` when it is not.
13 |
14 | ## License
15 |
16 | MIT. See [LICENSE.md](http://github.com/hughsk/is-typedarray/blob/master/LICENSE.md) for details.
17 |
--------------------------------------------------------------------------------
/node_modules/isstream/.npmignore:
--------------------------------------------------------------------------------
1 | *.tgz
2 |
--------------------------------------------------------------------------------
/node_modules/isstream/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.8"
4 | - "0.10"
5 | - "0.11"
6 | branches:
7 | only:
8 | - master
9 | notifications:
10 | email:
11 | - rod@vagg.org
12 | script: npm test
13 |
--------------------------------------------------------------------------------
/node_modules/isstream/isstream.js:
--------------------------------------------------------------------------------
1 | var stream = require('stream')
2 |
3 |
4 | function isStream (obj) {
5 | return obj instanceof stream.Stream
6 | }
7 |
8 |
9 | function isReadable (obj) {
10 | return isStream(obj) && typeof obj._read == 'function' && typeof obj._readableState == 'object'
11 | }
12 |
13 |
14 | function isWritable (obj) {
15 | return isStream(obj) && typeof obj._write == 'function' && typeof obj._writableState == 'object'
16 | }
17 |
18 |
19 | function isDuplex (obj) {
20 | return isReadable(obj) && isWritable(obj)
21 | }
22 |
23 |
24 | module.exports = isStream
25 | module.exports.isReadable = isReadable
26 | module.exports.isWritable = isWritable
27 | module.exports.isDuplex = isDuplex
28 |
--------------------------------------------------------------------------------
/node_modules/jsbn/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | .DS_Store
--------------------------------------------------------------------------------
/node_modules/jsbn/example.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/node_modules/jsbn/example.js:
--------------------------------------------------------------------------------
1 | var BigInteger = require('./');
2 | var a = new BigInteger('91823918239182398123');
3 | console.log(a.bitLength());
--------------------------------------------------------------------------------
/node_modules/json-schema-traverse/.eslintrc.yml:
--------------------------------------------------------------------------------
1 | extends: eslint:recommended
2 | env:
3 | node: true
4 | browser: true
5 | rules:
6 | block-scoped-var: 2
7 | complexity: [2, 13]
8 | curly: [2, multi-or-nest, consistent]
9 | dot-location: [2, property]
10 | dot-notation: 2
11 | indent: [2, 2, SwitchCase: 1]
12 | linebreak-style: [2, unix]
13 | new-cap: 2
14 | no-console: [2, allow: [warn, error]]
15 | no-else-return: 2
16 | no-eq-null: 2
17 | no-fallthrough: 2
18 | no-invalid-this: 2
19 | no-return-assign: 2
20 | no-shadow: 1
21 | no-trailing-spaces: 2
22 | no-use-before-define: [2, nofunc]
23 | quotes: [2, single, avoid-escape]
24 | semi: [2, always]
25 | strict: [2, global]
26 | valid-jsdoc: [2, requireReturn: false]
27 | no-control-regex: 0
28 |
--------------------------------------------------------------------------------
/node_modules/json-schema-traverse/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "4"
4 | - "6"
5 | - "7"
6 | - "8"
7 | after_script:
8 | - coveralls < coverage/lcov.info
9 |
--------------------------------------------------------------------------------
/node_modules/json-schema-traverse/spec/.eslintrc.yml:
--------------------------------------------------------------------------------
1 | parserOptions:
2 | ecmaVersion: 6
3 | globals:
4 | beforeEach: false
5 | describe: false
6 | it: false
7 |
--------------------------------------------------------------------------------
/node_modules/json-schema/README.md:
--------------------------------------------------------------------------------
1 | JSON Schema is a repository for the JSON Schema specification, reference schemas and a CommonJS implementation of JSON Schema (not the only JavaScript implementation of JSON Schema, JSV is another excellent JavaScript validator).
2 |
3 | Code is licensed under the AFL or BSD license as part of the Persevere
4 | project which is administered under the Dojo foundation,
5 | and all contributions require a Dojo CLA.
--------------------------------------------------------------------------------
/node_modules/json-schema/draft-00/json-ref:
--------------------------------------------------------------------------------
1 | {
2 | "$schema" : "http://json-schema.org/draft-00/hyper-schema#",
3 | "id" : "http://json-schema.org/draft-00/json-ref#",
4 |
5 | "items" : {"$ref" : "#"},
6 | "additionalProperties" : {"$ref" : "#"},
7 |
8 | "links" : [
9 | {
10 | "href" : "{$ref}",
11 | "rel" : "full"
12 | },
13 |
14 | {
15 | "href" : "{$schema}",
16 | "rel" : "describedby"
17 | },
18 |
19 | {
20 | "href" : "{id}",
21 | "rel" : "self"
22 | }
23 | ],
24 |
25 | "fragmentResolution" : "dot-delimited"
26 | }
--------------------------------------------------------------------------------
/node_modules/json-schema/draft-00/links:
--------------------------------------------------------------------------------
1 | {
2 | "$schema" : "http://json-schema.org/draft-00/hyper-schema#",
3 | "id" : "http://json-schema.org/draft-00/links#",
4 | "type" : "object",
5 |
6 | "properties" : {
7 | "href" : {
8 | "type" : "string"
9 | },
10 |
11 | "rel" : {
12 | "type" : "string"
13 | },
14 |
15 | "method" : {
16 | "type" : "string",
17 | "default" : "GET",
18 | "optional" : true
19 | },
20 |
21 | "enctype" : {
22 | "type" : "string",
23 | "requires" : "method",
24 | "optional" : true
25 | },
26 |
27 | "properties" : {
28 | "type" : "object",
29 | "additionalProperties" : {"$ref" : "http://json-schema.org/draft-00/hyper-schema#"},
30 | "optional" : true
31 | }
32 | }
33 | }
--------------------------------------------------------------------------------
/node_modules/json-schema/draft-01/json-ref:
--------------------------------------------------------------------------------
1 | {
2 | "$schema" : "http://json-schema.org/draft-01/hyper-schema#",
3 | "id" : "http://json-schema.org/draft-01/json-ref#",
4 |
5 | "items" : {"$ref" : "#"},
6 | "additionalProperties" : {"$ref" : "#"},
7 |
8 | "links" : [
9 | {
10 | "href" : "{$ref}",
11 | "rel" : "full"
12 | },
13 |
14 | {
15 | "href" : "{$schema}",
16 | "rel" : "describedby"
17 | },
18 |
19 | {
20 | "href" : "{id}",
21 | "rel" : "self"
22 | }
23 | ],
24 |
25 | "fragmentResolution" : "dot-delimited"
26 | }
--------------------------------------------------------------------------------
/node_modules/json-schema/draft-01/links:
--------------------------------------------------------------------------------
1 | {
2 | "$schema" : "http://json-schema.org/draft-01/hyper-schema#",
3 | "id" : "http://json-schema.org/draft-01/links#",
4 | "type" : "object",
5 |
6 | "properties" : {
7 | "href" : {
8 | "type" : "string"
9 | },
10 |
11 | "rel" : {
12 | "type" : "string"
13 | },
14 |
15 | "method" : {
16 | "type" : "string",
17 | "default" : "GET",
18 | "optional" : true
19 | },
20 |
21 | "enctype" : {
22 | "type" : "string",
23 | "requires" : "method",
24 | "optional" : true
25 | },
26 |
27 | "properties" : {
28 | "type" : "object",
29 | "additionalProperties" : {"$ref" : "http://json-schema.org/draft-01/hyper-schema#"},
30 | "optional" : true
31 | }
32 | }
33 | }
--------------------------------------------------------------------------------
/node_modules/json-schema/draft-02/json-ref:
--------------------------------------------------------------------------------
1 | {
2 | "$schema" : "http://json-schema.org/draft-02/hyper-schema#",
3 | "id" : "http://json-schema.org/draft-02/json-ref#",
4 |
5 | "items" : {"$ref" : "#"},
6 | "additionalProperties" : {"$ref" : "#"},
7 |
8 | "links" : [
9 | {
10 | "href" : "{$ref}",
11 | "rel" : "full"
12 | },
13 |
14 | {
15 | "href" : "{$schema}",
16 | "rel" : "describedby"
17 | },
18 |
19 | {
20 | "href" : "{id}",
21 | "rel" : "self"
22 | }
23 | ],
24 |
25 | "fragmentResolution" : "dot-delimited"
26 | }
--------------------------------------------------------------------------------
/node_modules/json-schema/draft-03/examples/address:
--------------------------------------------------------------------------------
1 | {
2 | "description" : "An Address following the convention of http://microformats.org/wiki/hcard",
3 | "type" : "object",
4 | "properties" : {
5 | "post-office-box" : { "type" : "string" },
6 | "extended-address" : { "type" : "string" },
7 | "street-address" : { "type":"string" },
8 | "locality" : { "type" : "string", "required" : true },
9 | "region" : { "type" : "string", "required" : true },
10 | "postal-code" : { "type" : "string" },
11 | "country-name" : { "type" : "string", "required" : true }
12 | },
13 | "dependencies" : {
14 | "post-office-box" : "street-address",
15 | "extended-address" : "street-address",
16 | "street-address" : "region",
17 | "locality" : "region",
18 | "region" : "country-name"
19 | }
20 | }
--------------------------------------------------------------------------------
/node_modules/json-schema/draft-03/examples/geo:
--------------------------------------------------------------------------------
1 | {
2 | "description" : "A geographical coordinate",
3 | "type" : "object",
4 | "properties" : {
5 | "latitude" : { "type" : "number" },
6 | "longitude" : { "type" : "number" }
7 | }
8 | }
--------------------------------------------------------------------------------
/node_modules/json-schema/draft-03/json-ref:
--------------------------------------------------------------------------------
1 | {
2 | "$schema" : "http://json-schema.org/draft-03/hyper-schema#",
3 | "id" : "http://json-schema.org/draft-03/json-ref#",
4 |
5 | "additionalItems" : {"$ref" : "#"},
6 | "additionalProperties" : {"$ref" : "#"},
7 |
8 | "links" : [
9 | {
10 | "href" : "{id}",
11 | "rel" : "self"
12 | },
13 |
14 | {
15 | "href" : "{$ref}",
16 | "rel" : "full"
17 | },
18 |
19 | {
20 | "href" : "{$schema}",
21 | "rel" : "describedby"
22 | }
23 | ],
24 |
25 | "fragmentResolution" : "dot-delimited"
26 | }
--------------------------------------------------------------------------------
/node_modules/json-stringify-safe/.npmignore:
--------------------------------------------------------------------------------
1 | /*.tgz
2 |
--------------------------------------------------------------------------------
/node_modules/json-stringify-safe/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | ## Unreleased
2 | - Fixes stringify to only take ancestors into account when checking
3 | circularity.
4 | It previously assumed every visited object was circular which led to [false
5 | positives][issue9].
6 | Uses the tiny serializer I wrote for [Must.js][must] a year and a half ago.
7 | - Fixes calling the `replacer` function in the proper context (`thisArg`).
8 | - Fixes calling the `cycleReplacer` function in the proper context (`thisArg`).
9 | - Speeds serializing by a factor of
10 | Big-O(h-my-god-it-linearly-searched-every-object) it had ever seen. Searching
11 | only the ancestors for a circular references speeds up things considerably.
12 |
13 | [must]: https://github.com/moll/js-must
14 | [issue9]: https://github.com/isaacs/json-stringify-safe/issues/9
15 |
--------------------------------------------------------------------------------
/node_modules/json-stringify-safe/LICENSE:
--------------------------------------------------------------------------------
1 | The ISC License
2 |
3 | Copyright (c) Isaac Z. Schlueter and Contributors
4 |
5 | Permission to use, copy, modify, and/or distribute this software for any
6 | purpose with or without fee is hereby granted, provided that the above
7 | copyright notice and this permission notice appear in all copies.
8 |
9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 |
--------------------------------------------------------------------------------
/node_modules/json-stringify-safe/Makefile:
--------------------------------------------------------------------------------
1 | NODE_OPTS =
2 | TEST_OPTS =
3 |
4 | love:
5 | @echo "Feel like makin' love."
6 |
7 | test:
8 | @node $(NODE_OPTS) ./node_modules/.bin/_mocha -R dot $(TEST_OPTS)
9 |
10 | spec:
11 | @node $(NODE_OPTS) ./node_modules/.bin/_mocha -R spec $(TEST_OPTS)
12 |
13 | autotest:
14 | @node $(NODE_OPTS) ./node_modules/.bin/_mocha -R dot --watch $(TEST_OPTS)
15 |
16 | autospec:
17 | @node $(NODE_OPTS) ./node_modules/.bin/_mocha -R spec --watch $(TEST_OPTS)
18 |
19 | pack:
20 | @file=$$(npm pack); echo "$$file"; tar tf "$$file"
21 |
22 | publish:
23 | npm publish
24 |
25 | tag:
26 | git tag "v$$(node -e 'console.log(require("./package").version)')"
27 |
28 | clean:
29 | rm -f *.tgz
30 | npm prune --production
31 |
32 | .PHONY: love
33 | .PHONY: test spec autotest autospec
34 | .PHONY: pack publish tag
35 | .PHONY: clean
36 |
--------------------------------------------------------------------------------
/node_modules/json-stringify-safe/test/mocha.opts:
--------------------------------------------------------------------------------
1 | --recursive
2 | --require must
3 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/node_modules/merge-descriptors/HISTORY.md:
--------------------------------------------------------------------------------
1 | 1.0.1 / 2016-01-17
2 | ==================
3 |
4 | * perf: enable strict mode
5 |
6 | 1.0.0 / 2015-03-01
7 | ==================
8 |
9 | * Add option to only add new descriptors
10 | * Add simple argument validation
11 | * Add jsdoc to source file
12 |
13 | 0.0.2 / 2013-12-14
14 | ==================
15 |
16 | * Move repository to `component` organization
17 |
18 | 0.0.1 / 2013-10-29
19 | ==================
20 |
21 | * Initial release
22 |
--------------------------------------------------------------------------------
/node_modules/methods/HISTORY.md:
--------------------------------------------------------------------------------
1 | 1.1.2 / 2016-01-17
2 | ==================
3 |
4 | * perf: enable strict mode
5 |
6 | 1.1.1 / 2014-12-30
7 | ==================
8 |
9 | * Improve `browserify` support
10 |
11 | 1.1.0 / 2014-07-05
12 | ==================
13 |
14 | * Add `CONNECT` method
15 |
16 | 1.0.1 / 2014-06-02
17 | ==================
18 |
19 | * Fix module to work with harmony transform
20 |
21 | 1.0.0 / 2014-05-08
22 | ==================
23 |
24 | * Add `PURGE` method
25 |
26 | 0.1.0 / 2013-10-28
27 | ==================
28 |
29 | * Add `http.METHODS` support
30 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/node_modules/mime/.npmignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oslabs-beta/old-Tikitaka/7cecc33635befb91585335134d2c02a8614e12a1/node_modules/mime/.npmignore
--------------------------------------------------------------------------------
/node_modules/mime/cli.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 |
3 | var mime = require('./mime.js');
4 | var file = process.argv[2];
5 | var type = mime.lookup(file);
6 |
7 | process.stdout.write(type + '\n');
8 |
9 |
--------------------------------------------------------------------------------
/node_modules/module-details-from-path/.npmignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/node_modules/module-details-from-path/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - '6'
4 | - '5'
5 | - '4'
6 | - '0.12'
7 | - '0.10'
8 |
--------------------------------------------------------------------------------
/node_modules/module-details-from-path/index.js:
--------------------------------------------------------------------------------
1 | 'use strict'
2 |
3 | var path = require('path')
4 |
5 | module.exports = function (file) {
6 | var segments = file.split(path.sep)
7 | var index = segments.lastIndexOf('node_modules')
8 | if (index === -1) return
9 | if (!segments[index + 1]) return
10 | var scoped = segments[index + 1][0] === '@'
11 | var name = scoped ? segments[index + 1] + '/' + segments[index + 2] : segments[index + 1]
12 | var offset = scoped ? 3 : 2
13 | return {
14 | name: name,
15 | basedir: segments.slice(0, index + offset).join(path.sep),
16 | path: segments.slice(index + offset).join(path.sep)
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/node_modules/oauth-sign/README.md:
--------------------------------------------------------------------------------
1 | oauth-sign
2 | ==========
3 |
4 | OAuth 1 signing. Formerly a vendor lib in mikeal/request, now a standalone module.
5 |
6 | ## Supported Method Signatures
7 |
8 | - HMAC-SHA1
9 | - HMAC-SHA256
10 | - RSA-SHA1
11 | - PLAINTEXT
--------------------------------------------------------------------------------
/node_modules/path-parse/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "0.12"
4 | - "0.11"
5 | - "0.10"
6 | - "0.10.12"
7 | - "0.8"
8 | - "0.6"
9 | - "iojs"
10 |
--------------------------------------------------------------------------------
/node_modules/performance-now/.npmignore:
--------------------------------------------------------------------------------
1 | .DS_Store
--------------------------------------------------------------------------------
/node_modules/performance-now/.tm_properties:
--------------------------------------------------------------------------------
1 | excludeDirectories = "{.git,node_modules}"
2 | excludeInFolderSearch = "{excludeDirectories,lib}"
3 |
4 | includeFiles = "{.gitignore,.npmignore,.travis.yml}"
5 |
6 | [ attr.untitled ]
7 | fileType = 'source.coffee'
--------------------------------------------------------------------------------
/node_modules/performance-now/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "node"
4 | - "6"
5 | - "4"
6 | - "0.12"
7 |
--------------------------------------------------------------------------------
/node_modules/performance-now/src/index.d.ts:
--------------------------------------------------------------------------------
1 | // This file describes the package to typescript.
2 |
3 | /**
4 | * Returns the number of milliseconds since the page was loaded (if browser)
5 | * or the node process was started.
6 | */
7 | declare function now(): number;
8 | export = now;
9 |
--------------------------------------------------------------------------------
/node_modules/performance-now/src/performance-now.coffee:
--------------------------------------------------------------------------------
1 | if performance? and performance.now
2 | module.exports = -> performance.now()
3 | else if process? and process.hrtime
4 | module.exports = -> (getNanoSeconds() - nodeLoadTime) / 1e6
5 | hrtime = process.hrtime
6 | getNanoSeconds = ->
7 | hr = hrtime()
8 | hr[0] * 1e9 + hr[1]
9 | moduleLoadTime = getNanoSeconds()
10 | upTime = process.uptime() * 1e9
11 | nodeLoadTime = moduleLoadTime - upTime
12 | else if Date.now
13 | module.exports = -> Date.now() - loadTime
14 | loadTime = Date.now()
15 | else
16 | module.exports = -> new Date().getTime() - loadTime
17 | loadTime = new Date().getTime()
18 |
--------------------------------------------------------------------------------
/node_modules/performance-now/test/mocha.opts:
--------------------------------------------------------------------------------
1 | --require coffee-script/register
2 | --compilers coffee:coffee-script/register
3 | --reporter spec
--------------------------------------------------------------------------------
/node_modules/performance-now/test/scripts/delayed-call.coffee:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ./node_modules/.bin/coffee
2 |
3 | ###
4 | Expected output is a number above 350 and below 600.
5 | The time reported is relative to the time the node.js process was started
6 | this is approximately at `(Date.now() process.uptime() * 1000)`
7 | ###
8 |
9 | delay = require "call-delayed"
10 | now = require "../../lib/performance-now"
11 | delay 250, -> console.log now().toFixed 3
12 |
--------------------------------------------------------------------------------
/node_modules/performance-now/test/scripts/delayed-require.coffee:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ./node_modules/.bin/coffee
2 |
3 | ###
4 | Expected output is a number above 350 and below 600.
5 | The time reported is relative to the time the node.js process was started
6 | this is approximately at `(Date.now() process.uptime() * 1000)`
7 | ###
8 |
9 | delay = require "call-delayed"
10 | delay 250, ->
11 | now = require "../../lib/performance-now"
12 | console.log now().toFixed 3
13 |
--------------------------------------------------------------------------------
/node_modules/performance-now/test/scripts/difference.coffee:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ./node_modules/.bin/coffee
2 |
3 | # Expected output is above 0.005 and below 0.07.
4 |
5 | now = require('../../lib/performance-now')
6 | console.log -(now() - now()).toFixed 3
7 |
--------------------------------------------------------------------------------
/node_modules/performance-now/test/scripts/initial-value.coffee:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env ./node_modules/.bin/coffee
2 |
3 | ###
4 | Expected output is a number above 100 and below 350.
5 | The time reported is relative to the time the node.js process was started
6 | this is approximately at `(Date.now() process.uptime() * 1000)`
7 | ###
8 |
9 | now = require '../../lib/performance-now'
10 | console.log now().toFixed 3
11 |
--------------------------------------------------------------------------------
/node_modules/prom-client/lib/metrics/helpers/safeMemoryUsage.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | function safeMemoryUsage() {
4 | let memoryUsage;
5 | try {
6 | memoryUsage = process.memoryUsage();
7 | } catch (ex) {
8 | // empty
9 | }
10 |
11 | return memoryUsage;
12 | }
13 |
14 | module.exports = safeMemoryUsage;
15 |
--------------------------------------------------------------------------------
/node_modules/prom-client/lib/metrics/processStartTime.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | const Gauge = require('../gauge');
4 | const nowInSeconds = Math.round(Date.now() / 1000 - process.uptime());
5 |
6 | const PROCESS_START_TIME = 'process_start_time_seconds';
7 |
8 | module.exports = (registry, config = {}) => {
9 | const namePrefix = config.prefix ? config.prefix : '';
10 |
11 | const cpuUserGauge = new Gauge({
12 | name: namePrefix + PROCESS_START_TIME,
13 | help: 'Start time of the process since unix epoch in seconds.',
14 | registers: registry ? [registry] : undefined,
15 | aggregator: 'omit'
16 | });
17 | let isSet = false;
18 |
19 | return () => {
20 | if (isSet) {
21 | return;
22 | }
23 | cpuUserGauge.set(nowInSeconds);
24 | isSet = true;
25 | };
26 | };
27 |
28 | module.exports.metricNames = [PROCESS_START_TIME];
29 |
--------------------------------------------------------------------------------
/node_modules/qs/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | indent_style = space
5 | indent_size = 4
6 | end_of_line = lf
7 | charset = utf-8
8 | trim_trailing_whitespace = true
9 | insert_final_newline = true
10 | max_line_length = 160
11 |
12 | [test/*]
13 | max_line_length = off
14 |
15 | [*.md]
16 | max_line_length = off
17 |
18 | [*.json]
19 | max_line_length = off
20 |
21 | [Makefile]
22 | max_line_length = off
23 |
24 | [CHANGELOG.md]
25 | indent_style = space
26 | indent_size = 2
27 |
28 | [LICENSE]
29 | indent_size = 2
30 | max_line_length = off
31 |
--------------------------------------------------------------------------------
/node_modules/qs/.eslintignore:
--------------------------------------------------------------------------------
1 | dist
2 |
--------------------------------------------------------------------------------
/node_modules/qs/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "root": true,
3 |
4 | "extends": "@ljharb",
5 |
6 | "rules": {
7 | "complexity": 0,
8 | "consistent-return": 1,
9 | "func-name-matching": 0,
10 | "id-length": [2, { "min": 1, "max": 25, "properties": "never" }],
11 | "indent": [2, 4],
12 | "max-lines-per-function": [2, { "max": 150 }],
13 | "max-params": [2, 14],
14 | "max-statements": [2, 52],
15 | "multiline-comment-style": 0,
16 | "no-continue": 1,
17 | "no-magic-numbers": 0,
18 | "no-restricted-syntax": [2, "BreakStatement", "DebuggerStatement", "ForInStatement", "LabeledStatement", "WithStatement"],
19 | "operator-linebreak": [2, "before"],
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/node_modules/qs/lib/formats.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var replace = String.prototype.replace;
4 | var percentTwenties = /%20/g;
5 |
6 | module.exports = {
7 | 'default': 'RFC3986',
8 | formatters: {
9 | RFC1738: function (value) {
10 | return replace.call(value, percentTwenties, '+');
11 | },
12 | RFC3986: function (value) {
13 | return value;
14 | }
15 | },
16 | RFC1738: 'RFC1738',
17 | RFC3986: 'RFC3986'
18 | };
19 |
--------------------------------------------------------------------------------
/node_modules/qs/lib/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var stringify = require('./stringify');
4 | var parse = require('./parse');
5 | var formats = require('./formats');
6 |
7 | module.exports = {
8 | formats: formats,
9 | parse: parse,
10 | stringify: stringify
11 | };
12 |
--------------------------------------------------------------------------------
/node_modules/qs/test/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "rules": {
3 | "array-bracket-newline": 0,
4 | "array-element-newline": 0,
5 | "consistent-return": 2,
6 | "function-paren-newline": 0,
7 | "max-lines": 0,
8 | "max-lines-per-function": 0,
9 | "max-nested-callbacks": [2, 3],
10 | "max-statements": 0,
11 | "no-buffer-constructor": 0,
12 | "no-extend-native": 0,
13 | "no-magic-numbers": 0,
14 | "object-curly-newline": 0,
15 | "sort-keys": 0
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/node_modules/qs/test/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | require('./parse');
4 |
5 | require('./stringify');
6 |
7 | require('./utils');
8 |
--------------------------------------------------------------------------------
/node_modules/request/node_modules/qs/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | indent_style = space
5 | indent_size = 4
6 | end_of_line = lf
7 | charset = utf-8
8 | trim_trailing_whitespace = true
9 | insert_final_newline = true
10 | max_line_length = 140
11 |
12 | [test/*]
13 | max_line_length = off
14 |
15 | [*.md]
16 | max_line_length = off
17 |
18 | [*.json]
19 | max_line_length = off
20 |
21 | [Makefile]
22 | max_line_length = off
23 |
24 | [CHANGELOG.md]
25 | indent_style = space
26 | indent_size = 2
27 |
28 | [LICENSE]
29 | indent_size = 2
30 | max_line_length = off
31 |
--------------------------------------------------------------------------------
/node_modules/request/node_modules/qs/.eslintignore:
--------------------------------------------------------------------------------
1 | dist
2 |
--------------------------------------------------------------------------------
/node_modules/request/node_modules/qs/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "root": true,
3 |
4 | "extends": "@ljharb",
5 |
6 | "rules": {
7 | "complexity": 0,
8 | "consistent-return": 1,
9 | "func-name-matching": 0,
10 | "id-length": [2, { "min": 1, "max": 25, "properties": "never" }],
11 | "indent": [2, 4],
12 | "max-params": [2, 12],
13 | "max-statements": [2, 45],
14 | "no-continue": 1,
15 | "no-magic-numbers": 0,
16 | "no-restricted-syntax": [2, "BreakStatement", "DebuggerStatement", "ForInStatement", "LabeledStatement", "WithStatement"],
17 | "operator-linebreak": [2, "before"],
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/node_modules/request/node_modules/qs/lib/formats.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var replace = String.prototype.replace;
4 | var percentTwenties = /%20/g;
5 |
6 | module.exports = {
7 | 'default': 'RFC3986',
8 | formatters: {
9 | RFC1738: function (value) {
10 | return replace.call(value, percentTwenties, '+');
11 | },
12 | RFC3986: function (value) {
13 | return value;
14 | }
15 | },
16 | RFC1738: 'RFC1738',
17 | RFC3986: 'RFC3986'
18 | };
19 |
--------------------------------------------------------------------------------
/node_modules/request/node_modules/qs/lib/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var stringify = require('./stringify');
4 | var parse = require('./parse');
5 | var formats = require('./formats');
6 |
7 | module.exports = {
8 | formats: formats,
9 | parse: parse,
10 | stringify: stringify
11 | };
12 |
--------------------------------------------------------------------------------
/node_modules/request/node_modules/qs/test/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "rules": {
3 | "array-bracket-newline": 0,
4 | "array-element-newline": 0,
5 | "consistent-return": 2,
6 | "max-lines": 0,
7 | "max-nested-callbacks": [2, 3],
8 | "max-statements": 0,
9 | "no-buffer-constructor": 0,
10 | "no-extend-native": 0,
11 | "no-magic-numbers": 0,
12 | "object-curly-newline": 0,
13 | "sort-keys": 0
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/node_modules/request/node_modules/qs/test/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | require('./parse');
4 |
5 | require('./stringify');
6 |
7 | require('./utils');
8 |
--------------------------------------------------------------------------------
/node_modules/resolve/.eslintignore:
--------------------------------------------------------------------------------
1 | node_modules
2 |
--------------------------------------------------------------------------------
/node_modules/resolve/.travis.yml:
--------------------------------------------------------------------------------
1 | version: ~> 1.0
2 | language: node_js
3 | os:
4 | - linux
5 | import:
6 | - ljharb/travis-ci:node/all.yml
7 | - ljharb/travis-ci:node/pretest.yml
8 | - ljharb/travis-ci:node/posttest.yml
9 |
--------------------------------------------------------------------------------
/node_modules/resolve/example/async.js:
--------------------------------------------------------------------------------
1 | var resolve = require('../');
2 | resolve('tap', { basedir: __dirname }, function (err, res) {
3 | if (err) console.error(err);
4 | else console.log(res);
5 | });
6 |
--------------------------------------------------------------------------------
/node_modules/resolve/example/sync.js:
--------------------------------------------------------------------------------
1 | var resolve = require('../');
2 | var res = resolve.sync('tap', { basedir: __dirname });
3 | console.log(res);
4 |
--------------------------------------------------------------------------------
/node_modules/resolve/index.js:
--------------------------------------------------------------------------------
1 | var async = require('./lib/async');
2 | async.core = require('./lib/core');
3 | async.isCore = require('./lib/is-core');
4 | async.sync = require('./lib/sync');
5 |
6 | module.exports = async;
7 |
--------------------------------------------------------------------------------
/node_modules/resolve/lib/caller.js:
--------------------------------------------------------------------------------
1 | module.exports = function () {
2 | // see https://code.google.com/p/v8/wiki/JavaScriptStackTraceApi
3 | var origPrepareStackTrace = Error.prepareStackTrace;
4 | Error.prepareStackTrace = function (_, stack) { return stack; };
5 | var stack = (new Error()).stack;
6 | Error.prepareStackTrace = origPrepareStackTrace;
7 | return stack[2].getFileName();
8 | };
9 |
--------------------------------------------------------------------------------
/node_modules/resolve/lib/is-core.js:
--------------------------------------------------------------------------------
1 | var core = require('./core');
2 |
3 | module.exports = function isCore(x) {
4 | return Object.prototype.hasOwnProperty.call(core, x);
5 | };
6 |
--------------------------------------------------------------------------------
/node_modules/resolve/lib/normalize-options.js:
--------------------------------------------------------------------------------
1 | module.exports = function (x, opts) {
2 | /**
3 | * This file is purposefully a passthrough. It's expected that third-party
4 | * environments will override it at runtime in order to inject special logic
5 | * into `resolve` (by manipulating the options). One such example is the PnP
6 | * code path in Yarn.
7 | */
8 |
9 | return opts || {};
10 | };
11 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "rules": {
3 | "max-lines": 0
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/dotdot/abc/index.js:
--------------------------------------------------------------------------------
1 | var x = require('..');
2 | console.log(x);
3 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/dotdot/index.js:
--------------------------------------------------------------------------------
1 | module.exports = 'whatever';
2 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/module_dir/xmodules/aaa/index.js:
--------------------------------------------------------------------------------
1 | module.exports = function (x) { return x * 100; };
2 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/module_dir/ymodules/aaa/index.js:
--------------------------------------------------------------------------------
1 | module.exports = function (x) { return x + 100; };
2 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/module_dir/zmodules/bbb/main.js:
--------------------------------------------------------------------------------
1 | module.exports = function (n) { return n * 111; };
2 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/module_dir/zmodules/bbb/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "main": "main.js"
3 | }
4 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/node_path/x/aaa/index.js:
--------------------------------------------------------------------------------
1 | module.exports = 'A';
2 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/node_path/x/ccc/index.js:
--------------------------------------------------------------------------------
1 | module.exports = 'C';
2 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/node_path/y/bbb/index.js:
--------------------------------------------------------------------------------
1 | module.exports = 'B';
2 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/node_path/y/ccc/index.js:
--------------------------------------------------------------------------------
1 | module.exports = 'CY';
2 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/nonstring.js:
--------------------------------------------------------------------------------
1 | var test = require('tape');
2 | var resolve = require('../');
3 |
4 | test('nonstring', function (t) {
5 | t.plan(1);
6 | resolve(555, function (err, res, pkg) {
7 | t.ok(err);
8 | });
9 | });
10 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/pathfilter/deep_ref/main.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oslabs-beta/old-Tikitaka/7cecc33635befb91585335134d2c02a8614e12a1/node_modules/resolve/test/pathfilter/deep_ref/main.js
--------------------------------------------------------------------------------
/node_modules/resolve/test/precedence.js:
--------------------------------------------------------------------------------
1 | var path = require('path');
2 | var test = require('tape');
3 | var resolve = require('../');
4 |
5 | test('precedence', function (t) {
6 | t.plan(3);
7 | var dir = path.join(__dirname, 'precedence/aaa');
8 |
9 | resolve('./', { basedir: dir }, function (err, res, pkg) {
10 | t.ifError(err);
11 | t.equal(res, path.join(dir, 'index.js'));
12 | t.equal(pkg.name, 'resolve');
13 | });
14 | });
15 |
16 | test('./ should not load ${dir}.js', function (t) { // eslint-disable-line no-template-curly-in-string
17 | t.plan(1);
18 | var dir = path.join(__dirname, 'precedence/bbb');
19 |
20 | resolve('./', { basedir: dir }, function (err, res, pkg) {
21 | t.ok(err);
22 | });
23 | });
24 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/precedence/aaa.js:
--------------------------------------------------------------------------------
1 | module.exports = 'wtf';
2 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/precedence/aaa/index.js:
--------------------------------------------------------------------------------
1 | module.exports = 'okok';
2 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/precedence/aaa/main.js:
--------------------------------------------------------------------------------
1 | console.log(require('./'));
2 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/precedence/bbb.js:
--------------------------------------------------------------------------------
1 | module.exports = '>_<';
2 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/precedence/bbb/main.js:
--------------------------------------------------------------------------------
1 | console.log(require('./')); // should throw
2 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/baz/doom.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oslabs-beta/old-Tikitaka/7cecc33635befb91585335134d2c02a8614e12a1/node_modules/resolve/test/resolver/baz/doom.js
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/baz/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "baz",
3 | "main": "quux.js"
4 | }
5 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/baz/quux.js:
--------------------------------------------------------------------------------
1 | module.exports = 1;
2 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/browser_field/a.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oslabs-beta/old-Tikitaka/7cecc33635befb91585335134d2c02a8614e12a1/node_modules/resolve/test/resolver/browser_field/a.js
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/browser_field/b.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oslabs-beta/old-Tikitaka/7cecc33635befb91585335134d2c02a8614e12a1/node_modules/resolve/test/resolver/browser_field/b.js
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/browser_field/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "browser_field",
3 | "main": "a",
4 | "browser": "b"
5 | }
6 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/cup.coffee:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/dot_main/index.js:
--------------------------------------------------------------------------------
1 | module.exports = 1;
2 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/dot_main/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "main": "."
3 | }
4 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/dot_slash_main/index.js:
--------------------------------------------------------------------------------
1 | module.exports = 1;
2 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/dot_slash_main/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "main": "./"
3 | }
4 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/foo.js:
--------------------------------------------------------------------------------
1 | module.exports = 1;
2 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/incorrect_main/index.js:
--------------------------------------------------------------------------------
1 | // this is the actual main file 'index.js', not 'wrong.js' like the package.json would indicate
2 | module.exports = 1;
3 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/incorrect_main/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "main": "wrong.js"
3 | }
4 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/invalid_main/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "invalid main",
3 | "main": [
4 | "why is this a thing",
5 | "srsly omg wtf"
6 | ]
7 | }
8 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/mug.coffee:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oslabs-beta/old-Tikitaka/7cecc33635befb91585335134d2c02a8614e12a1/node_modules/resolve/test/resolver/mug.coffee
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/mug.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oslabs-beta/old-Tikitaka/7cecc33635befb91585335134d2c02a8614e12a1/node_modules/resolve/test/resolver/mug.js
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/multirepo/lerna.json:
--------------------------------------------------------------------------------
1 | {
2 | "packages": [
3 | "packages/*"
4 | ],
5 | "version": "0.0.0"
6 | }
7 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/multirepo/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "monorepo-symlink-test",
3 | "private": true,
4 | "version": "0.0.0",
5 | "description": "",
6 | "main": "index.js",
7 | "scripts": {
8 | "postinstall": "lerna bootstrap",
9 | "test": "node packages/package-a"
10 | },
11 | "author": "",
12 | "license": "MIT",
13 | "dependencies": {
14 | "jquery": "^3.3.1",
15 | "resolve": "../../../"
16 | },
17 | "devDependencies": {
18 | "lerna": "^3.4.3"
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/multirepo/packages/package-a/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "@my-scope/package-a",
3 | "version": "0.0.0",
4 | "private": true,
5 | "description": "",
6 | "license": "MIT",
7 | "main": "index.js",
8 | "scripts": {
9 | "test": "echo \"Error: run tests from root\" && exit 1"
10 | },
11 | "dependencies": {
12 | "@my-scope/package-b": "^0.0.0"
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/multirepo/packages/package-b/index.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oslabs-beta/old-Tikitaka/7cecc33635befb91585335134d2c02a8614e12a1/node_modules/resolve/test/resolver/multirepo/packages/package-b/index.js
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/multirepo/packages/package-b/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "@my-scope/package-b",
3 | "private": true,
4 | "version": "0.0.0",
5 | "description": "",
6 | "license": "MIT",
7 | "main": "index.js",
8 | "scripts": {
9 | "test": "echo \"Error: run tests from root\" && exit 1"
10 | },
11 | "dependencies": {
12 | "@my-scope/package-a": "^0.0.0"
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/nested_symlinks/mylib/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "mylib",
3 | "version": "0.0.0",
4 | "description": "",
5 | "private": true,
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "keywords": [],
10 | "author": "",
11 | "license": "ISC",
12 | "dependencies": {
13 | "buffer": "*"
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/nested_symlinks/mylib/sync.js:
--------------------------------------------------------------------------------
1 | var a = require.resolve('buffer/').replace(process.cwd(), '$CWD');
2 | var b = require('resolve').sync('buffer/', { preserveSymlinks: true }).replace(process.cwd(), '$CWD');
3 | var c = require('resolve').sync('buffer/', { preserveSymlinks: false }).replace(process.cwd(), '$CWD');
4 |
5 | console.log(a, ': require.resolve, preserveSymlinks ' + (process.execArgv.indexOf('preserve-symlinks') > -1 ? 'true' : 'false'));
6 | console.log(b, ': preserveSymlinks true');
7 | console.log(c, ': preserveSymlinks false');
8 |
9 | if (a !== b && a !== c) {
10 | throw 'sync: no match';
11 | }
12 | console.log('sync: success! a matched either b or c\n');
13 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/other_path/lib/other-lib.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oslabs-beta/old-Tikitaka/7cecc33635befb91585335134d2c02a8614e12a1/node_modules/resolve/test/resolver/other_path/lib/other-lib.js
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/other_path/root.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oslabs-beta/old-Tikitaka/7cecc33635befb91585335134d2c02a8614e12a1/node_modules/resolve/test/resolver/other_path/root.js
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/quux/foo/index.js:
--------------------------------------------------------------------------------
1 | module.exports = 1;
2 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/same_names/foo.js:
--------------------------------------------------------------------------------
1 | module.exports = 42;
2 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/same_names/foo/index.js:
--------------------------------------------------------------------------------
1 | module.exports = 1;
2 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/symlinked/_/node_modules/foo.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oslabs-beta/old-Tikitaka/7cecc33635befb91585335134d2c02a8614e12a1/node_modules/resolve/test/resolver/symlinked/_/node_modules/foo.js
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/symlinked/_/symlink_target/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oslabs-beta/old-Tikitaka/7cecc33635befb91585335134d2c02a8614e12a1/node_modules/resolve/test/resolver/symlinked/_/symlink_target/.gitkeep
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/symlinked/package/bar.js:
--------------------------------------------------------------------------------
1 | module.exports = 'bar';
2 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/symlinked/package/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "main": "bar.js"
3 | }
--------------------------------------------------------------------------------
/node_modules/resolve/test/resolver/without_basedir/main.js:
--------------------------------------------------------------------------------
1 | var resolve = require('../../../');
2 |
3 | module.exports = function (t, cb) {
4 | resolve('mymodule', null, cb);
5 | };
6 |
--------------------------------------------------------------------------------
/node_modules/resolve/test/shadowed_core/node_modules/util/index.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/oslabs-beta/old-Tikitaka/7cecc33635befb91585335134d2c02a8614e12a1/node_modules/resolve/test/shadowed_core/node_modules/util/index.js
--------------------------------------------------------------------------------
/node_modules/resolve/test/subdirs.js:
--------------------------------------------------------------------------------
1 | var test = require('tape');
2 | var resolve = require('../');
3 | var path = require('path');
4 |
5 | test('subdirs', function (t) {
6 | t.plan(2);
7 |
8 | var dir = path.join(__dirname, '/subdirs');
9 | resolve('a/b/c/x.json', { basedir: dir }, function (err, res) {
10 | t.ifError(err);
11 | t.equal(res, path.join(dir, 'node_modules/a/b/c/x.json'));
12 | });
13 | });
14 |
--------------------------------------------------------------------------------
/node_modules/semver/LICENSE:
--------------------------------------------------------------------------------
1 | The ISC License
2 |
3 | Copyright (c) Isaac Z. Schlueter and Contributors
4 |
5 | Permission to use, copy, modify, and/or distribute this software for any
6 | purpose with or without fee is hereby granted, provided that the above
7 | copyright notice and this permission notice appear in all copies.
8 |
9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 |
--------------------------------------------------------------------------------
/node_modules/semver/range.bnf:
--------------------------------------------------------------------------------
1 | range-set ::= range ( logical-or range ) *
2 | logical-or ::= ( ' ' ) * '||' ( ' ' ) *
3 | range ::= hyphen | simple ( ' ' simple ) * | ''
4 | hyphen ::= partial ' - ' partial
5 | simple ::= primitive | partial | tilde | caret
6 | primitive ::= ( '<' | '>' | '>=' | '<=' | '=' ) partial
7 | partial ::= xr ( '.' xr ( '.' xr qualifier ? )? )?
8 | xr ::= 'x' | 'X' | '*' | nr
9 | nr ::= '0' | [1-9] ( [0-9] ) *
10 | tilde ::= '~' partial
11 | caret ::= '^' partial
12 | qualifier ::= ( '-' pre )? ( '+' build )?
13 | pre ::= parts
14 | build ::= parts
15 | parts ::= part ( '.' part ) *
16 | part ::= nr | [-0-9A-Za-z]+
17 |
--------------------------------------------------------------------------------
/node_modules/send/node_modules/debug/.coveralls.yml:
--------------------------------------------------------------------------------
1 | repo_token: SIAeZjKYlHK74rbcFvNHMUzjRiMpflxve
2 |
--------------------------------------------------------------------------------
/node_modules/send/node_modules/debug/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "env": {
3 | "browser": true,
4 | "node": true
5 | },
6 | "rules": {
7 | "no-console": 0,
8 | "no-empty": [1, { "allowEmptyCatch": true }]
9 | },
10 | "extends": "eslint:recommended"
11 | }
12 |
--------------------------------------------------------------------------------
/node_modules/send/node_modules/debug/.npmignore:
--------------------------------------------------------------------------------
1 | support
2 | test
3 | examples
4 | example
5 | *.sock
6 | dist
7 | yarn.lock
8 | coverage
9 | bower.json
10 |
--------------------------------------------------------------------------------
/node_modules/send/node_modules/debug/.travis.yml:
--------------------------------------------------------------------------------
1 |
2 | language: node_js
3 | node_js:
4 | - "6"
5 | - "5"
6 | - "4"
7 |
8 | install:
9 | - make node_modules
10 |
11 | script:
12 | - make lint
13 | - make test
14 | - make coveralls
15 |
--------------------------------------------------------------------------------
/node_modules/send/node_modules/debug/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "debug",
3 | "repo": "visionmedia/debug",
4 | "description": "small debugging utility",
5 | "version": "2.6.9",
6 | "keywords": [
7 | "debug",
8 | "log",
9 | "debugger"
10 | ],
11 | "main": "src/browser.js",
12 | "scripts": [
13 | "src/browser.js",
14 | "src/debug.js"
15 | ],
16 | "dependencies": {
17 | "rauchg/ms.js": "0.7.1"
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/node_modules/send/node_modules/debug/node.js:
--------------------------------------------------------------------------------
1 | module.exports = require('./src/node');
2 |
--------------------------------------------------------------------------------
/node_modules/send/node_modules/debug/src/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Detect Electron renderer process, which is node, but we should
3 | * treat as a browser.
4 | */
5 |
6 | if (typeof process !== 'undefined' && process.type === 'renderer') {
7 | module.exports = require('./browser.js');
8 | } else {
9 | module.exports = require('./node.js');
10 | }
11 |
--------------------------------------------------------------------------------
/node_modules/send/node_modules/debug/src/inspector-log.js:
--------------------------------------------------------------------------------
1 | module.exports = inspectorLog;
2 |
3 | // black hole
4 | const nullStream = new (require('stream').Writable)();
5 | nullStream._write = () => {};
6 |
7 | /**
8 | * Outputs a `console.log()` to the Node.js Inspector console *only*.
9 | */
10 | function inspectorLog() {
11 | const stdout = console._stdout;
12 | console._stdout = nullStream;
13 | console.log.apply(console, arguments);
14 | console._stdout = stdout;
15 | }
16 |
--------------------------------------------------------------------------------
/node_modules/setprototypeof/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2015, Wes Todd
2 |
3 | Permission to use, copy, modify, and/or distribute this software for any
4 | purpose with or without fee is hereby granted, provided that the above
5 | copyright notice and this permission notice appear in all copies.
6 |
7 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
10 | SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
12 | OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
13 | CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
14 |
--------------------------------------------------------------------------------
/node_modules/setprototypeof/index.d.ts:
--------------------------------------------------------------------------------
1 | declare function setPrototypeOf(o: any, proto: object | null): any;
2 | export = setPrototypeOf;
3 |
--------------------------------------------------------------------------------
/node_modules/setprototypeof/index.js:
--------------------------------------------------------------------------------
1 | 'use strict'
2 | /* eslint no-proto: 0 */
3 | module.exports = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array ? setProtoOf : mixinProperties)
4 |
5 | function setProtoOf (obj, proto) {
6 | obj.__proto__ = proto
7 | return obj
8 | }
9 |
10 | function mixinProperties (obj, proto) {
11 | for (var prop in proto) {
12 | if (!obj.hasOwnProperty(prop)) {
13 | obj[prop] = proto[prop]
14 | }
15 | }
16 | return obj
17 | }
18 |
--------------------------------------------------------------------------------
/node_modules/setprototypeof/test/index.js:
--------------------------------------------------------------------------------
1 | 'use strict'
2 | /* eslint-env mocha */
3 | /* eslint no-proto: 0 */
4 | var assert = require('assert')
5 | var setPrototypeOf = require('..')
6 |
7 | describe('setProtoOf(obj, proto)', function () {
8 | it('should merge objects', function () {
9 | var obj = { a: 1, b: 2 }
10 | var proto = { b: 3, c: 4 }
11 | var mergeObj = setPrototypeOf(obj, proto)
12 |
13 | if (Object.getPrototypeOf) {
14 | assert.strictEqual(Object.getPrototypeOf(obj), proto)
15 | } else if ({ __proto__: [] } instanceof Array) {
16 | assert.strictEqual(obj.__proto__, proto)
17 | } else {
18 | assert.strictEqual(obj.a, 1)
19 | assert.strictEqual(obj.b, 2)
20 | assert.strictEqual(obj.c, 4)
21 | }
22 | assert.strictEqual(mergeObj, obj)
23 | })
24 | })
25 |
--------------------------------------------------------------------------------
/node_modules/shimmer/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "4"
4 | - "6"
5 | - "8"
6 | - "9"
7 | sudo: false
8 |
--------------------------------------------------------------------------------
/node_modules/sshpk/.npmignore:
--------------------------------------------------------------------------------
1 | .gitmodules
2 | deps
3 | docs
4 | Makefile
5 | node_modules
6 | test
7 | tools
8 | coverage
9 | man/src
10 |
--------------------------------------------------------------------------------
/node_modules/sshpk/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "5.10"
4 | - "4.4"
5 | - "4.1"
6 | - "0.12"
7 | - "0.10"
8 | before_install:
9 | - "make check"
10 | after_success:
11 | - '[ "${TRAVIS_NODE_VERSION}" = "4.4" ] && make codecovio'
12 |
--------------------------------------------------------------------------------
/node_modules/tdigest/.npmignore:
--------------------------------------------------------------------------------
1 | # Logs
2 | logs
3 | *.log
4 |
5 | # Runtime data
6 | pids
7 | *.pid
8 | *.seed
9 |
10 | # editor turds
11 | \#*
12 | *~
13 |
14 | # Directory for instrumented libs generated by jscoverage/JSCover
15 | lib-cov
16 |
17 | # Coverage directory used by tools like istanbul
18 | coverage
19 |
20 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
21 | .grunt
22 |
23 | # node-waf configuration
24 | .lock-wscript
25 |
26 | # Compiled binary addons (http://nodejs.org/api/addons.html)
27 | build/Release
28 |
29 | # Dependency directory
30 | # https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
31 | node_modules
32 |
--------------------------------------------------------------------------------
/node_modules/tdigest/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js: "stable"
3 | before_install: npm install -g grunt-cli
4 | install: npm install
5 | before_script: grunt dist
6 |
7 |
--------------------------------------------------------------------------------
/node_modules/tdigest/example.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | TDigest example
5 |
6 |
15 |
16 |
17 |
18 | TDigest of 1M samples uniform in [0..1]:
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/node_modules/tdigest/gruntfile.js:
--------------------------------------------------------------------------------
1 | module.exports = function(grunt) {
2 | var pkg = grunt.file.readJSON('package.json');
3 |
4 | grunt.initConfig({
5 | pure_cjs: {
6 | options: {
7 | exports: 'tdigest',
8 | comments: true
9 | },
10 | 'dist/tdigest.js': 'tdigest.js'
11 | }
12 | });
13 |
14 | grunt.task.loadNpmTasks('grunt-pure-cjs');
15 | grunt.registerTask('dist', ['pure_cjs']);
16 | }
17 |
--------------------------------------------------------------------------------
/node_modules/toidentifier/index.js:
--------------------------------------------------------------------------------
1 | /*!
2 | * toidentifier
3 | * Copyright(c) 2016 Douglas Christopher Wilson
4 | * MIT Licensed
5 | */
6 |
7 | /**
8 | * Module exports.
9 | * @public
10 | */
11 |
12 | module.exports = toIdentifier
13 |
14 | /**
15 | * Trasform the given string into a JavaScript identifier
16 | *
17 | * @param {string} str
18 | * @returns {string}
19 | * @public
20 | */
21 |
22 | function toIdentifier (str) {
23 | return str
24 | .split(' ')
25 | .map(function (token) {
26 | return token.slice(0, 1).toUpperCase() + token.slice(1)
27 | })
28 | .join('')
29 | .replace(/[^ _0-9a-z]/gi, '')
30 | }
31 |
--------------------------------------------------------------------------------
/node_modules/tunnel-agent/README.md:
--------------------------------------------------------------------------------
1 | tunnel-agent
2 | ============
3 |
4 | HTTP proxy tunneling agent. Formerly part of mikeal/request, now a standalone module.
5 |
--------------------------------------------------------------------------------
/node_modules/tweetnacl/.npmignore:
--------------------------------------------------------------------------------
1 | .eslintrc
2 | .travis.yml
3 | bower.json
4 | test
5 |
--------------------------------------------------------------------------------
/node_modules/unpipe/HISTORY.md:
--------------------------------------------------------------------------------
1 | 1.0.0 / 2015-06-14
2 | ==================
3 |
4 | * Initial release
5 |
--------------------------------------------------------------------------------
/node_modules/uri-js/dist/esnext/index.d.ts:
--------------------------------------------------------------------------------
1 | export * from "./uri";
2 |
--------------------------------------------------------------------------------
/node_modules/uri-js/dist/esnext/index.js:
--------------------------------------------------------------------------------
1 | import { SCHEMES } from "./uri";
2 | import http from "./schemes/http";
3 | SCHEMES[http.scheme] = http;
4 | import https from "./schemes/https";
5 | SCHEMES[https.scheme] = https;
6 | import mailto from "./schemes/mailto";
7 | SCHEMES[mailto.scheme] = mailto;
8 | import urn from "./schemes/urn";
9 | SCHEMES[urn.scheme] = urn;
10 | import uuid from "./schemes/urn-uuid";
11 | SCHEMES[uuid.scheme] = uuid;
12 | export * from "./uri";
13 | //# sourceMappingURL=index.js.map
--------------------------------------------------------------------------------
/node_modules/uri-js/dist/esnext/index.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAClC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;AAE5B,OAAO,KAAK,MAAM,iBAAiB,CAAC;AACpC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC;AAE9B,OAAO,MAAM,MAAM,kBAAkB,CAAC;AACtC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;AAEhC,OAAO,GAAG,MAAM,eAAe,CAAC;AAChC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC;AAE1B,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;AAE5B,cAAc,OAAO,CAAC"}
--------------------------------------------------------------------------------
/node_modules/uri-js/dist/esnext/regexps-iri.d.ts:
--------------------------------------------------------------------------------
1 | import { URIRegExps } from "./uri";
2 | declare const _default: URIRegExps;
3 | export default _default;
4 |
--------------------------------------------------------------------------------
/node_modules/uri-js/dist/esnext/regexps-iri.js:
--------------------------------------------------------------------------------
1 | import { buildExps } from "./regexps-uri";
2 | export default buildExps(true);
3 | //# sourceMappingURL=regexps-iri.js.map
--------------------------------------------------------------------------------
/node_modules/uri-js/dist/esnext/regexps-iri.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"regexps-iri.js","sourceRoot":"","sources":["../../src/regexps-iri.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,eAAe,SAAS,CAAC,IAAI,CAAC,CAAC"}
--------------------------------------------------------------------------------
/node_modules/uri-js/dist/esnext/regexps-uri.d.ts:
--------------------------------------------------------------------------------
1 | import { URIRegExps } from "./uri";
2 | export declare function buildExps(isIRI: boolean): URIRegExps;
3 | declare const _default: URIRegExps;
4 | export default _default;
5 |
--------------------------------------------------------------------------------
/node_modules/uri-js/dist/esnext/schemes/http.d.ts:
--------------------------------------------------------------------------------
1 | import { URISchemeHandler } from "../uri";
2 | declare const handler: URISchemeHandler;
3 | export default handler;
4 |
--------------------------------------------------------------------------------
/node_modules/uri-js/dist/esnext/schemes/http.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"http.js","sourceRoot":"","sources":["../../../src/schemes/http.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,GAAoB;IAChC,MAAM,EAAG,MAAM;IAEf,UAAU,EAAG,IAAI;IAEjB,KAAK,EAAG,UAAU,UAAwB,EAAE,OAAkB;QAC7D,qBAAqB;QACrB,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE;YACrB,UAAU,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,IAAI,6BAA6B,CAAC;SACrE;QAED,OAAO,UAAU,CAAC;IACnB,CAAC;IAED,SAAS,EAAG,UAAU,UAAwB,EAAE,OAAkB;QACjE,4BAA4B;QAC5B,IAAI,UAAU,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,WAAW,EAAE,KAAK,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,UAAU,CAAC,IAAI,KAAK,EAAE,EAAE;YACnH,UAAU,CAAC,IAAI,GAAG,SAAS,CAAC;SAC5B;QAED,0BAA0B;QAC1B,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE;YACrB,UAAU,CAAC,IAAI,GAAG,GAAG,CAAC;SACtB;QAED,mDAAmD;QACnD,oEAAoE;QACpE,wBAAwB;QAExB,OAAO,UAAU,CAAC;IACnB,CAAC;CACD,CAAC;AAEF,eAAe,OAAO,CAAC"}
--------------------------------------------------------------------------------
/node_modules/uri-js/dist/esnext/schemes/https.d.ts:
--------------------------------------------------------------------------------
1 | import { URISchemeHandler } from "../uri";
2 | declare const handler: URISchemeHandler;
3 | export default handler;
4 |
--------------------------------------------------------------------------------
/node_modules/uri-js/dist/esnext/schemes/https.js:
--------------------------------------------------------------------------------
1 | import http from "./http";
2 | const handler = {
3 | scheme: "https",
4 | domainHost: http.domainHost,
5 | parse: http.parse,
6 | serialize: http.serialize
7 | };
8 | export default handler;
9 | //# sourceMappingURL=https.js.map
--------------------------------------------------------------------------------
/node_modules/uri-js/dist/esnext/schemes/https.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"https.js","sourceRoot":"","sources":["../../../src/schemes/https.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,MAAM,OAAO,GAAoB;IAChC,MAAM,EAAG,OAAO;IAChB,UAAU,EAAG,IAAI,CAAC,UAAU;IAC5B,KAAK,EAAG,IAAI,CAAC,KAAK;IAClB,SAAS,EAAG,IAAI,CAAC,SAAS;CAC1B,CAAA;AAED,eAAe,OAAO,CAAC"}
--------------------------------------------------------------------------------
/node_modules/uri-js/dist/esnext/schemes/mailto.d.ts:
--------------------------------------------------------------------------------
1 | import { URISchemeHandler, URIComponents } from "../uri";
2 | export interface MailtoHeaders {
3 | [hfname: string]: string;
4 | }
5 | export interface MailtoComponents extends URIComponents {
6 | to: Array;
7 | headers?: MailtoHeaders;
8 | subject?: string;
9 | body?: string;
10 | }
11 | declare const handler: URISchemeHandler;
12 | export default handler;
13 |
--------------------------------------------------------------------------------
/node_modules/uri-js/dist/esnext/schemes/urn-uuid.d.ts:
--------------------------------------------------------------------------------
1 | import { URISchemeHandler, URIOptions } from "../uri";
2 | import { URNComponents } from "./urn";
3 | export interface UUIDComponents extends URNComponents {
4 | uuid?: string;
5 | }
6 | declare const handler: URISchemeHandler;
7 | export default handler;
8 |
--------------------------------------------------------------------------------
/node_modules/uri-js/dist/esnext/schemes/urn-uuid.js.map:
--------------------------------------------------------------------------------
1 | {"version":3,"file":"urn-uuid.js","sourceRoot":"","sources":["../../../src/schemes/urn-uuid.ts"],"names":[],"mappings":"AAQA,MAAM,IAAI,GAAG,0DAA0D,CAAC;AACxE,MAAM,UAAU,GAAG,oBAAoB,CAAC;AAExC,UAAU;AACV,MAAM,OAAO,GAA+D;IAC3E,MAAM,EAAG,UAAU;IAEnB,KAAK,EAAG,UAAU,aAA2B,EAAE,OAAkB;QAChE,MAAM,cAAc,GAAG,aAA+B,CAAC;QACvD,cAAc,CAAC,IAAI,GAAG,cAAc,CAAC,GAAG,CAAC;QACzC,cAAc,CAAC,GAAG,GAAG,SAAS,CAAC;QAE/B,IAAI,CAAC,OAAO,CAAC,QAAQ,IAAI,CAAC,CAAC,cAAc,CAAC,IAAI,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,EAAE;YACpF,cAAc,CAAC,KAAK,GAAG,cAAc,CAAC,KAAK,IAAI,oBAAoB,CAAC;SACpE;QAED,OAAO,cAAc,CAAC;IACvB,CAAC;IAED,SAAS,EAAG,UAAU,cAA6B,EAAE,OAAkB;QACtE,MAAM,aAAa,GAAG,cAA+B,CAAC;QACtD,gBAAgB;QAChB,aAAa,CAAC,GAAG,GAAG,CAAC,cAAc,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC;QAC9D,OAAO,aAAa,CAAC;IACtB,CAAC;CACD,CAAC;AAEF,eAAe,OAAO,CAAC"}
--------------------------------------------------------------------------------
/node_modules/uri-js/dist/esnext/schemes/urn.d.ts:
--------------------------------------------------------------------------------
1 | import { URISchemeHandler, URIComponents, URIOptions } from "../uri";
2 | export interface URNComponents extends URIComponents {
3 | nid?: string;
4 | nss?: string;
5 | }
6 | export interface URNOptions extends URIOptions {
7 | nid?: string;
8 | }
9 | declare const handler: URISchemeHandler;
10 | export default handler;
11 |
--------------------------------------------------------------------------------
/node_modules/uri-js/dist/esnext/util.d.ts:
--------------------------------------------------------------------------------
1 | export declare function merge(...sets: Array): string;
2 | export declare function subexp(str: string): string;
3 | export declare function typeOf(o: any): string;
4 | export declare function toUpperCase(str: string): string;
5 | export declare function toArray(obj: any): Array;
6 | export declare function assign(target: object, source: any): any;
7 |
--------------------------------------------------------------------------------
/node_modules/uri-js/rollup.config.js:
--------------------------------------------------------------------------------
1 | import resolve from 'rollup-plugin-node-resolve';
2 | import babel from 'rollup-plugin-babel';
3 | const packageJson = require('./package.json');
4 |
5 | export default {
6 | entry : "dist/esnext/index.js",
7 | format : "umd",
8 | moduleName : "URI",
9 | plugins: [
10 | resolve({
11 | module: true,
12 | jsnext: true,
13 | preferBuiltins: false
14 | }),
15 |
16 | babel({
17 | "presets": [
18 | ["latest", {
19 | "es2015": {
20 | "modules": false
21 | }
22 | }]
23 | ],
24 | "plugins": ["external-helpers"],
25 | "externalHelpers": false
26 | }
27 | )
28 | ],
29 | dest : "dist/es5/uri.all.js",
30 | sourceMap: true,
31 | banner: "/** @license URI.js v" + packageJson.version + " (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */"
32 | }
33 |
--------------------------------------------------------------------------------
/node_modules/uri-js/src/index.ts:
--------------------------------------------------------------------------------
1 | import { SCHEMES } from "./uri";
2 |
3 | import http from "./schemes/http";
4 | SCHEMES[http.scheme] = http;
5 |
6 | import https from "./schemes/https";
7 | SCHEMES[https.scheme] = https;
8 |
9 | import mailto from "./schemes/mailto";
10 | SCHEMES[mailto.scheme] = mailto;
11 |
12 | import urn from "./schemes/urn";
13 | SCHEMES[urn.scheme] = urn;
14 |
15 | import uuid from "./schemes/urn-uuid";
16 | SCHEMES[uuid.scheme] = uuid;
17 |
18 | export * from "./uri";
19 |
--------------------------------------------------------------------------------
/node_modules/uri-js/src/punycode.d.ts:
--------------------------------------------------------------------------------
1 | declare module 'punycode' {
2 | function ucs2decode(string:string):Array;
3 | function ucs2encode(array:Array):string;
4 | function decode(string:string):string;
5 | function encode(string:string):string;
6 | function toASCII(string:string):string;
7 | function toUnicode(string:string):string;
8 |
9 | interface Punycode {
10 | 'version': '2.2.0';
11 | 'ucs2': {
12 | 'decode': typeof ucs2decode;
13 | 'encode': typeof ucs2encode;
14 | },
15 | 'decode': typeof decode;
16 | 'encode': typeof encode;
17 | 'toASCII': typeof toASCII;
18 | 'toUnicode': typeof toUnicode;
19 | }
20 |
21 | const punycode:Punycode;
22 |
23 | export default punycode;
24 | }
25 |
--------------------------------------------------------------------------------
/node_modules/uri-js/src/regexps-iri.ts:
--------------------------------------------------------------------------------
1 | import { URIRegExps } from "./uri";
2 | import { buildExps } from "./regexps-uri";
3 |
4 | export default buildExps(true);
5 |
--------------------------------------------------------------------------------
/node_modules/uri-js/src/schemes/https.ts:
--------------------------------------------------------------------------------
1 | import { URISchemeHandler, URIComponents, URIOptions } from "../uri";
2 | import http from "./http";
3 |
4 | const handler:URISchemeHandler = {
5 | scheme : "https",
6 | domainHost : http.domainHost,
7 | parse : http.parse,
8 | serialize : http.serialize
9 | }
10 |
11 | export default handler;
--------------------------------------------------------------------------------
/node_modules/uri-js/tests/test-es5-min.html:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/node_modules/uri-js/tests/test-es5.html:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/node_modules/uri-js/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "module": "es2015",
4 | "target": "esnext",
5 | "noImplicitAny": true,
6 | "sourceMap": true,
7 | "alwaysStrict": true,
8 | "declaration": true,
9 | "experimentalDecorators": true,
10 | "forceConsistentCasingInFileNames": true,
11 | "importHelpers": true,
12 | "noImplicitReturns": true,
13 | "noImplicitThis": true,
14 | "outDir": "dist/esnext",
15 | "strictNullChecks": true
16 | },
17 | "include": [
18 | "src/**/*"
19 | ]
20 | }
21 |
--------------------------------------------------------------------------------
/node_modules/utils-merge/.npmignore:
--------------------------------------------------------------------------------
1 | CONTRIBUTING.md
2 | Makefile
3 | docs/
4 | examples/
5 | reports/
6 | test/
7 |
8 | .jshintrc
9 | .travis.yml
10 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/node_modules/uuid/AUTHORS:
--------------------------------------------------------------------------------
1 | Robert Kieffer
2 | Christoph Tavan
3 | AJ ONeal
4 | Vincent Voyer
5 | Roman Shtylman
6 |
--------------------------------------------------------------------------------
/node_modules/uuid/index.js:
--------------------------------------------------------------------------------
1 | var v1 = require('./v1');
2 | var v4 = require('./v4');
3 |
4 | var uuid = v4;
5 | uuid.v1 = v1;
6 | uuid.v4 = v4;
7 |
8 | module.exports = uuid;
9 |
--------------------------------------------------------------------------------
/node_modules/uuid/lib/md5.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var crypto = require('crypto');
4 |
5 | function md5(bytes) {
6 | if (typeof Buffer.from === 'function') {
7 | // Modern Buffer API
8 | if (Array.isArray(bytes)) {
9 | bytes = Buffer.from(bytes);
10 | } else if (typeof bytes === 'string') {
11 | bytes = Buffer.from(bytes, 'utf8');
12 | }
13 | } else {
14 | // Pre-v4 Buffer API
15 | if (Array.isArray(bytes)) {
16 | bytes = new Buffer(bytes);
17 | } else if (typeof bytes === 'string') {
18 | bytes = new Buffer(bytes, 'utf8');
19 | }
20 | }
21 |
22 | return crypto.createHash('md5').update(bytes).digest();
23 | }
24 |
25 | module.exports = md5;
26 |
--------------------------------------------------------------------------------
/node_modules/uuid/lib/rng.js:
--------------------------------------------------------------------------------
1 | // Unique ID creation requires a high quality random # generator. In node.js
2 | // this is pretty straight-forward - we use the crypto API.
3 |
4 | var crypto = require('crypto');
5 |
6 | module.exports = function nodeRNG() {
7 | return crypto.randomBytes(16);
8 | };
9 |
--------------------------------------------------------------------------------
/node_modules/uuid/lib/sha1.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var crypto = require('crypto');
4 |
5 | function sha1(bytes) {
6 | if (typeof Buffer.from === 'function') {
7 | // Modern Buffer API
8 | if (Array.isArray(bytes)) {
9 | bytes = Buffer.from(bytes);
10 | } else if (typeof bytes === 'string') {
11 | bytes = Buffer.from(bytes, 'utf8');
12 | }
13 | } else {
14 | // Pre-v4 Buffer API
15 | if (Array.isArray(bytes)) {
16 | bytes = new Buffer(bytes);
17 | } else if (typeof bytes === 'string') {
18 | bytes = new Buffer(bytes, 'utf8');
19 | }
20 | }
21 |
22 | return crypto.createHash('sha1').update(bytes).digest();
23 | }
24 |
25 | module.exports = sha1;
26 |
--------------------------------------------------------------------------------
/node_modules/uuid/v3.js:
--------------------------------------------------------------------------------
1 | var v35 = require('./lib/v35.js');
2 | var md5 = require('./lib/md5');
3 |
4 | module.exports = v35('v3', 0x30, md5);
--------------------------------------------------------------------------------
/node_modules/uuid/v4.js:
--------------------------------------------------------------------------------
1 | var rng = require('./lib/rng');
2 | var bytesToUuid = require('./lib/bytesToUuid');
3 |
4 | function v4(options, buf, offset) {
5 | var i = buf && offset || 0;
6 |
7 | if (typeof(options) == 'string') {
8 | buf = options === 'binary' ? new Array(16) : null;
9 | options = null;
10 | }
11 | options = options || {};
12 |
13 | var rnds = options.random || (options.rng || rng)();
14 |
15 | // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
16 | rnds[6] = (rnds[6] & 0x0f) | 0x40;
17 | rnds[8] = (rnds[8] & 0x3f) | 0x80;
18 |
19 | // Copy bytes to buffer, if provided
20 | if (buf) {
21 | for (var ii = 0; ii < 16; ++ii) {
22 | buf[i + ii] = rnds[ii];
23 | }
24 | }
25 |
26 | return buf || bytesToUuid(rnds);
27 | }
28 |
29 | module.exports = v4;
30 |
--------------------------------------------------------------------------------
/node_modules/uuid/v5.js:
--------------------------------------------------------------------------------
1 | var v35 = require('./lib/v35.js');
2 | var sha1 = require('./lib/sha1');
3 | module.exports = v35('v5', 0x50, sha1);
4 |
--------------------------------------------------------------------------------
/node_modules/verror/.npmignore:
--------------------------------------------------------------------------------
1 | .gitignore
2 | .gitmodules
3 | deps
4 | examples
5 | experiments
6 | jsl.node.conf
7 | Makefile
8 | Makefile.targ
9 | test
10 |
--------------------------------------------------------------------------------
/node_modules/verror/CHANGES.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | ## Not yet released
4 |
5 | None yet.
6 |
7 | ## v1.10.0
8 |
9 | * #49 want convenience functions for MultiErrors
10 |
11 | ## v1.9.0
12 |
13 | * #47 could use VError.hasCauseWithName()
14 |
15 | ## v1.8.1
16 |
17 | * #39 captureStackTrace lost when inheriting from WError
18 |
19 | ## v1.8.0
20 |
21 | * #23 Preserve original stack trace(s)
22 |
23 | ## v1.7.0
24 |
25 | * #10 better support for extra properties on Errors
26 | * #11 make it easy to find causes of a particular kind
27 | * #29 No documentation on how to Install this package
28 | * #36 elide development-only files from npm package
29 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "tracer",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "index.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1",
8 | "start": "node app.js"
9 | },
10 | "author": "",
11 | "license": "ISC",
12 | "dependencies": {
13 | "@opentelemetry/core": "^0.3.3",
14 | "@opentelemetry/exporter-prometheus": "^0.3.3",
15 | "@opentelemetry/exporter-zipkin": "^0.3.3",
16 | "@opentelemetry/metrics": "^0.3.3",
17 | "@opentelemetry/node": "^0.3.3",
18 | "@opentelemetry/plugin-http": "^0.3.3",
19 | "@opentelemetry/tracing": "^0.3.3",
20 | "axios": "^0.19.2",
21 | "express": "^4.17.1",
22 | "request": "^2.88.0"
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/tracing.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | const opentelemetry = require("@opentelemetry/core");
4 | const { NodeTracerRegistry } = require("@opentelemetry/node");
5 |
6 | const { SimpleSpanProcessor } = require("@opentelemetry/tracing");
7 | const { ZipkinExporter } = require("@opentelemetry/exporter-zipkin");
8 |
9 | const tracerRegistry = new NodeTracerRegistry({
10 | logLevel: opentelemetry.LogLevel.ERROR
11 | });
12 |
13 | opentelemetry.initGlobalTracerRegistry(tracerRegistry);
14 |
15 | tracerRegistry.addSpanProcessor(
16 | new SimpleSpanProcessor(
17 | new ZipkinExporter({
18 | serviceName: "getting-started",
19 | // If you are running your tracing backend on another host,
20 | // you can point to it using the `url` parameter of the
21 | // exporter config.
22 | })
23 | )
24 | );
25 |
26 | console.log("tracing initialized");
--------------------------------------------------------------------------------