├── .gitignore ├── docker-compose.yml ├── Dockerfile ├── .env.sample ├── package.json ├── genKey.js ├── README.md ├── index.js ├── LICENSE └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .env.* 3 | *~ 4 | -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '2' 2 | services: 3 | web: 4 | restart: always 5 | build: . 6 | ports: 7 | - "172.17.0.1:4005:4005" 8 | volumes: 9 | - /etc/localtime:/etc/localtime:ro 10 | 11 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM node:10.1-alpine 2 | 3 | ENV NODE_ENV=production 4 | 5 | RUN addgroup -g 1001 app1 6 | RUN adduser -u 1001 -G app1 -g 'App1' -D -H app1 7 | 8 | RUN mkdir /app1 9 | WORKDIR /app1 10 | ADD . /app1 11 | RUN yarn 12 | 13 | USER app1 14 | 15 | EXPOSE 4005 16 | CMD ["npm", "start"] 17 | -------------------------------------------------------------------------------- /.env.sample: -------------------------------------------------------------------------------- 1 | # copy this file to '.env.production', then edit configurations. 2 | 3 | DB_DIALECT=postgres 4 | DB_HOST=172.17.0.1 5 | DB_PORT=4003 6 | DB_NAME=fcm_sender 7 | DB_USER=fcm_sender 8 | DB_PASS=XXXXXXXXXXXXXXXXX 9 | 10 | LISTEN_PORT=4005 11 | LISTEN_ADDR=0.0.0.0 12 | 13 | FCM_SERVER_KEY=XXXXXXXXXXXXXXXXXXXXXXXXX 14 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "push-to-fcm", 3 | "version": "0.0.1", 4 | "description": "WebPush-FCM proxy for mobile app", 5 | "main": "index.js", 6 | "scripts": { 7 | "start": "node -r dotenv/config index.js dotenv_config_path=.env.production" 8 | }, 9 | "author": "tateisu", 10 | "license": "AGPL-3.0-or-later", 11 | "repository": { 12 | "type": "git", 13 | "url": "https://github.com/tateisu/PushToFCM.git" 14 | }, 15 | "dependencies": { 16 | "asn1.js": "^5.0.1", 17 | "axios": "^0.21.1", 18 | "dotenv": "^6.2.0", 19 | "jsonwebtoken": "^8.4.0", 20 | "koa": "^2.7.0", 21 | "koa-body": "^4.0.7", 22 | "npmlog": "^4.1.2", 23 | "pg": "^7.8.0", 24 | "raw-body": "^2.3.3", 25 | "sequelize": "^6.29.0", 26 | "urlsafe-base64": "^1.0.0" 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /genKey.js: -------------------------------------------------------------------------------- 1 | const crypto = require('crypto'); 2 | const util = require('util'); 3 | const base64us = require('urlsafe-base64') 4 | 5 | const keyCurve = crypto.createECDH('prime256v1'); 6 | keyCurve.generateKeys(); 7 | const publicKey = keyCurve.getPublicKey(); 8 | const privateKey = keyCurve.getPrivateKey(); 9 | const auth = crypto.randomBytes(16) 10 | 11 | console.log( "public key="+ base64us.encode(publicKey)); 12 | console.log( "private key="+ base64us.encode(privateKey)); 13 | console.log( "auth="+ base64us.encode(auth)); 14 | 15 | /* 16 | function decodeBase64(src){ 17 | return new Buffer(src,'base64').toString('UTF-8') 18 | } 19 | 20 | console.log("JWT Info="+decodeBase64('eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9')) 21 | console.log("JWT Data="+decodeBase64('eyJhdWQiOiJodHRwczovL21hc3RvZG9uLW1zZy5qdWdnbGVyLmpwIiwiZXhwIjoxNTI2MTMzNTA4LCJzdWIiOiJtYWlsdG86In0')) 22 | */ 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | Deprecated: moved to https://github.com/tateisu/SubwayTooterAppServerV2 4 | 5 | This app receives event sent from Mastodon's WebPush REST API, then this app send it to my mobile app (Subway Tooter) via Firebase Cloud Messaging. 6 | 7 | - Mastodon's WebPush REST API https://github.com/tootsuite/mastodon/pull/7445 8 | - Subway Tooter https://github.com/tateisu/SubwayTooter 9 | 10 | Currently payload decryption is not implemented because Subway Tooter does not requires it's content, just use event as notification check trigger. 11 | 12 | But if you want sample of payload decryption. see also 13 | - https://gist.github.com/tateisu/685eab242549d9c9ffc85020f09a4b71 14 | 15 | JWT verify sample 16 | - https://gist.github.com/tateisu/18e9807dfb8779c247d6297bcf445686 17 | 18 | VAPID for Web Push 19 | - https://tools.ietf.org/html/draft-ietf-webpush-vapid-01#section-4 20 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | const util = require('util') 3 | const crypto = require('crypto') 4 | const npmlog = require('npmlog') 5 | const Koa = require('koa') 6 | const KoaBody = require('koa-body') 7 | const getRawBody = require('raw-body') 8 | const Sequelize = require('sequelize') 9 | const axios = require('axios') 10 | const base64us = require('urlsafe-base64') 11 | const asn = require('asn1.js') 12 | const jwt = require('jsonwebtoken') 13 | 14 | const fcmServerKey = process.env.FCM_SERVER_KEY 15 | if(! fcmServerKey) throw new Error("missing FCM_SERVER_KEY in .env") 16 | 17 | process.on('unhandledRejection', console.dir); 18 | 19 | npmlog.info(`database: ${process.env.DB_DIALECT} ${process.env.DB_HOST} ${process.env.DB_PORT} ${process.env.DB_NAME} ${process.env.DB_USER}`) 20 | 21 | const sequelize = new Sequelize( 22 | process.env.DB_NAME, 23 | process.env.DB_USER, 24 | process.env.DB_PASS, 25 | { 26 | dialect: process.env.DB_DIALECT, 27 | host: process.env.DB_HOST, 28 | port: process.env.DB_PORT, 29 | //operatorsAliases: false, 30 | 31 | logging: (a,b,c,file,dir)=>{ 32 | //const args = Array.from(arguments) 33 | //npmlog.info(`logging ${dir} ${file}`) 34 | 35 | //npmlog.info(`SQL Log: ${a}` ) 36 | } 37 | } 38 | ) 39 | 40 | const WebPushTokenCheck = sequelize.define('webpush_token_check', { 41 | 42 | id: { 43 | type: Sequelize.INTEGER, 44 | primaryKey: true, 45 | autoIncrement: true, 46 | }, 47 | 48 | tokenDigest: { 49 | type: Sequelize.STRING, 50 | allowNull: false, 51 | }, 52 | 53 | installId: { 54 | type: Sequelize.STRING, 55 | allowNull: false, 56 | }, 57 | 58 | createdAt: { 59 | type: Sequelize.DATE, 60 | defaultValue: Sequelize.NOW, 61 | allowNull: false, 62 | }, 63 | 64 | updatedAt: { 65 | type: Sequelize.DATE, 66 | defaultValue: Sequelize.NOW, 67 | allowNull: false, 68 | }, 69 | }, { 70 | indexes: [ 71 | { 72 | name: 'webpush_token_check_token', 73 | unique: true, 74 | fields: ['tokenDigest'] 75 | } 76 | ] 77 | }) 78 | 79 | const ServerKey = sequelize.define('webpush_server_key2', { 80 | clientId: { 81 | type: Sequelize.STRING, 82 | allowNull: false, 83 | }, 84 | 85 | serverKey: { 86 | type: Sequelize.STRING, 87 | allowNull: false, 88 | }, 89 | },{ 90 | indexes: [ 91 | { 92 | name: 'webpush_server_key2_unique', 93 | unique: true, 94 | fields: ['clientId'] 95 | } 96 | ] 97 | }) 98 | 99 | const Endpoint = sequelize.define('webpush_endpoint',{ 100 | acct: { 101 | type: Sequelize.STRING, 102 | allowNull: false, 103 | }, 104 | 105 | deviceId: { 106 | type: Sequelize.STRING, 107 | allowNull: false, 108 | }, 109 | 110 | endpoint: { 111 | type: Sequelize.TEXT, 112 | allowNull: false, 113 | }, 114 | },{ 115 | indexes: [ 116 | { 117 | name: 'webpush_endpoint_unique', 118 | unique: true, 119 | fields: ['deviceId','acct'] 120 | } 121 | ] 122 | }) 123 | 124 | const body_normal = KoaBody({ 125 | multipart: true 126 | }) 127 | 128 | const body_raw = async (ctx,next) =>{ 129 | ctx.request.body = await getRawBody(ctx.req,{ 130 | limit: '40kb', 131 | }) 132 | await next() 133 | } 134 | 135 | async function serverKeyUpdate(ctx,m){ 136 | return await body_normal(ctx,async()=>{ 137 | 138 | const client_id = ctx.request.body.client_id 139 | const server_key = ctx.request.body.server_key 140 | 141 | const user_agent = ctx.get('User-Agent') 142 | 143 | npmlog.info(`serverKeyUpdate client_id=${client_id}, server_key=${server_key},user_agent=${user_agent}`) 144 | 145 | if( !client_id) ctx.throw(422,`missing parameter 'client_id'`) 146 | if( !server_key ) ctx.throw(422,`missing parameter 'server_key'`) 147 | 148 | const created = await ServerKey.upsert({ 149 | clientId: client_id, 150 | serverKey: server_key 151 | }) 152 | npmlog.info(`created=${created}`) 153 | 154 | ctx.status = 200 155 | }) 156 | } 157 | 158 | async function saveEndpoint(ctx,m){ 159 | return await body_normal(ctx,async()=>{ 160 | 161 | const acct = ctx.request.body.acct 162 | const deviceId = ctx.request.body.deviceId 163 | const endpoint = ctx.request.body.endpoint 164 | 165 | npmlog.info(`saveEndpoint acct=${acct}, deviceId=${deviceId}, endpoint=${endpoint}`) 166 | 167 | if( !acct ) ctx.throw(422,`missing parameter 'acct'`) 168 | if( !deviceId ) ctx.throw(422,`missing parameter 'deviceId'`) 169 | if( !endpoint ) ctx.throw(422,`missing parameter 'endpoint'`) 170 | 171 | const created = await Endpoint.upsert({ 172 | acct: acct, 173 | deviceId: deviceId, 174 | endpoint: endpoint 175 | }) 176 | npmlog.info(`created=${created}`) 177 | 178 | ctx.status = 200 179 | }) 180 | } 181 | 182 | 183 | async function tokenCheck(ctx,m){ 184 | return await body_normal(ctx,async()=>{ 185 | const token_digest=ctx.request.body.token_digest 186 | const install_id=ctx.request.body.install_id 187 | npmlog.info(`check token_digest=${token_digest},install_id=${install_id}`) 188 | if( !token_digest ) ctx.throw(422,`missing parameter 'token_digest'`) 189 | if( !install_id ) ctx.throw(422,`missing parameter 'install_id'`) 190 | const rows = await WebPushTokenCheck.findOrCreate({ 191 | where: { 192 | tokenDigest: token_digest 193 | }, 194 | defaults: { 195 | installId: install_id 196 | } 197 | }) 198 | if( rows == null || rows.length == 0 ){ 199 | ctx.throw(500,`findOrCreate() returns null or empty.`) 200 | } 201 | let row = rows[0] 202 | npmlog.info(`row tokenDigest=${row.tokenDigest}, installId=${row.installId}, updatedAt=${row.updatedAt}`) 203 | if( install_id != row.installId ){ 204 | ctx.status=403 205 | ctx.message=`installId not match.` 206 | }else{ 207 | const affected = await WebPushTokenCheck.update({ 208 | updatedAt: sequelize.literal('CURRENT_TIMESTAMP') 209 | },{ 210 | where:{ 211 | id: row.id 212 | } 213 | }) 214 | if( affected[0] != 1){ 215 | npmlog.info(`row update? affected=${affected[0]}`) 216 | } 217 | ctx.status = 200 218 | } 219 | }) 220 | } 221 | 222 | function decodeBase64(src){ 223 | return new Buffer(src,'base64') 224 | } 225 | 226 | // ECDSA public key ASN.1 format 227 | const ECPublicKey = asn.define("PublicKey", function() { 228 | this.seq().obj( 229 | this.key("algorithm").seq().obj( 230 | this.key("id").objid(), 231 | this.key("curve").objid() 232 | ), 233 | this.key("pub").bitstr() 234 | ); 235 | }); 236 | 237 | // convert public key from p256ecdsa to PEM 238 | function getPemFromPublicKey(public_key){ 239 | return ECPublicKey.encode({ 240 | algorithm: { 241 | id: [1, 2, 840, 10045, 2, 1], // :id-ecPublicKey 242 | curve: [1,2,840,10045,3,1,7] // prime256v1 243 | }, 244 | pub: { 245 | // このunused により bitstringの先頭に 00 が置かれる。 246 | // 先頭の00 04 が uncompressed を示す 247 | // https://tools.ietf.org/html/rfc5480#section-2.3.2 248 | // http://www.secg.org/sec1-v2.pdf section 2.3.3 249 | unused: 0, 250 | data: public_key, 251 | }, 252 | }, "pem", {label: "PUBLIC KEY"}) 253 | } 254 | 255 | const reAuthorizationWebPush = new RegExp("^WebPush\\s+(\\S+)") 256 | const reCryptoKeySignPublicKey = new RegExp("p256ecdsa=([^;\\s]+)") 257 | const reAuthorizationVapid = new RegExp("^vapid\\s+t=([^\\s,]+)[,\\s]+k=([^\\s,]+)") 258 | 259 | function verifyServerKey(ctx, savedServerKey){ 260 | 261 | if( savedServerKey == null || savedServerKey == '3q2+rw' ) 262 | return true 263 | 264 | const crypto_key = ctx.get('Crypto-Key') 265 | const auth_header = ctx.get('Authorization') 266 | if( !auth_header ){ 267 | ctx.throw(400,"missing Authorization header.") 268 | return false 269 | } 270 | 271 | let m = reAuthorizationVapid.exec( auth_header) 272 | if(m){ 273 | // vapid t=XXX, k=XXX 274 | const token = m[1] 275 | const public_key = decodeBase64(m[2]) 276 | 277 | if( savedServerKey != null && savedServerKey != '3q2+rw' ){ 278 | const saved_key = decodeBase64(savedServerKey) 279 | if( 0 != Buffer.compare( public_key, saved_key) ){ 280 | ctx.throw(400,"server_key not match.") 281 | return false 282 | } 283 | } 284 | 285 | try{ 286 | const pem = getPemFromPublicKey(public_key) 287 | jwt.verify(token, Buffer.from(pem), { algorithms: ['ES256'] }) 288 | return true 289 | }catch(err){ 290 | console.log(`${err}`) 291 | ctx.throw(503,`JWT verify failed.`) 292 | return false 293 | } 294 | } 295 | 296 | m = reAuthorizationWebPush.exec( auth_header ) 297 | if( m ){ 298 | // WebPush ... 299 | const token = m[1] 300 | 301 | if(!crypto_key){ 302 | ctx.throw(400,"missing Crypto-Key header.") 303 | return false 304 | } 305 | m = reCryptoKeySignPublicKey.exec(crypto_key) 306 | if( !m ){ 307 | ctx.throw("Crypto-Key header does not contains p256ecdsa=... part.") 308 | return false 309 | } 310 | const public_key = decodeBase64(m[1]) 311 | 312 | if( savedServerKey != null && savedServerKey != '3q2+rw' ){ 313 | const saved_key = decodeBase64(savedServerKey) 314 | if( 0 != Buffer.compare( public_key, saved_key) ){ 315 | ctx.throw(400,"server_key not match.") 316 | return false 317 | } 318 | } 319 | 320 | try{ 321 | const pem = getPemFromPublicKey(public_key) 322 | jwt.verify(token, Buffer.from(pem), { algorithms: ['ES256'] }) 323 | return true 324 | }catch(err){ 325 | console.log(`${err}`) 326 | ctx.throw(503,`JWT verify failed.`) 327 | return false 328 | } 329 | } 330 | 331 | ctx.throw(400,"Authorization header is not vapid or WebPush.") 332 | return false 333 | } 334 | 335 | async function pushCallback(ctx,m){ 336 | return await body_raw(ctx,async()=>{ 337 | 338 | const params = m[1].split('/').map( x => decodeURIComponent(x) ) 339 | const device_id = params[0] 340 | const acct = params[1] 341 | const flags = params[2] // may null, not used 342 | const client_id = params[3] // may null 343 | const serviceType = params[4] 344 | 345 | const row = await Endpoint.findOne({ 346 | where:{ 347 | acct: acct, 348 | deviceId: device_id 349 | } 350 | }) 351 | 352 | if(row!=null){ 353 | console.log(`checkEndpoint: a=${row.endpoint} b=${ctx.url}`); 354 | if( row.endpoint != ctx.url ){ 355 | ctx.status = 410 356 | return 357 | } 358 | } 359 | 360 | const body = ctx.request.body 361 | npmlog.info(`callback device_id=${device_id},acct=${acct},body=${body.length}bytes`) 362 | 363 | let serverKey = null 364 | if( client_id ){ 365 | const row = await ServerKey.findOne({ 366 | where:{ 367 | clientId: client_id 368 | } 369 | }) 370 | if(row !=null) serverKey = row.serverKey 371 | } 372 | if(!verifyServerKey(ctx, serverKey)){ 373 | npmlog.error("verifyServerKey failed.") 374 | return 375 | } 376 | 377 | try{ 378 | const firebaseMessage = { 379 | to: device_id, 380 | priority: 'high', 381 | data: { 382 | acct: acct, 383 | } 384 | } 385 | 386 | const response = await axios.post( 387 | 'https://fcm.googleapis.com/fcm/send', 388 | JSON.stringify(firebaseMessage), 389 | { 390 | headers: { 391 | 'Authorization': `key=${fcmServerKey}`, 392 | 'Content-Type': 'application/json' 393 | } 394 | } 395 | ) 396 | 397 | npmlog.info(`sendToFCM: status=${response.status} ${JSON.stringify(response.data)}`) 398 | 399 | if (response.data.failure === 0 && response.data.canonical_ids === 0) { 400 | ctx.status = 201 401 | return 402 | } 403 | 404 | response.data.results.forEach(result => { 405 | if (result.message_id && result.registration_id) { 406 | // デバイストークンが更新された 407 | // この購読はキャンセルされるべき 408 | ctx.status = 410 409 | }else if( result.error == 'NotRegistered' ){ 410 | ctx.status = 410 411 | }else{ 412 | npmlog.error(`sendToFCM error response. ${result.error}`) 413 | ctx.status = 502 414 | } 415 | }) 416 | }catch(err){ 417 | if( err.response ){ 418 | ctx.throw( 503, `sendToFCM failed. status: ${err.response.status}: ${JSON.stringify(err.response.data)}`) 419 | }else{ 420 | ctx.throw( 503, `sendToFCM failed. ${err}`) 421 | } 422 | } 423 | }) 424 | } 425 | 426 | 427 | 428 | const rePathCheck = new RegExp("^/webpushtokencheck$") 429 | const rePathCallback = new RegExp("^/webpushcallback/([^\\?#]+)") 430 | const rePathServerKey = new RegExp("/webpushserverkey$") 431 | const rePathEndpoint = new RegExp("^/webpushendpoint$") 432 | 433 | async function handleRequest(ctx,next){ 434 | const method = ctx.request.method 435 | const path = ctx.request.path 436 | npmlog.info(`${method} ${path}`) 437 | 438 | if( method=='POST' ){ 439 | let m = rePathCheck.exec(path) 440 | if( m ) return await tokenCheck(ctx,m) 441 | 442 | m = rePathCallback.exec(path) 443 | if( m ) return await pushCallback(ctx,m) 444 | 445 | m = rePathServerKey.exec(path) 446 | if( m ) return await serverKeyUpdate(ctx,m) 447 | 448 | m = rePathEndpoint.exec(path) 449 | if( m ) return await saveEndpoint(ctx,m) 450 | } 451 | npmlog.info("status=${ctx.status}") 452 | ctx.throw(404,'Not found') 453 | } 454 | 455 | function accessLog_sub(ctx,err){ 456 | const status = err ? ( err.status || 500) : (ctx.status || 404) 457 | const message = err ? (err.message || '(no error message)') : (ctx.message || '(no message)') 458 | console.log(`${ctx.host} ${ctx.request.method} ${ctx.request.path} => ${status} ${message}`) 459 | } 460 | 461 | async function accessLog(ctx,next){ 462 | try{ 463 | await next() 464 | }catch(err){ 465 | accessLog_sub(ctx,err) 466 | throw err 467 | } 468 | accessLog_sub(ctx) 469 | } 470 | 471 | async function main(){ 472 | npmlog.info(`DB sync...`) 473 | await WebPushTokenCheck.sync() 474 | await ServerKey.sync() 475 | await Endpoint.sync() 476 | 477 | const app = new Koa() 478 | app.use(accessLog) 479 | app.use(handleRequest) 480 | 481 | const port = process.env.LISTEN_PORT || 4005 482 | const addr = process.env.LISTEN_ADDR || '127.0.0.1' 483 | app.listen(port,addr,()=>{ 484 | npmlog.info(`listening on addr ${addr} port ${port}...`) 485 | }) 486 | } 487 | 488 | main() 489 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU AFFERO GENERAL PUBLIC LICENSE 2 | Version 3, 19 November 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU Affero General Public License is a free, copyleft license for 11 | software and other kinds of works, specifically designed to ensure 12 | cooperation with the community in the case of network server software. 13 | 14 | The licenses for most software and other practical works are designed 15 | to take away your freedom to share and change the works. By contrast, 16 | our General Public Licenses are intended to guarantee your freedom to 17 | share and change all versions of a program--to make sure it remains free 18 | software for all its users. 19 | 20 | When we speak of free software, we are referring to freedom, not 21 | price. Our General Public Licenses are designed to make sure that you 22 | have the freedom to distribute copies of free software (and charge for 23 | them if you wish), that you receive source code or can get it if you 24 | want it, that you can change the software or use pieces of it in new 25 | free programs, and that you know you can do these things. 26 | 27 | Developers that use our General Public Licenses protect your rights 28 | with two steps: (1) assert copyright on the software, and (2) offer 29 | you this License which gives you legal permission to copy, distribute 30 | and/or modify the software. 31 | 32 | A secondary benefit of defending all users' freedom is that 33 | improvements made in alternate versions of the program, if they 34 | receive widespread use, become available for other developers to 35 | incorporate. Many developers of free software are heartened and 36 | encouraged by the resulting cooperation. However, in the case of 37 | software used on network servers, this result may fail to come about. 38 | The GNU General Public License permits making a modified version and 39 | letting the public access it on a server without ever releasing its 40 | source code to the public. 41 | 42 | The GNU Affero General Public License is designed specifically to 43 | ensure that, in such cases, the modified source code becomes available 44 | to the community. It requires the operator of a network server to 45 | provide the source code of the modified version running there to the 46 | users of that server. Therefore, public use of a modified version, on 47 | a publicly accessible server, gives the public access to the source 48 | code of the modified version. 49 | 50 | An older license, called the Affero General Public License and 51 | published by Affero, was designed to accomplish similar goals. This is 52 | a different license, not a version of the Affero GPL, but Affero has 53 | released a new version of the Affero GPL which permits relicensing under 54 | this license. 55 | 56 | The precise terms and conditions for copying, distribution and 57 | modification follow. 58 | 59 | TERMS AND CONDITIONS 60 | 61 | 0. Definitions. 62 | 63 | "This License" refers to version 3 of the GNU Affero General Public License. 64 | 65 | "Copyright" also means copyright-like laws that apply to other kinds of 66 | works, such as semiconductor masks. 67 | 68 | "The Program" refers to any copyrightable work licensed under this 69 | License. Each licensee is addressed as "you". "Licensees" and 70 | "recipients" may be individuals or organizations. 71 | 72 | To "modify" a work means to copy from or adapt all or part of the work 73 | in a fashion requiring copyright permission, other than the making of an 74 | exact copy. The resulting work is called a "modified version" of the 75 | earlier work or a work "based on" the earlier work. 76 | 77 | A "covered work" means either the unmodified Program or a work based 78 | on the Program. 79 | 80 | To "propagate" a work means to do anything with it that, without 81 | permission, would make you directly or secondarily liable for 82 | infringement under applicable copyright law, except executing it on a 83 | computer or modifying a private copy. Propagation includes copying, 84 | distribution (with or without modification), making available to the 85 | public, and in some countries other activities as well. 86 | 87 | To "convey" a work means any kind of propagation that enables other 88 | parties to make or receive copies. Mere interaction with a user through 89 | a computer network, with no transfer of a copy, is not conveying. 90 | 91 | An interactive user interface displays "Appropriate Legal Notices" 92 | to the extent that it includes a convenient and prominently visible 93 | feature that (1) displays an appropriate copyright notice, and (2) 94 | tells the user that there is no warranty for the work (except to the 95 | extent that warranties are provided), that licensees may convey the 96 | work under this License, and how to view a copy of this License. If 97 | the interface presents a list of user commands or options, such as a 98 | menu, a prominent item in the list meets this criterion. 99 | 100 | 1. Source Code. 101 | 102 | The "source code" for a work means the preferred form of the work 103 | for making modifications to it. "Object code" means any non-source 104 | form of a work. 105 | 106 | A "Standard Interface" means an interface that either is an official 107 | standard defined by a recognized standards body, or, in the case of 108 | interfaces specified for a particular programming language, one that 109 | is widely used among developers working in that language. 110 | 111 | The "System Libraries" of an executable work include anything, other 112 | than the work as a whole, that (a) is included in the normal form of 113 | packaging a Major Component, but which is not part of that Major 114 | Component, and (b) serves only to enable use of the work with that 115 | Major Component, or to implement a Standard Interface for which an 116 | implementation is available to the public in source code form. A 117 | "Major Component", in this context, means a major essential component 118 | (kernel, window system, and so on) of the specific operating system 119 | (if any) on which the executable work runs, or a compiler used to 120 | produce the work, or an object code interpreter used to run it. 121 | 122 | The "Corresponding Source" for a work in object code form means all 123 | the source code needed to generate, install, and (for an executable 124 | work) run the object code and to modify the work, including scripts to 125 | control those activities. However, it does not include the work's 126 | System Libraries, or general-purpose tools or generally available free 127 | programs which are used unmodified in performing those activities but 128 | which are not part of the work. For example, Corresponding Source 129 | includes interface definition files associated with source files for 130 | the work, and the source code for shared libraries and dynamically 131 | linked subprograms that the work is specifically designed to require, 132 | such as by intimate data communication or control flow between those 133 | subprograms and other parts of the work. 134 | 135 | The Corresponding Source need not include anything that users 136 | can regenerate automatically from other parts of the Corresponding 137 | Source. 138 | 139 | The Corresponding Source for a work in source code form is that 140 | same work. 141 | 142 | 2. Basic Permissions. 143 | 144 | All rights granted under this License are granted for the term of 145 | copyright on the Program, and are irrevocable provided the stated 146 | conditions are met. This License explicitly affirms your unlimited 147 | permission to run the unmodified Program. The output from running a 148 | covered work is covered by this License only if the output, given its 149 | content, constitutes a covered work. This License acknowledges your 150 | rights of fair use or other equivalent, as provided by copyright law. 151 | 152 | You may make, run and propagate covered works that you do not 153 | convey, without conditions so long as your license otherwise remains 154 | in force. You may convey covered works to others for the sole purpose 155 | of having them make modifications exclusively for you, or provide you 156 | with facilities for running those works, provided that you comply with 157 | the terms of this License in conveying all material for which you do 158 | not control copyright. Those thus making or running the covered works 159 | for you must do so exclusively on your behalf, under your direction 160 | and control, on terms that prohibit them from making any copies of 161 | your copyrighted material outside their relationship with you. 162 | 163 | Conveying under any other circumstances is permitted solely under 164 | the conditions stated below. Sublicensing is not allowed; section 10 165 | makes it unnecessary. 166 | 167 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 168 | 169 | No covered work shall be deemed part of an effective technological 170 | measure under any applicable law fulfilling obligations under article 171 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 172 | similar laws prohibiting or restricting circumvention of such 173 | measures. 174 | 175 | When you convey a covered work, you waive any legal power to forbid 176 | circumvention of technological measures to the extent such circumvention 177 | is effected by exercising rights under this License with respect to 178 | the covered work, and you disclaim any intention to limit operation or 179 | modification of the work as a means of enforcing, against the work's 180 | users, your or third parties' legal rights to forbid circumvention of 181 | technological measures. 182 | 183 | 4. Conveying Verbatim Copies. 184 | 185 | You may convey verbatim copies of the Program's source code as you 186 | receive it, in any medium, provided that you conspicuously and 187 | appropriately publish on each copy an appropriate copyright notice; 188 | keep intact all notices stating that this License and any 189 | non-permissive terms added in accord with section 7 apply to the code; 190 | keep intact all notices of the absence of any warranty; and give all 191 | recipients a copy of this License along with the Program. 192 | 193 | You may charge any price or no price for each copy that you convey, 194 | and you may offer support or warranty protection for a fee. 195 | 196 | 5. Conveying Modified Source Versions. 197 | 198 | You may convey a work based on the Program, or the modifications to 199 | produce it from the Program, in the form of source code under the 200 | terms of section 4, provided that you also meet all of these conditions: 201 | 202 | a) The work must carry prominent notices stating that you modified 203 | it, and giving a relevant date. 204 | 205 | b) The work must carry prominent notices stating that it is 206 | released under this License and any conditions added under section 207 | 7. This requirement modifies the requirement in section 4 to 208 | "keep intact all notices". 209 | 210 | c) You must license the entire work, as a whole, under this 211 | License to anyone who comes into possession of a copy. This 212 | License will therefore apply, along with any applicable section 7 213 | additional terms, to the whole of the work, and all its parts, 214 | regardless of how they are packaged. This License gives no 215 | permission to license the work in any other way, but it does not 216 | invalidate such permission if you have separately received it. 217 | 218 | d) If the work has interactive user interfaces, each must display 219 | Appropriate Legal Notices; however, if the Program has interactive 220 | interfaces that do not display Appropriate Legal Notices, your 221 | work need not make them do so. 222 | 223 | A compilation of a covered work with other separate and independent 224 | works, which are not by their nature extensions of the covered work, 225 | and which are not combined with it such as to form a larger program, 226 | in or on a volume of a storage or distribution medium, is called an 227 | "aggregate" if the compilation and its resulting copyright are not 228 | used to limit the access or legal rights of the compilation's users 229 | beyond what the individual works permit. Inclusion of a covered work 230 | in an aggregate does not cause this License to apply to the other 231 | parts of the aggregate. 232 | 233 | 6. Conveying Non-Source Forms. 234 | 235 | You may convey a covered work in object code form under the terms 236 | of sections 4 and 5, provided that you also convey the 237 | machine-readable Corresponding Source under the terms of this License, 238 | in one of these ways: 239 | 240 | a) Convey the object code in, or embodied in, a physical product 241 | (including a physical distribution medium), accompanied by the 242 | Corresponding Source fixed on a durable physical medium 243 | customarily used for software interchange. 244 | 245 | b) Convey the object code in, or embodied in, a physical product 246 | (including a physical distribution medium), accompanied by a 247 | written offer, valid for at least three years and valid for as 248 | long as you offer spare parts or customer support for that product 249 | model, to give anyone who possesses the object code either (1) a 250 | copy of the Corresponding Source for all the software in the 251 | product that is covered by this License, on a durable physical 252 | medium customarily used for software interchange, for a price no 253 | more than your reasonable cost of physically performing this 254 | conveying of source, or (2) access to copy the 255 | Corresponding Source from a network server at no charge. 256 | 257 | c) Convey individual copies of the object code with a copy of the 258 | written offer to provide the Corresponding Source. This 259 | alternative is allowed only occasionally and noncommercially, and 260 | only if you received the object code with such an offer, in accord 261 | with subsection 6b. 262 | 263 | d) Convey the object code by offering access from a designated 264 | place (gratis or for a charge), and offer equivalent access to the 265 | Corresponding Source in the same way through the same place at no 266 | further charge. You need not require recipients to copy the 267 | Corresponding Source along with the object code. If the place to 268 | copy the object code is a network server, the Corresponding Source 269 | may be on a different server (operated by you or a third party) 270 | that supports equivalent copying facilities, provided you maintain 271 | clear directions next to the object code saying where to find the 272 | Corresponding Source. Regardless of what server hosts the 273 | Corresponding Source, you remain obligated to ensure that it is 274 | available for as long as needed to satisfy these requirements. 275 | 276 | e) Convey the object code using peer-to-peer transmission, provided 277 | you inform other peers where the object code and Corresponding 278 | Source of the work are being offered to the general public at no 279 | charge under subsection 6d. 280 | 281 | A separable portion of the object code, whose source code is excluded 282 | from the Corresponding Source as a System Library, need not be 283 | included in conveying the object code work. 284 | 285 | A "User Product" is either (1) a "consumer product", which means any 286 | tangible personal property which is normally used for personal, family, 287 | or household purposes, or (2) anything designed or sold for incorporation 288 | into a dwelling. In determining whether a product is a consumer product, 289 | doubtful cases shall be resolved in favor of coverage. For a particular 290 | product received by a particular user, "normally used" refers to a 291 | typical or common use of that class of product, regardless of the status 292 | of the particular user or of the way in which the particular user 293 | actually uses, or expects or is expected to use, the product. A product 294 | is a consumer product regardless of whether the product has substantial 295 | commercial, industrial or non-consumer uses, unless such uses represent 296 | the only significant mode of use of the product. 297 | 298 | "Installation Information" for a User Product means any methods, 299 | procedures, authorization keys, or other information required to install 300 | and execute modified versions of a covered work in that User Product from 301 | a modified version of its Corresponding Source. The information must 302 | suffice to ensure that the continued functioning of the modified object 303 | code is in no case prevented or interfered with solely because 304 | modification has been made. 305 | 306 | If you convey an object code work under this section in, or with, or 307 | specifically for use in, a User Product, and the conveying occurs as 308 | part of a transaction in which the right of possession and use of the 309 | User Product is transferred to the recipient in perpetuity or for a 310 | fixed term (regardless of how the transaction is characterized), the 311 | Corresponding Source conveyed under this section must be accompanied 312 | by the Installation Information. But this requirement does not apply 313 | if neither you nor any third party retains the ability to install 314 | modified object code on the User Product (for example, the work has 315 | been installed in ROM). 316 | 317 | The requirement to provide Installation Information does not include a 318 | requirement to continue to provide support service, warranty, or updates 319 | for a work that has been modified or installed by the recipient, or for 320 | the User Product in which it has been modified or installed. Access to a 321 | network may be denied when the modification itself materially and 322 | adversely affects the operation of the network or violates the rules and 323 | protocols for communication across the network. 324 | 325 | Corresponding Source conveyed, and Installation Information provided, 326 | in accord with this section must be in a format that is publicly 327 | documented (and with an implementation available to the public in 328 | source code form), and must require no special password or key for 329 | unpacking, reading or copying. 330 | 331 | 7. Additional Terms. 332 | 333 | "Additional permissions" are terms that supplement the terms of this 334 | License by making exceptions from one or more of its conditions. 335 | Additional permissions that are applicable to the entire Program shall 336 | be treated as though they were included in this License, to the extent 337 | that they are valid under applicable law. If additional permissions 338 | apply only to part of the Program, that part may be used separately 339 | under those permissions, but the entire Program remains governed by 340 | this License without regard to the additional permissions. 341 | 342 | When you convey a copy of a covered work, you may at your option 343 | remove any additional permissions from that copy, or from any part of 344 | it. (Additional permissions may be written to require their own 345 | removal in certain cases when you modify the work.) You may place 346 | additional permissions on material, added by you to a covered work, 347 | for which you have or can give appropriate copyright permission. 348 | 349 | Notwithstanding any other provision of this License, for material you 350 | add to a covered work, you may (if authorized by the copyright holders of 351 | that material) supplement the terms of this License with terms: 352 | 353 | a) Disclaiming warranty or limiting liability differently from the 354 | terms of sections 15 and 16 of this License; or 355 | 356 | b) Requiring preservation of specified reasonable legal notices or 357 | author attributions in that material or in the Appropriate Legal 358 | Notices displayed by works containing it; or 359 | 360 | c) Prohibiting misrepresentation of the origin of that material, or 361 | requiring that modified versions of such material be marked in 362 | reasonable ways as different from the original version; or 363 | 364 | d) Limiting the use for publicity purposes of names of licensors or 365 | authors of the material; or 366 | 367 | e) Declining to grant rights under trademark law for use of some 368 | trade names, trademarks, or service marks; or 369 | 370 | f) Requiring indemnification of licensors and authors of that 371 | material by anyone who conveys the material (or modified versions of 372 | it) with contractual assumptions of liability to the recipient, for 373 | any liability that these contractual assumptions directly impose on 374 | those licensors and authors. 375 | 376 | All other non-permissive additional terms are considered "further 377 | restrictions" within the meaning of section 10. If the Program as you 378 | received it, or any part of it, contains a notice stating that it is 379 | governed by this License along with a term that is a further 380 | restriction, you may remove that term. If a license document contains 381 | a further restriction but permits relicensing or conveying under this 382 | License, you may add to a covered work material governed by the terms 383 | of that license document, provided that the further restriction does 384 | not survive such relicensing or conveying. 385 | 386 | If you add terms to a covered work in accord with this section, you 387 | must place, in the relevant source files, a statement of the 388 | additional terms that apply to those files, or a notice indicating 389 | where to find the applicable terms. 390 | 391 | Additional terms, permissive or non-permissive, may be stated in the 392 | form of a separately written license, or stated as exceptions; 393 | the above requirements apply either way. 394 | 395 | 8. Termination. 396 | 397 | You may not propagate or modify a covered work except as expressly 398 | provided under this License. Any attempt otherwise to propagate or 399 | modify it is void, and will automatically terminate your rights under 400 | this License (including any patent licenses granted under the third 401 | paragraph of section 11). 402 | 403 | However, if you cease all violation of this License, then your 404 | license from a particular copyright holder is reinstated (a) 405 | provisionally, unless and until the copyright holder explicitly and 406 | finally terminates your license, and (b) permanently, if the copyright 407 | holder fails to notify you of the violation by some reasonable means 408 | prior to 60 days after the cessation. 409 | 410 | Moreover, your license from a particular copyright holder is 411 | reinstated permanently if the copyright holder notifies you of the 412 | violation by some reasonable means, this is the first time you have 413 | received notice of violation of this License (for any work) from that 414 | copyright holder, and you cure the violation prior to 30 days after 415 | your receipt of the notice. 416 | 417 | Termination of your rights under this section does not terminate the 418 | licenses of parties who have received copies or rights from you under 419 | this License. If your rights have been terminated and not permanently 420 | reinstated, you do not qualify to receive new licenses for the same 421 | material under section 10. 422 | 423 | 9. Acceptance Not Required for Having Copies. 424 | 425 | You are not required to accept this License in order to receive or 426 | run a copy of the Program. Ancillary propagation of a covered work 427 | occurring solely as a consequence of using peer-to-peer transmission 428 | to receive a copy likewise does not require acceptance. However, 429 | nothing other than this License grants you permission to propagate or 430 | modify any covered work. These actions infringe copyright if you do 431 | not accept this License. Therefore, by modifying or propagating a 432 | covered work, you indicate your acceptance of this License to do so. 433 | 434 | 10. Automatic Licensing of Downstream Recipients. 435 | 436 | Each time you convey a covered work, the recipient automatically 437 | receives a license from the original licensors, to run, modify and 438 | propagate that work, subject to this License. You are not responsible 439 | for enforcing compliance by third parties with this License. 440 | 441 | An "entity transaction" is a transaction transferring control of an 442 | organization, or substantially all assets of one, or subdividing an 443 | organization, or merging organizations. If propagation of a covered 444 | work results from an entity transaction, each party to that 445 | transaction who receives a copy of the work also receives whatever 446 | licenses to the work the party's predecessor in interest had or could 447 | give under the previous paragraph, plus a right to possession of the 448 | Corresponding Source of the work from the predecessor in interest, if 449 | the predecessor has it or can get it with reasonable efforts. 450 | 451 | You may not impose any further restrictions on the exercise of the 452 | rights granted or affirmed under this License. For example, you may 453 | not impose a license fee, royalty, or other charge for exercise of 454 | rights granted under this License, and you may not initiate litigation 455 | (including a cross-claim or counterclaim in a lawsuit) alleging that 456 | any patent claim is infringed by making, using, selling, offering for 457 | sale, or importing the Program or any portion of it. 458 | 459 | 11. Patents. 460 | 461 | A "contributor" is a copyright holder who authorizes use under this 462 | License of the Program or a work on which the Program is based. The 463 | work thus licensed is called the contributor's "contributor version". 464 | 465 | A contributor's "essential patent claims" are all patent claims 466 | owned or controlled by the contributor, whether already acquired or 467 | hereafter acquired, that would be infringed by some manner, permitted 468 | by this License, of making, using, or selling its contributor version, 469 | but do not include claims that would be infringed only as a 470 | consequence of further modification of the contributor version. For 471 | purposes of this definition, "control" includes the right to grant 472 | patent sublicenses in a manner consistent with the requirements of 473 | this License. 474 | 475 | Each contributor grants you a non-exclusive, worldwide, royalty-free 476 | patent license under the contributor's essential patent claims, to 477 | make, use, sell, offer for sale, import and otherwise run, modify and 478 | propagate the contents of its contributor version. 479 | 480 | In the following three paragraphs, a "patent license" is any express 481 | agreement or commitment, however denominated, not to enforce a patent 482 | (such as an express permission to practice a patent or covenant not to 483 | sue for patent infringement). To "grant" such a patent license to a 484 | party means to make such an agreement or commitment not to enforce a 485 | patent against the party. 486 | 487 | If you convey a covered work, knowingly relying on a patent license, 488 | and the Corresponding Source of the work is not available for anyone 489 | to copy, free of charge and under the terms of this License, through a 490 | publicly available network server or other readily accessible means, 491 | then you must either (1) cause the Corresponding Source to be so 492 | available, or (2) arrange to deprive yourself of the benefit of the 493 | patent license for this particular work, or (3) arrange, in a manner 494 | consistent with the requirements of this License, to extend the patent 495 | license to downstream recipients. "Knowingly relying" means you have 496 | actual knowledge that, but for the patent license, your conveying the 497 | covered work in a country, or your recipient's use of the covered work 498 | in a country, would infringe one or more identifiable patents in that 499 | country that you have reason to believe are valid. 500 | 501 | If, pursuant to or in connection with a single transaction or 502 | arrangement, you convey, or propagate by procuring conveyance of, a 503 | covered work, and grant a patent license to some of the parties 504 | receiving the covered work authorizing them to use, propagate, modify 505 | or convey a specific copy of the covered work, then the patent license 506 | you grant is automatically extended to all recipients of the covered 507 | work and works based on it. 508 | 509 | A patent license is "discriminatory" if it does not include within 510 | the scope of its coverage, prohibits the exercise of, or is 511 | conditioned on the non-exercise of one or more of the rights that are 512 | specifically granted under this License. You may not convey a covered 513 | work if you are a party to an arrangement with a third party that is 514 | in the business of distributing software, under which you make payment 515 | to the third party based on the extent of your activity of conveying 516 | the work, and under which the third party grants, to any of the 517 | parties who would receive the covered work from you, a discriminatory 518 | patent license (a) in connection with copies of the covered work 519 | conveyed by you (or copies made from those copies), or (b) primarily 520 | for and in connection with specific products or compilations that 521 | contain the covered work, unless you entered into that arrangement, 522 | or that patent license was granted, prior to 28 March 2007. 523 | 524 | Nothing in this License shall be construed as excluding or limiting 525 | any implied license or other defenses to infringement that may 526 | otherwise be available to you under applicable patent law. 527 | 528 | 12. No Surrender of Others' Freedom. 529 | 530 | If conditions are imposed on you (whether by court order, agreement or 531 | otherwise) that contradict the conditions of this License, they do not 532 | excuse you from the conditions of this License. If you cannot convey a 533 | covered work so as to satisfy simultaneously your obligations under this 534 | License and any other pertinent obligations, then as a consequence you may 535 | not convey it at all. For example, if you agree to terms that obligate you 536 | to collect a royalty for further conveying from those to whom you convey 537 | the Program, the only way you could satisfy both those terms and this 538 | License would be to refrain entirely from conveying the Program. 539 | 540 | 13. Remote Network Interaction; Use with the GNU General Public License. 541 | 542 | Notwithstanding any other provision of this License, if you modify the 543 | Program, your modified version must prominently offer all users 544 | interacting with it remotely through a computer network (if your version 545 | supports such interaction) an opportunity to receive the Corresponding 546 | Source of your version by providing access to the Corresponding Source 547 | from a network server at no charge, through some standard or customary 548 | means of facilitating copying of software. This Corresponding Source 549 | shall include the Corresponding Source for any work covered by version 3 550 | of the GNU General Public License that is incorporated pursuant to the 551 | following paragraph. 552 | 553 | Notwithstanding any other provision of this License, you have 554 | permission to link or combine any covered work with a work licensed 555 | under version 3 of the GNU General Public License into a single 556 | combined work, and to convey the resulting work. The terms of this 557 | License will continue to apply to the part which is the covered work, 558 | but the work with which it is combined will remain governed by version 559 | 3 of the GNU General Public License. 560 | 561 | 14. Revised Versions of this License. 562 | 563 | The Free Software Foundation may publish revised and/or new versions of 564 | the GNU Affero General Public License from time to time. Such new versions 565 | will be similar in spirit to the present version, but may differ in detail to 566 | address new problems or concerns. 567 | 568 | Each version is given a distinguishing version number. If the 569 | Program specifies that a certain numbered version of the GNU Affero General 570 | Public License "or any later version" applies to it, you have the 571 | option of following the terms and conditions either of that numbered 572 | version or of any later version published by the Free Software 573 | Foundation. If the Program does not specify a version number of the 574 | GNU Affero General Public License, you may choose any version ever published 575 | by the Free Software Foundation. 576 | 577 | If the Program specifies that a proxy can decide which future 578 | versions of the GNU Affero General Public License can be used, that proxy's 579 | public statement of acceptance of a version permanently authorizes you 580 | to choose that version for the Program. 581 | 582 | Later license versions may give you additional or different 583 | permissions. However, no additional obligations are imposed on any 584 | author or copyright holder as a result of your choosing to follow a 585 | later version. 586 | 587 | 15. Disclaimer of Warranty. 588 | 589 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 590 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 591 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 592 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 593 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 594 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 595 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 596 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 597 | 598 | 16. Limitation of Liability. 599 | 600 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 601 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 602 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 603 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 604 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 605 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 606 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 607 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 608 | SUCH DAMAGES. 609 | 610 | 17. Interpretation of Sections 15 and 16. 611 | 612 | If the disclaimer of warranty and limitation of liability provided 613 | above cannot be given local legal effect according to their terms, 614 | reviewing courts shall apply local law that most closely approximates 615 | an absolute waiver of all civil liability in connection with the 616 | Program, unless a warranty or assumption of liability accompanies a 617 | copy of the Program in return for a fee. 618 | 619 | END OF TERMS AND CONDITIONS 620 | 621 | How to Apply These Terms to Your New Programs 622 | 623 | If you develop a new program, and you want it to be of the greatest 624 | possible use to the public, the best way to achieve this is to make it 625 | free software which everyone can redistribute and change under these terms. 626 | 627 | To do so, attach the following notices to the program. It is safest 628 | to attach them to the start of each source file to most effectively 629 | state the exclusion of warranty; and each file should have at least 630 | the "copyright" line and a pointer to where the full notice is found. 631 | 632 | 633 | Copyright (C) 634 | 635 | This program is free software: you can redistribute it and/or modify 636 | it under the terms of the GNU Affero General Public License as published 637 | by the Free Software Foundation, either version 3 of the License, or 638 | (at your option) any later version. 639 | 640 | This program is distributed in the hope that it will be useful, 641 | but WITHOUT ANY WARRANTY; without even the implied warranty of 642 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 643 | GNU Affero General Public License for more details. 644 | 645 | You should have received a copy of the GNU Affero General Public License 646 | along with this program. If not, see . 647 | 648 | Also add information on how to contact you by electronic and paper mail. 649 | 650 | If your software can interact with users remotely through a computer 651 | network, you should also make sure that it provides a way for users to 652 | get its source. For example, if your program is a web application, its 653 | interface could display a "Source" link that leads users to an archive 654 | of the code. There are many ways you could offer source, and different 655 | solutions will be better for different programs; see section 13 for the 656 | specific requirements. 657 | 658 | You should also get your employer (if you work as a programmer) or school, 659 | if any, to sign a "copyright disclaimer" for the program, if necessary. 660 | For more information on this, and how to apply and follow the GNU AGPL, see 661 | . 662 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | "@types/debug@^4.1.7": 6 | version "4.1.7" 7 | resolved "https://registry.yarnpkg.com/@types/debug/-/debug-4.1.7.tgz#7cc0ea761509124709b8b2d1090d8f6c17aadb82" 8 | integrity sha512-9AonUzyTjXXhEOa0DnqpzZi6VHlqKMswga9EXjpXnnqxwLtdvPPtlO8evrI5D9S6asFRCQ6v+wpiUKbw+vKqyg== 9 | dependencies: 10 | "@types/ms" "*" 11 | 12 | "@types/events@*": 13 | version "3.0.0" 14 | resolved "https://registry.yarnpkg.com/@types/events/-/events-3.0.0.tgz#2862f3f58a9a7f7c3e78d79f130dd4d71c25c2a7" 15 | integrity sha512-EaObqwIvayI5a8dCzhFrjKzVwKLxjoG9T6Ppd5CEo07LRKfQ8Yokw54r5+Wq7FaBQ+yXRvQAYPrHwya1/UFt9g== 16 | 17 | "@types/formidable@^1.0.31": 18 | version "1.0.31" 19 | resolved "https://registry.yarnpkg.com/@types/formidable/-/formidable-1.0.31.tgz#274f9dc2d0a1a9ce1feef48c24ca0859e7ec947b" 20 | integrity sha512-dIhM5t8lRP0oWe2HF8MuPvdd1TpPTjhDMAqemcq6oIZQCBQTovhBAdTQ5L5veJB4pdQChadmHuxtB0YzqvfU3Q== 21 | dependencies: 22 | "@types/events" "*" 23 | "@types/node" "*" 24 | 25 | "@types/ms@*": 26 | version "0.7.31" 27 | resolved "https://registry.yarnpkg.com/@types/ms/-/ms-0.7.31.tgz#31b7ca6407128a3d2bbc27fe2d21b345397f6197" 28 | integrity sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA== 29 | 30 | "@types/node@*": 31 | version "12.12.17" 32 | resolved "https://registry.yarnpkg.com/@types/node/-/node-12.12.17.tgz#191b71e7f4c325ee0fb23bc4a996477d92b8c39b" 33 | integrity sha512-Is+l3mcHvs47sKy+afn2O1rV4ldZFU7W8101cNlOd+MRbjM4Onida8jSZnJdTe/0Pcf25g9BNIUsuugmE6puHA== 34 | 35 | "@types/validator@^13.7.1": 36 | version "13.7.12" 37 | resolved "https://registry.yarnpkg.com/@types/validator/-/validator-13.7.12.tgz#a285379b432cc8d103b69d223cbb159a253cf2f7" 38 | integrity sha512-YVtyAPqpefU+Mm/qqnOANW6IkqKpCSrarcyV269C8MA8Ux0dbkEuQwM/4CjL47kVEM2LgBef/ETfkH+c6+moFA== 39 | 40 | accepts@^1.3.5: 41 | version "1.3.7" 42 | resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.7.tgz#531bc726517a3b2b41f850021c6cc15eaab507cd" 43 | integrity sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA== 44 | dependencies: 45 | mime-types "~2.1.24" 46 | negotiator "0.6.2" 47 | 48 | ansi-regex@^2.0.0: 49 | version "2.1.1" 50 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" 51 | integrity sha1-w7M6te42DYbg5ijwRorn7yfWVN8= 52 | 53 | ansi-regex@^3.0.0: 54 | version "3.0.0" 55 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998" 56 | integrity sha1-7QMXwyIGT3lGbAKWa922Bas32Zg= 57 | 58 | any-promise@^1.1.0: 59 | version "1.3.0" 60 | resolved "https://registry.yarnpkg.com/any-promise/-/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f" 61 | integrity sha1-q8av7tzqUugJzcA3au0845Y10X8= 62 | 63 | aproba@^1.0.3: 64 | version "1.2.0" 65 | resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" 66 | integrity sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw== 67 | 68 | are-we-there-yet@~1.1.2: 69 | version "1.1.5" 70 | resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz#4b35c2944f062a8bfcda66410760350fe9ddfc21" 71 | integrity sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w== 72 | dependencies: 73 | delegates "^1.0.0" 74 | readable-stream "^2.0.6" 75 | 76 | asn1.js@^5.0.1: 77 | version "5.2.0" 78 | resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-5.2.0.tgz#292c0357f26a47802ac9727e8772c09c7fc9bd85" 79 | integrity sha512-Q7hnYGGNYbcmGrCPulXfkEw7oW7qjWeM4ZTALmgpuIcZLxyqqKYWxCZg2UBm8bklrnB4m2mGyJPWfoktdORD8A== 80 | dependencies: 81 | bn.js "^4.0.0" 82 | inherits "^2.0.1" 83 | minimalistic-assert "^1.0.0" 84 | 85 | axios@^0.21.1: 86 | version "0.21.1" 87 | resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.1.tgz#22563481962f4d6bde9a76d516ef0e5d3c09b2b8" 88 | integrity sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA== 89 | dependencies: 90 | follow-redirects "^1.10.0" 91 | 92 | bn.js@^4.0.0: 93 | version "4.11.8" 94 | resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" 95 | integrity sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA== 96 | 97 | buffer-equal-constant-time@1.0.1: 98 | version "1.0.1" 99 | resolved "https://registry.yarnpkg.com/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz#f8e71132f7ffe6e01a5c9697a4c6f3e48d5cc819" 100 | integrity sha1-+OcRMvf/5uAaXJaXpMbz5I1cyBk= 101 | 102 | buffer-writer@2.0.0: 103 | version "2.0.0" 104 | resolved "https://registry.yarnpkg.com/buffer-writer/-/buffer-writer-2.0.0.tgz#ce7eb81a38f7829db09c873f2fbb792c0c98ec04" 105 | integrity sha512-a7ZpuTZU1TRtnwyCNW3I5dc0wWNC3VR9S++Ewyk2HHZdrO3CQJqSpd+95Us590V6AL7JqUAH2IwZ/398PmNFgw== 106 | 107 | bytes@3.1.0: 108 | version "3.1.0" 109 | resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.0.tgz#f6cf7933a360e0588fa9fde85651cdc7f805d1f6" 110 | integrity sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg== 111 | 112 | cache-content-type@^1.0.0: 113 | version "1.0.1" 114 | resolved "https://registry.yarnpkg.com/cache-content-type/-/cache-content-type-1.0.1.tgz#035cde2b08ee2129f4a8315ea8f00a00dba1453c" 115 | integrity sha512-IKufZ1o4Ut42YUrZSo8+qnMTrFuKkvyoLXUywKz9GJ5BrhOFGhLdkx9sG4KAnVvbY6kEcSFjLQul+DVmBm2bgA== 116 | dependencies: 117 | mime-types "^2.1.18" 118 | ylru "^1.2.0" 119 | 120 | co-body@^5.1.1: 121 | version "5.2.0" 122 | resolved "https://registry.yarnpkg.com/co-body/-/co-body-5.2.0.tgz#5a0a658c46029131e0e3a306f67647302f71c124" 123 | integrity sha512-sX/LQ7LqUhgyaxzbe7IqwPeTr2yfpfUIQ/dgpKo6ZI4y4lpQA0YxAomWIY+7I7rHWcG02PG+OuPREzMW/5tszQ== 124 | dependencies: 125 | inflation "^2.0.0" 126 | qs "^6.4.0" 127 | raw-body "^2.2.0" 128 | type-is "^1.6.14" 129 | 130 | co@^4.6.0: 131 | version "4.6.0" 132 | resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" 133 | integrity sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ= 134 | 135 | code-point-at@^1.0.0: 136 | version "1.1.0" 137 | resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" 138 | integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c= 139 | 140 | console-control-strings@^1.0.0, console-control-strings@~1.1.0: 141 | version "1.1.0" 142 | resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" 143 | integrity sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4= 144 | 145 | content-disposition@~0.5.2: 146 | version "0.5.3" 147 | resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.3.tgz#e130caf7e7279087c5616c2007d0485698984fbd" 148 | integrity sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g== 149 | dependencies: 150 | safe-buffer "5.1.2" 151 | 152 | content-type@^1.0.4: 153 | version "1.0.4" 154 | resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" 155 | integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA== 156 | 157 | cookies@~0.8.0: 158 | version "0.8.0" 159 | resolved "https://registry.yarnpkg.com/cookies/-/cookies-0.8.0.tgz#1293ce4b391740a8406e3c9870e828c4b54f3f90" 160 | integrity sha512-8aPsApQfebXnuI+537McwYsDtjVxGm8gTIzQI3FDW6t5t/DAhERxtnbEPN/8RX+uZthoz4eCOgloXaE5cYyNow== 161 | dependencies: 162 | depd "~2.0.0" 163 | keygrip "~1.1.0" 164 | 165 | core-util-is@~1.0.0: 166 | version "1.0.2" 167 | resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" 168 | integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac= 169 | 170 | debug@^4.3.3: 171 | version "4.3.4" 172 | resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" 173 | integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== 174 | dependencies: 175 | ms "2.1.2" 176 | 177 | debug@~3.1.0: 178 | version "3.1.0" 179 | resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" 180 | integrity sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g== 181 | dependencies: 182 | ms "2.0.0" 183 | 184 | deep-equal@~1.0.1: 185 | version "1.0.1" 186 | resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-1.0.1.tgz#f5d260292b660e084eff4cdbc9f08ad3247448b5" 187 | integrity sha1-9dJgKStmDghO/0zbyfCK0yR0SLU= 188 | 189 | delegates@^1.0.0: 190 | version "1.0.0" 191 | resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" 192 | integrity sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o= 193 | 194 | depd@^1.1.2, depd@~1.1.2: 195 | version "1.1.2" 196 | resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" 197 | integrity sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak= 198 | 199 | depd@~2.0.0: 200 | version "2.0.0" 201 | resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" 202 | integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== 203 | 204 | destroy@^1.0.4: 205 | version "1.0.4" 206 | resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80" 207 | integrity sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA= 208 | 209 | dotenv@^6.2.0: 210 | version "6.2.0" 211 | resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-6.2.0.tgz#941c0410535d942c8becf28d3f357dbd9d476064" 212 | integrity sha512-HygQCKUBSFl8wKQZBSemMywRWcEDNidvNbjGVyZu3nbZ8qq9ubiPoGLMdRDpfSrpkkm9BXYFkpKxxFX38o/76w== 213 | 214 | dottie@^2.0.2: 215 | version "2.0.3" 216 | resolved "https://registry.yarnpkg.com/dottie/-/dottie-2.0.3.tgz#797a4f4c92a9a65499806be4051b9d9dcd5a5d77" 217 | integrity sha512-4liA0PuRkZWQFQjwBypdxPfZaRWiv5tkhMXY2hzsa2pNf5s7U3m9cwUchfNKe8wZQxdGPQQzO6Rm2uGe0rvohQ== 218 | 219 | ecdsa-sig-formatter@1.0.11: 220 | version "1.0.11" 221 | resolved "https://registry.yarnpkg.com/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz#ae0f0fa2d85045ef14a817daa3ce9acd0489e5bf" 222 | integrity sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ== 223 | dependencies: 224 | safe-buffer "^5.0.1" 225 | 226 | ee-first@1.1.1: 227 | version "1.1.1" 228 | resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" 229 | integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= 230 | 231 | encodeurl@^1.0.2: 232 | version "1.0.2" 233 | resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" 234 | integrity sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k= 235 | 236 | error-inject@^1.0.0: 237 | version "1.0.0" 238 | resolved "https://registry.yarnpkg.com/error-inject/-/error-inject-1.0.0.tgz#e2b3d91b54aed672f309d950d154850fa11d4f37" 239 | integrity sha1-4rPZG1Su1nLzCdlQ0VSFD6EdTzc= 240 | 241 | escape-html@^1.0.3: 242 | version "1.0.3" 243 | resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" 244 | integrity sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg= 245 | 246 | follow-redirects@^1.10.0: 247 | version "1.13.1" 248 | resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.13.1.tgz#5f69b813376cee4fd0474a3aba835df04ab763b7" 249 | integrity sha512-SSG5xmZh1mkPGyKzjZP8zLjltIfpW32Y5QpdNJyjcfGxK3qo3NDDkZOZSFiGn1A6SclQxY9GzEwAHQ3dmYRWpg== 250 | 251 | formidable@^1.1.1: 252 | version "1.2.1" 253 | resolved "https://registry.yarnpkg.com/formidable/-/formidable-1.2.1.tgz#70fb7ca0290ee6ff961090415f4b3df3d2082659" 254 | integrity sha512-Fs9VRguL0gqGHkXS5GQiMCr1VhZBxz0JnJs4JmMp/2jL18Fmbzvv7vOFRU+U8TBkHEE/CX1qDXzJplVULgsLeg== 255 | 256 | fresh@~0.5.2: 257 | version "0.5.2" 258 | resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" 259 | integrity sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac= 260 | 261 | gauge@~2.7.3: 262 | version "2.7.4" 263 | resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7" 264 | integrity sha1-LANAXHU4w51+s3sxcCLjJfsBi/c= 265 | dependencies: 266 | aproba "^1.0.3" 267 | console-control-strings "^1.0.0" 268 | has-unicode "^2.0.0" 269 | object-assign "^4.1.0" 270 | signal-exit "^3.0.0" 271 | string-width "^1.0.1" 272 | strip-ansi "^3.0.1" 273 | wide-align "^1.1.0" 274 | 275 | has-unicode@^2.0.0: 276 | version "2.0.1" 277 | resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" 278 | integrity sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk= 279 | 280 | http-assert@^1.3.0: 281 | version "1.4.1" 282 | resolved "https://registry.yarnpkg.com/http-assert/-/http-assert-1.4.1.tgz#c5f725d677aa7e873ef736199b89686cceb37878" 283 | integrity sha512-rdw7q6GTlibqVVbXr0CKelfV5iY8G2HqEUkhSk297BMbSpSL8crXC+9rjKoMcZZEsksX30le6f/4ul4E28gegw== 284 | dependencies: 285 | deep-equal "~1.0.1" 286 | http-errors "~1.7.2" 287 | 288 | http-errors@1.7.3, http-errors@^1.6.3, http-errors@~1.7.2: 289 | version "1.7.3" 290 | resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.7.3.tgz#6c619e4f9c60308c38519498c14fbb10aacebb06" 291 | integrity sha512-ZTTX0MWrsQ2ZAhA1cejAwDLycFsd7I7nVtnkT3Ol0aqodaKW+0CTZDQ1uBv5whptCnc8e8HeRRJxRs0kmm/Qfw== 292 | dependencies: 293 | depd "~1.1.2" 294 | inherits "2.0.4" 295 | setprototypeof "1.1.1" 296 | statuses ">= 1.5.0 < 2" 297 | toidentifier "1.0.0" 298 | 299 | iconv-lite@0.4.24: 300 | version "0.4.24" 301 | resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" 302 | integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== 303 | dependencies: 304 | safer-buffer ">= 2.1.2 < 3" 305 | 306 | inflation@^2.0.0: 307 | version "2.0.0" 308 | resolved "https://registry.yarnpkg.com/inflation/-/inflation-2.0.0.tgz#8b417e47c28f925a45133d914ca1fd389107f30f" 309 | integrity sha1-i0F+R8KPklpFEz2RTKH9OJEH8w8= 310 | 311 | inflection@^1.13.2: 312 | version "1.13.4" 313 | resolved "https://registry.yarnpkg.com/inflection/-/inflection-1.13.4.tgz#65aa696c4e2da6225b148d7a154c449366633a32" 314 | integrity sha512-6I/HUDeYFfuNCVS3td055BaXBwKYuzw7K3ExVMStBowKo9oOAMJIXIHvdyR3iboTCp1b+1i5DSkIZTcwIktuDw== 315 | 316 | inherits@2.0.4, inherits@^2.0.1, inherits@~2.0.3: 317 | version "2.0.4" 318 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" 319 | integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== 320 | 321 | is-fullwidth-code-point@^1.0.0: 322 | version "1.0.0" 323 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" 324 | integrity sha1-754xOG8DGn8NZDr4L95QxFfvAMs= 325 | dependencies: 326 | number-is-nan "^1.0.0" 327 | 328 | is-fullwidth-code-point@^2.0.0: 329 | version "2.0.0" 330 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" 331 | integrity sha1-o7MKXE8ZkYMWeqq5O+764937ZU8= 332 | 333 | is-generator-function@^1.0.7: 334 | version "1.0.7" 335 | resolved "https://registry.yarnpkg.com/is-generator-function/-/is-generator-function-1.0.7.tgz#d2132e529bb0000a7f80794d4bdf5cd5e5813522" 336 | integrity sha512-YZc5EwyO4f2kWCax7oegfuSr9mFz1ZvieNYBEjmukLxgXfBUbxAWGVF7GZf0zidYtoBl3WvC07YK0wT76a+Rtw== 337 | 338 | isarray@~1.0.0: 339 | version "1.0.0" 340 | resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" 341 | integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE= 342 | 343 | jsonwebtoken@^8.4.0: 344 | version "8.5.1" 345 | resolved "https://registry.yarnpkg.com/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz#00e71e0b8df54c2121a1f26137df2280673bcc0d" 346 | integrity sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w== 347 | dependencies: 348 | jws "^3.2.2" 349 | lodash.includes "^4.3.0" 350 | lodash.isboolean "^3.0.3" 351 | lodash.isinteger "^4.0.4" 352 | lodash.isnumber "^3.0.3" 353 | lodash.isplainobject "^4.0.6" 354 | lodash.isstring "^4.0.1" 355 | lodash.once "^4.0.0" 356 | ms "^2.1.1" 357 | semver "^5.6.0" 358 | 359 | jwa@^1.4.1: 360 | version "1.4.1" 361 | resolved "https://registry.yarnpkg.com/jwa/-/jwa-1.4.1.tgz#743c32985cb9e98655530d53641b66c8645b039a" 362 | integrity sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA== 363 | dependencies: 364 | buffer-equal-constant-time "1.0.1" 365 | ecdsa-sig-formatter "1.0.11" 366 | safe-buffer "^5.0.1" 367 | 368 | jws@^3.2.2: 369 | version "3.2.2" 370 | resolved "https://registry.yarnpkg.com/jws/-/jws-3.2.2.tgz#001099f3639468c9414000e99995fa52fb478304" 371 | integrity sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA== 372 | dependencies: 373 | jwa "^1.4.1" 374 | safe-buffer "^5.0.1" 375 | 376 | keygrip@~1.1.0: 377 | version "1.1.0" 378 | resolved "https://registry.yarnpkg.com/keygrip/-/keygrip-1.1.0.tgz#871b1681d5e159c62a445b0c74b615e0917e7226" 379 | integrity sha512-iYSchDJ+liQ8iwbSI2QqsQOvqv58eJCEanyJPJi+Khyu8smkcKSFUCbPwzFcL7YVtZ6eONjqRX/38caJ7QjRAQ== 380 | dependencies: 381 | tsscmp "1.0.6" 382 | 383 | koa-body@^4.0.7: 384 | version "4.1.1" 385 | resolved "https://registry.yarnpkg.com/koa-body/-/koa-body-4.1.1.tgz#50686d290891fc6f1acb986cf7cfcd605f855ef0" 386 | integrity sha512-rLb/KVD8qplEcK8Qsu6F4Xw+uHkmx3MWogDVmMX07DpjXizhw3pOEp1ja1MqqAcl0ei75AsrbGVDlySmsUrreA== 387 | dependencies: 388 | "@types/formidable" "^1.0.31" 389 | co-body "^5.1.1" 390 | formidable "^1.1.1" 391 | 392 | koa-compose@^3.0.0: 393 | version "3.2.1" 394 | resolved "https://registry.yarnpkg.com/koa-compose/-/koa-compose-3.2.1.tgz#a85ccb40b7d986d8e5a345b3a1ace8eabcf54de7" 395 | integrity sha1-qFzLQLfZhtjlo0Wzoazo6rz1Tec= 396 | dependencies: 397 | any-promise "^1.1.0" 398 | 399 | koa-compose@^4.1.0: 400 | version "4.1.0" 401 | resolved "https://registry.yarnpkg.com/koa-compose/-/koa-compose-4.1.0.tgz#507306b9371901db41121c812e923d0d67d3e877" 402 | integrity sha512-8ODW8TrDuMYvXRwra/Kh7/rJo9BtOfPc6qO8eAfC80CnCvSjSl0bkRM24X6/XBBEyj0v1nRUQ1LyOy3dbqOWXw== 403 | 404 | koa-convert@^1.2.0: 405 | version "1.2.0" 406 | resolved "https://registry.yarnpkg.com/koa-convert/-/koa-convert-1.2.0.tgz#da40875df49de0539098d1700b50820cebcd21d0" 407 | integrity sha1-2kCHXfSd4FOQmNFwC1CCDOvNIdA= 408 | dependencies: 409 | co "^4.6.0" 410 | koa-compose "^3.0.0" 411 | 412 | koa@^2.7.0: 413 | version "2.11.0" 414 | resolved "https://registry.yarnpkg.com/koa/-/koa-2.11.0.tgz#fe5a51c46f566d27632dd5dc8fd5d7dd44f935a4" 415 | integrity sha512-EpR9dElBTDlaDgyhDMiLkXrPwp6ZqgAIBvhhmxQ9XN4TFgW+gEz6tkcsNI6BnUbUftrKDjVFj4lW2/J2aNBMMA== 416 | dependencies: 417 | accepts "^1.3.5" 418 | cache-content-type "^1.0.0" 419 | content-disposition "~0.5.2" 420 | content-type "^1.0.4" 421 | cookies "~0.8.0" 422 | debug "~3.1.0" 423 | delegates "^1.0.0" 424 | depd "^1.1.2" 425 | destroy "^1.0.4" 426 | encodeurl "^1.0.2" 427 | error-inject "^1.0.0" 428 | escape-html "^1.0.3" 429 | fresh "~0.5.2" 430 | http-assert "^1.3.0" 431 | http-errors "^1.6.3" 432 | is-generator-function "^1.0.7" 433 | koa-compose "^4.1.0" 434 | koa-convert "^1.2.0" 435 | on-finished "^2.3.0" 436 | only "~0.0.2" 437 | parseurl "^1.3.2" 438 | statuses "^1.5.0" 439 | type-is "^1.6.16" 440 | vary "^1.1.2" 441 | 442 | lodash.includes@^4.3.0: 443 | version "4.3.0" 444 | resolved "https://registry.yarnpkg.com/lodash.includes/-/lodash.includes-4.3.0.tgz#60bb98a87cb923c68ca1e51325483314849f553f" 445 | integrity sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8= 446 | 447 | lodash.isboolean@^3.0.3: 448 | version "3.0.3" 449 | resolved "https://registry.yarnpkg.com/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz#6c2e171db2a257cd96802fd43b01b20d5f5870f6" 450 | integrity sha1-bC4XHbKiV82WgC/UOwGyDV9YcPY= 451 | 452 | lodash.isinteger@^4.0.4: 453 | version "4.0.4" 454 | resolved "https://registry.yarnpkg.com/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz#619c0af3d03f8b04c31f5882840b77b11cd68343" 455 | integrity sha1-YZwK89A/iwTDH1iChAt3sRzWg0M= 456 | 457 | lodash.isnumber@^3.0.3: 458 | version "3.0.3" 459 | resolved "https://registry.yarnpkg.com/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz#3ce76810c5928d03352301ac287317f11c0b1ffc" 460 | integrity sha1-POdoEMWSjQM1IwGsKHMX8RwLH/w= 461 | 462 | lodash.isplainobject@^4.0.6: 463 | version "4.0.6" 464 | resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb" 465 | integrity sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs= 466 | 467 | lodash.isstring@^4.0.1: 468 | version "4.0.1" 469 | resolved "https://registry.yarnpkg.com/lodash.isstring/-/lodash.isstring-4.0.1.tgz#d527dfb5456eca7cc9bb95d5daeaf88ba54a5451" 470 | integrity sha1-1SfftUVuynzJu5XV2ur4i6VKVFE= 471 | 472 | lodash.once@^4.0.0: 473 | version "4.1.1" 474 | resolved "https://registry.yarnpkg.com/lodash.once/-/lodash.once-4.1.1.tgz#0dd3971213c7c56df880977d504c88fb471a97ac" 475 | integrity sha1-DdOXEhPHxW34gJd9UEyI+0cal6w= 476 | 477 | lodash@^4.17.21: 478 | version "4.17.21" 479 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" 480 | integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== 481 | 482 | lru-cache@^6.0.0: 483 | version "6.0.0" 484 | resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" 485 | integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== 486 | dependencies: 487 | yallist "^4.0.0" 488 | 489 | media-typer@0.3.0: 490 | version "0.3.0" 491 | resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" 492 | integrity sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g= 493 | 494 | mime-db@1.42.0: 495 | version "1.42.0" 496 | resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.42.0.tgz#3e252907b4c7adb906597b4b65636272cf9e7bac" 497 | integrity sha512-UbfJCR4UAVRNgMpfImz05smAXK7+c+ZntjaA26ANtkXLlOe947Aag5zdIcKQULAiF9Cq4WxBi9jUs5zkA84bYQ== 498 | 499 | mime-types@^2.1.18, mime-types@~2.1.24: 500 | version "2.1.25" 501 | resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.25.tgz#39772d46621f93e2a80a856c53b86a62156a6437" 502 | integrity sha512-5KhStqB5xpTAeGqKBAMgwaYMnQik7teQN4IAzC7npDv6kzeU6prfkR67bc87J1kWMPGkoaZSq1npmexMgkmEVg== 503 | dependencies: 504 | mime-db "1.42.0" 505 | 506 | minimalistic-assert@^1.0.0: 507 | version "1.0.1" 508 | resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" 509 | integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== 510 | 511 | moment-timezone@^0.5.35: 512 | version "0.5.40" 513 | resolved "https://registry.yarnpkg.com/moment-timezone/-/moment-timezone-0.5.40.tgz#c148f5149fd91dd3e29bf481abc8830ecba16b89" 514 | integrity sha512-tWfmNkRYmBkPJz5mr9GVDn9vRlVZOTe6yqY92rFxiOdWXbjaR0+9LwQnZGGuNR63X456NqmEkbskte8tWL5ePg== 515 | dependencies: 516 | moment ">= 2.9.0" 517 | 518 | "moment@>= 2.9.0", moment@^2.29.1: 519 | version "2.29.4" 520 | resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.4.tgz#3dbe052889fe7c1b2ed966fcb3a77328964ef108" 521 | integrity sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w== 522 | 523 | ms@2.0.0: 524 | version "2.0.0" 525 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" 526 | integrity sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g= 527 | 528 | ms@2.1.2, ms@^2.1.1: 529 | version "2.1.2" 530 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" 531 | integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== 532 | 533 | negotiator@0.6.2: 534 | version "0.6.2" 535 | resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb" 536 | integrity sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw== 537 | 538 | npmlog@^4.1.2: 539 | version "4.1.2" 540 | resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" 541 | integrity sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg== 542 | dependencies: 543 | are-we-there-yet "~1.1.2" 544 | console-control-strings "~1.1.0" 545 | gauge "~2.7.3" 546 | set-blocking "~2.0.0" 547 | 548 | number-is-nan@^1.0.0: 549 | version "1.0.1" 550 | resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" 551 | integrity sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0= 552 | 553 | object-assign@^4.1.0: 554 | version "4.1.1" 555 | resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" 556 | integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= 557 | 558 | on-finished@^2.3.0: 559 | version "2.3.0" 560 | resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947" 561 | integrity sha1-IPEzZIGwg811M3mSoWlxqi2QaUc= 562 | dependencies: 563 | ee-first "1.1.1" 564 | 565 | only@~0.0.2: 566 | version "0.0.2" 567 | resolved "https://registry.yarnpkg.com/only/-/only-0.0.2.tgz#2afde84d03e50b9a8edc444e30610a70295edfb4" 568 | integrity sha1-Kv3oTQPlC5qO3EROMGEKcCle37Q= 569 | 570 | packet-reader@1.0.0: 571 | version "1.0.0" 572 | resolved "https://registry.yarnpkg.com/packet-reader/-/packet-reader-1.0.0.tgz#9238e5480dedabacfe1fe3f2771063f164157d74" 573 | integrity sha512-HAKu/fG3HpHFO0AA8WE8q2g+gBJaZ9MG7fcKk+IJPLTGAD6Psw4443l+9DGRbOIh3/aXr7Phy0TjilYivJo5XQ== 574 | 575 | parseurl@^1.3.2: 576 | version "1.3.3" 577 | resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" 578 | integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ== 579 | 580 | pg-connection-string@0.1.3: 581 | version "0.1.3" 582 | resolved "https://registry.yarnpkg.com/pg-connection-string/-/pg-connection-string-0.1.3.tgz#da1847b20940e42ee1492beaf65d49d91b245df7" 583 | integrity sha1-2hhHsglA5C7hSSvq9l1J2RskXfc= 584 | 585 | pg-connection-string@^2.5.0: 586 | version "2.5.0" 587 | resolved "https://registry.yarnpkg.com/pg-connection-string/-/pg-connection-string-2.5.0.tgz#538cadd0f7e603fc09a12590f3b8a452c2c0cf34" 588 | integrity sha512-r5o/V/ORTA6TmUnyWZR9nCj1klXCO2CEKNRlVuJptZe85QuhFayC7WeMic7ndayT5IRIR0S0xFxFi2ousartlQ== 589 | 590 | pg-int8@1.0.1: 591 | version "1.0.1" 592 | resolved "https://registry.yarnpkg.com/pg-int8/-/pg-int8-1.0.1.tgz#943bd463bf5b71b4170115f80f8efc9a0c0eb78c" 593 | integrity sha512-WCtabS6t3c8SkpDBUlb1kjOs7l66xsGdKpIPZsg4wR+B3+u9UAum2odSsF9tnvxg80h4ZxLWMy4pRjOsFIqQpw== 594 | 595 | pg-pool@^2.0.7: 596 | version "2.0.7" 597 | resolved "https://registry.yarnpkg.com/pg-pool/-/pg-pool-2.0.7.tgz#f14ecab83507941062c313df23f6adcd9fd0ce54" 598 | integrity sha512-UiJyO5B9zZpu32GSlP0tXy8J2NsJ9EFGFfz5v6PSbdz/1hBLX1rNiiy5+mAm5iJJYwfCv4A0EBcQLGWwjbpzZw== 599 | 600 | pg-types@^2.1.0: 601 | version "2.2.0" 602 | resolved "https://registry.yarnpkg.com/pg-types/-/pg-types-2.2.0.tgz#2d0250d636454f7cfa3b6ae0382fdfa8063254a3" 603 | integrity sha512-qTAAlrEsl8s4OiEQY69wDvcMIdQN6wdz5ojQiOy6YRMuynxenON0O5oCpJI6lshc6scgAY8qvJ2On/p+CXY0GA== 604 | dependencies: 605 | pg-int8 "1.0.1" 606 | postgres-array "~2.0.0" 607 | postgres-bytea "~1.0.0" 608 | postgres-date "~1.0.4" 609 | postgres-interval "^1.1.0" 610 | 611 | pg@^7.8.0: 612 | version "7.14.0" 613 | resolved "https://registry.yarnpkg.com/pg/-/pg-7.14.0.tgz#f46727845ad19c2670a7e8151063a670338b6057" 614 | integrity sha512-TLsdOWKFu44vHdejml4Uoo8h0EwCjdIj9Z9kpz7pA5i8iQxOTwVb1+Fy+X86kW5AXKxQpYpYDs4j/qPDbro/lg== 615 | dependencies: 616 | buffer-writer "2.0.0" 617 | packet-reader "1.0.0" 618 | pg-connection-string "0.1.3" 619 | pg-pool "^2.0.7" 620 | pg-types "^2.1.0" 621 | pgpass "1.x" 622 | semver "4.3.2" 623 | 624 | pgpass@1.x: 625 | version "1.0.2" 626 | resolved "https://registry.yarnpkg.com/pgpass/-/pgpass-1.0.2.tgz#2a7bb41b6065b67907e91da1b07c1847c877b306" 627 | integrity sha1-Knu0G2BltnkH6R2hsHwYR8h3swY= 628 | dependencies: 629 | split "^1.0.0" 630 | 631 | postgres-array@~2.0.0: 632 | version "2.0.0" 633 | resolved "https://registry.yarnpkg.com/postgres-array/-/postgres-array-2.0.0.tgz#48f8fce054fbc69671999329b8834b772652d82e" 634 | integrity sha512-VpZrUqU5A69eQyW2c5CA1jtLecCsN2U/bD6VilrFDWq5+5UIEVO7nazS3TEcHf1zuPYO/sqGvUvW62g86RXZuA== 635 | 636 | postgres-bytea@~1.0.0: 637 | version "1.0.0" 638 | resolved "https://registry.yarnpkg.com/postgres-bytea/-/postgres-bytea-1.0.0.tgz#027b533c0aa890e26d172d47cf9ccecc521acd35" 639 | integrity sha1-AntTPAqokOJtFy1Hz5zOzFIazTU= 640 | 641 | postgres-date@~1.0.4: 642 | version "1.0.4" 643 | resolved "https://registry.yarnpkg.com/postgres-date/-/postgres-date-1.0.4.tgz#1c2728d62ef1bff49abdd35c1f86d4bdf118a728" 644 | integrity sha512-bESRvKVuTrjoBluEcpv2346+6kgB7UlnqWZsnbnCccTNq/pqfj1j6oBaN5+b/NrDXepYUT/HKadqv3iS9lJuVA== 645 | 646 | postgres-interval@^1.1.0: 647 | version "1.2.0" 648 | resolved "https://registry.yarnpkg.com/postgres-interval/-/postgres-interval-1.2.0.tgz#b460c82cb1587507788819a06aa0fffdb3544695" 649 | integrity sha512-9ZhXKM/rw350N1ovuWHbGxnGh/SNJ4cnxHiM0rxE4VN41wsg8P8zWn9hv/buK00RP4WvlOyr/RBDiptyxVbkZQ== 650 | dependencies: 651 | xtend "^4.0.0" 652 | 653 | process-nextick-args@~2.0.0: 654 | version "2.0.1" 655 | resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" 656 | integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== 657 | 658 | qs@^6.4.0: 659 | version "6.9.1" 660 | resolved "https://registry.yarnpkg.com/qs/-/qs-6.9.1.tgz#20082c65cb78223635ab1a9eaca8875a29bf8ec9" 661 | integrity sha512-Cxm7/SS/y/Z3MHWSxXb8lIFqgqBowP5JMlTUFyJN88y0SGQhVmZnqFK/PeuMX9LzUyWsqqhNxIyg0jlzq946yA== 662 | 663 | raw-body@^2.2.0, raw-body@^2.3.3: 664 | version "2.4.1" 665 | resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.4.1.tgz#30ac82f98bb5ae8c152e67149dac8d55153b168c" 666 | integrity sha512-9WmIKF6mkvA0SLmA2Knm9+qj89e+j1zqgyn8aXGd7+nAduPoqgI9lO57SAZNn/Byzo5P7JhXTyg9PzaJbH73bA== 667 | dependencies: 668 | bytes "3.1.0" 669 | http-errors "1.7.3" 670 | iconv-lite "0.4.24" 671 | unpipe "1.0.0" 672 | 673 | readable-stream@^2.0.6: 674 | version "2.3.6" 675 | resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf" 676 | integrity sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw== 677 | dependencies: 678 | core-util-is "~1.0.0" 679 | inherits "~2.0.3" 680 | isarray "~1.0.0" 681 | process-nextick-args "~2.0.0" 682 | safe-buffer "~5.1.1" 683 | string_decoder "~1.1.1" 684 | util-deprecate "~1.0.1" 685 | 686 | retry-as-promised@^7.0.3: 687 | version "7.0.4" 688 | resolved "https://registry.yarnpkg.com/retry-as-promised/-/retry-as-promised-7.0.4.tgz#9df73adaeea08cb2948b9d34990549dc13d800a2" 689 | integrity sha512-XgmCoxKWkDofwH8WddD0w85ZfqYz+ZHlr5yo+3YUCfycWawU56T5ckWXsScsj5B8tqUcIG67DxXByo3VUgiAdA== 690 | 691 | safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: 692 | version "5.1.2" 693 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" 694 | integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== 695 | 696 | safe-buffer@^5.0.1: 697 | version "5.2.0" 698 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.0.tgz#b74daec49b1148f88c64b68d49b1e815c1f2f519" 699 | integrity sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg== 700 | 701 | "safer-buffer@>= 2.1.2 < 3": 702 | version "2.1.2" 703 | resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" 704 | integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== 705 | 706 | semver@4.3.2: 707 | version "4.3.2" 708 | resolved "https://registry.yarnpkg.com/semver/-/semver-4.3.2.tgz#c7a07158a80bedd052355b770d82d6640f803be7" 709 | integrity sha1-x6BxWKgL7dBSNVt3DYLWZA+AO+c= 710 | 711 | semver@^5.6.0: 712 | version "5.7.1" 713 | resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" 714 | integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== 715 | 716 | semver@^7.3.5: 717 | version "7.3.8" 718 | resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798" 719 | integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== 720 | dependencies: 721 | lru-cache "^6.0.0" 722 | 723 | sequelize-pool@^7.1.0: 724 | version "7.1.0" 725 | resolved "https://registry.yarnpkg.com/sequelize-pool/-/sequelize-pool-7.1.0.tgz#210b391af4002762f823188fd6ecfc7413020768" 726 | integrity sha512-G9c0qlIWQSK29pR/5U2JF5dDQeqqHRragoyahj/Nx4KOOQ3CPPfzxnfqFPCSB7x5UgjOgnZ61nSxz+fjDpRlJg== 727 | 728 | sequelize@^6.29.0: 729 | version "6.29.0" 730 | resolved "https://registry.yarnpkg.com/sequelize/-/sequelize-6.29.0.tgz#7b8750487adb7502ce8a7005b460d50c8ccc58b7" 731 | integrity sha512-m8Wi90rs3NZP9coXE52c7PL4Q078nwYZXqt1IxPvgki7nOFn0p/F0eKsYDBXCPw9G8/BCEa6zZNk0DQUAT4ypA== 732 | dependencies: 733 | "@types/debug" "^4.1.7" 734 | "@types/validator" "^13.7.1" 735 | debug "^4.3.3" 736 | dottie "^2.0.2" 737 | inflection "^1.13.2" 738 | lodash "^4.17.21" 739 | moment "^2.29.1" 740 | moment-timezone "^0.5.35" 741 | pg-connection-string "^2.5.0" 742 | retry-as-promised "^7.0.3" 743 | semver "^7.3.5" 744 | sequelize-pool "^7.1.0" 745 | toposort-class "^1.0.1" 746 | uuid "^8.3.2" 747 | validator "^13.7.0" 748 | wkx "^0.5.0" 749 | 750 | set-blocking@~2.0.0: 751 | version "2.0.0" 752 | resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" 753 | integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc= 754 | 755 | setprototypeof@1.1.1: 756 | version "1.1.1" 757 | resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.1.tgz#7e95acb24aa92f5885e0abef5ba131330d4ae683" 758 | integrity sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw== 759 | 760 | signal-exit@^3.0.0: 761 | version "3.0.2" 762 | resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" 763 | integrity sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0= 764 | 765 | split@^1.0.0: 766 | version "1.0.1" 767 | resolved "https://registry.yarnpkg.com/split/-/split-1.0.1.tgz#605bd9be303aa59fb35f9229fbea0ddec9ea07d9" 768 | integrity sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg== 769 | dependencies: 770 | through "2" 771 | 772 | "statuses@>= 1.5.0 < 2", statuses@^1.5.0: 773 | version "1.5.0" 774 | resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" 775 | integrity sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow= 776 | 777 | string-width@^1.0.1: 778 | version "1.0.2" 779 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" 780 | integrity sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M= 781 | dependencies: 782 | code-point-at "^1.0.0" 783 | is-fullwidth-code-point "^1.0.0" 784 | strip-ansi "^3.0.0" 785 | 786 | "string-width@^1.0.2 || 2": 787 | version "2.1.1" 788 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" 789 | integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== 790 | dependencies: 791 | is-fullwidth-code-point "^2.0.0" 792 | strip-ansi "^4.0.0" 793 | 794 | string_decoder@~1.1.1: 795 | version "1.1.1" 796 | resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" 797 | integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg== 798 | dependencies: 799 | safe-buffer "~5.1.0" 800 | 801 | strip-ansi@^3.0.0, strip-ansi@^3.0.1: 802 | version "3.0.1" 803 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" 804 | integrity sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8= 805 | dependencies: 806 | ansi-regex "^2.0.0" 807 | 808 | strip-ansi@^4.0.0: 809 | version "4.0.0" 810 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f" 811 | integrity sha1-qEeQIusaw2iocTibY1JixQXuNo8= 812 | dependencies: 813 | ansi-regex "^3.0.0" 814 | 815 | through@2: 816 | version "2.3.8" 817 | resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" 818 | integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= 819 | 820 | toidentifier@1.0.0: 821 | version "1.0.0" 822 | resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.0.tgz#7e1be3470f1e77948bc43d94a3c8f4d7752ba553" 823 | integrity sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw== 824 | 825 | toposort-class@^1.0.1: 826 | version "1.0.1" 827 | resolved "https://registry.yarnpkg.com/toposort-class/-/toposort-class-1.0.1.tgz#7ffd1f78c8be28c3ba45cd4e1a3f5ee193bd9988" 828 | integrity sha1-f/0feMi+KMO6Rc1OGj9e4ZO9mYg= 829 | 830 | tsscmp@1.0.6: 831 | version "1.0.6" 832 | resolved "https://registry.yarnpkg.com/tsscmp/-/tsscmp-1.0.6.tgz#85b99583ac3589ec4bfef825b5000aa911d605eb" 833 | integrity sha512-LxhtAkPDTkVCMQjt2h6eBVY28KCjikZqZfMcC15YBeNjkgUpdCfBu5HoiOTDu86v6smE8yOjyEktJ8hlbANHQA== 834 | 835 | type-is@^1.6.14, type-is@^1.6.16: 836 | version "1.6.18" 837 | resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131" 838 | integrity sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g== 839 | dependencies: 840 | media-typer "0.3.0" 841 | mime-types "~2.1.24" 842 | 843 | unpipe@1.0.0: 844 | version "1.0.0" 845 | resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" 846 | integrity sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw= 847 | 848 | urlsafe-base64@^1.0.0: 849 | version "1.0.0" 850 | resolved "https://registry.yarnpkg.com/urlsafe-base64/-/urlsafe-base64-1.0.0.tgz#23f89069a6c62f46cf3a1d3b00169cefb90be0c6" 851 | integrity sha1-I/iQaabGL0bPOh07ABac77kL4MY= 852 | 853 | util-deprecate@~1.0.1: 854 | version "1.0.2" 855 | resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" 856 | integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8= 857 | 858 | uuid@^8.3.2: 859 | version "8.3.2" 860 | resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" 861 | integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== 862 | 863 | validator@^13.7.0: 864 | version "13.9.0" 865 | resolved "https://registry.yarnpkg.com/validator/-/validator-13.9.0.tgz#33e7b85b604f3bbce9bb1a05d5c3e22e1c2ff855" 866 | integrity sha512-B+dGG8U3fdtM0/aNK4/X8CXq/EcxU2WPrPEkJGslb47qyHsxmbggTWK0yEA4qnYVNF+nxNlN88o14hIcPmSIEA== 867 | 868 | vary@^1.1.2: 869 | version "1.1.2" 870 | resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" 871 | integrity sha1-IpnwLG3tMNSllhsLn3RSShj2NPw= 872 | 873 | wide-align@^1.1.0: 874 | version "1.1.3" 875 | resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457" 876 | integrity sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA== 877 | dependencies: 878 | string-width "^1.0.2 || 2" 879 | 880 | wkx@^0.5.0: 881 | version "0.5.0" 882 | resolved "https://registry.yarnpkg.com/wkx/-/wkx-0.5.0.tgz#c6c37019acf40e517cc6b94657a25a3d4aa33e8c" 883 | integrity sha512-Xng/d4Ichh8uN4l0FToV/258EjMGU9MGcA0HV2d9B/ZpZB3lqQm7nkOdZdm5GhKtLLhAE7PiVQwN4eN+2YJJUg== 884 | dependencies: 885 | "@types/node" "*" 886 | 887 | xtend@^4.0.0: 888 | version "4.0.2" 889 | resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" 890 | integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== 891 | 892 | yallist@^4.0.0: 893 | version "4.0.0" 894 | resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" 895 | integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== 896 | 897 | ylru@^1.2.0: 898 | version "1.2.1" 899 | resolved "https://registry.yarnpkg.com/ylru/-/ylru-1.2.1.tgz#f576b63341547989c1de7ba288760923b27fe84f" 900 | integrity sha512-faQrqNMzcPCHGVC2aaOINk13K+aaBDUPjGWl0teOXywElLjyVAB6Oe2jj62jHYtwsU49jXhScYbvPENK+6zAvQ== 901 | --------------------------------------------------------------------------------