From 3cac1b0715613d9df51cb1ed6fe0859bcfbb8e9b Mon Sep 17 00:00:00 2001 From: Manuel Astudillo Date: Sun, 22 Sep 2019 23:05:18 +0200 Subject: [PATCH] fix: several fixes to make the lib work on other ts projects --- package.json | 18 ++- src/classes/compat.ts | 4 +- src/classes/job.ts | 10 +- src/classes/queue-base.ts | 2 +- src/classes/queue-events.ts | 2 +- src/classes/queue-scheduler.ts | 6 +- src/classes/queue.ts | 12 +- src/classes/redis-connection.ts | 4 +- src/classes/repeat.ts | 8 +- src/classes/scripts.ts | 13 +- src/classes/worker.ts | 5 +- src/index.ts | 6 +- src/interfaces/index.ts | 18 +-- src/interfaces/queue-options.ts | 2 +- src/interfaces/queue-scheduler-options.ts | 2 +- src/interfaces/worker-options.ts | 6 +- src/test/test_bulk.ts | 2 +- src/test/test_child-pool.ts | 2 +- src/test/test_clean.ts | 2 +- tsconfig.json | 2 + yarn.lock | 179 +++++++++++++++++----- 21 files changed, 207 insertions(+), 98 deletions(-) diff --git a/package.json b/package.json index 577100ea6b..42e0225543 100644 --- a/package.json +++ b/package.json @@ -8,14 +8,16 @@ "author": "Taskforce.sh Inc.", "license": "MIT", "scripts": { - "build": "tsc", + "build": "tsc && yarn copylua", + "copylua": "copyfiles -f ./src/commands/*.lua ./dist/commands", "lint": "tslint --project tsconfig.json -c tslint.json 'src/**/*.ts'", "test": "yarn lint && tsc && ts-mocha --paths 'src/**/test_*.ts' --exit", "test:watch": "yarn lint && ts-mocha --paths 'src/**/test_*.ts' -w --watch-extensions ts", "coveralls": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage", "precommit": "yarn lint", "semantic-release": "semantic-release", - "prettier": "prettier --config package.json src/**/*.ts" + "prettier": "prettier --config package.json src/**/*.ts", + "semantic-release-prepare": "ts-node tools/semantic-release-prepare" }, "devDependencies": { "@commitlint/cli": "^8.1.0", @@ -29,6 +31,7 @@ "@types/node-uuid": "^0.0.28", "@types/sinon": "^7.0.13", "chai": "^4.2.0", + "copyfiles": "^2.1.1", "coveralls": "^3.0.2", "delay": "^4.3.0", "husky": "^3.0.3", @@ -45,8 +48,19 @@ "tslint-config-prettier": "^1.18.0", "tslint-eslint-rules": "^5.4.0", "tslint-plugin-prettier": "^2.0.1", + "typedoc": "^0.15.0", "typescript": "^3.2.2" }, + "config": { + "commitizen": { + "path": "node_modules/cz-conventional-changelog" + } + }, + "commitlint": { + "extends": [ + "@commitlint/config-conventional" + ] + }, "prettier": { "singleQuote": true, "trailingComma": "all", diff --git a/src/classes/compat.ts b/src/classes/compat.ts index 55065a8503..a0ad806f71 100644 --- a/src/classes/compat.ts +++ b/src/classes/compat.ts @@ -20,7 +20,7 @@ // TypeScript Version: 2.8 import { EventEmitter } from 'events'; -import { QueueEvents, Worker, Queue, QueueScheduler, Job } from '@src/classes'; +import { QueueEvents, Worker, Queue, QueueScheduler, Job } from './'; import { JobsOptions, QueueOptions, @@ -29,7 +29,7 @@ import { QueueSchedulerOptions, WorkerOptions, Processor, -} from '@src/interfaces'; +} from '../interfaces'; type CommonOptions = QueueSchedulerOptions & QueueOptions & diff --git a/src/classes/job.ts b/src/classes/job.ts index e5935a0b58..8eec1ecf29 100644 --- a/src/classes/job.ts +++ b/src/classes/job.ts @@ -1,14 +1,10 @@ -import { BackoffOptions } from '@src/interfaces/backoff-options'; -import { WorkerOptions } from '@src/interfaces/worker-options'; import IORedis from 'ioredis'; import { debuglog } from 'util'; -import { JobsOptions } from '../interfaces'; +import { RetryErrors } from '../enums'; +import { BackoffOptions, JobsOptions, WorkerOptions } from '../interfaces'; import { errorObject, isEmpty, tryCatch } from '../utils'; -import { Backoffs } from './backoffs'; -import { QueueBase } from './queue-base'; -import { QueueEvents } from './queue-events'; +import { Backoffs, QueueBase, QueueEvents } from './'; import { Scripts } from './scripts'; -import { RetryErrors } from '@src/enums'; const logger = debuglog('bull'); diff --git a/src/classes/queue-base.ts b/src/classes/queue-base.ts index 34c5cc29c4..21760423c0 100644 --- a/src/classes/queue-base.ts +++ b/src/classes/queue-base.ts @@ -1,6 +1,6 @@ -import { QueueBaseOptions } from '@src/interfaces'; import { EventEmitter } from 'events'; import IORedis from 'ioredis'; +import { QueueBaseOptions } from '../interfaces'; import { RedisConnection } from './redis-connection'; export class QueueBase extends EventEmitter { diff --git a/src/classes/queue-events.ts b/src/classes/queue-events.ts index 6966289fcd..c4f5d59a9b 100644 --- a/src/classes/queue-events.ts +++ b/src/classes/queue-events.ts @@ -1,5 +1,5 @@ -import { QueueEventsOptions } from '@src/interfaces'; import { delay } from 'bluebird'; +import { QueueEventsOptions } from '../interfaces'; import { array2obj } from '../utils'; import { QueueBase } from './queue-base'; diff --git a/src/classes/queue-scheduler.ts b/src/classes/queue-scheduler.ts index ecef117e08..350eaa71de 100644 --- a/src/classes/queue-scheduler.ts +++ b/src/classes/queue-scheduler.ts @@ -1,7 +1,7 @@ -import { QueueBase } from './queue-base'; +import { QueueSchedulerOptions } from '../interfaces'; +import { array2obj } from '../utils'; +import { QueueBase } from './'; import { Scripts } from './scripts'; -import { array2obj } from '@src/utils'; -import { QueueSchedulerOptions } from '@src/interfaces'; const MAX_TIMEOUT_MS = Math.pow(2, 31) - 1; // 32 bit signed diff --git a/src/classes/queue.ts b/src/classes/queue.ts index db3b5b4e4b..7ed6a726d2 100644 --- a/src/classes/queue.ts +++ b/src/classes/queue.ts @@ -1,10 +1,12 @@ -import { JobsOptions, QueueOptions, RateLimiterOptions } from '@src/interfaces'; -import { RepeatOptions } from '@src/interfaces/repeat-options'; import { get } from 'lodash'; import { v4 } from 'node-uuid'; -import { Job } from './job'; -import { QueueGetters } from './queue-getters'; -import { Repeat } from './repeat'; +import { + JobsOptions, + QueueOptions, + RateLimiterOptions, + RepeatOptions, +} from '../interfaces'; +import { Job, QueueGetters, Repeat } from './'; import { Scripts } from './scripts'; export class Queue extends QueueGetters { diff --git a/src/classes/redis-connection.ts b/src/classes/redis-connection.ts index 3150f5f37c..2bbe4562ec 100644 --- a/src/classes/redis-connection.ts +++ b/src/classes/redis-connection.ts @@ -1,7 +1,7 @@ -import { RedisOptions, ConnectionOptions } from '@src/interfaces'; import IORedis from 'ioredis'; import * as semver from 'semver'; -import { load } from '@src/commands'; +import { load } from '../commands'; +import { ConnectionOptions, RedisOptions } from '../interfaces'; export class RedisConnection { static minimumVersion = '5.0.0'; diff --git a/src/classes/repeat.ts b/src/classes/repeat.ts index a01711a8f9..7a489862e7 100644 --- a/src/classes/repeat.ts +++ b/src/classes/repeat.ts @@ -1,9 +1,7 @@ -import { QueueBase } from './queue-base'; -import { Job } from './job'; - import { createHash } from 'crypto'; -import { RepeatOptions } from '@src/interfaces/repeat-options'; -import { JobsOptions } from '@src/interfaces'; +import { JobsOptions, RepeatOptions } from '../interfaces'; +import { Job, QueueBase } from './'; + const parser = require('cron-parser'); export class Repeat extends QueueBase { diff --git a/src/classes/scripts.ts b/src/classes/scripts.ts index 29d82c35c8..b45a1bcf66 100644 --- a/src/classes/scripts.ts +++ b/src/classes/scripts.ts @@ -5,16 +5,15 @@ /*eslint-env node */ 'use strict'; -import { QueueSchedulerOptions } from '@src/interfaces'; -import { WorkerOptions } from '@src/interfaces/worker-options'; import IORedis from 'ioredis'; -import { JobsOptions } from '../interfaces'; +import { + JobsOptions, + QueueSchedulerOptions, + WorkerOptions, +} from '../interfaces'; import { array2obj } from '../utils'; +import { Queue, QueueBase, QueueScheduler, Worker } from './'; import { Job, JobJson } from './job'; -import { Queue } from './queue'; -import { QueueBase } from './queue-base'; -import { QueueScheduler } from './queue-scheduler'; -import { Worker } from './worker'; export class Scripts { static async isJobInList( diff --git a/src/classes/worker.ts b/src/classes/worker.ts index bf3c319ea8..a1356c4887 100644 --- a/src/classes/worker.ts +++ b/src/classes/worker.ts @@ -1,11 +1,10 @@ -import { Processor, WorkerOptions } from '@src/interfaces/worker-options'; import * as Bluebird from 'bluebird'; import fs from 'fs'; import path from 'path'; +import { Processor, WorkerOptions } from '../interfaces'; +import { QueueBase, Repeat } from './'; import { ChildPool, pool } from './child-pool'; import { Job } from './job'; -import { QueueBase } from './queue-base'; -import { Repeat } from './repeat'; import sandbox from './sandbox'; import { Scripts } from './scripts'; diff --git a/src/index.ts b/src/index.ts index b5d0bb9f27..876f2e92f1 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,2 +1,4 @@ -export * from '@src/classes'; -export * from '@src/interfaces'; +export * from './classes'; +export * from './commands'; +export * from './enums'; +export * from './interfaces'; diff --git a/src/interfaces/index.ts b/src/interfaces/index.ts index 7ed6750e9f..31e793a96a 100644 --- a/src/interfaces/index.ts +++ b/src/interfaces/index.ts @@ -1,9 +1,9 @@ -export * from './advanced-options'; -export * from './backoff-options'; -export * from './jobs-options'; -export * from './queue-options'; -export * from './rate-limiter-options'; -export * from './redis-options'; -export * from './repeat-options'; -export * from './queue-scheduler-options'; -export * from './worker-options'; +export * from './advanced-options'; +export * from './backoff-options'; +export * from './jobs-options'; +export * from './queue-options'; +export * from './queue-scheduler-options'; +export * from './rate-limiter-options'; +export * from './redis-options'; +export * from './repeat-options'; +export * from './worker-options'; diff --git a/src/interfaces/queue-options.ts b/src/interfaces/queue-options.ts index b46f0b0f29..8aef15c8dd 100644 --- a/src/interfaces/queue-options.ts +++ b/src/interfaces/queue-options.ts @@ -1,4 +1,4 @@ -import { JobsOptions } from '@src/interfaces'; +import { JobsOptions } from '../interfaces'; import IORedis from 'ioredis'; import { ConnectionOptions } from './redis-options'; diff --git a/src/interfaces/queue-scheduler-options.ts b/src/interfaces/queue-scheduler-options.ts index 3d46da8d84..7cfbeb3c15 100644 --- a/src/interfaces/queue-scheduler-options.ts +++ b/src/interfaces/queue-scheduler-options.ts @@ -1,4 +1,4 @@ -import { QueueBaseOptions } from '@src/interfaces'; +import { QueueBaseOptions } from '../interfaces'; export interface QueueSchedulerOptions extends QueueBaseOptions { maxStalledCount?: number; diff --git a/src/interfaces/worker-options.ts b/src/interfaces/worker-options.ts index 3e641aedf7..7094f995d2 100644 --- a/src/interfaces/worker-options.ts +++ b/src/interfaces/worker-options.ts @@ -1,7 +1,5 @@ -import { RateLimiterOptions } from './rate-limiter-options'; -import { Job } from '@src/classes'; -import { QueueBaseOptions } from './queue-options'; -import { AdvancedOptions } from './advanced-options'; +import { Job } from '../classes'; +import { AdvancedOptions, QueueBaseOptions, RateLimiterOptions } from './'; export type Processor = (job: Job) => Promise; diff --git a/src/test/test_bulk.ts b/src/test/test_bulk.ts index f4b9ded702..4d75b61018 100644 --- a/src/test/test_bulk.ts +++ b/src/test/test_bulk.ts @@ -1,4 +1,4 @@ -import { Queue, Worker, Job } from '@src/classes'; +import { Queue, Worker, Job } from '../classes'; import { expect } from 'chai'; import IORedis from 'ioredis'; import { beforeEach, describe, it } from 'mocha'; diff --git a/src/test/test_child-pool.ts b/src/test/test_child-pool.ts index da21253388..c50c3a2629 100644 --- a/src/test/test_child-pool.ts +++ b/src/test/test_child-pool.ts @@ -1,5 +1,5 @@ import { expect } from 'chai'; -import { ChildPool } from '@src/classes'; +import { ChildPool } from '../classes'; describe('Child pool', () => { let pool: ChildPool; diff --git a/src/test/test_clean.ts b/src/test/test_clean.ts index 7e7ba2bae3..1ec755562a 100644 --- a/src/test/test_clean.ts +++ b/src/test/test_clean.ts @@ -1,4 +1,4 @@ -import { Queue, QueueEvents, Worker } from '@src/classes'; +import { Queue, QueueEvents, Worker } from '../classes'; import { delay } from 'bluebird'; import { expect } from 'chai'; import IORedis from 'ioredis'; diff --git a/tsconfig.json b/tsconfig.json index 89f99d9ae1..189342c836 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,9 +2,11 @@ "compilerOptions": { "target": "ES2017", "module": "commonjs", + "declaration": true, "outDir": "dist", "sourceMap": true, "experimentalDecorators": true, + "emitDecoratorMetadata": true, "strict": true, "jsx": "preserve", "importHelpers": true, diff --git a/yarn.lock b/yarn.lock index d4aa5c6194..09a20bbea6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -371,7 +371,7 @@ resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.138.tgz#34f52640d7358230308344e579c15b378d91989e" integrity sha512-A4uJgHz4hakwNBdHNPdxOTkYmXNgmUAKLbXZ7PKGslgeV0Mb8P3BlbYfPovExek1qnod4pDfRbxuzcVs3dlFLg== -"@types/minimatch@*": +"@types/minimatch@*", "@types/minimatch@3.0.3": version "3.0.3" resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d" integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA== @@ -653,6 +653,13 @@ babel-runtime@^6.23.0, babel-runtime@^6.26.0: core-js "^2.4.0" regenerator-runtime "^0.11.0" +backbone@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/backbone/-/backbone-1.4.0.tgz#54db4de9df7c3811c3f032f34749a4cd27f3bd12" + integrity sha512-RLmDrRXkVdouTg38jcgHhyQ/2zjg7a8E6sz2zxfz21Hh17xDJYUHBZimVIt5fUyS8vbfpeSmTL3gUjTEvUV3qQ== + dependencies: + underscore ">=1.8.3" + balanced-match@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" @@ -1150,6 +1157,18 @@ copy-concurrently@^1.0.0: rimraf "^2.5.4" run-queue "^1.0.0" +copyfiles@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/copyfiles/-/copyfiles-2.1.1.tgz#d430e122d7880f92c45d372208b0af03b0c39db6" + integrity sha512-y6DZHve80whydXzBal7r70TBgKMPKesVRR1Sn/raUu7Jh/i7iSLSyGvYaq0eMJ/3Y/CKghwzjY32q1WzEnpp3Q== + dependencies: + glob "^7.0.5" + minimatch "^3.0.3" + mkdirp "^0.5.1" + noms "0.0.0" + through2 "^2.0.1" + yargs "^13.2.4" + core-js@^2.4.0, core-js@^2.5.0: version "2.6.9" resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.9.tgz#6b4b214620c834152e179323727fc19741b084f2" @@ -1274,7 +1293,7 @@ debug@^4.0.0, debug@^4.1.1: dependencies: ms "^2.1.1" -debuglog@*, debuglog@^1.0.1: +debuglog@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492" integrity sha1-qiT/uaw9+aI1GDfPstJ5NgzXhJI= @@ -1790,7 +1809,7 @@ from2@^2.1.0, from2@^2.3.0: inherits "^2.0.1" readable-stream "^2.0.0" -fs-extra@^8.0.0: +fs-extra@^8.0.0, fs-extra@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0" integrity sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g== @@ -1976,7 +1995,7 @@ glob@^5.0.15: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^7.0.3, glob@^7.1.1, glob@^7.1.3, glob@^7.1.4: +glob@^7.0.0, glob@^7.0.3, glob@^7.0.5, glob@^7.1.1, glob@^7.1.3, glob@^7.1.4: version "7.1.4" resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255" integrity sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A== @@ -2097,6 +2116,11 @@ he@1.2.0: resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw== +highlight.js@^9.15.8: + version "9.15.10" + resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-9.15.10.tgz#7b18ed75c90348c045eef9ed08ca1319a2219ad2" + integrity sha512-RoV7OkQm0T3os3Dd2VHLNMoaoDVx77Wygln3n9l5YV172XonWG6rgQD3XnF/BuFFZw9A0TJgmMSO8FEWQgvcXw== + hook-std@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/hook-std/-/hook-std-2.0.0.tgz#ff9aafdebb6a989a354f729bb6445cf4a3a7077c" @@ -2225,7 +2249,7 @@ import-lazy@^2.1.0: resolved "https://registry.yarnpkg.com/import-lazy/-/import-lazy-2.1.0.tgz#05698e3d45c88e8d7e9d92cb0584e77f096f3e43" integrity sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM= -imurmurhash@*, imurmurhash@^0.1.4: +imurmurhash@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" integrity sha1-khi5srkoojixPcT7a21XbyMUU+o= @@ -2272,6 +2296,11 @@ init-package-json@^1.10.3: validate-npm-package-license "^3.0.1" validate-npm-package-name "^3.0.0" +interpret@^1.0.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.2.0.tgz#d5061a6224be58e8083985f5014d844359576296" + integrity sha512-mT34yGKMNceBQUoVn7iCDKDntA7SC6gycMAWzGx1z/CMCTV7b2AAtXlo3nRyHZ1FelRkQbQjprHSYGwzLtkVbw== + into-stream@^5.0.0: version "5.1.0" resolved "https://registry.yarnpkg.com/into-stream/-/into-stream-5.1.0.tgz#b05f37d8fed05c06a0b43b556d74e53e5af23878" @@ -2551,6 +2580,11 @@ jest-docblock@^21.0.0: resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-21.2.0.tgz#51529c3b30d5fd159da60c27ceedc195faf8d414" integrity sha512-5IZ7sY9dBAYSV+YjQ0Ovb540Ku7AO9Z5o2Cg789xj167iQuZ2cG+z0f3Uct6WeYLbU6aQiM2pCs7sZ+4dotydw== +jquery@^3.4.1: + version "3.4.1" + resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.4.1.tgz#714f1f8d9dde4bdfa55764ba37ef214630d80ef2" + integrity sha512-36+AdBzCL+y6qjw5Tx7HgzeGCzC81MDDgaUP8ld2zhx58HdqXGoBd+tHdrBMiyjGQs0Hxs/MLZTu/eHNJJuWPw== + js-tokens@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" @@ -2849,11 +2883,6 @@ lockfile@^1.0.4: dependencies: signal-exit "^3.0.2" -lodash._baseindexof@*: - version "3.1.0" - resolved "https://registry.yarnpkg.com/lodash._baseindexof/-/lodash._baseindexof-3.1.0.tgz#fe52b53a1c6761e42618d654e4a25789ed61822c" - integrity sha1-/lK1OhxnYeQmGNZU5KJXie1hgiw= - lodash._baseuniq@~4.6.0: version "4.6.0" resolved "https://registry.yarnpkg.com/lodash._baseuniq/-/lodash._baseuniq-4.6.0.tgz#0ebb44e456814af7905c6212fa2c9b2d51b841e8" @@ -2862,33 +2891,11 @@ lodash._baseuniq@~4.6.0: lodash._createset "~4.0.0" lodash._root "~3.0.0" -lodash._bindcallback@*: - version "3.0.1" - resolved "https://registry.yarnpkg.com/lodash._bindcallback/-/lodash._bindcallback-3.0.1.tgz#e531c27644cf8b57a99e17ed95b35c748789392e" - integrity sha1-5THCdkTPi1epnhftlbNcdIeJOS4= - -lodash._cacheindexof@*: - version "3.0.2" - resolved "https://registry.yarnpkg.com/lodash._cacheindexof/-/lodash._cacheindexof-3.0.2.tgz#3dc69ac82498d2ee5e3ce56091bafd2adc7bde92" - integrity sha1-PcaayCSY0u5ePOVgkbr9Ktx73pI= - -lodash._createcache@*: - version "3.1.2" - resolved "https://registry.yarnpkg.com/lodash._createcache/-/lodash._createcache-3.1.2.tgz#56d6a064017625e79ebca6b8018e17440bdcf093" - integrity sha1-VtagZAF2JeeevKa4AY4XRAvc8JM= - dependencies: - lodash._getnative "^3.0.0" - lodash._createset@~4.0.0: version "4.0.3" resolved "https://registry.yarnpkg.com/lodash._createset/-/lodash._createset-4.0.3.tgz#0f4659fbb09d75194fa9e2b88a6644d363c9fe26" integrity sha1-D0ZZ+7CddRlPqeK4imZE02PJ/iY= -lodash._getnative@*, lodash._getnative@^3.0.0: - version "3.9.1" - resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5" - integrity sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U= - lodash._reinterpolate@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d" @@ -2944,11 +2951,6 @@ lodash.isstring@^4.0.1: resolved "https://registry.yarnpkg.com/lodash.isstring/-/lodash.isstring-4.0.1.tgz#d527dfb5456eca7cc9bb95d5daeaf88ba54a5451" integrity sha1-1SfftUVuynzJu5XV2ur4i6VKVFE= -lodash.restparam@*: - version "3.6.1" - resolved "https://registry.yarnpkg.com/lodash.restparam/-/lodash.restparam-3.6.1.tgz#936a4e309ef330a7645ed4145986c85ae5b20805" - integrity sha1-k2pOMJ7zMKdkXtQUWYbIWuWyCAU= - lodash.set@^4.3.2: version "4.3.2" resolved "https://registry.yarnpkg.com/lodash.set/-/lodash.set-4.3.2.tgz#d8757b1da807dde24816b0d6a84bea1a76230b23" @@ -3049,6 +3051,11 @@ lru-cache@^5.1.1: dependencies: yallist "^3.0.2" +lunr@^2.3.6: + version "2.3.6" + resolved "https://registry.yarnpkg.com/lunr/-/lunr-2.3.6.tgz#f278beee7ffd56ad86e6e478ce02ab2b98c78dd5" + integrity sha512-swStvEyDqQ85MGpABCMBclZcLI/pBIlu8FFDtmX197+oEgKloJ67QnB+Tidh0340HmLMs39c4GrkPY3cmkXp6Q== + macos-release@^2.2.0: version "2.3.0" resolved "https://registry.yarnpkg.com/macos-release/-/macos-release-2.3.0.tgz#eb1930b036c0800adebccd5f17bc4c12de8bb71f" @@ -3213,7 +3220,7 @@ mimic-fn@^2.0.0, mimic-fn@^2.1.0: resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== -"minimatch@2 || 3", minimatch@3.0.4, minimatch@^3.0.4: +"minimatch@2 || 3", minimatch@3.0.4, minimatch@^3.0.0, minimatch@^3.0.3, minimatch@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA== @@ -3441,6 +3448,14 @@ node-uuid@^1.4.8: resolved "https://registry.yarnpkg.com/node-uuid/-/node-uuid-1.4.8.tgz#b040eb0923968afabf8d32fb1f17f1167fdab907" integrity sha1-sEDrCSOWivq/jTL7HxfxFn/auQc= +noms@0.0.0: + version "0.0.0" + resolved "https://registry.yarnpkg.com/noms/-/noms-0.0.0.tgz#da8ebd9f3af9d6760919b27d9cdc8092a7332859" + integrity sha1-2o69nzr51nYJGbJ9nNyAkqczKFk= + dependencies: + inherits "^2.0.1" + readable-stream "~1.0.31" + "nopt@2 || 3", nopt@3.x: version "3.0.6" resolved "https://registry.yarnpkg.com/nopt/-/nopt-3.0.6.tgz#c6465dbf08abcd4db359317f79ac68a646b28ff9" @@ -4139,6 +4154,11 @@ process-nextick-args@~2.0.0: resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== +progress@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" + integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== + promise-inflight@^1.0.1, promise-inflight@~1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3" @@ -4372,6 +4392,16 @@ read@1, read@~1.0.1, read@~1.0.7: string_decoder "^1.1.1" util-deprecate "^1.0.1" +readable-stream@~1.0.31: + version "1.0.34" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c" + integrity sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw= + dependencies: + core-util-is "~1.0.0" + inherits "~2.0.1" + isarray "0.0.1" + string_decoder "~0.10.x" + readable-stream@~1.1.10: version "1.1.14" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.1.14.tgz#7cf4c54ef648e3813084c636dd2079e166c081d9" @@ -4392,6 +4422,13 @@ readdir-scoped-modules@^1.0.0, readdir-scoped-modules@^1.1.0: graceful-fs "^4.1.2" once "^1.3.0" +rechoir@^0.6.2: + version "0.6.2" + resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384" + integrity sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q= + dependencies: + resolve "^1.1.6" + redent@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/redent/-/redent-2.0.0.tgz#c1b2007b42d57eb1389079b3c8333639d5e1ccaa" @@ -4525,7 +4562,7 @@ resolve@1.1.x: resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" integrity sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs= -resolve@^1.10.0, resolve@^1.3.2: +resolve@^1.1.6, resolve@^1.10.0, resolve@^1.3.2: version "1.12.0" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.12.0.tgz#3fc644a35c84a48554609ff26ec52b66fa577df6" integrity sha512-B/dOmuoAik5bKcD6s6nXDCjzUKnaDvdkRyAk6rsmsKLipWj4797iothd7jmmUhWTfinVMU+wc56rYKsit2Qy4w== @@ -4679,6 +4716,15 @@ shebang-regex@^1.0.0: resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" integrity sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM= +shelljs@^0.8.3: + version "0.8.3" + resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.3.tgz#a7f3319520ebf09ee81275b2368adb286659b097" + integrity sha512-fc0BKlAWiLpwZljmOvAOTE/gXawtCoNrP5oaY7KIaQbbyHeQVg01pSEuEGvGh3HEdBU4baCD7wQBwADmM/7f7A== + dependencies: + glob "^7.0.0" + interpret "^1.0.0" + rechoir "^0.6.2" + signal-exit@^3.0.0, signal-exit@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" @@ -5053,7 +5099,7 @@ text-table@~0.2.0: resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ= -through2@^2.0.0, through2@^2.0.2, through2@~2.0.0: +through2@^2.0.0, through2@^2.0.1, through2@^2.0.2, through2@~2.0.0: version "2.0.5" resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd" integrity sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ== @@ -5257,6 +5303,38 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= +typedoc-default-themes@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/typedoc-default-themes/-/typedoc-default-themes-0.6.0.tgz#7e73bf54dd9e11550dd0fb576d5176b758f8f8b5" + integrity sha512-MdTROOojxod78CEv22rIA69o7crMPLnVZPefuDLt/WepXqJwgiSu8Xxq+H36x0Jj3YGc7lOglI2vPJ2GhoOybw== + dependencies: + backbone "^1.4.0" + jquery "^3.4.1" + lunr "^2.3.6" + underscore "^1.9.1" + +typedoc@^0.15.0: + version "0.15.0" + resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.15.0.tgz#21eaf4db41cf2797bad027a74f2a75cd08ae0c2d" + integrity sha512-NOtfq5Tis4EFt+J2ozhVq9RCeUnfEYMFKoU6nCXCXUULJz1UQynOM+yH3TkfZCPLzigbqB0tQYGVlktUWweKlw== + dependencies: + "@types/minimatch" "3.0.3" + fs-extra "^8.1.0" + handlebars "^4.1.2" + highlight.js "^9.15.8" + lodash "^4.17.15" + marked "^0.7.0" + minimatch "^3.0.0" + progress "^2.0.3" + shelljs "^0.8.3" + typedoc-default-themes "^0.6.0" + typescript "3.5.x" + +typescript@3.5.x: + version "3.5.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.5.3.tgz#c830f657f93f1ea846819e929092f5fe5983e977" + integrity sha512-ACzBtm/PhXBDId6a6sDJfroT2pOWt/oOnk4/dElG5G33ZL776N3Y6/6bKZJBFpd+b05F3Ct9qDjMeJmRWtE2/g== + typescript@^3.2.2: version "3.6.2" resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.6.2.tgz#105b0f1934119dde543ac8eb71af3a91009efe54" @@ -5280,6 +5358,11 @@ umask@^1.1.0, umask@~1.1.0: resolved "https://registry.yarnpkg.com/umask/-/umask-1.1.0.tgz#f29cebf01df517912bb58ff9c4e50fde8e33320d" integrity sha1-8pzr8B31F5ErtY/5xOUP3o4zMg0= +underscore@>=1.8.3, underscore@^1.9.1: + version "1.9.1" + resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.9.1.tgz#06dce34a0e68a7babc29b365b8e74b8925203961" + integrity sha512-5/4etnCkd9c8gwgowi5/om/mYO5ajCaOgdzj/oW+0eQV9WxKBDZw5+ycmKmeaTXjInS/W0BzpGLo2xR2aBwZdg== + unique-filename@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-1.1.1.tgz#1d69769369ada0583103a1e6ae87681b56573230" @@ -5627,6 +5710,22 @@ yargs@^12.0.5: y18n "^3.2.1 || ^4.0.0" yargs-parser "^11.1.1" +yargs@^13.2.4: + version "13.3.0" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.3.0.tgz#4c657a55e07e5f2cf947f8a366567c04a0dedc83" + integrity sha512-2eehun/8ALW8TLoIl7MVaRUrg+yCnenu8B4kBlRxj3GJGDKU1Og7sMXPNm1BYyM1DOJmTZ4YeN/Nwxv+8XJsUA== + dependencies: + cliui "^5.0.0" + find-up "^3.0.0" + get-caller-file "^2.0.1" + require-directory "^2.1.1" + require-main-filename "^2.0.0" + set-blocking "^2.0.0" + string-width "^3.0.0" + which-module "^2.0.0" + y18n "^4.0.0" + yargs-parser "^13.1.1" + yargs@^14.0.0: version "14.0.0" resolved "https://registry.yarnpkg.com/yargs/-/yargs-14.0.0.tgz#ba4cacc802b3c0b3e36a9e791723763d57a85066"