mirror of
https://github.com/OutlineFoundation/outline-server.git
synced 2026-11-21 07:12:30 +00:00
Merge branch 'master' into dborkan-docker-group
This commit is contained in:
commit
e8b4cbe764
15 changed files with 4759 additions and 5776 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -1,8 +1,6 @@
|
|||
.DS_Store
|
||||
**/bower_components
|
||||
/build
|
||||
/node_modules/
|
||||
/src/metrics_server/node_modules/
|
||||
/src/server_manager/node_modules/
|
||||
node_modules/
|
||||
/src/server_manager/install_scripts/do_install_script.ts
|
||||
yarn-error.log
|
||||
|
|
|
|||
|
|
@ -37,7 +37,6 @@ jobs:
|
|||
# stage.
|
||||
- stage: build and unit test
|
||||
script:
|
||||
- yarn shadowbox_install
|
||||
- yarn do shadowbox/server/build
|
||||
- yarn do shadowbox/test
|
||||
- yarn do server_manager/electron_app/build
|
||||
|
|
@ -54,7 +53,6 @@ jobs:
|
|||
curl -L https://github.com/docker/compose/releases/download/1.17.1/docker-compose-$(uname -s)-$(uname -m) > docker-compose
|
||||
chmod +x docker-compose
|
||||
sudo mv docker-compose /usr/local/bin
|
||||
- yarn shadowbox_install
|
||||
- yarn do shadowbox/integration_test/run
|
||||
|
||||
- stage: tag
|
||||
|
|
@ -68,7 +66,6 @@ jobs:
|
|||
sudo: required
|
||||
services: docker
|
||||
script:
|
||||
- yarn shadowbox_install
|
||||
- yarn do shadowbox/docker/build
|
||||
- docker login quay.io -u="$QUAY_IO_USERNAME" -p="$QUAY_IO_PASSWORD"
|
||||
- docker tag outline/shadowbox quay.io/outline/shadowbox:$TRAVIS_TAG
|
||||
|
|
|
|||
75
README.md
75
README.md
|
|
@ -1,77 +1,50 @@
|
|||
# Outline Server Creator
|
||||
# Outline Server
|
||||
|
||||
[](https://travis-ci.org/Jigsaw-Code/outline-server)
|
||||
|
||||
This repository has all the code needed to create and manage Outline servers on DigitalOcean. An Outline server runs
|
||||
instances of Shadowsocks proxies and provides an API used by the Outline Manager application.
|
||||
This repository has all the code needed to create and manage Outline servers on
|
||||
DigitalOcean. An Outline server runs instances of Shadowsocks proxies and
|
||||
provides an API used by the Outline Manager application.
|
||||
|
||||
Go to https://getoutline.org for ready-to-use versions of the software.
|
||||
|
||||
## Components
|
||||
|
||||
The system comprises the following components:
|
||||
|
||||
- **Server Manager Electron App:** an Election application that wraps the Server Manager web application and runs
|
||||
natively on Desktop. It adds some extra functionality, like validation of the server self-signed certificate and interception of the DigitalOcean registration flow.
|
||||
- **Outline Server**: a proxy server that runs a Shadowsocks instance for each
|
||||
access key and a REST API to manage the access keys. The Outline Server runs
|
||||
in a Docker container in the host machine.
|
||||
|
||||
Code: `src/server_manager/electron_app`
|
||||
- **Proxy Server**: a server that runs the Shadowsocks instances and a REST API to manage its users. Used as backend by the
|
||||
Server Manager app.
|
||||
See [`src/shadowbox`](src/shadowbox)
|
||||
|
||||
Code: `src/shadowbox`
|
||||
- **Outline Manager:** an [Electron](https://electronjs.org/) application that
|
||||
can create Outline Servers on the cloud and talks to their access key
|
||||
management API to manage who has access to the server.
|
||||
|
||||
## Server Manager
|
||||
See [`src/server_manager`](src/server_manager)
|
||||
|
||||
### Setup
|
||||
- **Metrics Server:** a REST service that the Outline Server talks to
|
||||
if the user opts-in to anonymous metrics sharing.
|
||||
|
||||
Ensure you have the following installed:
|
||||
See [`src/metrics_server`](src/metrics_server)
|
||||
|
||||
|
||||
## Code Prerequisites
|
||||
|
||||
In order to build and run the code, you need the following installed:
|
||||
- [Node](https://nodejs.org/)
|
||||
- [Yarn](https://yarnpkg.com/en/docs/install)
|
||||
- [Wine](https://www.winehq.org/download), if you would like to generate binaries for Windows.
|
||||
|
||||
Install dependencies:
|
||||
Then you need to install all the NPM package dependencies:
|
||||
```
|
||||
yarn
|
||||
```
|
||||
|
||||
If you are using root (not recommended on your dev machine, maybe in a container), you need to add `{ "allow_root": true }` to your `/root/.bowerrc` file.
|
||||
Note: If you are using root (not recommended on your dev machine, maybe in a container), you need to add `{ "allow_root": true }` to your `/root/.bowerrc` file.
|
||||
|
||||
|
||||
### Electron App
|
||||
|
||||
To run the electron app:
|
||||
```
|
||||
yarn do server_manager/electron_app/run
|
||||
```
|
||||
|
||||
To build the app for all platforms:
|
||||
```
|
||||
yarn do server_manager/electron_app/package
|
||||
```
|
||||
|
||||
The per-platform standalone apps will be at `build/electron_app/bundled`.
|
||||
|
||||
The per-platform standalone apps packaged for distribution will be at
|
||||
`build/electron_app/packaged` in the following formats:
|
||||
|
||||
- Windows: zip files. Only generated if you have [wine](https://www.winehq.org/download) installed.
|
||||
- Linux: tar.gz files.
|
||||
- macOS: dmg files if built from macOS, zip files otherwise.
|
||||
|
||||
To perform a release, use
|
||||
```
|
||||
yarn do server_manager/electron_app/release
|
||||
```
|
||||
|
||||
This will perform a clean and reinstall all dependencies to make sure the build is not tainted.
|
||||
|
||||
|
||||
## Proxy Server
|
||||
|
||||
See [`src/shadowbox/README.md`](src/shadowbox/README.md).
|
||||
|
||||
## Unit Tests
|
||||
|
||||
To run all the tests, run `yarn test`
|
||||
This project uses [Yarn workspaces](https://yarnpkg.com/blog/2017/08/02/introducing-workspaces/).
|
||||
|
||||
|
||||
## Build System
|
||||
|
|
|
|||
15
package.json
15
package.json
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"name": "outline-server",
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"@types/jasmine": "^2.5.53",
|
||||
"clang-format": "^1.2.2",
|
||||
|
|
@ -8,13 +9,15 @@
|
|||
"tslint": "^5.9.1",
|
||||
"typescript": "^2.6.2"
|
||||
},
|
||||
"engines": {
|
||||
"yarn": ">=1.0"
|
||||
},
|
||||
"scripts": {
|
||||
"postinstall": "yarn run server_manager_install",
|
||||
"server_manager_install": "cd src/server_manager && yarn install --modules-folder ../../node_modules && yarn bower install",
|
||||
"clean": "rm -rf src/server_manager/bower_components/ src/{metrics_server,server_manager}/node_modules/ build/ node_modules/ src/server_manager/install_scripts/do_install_script.ts",
|
||||
"shadowbox_install": "cd src/shadowbox && yarn install --modules-folder ../../node_modules --no-bin-links",
|
||||
"metrics_server_install": "cd src/metrics_server && yarn install --modules-folder ../../node_modules",
|
||||
"clean": "rm -rf src/server_manager/bower_components/ src/*/node_modules/ build/ node_modules/ src/server_manager/install_scripts/do_install_script.ts",
|
||||
"do": "bash ./scripts/do_action.sh",
|
||||
"precommit": "for i in . src/server_manager/electron_app src/metrics_server src/shadowbox; do tslint -p $i --fix; done; git-clang-format"
|
||||
}
|
||||
},
|
||||
"workspaces": [
|
||||
"src/*"
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ The Outline Metrics Server is built using [Google Cloud Functions](https://cloud
|
|||
## Requirements
|
||||
* Install `gcloud` from https://cloud.google.com/sdk/docs/
|
||||
* Node 6.11.1 or greater (for testing via Cloud Functions Emulator)
|
||||
* You must run `yarn metrics_server_install` explicitly to install metrics_server dependencies.
|
||||
|
||||
## Building
|
||||
Run `yarn do metrics_server/build`
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
32
src/server_manager/README.md
Normal file
32
src/server_manager/README.md
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
# Outline Manager
|
||||
|
||||
## Running
|
||||
|
||||
To run the Outline Manager:
|
||||
```
|
||||
yarn do server_manager/electron_app/run
|
||||
```
|
||||
|
||||
## Packaging
|
||||
|
||||
To build the app binary:
|
||||
```
|
||||
yarn do server_manager/electron_app/package_${PLATFORM}
|
||||
```
|
||||
|
||||
Where `${PLATFORM}` is one of `linux`, `macos`, `only_windows`.
|
||||
|
||||
The per-platform standalone apps will be at `build/electron_app/static/dist`.
|
||||
|
||||
- Windows: zip files. Only generated if you have [wine](https://www.winehq.org/download) installed.
|
||||
- Linux: tar.gz files.
|
||||
- macOS: dmg files if built from macOS, zip files otherwise.
|
||||
|
||||
## Releases
|
||||
|
||||
To perform a release, use
|
||||
```
|
||||
yarn do server_manager/electron_app/release
|
||||
```
|
||||
|
||||
This will perform a clean and reinstall all dependencies to make sure the build is not tainted.
|
||||
|
|
@ -26,5 +26,8 @@
|
|||
"electron": "^1.7.9",
|
||||
"electron-builder": "^20.4.1",
|
||||
"electron-icon-maker": "^0.0.4"
|
||||
},
|
||||
"scripts": {
|
||||
"postinstall": "bower install"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -1,45 +1,85 @@
|
|||
# Introduction
|
||||
# Outline Server
|
||||
|
||||
Shadowbox is a server set up that runs a user management API and starts Shadowsocks
|
||||
instances on demand.
|
||||
The internal name for the Outline server is "Shadowbox". It is a server set up
|
||||
that runs a user management API and starts Shadowsocks instances on demand.
|
||||
|
||||
It aims to make it as easy as possible to set up and share a Shadowsocks server. It's
|
||||
used by the Outline server launcher.
|
||||
It aims to make it as easy as possible to set up and share a Shadowsocks
|
||||
server. It's managed by the Outline Manager and used as proxy by the Outline
|
||||
client apps. Shadowbox is also compatible with standard Shadowsocks clients.
|
||||
|
||||
## Requirements
|
||||
## Self-hosted installation
|
||||
|
||||
To install and run Shadowbox on your own server, run
|
||||
```
|
||||
wget -qO- https://raw.githubusercontent.com/Jigsaw-Code/outline-server/master/src/server_manager/install_scripts/install_server.sh | bash
|
||||
```
|
||||
|
||||
Use `bash -x` instead at the end of the command if you need to debug the installation.
|
||||
|
||||
## Running from source code
|
||||
|
||||
### Prerequisites
|
||||
|
||||
Besides [Node](https://nodejs.org/en/download/) and [Yarn](https://yarnpkg.com/en/docs/install), you will also need:
|
||||
|
||||
1. [Node](https://nodejs.org/en/download/)
|
||||
1. [Yarn](https://yarnpkg.com/en/docs/install)
|
||||
1. [Docker 1.13+](https://docs.docker.com/engine/installation/)
|
||||
1. [docker-compose 1.11+](https://docs.docker.com/compose/install/)
|
||||
|
||||
Run `docker info` and make sure `Storage Driver` is `devicemapper`. If it is not, you can override it by
|
||||
editting `/etc/default/docker` or by passing another storage driver in the daemon commandline:
|
||||
Run `docker info` and make sure `Storage Driver` is `devicemapper`. If it is
|
||||
not, you can override it by editting `/etc/default/docker` or by passing
|
||||
another storage driver in the daemon commandline:
|
||||
```
|
||||
sudo dockerd --storage-driver=devicemapper
|
||||
```
|
||||
|
||||
## Development
|
||||
### Running Shadowbox as a Node.js app
|
||||
|
||||
Set up
|
||||
```
|
||||
yarn shadowbox_install
|
||||
```
|
||||
|
||||
Start the server
|
||||
```
|
||||
yarn do shadowbox/server/run
|
||||
```
|
||||
|
||||
If you just want to build the server:
|
||||
Build the server as a Node.js app:
|
||||
```
|
||||
yarn do shadowbox/server/build
|
||||
```
|
||||
|
||||
The output will be at `build/shadowbox/app`.
|
||||
|
||||
|
||||
## Queries
|
||||
You can see how to run the server at [`shadowbox/server/run_action.sh`](server/run_action.sh).
|
||||
|
||||
|
||||
### Running Shadowbox as a Docker container
|
||||
|
||||
> **NOTE**: This does not currently work in Docker on Mac due to use of
|
||||
`--host=net` and integrity checks failing. For now, please see the Manual
|
||||
testing section below.
|
||||
|
||||
### With docker command
|
||||
|
||||
Build the `outline/shadowbox` Docker image:
|
||||
```
|
||||
yarn do shadowbox/docker/build
|
||||
```
|
||||
|
||||
Run server:
|
||||
```
|
||||
yarn do shadowbox/docker/run
|
||||
```
|
||||
|
||||
Debug image:
|
||||
```
|
||||
docker run --rm -it --entrypoint=sh outline/shadowbox
|
||||
```
|
||||
|
||||
Or a running container:
|
||||
```
|
||||
docker exec -it shadowbox sh
|
||||
```
|
||||
|
||||
|
||||
Delete dangling images:
|
||||
```
|
||||
docker rmi $(docker images -f dangling=true -q)
|
||||
```
|
||||
|
||||
|
||||
## Access Keys Management API
|
||||
|
||||
List users
|
||||
```
|
||||
|
|
@ -98,39 +138,6 @@ $ curl --insecure https://localhost:8081/TestApiPrefix/access-keys
|
|||
```
|
||||
</details>
|
||||
|
||||
## Docker Deployment
|
||||
|
||||
**NOTE**: This does not currently work in Docker on Mac due to use of
|
||||
`--host=net` and integrity checks failing. For now, please see the Manual
|
||||
testing section below.
|
||||
|
||||
### With docker command
|
||||
|
||||
Build Docker image:
|
||||
```
|
||||
yarn do shadowbox/docker/build
|
||||
```
|
||||
|
||||
Run server:
|
||||
```
|
||||
yarn do shadowbox/docker/run
|
||||
```
|
||||
|
||||
Debug image:
|
||||
```
|
||||
docker run --rm -it --entrypoint=sh quay.io/outline/shadowbox
|
||||
```
|
||||
|
||||
or
|
||||
```
|
||||
docker exec -it shadowbox sh
|
||||
```
|
||||
|
||||
|
||||
Delete dangling images:
|
||||
```
|
||||
docker rmi $(docker images -f dangling=true -q)
|
||||
```
|
||||
|
||||
## Testing
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ WORKDIR /root/shadowbox
|
|||
# Install management service
|
||||
COPY build/shadowbox/app app/
|
||||
COPY src/shadowbox/package.json .
|
||||
COPY src/shadowbox/yarn.lock .
|
||||
COPY yarn.lock .
|
||||
# TODO: Replace with plain old "yarn" once the base image is fixed:
|
||||
# https://github.com/nodejs/docker-node/pull/639
|
||||
RUN /opt/yarn-v$YARN_VERSION/bin/yarn install --prod
|
||||
|
|
|
|||
|
|
@ -11,9 +11,17 @@
|
|||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
import * as ipaddr from 'ipaddr.js';
|
||||
|
||||
// Missing fields from typings.
|
||||
interface IPv4 extends ipaddr.IPv4 {
|
||||
octets: number[];
|
||||
}
|
||||
|
||||
interface IPv6 extends ipaddr.IPv6 {
|
||||
parts: number[];
|
||||
}
|
||||
|
||||
// Returns anonymized IP address, by setting the last octet to 0 for ipv4,
|
||||
// or setting the last 80 bits to 0 for ipv6.
|
||||
// Throws an exception when passed an invalid IP address.
|
||||
|
|
@ -21,13 +29,13 @@ export function anonymizeIp(ip: string): string {
|
|||
const addr = ipaddr.parse(ip);
|
||||
if (addr.kind() === 'ipv4') {
|
||||
// Replace last octet of ipv4 address with a 0.
|
||||
addr.octets[3] = 0;
|
||||
(addr as IPv4).octets[3] = 0;
|
||||
return addr.toString();
|
||||
} else {
|
||||
// Replace last 80 bits (5 groups of 4 hex characters) with 0s.
|
||||
for (let i = 3; i < 8; ++i) {
|
||||
addr.parts[i] = 0;
|
||||
(addr as IPv6).parts[i] = 0;
|
||||
}
|
||||
return addr.toNormalizedString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -18,6 +18,7 @@ do_action shadowbox/server/build
|
|||
|
||||
export LOG_LEVEL="${LOG_LEVEL:-debug}"
|
||||
export SB_PUBLIC_IP="${SB_PUBLIC_IP:-$(curl https://ipinfo.io/ip)}"
|
||||
# WARNING: The SB_API_PREFIX should be kept secret!
|
||||
export SB_API_PREFIX=TestApiPrefix
|
||||
export SB_METRICS_URL=https://metrics-test.uproxy.org
|
||||
export SB_STATE_DIR=/tmp
|
||||
|
|
|
|||
|
|
@ -1,483 +0,0 @@
|
|||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
||||
# yarn lockfile v1
|
||||
|
||||
|
||||
"@types/bunyan@*":
|
||||
version "1.8.0"
|
||||
resolved "https://registry.yarnpkg.com/@types/bunyan/-/bunyan-1.8.0.tgz#913bf718a2f4dd1efa063e808cab76609289c986"
|
||||
dependencies:
|
||||
"@types/node" "*"
|
||||
|
||||
"@types/node@*":
|
||||
version "7.0.32"
|
||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-7.0.32.tgz#6afe6c66520a4c316623a14aef123908d01b4bba"
|
||||
|
||||
"@types/node@^8":
|
||||
version "8.9.5"
|
||||
resolved "http://registry.npmjs.org/@types/node/-/node-8.9.5.tgz#162b864bc70be077e6db212b322754917929e976"
|
||||
|
||||
"@types/randomstring@^1.1.6":
|
||||
version "1.1.6"
|
||||
resolved "https://registry.yarnpkg.com/@types/randomstring/-/randomstring-1.1.6.tgz#45cdc060a6f043d610bcd46503a6887db2a209c3"
|
||||
|
||||
"@types/restify@^2.0.41":
|
||||
version "2.0.42"
|
||||
resolved "https://registry.yarnpkg.com/@types/restify/-/restify-2.0.42.tgz#6592376dc230c45afcffd4f9ee7bccd2776b1e1a"
|
||||
dependencies:
|
||||
"@types/bunyan" "*"
|
||||
"@types/node" "*"
|
||||
|
||||
"ShadowsocksConfig@https://github.com/Jigsaw-Code/outline-shadowsocksconfig/archive/v0.0.6.tar.gz":
|
||||
version "0.0.6"
|
||||
resolved "https://github.com/Jigsaw-Code/outline-shadowsocksconfig/archive/v0.0.6.tar.gz#620e56485c66277a2240b6f2e9e8091e103c547f"
|
||||
dependencies:
|
||||
base-64 "^0.1.0"
|
||||
punycode "^1.4.1"
|
||||
|
||||
array-uniq@1.0.2:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/array-uniq/-/array-uniq-1.0.2.tgz#5fcc373920775723cfd64d65c64bef53bf9eba6d"
|
||||
|
||||
asn1@0.1.11:
|
||||
version "0.1.11"
|
||||
resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.1.11.tgz#559be18376d08a4ec4dbe80877d27818639b2df7"
|
||||
|
||||
assert-plus@^0.1.5:
|
||||
version "0.1.5"
|
||||
resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-0.1.5.tgz#ee74009413002d84cec7219c6ac811812e723160"
|
||||
|
||||
assert-plus@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525"
|
||||
|
||||
backoff@^2.4.0:
|
||||
version "2.5.0"
|
||||
resolved "https://registry.yarnpkg.com/backoff/-/backoff-2.5.0.tgz#f616eda9d3e4b66b8ca7fca79f695722c5f8e26f"
|
||||
dependencies:
|
||||
precond "0.2"
|
||||
|
||||
balanced-match@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
|
||||
|
||||
base-64@^0.1.0:
|
||||
version "0.1.0"
|
||||
resolved "https://registry.yarnpkg.com/base-64/-/base-64-0.1.0.tgz#780a99c84e7d600260361511c4877613bf24f6bb"
|
||||
|
||||
brace-expansion@^1.1.7:
|
||||
version "1.1.8"
|
||||
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.8.tgz#c07b211c7c952ec1f8efd51a77ef0d1d3990a292"
|
||||
dependencies:
|
||||
balanced-match "^1.0.0"
|
||||
concat-map "0.0.1"
|
||||
|
||||
bunyan@^1.4.0:
|
||||
version "1.8.10"
|
||||
resolved "https://registry.yarnpkg.com/bunyan/-/bunyan-1.8.10.tgz#201fedd26c7080b632f416072f53a90b9a52981c"
|
||||
optionalDependencies:
|
||||
dtrace-provider "~0.8"
|
||||
moment "^2.10.6"
|
||||
mv "~2"
|
||||
safe-json-stringify "~1"
|
||||
|
||||
caseless@~0.6.0:
|
||||
version "0.6.0"
|
||||
resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.6.0.tgz#8167c1ab8397fb5bb95f96d28e5a81c50f247ac4"
|
||||
|
||||
concat-map@0.0.1:
|
||||
version "0.0.1"
|
||||
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
|
||||
|
||||
core-util-is@1.0.2, core-util-is@~1.0.0:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
|
||||
|
||||
csv-generate@^0.0.6:
|
||||
version "0.0.6"
|
||||
resolved "https://registry.yarnpkg.com/csv-generate/-/csv-generate-0.0.6.tgz#97e4e63ae46b21912cd9475bc31469d26f5ade66"
|
||||
|
||||
csv-parse@^1.0.0:
|
||||
version "1.2.0"
|
||||
resolved "https://registry.yarnpkg.com/csv-parse/-/csv-parse-1.2.0.tgz#047b73868ab9a85746e885f637f9ed0fb645a425"
|
||||
|
||||
csv-stringify@^0.0.8:
|
||||
version "0.0.8"
|
||||
resolved "https://registry.yarnpkg.com/csv-stringify/-/csv-stringify-0.0.8.tgz#52cc3b3dfc197758c55ad325a95be85071f9e51b"
|
||||
|
||||
csv@^0.4.0:
|
||||
version "0.4.6"
|
||||
resolved "https://registry.yarnpkg.com/csv/-/csv-0.4.6.tgz#8dbae7ddfdbaae62c1ea987c3e0f8a9ac737b73d"
|
||||
dependencies:
|
||||
csv-generate "^0.0.6"
|
||||
csv-parse "^1.0.0"
|
||||
csv-stringify "^0.0.8"
|
||||
stream-transform "^0.1.0"
|
||||
|
||||
ctype@0.5.3:
|
||||
version "0.5.3"
|
||||
resolved "https://registry.yarnpkg.com/ctype/-/ctype-0.5.3.tgz#82c18c2461f74114ef16c135224ad0b9144ca12f"
|
||||
|
||||
debug@^2.6.8:
|
||||
version "2.6.8"
|
||||
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.8.tgz#e731531ca2ede27d188222427da17821d68ff4fc"
|
||||
dependencies:
|
||||
ms "2.0.0"
|
||||
|
||||
detect-node@^2.0.3:
|
||||
version "2.0.3"
|
||||
resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.0.3.tgz#a2033c09cc8e158d37748fbde7507832bd6ce127"
|
||||
|
||||
dtrace-provider@^0.6.0:
|
||||
version "0.6.0"
|
||||
resolved "https://registry.yarnpkg.com/dtrace-provider/-/dtrace-provider-0.6.0.tgz#0b078d5517937d873101452d9146737557b75e51"
|
||||
dependencies:
|
||||
nan "^2.0.8"
|
||||
|
||||
dtrace-provider@~0.8:
|
||||
version "0.8.3"
|
||||
resolved "https://registry.yarnpkg.com/dtrace-provider/-/dtrace-provider-0.8.3.tgz#ba1bfc6493285ccfcfc6ab69cd5c61d74c2a43bf"
|
||||
dependencies:
|
||||
nan "^2.3.3"
|
||||
|
||||
escape-regexp-component@^1.0.2:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/escape-regexp-component/-/escape-regexp-component-1.0.2.tgz#9c63b6d0b25ff2a88c3adbd18c5b61acc3b9faa2"
|
||||
|
||||
extsprintf@1.2.0:
|
||||
version "1.2.0"
|
||||
resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.2.0.tgz#5ad946c22f5b32ba7f8cd7426711c6e8a3fc2529"
|
||||
|
||||
extsprintf@^1.2.0:
|
||||
version "1.3.0"
|
||||
resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05"
|
||||
|
||||
forever-agent@~0.5.0:
|
||||
version "0.5.2"
|
||||
resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.5.2.tgz#6d0e09c4921f94a27f63d3b49c5feff1ea4c5130"
|
||||
|
||||
formidable@^1.0.14:
|
||||
version "1.1.1"
|
||||
resolved "https://registry.yarnpkg.com/formidable/-/formidable-1.1.1.tgz#96b8886f7c3c3508b932d6bd70c4d3a88f35f1a9"
|
||||
|
||||
glob@^6.0.1:
|
||||
version "6.0.4"
|
||||
resolved "https://registry.yarnpkg.com/glob/-/glob-6.0.4.tgz#0f08860f6a155127b2fadd4f9ce24b1aab6e4d22"
|
||||
dependencies:
|
||||
inflight "^1.0.4"
|
||||
inherits "2"
|
||||
minimatch "2 || 3"
|
||||
once "^1.3.0"
|
||||
path-is-absolute "^1.0.0"
|
||||
|
||||
handle-thing@^1.2.5:
|
||||
version "1.2.5"
|
||||
resolved "https://registry.yarnpkg.com/handle-thing/-/handle-thing-1.2.5.tgz#fd7aad726bf1a5fd16dfc29b2f7a6601d27139c4"
|
||||
|
||||
hpack.js@^2.1.6:
|
||||
version "2.1.6"
|
||||
resolved "https://registry.yarnpkg.com/hpack.js/-/hpack.js-2.1.6.tgz#87774c0949e513f42e84575b3c45681fade2a0b2"
|
||||
dependencies:
|
||||
inherits "^2.0.1"
|
||||
obuf "^1.0.0"
|
||||
readable-stream "^2.0.1"
|
||||
wbuf "^1.1.0"
|
||||
|
||||
http-deceiver@^1.2.7:
|
||||
version "1.2.7"
|
||||
resolved "https://registry.yarnpkg.com/http-deceiver/-/http-deceiver-1.2.7.tgz#fa7168944ab9a519d337cb0bec7284dc3e723d87"
|
||||
|
||||
http-signature@^0.11.0:
|
||||
version "0.11.0"
|
||||
resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-0.11.0.tgz#1796cf67a001ad5cd6849dca0991485f09089fe6"
|
||||
dependencies:
|
||||
asn1 "0.1.11"
|
||||
assert-plus "^0.1.5"
|
||||
ctype "0.5.3"
|
||||
|
||||
inflight@^1.0.4:
|
||||
version "1.0.6"
|
||||
resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9"
|
||||
dependencies:
|
||||
once "^1.3.0"
|
||||
wrappy "1"
|
||||
|
||||
inherits@2, inherits@^2.0.1, inherits@~2.0.3:
|
||||
version "2.0.3"
|
||||
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"
|
||||
|
||||
ipaddr.js@^1.4.0:
|
||||
version "1.4.0"
|
||||
resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.4.0.tgz#296aca878a821816e5b85d0a285a99bcff4582f0"
|
||||
|
||||
isarray@~1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11"
|
||||
|
||||
json-stringify-safe@~5.0.0:
|
||||
version "5.0.1"
|
||||
resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb"
|
||||
|
||||
keep-alive-agent@^0.0.1:
|
||||
version "0.0.1"
|
||||
resolved "https://registry.yarnpkg.com/keep-alive-agent/-/keep-alive-agent-0.0.1.tgz#44847ca394ce8d6b521ae85816bd64509942b385"
|
||||
|
||||
lru-cache@^4.0.1:
|
||||
version "4.1.1"
|
||||
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.1.tgz#622e32e82488b49279114a4f9ecf45e7cd6bba55"
|
||||
dependencies:
|
||||
pseudomap "^1.0.2"
|
||||
yallist "^2.1.2"
|
||||
|
||||
mime-types@~1.0.1:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-1.0.2.tgz#995ae1392ab8affcbfcb2641dd054e943c0d5dce"
|
||||
|
||||
mime@^1.2.11:
|
||||
version "1.3.6"
|
||||
resolved "https://registry.yarnpkg.com/mime/-/mime-1.3.6.tgz#591d84d3653a6b0b4a3b9df8de5aa8108e72e5e0"
|
||||
|
||||
minimalistic-assert@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.0.tgz#702be2dda6b37f4836bcb3f5db56641b64a1d3d3"
|
||||
|
||||
"minimatch@2 || 3":
|
||||
version "3.0.4"
|
||||
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
|
||||
dependencies:
|
||||
brace-expansion "^1.1.7"
|
||||
|
||||
minimist@0.0.8:
|
||||
version "0.0.8"
|
||||
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d"
|
||||
|
||||
mkdirp@~0.5.1:
|
||||
version "0.5.1"
|
||||
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903"
|
||||
dependencies:
|
||||
minimist "0.0.8"
|
||||
|
||||
moment@^2.10.6:
|
||||
version "2.18.1"
|
||||
resolved "https://registry.yarnpkg.com/moment/-/moment-2.18.1.tgz#c36193dd3ce1c2eed2adb7c802dbbc77a81b1c0f"
|
||||
|
||||
ms@2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"
|
||||
|
||||
mv@~2:
|
||||
version "2.1.1"
|
||||
resolved "https://registry.yarnpkg.com/mv/-/mv-2.1.1.tgz#ae6ce0d6f6d5e0a4f7d893798d03c1ea9559b6a2"
|
||||
dependencies:
|
||||
mkdirp "~0.5.1"
|
||||
ncp "~2.0.0"
|
||||
rimraf "~2.4.0"
|
||||
|
||||
nan@^2.0.8, nan@^2.3.3:
|
||||
version "2.6.2"
|
||||
resolved "https://registry.yarnpkg.com/nan/-/nan-2.6.2.tgz#e4ff34e6c95fdfb5aecc08de6596f43605a7db45"
|
||||
|
||||
ncp@~2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/ncp/-/ncp-2.0.0.tgz#195a21d6c46e361d2fb1281ba38b91e9df7bdbb3"
|
||||
|
||||
negotiator@^0.6.1:
|
||||
version "0.6.1"
|
||||
resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.1.tgz#2b327184e8992101177b28563fb5e7102acd0ca9"
|
||||
|
||||
node-uuid@^1.4.1, node-uuid@~1.4.0:
|
||||
version "1.4.8"
|
||||
resolved "https://registry.yarnpkg.com/node-uuid/-/node-uuid-1.4.8.tgz#b040eb0923968afabf8d32fb1f17f1167fdab907"
|
||||
|
||||
obuf@^1.0.0, obuf@^1.1.1:
|
||||
version "1.1.1"
|
||||
resolved "https://registry.yarnpkg.com/obuf/-/obuf-1.1.1.tgz#104124b6c602c6796881a042541d36db43a5264e"
|
||||
|
||||
once@^1.3.0:
|
||||
version "1.4.0"
|
||||
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
|
||||
dependencies:
|
||||
wrappy "1"
|
||||
|
||||
path-is-absolute@^1.0.0:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
|
||||
|
||||
precond@0.2:
|
||||
version "0.2.3"
|
||||
resolved "https://registry.yarnpkg.com/precond/-/precond-0.2.3.tgz#aa9591bcaa24923f1e0f4849d240f47efc1075ac"
|
||||
|
||||
process-nextick-args@~1.0.6:
|
||||
version "1.0.7"
|
||||
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3"
|
||||
|
||||
pseudomap@^1.0.2:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3"
|
||||
|
||||
punycode@^1.4.1:
|
||||
version "1.4.1"
|
||||
resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e"
|
||||
|
||||
qs@^6.2.1:
|
||||
version "6.4.0"
|
||||
resolved "https://registry.yarnpkg.com/qs/-/qs-6.4.0.tgz#13e26d28ad6b0ffaa91312cd3bf708ed351e7233"
|
||||
|
||||
qs@~1.2.0:
|
||||
version "1.2.2"
|
||||
resolved "https://registry.yarnpkg.com/qs/-/qs-1.2.2.tgz#19b57ff24dc2a99ce1f8bdf6afcda59f8ef61f88"
|
||||
|
||||
randomstring@^1.1.5:
|
||||
version "1.1.5"
|
||||
resolved "https://registry.yarnpkg.com/randomstring/-/randomstring-1.1.5.tgz#6df0628f75cbd5932930d9fe3ab4e956a18518c3"
|
||||
dependencies:
|
||||
array-uniq "1.0.2"
|
||||
|
||||
readable-stream@^2.0.1, readable-stream@^2.2.9:
|
||||
version "2.3.2"
|
||||
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.2.tgz#5a04df05e4f57fe3f0dc68fdd11dc5c97c7e6f4d"
|
||||
dependencies:
|
||||
core-util-is "~1.0.0"
|
||||
inherits "~2.0.3"
|
||||
isarray "~1.0.0"
|
||||
process-nextick-args "~1.0.6"
|
||||
safe-buffer "~5.1.0"
|
||||
string_decoder "~1.0.0"
|
||||
util-deprecate "~1.0.1"
|
||||
|
||||
request-lite@^2.40.1:
|
||||
version "2.40.1"
|
||||
resolved "https://registry.yarnpkg.com/request-lite/-/request-lite-2.40.1.tgz#08a8a151eaa84117e01d3e14fe765e8529b3f3df"
|
||||
dependencies:
|
||||
caseless "~0.6.0"
|
||||
forever-agent "~0.5.0"
|
||||
json-stringify-safe "~5.0.0"
|
||||
mime-types "~1.0.1"
|
||||
node-uuid "~1.4.0"
|
||||
qs "~1.2.0"
|
||||
|
||||
restify@^4.3.0:
|
||||
version "4.3.0"
|
||||
resolved "https://registry.yarnpkg.com/restify/-/restify-4.3.0.tgz#03b67960d1d42a6dafcde3bd82fb882173a27678"
|
||||
dependencies:
|
||||
assert-plus "^0.1.5"
|
||||
backoff "^2.4.0"
|
||||
bunyan "^1.4.0"
|
||||
csv "^0.4.0"
|
||||
escape-regexp-component "^1.0.2"
|
||||
formidable "^1.0.14"
|
||||
http-signature "^0.11.0"
|
||||
keep-alive-agent "^0.0.1"
|
||||
lru-cache "^4.0.1"
|
||||
mime "^1.2.11"
|
||||
negotiator "^0.6.1"
|
||||
node-uuid "^1.4.1"
|
||||
once "^1.3.0"
|
||||
qs "^6.2.1"
|
||||
semver "^4.3.3"
|
||||
spdy "^3.3.3"
|
||||
tunnel-agent "^0.4.0"
|
||||
vasync "1.6.3"
|
||||
verror "^1.4.0"
|
||||
optionalDependencies:
|
||||
dtrace-provider "^0.6.0"
|
||||
|
||||
rimraf@~2.4.0:
|
||||
version "2.4.5"
|
||||
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.4.5.tgz#ee710ce5d93a8fdb856fb5ea8ff0e2d75934b2da"
|
||||
dependencies:
|
||||
glob "^6.0.1"
|
||||
|
||||
safe-buffer@^5.0.1, safe-buffer@~5.1.0:
|
||||
version "5.1.1"
|
||||
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853"
|
||||
|
||||
safe-json-stringify@~1:
|
||||
version "1.0.4"
|
||||
resolved "https://registry.yarnpkg.com/safe-json-stringify/-/safe-json-stringify-1.0.4.tgz#81a098f447e4bbc3ff3312a243521bc060ef5911"
|
||||
|
||||
select-hose@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/select-hose/-/select-hose-2.0.0.tgz#625d8658f865af43ec962bfc376a37359a4994ca"
|
||||
|
||||
semver@^4.3.3:
|
||||
version "4.3.6"
|
||||
resolved "https://registry.yarnpkg.com/semver/-/semver-4.3.6.tgz#300bc6e0e86374f7ba61068b5b1ecd57fc6532da"
|
||||
|
||||
spdy-transport@^2.0.18:
|
||||
version "2.0.20"
|
||||
resolved "https://registry.yarnpkg.com/spdy-transport/-/spdy-transport-2.0.20.tgz#735e72054c486b2354fe89e702256004a39ace4d"
|
||||
dependencies:
|
||||
debug "^2.6.8"
|
||||
detect-node "^2.0.3"
|
||||
hpack.js "^2.1.6"
|
||||
obuf "^1.1.1"
|
||||
readable-stream "^2.2.9"
|
||||
safe-buffer "^5.0.1"
|
||||
wbuf "^1.7.2"
|
||||
|
||||
spdy@^3.3.3:
|
||||
version "3.4.7"
|
||||
resolved "https://registry.yarnpkg.com/spdy/-/spdy-3.4.7.tgz#42ff41ece5cc0f99a3a6c28aabb73f5c3b03acbc"
|
||||
dependencies:
|
||||
debug "^2.6.8"
|
||||
handle-thing "^1.2.5"
|
||||
http-deceiver "^1.2.7"
|
||||
safe-buffer "^5.0.1"
|
||||
select-hose "^2.0.0"
|
||||
spdy-transport "^2.0.18"
|
||||
|
||||
stream-transform@^0.1.0:
|
||||
version "0.1.2"
|
||||
resolved "https://registry.yarnpkg.com/stream-transform/-/stream-transform-0.1.2.tgz#7d8e6b4e03ac4781778f8c79517501bfb0762a9f"
|
||||
|
||||
string_decoder@~1.0.0:
|
||||
version "1.0.3"
|
||||
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.0.3.tgz#0fc67d7c141825de94282dd536bec6b9bce860ab"
|
||||
dependencies:
|
||||
safe-buffer "~5.1.0"
|
||||
|
||||
tunnel-agent@^0.4.0:
|
||||
version "0.4.3"
|
||||
resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.4.3.tgz#6373db76909fe570e08d73583365ed828a74eeeb"
|
||||
|
||||
util-deprecate@~1.0.1:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
|
||||
|
||||
uuid@^3.1.0:
|
||||
version "3.1.0"
|
||||
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.1.0.tgz#3dd3d3e790abc24d7b0d3a034ffababe28ebbc04"
|
||||
|
||||
vasync@1.6.3:
|
||||
version "1.6.3"
|
||||
resolved "https://registry.yarnpkg.com/vasync/-/vasync-1.6.3.tgz#4a69d7052a47f4ce85503d7641df1cbf40432a94"
|
||||
dependencies:
|
||||
verror "1.6.0"
|
||||
|
||||
verror@1.6.0:
|
||||
version "1.6.0"
|
||||
resolved "https://registry.yarnpkg.com/verror/-/verror-1.6.0.tgz#7d13b27b1facc2e2da90405eb5ea6e5bdd252ea5"
|
||||
dependencies:
|
||||
extsprintf "1.2.0"
|
||||
|
||||
verror@^1.4.0:
|
||||
version "1.10.0"
|
||||
resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400"
|
||||
dependencies:
|
||||
assert-plus "^1.0.0"
|
||||
core-util-is "1.0.2"
|
||||
extsprintf "^1.2.0"
|
||||
|
||||
wbuf@^1.1.0, wbuf@^1.7.2:
|
||||
version "1.7.2"
|
||||
resolved "https://registry.yarnpkg.com/wbuf/-/wbuf-1.7.2.tgz#d697b99f1f59512df2751be42769c1580b5801fe"
|
||||
dependencies:
|
||||
minimalistic-assert "^1.0.0"
|
||||
|
||||
wrappy@1:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
|
||||
|
||||
yallist@^2.1.2:
|
||||
version "2.1.2"
|
||||
resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52"
|
||||
Loading…
Add table
Add a link
Reference in a new issue