From 6dd856876c3b6676cd39f6409748cc6cd8f98059 Mon Sep 17 00:00:00 2001
From: Aleksandr Bukhalo
Date: Mon, 31 Aug 2020 12:14:46 +0300
Subject: [PATCH 001/101] chore(deps): use development version of telegraf
package
---
package-lock.json | 47 +++++++++++++++++++++++------------------------
package.json | 2 +-
2 files changed, 24 insertions(+), 25 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 6025bcd..4681441 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -567,6 +567,21 @@
"type": "^1.0.1"
}
},
+ "debug": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
+ "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
+ "requires": {
+ "ms": "^2.1.1"
+ },
+ "dependencies": {
+ "ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
+ }
+ }
+ },
"dedent": {
"version": "0.7.0",
"resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz",
@@ -2729,38 +2744,17 @@
}
},
"telegraf": {
- "version": "3.38.0",
- "resolved": "https://registry.npmjs.org/telegraf/-/telegraf-3.38.0.tgz",
- "integrity": "sha512-va4VlrKWp64JrowFoZX/NPzzA6q38kvaIukVXOWFO1V+jR1G8+hCfgJy4TX8Z3rwLJzwaBEet1QhikHDRZWl3A==",
+ "version": "git://github.com/telegraf/telegraf.git#8f55d0c191f9fca2da7318b06a0e63bedf788976",
+ "from": "git://github.com/telegraf/telegraf.git#8f55d0c191f9fca2da7318b06a0e63bedf788976",
"requires": {
"debug": "^4.0.1",
"minimist": "^1.2.0",
"module-alias": "^2.2.2",
"node-fetch": "^2.2.0",
"sandwich-stream": "^2.0.1",
- "telegram-typings": "^3.6.0"
- },
- "dependencies": {
- "debug": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
- "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
- "requires": {
- "ms": "^2.1.1"
- }
- },
- "ms": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
- }
+ "typegram": "^2.0.0"
}
},
- "telegram-typings": {
- "version": "3.6.1",
- "resolved": "https://registry.npmjs.org/telegram-typings/-/telegram-typings-3.6.1.tgz",
- "integrity": "sha512-njVv1EAhIZnmQVLocZEADYUyqA1WIXuVcDYlsp+mXua/XB0pxx+PKtMSPeZ/EE4wPWTw9h/hA9ASTT6yQelkiw=="
- },
"text-table": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
@@ -2840,6 +2834,11 @@
"integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==",
"dev": true
},
+ "typegram": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/typegram/-/typegram-2.1.0.tgz",
+ "integrity": "sha512-Cw/xS+KosABzRGxy8i+jqomw/+aKm1ntv0UpPxkyE5X20Iid/wMOcIqidLUPrhWEAT2FiDa5gO8h5g3XsjMVEw=="
+ },
"typescript": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.2.tgz",
diff --git a/package.json b/package.json
index 61b0b97..1d7340b 100644
--- a/package.json
+++ b/package.json
@@ -33,7 +33,7 @@
"test": ""
},
"dependencies": {
- "telegraf": "3.38.0"
+ "telegraf": "git://github.com/telegraf/telegraf.git#8f55d0c191f9fca2da7318b06a0e63bedf788976"
},
"devDependencies": {
"@nestjs/common": "7.4.3",
From e999698fef69ab2ce03f5dc0b0d83e12e30f6c4a Mon Sep 17 00:00:00 2001
From: Aleksandr Bukhalo
Date: Mon, 31 Aug 2020 12:16:40 +0300
Subject: [PATCH 002/101] chore: remove legacy decorators
---
lib/decorators/action.decorator.ts | 8 --------
lib/decorators/cashtag.decorator.ts | 8 --------
lib/decorators/command.decorator.ts | 8 --------
lib/decorators/entity.decorator.ts | 8 --------
lib/decorators/game-query.decorator.ts | 8 --------
lib/decorators/hashtag.decorator.ts | 8 --------
lib/decorators/hears.decorator.ts | 8 --------
lib/decorators/help.decorator.ts | 8 --------
lib/decorators/inline-query.decorator.ts | 8 --------
lib/decorators/mention.decorator.ts | 8 --------
lib/decorators/on.decorator.ts | 8 --------
lib/decorators/phone.decorator.ts | 8 --------
lib/decorators/settings.decorator.ts | 8 --------
lib/decorators/start.decorator.ts | 8 --------
lib/decorators/use.decorator.ts | 8 --------
15 files changed, 120 deletions(-)
diff --git a/lib/decorators/action.decorator.ts b/lib/decorators/action.decorator.ts
index a6c7a99..e54ace0 100644
--- a/lib/decorators/action.decorator.ts
+++ b/lib/decorators/action.decorator.ts
@@ -17,11 +17,3 @@ export interface ActionOptions {
export const Action = (triggers: TelegrafActionTriggers): MethodDecorator => {
return SetMetadata(DECORATORS.ACTION, { triggers });
};
-
-/**
- * Registers middleware for handling callback_data actions with regular expressions.
- *
- * @see https://telegraf.js.org/#/?id=action
- * @deprecated since v2, use Action decorator instead.
- */
-export const TelegrafAction = Action;
diff --git a/lib/decorators/cashtag.decorator.ts b/lib/decorators/cashtag.decorator.ts
index e85efb3..b98b2da 100644
--- a/lib/decorators/cashtag.decorator.ts
+++ b/lib/decorators/cashtag.decorator.ts
@@ -15,11 +15,3 @@ export interface CashtagOptions {
export const Cashtag = (cashtag: TelegrafCashtagCashtag): MethodDecorator => {
return SetMetadata(DECORATORS.CASHTAG, { cashtag });
};
-
-/**
- * Cashtag handling.
- *
- * @see https://telegraf.js.org/#/?id=cashtag
- * @deprecated since v2, use Cashtag decorator instead.
- */
-export const TelegrafCashtag = Cashtag;
diff --git a/lib/decorators/command.decorator.ts b/lib/decorators/command.decorator.ts
index 6100612..2fb6e7a 100644
--- a/lib/decorators/command.decorator.ts
+++ b/lib/decorators/command.decorator.ts
@@ -15,11 +15,3 @@ export interface CommandOptions {
export const Command = (commands: TelegrafCommandCommands): MethodDecorator => {
return SetMetadata(DECORATORS.COMMAND, { commands });
};
-
-/**
- * Command handling.
- *
- * @see https://telegraf.js.org/#/?id=command
- * @deprecated since v2, use Command decorator instead.
- */
-export const TelegrafCommand = Command;
diff --git a/lib/decorators/entity.decorator.ts b/lib/decorators/entity.decorator.ts
index 53be71f..7c16011 100644
--- a/lib/decorators/entity.decorator.ts
+++ b/lib/decorators/entity.decorator.ts
@@ -20,11 +20,3 @@ export interface EntityOptions {
export const Entity = (entity: TelegrafEntityEntity): MethodDecorator => {
return SetMetadata(DECORATORS.ENTITY, { entity });
};
-
-/**
- * Entity handling.
- *
- * @see https://telegraf.js.org/#/?id=entity
- * @deprecated since v2, use Entity decorator instead.
- */
-export const TelegrafEntity = Entity;
diff --git a/lib/decorators/game-query.decorator.ts b/lib/decorators/game-query.decorator.ts
index c9d240b..dd1138c 100644
--- a/lib/decorators/game-query.decorator.ts
+++ b/lib/decorators/game-query.decorator.ts
@@ -9,11 +9,3 @@ import { DECORATORS } from '../telegraf.constants';
export const GameQuery = (): MethodDecorator => {
return SetMetadata(DECORATORS.GAME_QUERY, {});
};
-
-/**
- * Registers middleware for handling callback_data actions with game query.
- *
- * @see https://telegraf.js.org/#/?id=inlinequery
- * @deprecated since v2, use Action decorator instead.
- */
-export const TelegrafGameQuery = GameQuery;
diff --git a/lib/decorators/hashtag.decorator.ts b/lib/decorators/hashtag.decorator.ts
index 88e03cb..9269411 100644
--- a/lib/decorators/hashtag.decorator.ts
+++ b/lib/decorators/hashtag.decorator.ts
@@ -15,11 +15,3 @@ export interface HashtagOptions {
export const Hashtag = (hashtag: TelegrafHashtagHashtag): MethodDecorator => {
return SetMetadata(DECORATORS.HASHTAG, { hashtag });
};
-
-/**
- * Hashtag handling.
- *
- * @see https://telegraf.js.org/#/?id=hashtag
- * @deprecated since v2, use Hashtag decorator instead.
- */
-export const TelegrafHashtag = Hashtag;
diff --git a/lib/decorators/hears.decorator.ts b/lib/decorators/hears.decorator.ts
index ecb7c56..6e62bdd 100644
--- a/lib/decorators/hears.decorator.ts
+++ b/lib/decorators/hears.decorator.ts
@@ -17,11 +17,3 @@ export interface HearsOptions {
export const Hears = (triggers: TelegrafHearsTriggers): MethodDecorator => {
return SetMetadata(DECORATORS.HEARS, { triggers: triggers });
};
-
-/**
- * Registers middleware for handling text messages.
- *
- * @see https://telegraf.js.org/#/?id=hears
- * @deprecated since v2, use Hears decorator instead.
- */
-export const TelegrafHears = Hears;
diff --git a/lib/decorators/help.decorator.ts b/lib/decorators/help.decorator.ts
index ced12b1..159a5c5 100644
--- a/lib/decorators/help.decorator.ts
+++ b/lib/decorators/help.decorator.ts
@@ -9,11 +9,3 @@ import { DECORATORS } from '../telegraf.constants';
export const Help = (): MethodDecorator => {
return SetMetadata(DECORATORS.HELP, {});
};
-
-/**
- * Handler for /help command.
- *
- * @see https://telegraf.js.org/#/?id=help
- * @deprecated since v2, use Help decorator instead.
- */
-export const TelegrafHelp = Help;
diff --git a/lib/decorators/inline-query.decorator.ts b/lib/decorators/inline-query.decorator.ts
index 4345d1b..2979722 100644
--- a/lib/decorators/inline-query.decorator.ts
+++ b/lib/decorators/inline-query.decorator.ts
@@ -17,11 +17,3 @@ export const InlineQuery = (
): MethodDecorator => {
return SetMetadata(DECORATORS.INLINE_QUERY, { triggers });
};
-
-/**
- * Registers middleware for handling inline_query actions with regular expressions.
- *
- * @see https://telegraf.js.org/#/?id=inlinequery
- * @deprecated since v2, use InlineQuery decorator instead.
- */
-export const TelegrafInlineQuery = InlineQuery;
diff --git a/lib/decorators/mention.decorator.ts b/lib/decorators/mention.decorator.ts
index 7611c8e..004f41b 100644
--- a/lib/decorators/mention.decorator.ts
+++ b/lib/decorators/mention.decorator.ts
@@ -15,11 +15,3 @@ export interface MentionOptions {
export const Mention = (username: TelegrafMentionUsername): MethodDecorator => {
return SetMetadata(DECORATORS.MENTION, { username });
};
-
-/**
- * Mention handling.
- *
- * @see https://telegraf.js.org/#/?id=mention
- * @deprecated since v2, use Mention decorator instead.
- */
-export const TelegrafMention = Mention;
diff --git a/lib/decorators/on.decorator.ts b/lib/decorators/on.decorator.ts
index bc36c94..9e3752a 100644
--- a/lib/decorators/on.decorator.ts
+++ b/lib/decorators/on.decorator.ts
@@ -20,11 +20,3 @@ export interface OnOptions {
export const On = (updateTypes: TelegrafOnUpdateTypes): MethodDecorator => {
return SetMetadata(DECORATORS.ON, { updateTypes: updateTypes });
};
-
-/**
- * Registers middleware for provided update type.
- *
- * @see https://telegraf.js.org/#/?id=on
- * @deprecated since v2, use On decorator instead.
- */
-export const TelegrafOn = On;
diff --git a/lib/decorators/phone.decorator.ts b/lib/decorators/phone.decorator.ts
index 90e6342..39a0b27 100644
--- a/lib/decorators/phone.decorator.ts
+++ b/lib/decorators/phone.decorator.ts
@@ -15,11 +15,3 @@ export interface PhoneOptions {
export const Phone = (phone: TelegrafPhonePhone): MethodDecorator => {
return SetMetadata(DECORATORS.PHONE, { phone });
};
-
-/**
- * Phone number handling.
- *
- * @see https://telegraf.js.org/#/?id=phone
- * @deprecated since v2, use Phone decorator instead.
- */
-export const TelegrafPhone = Phone;
diff --git a/lib/decorators/settings.decorator.ts b/lib/decorators/settings.decorator.ts
index 674af29..9378e7f 100644
--- a/lib/decorators/settings.decorator.ts
+++ b/lib/decorators/settings.decorator.ts
@@ -9,11 +9,3 @@ import { DECORATORS } from '../telegraf.constants';
export const Settings = (): MethodDecorator => {
return SetMetadata(DECORATORS.SETTINGS, {});
};
-
-/**
- * Handler for /settings command.
- *
- * @see https://telegraf.js.org/#/?id=settings
- * @deprecated since v2, use Settings decorator instead.
- */
-export const TelegrafSettings = Settings;
diff --git a/lib/decorators/start.decorator.ts b/lib/decorators/start.decorator.ts
index d11658e..9429753 100644
--- a/lib/decorators/start.decorator.ts
+++ b/lib/decorators/start.decorator.ts
@@ -9,11 +9,3 @@ import { DECORATORS } from '../telegraf.constants';
export const Start = (): MethodDecorator => {
return SetMetadata(DECORATORS.START, {});
};
-
-/**
- * Handler for /start command.
- *
- * @see https://telegraf.js.org/#/?id=start
- * @deprecated since v2, use Start decorator instead.
- */
-export const TelegrafStart = Start;
diff --git a/lib/decorators/use.decorator.ts b/lib/decorators/use.decorator.ts
index 8c47461..a7f68fa 100644
--- a/lib/decorators/use.decorator.ts
+++ b/lib/decorators/use.decorator.ts
@@ -9,11 +9,3 @@ import { DECORATORS } from '../telegraf.constants';
export const Use = (): MethodDecorator => {
return SetMetadata(DECORATORS.USE, {});
};
-
-/**
- * Registers a middleware.
- *
- * @see https://telegraf.js.org/#/?id=use
- * @deprecated since v2, use Use decorator instead.
- */
-export const TelegrafUse = Use;
From e892e5ad0807bc006245cdffb867378f79a80730 Mon Sep 17 00:00:00 2001
From: Aleksandr Bukhalo
Date: Mon, 31 Aug 2020 13:17:41 +0300
Subject: [PATCH 003/101] chore: bump version
---
package-lock.json | 2 +-
package.json | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 4681441..b6bfd80 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "nestjs-telegraf",
- "version": "1.3.0",
+ "version": "2.0.0-alpha.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
diff --git a/package.json b/package.json
index 1d7340b..af0983f 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "nestjs-telegraf",
- "version": "1.3.0",
+ "version": "2.0.0-alpha.1",
"description": "Telegraf module for NestJS",
"keywords": [
"nest",
From 678ad0d7c2577a2ab23ac4d3c2b71bc5a4f46b24 Mon Sep 17 00:00:00 2001
From: Aleksandr Bukhalo
Date: Thu, 10 Sep 2020 12:52:20 +0300
Subject: [PATCH 004/101] chore(deps): ugrade telegraf version
---
package-lock.json | 1127 +++++++++++++++++++++++----------------------
package.json | 2 +-
2 files changed, 585 insertions(+), 544 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index b6bfd80..888220d 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -5,38 +5,61 @@
"requires": true,
"dependencies": {
"@babel/code-frame": {
- "version": "7.8.3",
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz",
- "integrity": "sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==",
+ "version": "7.10.4",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz",
+ "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==",
"dev": true,
"requires": {
- "@babel/highlight": "^7.8.3"
+ "@babel/highlight": "^7.10.4"
}
},
+ "@babel/helper-validator-identifier": {
+ "version": "7.10.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz",
+ "integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw==",
+ "dev": true
+ },
"@babel/highlight": {
- "version": "7.8.3",
- "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.8.3.tgz",
- "integrity": "sha512-PX4y5xQUvy0fnEVHrYOarRPXVWafSjTW9T0Hab8gVIawpl2Sj0ORyrygANq+KjcNlSSTw0YCLSNA8OyZ1I4yEg==",
+ "version": "7.10.4",
+ "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.4.tgz",
+ "integrity": "sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA==",
"dev": true,
"requires": {
+ "@babel/helper-validator-identifier": "^7.10.4",
"chalk": "^2.0.0",
- "esutils": "^2.0.2",
"js-tokens": "^4.0.0"
}
},
- "@babel/runtime": {
- "version": "7.8.3",
- "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.8.3.tgz",
- "integrity": "sha512-fVHx1rzEmwB130VTkLnxR+HmxcTjGzH12LYQcFFoBwakMd3aOMD4OsRN7tGG/UOYE2ektgFrS8uACAoRk1CY0w==",
+ "@eslint/eslintrc": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.1.3.tgz",
+ "integrity": "sha512-4YVwPkANLeNtRjMekzux1ci8hIaH5eGKktGqR0d3LWsKNn5B2X/1Z6Trxy7jQXl9EBGE6Yj02O+t09FMeRllaA==",
"dev": true,
"requires": {
- "regenerator-runtime": "^0.13.2"
+ "ajv": "^6.12.4",
+ "debug": "^4.1.1",
+ "espree": "^7.3.0",
+ "globals": "^12.1.0",
+ "ignore": "^4.0.6",
+ "import-fresh": "^3.2.1",
+ "js-yaml": "^3.13.1",
+ "lodash": "^4.17.19",
+ "minimatch": "^3.0.4",
+ "strip-json-comments": "^3.1.1"
+ },
+ "dependencies": {
+ "ignore": {
+ "version": "4.0.6",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz",
+ "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==",
+ "dev": true
+ }
}
},
"@nestjs/common": {
- "version": "7.4.3",
- "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-7.4.3.tgz",
- "integrity": "sha512-OeNnzPbUOk2dUuvf8/X0yBzDMhaR5IZP4Qzq8KpXVHk6xJewrscYlEpyMxymlSlnEYW3NWzj5woacvLbeps4Vg==",
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-7.4.4.tgz",
+ "integrity": "sha512-Cj94FJrnLcAU4URJrRmnsHRODZPJpX+EKKJ/Or9qvL9ULQwRWYmFcGQYaJ0nVV0hSBjn/jaAV1Cgqw74uk21KA==",
"dev": true,
"requires": {
"axios": "0.20.0",
@@ -44,20 +67,12 @@
"iterare": "1.2.1",
"tslib": "2.0.1",
"uuid": "8.3.0"
- },
- "dependencies": {
- "tslib": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.1.tgz",
- "integrity": "sha512-SgIkNheinmEBgx1IUNirK0TUD4X9yjjBRTqqjggWCU3pUEqIk3/Uwl3yRixYKT6WjQuGiwDv4NomL3wqRCj+CQ==",
- "dev": true
- }
}
},
"@nestjs/core": {
- "version": "7.4.3",
- "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-7.4.3.tgz",
- "integrity": "sha512-YWC4x5G5cHhlBB/6oyw9ug781lSm9s6QqMRNKYjiR47A1HoxOcAJQ8NMrm9axgK9ZET547k0rl473vyjhPwwlg==",
+ "version": "7.4.4",
+ "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-7.4.4.tgz",
+ "integrity": "sha512-e3iID6s0JIaWDlZMIO+gkk5KDwHW+VUexvZOKXbTjtsBidtusbiT4JLr4ODkj8y3QSfQN9vouY9hWfwwQrxa/Q==",
"dev": true,
"requires": {
"@nuxtjs/opencollective": "0.2.2",
@@ -67,14 +82,32 @@
"path-to-regexp": "3.2.0",
"tslib": "2.0.1",
"uuid": "8.3.0"
- },
- "dependencies": {
- "tslib": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.1.tgz",
- "integrity": "sha512-SgIkNheinmEBgx1IUNirK0TUD4X9yjjBRTqqjggWCU3pUEqIk3/Uwl3yRixYKT6WjQuGiwDv4NomL3wqRCj+CQ==",
- "dev": true
- }
+ }
+ },
+ "@nodelib/fs.scandir": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz",
+ "integrity": "sha512-eGmwYQn3gxo4r7jdQnkrrN6bY478C3P+a/y72IJukF8LjB6ZHeB3c+Ehacj3sYeSmUXGlnA67/PmbM9CVwL7Dw==",
+ "dev": true,
+ "requires": {
+ "@nodelib/fs.stat": "2.0.3",
+ "run-parallel": "^1.1.9"
+ }
+ },
+ "@nodelib/fs.stat": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.3.tgz",
+ "integrity": "sha512-bQBFruR2TAwoevBEd/NWMoAAtNGzTRgdrqnYCc7dhzfoNvqPzLyqlEQnzZ3kVnNrSp25iyxE00/3h2fqGAGArA==",
+ "dev": true
+ },
+ "@nodelib/fs.walk": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.4.tgz",
+ "integrity": "sha512-1V9XOY4rDW0rehzbrcqAmHnz8e7SKvX27gh8Gt2WgB0+pdzdiLV83p72kZPU+jvMbS1qU5mauP2iOvO8rhmurQ==",
+ "dev": true,
+ "requires": {
+ "@nodelib/fs.scandir": "2.1.3",
+ "fastq": "^1.6.0"
}
},
"@nuxtjs/opencollective": {
@@ -101,9 +134,9 @@
"dev": true
},
"@types/json-schema": {
- "version": "7.0.5",
- "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.5.tgz",
- "integrity": "sha512-7+2BITlgjgDhH0vvwZU/HZJVyk+2XUlvxXe8dFMedNX/aMkaOq++rMAFXc0tM7ij15QaWlbdQASBR9dihi+bDQ==",
+ "version": "7.0.6",
+ "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.6.tgz",
+ "integrity": "sha512-3c+yGKvVP5Y9TYBEibGNR+kLtijnj7mYrXRg+WpFb2X9xm04g/DXYkfg4hmzJQosc9snFNUPkbYIhu+KAm6jJw==",
"dev": true
},
"@types/json5": {
@@ -119,45 +152,30 @@
"dev": true
},
"@typescript-eslint/eslint-plugin": {
- "version": "3.10.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-3.10.1.tgz",
- "integrity": "sha512-PQg0emRtzZFWq6PxBcdxRH3QIQiyFO3WCVpRL3fgj5oQS3CDs3AeAKfv4DxNhzn8ITdNJGJ4D3Qw8eAJf3lXeQ==",
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.0.0.tgz",
+ "integrity": "sha512-5e6q1TR7gS2P+8W2xndCu7gBh3BzmYEo70OyIdsmCmknHha/yNbz2vdevl+tP1uoaMOcrzg4gyrAijuV3DDBHA==",
"dev": true,
"requires": {
- "@typescript-eslint/experimental-utils": "3.10.1",
+ "@typescript-eslint/experimental-utils": "4.0.0",
+ "@typescript-eslint/scope-manager": "4.0.0",
"debug": "^4.1.1",
"functional-red-black-tree": "^1.0.1",
"regexpp": "^3.0.0",
"semver": "^7.3.2",
"tsutils": "^3.17.1"
- },
- "dependencies": {
- "debug": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
- "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
- "dev": true,
- "requires": {
- "ms": "^2.1.1"
- }
- },
- "ms": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
- "dev": true
- }
}
},
"@typescript-eslint/experimental-utils": {
- "version": "3.10.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-3.10.1.tgz",
- "integrity": "sha512-DewqIgscDzmAfd5nOGe4zm6Bl7PKtMG2Ad0KG8CUZAHlXfAKTF9Ol5PXhiMh39yRL2ChRH1cuuUGOcVyyrhQIw==",
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.0.0.tgz",
+ "integrity": "sha512-hbX6zR+a/vcpFVNJYN/Nbd7gmaMosDTxHEKcvmhWeWcq/0UDifrqmCfkkodbAKL46Fn4ekSBMTyq2zlNDzcQxw==",
"dev": true,
"requires": {
"@types/json-schema": "^7.0.3",
- "@typescript-eslint/types": "3.10.1",
- "@typescript-eslint/typescript-estree": "3.10.1",
+ "@typescript-eslint/scope-manager": "4.0.0",
+ "@typescript-eslint/types": "4.0.0",
+ "@typescript-eslint/typescript-estree": "4.0.0",
"eslint-scope": "^5.0.0",
"eslint-utils": "^2.0.0"
}
@@ -219,69 +237,54 @@
"eslint-visitor-keys": "^1.1.0"
}
},
- "debug": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
- "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
- "dev": true,
- "requires": {
- "ms": "^2.1.1"
- }
- },
- "ms": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "eslint-visitor-keys": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz",
+ "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==",
"dev": true
}
}
},
+ "@typescript-eslint/scope-manager": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.0.0.tgz",
+ "integrity": "sha512-9gcWUPoWo7gk/+ZQPg7L1ySRmR5HLIy3Vu6/LfhQbuzIkGm6v2CGIjpVRISoDLFRovNRDImd4aP/sa8O4yIEBg==",
+ "dev": true,
+ "requires": {
+ "@typescript-eslint/types": "4.0.0",
+ "@typescript-eslint/visitor-keys": "4.0.0"
+ }
+ },
"@typescript-eslint/types": {
- "version": "3.10.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-3.10.1.tgz",
- "integrity": "sha512-+3+FCUJIahE9q0lDi1WleYzjCwJs5hIsbugIgnbB+dSCYUxl8L6PwmsyOPFZde2hc1DlTo/xnkOgiTLSyAbHiQ==",
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.0.0.tgz",
+ "integrity": "sha512-bK+c2VLzznX2fUWLK6pFDv3cXGTp7nHIuBMq1B9klA+QCsqLHOOqe5TQReAQDl7DN2RfH+neweo0oC5hYlG7Rg==",
"dev": true
},
"@typescript-eslint/typescript-estree": {
- "version": "3.10.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-3.10.1.tgz",
- "integrity": "sha512-QbcXOuq6WYvnB3XPsZpIwztBoquEYLXh2MtwVU+kO8jgYCiv4G5xrSP/1wg4tkvrEE+esZVquIPX/dxPlePk1w==",
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.0.0.tgz",
+ "integrity": "sha512-ewFMPi2pMLDNIXGMPdf8r7El2oPSZw9PEYB0j+WcpKd7AX2ARmajGa7RUHTukllWX2bj4vWX6JLE1Oih2BMokA==",
"dev": true,
"requires": {
- "@typescript-eslint/types": "3.10.1",
- "@typescript-eslint/visitor-keys": "3.10.1",
+ "@typescript-eslint/types": "4.0.0",
+ "@typescript-eslint/visitor-keys": "4.0.0",
"debug": "^4.1.1",
- "glob": "^7.1.6",
+ "globby": "^11.0.1",
"is-glob": "^4.0.1",
"lodash": "^4.17.15",
"semver": "^7.3.2",
"tsutils": "^3.17.1"
- },
- "dependencies": {
- "debug": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
- "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
- "dev": true,
- "requires": {
- "ms": "^2.1.1"
- }
- },
- "ms": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
- "dev": true
- }
}
},
"@typescript-eslint/visitor-keys": {
- "version": "3.10.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-3.10.1.tgz",
- "integrity": "sha512-9JgC82AaQeglebjZMgYR5wgmfUdUc+EitGUUMW8u2nDckaeimzW+VsoLV6FoimPv2id3VQzfjwBxEMVz08ameQ==",
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.0.0.tgz",
+ "integrity": "sha512-sTouJbv6rjVJeTE4lpSBVYXq/u5K3gbB6LKt7ccFEZPTZB/VeQ0ssUz9q5Hx++sCqBbdF8PzrrgvEnicXAR6NQ==",
"dev": true,
"requires": {
- "eslint-visitor-keys": "^1.1.0"
+ "@typescript-eslint/types": "4.0.0",
+ "eslint-visitor-keys": "^2.0.0"
}
},
"acorn": {
@@ -291,9 +294,9 @@
"dev": true
},
"acorn-jsx": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.2.0.tgz",
- "integrity": "sha512-HiUX/+K2YpkpJ+SzBffkM/AQ2YE03S0U1kjTLVpoJdhZMOWy8qvXVN9JdLqv2QsaQ6MPYQIuNmwD8zOiYUofLQ==",
+ "version": "5.3.1",
+ "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.1.tgz",
+ "integrity": "sha512-K0Ptm/47OKfQRpNQ2J/oIN/3QYiK6FwW+eJbILhsdxh2WTLdl+30o8aGdTbm5JbffpFFAg/g+zi1E+jvJha5ng==",
"dev": true
},
"aggregate-error": {
@@ -319,9 +322,9 @@
}
},
"ansi-colors": {
- "version": "3.2.4",
- "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.4.tgz",
- "integrity": "sha512-hHUXGagefjN2iRrID63xckIvotOXOojhQKWIPUZ4mNUZ9nLZW+7FMNoE1lOkEhNWYsx/7ysGIuJYCiMAA9FnrA==",
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz",
+ "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==",
"dev": true
},
"ansi-escapes": {
@@ -376,6 +379,12 @@
"is-string": "^1.0.5"
}
},
+ "array-union": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz",
+ "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==",
+ "dev": true
+ },
"array.prototype.flat": {
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.2.3.tgz",
@@ -486,6 +495,73 @@
"requires": {
"slice-ansi": "^3.0.0",
"string-width": "^4.2.0"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
+ "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
+ "dev": true,
+ "requires": {
+ "@types/color-name": "^1.1.1",
+ "color-convert": "^2.0.1"
+ }
+ },
+ "astral-regex": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz",
+ "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==",
+ "dev": true
+ },
+ "color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "dev": true,
+ "requires": {
+ "color-name": "~1.1.4"
+ }
+ },
+ "color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
+ "dev": true
+ },
+ "emoji-regex": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
+ "dev": true
+ },
+ "is-fullwidth-code-point": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
+ "dev": true
+ },
+ "slice-ansi": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz",
+ "integrity": "sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ==",
+ "dev": true,
+ "requires": {
+ "ansi-styles": "^4.0.0",
+ "astral-regex": "^2.0.0",
+ "is-fullwidth-code-point": "^3.0.0"
+ }
+ },
+ "string-width": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz",
+ "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==",
+ "dev": true,
+ "requires": {
+ "emoji-regex": "^8.0.0",
+ "is-fullwidth-code-point": "^3.0.0",
+ "strip-ansi": "^6.0.0"
+ }
+ }
}
},
"color-convert": {
@@ -504,9 +580,9 @@
"dev": true
},
"commander": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/commander/-/commander-6.0.0.tgz",
- "integrity": "sha512-s7EA+hDtTYNhuXkTlhqew4txMZVdszBmKWSPEMxGr8ru8JXR7bLUFIAtPhcSuFdJQ0ILMxnJi8GkQL0yvDy/YA==",
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-6.1.0.tgz",
+ "integrity": "sha512-wl7PNrYWd2y5mp1OK/LhTlv8Ff4kQJQRXXAvF+uU/TPNiVJUxZLRYGj/B0y/lPGAVcSbJqH2Za/cvHmrPMC8mA==",
"dev": true
},
"compare-versions": {
@@ -534,22 +610,36 @@
"dev": true
},
"cosmiconfig": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-6.0.0.tgz",
- "integrity": "sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg==",
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.0.tgz",
+ "integrity": "sha512-pondGvTuVYDk++upghXJabWzL6Kxu6f26ljFw64Swq9v6sQPUL3EUlVDV56diOjpCayKihL6hVe8exIACU4XcA==",
"dev": true,
"requires": {
"@types/parse-json": "^4.0.0",
- "import-fresh": "^3.1.0",
+ "import-fresh": "^3.2.1",
"parse-json": "^5.0.0",
"path-type": "^4.0.0",
- "yaml": "^1.7.2"
+ "yaml": "^1.10.0"
+ },
+ "dependencies": {
+ "parse-json": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.1.0.tgz",
+ "integrity": "sha512-+mi/lmVVNKFNVyLXV31ERiy2CY5E1/F6QtJFEzoChPRwwngMNXRDQ9GJ5WdE2Z2P4AujsOi0/+2qHID68KwfIQ==",
+ "dev": true,
+ "requires": {
+ "@babel/code-frame": "^7.0.0",
+ "error-ex": "^1.3.1",
+ "json-parse-even-better-errors": "^2.3.0",
+ "lines-and-columns": "^1.1.6"
+ }
+ }
}
},
"cross-spawn": {
- "version": "7.0.2",
- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.2.tgz",
- "integrity": "sha512-PD6G8QG3S4FK/XCGFbEQrDqO2AnMMsy0meR7lerlIOHAAbkuavGU/pOqprrlvfTNjvowivTeBsjebAL0NSoMxw==",
+ "version": "7.0.3",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
+ "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
"dev": true,
"requires": {
"path-key": "^3.1.0",
@@ -573,13 +663,6 @@
"integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
"requires": {
"ms": "^2.1.1"
- },
- "dependencies": {
- "ms": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
- }
}
},
"dedent": {
@@ -603,6 +686,15 @@
"object-keys": "^1.0.12"
}
},
+ "dir-glob": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz",
+ "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==",
+ "dev": true,
+ "requires": {
+ "path-type": "^4.0.0"
+ }
+ },
"doctrine": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
@@ -613,9 +705,9 @@
}
},
"emoji-regex": {
- "version": "8.0.0",
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
- "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
+ "version": "7.0.3",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",
+ "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==",
"dev": true
},
"end-of-stream": {
@@ -628,12 +720,12 @@
}
},
"enquirer": {
- "version": "2.3.5",
- "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.5.tgz",
- "integrity": "sha512-BNT1C08P9XD0vNg3J475yIUG+mVdp9T6towYFHUv897X0KoHBjB1shyrNmhmtHWKP17iSWgo7Gqh7BBuzLZMSA==",
+ "version": "2.3.6",
+ "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz",
+ "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==",
"dev": true,
"requires": {
- "ansi-colors": "^3.2.1"
+ "ansi-colors": "^4.1.1"
}
},
"error-ex": {
@@ -726,12 +818,13 @@
"dev": true
},
"eslint": {
- "version": "7.7.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.7.0.tgz",
- "integrity": "sha512-1KUxLzos0ZVsyL81PnRN335nDtQ8/vZUD6uMtWbF+5zDtjKcsklIi78XoE0MVL93QvWTu+E5y44VyyCsOMBrIg==",
+ "version": "7.8.1",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.8.1.tgz",
+ "integrity": "sha512-/2rX2pfhyUG0y+A123d0ccXtMm7DV7sH1m3lk9nk2DZ2LReq39FXHueR9xZwshE5MdfSf0xunSaMWRqyIA6M1w==",
"dev": true,
"requires": {
"@babel/code-frame": "^7.0.0",
+ "@eslint/eslintrc": "^0.1.3",
"ajv": "^6.10.0",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
@@ -741,7 +834,7 @@
"eslint-scope": "^5.1.0",
"eslint-utils": "^2.1.0",
"eslint-visitor-keys": "^1.3.0",
- "espree": "^7.2.0",
+ "espree": "^7.3.0",
"esquery": "^1.2.0",
"esutils": "^2.0.2",
"file-entry-cache": "^5.0.1",
@@ -804,14 +897,11 @@
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true
},
- "debug": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
- "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
- "dev": true,
- "requires": {
- "ms": "^2.1.1"
- }
+ "eslint-visitor-keys": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz",
+ "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==",
+ "dev": true
},
"has-flag": {
"version": "4.0.0",
@@ -819,16 +909,16 @@
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true
},
- "ms": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "ignore": {
+ "version": "4.0.6",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz",
+ "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==",
"dev": true
},
"supports-color": {
- "version": "7.1.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz",
- "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==",
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"dev": true,
"requires": {
"has-flag": "^4.0.0"
@@ -863,6 +953,12 @@
"requires": {
"ms": "2.0.0"
}
+ },
+ "ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=",
+ "dev": true
}
}
},
@@ -885,63 +981,11 @@
"ms": "2.0.0"
}
},
- "find-up": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz",
- "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=",
- "dev": true,
- "requires": {
- "locate-path": "^2.0.0"
- }
- },
- "locate-path": {
+ "ms": {
"version": "2.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz",
- "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=",
- "dev": true,
- "requires": {
- "p-locate": "^2.0.0",
- "path-exists": "^3.0.0"
- }
- },
- "p-limit": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz",
- "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==",
- "dev": true,
- "requires": {
- "p-try": "^1.0.0"
- }
- },
- "p-locate": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz",
- "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=",
- "dev": true,
- "requires": {
- "p-limit": "^1.1.0"
- }
- },
- "p-try": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz",
- "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=",
"dev": true
- },
- "path-exists": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
- "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=",
- "dev": true
- },
- "pkg-dir": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz",
- "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=",
- "dev": true,
- "requires": {
- "find-up": "^2.1.0"
- }
}
}
},
@@ -984,6 +1028,12 @@
"esutils": "^2.0.2",
"isarray": "^1.0.0"
}
+ },
+ "ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=",
+ "dev": true
}
}
},
@@ -1004,23 +1054,39 @@
"dev": true,
"requires": {
"eslint-visitor-keys": "^1.1.0"
+ },
+ "dependencies": {
+ "eslint-visitor-keys": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz",
+ "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==",
+ "dev": true
+ }
}
},
"eslint-visitor-keys": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz",
- "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==",
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.0.0.tgz",
+ "integrity": "sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ==",
"dev": true
},
"espree": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/espree/-/espree-7.2.0.tgz",
- "integrity": "sha512-H+cQ3+3JYRMEIOl87e7QdHX70ocly5iW4+dttuR8iYSPr/hXKFb+7dBsZ7+u1adC4VrnPlTkv0+OwuPnDop19g==",
+ "version": "7.3.0",
+ "resolved": "https://registry.npmjs.org/espree/-/espree-7.3.0.tgz",
+ "integrity": "sha512-dksIWsvKCixn1yrEXO8UosNSxaDoSYpq9reEjZSbHLpT5hpaCAKTLBwq0RHtLrIr+c0ByiYzWT8KTMRzoRCNlw==",
"dev": true,
"requires": {
- "acorn": "^7.3.1",
+ "acorn": "^7.4.0",
"acorn-jsx": "^5.2.0",
"eslint-visitor-keys": "^1.3.0"
+ },
+ "dependencies": {
+ "eslint-visitor-keys": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz",
+ "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==",
+ "dev": true
+ }
}
},
"esprima": {
@@ -1047,12 +1113,20 @@
}
},
"esrecurse": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz",
- "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==",
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
+ "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
"dev": true,
"requires": {
- "estraverse": "^4.1.0"
+ "estraverse": "^5.2.0"
+ },
+ "dependencies": {
+ "estraverse": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz",
+ "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==",
+ "dev": true
+ }
}
},
"estraverse": {
@@ -1117,6 +1191,20 @@
"integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
"dev": true
},
+ "fast-glob": {
+ "version": "3.2.4",
+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.4.tgz",
+ "integrity": "sha512-kr/Oo6PX51265qeuCYsyGypiO5uJFgBS0jksyG7FUeCyQzNwYnzrNIMR1NXfkZXsMYXYLRAHgISHBz8gQcxKHQ==",
+ "dev": true,
+ "requires": {
+ "@nodelib/fs.stat": "^2.0.2",
+ "@nodelib/fs.walk": "^1.2.3",
+ "glob-parent": "^5.1.0",
+ "merge2": "^1.3.0",
+ "micromatch": "^4.0.2",
+ "picomatch": "^2.2.1"
+ }
+ },
"fast-json-stable-stringify": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
@@ -1135,6 +1223,15 @@
"integrity": "sha512-Utm6CdzT+6xsDk2m8S6uL8VHxNwI6Jub+e9NYTcAms28T84pTa25GJQV9j0CY0N1rM8hK4x6grpF2BQf+2qwVA==",
"dev": true
},
+ "fastq": {
+ "version": "1.8.0",
+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.8.0.tgz",
+ "integrity": "sha512-SMIZoZdLh/fgofivvIkmknUXyPnvxRE3DhtZ5Me3Mrsk5gyPL42F0xr51TdRXskBxHfMp+07bcYzfsYEsSQA9Q==",
+ "dev": true,
+ "requires": {
+ "reusify": "^1.0.4"
+ }
+ },
"figures": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz",
@@ -1163,13 +1260,12 @@
}
},
"find-up": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
- "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz",
+ "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=",
"dev": true,
"requires": {
- "locate-path": "^5.0.0",
- "path-exists": "^4.0.0"
+ "locate-path": "^2.0.0"
}
},
"find-versions": {
@@ -1275,6 +1371,20 @@
"type-fest": "^0.8.1"
}
},
+ "globby": {
+ "version": "11.0.1",
+ "resolved": "https://registry.npmjs.org/globby/-/globby-11.0.1.tgz",
+ "integrity": "sha512-iH9RmgwCmUJHi2z5o2l3eTtGBtXek1OYlHrbcxOYugyHLmAsZrPj43OtHThd62Buh/Vv6VyCBD2bdyWcGNQqoQ==",
+ "dev": true,
+ "requires": {
+ "array-union": "^2.1.0",
+ "dir-glob": "^3.0.1",
+ "fast-glob": "^3.1.1",
+ "ignore": "^5.1.4",
+ "merge2": "^1.3.0",
+ "slash": "^3.0.0"
+ }
+ },
"graceful-fs": {
"version": "4.2.4",
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz",
@@ -1315,15 +1425,15 @@
"dev": true
},
"husky": {
- "version": "4.2.5",
- "resolved": "https://registry.npmjs.org/husky/-/husky-4.2.5.tgz",
- "integrity": "sha512-SYZ95AjKcX7goYVZtVZF2i6XiZcHknw50iXvY7b0MiGoj5RwdgRQNEHdb+gPDPCXKlzwrybjFjkL6FOj8uRhZQ==",
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/husky/-/husky-4.3.0.tgz",
+ "integrity": "sha512-tTMeLCLqSBqnflBZnlVDhpaIMucSGaYyX6855jM4AguGeWCeSzNdb1mfyWduTZ3pe3SJVvVWGL0jO1iKZVPfTA==",
"dev": true,
"requires": {
"chalk": "^4.0.0",
"ci-info": "^2.0.0",
"compare-versions": "^3.6.0",
- "cosmiconfig": "^6.0.0",
+ "cosmiconfig": "^7.0.0",
"find-versions": "^3.2.0",
"opencollective-postinstall": "^2.0.2",
"pkg-dir": "^4.2.0",
@@ -1343,9 +1453,9 @@
}
},
"chalk": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.0.0.tgz",
- "integrity": "sha512-N9oWFcegS0sFr9oh1oz2d7Npos6vNoWW9HvtCg5N1KRFpUhaAhvTv5Y58g880fZaEYSNm3qDz8SU1UrGvp+n7A==",
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz",
+ "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==",
"dev": true,
"requires": {
"ansi-styles": "^4.1.0",
@@ -1367,16 +1477,74 @@
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true
},
+ "find-up": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
+ "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
+ "dev": true,
+ "requires": {
+ "locate-path": "^5.0.0",
+ "path-exists": "^4.0.0"
+ }
+ },
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true
},
+ "locate-path": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
+ "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
+ "dev": true,
+ "requires": {
+ "p-locate": "^4.1.0"
+ }
+ },
+ "p-limit": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
+ "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
+ "dev": true,
+ "requires": {
+ "p-try": "^2.0.0"
+ }
+ },
+ "p-locate": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
+ "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
+ "dev": true,
+ "requires": {
+ "p-limit": "^2.2.0"
+ }
+ },
+ "p-try": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
+ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
+ "dev": true
+ },
+ "path-exists": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
+ "dev": true
+ },
+ "pkg-dir": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz",
+ "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==",
+ "dev": true,
+ "requires": {
+ "find-up": "^4.0.0"
+ }
+ },
"supports-color": {
- "version": "7.1.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz",
- "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==",
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"dev": true,
"requires": {
"has-flag": "^4.0.0"
@@ -1385,9 +1553,9 @@
}
},
"ignore": {
- "version": "4.0.6",
- "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz",
- "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==",
+ "version": "5.1.8",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz",
+ "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==",
"dev": true
},
"import-fresh": {
@@ -1435,9 +1603,9 @@
"dev": true
},
"is-callable": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.0.tgz",
- "integrity": "sha512-pyVD9AaGLxtg6srb2Ng6ynWJqkHU9bEM087AKck0w8QwDarTfNcpIYoU8x8Hv2Icm8u6kFJM18Dag8lyqGkviw==",
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.1.tgz",
+ "integrity": "sha512-wliAfSzx6V+6WfMOmus1xy0XvSgf/dlStkvTfq7F0g4bOIW0PSUbnyse3NhDwdyYS1ozfUtAAySqTws3z9Eqgg==",
"dev": true
},
"is-date-object": {
@@ -1453,9 +1621,9 @@
"dev": true
},
"is-fullwidth-code-point": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
- "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
+ "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
"dev": true
},
"is-glob": {
@@ -1486,9 +1654,9 @@
"dev": true
},
"is-regex": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.0.tgz",
- "integrity": "sha512-iI97M8KTWID2la5uYXlkbSDQIg4F6o1sYboZKKTDpnDQMLtUL86zxhgDet3Q2SriaYsyGqZ6Mn2SjbRKeLHdqw==",
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.1.tgz",
+ "integrity": "sha512-1+QkEcxiLlB7VEyFtyBg94e08OAsvq7FUBgApTq/w2ymCLyKJgDPsybBENVtA7XCQEgEXxKPonG+mvYRxh/LIg==",
"dev": true,
"requires": {
"has-symbols": "^1.0.1"
@@ -1555,10 +1723,10 @@
"esprima": "^4.0.0"
}
},
- "json-parse-better-errors": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz",
- "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==",
+ "json-parse-even-better-errors": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",
+ "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==",
"dev": true
},
"json-schema-traverse": {
@@ -1599,9 +1767,9 @@
"dev": true
},
"lint-staged": {
- "version": "10.2.13",
- "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-10.2.13.tgz",
- "integrity": "sha512-conwlukNV6aL9SiMWjFtDp5exeDnTMekdNPDZsKGnpfQuHcO0E3L3Bbf58lcR+M7vk6LpCilxDAVks/DDVBYlA==",
+ "version": "10.3.0",
+ "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-10.3.0.tgz",
+ "integrity": "sha512-an3VgjHqmJk0TORB/sdQl0CTkRg4E5ybYCXTTCSJ5h9jFwZbcgKIx5oVma5e7wp/uKt17s1QYFmYqT9MGVosGw==",
"dev": true,
"requires": {
"chalk": "^4.1.0",
@@ -1621,12 +1789,6 @@
"stringify-object": "^3.3.0"
},
"dependencies": {
- "ansi-colors": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz",
- "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==",
- "dev": true
- },
"ansi-styles": {
"version": "4.2.1",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
@@ -1662,70 +1824,27 @@
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true
},
- "cosmiconfig": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.0.tgz",
- "integrity": "sha512-pondGvTuVYDk++upghXJabWzL6Kxu6f26ljFw64Swq9v6sQPUL3EUlVDV56diOjpCayKihL6hVe8exIACU4XcA==",
- "dev": true,
- "requires": {
- "@types/parse-json": "^4.0.0",
- "import-fresh": "^3.2.1",
- "parse-json": "^5.0.0",
- "path-type": "^4.0.0",
- "yaml": "^1.10.0"
- }
- },
- "debug": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
- "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
- "dev": true,
- "requires": {
- "ms": "^2.1.1"
- }
- },
- "enquirer": {
- "version": "2.3.6",
- "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz",
- "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==",
- "dev": true,
- "requires": {
- "ansi-colors": "^4.1.1"
- }
- },
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true
},
- "ms": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
- "dev": true
- },
"supports-color": {
- "version": "7.1.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz",
- "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==",
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"dev": true,
"requires": {
"has-flag": "^4.0.0"
}
- },
- "yaml": {
- "version": "1.10.0",
- "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.0.tgz",
- "integrity": "sha512-yr2icI4glYaNG+KWONODapy2/jDdMSDnrONSjblABjD9B4Z5LgiircSt8m8sRZFNi08kG9Sm0uSHtEmP3zaEGg==",
- "dev": true
}
}
},
"listr2": {
- "version": "2.6.0",
- "resolved": "https://registry.npmjs.org/listr2/-/listr2-2.6.0.tgz",
- "integrity": "sha512-nwmqTJYQQ+AsKb4fCXH/6/UmLCEDL1jkRAdSn9M6cEUzoRGrs33YD/3N86gAZQnGZ6hxV18XSdlBcJ1GTmetJA==",
+ "version": "2.6.2",
+ "resolved": "https://registry.npmjs.org/listr2/-/listr2-2.6.2.tgz",
+ "integrity": "sha512-6x6pKEMs8DSIpA/tixiYY2m/GcbgMplMVmhQAaLFxEtNSKLeWTGjtmU57xvv6QCm2XcqzyNXL/cTSVf4IChCRA==",
"dev": true,
"requires": {
"chalk": "^4.1.0",
@@ -1780,9 +1899,9 @@
"dev": true
},
"supports-color": {
- "version": "7.1.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz",
- "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==",
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"dev": true,
"requires": {
"has-flag": "^4.0.0"
@@ -1800,26 +1919,16 @@
"parse-json": "^2.2.0",
"pify": "^2.0.0",
"strip-bom": "^3.0.0"
- },
- "dependencies": {
- "parse-json": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz",
- "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=",
- "dev": true,
- "requires": {
- "error-ex": "^1.2.0"
- }
- }
}
},
"locate-path": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
- "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz",
+ "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=",
"dev": true,
"requires": {
- "p-locate": "^4.1.0"
+ "p-locate": "^2.0.0",
+ "path-exists": "^3.0.0"
}
},
"lodash": {
@@ -1879,9 +1988,9 @@
"dev": true
},
"supports-color": {
- "version": "7.1.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz",
- "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==",
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"dev": true,
"requires": {
"has-flag": "^4.0.0"
@@ -1932,6 +2041,12 @@
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true
},
+ "is-fullwidth-code-point": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
+ "dev": true
+ },
"slice-ansi": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz",
@@ -1976,6 +2091,12 @@
"integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==",
"dev": true
},
+ "merge2": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
+ "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
+ "dev": true
+ },
"micromatch": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz",
@@ -2021,10 +2142,9 @@
"integrity": "sha512-A/78XjoX2EmNvppVWEhM2oGk3x4lLxnkEA4jTbaK97QKSDjkIoOsKQlfylt/d3kKKi596Qy3NP5XrXJ6fZIC9Q=="
},
"ms": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
- "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=",
- "dev": true
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
},
"natural-compare": {
"version": "1.4.0",
@@ -2039,9 +2159,9 @@
"dev": true
},
"node-fetch": {
- "version": "2.6.0",
- "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz",
- "integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA=="
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
+ "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw=="
},
"normalize-package-data": {
"version": "2.5.0",
@@ -2139,9 +2259,9 @@
}
},
"opencollective-postinstall": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/opencollective-postinstall/-/opencollective-postinstall-2.0.2.tgz",
- "integrity": "sha512-pVOEP16TrAO2/fjej1IdOyupJY8KDUM1CvsaScRbw6oddvpQoOfGk4ywha0HKKVAD6RkW4x6Q+tNBwhf3Bgpuw==",
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/opencollective-postinstall/-/opencollective-postinstall-2.0.3.tgz",
+ "integrity": "sha512-8AV/sCtuzUeTo8gQK5qDZzARrulB3egtLzFgteqB2tcT4Mw7B8Kt7JcDHmltjz6FOAHsvTevk70gZEbhM4ZS9Q==",
"dev": true
},
"optionator": {
@@ -2159,21 +2279,21 @@
}
},
"p-limit": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
- "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz",
+ "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==",
"dev": true,
"requires": {
- "p-try": "^2.0.0"
+ "p-try": "^1.0.0"
}
},
"p-locate": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
- "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz",
+ "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=",
"dev": true,
"requires": {
- "p-limit": "^2.2.0"
+ "p-limit": "^1.1.0"
}
},
"p-map": {
@@ -2186,9 +2306,9 @@
}
},
"p-try": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
- "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz",
+ "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=",
"dev": true
},
"parent-module": {
@@ -2201,21 +2321,18 @@
}
},
"parse-json": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.0.0.tgz",
- "integrity": "sha512-OOY5b7PAEFV0E2Fir1KOkxchnZNCdowAJgQ5NuxjpBKTRP3pQhwkrkxqQjeoKJ+fO7bCpmIZaogI4eZGDMEGOw==",
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz",
+ "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=",
"dev": true,
"requires": {
- "@babel/code-frame": "^7.0.0",
- "error-ex": "^1.3.1",
- "json-parse-better-errors": "^1.0.1",
- "lines-and-columns": "^1.1.6"
+ "error-ex": "^1.2.0"
}
},
"path-exists": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
- "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
+ "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=",
"dev": true
},
"path-is-absolute": {
@@ -2261,12 +2378,12 @@
"dev": true
},
"pkg-dir": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz",
- "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==",
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz",
+ "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=",
"dev": true,
"requires": {
- "find-up": "^4.0.0"
+ "find-up": "^2.1.0"
}
},
"please-upgrade-node": {
@@ -2342,57 +2459,6 @@
"requires": {
"find-up": "^2.0.0",
"read-pkg": "^2.0.0"
- },
- "dependencies": {
- "find-up": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz",
- "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=",
- "dev": true,
- "requires": {
- "locate-path": "^2.0.0"
- }
- },
- "locate-path": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz",
- "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=",
- "dev": true,
- "requires": {
- "p-locate": "^2.0.0",
- "path-exists": "^3.0.0"
- }
- },
- "p-limit": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz",
- "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==",
- "dev": true,
- "requires": {
- "p-try": "^1.0.0"
- }
- },
- "p-locate": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz",
- "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=",
- "dev": true,
- "requires": {
- "p-limit": "^1.1.0"
- }
- },
- "p-try": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz",
- "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=",
- "dev": true
- },
- "path-exists": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
- "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=",
- "dev": true
- }
}
},
"reflect-metadata": {
@@ -2401,12 +2467,6 @@
"integrity": "sha512-Ts1Y/anZELhSsjMcU605fU9RE4Oi3p5ORujwbIKXfWa+0Zxs510Qrmrce5/Jowq3cHSZSJqBjypxmHarc+vEWg==",
"dev": true
},
- "regenerator-runtime": {
- "version": "0.13.3",
- "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.3.tgz",
- "integrity": "sha512-naKIZz2GQ8JWh///G7L3X6LaQUAMp2lvb1rvwwsURe/VXwD6VMfr+/1NuNw3ag8v2kY1aQ/go5SNn79O9JU7yw==",
- "dev": true
- },
"regexpp": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.1.0.tgz",
@@ -2438,6 +2498,12 @@
"signal-exit": "^3.0.2"
}
},
+ "reusify": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",
+ "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",
+ "dev": true
+ },
"rimraf": {
"version": "2.6.3",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz",
@@ -2447,13 +2513,27 @@
"glob": "^7.1.3"
}
},
+ "run-parallel": {
+ "version": "1.1.9",
+ "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.1.9.tgz",
+ "integrity": "sha512-DEqnSRTDw/Tc3FXf49zedI638Z9onwUotBMiUFKmrO2sdFKIbXamXGQ3Axd4qgphxKB4kw/qP1w5kTxnfU1B9Q==",
+ "dev": true
+ },
"rxjs": {
- "version": "6.6.2",
- "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.2.tgz",
- "integrity": "sha512-BHdBMVoWC2sL26w//BCu3YzKT4s2jip/WhwsGEDmeKYBhKDZeYezVUnHatYB7L85v5xs0BAQmg6BEYJEKxBabg==",
+ "version": "6.6.3",
+ "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.3.tgz",
+ "integrity": "sha512-trsQc+xYYXZ3urjOiJOuCOa5N3jAZ3eiSpQB5hIT8zGlL2QfnHLJ2r7GMkBGuIausdJN1OneaI6gQlsqNHHmZQ==",
"dev": true,
"requires": {
"tslib": "^1.9.0"
+ },
+ "dependencies": {
+ "tslib": {
+ "version": "1.13.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.13.0.tgz",
+ "integrity": "sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q==",
+ "dev": true
+ }
}
},
"sandwich-stream": {
@@ -2507,47 +2587,14 @@
"dev": true
},
"slice-ansi": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz",
- "integrity": "sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ==",
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz",
+ "integrity": "sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==",
"dev": true,
"requires": {
- "ansi-styles": "^4.0.0",
- "astral-regex": "^2.0.0",
- "is-fullwidth-code-point": "^3.0.0"
- },
- "dependencies": {
- "ansi-styles": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
- "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
- "dev": true,
- "requires": {
- "@types/color-name": "^1.1.1",
- "color-convert": "^2.0.1"
- }
- },
- "astral-regex": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz",
- "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==",
- "dev": true
- },
- "color-convert": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
- "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
- "requires": {
- "color-name": "~1.1.4"
- }
- },
- "color-name": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true
- }
+ "ansi-styles": "^3.2.0",
+ "astral-regex": "^1.0.0",
+ "is-fullwidth-code-point": "^2.0.0"
}
},
"spdx-correct": {
@@ -2595,14 +2642,31 @@
"dev": true
},
"string-width": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz",
- "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==",
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
+ "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",
"dev": true,
"requires": {
- "emoji-regex": "^8.0.0",
- "is-fullwidth-code-point": "^3.0.0",
- "strip-ansi": "^6.0.0"
+ "emoji-regex": "^7.0.1",
+ "is-fullwidth-code-point": "^2.0.0",
+ "strip-ansi": "^5.1.0"
+ },
+ "dependencies": {
+ "ansi-regex": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
+ "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
+ "dev": true
+ },
+ "strip-ansi": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
+ "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
+ "dev": true,
+ "requires": {
+ "ansi-regex": "^4.1.0"
+ }
+ }
}
},
"string.prototype.trimend": {
@@ -2690,69 +2754,18 @@
"lodash": "^4.17.14",
"slice-ansi": "^2.1.0",
"string-width": "^3.0.0"
- },
- "dependencies": {
- "ansi-regex": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
- "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
- "dev": true
- },
- "emoji-regex": {
- "version": "7.0.3",
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",
- "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==",
- "dev": true
- },
- "is-fullwidth-code-point": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz",
- "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=",
- "dev": true
- },
- "slice-ansi": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz",
- "integrity": "sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==",
- "dev": true,
- "requires": {
- "ansi-styles": "^3.2.0",
- "astral-regex": "^1.0.0",
- "is-fullwidth-code-point": "^2.0.0"
- }
- },
- "string-width": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
- "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==",
- "dev": true,
- "requires": {
- "emoji-regex": "^7.0.1",
- "is-fullwidth-code-point": "^2.0.0",
- "strip-ansi": "^5.1.0"
- }
- },
- "strip-ansi": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
- "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
- "dev": true,
- "requires": {
- "ansi-regex": "^4.1.0"
- }
- }
}
},
"telegraf": {
- "version": "git://github.com/telegraf/telegraf.git#8f55d0c191f9fca2da7318b06a0e63bedf788976",
- "from": "git://github.com/telegraf/telegraf.git#8f55d0c191f9fca2da7318b06a0e63bedf788976",
+ "version": "git://github.com/telegraf/telegraf.git#addd845af3a20948ba0ee32fe6b1b4374bff1f09",
+ "from": "git://github.com/telegraf/telegraf.git#addd845af3a20948ba0ee32fe6b1b4374bff1f09",
"requires": {
"debug": "^4.0.1",
"minimist": "^1.2.0",
"module-alias": "^2.2.2",
"node-fetch": "^2.2.0",
"sandwich-stream": "^2.0.1",
- "typegram": "^2.0.0"
+ "typegram": "^2.2.1"
}
},
"text-table": {
@@ -2799,9 +2812,9 @@
}
},
"tslib": {
- "version": "1.11.1",
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.11.1.tgz",
- "integrity": "sha512-aZW88SY8kQbU7gpV19lN24LtXh/yD4ZZg6qieAJDDg+YBsJcSmLGK9QpnUjAKVG/xefmvJGd1WUmfpT/g6AJGA==",
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.1.tgz",
+ "integrity": "sha512-SgIkNheinmEBgx1IUNirK0TUD4X9yjjBRTqqjggWCU3pUEqIk3/Uwl3yRixYKT6WjQuGiwDv4NomL3wqRCj+CQ==",
"dev": true
},
"tsutils": {
@@ -2811,6 +2824,14 @@
"dev": true,
"requires": {
"tslib": "^1.8.1"
+ },
+ "dependencies": {
+ "tslib": {
+ "version": "1.13.0",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.13.0.tgz",
+ "integrity": "sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q==",
+ "dev": true
+ }
}
},
"type": {
@@ -2835,9 +2856,9 @@
"dev": true
},
"typegram": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/typegram/-/typegram-2.1.0.tgz",
- "integrity": "sha512-Cw/xS+KosABzRGxy8i+jqomw/+aKm1ntv0UpPxkyE5X20Iid/wMOcIqidLUPrhWEAT2FiDa5gO8h5g3XsjMVEw=="
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/typegram/-/typegram-2.2.1.tgz",
+ "integrity": "sha512-PaHbV/oeqE8y0g6nO1pcQJl2R7EpZe7B05emprGf46DMVKCS865jpa0WgBNJh0W2G1jq5rebqMdttw/errZqZQ=="
},
"typescript": {
"version": "4.0.2",
@@ -2846,9 +2867,9 @@
"dev": true
},
"uri-js": {
- "version": "4.2.2",
- "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz",
- "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==",
+ "version": "4.4.0",
+ "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.0.tgz",
+ "integrity": "sha512-B0yRTzYdUCCn9n+F4+Gh4yIDtMQcaJsmYBDsTSG8g/OejKBodLQ2IHfN3bM7jUsRXndopT7OIXWdYqc1fjmV6g==",
"dev": true,
"requires": {
"punycode": "^2.1.0"
@@ -2932,6 +2953,29 @@
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true
+ },
+ "emoji-regex": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
+ "dev": true
+ },
+ "is-fullwidth-code-point": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
+ "dev": true
+ },
+ "string-width": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz",
+ "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==",
+ "dev": true,
+ "requires": {
+ "emoji-regex": "^8.0.0",
+ "is-fullwidth-code-point": "^3.0.0",
+ "strip-ansi": "^6.0.0"
+ }
}
}
},
@@ -2951,13 +2995,10 @@
}
},
"yaml": {
- "version": "1.7.2",
- "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.7.2.tgz",
- "integrity": "sha512-qXROVp90sb83XtAoqE8bP9RwAkTTZbugRUTm5YeFCBfNRPEp2YzTeqWiz7m5OORHzEvrA/qcGS8hp/E+MMROYw==",
- "dev": true,
- "requires": {
- "@babel/runtime": "^7.6.3"
- }
+ "version": "1.10.0",
+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.0.tgz",
+ "integrity": "sha512-yr2icI4glYaNG+KWONODapy2/jDdMSDnrONSjblABjD9B4Z5LgiircSt8m8sRZFNi08kG9Sm0uSHtEmP3zaEGg==",
+ "dev": true
}
}
}
diff --git a/package.json b/package.json
index dc31d77..06cdf3b 100644
--- a/package.json
+++ b/package.json
@@ -33,7 +33,7 @@
"test": ""
},
"dependencies": {
- "telegraf": "git://github.com/telegraf/telegraf.git#8f55d0c191f9fca2da7318b06a0e63bedf788976"
+ "telegraf": "git://github.com/telegraf/telegraf.git#addd845af3a20948ba0ee32fe6b1b4374bff1f09"
},
"devDependencies": {
"@nestjs/common": "7.4.4",
From 6ecd61be4a1da0052f97ee25c32c7994bbdd0063 Mon Sep 17 00:00:00 2001
From: Aleksandr Bukhalo
Date: Thu, 10 Sep 2020 12:52:46 +0300
Subject: [PATCH 005/101] fix: telegraf context usage
---
lib/interfaces/context.interface.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/interfaces/context.interface.ts b/lib/interfaces/context.interface.ts
index 418bbac..b45bc97 100644
--- a/lib/interfaces/context.interface.ts
+++ b/lib/interfaces/context.interface.ts
@@ -1,4 +1,4 @@
-import { TelegrafContext } from 'telegraf/typings/context';
+import { Context as TelegrafContext } from 'telegraf';
export interface Context extends TelegrafContext {
[key: string]: any;
From 16de6489276db25585f0458564ce33f155043722 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Sat, 12 Sep 2020 16:41:26 +0300
Subject: [PATCH 006/101] chore(deps): bump node-fetch from 2.6.0 to 2.6.1
(#121)
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 3baa147..27e856b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2085,9 +2085,9 @@
"dev": true
},
"node-fetch": {
- "version": "2.6.0",
- "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz",
- "integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA=="
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
+ "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw=="
},
"normalize-package-data": {
"version": "2.5.0",
From 744da0a92255c410fee0940cfc66752266e0ff5a Mon Sep 17 00:00:00 2001
From: Aleksandr Bukhalo
Date: Sun, 13 Sep 2020 11:28:42 +0300
Subject: [PATCH 007/101] refactor: cleanup context interface
---
lib/interfaces/context.interface.ts | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/lib/interfaces/context.interface.ts b/lib/interfaces/context.interface.ts
index b45bc97..d670e24 100644
--- a/lib/interfaces/context.interface.ts
+++ b/lib/interfaces/context.interface.ts
@@ -1,11 +1,3 @@
import { Context as TelegrafContext } from 'telegraf';
-export interface Context extends TelegrafContext {
- [key: string]: any;
-}
-
-/**
- * Removed type from Telegraf v3.38.0, added for backward compatibility.
- * TODO: remove on next major release
- */
-export interface ContextMessageUpdate extends Context {}
+export interface Context extends TelegrafContext {}
From b83a9bc5d80ce1f8ef74989adbf8a3bd1fa6d349 Mon Sep 17 00:00:00 2001
From: Aleksandr Bukhalo
Date: Sun, 13 Sep 2020 11:33:07 +0300
Subject: [PATCH 008/101] refactor: remove all ts-ignore
---
lib/telegraf.explorer.ts | 7 -------
1 file changed, 7 deletions(-)
diff --git a/lib/telegraf.explorer.ts b/lib/telegraf.explorer.ts
index 4ddefd6..42aa3c5 100644
--- a/lib/telegraf.explorer.ts
+++ b/lib/telegraf.explorer.ts
@@ -178,12 +178,10 @@ export class TelegrafExplorer implements OnModuleInit {
}
handleTelegrafSettings(instance: object, key: string) {
- // @ts-ignore
this.telegraf.settings(instance[key].bind(instance));
}
handleTelegrafEntity(instance: object, key: string, metadata: EntityOptions) {
- // @ts-ignore
this.telegraf.entity(metadata.entity, instance[key].bind(instance));
}
@@ -192,12 +190,10 @@ export class TelegrafExplorer implements OnModuleInit {
key: string,
metadata: MentionOptions,
) {
- // @ts-ignore
this.telegraf.mention(metadata.username, instance[key].bind(instance));
}
handleTelegrafPhone(instance: object, key: string, metadata: PhoneOptions) {
- // @ts-ignore
this.telegraf.phone(metadata.phone, instance[key].bind(instance));
}
@@ -206,7 +202,6 @@ export class TelegrafExplorer implements OnModuleInit {
key: string,
metadata: HashtagOptions,
) {
- // @ts-ignore
this.telegraf.hashtag(metadata.hashtag, instance[key].bind(instance));
}
@@ -215,7 +210,6 @@ export class TelegrafExplorer implements OnModuleInit {
key: string,
metadata: CashtagOptions,
) {
- // @ts-ignore
this.telegraf.cashtag(metadata.cashtag, instance[key].bind(instance));
}
@@ -229,7 +223,6 @@ export class TelegrafExplorer implements OnModuleInit {
metadata: InlineQueryOptions,
) {
if (metadata.triggers) {
- // @ts-ignore
this.telegraf.inlineQuery(
metadata.triggers,
instance[key].bind(instance),
From 18f19f0fc10843b0c73fdee4d0ddded93882735e Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 15 Sep 2020 12:38:24 +0300
Subject: [PATCH 009/101] chore(deps-dev): bump eslint from 7.8.1 to 7.9.0
(#122)
Bumps [eslint](https://github.com/eslint/eslint) from 7.8.1 to 7.9.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.8.1...v7.9.0)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 18 +++++++++---------
package.json | 2 +-
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 27e856b..c884f94 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -313,9 +313,9 @@
"dev": true
},
"acorn-jsx": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.2.0.tgz",
- "integrity": "sha512-HiUX/+K2YpkpJ+SzBffkM/AQ2YE03S0U1kjTLVpoJdhZMOWy8qvXVN9JdLqv2QsaQ6MPYQIuNmwD8zOiYUofLQ==",
+ "version": "5.3.1",
+ "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.1.tgz",
+ "integrity": "sha512-K0Ptm/47OKfQRpNQ2J/oIN/3QYiK6FwW+eJbILhsdxh2WTLdl+30o8aGdTbm5JbffpFFAg/g+zi1E+jvJha5ng==",
"dev": true
},
"aggregate-error": {
@@ -329,9 +329,9 @@
}
},
"ajv": {
- "version": "6.12.4",
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.4.tgz",
- "integrity": "sha512-eienB2c9qVQs2KWexhkrdMLVDoIQCz5KSeLxwg9Lzk4DOfBtIK9PQwwufcsn1jjGuf9WZmqPMbGxOzfcuphJCQ==",
+ "version": "6.12.5",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.5.tgz",
+ "integrity": "sha512-lRF8RORchjpKG50/WFf8xmg7sgCLFiYNNnqdKflk63whMQcWR5ngGjiSXkL9bjxy6B2npOK2HSMN49jEBMSkag==",
"dev": true,
"requires": {
"fast-deep-equal": "^3.1.1",
@@ -765,9 +765,9 @@
"dev": true
},
"eslint": {
- "version": "7.8.1",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.8.1.tgz",
- "integrity": "sha512-/2rX2pfhyUG0y+A123d0ccXtMm7DV7sH1m3lk9nk2DZ2LReq39FXHueR9xZwshE5MdfSf0xunSaMWRqyIA6M1w==",
+ "version": "7.9.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.9.0.tgz",
+ "integrity": "sha512-V6QyhX21+uXp4T+3nrNfI3hQNBDa/P8ga7LoQOenwrlEFXrEnUEE+ok1dMtaS3b6rmLXhT1TkTIsG75HMLbknA==",
"dev": true,
"requires": {
"@babel/code-frame": "^7.0.0",
diff --git a/package.json b/package.json
index ffbc598..f39b1ac 100644
--- a/package.json
+++ b/package.json
@@ -40,7 +40,7 @@
"@nestjs/core": "7.4.4",
"@typescript-eslint/eslint-plugin": "4.0.0",
"@typescript-eslint/parser": "3.10.1",
- "eslint": "7.8.1",
+ "eslint": "7.9.0",
"eslint-config-prettier": "6.11.0",
"eslint-plugin-import": "2.22.0",
"husky": "4.3.0",
From 0a93e3176a5910142a880be5bdcac09f224422ae Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 16 Sep 2020 11:56:43 +0300
Subject: [PATCH 010/101] chore(deps-dev): bump prettier from 2.1.1 to 2.1.2
(#123)
Bumps [prettier](https://github.com/prettier/prettier) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.1.1...2.1.2)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 6 +++---
package.json | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index c884f94..ca7b43c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2331,9 +2331,9 @@
"dev": true
},
"prettier": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.1.1.tgz",
- "integrity": "sha512-9bY+5ZWCfqj3ghYBLxApy2zf6m+NJo5GzmLTpr9FsApsfjriNnS2dahWReHMi7qNPhhHl9SYHJs2cHZLgexNIw==",
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.1.2.tgz",
+ "integrity": "sha512-16c7K+x4qVlJg9rEbXl7HEGmQyZlG4R9AgP+oHKRMsMsuk8s+ATStlf1NpDqyBI1HpVyfjLOeMhH2LvuNvV5Vg==",
"dev": true
},
"progress": {
diff --git a/package.json b/package.json
index f39b1ac..0f50b0e 100644
--- a/package.json
+++ b/package.json
@@ -45,7 +45,7 @@
"eslint-plugin-import": "2.22.0",
"husky": "4.3.0",
"lint-staged": "10.3.0",
- "prettier": "2.1.1",
+ "prettier": "2.1.2",
"reflect-metadata": "0.1.13",
"rxjs": "6.6.3",
"typescript": "4.0.2"
From 9cef6e19f6bc6346e2ebfe561a52a2ff1198ac30 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Thu, 17 Sep 2020 10:47:38 +0300
Subject: [PATCH 011/101] chore(deps-dev): bump lint-staged from 10.3.0 to
10.4.0 (#124)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.3.0 to 10.4.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.3.0...v10.4.0)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 25 +++----------------------
package.json | 2 +-
2 files changed, 4 insertions(+), 23 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index ca7b43c..32e3869 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1669,9 +1669,9 @@
"dev": true
},
"lint-staged": {
- "version": "10.3.0",
- "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-10.3.0.tgz",
- "integrity": "sha512-an3VgjHqmJk0TORB/sdQl0CTkRg4E5ybYCXTTCSJ5h9jFwZbcgKIx5oVma5e7wp/uKt17s1QYFmYqT9MGVosGw==",
+ "version": "10.4.0",
+ "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-10.4.0.tgz",
+ "integrity": "sha512-uaiX4U5yERUSiIEQc329vhCTDDwUcSvKdRLsNomkYLRzijk3v8V9GWm2Nz0RMVB87VcuzLvtgy6OsjoH++QHIg==",
"dev": true,
"requires": {
"chalk": "^4.1.0",
@@ -1726,19 +1726,6 @@
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true
},
- "cosmiconfig": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.0.tgz",
- "integrity": "sha512-pondGvTuVYDk++upghXJabWzL6Kxu6f26ljFw64Swq9v6sQPUL3EUlVDV56diOjpCayKihL6hVe8exIACU4XcA==",
- "dev": true,
- "requires": {
- "@types/parse-json": "^4.0.0",
- "import-fresh": "^3.2.1",
- "parse-json": "^5.0.0",
- "path-type": "^4.0.0",
- "yaml": "^1.10.0"
- }
- },
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
@@ -1753,12 +1740,6 @@
"requires": {
"has-flag": "^4.0.0"
}
- },
- "yaml": {
- "version": "1.10.0",
- "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.0.tgz",
- "integrity": "sha512-yr2icI4glYaNG+KWONODapy2/jDdMSDnrONSjblABjD9B4Z5LgiircSt8m8sRZFNi08kG9Sm0uSHtEmP3zaEGg==",
- "dev": true
}
}
},
diff --git a/package.json b/package.json
index 0f50b0e..a9fcd35 100644
--- a/package.json
+++ b/package.json
@@ -44,7 +44,7 @@
"eslint-config-prettier": "6.11.0",
"eslint-plugin-import": "2.22.0",
"husky": "4.3.0",
- "lint-staged": "10.3.0",
+ "lint-staged": "10.4.0",
"prettier": "2.1.2",
"reflect-metadata": "0.1.13",
"rxjs": "6.6.3",
From 82de7c7431a926e038dfaa419c1dfa3a6bb48d42 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 21 Sep 2020 11:47:12 +0300
Subject: [PATCH 012/101] chore(deps-dev): bump typescript from 4.0.2 to 4.0.3
(#125)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.0.2 to 4.0.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.0.2...v4.0.3)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 6 +++---
package.json | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 32e3869..a246ac6 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2889,9 +2889,9 @@
"dev": true
},
"typescript": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.2.tgz",
- "integrity": "sha512-e4ERvRV2wb+rRZ/IQeb3jm2VxBsirQLpQhdxplZ2MEzGvDkkMmPglecnNDfSUBivMjP93vRbngYYDQqQ/78bcQ==",
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.3.tgz",
+ "integrity": "sha512-tEu6DGxGgRJPb/mVPIZ48e69xCn2yRmCgYmDugAVwmJ6o+0u1RI18eO7E7WBTLYLaEVVOhwQmcdhQHweux/WPg==",
"dev": true
},
"uri-js": {
diff --git a/package.json b/package.json
index a9fcd35..022623e 100644
--- a/package.json
+++ b/package.json
@@ -48,7 +48,7 @@
"prettier": "2.1.2",
"reflect-metadata": "0.1.13",
"rxjs": "6.6.3",
- "typescript": "4.0.2"
+ "typescript": "4.0.3"
},
"peerDependencies": {
"@nestjs/common": "^6.7.0 || ^7.0.0",
From c11f6d53449d83e64c09269cb2f2a49826ff0a21 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 28 Sep 2020 12:57:33 +0300
Subject: [PATCH 013/101] chore(deps-dev): bump eslint-config-prettier from
6.11.0 to 6.12.0 (#126)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.11.0 to 6.12.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.11.0...v6.12.0)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 6 +++---
package.json | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index a246ac6..f9841b4 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -862,9 +862,9 @@
}
},
"eslint-config-prettier": {
- "version": "6.11.0",
- "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-6.11.0.tgz",
- "integrity": "sha512-oB8cpLWSAjOVFEJhhyMZh6NOEOtBVziaqdDQ86+qhDHFbZXoRTM7pNSvFRfW/W/L/LrQ38C99J5CGuRBBzBsdA==",
+ "version": "6.12.0",
+ "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-6.12.0.tgz",
+ "integrity": "sha512-9jWPlFlgNwRUYVoujvWTQ1aMO8o6648r+K7qU7K5Jmkbyqav1fuEZC0COYpGBxyiAJb65Ra9hrmFx19xRGwXWw==",
"dev": true,
"requires": {
"get-stdin": "^6.0.0"
diff --git a/package.json b/package.json
index 022623e..d8ae2d8 100644
--- a/package.json
+++ b/package.json
@@ -41,7 +41,7 @@
"@typescript-eslint/eslint-plugin": "4.0.0",
"@typescript-eslint/parser": "3.10.1",
"eslint": "7.9.0",
- "eslint-config-prettier": "6.11.0",
+ "eslint-config-prettier": "6.12.0",
"eslint-plugin-import": "2.22.0",
"husky": "4.3.0",
"lint-staged": "10.4.0",
From cd52de0f4e22b30d385b518f4c9a2d2783bf33b6 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 28 Sep 2020 13:14:37 +0300
Subject: [PATCH 014/101] chore(deps-dev): bump eslint from 7.9.0 to 7.10.0
(#127)
Bumps [eslint](https://github.com/eslint/eslint) from 7.9.0 to 7.10.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.9.0...v7.10.0)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 35 +++++++++++++++++++++++++++++++----
package.json | 2 +-
2 files changed, 32 insertions(+), 5 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index f9841b4..9b07f95 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -765,9 +765,9 @@
"dev": true
},
"eslint": {
- "version": "7.9.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.9.0.tgz",
- "integrity": "sha512-V6QyhX21+uXp4T+3nrNfI3hQNBDa/P8ga7LoQOenwrlEFXrEnUEE+ok1dMtaS3b6rmLXhT1TkTIsG75HMLbknA==",
+ "version": "7.10.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.10.0.tgz",
+ "integrity": "sha512-BDVffmqWl7JJXqCjAK6lWtcQThZB/aP1HXSH1JKwGwv0LQEdvpR7qzNrUT487RM39B5goWuboFad5ovMBmD8yA==",
"dev": true,
"requires": {
"@babel/code-frame": "^7.0.0",
@@ -778,7 +778,7 @@
"debug": "^4.0.1",
"doctrine": "^3.0.0",
"enquirer": "^2.3.5",
- "eslint-scope": "^5.1.0",
+ "eslint-scope": "^5.1.1",
"eslint-utils": "^2.1.0",
"eslint-visitor-keys": "^1.3.0",
"espree": "^7.3.0",
@@ -844,6 +844,33 @@
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true
},
+ "eslint-scope": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz",
+ "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==",
+ "dev": true,
+ "requires": {
+ "esrecurse": "^4.3.0",
+ "estraverse": "^4.1.1"
+ }
+ },
+ "esrecurse": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
+ "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
+ "dev": true,
+ "requires": {
+ "estraverse": "^5.2.0"
+ },
+ "dependencies": {
+ "estraverse": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz",
+ "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==",
+ "dev": true
+ }
+ }
+ },
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
diff --git a/package.json b/package.json
index d8ae2d8..47ffcad 100644
--- a/package.json
+++ b/package.json
@@ -40,7 +40,7 @@
"@nestjs/core": "7.4.4",
"@typescript-eslint/eslint-plugin": "4.0.0",
"@typescript-eslint/parser": "3.10.1",
- "eslint": "7.9.0",
+ "eslint": "7.10.0",
"eslint-config-prettier": "6.12.0",
"eslint-plugin-import": "2.22.0",
"husky": "4.3.0",
From 6eccec57593476f09e0d3f91703813d805e74c89 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 28 Sep 2020 13:14:55 +0300
Subject: [PATCH 015/101] chore(deps-dev): bump eslint-plugin-import from
2.22.0 to 2.22.1 (#128)
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.22.0 to 2.22.1.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.22.0...v2.22.1)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 68 +++++++++++++++++++++++++++++++++--------------
package.json | 2 +-
2 files changed, 49 insertions(+), 21 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 9b07f95..0cfc228 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -998,9 +998,9 @@
}
},
"eslint-plugin-import": {
- "version": "2.22.0",
- "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.22.0.tgz",
- "integrity": "sha512-66Fpf1Ln6aIS5Gr/55ts19eUuoDhAbZgnr6UxK5hbDx6l/QgQgx61AePq+BV4PP2uXQFClgMVzep5zZ94qqsxg==",
+ "version": "2.22.1",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.22.1.tgz",
+ "integrity": "sha512-8K7JjINHOpH64ozkAhpT3sd+FswIZTfMZTjdx052pnWrgRCVfp8op9tbjpAk3DdUeI/Ba4C8OjdC0r90erHEOw==",
"dev": true,
"requires": {
"array-includes": "^3.1.1",
@@ -1008,7 +1008,7 @@
"contains-path": "^0.1.0",
"debug": "^2.6.9",
"doctrine": "1.5.0",
- "eslint-import-resolver-node": "^0.3.3",
+ "eslint-import-resolver-node": "^0.3.4",
"eslint-module-utils": "^2.6.0",
"has": "^1.0.3",
"minimatch": "^3.0.4",
@@ -1532,9 +1532,9 @@
"dev": true
},
"is-callable": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.0.tgz",
- "integrity": "sha512-pyVD9AaGLxtg6srb2Ng6ynWJqkHU9bEM087AKck0w8QwDarTfNcpIYoU8x8Hv2Icm8u6kFJM18Dag8lyqGkviw==",
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.2.tgz",
+ "integrity": "sha512-dnMqspv5nU3LoewK2N/y7KLtxtakvTuaCsU9FU50/QDmdbHNy/4/JuRtMHqRU22o3q+W89YQndQEeCVwK+3qrA==",
"dev": true
},
"is-date-object": {
@@ -1564,6 +1564,12 @@
"is-extglob": "^2.1.1"
}
},
+ "is-negative-zero": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.0.tgz",
+ "integrity": "sha1-lVOxIbD6wohp2p7UWeIMdUN4hGE=",
+ "dev": true
+ },
"is-number": {
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
@@ -1583,9 +1589,9 @@
"dev": true
},
"is-regex": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.0.tgz",
- "integrity": "sha512-iI97M8KTWID2la5uYXlkbSDQIg4F6o1sYboZKKTDpnDQMLtUL86zxhgDet3Q2SriaYsyGqZ6Mn2SjbRKeLHdqw==",
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.1.tgz",
+ "integrity": "sha512-1+QkEcxiLlB7VEyFtyBg94e08OAsvq7FUBgApTq/w2ymCLyKJgDPsybBENVtA7XCQEgEXxKPonG+mvYRxh/LIg==",
"dev": true,
"requires": {
"has-symbols": "^1.0.1"
@@ -2151,15 +2157,37 @@
"dev": true
},
"object.assign": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz",
- "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==",
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.1.tgz",
+ "integrity": "sha512-VT/cxmx5yaoHSOTSyrCygIDFco+RsibY2NM0a4RdEeY/4KgqezwFtK1yr3U67xYhqJSlASm2pKhLVzPj2lr4bA==",
"dev": true,
"requires": {
- "define-properties": "^1.1.2",
- "function-bind": "^1.1.1",
- "has-symbols": "^1.0.0",
- "object-keys": "^1.0.11"
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.18.0-next.0",
+ "has-symbols": "^1.0.1",
+ "object-keys": "^1.1.1"
+ },
+ "dependencies": {
+ "es-abstract": {
+ "version": "1.18.0-next.0",
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.0.tgz",
+ "integrity": "sha512-elZXTZXKn51hUBdJjSZGYRujuzilgXo8vSPQzjGYXLvSlGiCo8VO8ZGV3kjo9a0WNJJ57hENagwbtlRuHuzkcQ==",
+ "dev": true,
+ "requires": {
+ "es-to-primitive": "^1.2.1",
+ "function-bind": "^1.1.1",
+ "has": "^1.0.3",
+ "has-symbols": "^1.0.1",
+ "is-callable": "^1.2.0",
+ "is-negative-zero": "^2.0.0",
+ "is-regex": "^1.1.1",
+ "object-inspect": "^1.8.0",
+ "object-keys": "^1.1.1",
+ "object.assign": "^4.1.0",
+ "string.prototype.trimend": "^1.0.1",
+ "string.prototype.trimstart": "^1.0.1"
+ }
+ }
}
},
"object.values": {
@@ -2637,9 +2665,9 @@
}
},
"spdx-license-ids": {
- "version": "3.0.5",
- "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz",
- "integrity": "sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q==",
+ "version": "3.0.6",
+ "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.6.tgz",
+ "integrity": "sha512-+orQK83kyMva3WyPf59k1+Y525csj5JejicWut55zeTWANuN17qSiSLUXWtzHeNWORSvT7GLDJ/E/XiIWoXBTw==",
"dev": true
},
"sprintf-js": {
diff --git a/package.json b/package.json
index 47ffcad..5a4e2fe 100644
--- a/package.json
+++ b/package.json
@@ -42,7 +42,7 @@
"@typescript-eslint/parser": "3.10.1",
"eslint": "7.10.0",
"eslint-config-prettier": "6.12.0",
- "eslint-plugin-import": "2.22.0",
+ "eslint-plugin-import": "2.22.1",
"husky": "4.3.0",
"lint-staged": "10.4.0",
"prettier": "2.1.2",
From 439e04f8306f69f88b98164b98eef41cf9f92e5d Mon Sep 17 00:00:00 2001
From: Aleksandr Bukhalo
Date: Sat, 3 Oct 2020 17:14:30 +0300
Subject: [PATCH 016/101] chore: update funding links
---
.github/FUNDING.yml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml
index 6272f13..0e05082 100644
--- a/.github/FUNDING.yml
+++ b/.github/FUNDING.yml
@@ -1 +1,5 @@
-custom: ["https://www.tinkoff.ru/sl/95M2htqoxux"]
+patreon: 'donbot_dev'
+open_collective: 'donbot_dev'
+ko_fi: 'donbot_dev'
+liberapay: 'donbot_dev'
+custom: ['https://paypal.me/donbotdev', 'https://www.tinkoff.ru/sl/95M2htqoxux']
From ed39fb1b28fe1988ff4f5e875fb3189d1d749f3d Mon Sep 17 00:00:00 2001
From: Aleksandr Bukhalo
Date: Mon, 12 Oct 2020 00:14:40 +0300
Subject: [PATCH 017/101] chore: update project meta
---
.all-contributorsrc | 6 +++---
.github/FUNDING.yml | 11 ++++++-----
.github/dependabot.yml | 10 +++++-----
LICENSE.md | 2 +-
README.md | 26 ++++++--------------------
package.json | 11 +++++------
website/docusaurus.config.js | 8 ++++----
7 files changed, 30 insertions(+), 44 deletions(-)
diff --git a/.all-contributorsrc b/.all-contributorsrc
index 89a7706..001e148 100644
--- a/.all-contributorsrc
+++ b/.all-contributorsrc
@@ -35,10 +35,10 @@
]
},
{
- "login": "bukhalo",
+ "login": "evilsprut",
"name": "Aleksandr Bukhalo",
"avatar_url": "https://avatars2.githubusercontent.com/u/14031838?v=4",
- "profile": "https://bukhalo.com/",
+ "profile": "https://evilsprut.com/",
"contributions": [
"code",
"doc",
@@ -57,7 +57,7 @@
],
"contributorsPerLine": 7,
"projectName": "nestjs-telegraf",
- "projectOwner": "bukhalo",
+ "projectOwner": "evilsprut",
"repoType": "github",
"repoHost": "https://github.com",
"skipCi": true
diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml
index 0e05082..c26b874 100644
--- a/.github/FUNDING.yml
+++ b/.github/FUNDING.yml
@@ -1,5 +1,6 @@
-patreon: 'donbot_dev'
-open_collective: 'donbot_dev'
-ko_fi: 'donbot_dev'
-liberapay: 'donbot_dev'
-custom: ['https://paypal.me/donbotdev', 'https://www.tinkoff.ru/sl/95M2htqoxux']
+patreon: 'evilsprut'
+open_collective: 'evilsprut'
+ko_fi: 'evilsprut'
+liberapay: 'evilsprut'
+custom:
+ ['https://paypal.me/evilsprutcom', 'https://www.tinkoff.ru/sl/95M2htqoxux']
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 963b673..afcf8a1 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -1,11 +1,11 @@
version: 2
updates:
# Configuration for npm
- - package-ecosystem: "npm"
- directory: "/"
+ - package-ecosystem: 'npm'
+ directory: '/'
schedule:
- interval: "daily"
+ interval: 'daily'
reviewers:
- - "bukhalo"
+ - 'evilsprut'
assignees:
- - "bukhalo"
+ - 'evilsprut'
diff --git a/LICENSE.md b/LICENSE.md
index b76d197..653c5ec 100644
--- a/LICENSE.md
+++ b/LICENSE.md
@@ -1,6 +1,6 @@
MIT License
-Copyright (c) 2019 - present Bukhalo Aleksandr Aleksandrovich
+Copyright (c) 2019 - present Aleksandr Bukhalo (hey@evilsprut.com)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/README.md b/README.md
index b3cac93..c41d94e 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@
# NestJS Telegraf
![npm](https://img.shields.io/npm/dm/nestjs-telegraf)
-![GitHub last commit](https://img.shields.io/github/last-commit/bukhalo/nestjs-telegraf)
+![GitHub last commit](https://img.shields.io/github/last-commit/evilsprut/nestjs-telegraf)
![NPM](https://img.shields.io/npm/l/nestjs-telegraf)
[Telegraf](https://github.com/telegraf/telegraf) module for [NestJS](https://github.com/nestjs/nest).
@@ -72,20 +72,6 @@ export class AppService {
}
```
-## Support
-
-Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support).
-
-## People
-
-- Authors - [Aleksandr Bukhalo](https://bukhalo.com/) & [Igor Kamyshev](https://kamyshev.me/)
-- Maintainers - [Aleksandr Bukhalo](https://bukhalo.com/)
-- Website - [https://nestjs.com](https://nestjs.com/)
-
-## License
-
-Nest is [MIT licensed](https://github.com/nestjs/nest/blob/master/LICENSE).
-
## Contributors ✨
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
@@ -95,11 +81,11 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
diff --git a/package.json b/package.json
index 5a4e2fe..2663edb 100644
--- a/package.json
+++ b/package.json
@@ -14,17 +14,16 @@
"bot api",
"bot framework"
],
- "homepage": "https://github.com/bukhalo/nestjs-telegraf#readme",
+ "homepage": "https://github.com/evilsprut/nestjs-telegraf#readme",
"bugs": {
- "url": "https://github.com/bukhalo/nestjs-telegraf/issues"
+ "url": "https://github.com/evilsprut/nestjs-telegraf/issues"
},
"license": "MIT",
- "author": "Aleksandr Bukhalo ",
+ "author": "Aleksandr Bukhalo ",
"contributors": [
- "Aleksandr Bukhalo (https://bukhalo.com/)",
- "Igor Kamyshev (https://kamyshev.me/)"
+ "Aleksandr Bukhalo (https://evilsprut.com/)"
],
- "repository": "git@github.com:bukhalo/nestjs-telegraf.git",
+ "repository": "git@github.com:evilsprut/nestjs-telegraf.git",
"scripts": {
"build": "rm -rf dist && tsc -p tsconfig.json",
"precommit": "lint-staged",
diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js
index b27373e..6cd55c8 100644
--- a/website/docusaurus.config.js
+++ b/website/docusaurus.config.js
@@ -5,7 +5,7 @@ module.exports = {
baseUrl: '/',
onBrokenLinks: 'throw',
favicon: 'img/favicon.ico',
- organizationName: 'bukhalo', // Usually your GitHub org/user name.
+ organizationName: 'evilsprut', // Usually your GitHub org/user name.
projectName: 'nestjs-telegraf', // Usually your repo name.
themeConfig: {
navbar: {
@@ -27,7 +27,7 @@ module.exports = {
},
// {to: 'blog', label: 'Blog', position: 'left'},
{
- href: 'https://github.com/bukhalo/nestjs-telegraf',
+ href: 'https://github.com/evilsprut/nestjs-telegraf',
label: 'GitHub',
position: 'right',
},
@@ -91,7 +91,7 @@ module.exports = {
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl:
- 'https://github.com/bukhalo/nestjs-telegraf/edit/master/website/',
+ 'https://github.com/evilsprut/nestjs-telegraf/edit/master/website/',
showLastUpdateAuthor: true,
showLastUpdateTime: true,
},
@@ -99,7 +99,7 @@ module.exports = {
// showReadingTime: true,
// // Please change this to your repo.
// editUrl:
- // 'https://github.com/bukhalo/nestjs-telegraf/edit/master/website/blog/',
+ // 'https://github.com/evilsprut/nestjs-telegraf/edit/master/website/blog/',
// },
theme: {
customCss: require.resolve('./src/css/custom.css'),
From 76f3bd3bca277787c1a3c1e0cefa1686c421108c Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 12 Oct 2020 00:17:50 +0300
Subject: [PATCH 018/101] chore(deps-dev): bump eslint from 7.10.0 to 7.11.0
(#129)
Bumps [eslint](https://github.com/eslint/eslint) from 7.10.0 to 7.11.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.10.0...v7.11.0)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 33 +++++++++++++++++++--------------
package.json | 2 +-
2 files changed, 20 insertions(+), 15 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 0cfc228..150ef2b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -307,9 +307,9 @@
}
},
"acorn": {
- "version": "7.4.0",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.0.tgz",
- "integrity": "sha512-+G7P8jJmCHr+S+cLfQxygbWhXy+8YTVGzAkpEbcLo2mLoL7tij/VG41QSHACSf5QgYRhMZYHuNc6drJaO0Da+w==",
+ "version": "7.4.1",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz",
+ "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==",
"dev": true
},
"acorn-jsx": {
@@ -329,9 +329,9 @@
}
},
"ajv": {
- "version": "6.12.5",
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.5.tgz",
- "integrity": "sha512-lRF8RORchjpKG50/WFf8xmg7sgCLFiYNNnqdKflk63whMQcWR5ngGjiSXkL9bjxy6B2npOK2HSMN49jEBMSkag==",
+ "version": "6.12.6",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
+ "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
"dev": true,
"requires": {
"fast-deep-equal": "^3.1.1",
@@ -765,9 +765,9 @@
"dev": true
},
"eslint": {
- "version": "7.10.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.10.0.tgz",
- "integrity": "sha512-BDVffmqWl7JJXqCjAK6lWtcQThZB/aP1HXSH1JKwGwv0LQEdvpR7qzNrUT487RM39B5goWuboFad5ovMBmD8yA==",
+ "version": "7.11.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.11.0.tgz",
+ "integrity": "sha512-G9+qtYVCHaDi1ZuWzBsOWo2wSwd70TXnU6UHA3cTYHp7gCTXZcpggWFoUVAMRarg68qtPoNfFbzPh+VdOgmwmw==",
"dev": true,
"requires": {
"@babel/code-frame": "^7.0.0",
@@ -780,7 +780,7 @@
"enquirer": "^2.3.5",
"eslint-scope": "^5.1.1",
"eslint-utils": "^2.1.0",
- "eslint-visitor-keys": "^1.3.0",
+ "eslint-visitor-keys": "^2.0.0",
"espree": "^7.3.0",
"esquery": "^1.2.0",
"esutils": "^2.0.2",
@@ -810,12 +810,11 @@
},
"dependencies": {
"ansi-styles": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
- "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"requires": {
- "@types/color-name": "^1.1.1",
"color-convert": "^2.0.1"
}
},
@@ -854,6 +853,12 @@
"estraverse": "^4.1.1"
}
},
+ "eslint-visitor-keys": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.0.0.tgz",
+ "integrity": "sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ==",
+ "dev": true
+ },
"esrecurse": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
diff --git a/package.json b/package.json
index 2663edb..5850314 100644
--- a/package.json
+++ b/package.json
@@ -39,7 +39,7 @@
"@nestjs/core": "7.4.4",
"@typescript-eslint/eslint-plugin": "4.0.0",
"@typescript-eslint/parser": "3.10.1",
- "eslint": "7.10.0",
+ "eslint": "7.11.0",
"eslint-config-prettier": "6.12.0",
"eslint-plugin-import": "2.22.1",
"husky": "4.3.0",
From 7d734ebca896fc75ce71a6c5c056d1c6ca4f1425 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Sat, 31 Oct 2020 14:17:30 +0300
Subject: [PATCH 019/101] chore(deps-dev): bump typescript from 4.0.3 to 4.0.5
(#134)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.0.3 to 4.0.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.0.3...v4.0.5)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 6 +++---
package.json | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 150ef2b..befc65e 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2949,9 +2949,9 @@
"dev": true
},
"typescript": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.3.tgz",
- "integrity": "sha512-tEu6DGxGgRJPb/mVPIZ48e69xCn2yRmCgYmDugAVwmJ6o+0u1RI18eO7E7WBTLYLaEVVOhwQmcdhQHweux/WPg==",
+ "version": "4.0.5",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.5.tgz",
+ "integrity": "sha512-ywmr/VrTVCmNTJ6iV2LwIrfG1P+lv6luD8sUJs+2eI9NLGigaN+nUQc13iHqisq7bra9lnmUSYqbJvegraBOPQ==",
"dev": true
},
"uri-js": {
diff --git a/package.json b/package.json
index 5850314..303bb18 100644
--- a/package.json
+++ b/package.json
@@ -47,7 +47,7 @@
"prettier": "2.1.2",
"reflect-metadata": "0.1.13",
"rxjs": "6.6.3",
- "typescript": "4.0.3"
+ "typescript": "4.0.5"
},
"peerDependencies": {
"@nestjs/common": "^6.7.0 || ^7.0.0",
From b6ae591026e93821c6ca2e0c0f1669eda89b9e00 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Sat, 31 Oct 2020 14:17:49 +0300
Subject: [PATCH 020/101] chore(deps-dev): bump eslint from 7.11.0 to 7.12.1
(#135)
Bumps [eslint](https://github.com/eslint/eslint) from 7.11.0 to 7.12.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.11.0...v7.12.1)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 14 +++++++-------
package.json | 2 +-
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index befc65e..2ef2de3 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -25,9 +25,9 @@
}
},
"@eslint/eslintrc": {
- "version": "0.1.3",
- "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.1.3.tgz",
- "integrity": "sha512-4YVwPkANLeNtRjMekzux1ci8hIaH5eGKktGqR0d3LWsKNn5B2X/1Z6Trxy7jQXl9EBGE6Yj02O+t09FMeRllaA==",
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.2.1.tgz",
+ "integrity": "sha512-XRUeBZ5zBWLYgSANMpThFddrZZkEbGHgUdt5UJjZfnlN9BGCiUBrf+nvbRupSjMvqzwnQN0qwCmOxITt1cfywA==",
"dev": true,
"requires": {
"ajv": "^6.12.4",
@@ -765,13 +765,13 @@
"dev": true
},
"eslint": {
- "version": "7.11.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.11.0.tgz",
- "integrity": "sha512-G9+qtYVCHaDi1ZuWzBsOWo2wSwd70TXnU6UHA3cTYHp7gCTXZcpggWFoUVAMRarg68qtPoNfFbzPh+VdOgmwmw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.12.1.tgz",
+ "integrity": "sha512-HlMTEdr/LicJfN08LB3nM1rRYliDXOmfoO4vj39xN6BLpFzF00hbwBoqHk8UcJ2M/3nlARZWy/mslvGEuZFvsg==",
"dev": true,
"requires": {
"@babel/code-frame": "^7.0.0",
- "@eslint/eslintrc": "^0.1.3",
+ "@eslint/eslintrc": "^0.2.1",
"ajv": "^6.10.0",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
diff --git a/package.json b/package.json
index 303bb18..074013d 100644
--- a/package.json
+++ b/package.json
@@ -39,7 +39,7 @@
"@nestjs/core": "7.4.4",
"@typescript-eslint/eslint-plugin": "4.0.0",
"@typescript-eslint/parser": "3.10.1",
- "eslint": "7.11.0",
+ "eslint": "7.12.1",
"eslint-config-prettier": "6.12.0",
"eslint-plugin-import": "2.22.1",
"husky": "4.3.0",
From e232f003f6d71531ef0793256b601c014e61fe14 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Sat, 31 Oct 2020 14:18:07 +0300
Subject: [PATCH 021/101] chore(deps-dev): bump lint-staged from 10.4.0 to
10.5.0 (#136)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.4.0 to 10.5.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.4.0...v10.5.0)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 54 +++++++++++++++++++++--------------------------
package.json | 2 +-
2 files changed, 25 insertions(+), 31 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 2ef2de3..a7c8de2 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -532,9 +532,9 @@
"dev": true
},
"commander": {
- "version": "6.1.0",
- "resolved": "https://registry.npmjs.org/commander/-/commander-6.1.0.tgz",
- "integrity": "sha512-wl7PNrYWd2y5mp1OK/LhTlv8Ff4kQJQRXXAvF+uU/TPNiVJUxZLRYGj/B0y/lPGAVcSbJqH2Za/cvHmrPMC8mA==",
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.0.tgz",
+ "integrity": "sha512-zP4jEKbe8SHzKJYQmq8Y9gYjtO/POJLgIdKgV7B9qNmABVFVc+ctqSX6iXh4mCpJfRBOabiZ2YKPg8ciDw6C+Q==",
"dev": true
},
"compare-versions": {
@@ -1707,9 +1707,9 @@
"dev": true
},
"lint-staged": {
- "version": "10.4.0",
- "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-10.4.0.tgz",
- "integrity": "sha512-uaiX4U5yERUSiIEQc329vhCTDDwUcSvKdRLsNomkYLRzijk3v8V9GWm2Nz0RMVB87VcuzLvtgy6OsjoH++QHIg==",
+ "version": "10.5.0",
+ "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-10.5.0.tgz",
+ "integrity": "sha512-gjC9+HGkBubOF+Yyoj9pd52Qfm/kYB+dRX1UOgWjHKvSDYl+VHkZXlBMlqSZa2cH3Kp5/uNL480sV6e2dTgXSg==",
"dev": true,
"requires": {
"chalk": "^4.1.0",
@@ -1730,12 +1730,11 @@
},
"dependencies": {
"ansi-styles": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
- "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"requires": {
- "@types/color-name": "^1.1.1",
"color-convert": "^2.0.1"
}
},
@@ -1798,12 +1797,11 @@
},
"dependencies": {
"ansi-styles": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
- "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"requires": {
- "@types/color-name": "^1.1.1",
"color-convert": "^2.0.1"
}
},
@@ -1897,12 +1895,11 @@
},
"dependencies": {
"ansi-styles": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
- "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"requires": {
- "@types/color-name": "^1.1.1",
"color-convert": "^2.0.1"
}
},
@@ -1961,12 +1958,11 @@
},
"dependencies": {
"ansi-styles": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
- "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"requires": {
- "@types/color-name": "^1.1.1",
"color-convert": "^2.0.1"
}
},
@@ -2611,12 +2607,11 @@
},
"dependencies": {
"ansi-styles": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
- "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"requires": {
- "@types/color-name": "^1.1.1",
"color-convert": "^2.0.1"
}
},
@@ -3018,12 +3013,11 @@
},
"dependencies": {
"ansi-styles": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
- "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"requires": {
- "@types/color-name": "^1.1.1",
"color-convert": "^2.0.1"
}
},
diff --git a/package.json b/package.json
index 074013d..831d97a 100644
--- a/package.json
+++ b/package.json
@@ -43,7 +43,7 @@
"eslint-config-prettier": "6.12.0",
"eslint-plugin-import": "2.22.1",
"husky": "4.3.0",
- "lint-staged": "10.4.0",
+ "lint-staged": "10.5.0",
"prettier": "2.1.2",
"reflect-metadata": "0.1.13",
"rxjs": "6.6.3",
From a7e9b32f90a4b4023ecd679ef744e3b6dba96598 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Sat, 31 Oct 2020 14:35:22 +0300
Subject: [PATCH 022/101] chore(deps-dev): bump eslint-config-prettier from
6.12.0 to 6.15.0 (#137)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.12.0 to 6.15.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.12.0...v6.15.0)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 6 +++---
package.json | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index a7c8de2..e9e463d 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -894,9 +894,9 @@
}
},
"eslint-config-prettier": {
- "version": "6.12.0",
- "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-6.12.0.tgz",
- "integrity": "sha512-9jWPlFlgNwRUYVoujvWTQ1aMO8o6648r+K7qU7K5Jmkbyqav1fuEZC0COYpGBxyiAJb65Ra9hrmFx19xRGwXWw==",
+ "version": "6.15.0",
+ "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-6.15.0.tgz",
+ "integrity": "sha512-a1+kOYLR8wMGustcgAjdydMsQ2A/2ipRPwRKUmfYaSxc9ZPcrku080Ctl6zrZzZNs/U82MjSv+qKREkoq3bJaw==",
"dev": true,
"requires": {
"get-stdin": "^6.0.0"
diff --git a/package.json b/package.json
index 831d97a..33246e9 100644
--- a/package.json
+++ b/package.json
@@ -40,7 +40,7 @@
"@typescript-eslint/eslint-plugin": "4.0.0",
"@typescript-eslint/parser": "3.10.1",
"eslint": "7.12.1",
- "eslint-config-prettier": "6.12.0",
+ "eslint-config-prettier": "6.15.0",
"eslint-plugin-import": "2.22.1",
"husky": "4.3.0",
"lint-staged": "10.5.0",
From 0cea8b39b77bed0f27c3e88a5e267fa331465a06 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 2 Nov 2020 16:49:42 +0300
Subject: [PATCH 023/101] chore(deps-dev): bump lint-staged from 10.5.0 to
10.5.1 (#138)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.5.0 to 10.5.1.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.5.0...v10.5.1)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 43 +++++++++++++++++++++++++++++--------------
package.json | 2 +-
2 files changed, 30 insertions(+), 15 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index e9e463d..f5f2dba 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1135,9 +1135,9 @@
}
},
"execa": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/execa/-/execa-4.0.3.tgz",
- "integrity": "sha512-WFDXGHckXPWZX19t1kCsXzOpqX9LWYNqn4C+HqZlk/V0imTkzJZqf87ZBhvpHaftERYknpk0fjSylnXVlVgI0A==",
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz",
+ "integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==",
"dev": true,
"requires": {
"cross-spawn": "^7.0.0",
@@ -1707,20 +1707,20 @@
"dev": true
},
"lint-staged": {
- "version": "10.5.0",
- "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-10.5.0.tgz",
- "integrity": "sha512-gjC9+HGkBubOF+Yyoj9pd52Qfm/kYB+dRX1UOgWjHKvSDYl+VHkZXlBMlqSZa2cH3Kp5/uNL480sV6e2dTgXSg==",
+ "version": "10.5.1",
+ "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-10.5.1.tgz",
+ "integrity": "sha512-fTkTGFtwFIJJzn/PbUO3RXyEBHIhbfYBE7+rJyLcOXabViaO/h6OslgeK6zpeUtzkDrzkgyAYDTLAwx6JzDTHw==",
"dev": true,
"requires": {
"chalk": "^4.1.0",
"cli-truncate": "^2.1.0",
- "commander": "^6.0.0",
+ "commander": "^6.2.0",
"cosmiconfig": "^7.0.0",
- "debug": "^4.1.1",
+ "debug": "^4.2.0",
"dedent": "^0.7.0",
"enquirer": "^2.3.6",
- "execa": "^4.0.3",
- "listr2": "^2.6.0",
+ "execa": "^4.1.0",
+ "listr2": "^3.2.2",
"log-symbols": "^4.0.0",
"micromatch": "^4.0.2",
"normalize-path": "^3.0.0",
@@ -1763,12 +1763,27 @@
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true
},
+ "debug": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.2.0.tgz",
+ "integrity": "sha512-IX2ncY78vDTjZMFUdmsvIRFY2Cf4FnD0wRs+nQwJU8Lu99/tPFdb0VybiiMTPe3I6rQmwsqQqRBvxU+bZ/I8sg==",
+ "dev": true,
+ "requires": {
+ "ms": "2.1.2"
+ }
+ },
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true
},
+ "ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "dev": true
+ },
"supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
@@ -1781,9 +1796,9 @@
}
},
"listr2": {
- "version": "2.6.2",
- "resolved": "https://registry.npmjs.org/listr2/-/listr2-2.6.2.tgz",
- "integrity": "sha512-6x6pKEMs8DSIpA/tixiYY2m/GcbgMplMVmhQAaLFxEtNSKLeWTGjtmU57xvv6QCm2XcqzyNXL/cTSVf4IChCRA==",
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/listr2/-/listr2-3.2.2.tgz",
+ "integrity": "sha512-AajqcZEUikF2ioph6PfH3dIuxJclhr3i3kHgTOP0xeXdWQohrvJAAmqVcV43/GI987HFY/vzT73jYXoa4esDHg==",
"dev": true,
"requires": {
"chalk": "^4.1.0",
@@ -1792,7 +1807,7 @@
"indent-string": "^4.0.0",
"log-update": "^4.0.0",
"p-map": "^4.0.0",
- "rxjs": "^6.6.2",
+ "rxjs": "^6.6.3",
"through": "^2.3.8"
},
"dependencies": {
diff --git a/package.json b/package.json
index 33246e9..120fa41 100644
--- a/package.json
+++ b/package.json
@@ -43,7 +43,7 @@
"eslint-config-prettier": "6.15.0",
"eslint-plugin-import": "2.22.1",
"husky": "4.3.0",
- "lint-staged": "10.5.0",
+ "lint-staged": "10.5.1",
"prettier": "2.1.2",
"reflect-metadata": "0.1.13",
"rxjs": "6.6.3",
From 8f15ec03dbf72623687da3e384d71209cb04437b Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 3 Nov 2020 10:04:18 +0300
Subject: [PATCH 024/101] chore(deps-dev): bump @nestjs/core from 7.4.4 to
7.5.1 (#139)
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 7.4.4 to 7.5.1.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/commits)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 22 ++++++++++++++--------
package.json | 2 +-
2 files changed, 15 insertions(+), 9 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index f5f2dba..c0e99b1 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -64,9 +64,9 @@
}
},
"@nestjs/core": {
- "version": "7.4.4",
- "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-7.4.4.tgz",
- "integrity": "sha512-e3iID6s0JIaWDlZMIO+gkk5KDwHW+VUexvZOKXbTjtsBidtusbiT4JLr4ODkj8y3QSfQN9vouY9hWfwwQrxa/Q==",
+ "version": "7.5.1",
+ "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-7.5.1.tgz",
+ "integrity": "sha512-aJ1w5tQPkVEmH5QRe1echV5NFWAcHAVQJX/jvfCSK4M5VSkIBN9zreZg8UnYf8sbW5YEaizPts07veeTPsG3FQ==",
"dev": true,
"requires": {
"@nuxtjs/opencollective": "0.2.2",
@@ -74,14 +74,20 @@
"iterare": "1.2.1",
"object-hash": "2.0.3",
"path-to-regexp": "3.2.0",
- "tslib": "2.0.1",
- "uuid": "8.3.0"
+ "tslib": "2.0.3",
+ "uuid": "8.3.1"
},
"dependencies": {
"tslib": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.1.tgz",
- "integrity": "sha512-SgIkNheinmEBgx1IUNirK0TUD4X9yjjBRTqqjggWCU3pUEqIk3/Uwl3yRixYKT6WjQuGiwDv4NomL3wqRCj+CQ==",
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==",
+ "dev": true
+ },
+ "uuid": {
+ "version": "8.3.1",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.1.tgz",
+ "integrity": "sha512-FOmRr+FmWEIG8uhZv6C2bTgEVXsHk08kE7mPlrBbEe+c3r9pjceVPgupIfNIhc4yx55H69OXANrUaSuu9eInKg==",
"dev": true
}
}
diff --git a/package.json b/package.json
index 120fa41..819637a 100644
--- a/package.json
+++ b/package.json
@@ -36,7 +36,7 @@
},
"devDependencies": {
"@nestjs/common": "7.4.4",
- "@nestjs/core": "7.4.4",
+ "@nestjs/core": "7.5.1",
"@typescript-eslint/eslint-plugin": "4.0.0",
"@typescript-eslint/parser": "3.10.1",
"eslint": "7.12.1",
From aabe575cfd37b63cdd6ba9d6a11936b9e72a8c05 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 3 Nov 2020 10:46:24 +0300
Subject: [PATCH 025/101] chore(deps-dev): bump @nestjs/common from 7.4.4 to
7.5.1 (#140)
Bumps [@nestjs/common](https://github.com/nestjs/nest) from 7.4.4 to 7.5.1.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/commits)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 185 ++++------------------------------------------
package.json | 2 +-
2 files changed, 16 insertions(+), 171 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index c0e99b1..6475506 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -43,22 +43,21 @@
}
},
"@nestjs/common": {
- "version": "7.4.4",
- "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-7.4.4.tgz",
- "integrity": "sha512-Cj94FJrnLcAU4URJrRmnsHRODZPJpX+EKKJ/Or9qvL9ULQwRWYmFcGQYaJ0nVV0hSBjn/jaAV1Cgqw74uk21KA==",
+ "version": "7.5.1",
+ "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-7.5.1.tgz",
+ "integrity": "sha512-UKTWa/MFTryRm4L9b+lsKFg+m/B4zDCsx/pQAMZVCYMW4FRg6QH4BIaq5fMz5G2hL5IFlFVoOC/eXJwhGDOrYA==",
"dev": true,
"requires": {
- "axios": "0.20.0",
- "cli-color": "2.0.0",
+ "axios": "0.21.0",
"iterare": "1.2.1",
- "tslib": "2.0.1",
- "uuid": "8.3.0"
+ "tslib": "2.0.3",
+ "uuid": "8.3.1"
},
"dependencies": {
"tslib": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.1.tgz",
- "integrity": "sha512-SgIkNheinmEBgx1IUNirK0TUD4X9yjjBRTqqjggWCU3pUEqIk3/Uwl3yRixYKT6WjQuGiwDv4NomL3wqRCj+CQ==",
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==",
"dev": true
}
}
@@ -369,12 +368,6 @@
}
}
},
- "ansi-regex": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
- "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",
- "dev": true
- },
"ansi-styles": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
@@ -427,9 +420,9 @@
"dev": true
},
"axios": {
- "version": "0.20.0",
- "resolved": "https://registry.npmjs.org/axios/-/axios-0.20.0.tgz",
- "integrity": "sha512-ANA4rr2BDcmmAQLOKft2fufrtuvlqR+cXNNinUmvfeSNCOF98PZL+7M/v1zIdGo7OLjEA9J2gXJL+j4zGsl0bA==",
+ "version": "0.21.0",
+ "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.0.tgz",
+ "integrity": "sha512-fmkJBknJKoZwem3/IKSSLpkdNXZeBu5Q7GA/aRsr2btgrptmSCxi2oFjZHqGdK9DoTil9PIHlPIZw2EcRJXRvw==",
"dev": true,
"requires": {
"follow-redirects": "^1.10.0"
@@ -489,20 +482,6 @@
"integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==",
"dev": true
},
- "cli-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/cli-color/-/cli-color-2.0.0.tgz",
- "integrity": "sha512-a0VZ8LeraW0jTuCkuAGMNufareGHhyZU9z8OGsW0gXd1hZGi1SRuNRXdbGkraBBKnhyUhyebFWnRbp+dIn0f0A==",
- "dev": true,
- "requires": {
- "ansi-regex": "^2.1.1",
- "d": "^1.0.1",
- "es5-ext": "^0.10.51",
- "es6-iterator": "^2.0.3",
- "memoizee": "^0.4.14",
- "timers-ext": "^0.1.7"
- }
- },
"cli-cursor": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz",
@@ -591,16 +570,6 @@
"which": "^2.0.1"
}
},
- "d": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz",
- "integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==",
- "dev": true,
- "requires": {
- "es5-ext": "^0.10.50",
- "type": "^1.0.1"
- }
- },
"debug": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
@@ -720,50 +689,6 @@
"is-symbol": "^1.0.2"
}
},
- "es5-ext": {
- "version": "0.10.53",
- "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.53.tgz",
- "integrity": "sha512-Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q==",
- "dev": true,
- "requires": {
- "es6-iterator": "~2.0.3",
- "es6-symbol": "~3.1.3",
- "next-tick": "~1.0.0"
- }
- },
- "es6-iterator": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz",
- "integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=",
- "dev": true,
- "requires": {
- "d": "1",
- "es5-ext": "^0.10.35",
- "es6-symbol": "^3.1.1"
- }
- },
- "es6-symbol": {
- "version": "3.1.3",
- "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz",
- "integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==",
- "dev": true,
- "requires": {
- "d": "^1.0.1",
- "ext": "^1.1.2"
- }
- },
- "es6-weak-map": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.3.tgz",
- "integrity": "sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA==",
- "dev": true,
- "requires": {
- "d": "1",
- "es5-ext": "^0.10.46",
- "es6-iterator": "^2.0.3",
- "es6-symbol": "^3.1.1"
- }
- },
"escape-string-regexp": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
@@ -1130,16 +1055,6 @@
"integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
"dev": true
},
- "event-emitter": {
- "version": "0.3.5",
- "resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz",
- "integrity": "sha1-34xp7vFkeSPHFXuc6DhAYQsCzDk=",
- "dev": true,
- "requires": {
- "d": "1",
- "es5-ext": "~0.10.14"
- }
- },
"execa": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz",
@@ -1157,23 +1072,6 @@
"strip-final-newline": "^2.0.0"
}
},
- "ext": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/ext/-/ext-1.4.0.tgz",
- "integrity": "sha512-Key5NIsUxdqKg3vIsdw9dSuXpPCQ297y6wBjL30edxwPgt2E44WcWBZey/ZvUc6sERLTxKdyCu4gZFmUbk1Q7A==",
- "dev": true,
- "requires": {
- "type": "^2.0.0"
- },
- "dependencies": {
- "type": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/type/-/type-2.1.0.tgz",
- "integrity": "sha512-G9absDWvhAWCV2gmF1zKud3OyC61nZDwWvBL2DApaVFogI07CprggiQAOOjvp2NRjYWFzPyu7vwtDrQFq8jeSA==",
- "dev": true
- }
- }
- },
"fast-deep-equal": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
@@ -1593,12 +1491,6 @@
"integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=",
"dev": true
},
- "is-promise": {
- "version": "2.2.2",
- "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz",
- "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==",
- "dev": true
- },
"is-regex": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.1.tgz",
@@ -2021,31 +1913,6 @@
}
}
},
- "lru-queue": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/lru-queue/-/lru-queue-0.1.0.tgz",
- "integrity": "sha1-Jzi9nw089PhEkMVzbEhpmsYyzaM=",
- "dev": true,
- "requires": {
- "es5-ext": "~0.10.2"
- }
- },
- "memoizee": {
- "version": "0.4.14",
- "resolved": "https://registry.npmjs.org/memoizee/-/memoizee-0.4.14.tgz",
- "integrity": "sha512-/SWFvWegAIYAO4NQMpcX+gcra0yEZu4OntmUdrBaWrJncxOqAziGFlHxc7yjKVK2uu3lpPW27P27wkR82wA8mg==",
- "dev": true,
- "requires": {
- "d": "1",
- "es5-ext": "^0.10.45",
- "es6-weak-map": "^2.0.2",
- "event-emitter": "^0.3.5",
- "is-promise": "^2.1",
- "lru-queue": "0.1",
- "next-tick": "1",
- "timers-ext": "^0.1.5"
- }
- },
"merge-stream": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",
@@ -2114,12 +1981,6 @@
"integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=",
"dev": true
},
- "next-tick": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz",
- "integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=",
- "dev": true
- },
"node-fetch": {
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
@@ -2897,16 +2758,6 @@
"integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=",
"dev": true
},
- "timers-ext": {
- "version": "0.1.7",
- "resolved": "https://registry.npmjs.org/timers-ext/-/timers-ext-0.1.7.tgz",
- "integrity": "sha512-b85NUNzTSdodShTIbky6ZF02e8STtVVfD+fu4aXXShEELpozH+bCpJLYMPZbsABN2wDH7fJpqIoXxJpzbf0NqQ==",
- "dev": true,
- "requires": {
- "es5-ext": "~0.10.46",
- "next-tick": "1"
- }
- },
"to-regex-range": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
@@ -2943,12 +2794,6 @@
"tslib": "^1.8.1"
}
},
- "type": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz",
- "integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==",
- "dev": true
- },
"type-check": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
@@ -2980,9 +2825,9 @@
}
},
"uuid": {
- "version": "8.3.0",
- "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.0.tgz",
- "integrity": "sha512-fX6Z5o4m6XsXBdli9g7DtWgAx+osMsRRZFKma1mIUsLCz6vRvv+pz5VNbyu9UEDzpMWulZfvpgb/cmDXVulYFQ==",
+ "version": "8.3.1",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.1.tgz",
+ "integrity": "sha512-FOmRr+FmWEIG8uhZv6C2bTgEVXsHk08kE7mPlrBbEe+c3r9pjceVPgupIfNIhc4yx55H69OXANrUaSuu9eInKg==",
"dev": true
},
"v8-compile-cache": {
diff --git a/package.json b/package.json
index 819637a..3b5beab 100644
--- a/package.json
+++ b/package.json
@@ -35,7 +35,7 @@
"telegraf": "3.38.0"
},
"devDependencies": {
- "@nestjs/common": "7.4.4",
+ "@nestjs/common": "7.5.1",
"@nestjs/core": "7.5.1",
"@typescript-eslint/eslint-plugin": "4.0.0",
"@typescript-eslint/parser": "3.10.1",
From 88e36f59053e985288c6267cd1f2910fcfb182f2 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 9 Nov 2020 14:04:29 +0300
Subject: [PATCH 026/101] chore(deps-dev): bump eslint from 7.12.1 to 7.13.0
(#141)
Bumps [eslint](https://github.com/eslint/eslint) from 7.12.1 to 7.13.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.12.1...v7.13.0)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 24 ++++++++++++------------
package.json | 2 +-
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 6475506..752435f 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -368,6 +368,12 @@
}
}
},
+ "ansi-regex": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
+ "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
+ "dev": true
+ },
"ansi-styles": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
@@ -696,9 +702,9 @@
"dev": true
},
"eslint": {
- "version": "7.12.1",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.12.1.tgz",
- "integrity": "sha512-HlMTEdr/LicJfN08LB3nM1rRYliDXOmfoO4vj39xN6BLpFzF00hbwBoqHk8UcJ2M/3nlARZWy/mslvGEuZFvsg==",
+ "version": "7.13.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.13.0.tgz",
+ "integrity": "sha512-uCORMuOO8tUzJmsdRtrvcGq5qposf7Rw0LwkTJkoDbOycVQtQjmnhZSuLQnozLE4TmAzlMVV45eCHmQ1OpDKUQ==",
"dev": true,
"requires": {
"@babel/code-frame": "^7.0.0",
@@ -2662,12 +2668,6 @@
"string-width": "^3.0.0"
},
"dependencies": {
- "ansi-regex": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
- "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
- "dev": true
- },
"emoji-regex": {
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz",
@@ -2831,9 +2831,9 @@
"dev": true
},
"v8-compile-cache": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.1.1.tgz",
- "integrity": "sha512-8OQ9CL+VWyt3JStj7HX7/ciTL2V3Rl1Wf5OL+SNTm0yK1KvtReVulksyeRnCANHHuUxHlQig+JJDlUhBt1NQDQ==",
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.2.0.tgz",
+ "integrity": "sha512-gTpR5XQNKFwOd4clxfnhaqvfqMpqEwr4tOtCyz4MtYZX2JYhfr1JvBFKdS+7K/9rfpZR3VLX+YWBbKoxCgS43Q==",
"dev": true
},
"validate-npm-package-license": {
diff --git a/package.json b/package.json
index 3b5beab..3b0702b 100644
--- a/package.json
+++ b/package.json
@@ -39,7 +39,7 @@
"@nestjs/core": "7.5.1",
"@typescript-eslint/eslint-plugin": "4.0.0",
"@typescript-eslint/parser": "3.10.1",
- "eslint": "7.12.1",
+ "eslint": "7.13.0",
"eslint-config-prettier": "6.15.0",
"eslint-plugin-import": "2.22.1",
"husky": "4.3.0",
From 098f09c6e87234a7bd2d8c78c57d4d69fd8b348a Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 16 Nov 2020 17:49:11 +0300
Subject: [PATCH 027/101] chore(deps-dev): bump @nestjs/core from 7.5.1 to
7.5.2 (#142)
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 7.5.1 to 7.5.2.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/commits/v7.5.2)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 12 +++---------
package.json | 2 +-
2 files changed, 4 insertions(+), 10 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 752435f..a330318 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -63,9 +63,9 @@
}
},
"@nestjs/core": {
- "version": "7.5.1",
- "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-7.5.1.tgz",
- "integrity": "sha512-aJ1w5tQPkVEmH5QRe1echV5NFWAcHAVQJX/jvfCSK4M5VSkIBN9zreZg8UnYf8sbW5YEaizPts07veeTPsG3FQ==",
+ "version": "7.5.2",
+ "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-7.5.2.tgz",
+ "integrity": "sha512-StAYVexFqEch7NLV5wcjMwM/q2JKJ8Qi46bnsXVOxEQV8qlBc9aflJ3DWpM4pERvtUFJyfgo9iLk5IMQAPnnCg==",
"dev": true,
"requires": {
"@nuxtjs/opencollective": "0.2.2",
@@ -82,12 +82,6 @@
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
"integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==",
"dev": true
- },
- "uuid": {
- "version": "8.3.1",
- "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.1.tgz",
- "integrity": "sha512-FOmRr+FmWEIG8uhZv6C2bTgEVXsHk08kE7mPlrBbEe+c3r9pjceVPgupIfNIhc4yx55H69OXANrUaSuu9eInKg==",
- "dev": true
}
}
},
diff --git a/package.json b/package.json
index 3b0702b..5d3cb6d 100644
--- a/package.json
+++ b/package.json
@@ -36,7 +36,7 @@
},
"devDependencies": {
"@nestjs/common": "7.5.1",
- "@nestjs/core": "7.5.1",
+ "@nestjs/core": "7.5.2",
"@typescript-eslint/eslint-plugin": "4.0.0",
"@typescript-eslint/parser": "3.10.1",
"eslint": "7.13.0",
From a309d8640d5a46e7a32d1298c9c1548adff7f1cf Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 16 Nov 2020 18:01:47 +0300
Subject: [PATCH 028/101] chore(deps-dev): bump @nestjs/common from 7.5.1 to
7.5.2 (#143)
Bumps [@nestjs/common](https://github.com/nestjs/nest) from 7.5.1 to 7.5.2.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/commits/v7.5.2)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 6 +++---
package.json | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index a330318..63c7823 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -43,9 +43,9 @@
}
},
"@nestjs/common": {
- "version": "7.5.1",
- "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-7.5.1.tgz",
- "integrity": "sha512-UKTWa/MFTryRm4L9b+lsKFg+m/B4zDCsx/pQAMZVCYMW4FRg6QH4BIaq5fMz5G2hL5IFlFVoOC/eXJwhGDOrYA==",
+ "version": "7.5.2",
+ "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-7.5.2.tgz",
+ "integrity": "sha512-b1rKSOCO20qFgS9qr4Blu24XyVs+PAa4GIFDZxw+4HiPPKrU9PMLC3YdJ2K+wB1xEO9D7bmS0mlEz3fimD/z0A==",
"dev": true,
"requires": {
"axios": "0.21.0",
diff --git a/package.json b/package.json
index 5d3cb6d..e6bf48e 100644
--- a/package.json
+++ b/package.json
@@ -35,7 +35,7 @@
"telegraf": "3.38.0"
},
"devDependencies": {
- "@nestjs/common": "7.5.1",
+ "@nestjs/common": "7.5.2",
"@nestjs/core": "7.5.2",
"@typescript-eslint/eslint-plugin": "4.0.0",
"@typescript-eslint/parser": "3.10.1",
From 7b12189f55e0a935aa3e8c75d29bf0de0fbe0a30 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 23 Nov 2020 12:40:42 +0300
Subject: [PATCH 029/101] chore(deps-dev): bump @nestjs/common from 7.5.2 to
7.5.4 (#146)
Bumps [@nestjs/common](https://github.com/nestjs/nest) from 7.5.2 to 7.5.4.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v7.5.2...v7.5.4)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 6 +++---
package.json | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 63c7823..e627daa 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -43,9 +43,9 @@
}
},
"@nestjs/common": {
- "version": "7.5.2",
- "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-7.5.2.tgz",
- "integrity": "sha512-b1rKSOCO20qFgS9qr4Blu24XyVs+PAa4GIFDZxw+4HiPPKrU9PMLC3YdJ2K+wB1xEO9D7bmS0mlEz3fimD/z0A==",
+ "version": "7.5.4",
+ "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-7.5.4.tgz",
+ "integrity": "sha512-5Bz27EJz+g6fQ10P99Lovkyx++4w9a9TNUcnPXGloEeRFhAn0YeEM4c8Toj7uFq880xPoteBeZ9V2khOFWl4WQ==",
"dev": true,
"requires": {
"axios": "0.21.0",
diff --git a/package.json b/package.json
index e6bf48e..463b676 100644
--- a/package.json
+++ b/package.json
@@ -35,7 +35,7 @@
"telegraf": "3.38.0"
},
"devDependencies": {
- "@nestjs/common": "7.5.2",
+ "@nestjs/common": "7.5.4",
"@nestjs/core": "7.5.2",
"@typescript-eslint/eslint-plugin": "4.0.0",
"@typescript-eslint/parser": "3.10.1",
From c51bdc46d420aba2d511352cbab169d49327e083 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 23 Nov 2020 12:41:24 +0300
Subject: [PATCH 030/101] chore(deps-dev): bump prettier from 2.1.2 to 2.2.0
(#148)
Bumps [prettier](https://github.com/prettier/prettier) from 2.1.2 to 2.2.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.1.2...2.2.0)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 6 +++---
package.json | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index e627daa..a4a8707 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2250,9 +2250,9 @@
"dev": true
},
"prettier": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.1.2.tgz",
- "integrity": "sha512-16c7K+x4qVlJg9rEbXl7HEGmQyZlG4R9AgP+oHKRMsMsuk8s+ATStlf1NpDqyBI1HpVyfjLOeMhH2LvuNvV5Vg==",
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.2.0.tgz",
+ "integrity": "sha512-yYerpkvseM4iKD/BXLYUkQV5aKt4tQPqaGW6EsZjzyu0r7sVZZNPJW4Y8MyKmicp6t42XUPcBVA+H6sB3gqndw==",
"dev": true
},
"progress": {
diff --git a/package.json b/package.json
index 463b676..a89781c 100644
--- a/package.json
+++ b/package.json
@@ -44,7 +44,7 @@
"eslint-plugin-import": "2.22.1",
"husky": "4.3.0",
"lint-staged": "10.5.1",
- "prettier": "2.1.2",
+ "prettier": "2.2.0",
"reflect-metadata": "0.1.13",
"rxjs": "6.6.3",
"typescript": "4.0.5"
From a3a2ce71d6d7d78bf1564415660e62c3318e3140 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 23 Nov 2020 12:41:48 +0300
Subject: [PATCH 031/101] chore(deps-dev): bump typescript from 4.0.5 to 4.1.2
(#149)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.0.5 to 4.1.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.0.5...v4.1.2)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 6 +++---
package.json | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index a4a8707..8978d94 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2804,9 +2804,9 @@
"dev": true
},
"typescript": {
- "version": "4.0.5",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.5.tgz",
- "integrity": "sha512-ywmr/VrTVCmNTJ6iV2LwIrfG1P+lv6luD8sUJs+2eI9NLGigaN+nUQc13iHqisq7bra9lnmUSYqbJvegraBOPQ==",
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.1.2.tgz",
+ "integrity": "sha512-thGloWsGH3SOxv1SoY7QojKi0tc+8FnOmiarEGMbd/lar7QOEd3hvlx3Fp5y6FlDUGl9L+pd4n2e+oToGMmhRQ==",
"dev": true
},
"uri-js": {
diff --git a/package.json b/package.json
index a89781c..af43810 100644
--- a/package.json
+++ b/package.json
@@ -47,7 +47,7 @@
"prettier": "2.2.0",
"reflect-metadata": "0.1.13",
"rxjs": "6.6.3",
- "typescript": "4.0.5"
+ "typescript": "4.1.2"
},
"peerDependencies": {
"@nestjs/common": "^6.7.0 || ^7.0.0",
From b2a93e32d91ddd0adb565759f6401a886e4c96ad Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 23 Nov 2020 12:42:06 +0300
Subject: [PATCH 032/101] chore(deps-dev): bump eslint from 7.13.0 to 7.14.0
(#151)
Bumps [eslint](https://github.com/eslint/eslint) from 7.13.0 to 7.14.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.13.0...v7.14.0)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 6 +++---
package.json | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 8978d94..1a912bf 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -696,9 +696,9 @@
"dev": true
},
"eslint": {
- "version": "7.13.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.13.0.tgz",
- "integrity": "sha512-uCORMuOO8tUzJmsdRtrvcGq5qposf7Rw0LwkTJkoDbOycVQtQjmnhZSuLQnozLE4TmAzlMVV45eCHmQ1OpDKUQ==",
+ "version": "7.14.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.14.0.tgz",
+ "integrity": "sha512-5YubdnPXrlrYAFCKybPuHIAH++PINe1pmKNc5wQRB9HSbqIK1ywAnntE3Wwua4giKu0bjligf1gLF6qxMGOYRA==",
"dev": true,
"requires": {
"@babel/code-frame": "^7.0.0",
diff --git a/package.json b/package.json
index af43810..729fed0 100644
--- a/package.json
+++ b/package.json
@@ -39,7 +39,7 @@
"@nestjs/core": "7.5.2",
"@typescript-eslint/eslint-plugin": "4.0.0",
"@typescript-eslint/parser": "3.10.1",
- "eslint": "7.13.0",
+ "eslint": "7.14.0",
"eslint-config-prettier": "6.15.0",
"eslint-plugin-import": "2.22.1",
"husky": "4.3.0",
From 201144d7589e630f1637939b11016ad767c5b280 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 23 Nov 2020 12:45:11 +0300
Subject: [PATCH 033/101] chore(deps-dev): bump @nestjs/core from 7.5.2 to
7.5.5 (#152)
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 7.5.2 to 7.5.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v7.5.2...v7.5.5)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 71 ++++++++++++++++++++++++++++++++++++++++-------
package.json | 2 +-
2 files changed, 62 insertions(+), 11 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 1a912bf..b1ac2c5 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -63,12 +63,12 @@
}
},
"@nestjs/core": {
- "version": "7.5.2",
- "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-7.5.2.tgz",
- "integrity": "sha512-StAYVexFqEch7NLV5wcjMwM/q2JKJ8Qi46bnsXVOxEQV8qlBc9aflJ3DWpM4pERvtUFJyfgo9iLk5IMQAPnnCg==",
+ "version": "7.5.5",
+ "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-7.5.5.tgz",
+ "integrity": "sha512-ktGOTgBSL8PoInLqcPWC8mPeCCHBaaEJX6LmzfbjHWCPRZqu96kiiQ1a245yTo/ifYrtaqQ7gAaHJpcszEAYwg==",
"dev": true,
"requires": {
- "@nuxtjs/opencollective": "0.2.2",
+ "@nuxtjs/opencollective": "0.3.2",
"fast-safe-stringify": "2.0.7",
"iterare": "1.2.1",
"object-hash": "2.0.3",
@@ -112,14 +112,65 @@
}
},
"@nuxtjs/opencollective": {
- "version": "0.2.2",
- "resolved": "https://registry.npmjs.org/@nuxtjs/opencollective/-/opencollective-0.2.2.tgz",
- "integrity": "sha512-69gFVDs7mJfNjv9Zs5DFVD+pvBW+k1TaHSOqUWqAyTTfLcKI/EMYQgvEvziRd+zAFtUOoye6MfWh0qvinGISPw==",
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/@nuxtjs/opencollective/-/opencollective-0.3.2.tgz",
+ "integrity": "sha512-um0xL3fO7Mf4fDxcqx9KryrB7zgRM5JSlvGN5AGkP6JLM5XEKyjeAiPbNxdXVXQ16isuAhYpvP88NgL2BGd6aA==",
"dev": true,
"requires": {
- "chalk": "^2.4.1",
- "consola": "^2.3.0",
- "node-fetch": "^2.3.0"
+ "chalk": "^4.1.0",
+ "consola": "^2.15.0",
+ "node-fetch": "^2.6.1"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "dev": true,
+ "requires": {
+ "color-convert": "^2.0.1"
+ }
+ },
+ "chalk": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz",
+ "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==",
+ "dev": true,
+ "requires": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ }
+ },
+ "color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "dev": true,
+ "requires": {
+ "color-name": "~1.1.4"
+ }
+ },
+ "color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
+ "dev": true
+ },
+ "has-flag": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
+ "dev": true,
+ "requires": {
+ "has-flag": "^4.0.0"
+ }
+ }
}
},
"@types/color-name": {
diff --git a/package.json b/package.json
index 729fed0..d91c220 100644
--- a/package.json
+++ b/package.json
@@ -36,7 +36,7 @@
},
"devDependencies": {
"@nestjs/common": "7.5.4",
- "@nestjs/core": "7.5.2",
+ "@nestjs/core": "7.5.5",
"@typescript-eslint/eslint-plugin": "4.0.0",
"@typescript-eslint/parser": "3.10.1",
"eslint": "7.14.0",
From bfb0d0c9172708bb7c1bbd9c40af9e29c4787a46 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 2 Dec 2020 18:23:51 +0300
Subject: [PATCH 034/101] chore(deps-dev): bump lint-staged from 10.5.1 to
10.5.2 (#153)
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.5.1 to 10.5.2.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.5.1...v10.5.2)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 12 ++++++------
package.json | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index b1ac2c5..883407c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1656,9 +1656,9 @@
"dev": true
},
"lint-staged": {
- "version": "10.5.1",
- "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-10.5.1.tgz",
- "integrity": "sha512-fTkTGFtwFIJJzn/PbUO3RXyEBHIhbfYBE7+rJyLcOXabViaO/h6OslgeK6zpeUtzkDrzkgyAYDTLAwx6JzDTHw==",
+ "version": "10.5.2",
+ "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-10.5.2.tgz",
+ "integrity": "sha512-e8AYR1TDlzwB8VVd38Xu2lXDZf6BcshVqKVuBQThDJRaJLobqKnpbm4dkwJ2puypQNbLr9KF/9mfA649mAGvjA==",
"dev": true,
"requires": {
"chalk": "^4.1.0",
@@ -1713,9 +1713,9 @@
"dev": true
},
"debug": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.2.0.tgz",
- "integrity": "sha512-IX2ncY78vDTjZMFUdmsvIRFY2Cf4FnD0wRs+nQwJU8Lu99/tPFdb0VybiiMTPe3I6rQmwsqQqRBvxU+bZ/I8sg==",
+ "version": "4.3.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz",
+ "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==",
"dev": true,
"requires": {
"ms": "2.1.2"
diff --git a/package.json b/package.json
index d91c220..62de888 100644
--- a/package.json
+++ b/package.json
@@ -43,7 +43,7 @@
"eslint-config-prettier": "6.15.0",
"eslint-plugin-import": "2.22.1",
"husky": "4.3.0",
- "lint-staged": "10.5.1",
+ "lint-staged": "10.5.2",
"prettier": "2.2.0",
"reflect-metadata": "0.1.13",
"rxjs": "6.6.3",
From 06ec92c19e847c10f378ad1d8f6446757c8ed50a Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 2 Dec 2020 18:24:02 +0300
Subject: [PATCH 035/101] chore(deps-dev): bump @nestjs/common from 7.5.4 to
7.5.5 (#154)
Bumps [@nestjs/common](https://github.com/nestjs/nest) from 7.5.4 to 7.5.5.
- [Release notes](https://github.com/nestjs/nest/releases)
- [Commits](https://github.com/nestjs/nest/compare/v7.5.4...v7.5.5)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 6 +++---
package.json | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 883407c..97e194a 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -43,9 +43,9 @@
}
},
"@nestjs/common": {
- "version": "7.5.4",
- "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-7.5.4.tgz",
- "integrity": "sha512-5Bz27EJz+g6fQ10P99Lovkyx++4w9a9TNUcnPXGloEeRFhAn0YeEM4c8Toj7uFq880xPoteBeZ9V2khOFWl4WQ==",
+ "version": "7.5.5",
+ "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-7.5.5.tgz",
+ "integrity": "sha512-dubDHjashfARGV8zhcANTsL5o0ZPm2xTB/BI12wgwTjCnM8WkaFqXpSCngqJyB3/XTFwllkP2g1ok6TwAZcSJw==",
"dev": true,
"requires": {
"axios": "0.21.0",
diff --git a/package.json b/package.json
index 62de888..1fdbda2 100644
--- a/package.json
+++ b/package.json
@@ -35,7 +35,7 @@
"telegraf": "3.38.0"
},
"devDependencies": {
- "@nestjs/common": "7.5.4",
+ "@nestjs/common": "7.5.5",
"@nestjs/core": "7.5.5",
"@typescript-eslint/eslint-plugin": "4.0.0",
"@typescript-eslint/parser": "3.10.1",
From 932508e792095d29727c1449db783cd776ca28eb Mon Sep 17 00:00:00 2001
From: Alexander Bukhalo
Date: Mon, 7 Dec 2020 18:14:58 +0300
Subject: [PATCH 036/101] chore(deps): replace dependabot with renovate bot
---
.github/dependabot.yml | 11 -----------
renovate.json | 10 ++++++++++
2 files changed, 10 insertions(+), 11 deletions(-)
delete mode 100644 .github/dependabot.yml
create mode 100644 renovate.json
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
deleted file mode 100644
index afcf8a1..0000000
--- a/.github/dependabot.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-version: 2
-updates:
- # Configuration for npm
- - package-ecosystem: 'npm'
- directory: '/'
- schedule:
- interval: 'daily'
- reviewers:
- - 'evilsprut'
- assignees:
- - 'evilsprut'
diff --git a/renovate.json b/renovate.json
new file mode 100644
index 0000000..01672de
--- /dev/null
+++ b/renovate.json
@@ -0,0 +1,10 @@
+{
+ "semanticCommits": true,
+ "packageRules": [
+ {
+ "depTypeList": ["devDependencies"],
+ "automerge": true
+ }
+ ],
+ "extends": ["config:base"]
+}
From f863534ee9bb57682c101b68b86ad06083200fad Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 7 Dec 2020 18:18:42 +0300
Subject: [PATCH 037/101] chore(deps): pin dependencies (#159)
Co-authored-by: Renovate Bot
---
website/package.json | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/website/package.json b/website/package.json
index e381dcc..6a9d64b 100644
--- a/website/package.json
+++ b/website/package.json
@@ -13,10 +13,10 @@
"dependencies": {
"@docusaurus/core": "2.0.0-alpha.63",
"@docusaurus/preset-classic": "2.0.0-alpha.63",
- "@mdx-js/react": "^1.5.8",
- "clsx": "^1.1.1",
- "react": "^16.8.4",
- "react-dom": "^16.8.4"
+ "@mdx-js/react": "1.6.16",
+ "clsx": "1.1.1",
+ "react": "16.13.1",
+ "react-dom": "16.13.1"
},
"browserslist": {
"production": [
@@ -31,11 +31,11 @@
]
},
"devDependencies": {
- "@docusaurus/module-type-aliases": "^2.0.0-alpha.51",
- "@tsconfig/docusaurus": "^1.0.2",
- "@types/react": "^16.9.49",
- "@types/react-helmet": "^6.1.0",
- "@types/react-router-dom": "^5.1.5",
- "typescript": "^4.0.2"
+ "@docusaurus/module-type-aliases": "2.0.0-alpha.51",
+ "@tsconfig/docusaurus": "1.0.2",
+ "@types/react": "16.9.49",
+ "@types/react-helmet": "6.1.0",
+ "@types/react-router-dom": "5.1.5",
+ "typescript": "4.0.2"
}
}
From 790c1f5003a89bd6d9d82843263c0b1011f60efd Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 7 Dec 2020 18:19:11 +0300
Subject: [PATCH 038/101] chore(deps): update dependency
@typescript-eslint/eslint-plugin to v4.9.0 (#160)
Co-authored-by: Renovate Bot
---
package-lock.json | 68 +++++++++++++++++++++++------------------------
package.json | 2 +-
2 files changed, 35 insertions(+), 35 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 97e194a..471b72b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -204,13 +204,13 @@
"dev": true
},
"@typescript-eslint/eslint-plugin": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.0.0.tgz",
- "integrity": "sha512-5e6q1TR7gS2P+8W2xndCu7gBh3BzmYEo70OyIdsmCmknHha/yNbz2vdevl+tP1uoaMOcrzg4gyrAijuV3DDBHA==",
+ "version": "4.9.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.9.0.tgz",
+ "integrity": "sha512-WrVzGMzzCrgrpnQMQm4Tnf+dk+wdl/YbgIgd5hKGa2P+lnJ2MON+nQnbwgbxtN9QDLi8HO+JAq0/krMnjQK6Cw==",
"dev": true,
"requires": {
- "@typescript-eslint/experimental-utils": "4.0.0",
- "@typescript-eslint/scope-manager": "4.0.0",
+ "@typescript-eslint/experimental-utils": "4.9.0",
+ "@typescript-eslint/scope-manager": "4.9.0",
"debug": "^4.1.1",
"functional-red-black-tree": "^1.0.1",
"regexpp": "^3.0.0",
@@ -219,15 +219,15 @@
}
},
"@typescript-eslint/experimental-utils": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.0.0.tgz",
- "integrity": "sha512-hbX6zR+a/vcpFVNJYN/Nbd7gmaMosDTxHEKcvmhWeWcq/0UDifrqmCfkkodbAKL46Fn4ekSBMTyq2zlNDzcQxw==",
+ "version": "4.9.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.9.0.tgz",
+ "integrity": "sha512-0p8GnDWB3R2oGhmRXlEnCvYOtaBCijtA5uBfH5GxQKsukdSQyI4opC4NGTUb88CagsoNQ4rb/hId2JuMbzWKFQ==",
"dev": true,
"requires": {
"@types/json-schema": "^7.0.3",
- "@typescript-eslint/scope-manager": "4.0.0",
- "@typescript-eslint/types": "4.0.0",
- "@typescript-eslint/typescript-estree": "4.0.0",
+ "@typescript-eslint/scope-manager": "4.9.0",
+ "@typescript-eslint/types": "4.9.0",
+ "@typescript-eslint/typescript-estree": "4.9.0",
"eslint-scope": "^5.0.0",
"eslint-utils": "^2.0.0"
}
@@ -307,29 +307,29 @@
}
},
"@typescript-eslint/scope-manager": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.0.0.tgz",
- "integrity": "sha512-9gcWUPoWo7gk/+ZQPg7L1ySRmR5HLIy3Vu6/LfhQbuzIkGm6v2CGIjpVRISoDLFRovNRDImd4aP/sa8O4yIEBg==",
+ "version": "4.9.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.9.0.tgz",
+ "integrity": "sha512-q/81jtmcDtMRE+nfFt5pWqO0R41k46gpVLnuefqVOXl4QV1GdQoBWfk5REcipoJNQH9+F5l+dwa9Li5fbALjzg==",
"dev": true,
"requires": {
- "@typescript-eslint/types": "4.0.0",
- "@typescript-eslint/visitor-keys": "4.0.0"
+ "@typescript-eslint/types": "4.9.0",
+ "@typescript-eslint/visitor-keys": "4.9.0"
}
},
"@typescript-eslint/types": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.0.0.tgz",
- "integrity": "sha512-bK+c2VLzznX2fUWLK6pFDv3cXGTp7nHIuBMq1B9klA+QCsqLHOOqe5TQReAQDl7DN2RfH+neweo0oC5hYlG7Rg==",
+ "version": "4.9.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.9.0.tgz",
+ "integrity": "sha512-luzLKmowfiM/IoJL/rus1K9iZpSJK6GlOS/1ezKplb7MkORt2dDcfi8g9B0bsF6JoRGhqn0D3Va55b+vredFHA==",
"dev": true
},
"@typescript-eslint/typescript-estree": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.0.0.tgz",
- "integrity": "sha512-ewFMPi2pMLDNIXGMPdf8r7El2oPSZw9PEYB0j+WcpKd7AX2ARmajGa7RUHTukllWX2bj4vWX6JLE1Oih2BMokA==",
+ "version": "4.9.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.9.0.tgz",
+ "integrity": "sha512-rmDR++PGrIyQzAtt3pPcmKWLr7MA+u/Cmq9b/rON3//t5WofNR4m/Ybft2vOLj0WtUzjn018ekHjTsnIyBsQug==",
"dev": true,
"requires": {
- "@typescript-eslint/types": "4.0.0",
- "@typescript-eslint/visitor-keys": "4.0.0",
+ "@typescript-eslint/types": "4.9.0",
+ "@typescript-eslint/visitor-keys": "4.9.0",
"debug": "^4.1.1",
"globby": "^11.0.1",
"is-glob": "^4.0.1",
@@ -339,12 +339,12 @@
}
},
"@typescript-eslint/visitor-keys": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.0.0.tgz",
- "integrity": "sha512-sTouJbv6rjVJeTE4lpSBVYXq/u5K3gbB6LKt7ccFEZPTZB/VeQ0ssUz9q5Hx++sCqBbdF8PzrrgvEnicXAR6NQ==",
+ "version": "4.9.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.9.0.tgz",
+ "integrity": "sha512-sV45zfdRqQo1A97pOSx3fsjR+3blmwtdCt8LDrXgCX36v4Vmz4KHrhpV6Fo2cRdXmyumxx11AHw0pNJqCNpDyg==",
"dev": true,
"requires": {
- "@typescript-eslint/types": "4.0.0",
+ "@typescript-eslint/types": "4.9.0",
"eslint-visitor-keys": "^2.0.0"
},
"dependencies": {
@@ -1162,9 +1162,9 @@
"dev": true
},
"fastq": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.8.0.tgz",
- "integrity": "sha512-SMIZoZdLh/fgofivvIkmknUXyPnvxRE3DhtZ5Me3Mrsk5gyPL42F0xr51TdRXskBxHfMp+07bcYzfsYEsSQA9Q==",
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.9.0.tgz",
+ "integrity": "sha512-i7FVWL8HhVY+CTkwFxkN2mk3h+787ixS5S63eb78diVRc1MCssarHq3W5cj0av7YDSwmaV928RNag+U1etRQ7w==",
"dev": true,
"requires": {
"reusify": "^1.0.4"
@@ -2464,9 +2464,9 @@
}
},
"run-parallel": {
- "version": "1.1.9",
- "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.1.9.tgz",
- "integrity": "sha512-DEqnSRTDw/Tc3FXf49zedI638Z9onwUotBMiUFKmrO2sdFKIbXamXGQ3Axd4qgphxKB4kw/qP1w5kTxnfU1B9Q==",
+ "version": "1.1.10",
+ "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.1.10.tgz",
+ "integrity": "sha512-zb/1OuZ6flOlH6tQyMPUrE3x3Ulxjlo9WIVXR4yVYi4H9UXQaeIsPbLn2R3O3vQCnDKkAl2qHiuocKKX4Tz/Sw==",
"dev": true
},
"rxjs": {
diff --git a/package.json b/package.json
index 1fdbda2..9618648 100644
--- a/package.json
+++ b/package.json
@@ -37,7 +37,7 @@
"devDependencies": {
"@nestjs/common": "7.5.5",
"@nestjs/core": "7.5.5",
- "@typescript-eslint/eslint-plugin": "4.0.0",
+ "@typescript-eslint/eslint-plugin": "4.9.0",
"@typescript-eslint/parser": "3.10.1",
"eslint": "7.14.0",
"eslint-config-prettier": "6.15.0",
From f9ece97c41640355f5b9e892d2adaf0d3a97f674 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 7 Dec 2020 20:04:14 +0300
Subject: [PATCH 039/101] chore(deps): update dependency
@types/react-router-dom to v5.1.6 (#161)
Co-authored-by: Renovate Bot
---
website/package-lock.json | 12 ++++++------
website/package.json | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/website/package-lock.json b/website/package-lock.json
index a52050c..0366cc5 100644
--- a/website/package-lock.json
+++ b/website/package-lock.json
@@ -2038,9 +2038,9 @@
}
},
"@types/history": {
- "version": "4.7.7",
- "resolved": "https://registry.npmjs.org/@types/history/-/history-4.7.7.tgz",
- "integrity": "sha512-2xtoL22/3Mv6a70i4+4RB7VgbDDORoWwjcqeNysojZA0R7NK17RbY5Gof/2QiFfJgX+KkWghbwJ+d/2SB8Ndzg==",
+ "version": "4.7.8",
+ "resolved": "https://registry.npmjs.org/@types/history/-/history-4.7.8.tgz",
+ "integrity": "sha512-S78QIYirQcUoo6UJZx9CSP0O2ix9IaeAXwQi26Rhr/+mg7qqPy8TzaxHSUut7eGjL8WmLccT7/MXf304WjqHcA==",
"dev": true
},
"@types/html-minifier-terser": {
@@ -2120,9 +2120,9 @@
}
},
"@types/react-router-dom": {
- "version": "5.1.5",
- "resolved": "https://registry.npmjs.org/@types/react-router-dom/-/react-router-dom-5.1.5.tgz",
- "integrity": "sha512-ArBM4B1g3BWLGbaGvwBGO75GNFbLDUthrDojV2vHLih/Tq8M+tgvY1DSwkuNrPSwdp/GUL93WSEpTZs8nVyJLw==",
+ "version": "5.1.6",
+ "resolved": "https://registry.npmjs.org/@types/react-router-dom/-/react-router-dom-5.1.6.tgz",
+ "integrity": "sha512-gjrxYqxz37zWEdMVvQtWPFMFj1dRDb4TGOcgyOfSXTrEXdF92L00WE3C471O3TV/RF1oskcStkXsOU0Ete4s/g==",
"dev": true,
"requires": {
"@types/history": "*",
diff --git a/website/package.json b/website/package.json
index 6a9d64b..01c9977 100644
--- a/website/package.json
+++ b/website/package.json
@@ -35,7 +35,7 @@
"@tsconfig/docusaurus": "1.0.2",
"@types/react": "16.9.49",
"@types/react-helmet": "6.1.0",
- "@types/react-router-dom": "5.1.5",
+ "@types/react-router-dom": "5.1.6",
"typescript": "4.0.2"
}
}
From 8a38f43e374bb75624bdf8c7fdd74c868d88bca3 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 7 Dec 2020 20:04:34 +0300
Subject: [PATCH 040/101] chore(deps): update dependency eslint to v7.15.0
(#162)
Co-authored-by: Renovate Bot
---
package-lock.json | 75 ++++++++++++++++++-----------------------------
package.json | 2 +-
2 files changed, 29 insertions(+), 48 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 471b72b..291ff81 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -25,9 +25,9 @@
}
},
"@eslint/eslintrc": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.2.1.tgz",
- "integrity": "sha512-XRUeBZ5zBWLYgSANMpThFddrZZkEbGHgUdt5UJjZfnlN9BGCiUBrf+nvbRupSjMvqzwnQN0qwCmOxITt1cfywA==",
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.2.2.tgz",
+ "integrity": "sha512-EfB5OHNYp1F4px/LI/FEnGylop7nOqkQ1LRzCM0KccA2U8tvV8w01KBv37LbO7nW4H+YhKyo2LcJhRwjjV17QQ==",
"dev": true,
"requires": {
"ajv": "^6.12.4",
@@ -747,13 +747,13 @@
"dev": true
},
"eslint": {
- "version": "7.14.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.14.0.tgz",
- "integrity": "sha512-5YubdnPXrlrYAFCKybPuHIAH++PINe1pmKNc5wQRB9HSbqIK1ywAnntE3Wwua4giKu0bjligf1gLF6qxMGOYRA==",
+ "version": "7.15.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.15.0.tgz",
+ "integrity": "sha512-Vr64xFDT8w30wFll643e7cGrIkPEU50yIiI36OdSIDoSGguIeaLzBo0vpGvzo9RECUqq7htURfwEtKqwytkqzA==",
"dev": true,
"requires": {
"@babel/code-frame": "^7.0.0",
- "@eslint/eslintrc": "^0.2.1",
+ "@eslint/eslintrc": "^0.2.2",
"ajv": "^6.10.0",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
@@ -763,10 +763,10 @@
"eslint-scope": "^5.1.1",
"eslint-utils": "^2.1.0",
"eslint-visitor-keys": "^2.0.0",
- "espree": "^7.3.0",
+ "espree": "^7.3.1",
"esquery": "^1.2.0",
"esutils": "^2.0.2",
- "file-entry-cache": "^5.0.1",
+ "file-entry-cache": "^6.0.0",
"functional-red-black-tree": "^1.0.1",
"glob-parent": "^5.0.0",
"globals": "^12.1.0",
@@ -1052,13 +1052,13 @@
"dev": true
},
"espree": {
- "version": "7.3.0",
- "resolved": "https://registry.npmjs.org/espree/-/espree-7.3.0.tgz",
- "integrity": "sha512-dksIWsvKCixn1yrEXO8UosNSxaDoSYpq9reEjZSbHLpT5hpaCAKTLBwq0RHtLrIr+c0ByiYzWT8KTMRzoRCNlw==",
+ "version": "7.3.1",
+ "resolved": "https://registry.npmjs.org/espree/-/espree-7.3.1.tgz",
+ "integrity": "sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g==",
"dev": true,
"requires": {
"acorn": "^7.4.0",
- "acorn-jsx": "^5.2.0",
+ "acorn-jsx": "^5.3.1",
"eslint-visitor-keys": "^1.3.0"
}
},
@@ -1180,12 +1180,12 @@
}
},
"file-entry-cache": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz",
- "integrity": "sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g==",
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.0.tgz",
+ "integrity": "sha512-fqoO76jZ3ZnYrXLDRxBR1YvOvc0k844kcOg40bgsPrE25LAb/PDqTY+ho64Xh2c8ZXgIKldchCFHczG2UVRcWA==",
"dev": true,
"requires": {
- "flat-cache": "^2.0.1"
+ "flat-cache": "^3.0.4"
}
},
"fill-range": {
@@ -1217,20 +1217,19 @@
}
},
"flat-cache": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz",
- "integrity": "sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==",
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz",
+ "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==",
"dev": true,
"requires": {
- "flatted": "^2.0.0",
- "rimraf": "2.6.3",
- "write": "1.0.3"
+ "flatted": "^3.1.0",
+ "rimraf": "^3.0.2"
}
},
"flatted": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.2.tgz",
- "integrity": "sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==",
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.1.0.tgz",
+ "integrity": "sha512-tW+UkmtNg/jv9CSofAKvgVcO7c2URjhTdW1ZTkcAritblu8tajiYy7YisnIflEwtKssCtOxpnBRoCB7iap0/TA==",
"dev": true
},
"follow-redirects": {
@@ -2006,15 +2005,6 @@
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
"integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw=="
},
- "mkdirp": {
- "version": "0.5.5",
- "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz",
- "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==",
- "dev": true,
- "requires": {
- "minimist": "^1.2.5"
- }
- },
"module-alias": {
"version": "2.2.2",
"resolved": "https://registry.npmjs.org/module-alias/-/module-alias-2.2.2.tgz",
@@ -2455,9 +2445,9 @@
"dev": true
},
"rimraf": {
- "version": "2.6.3",
- "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz",
- "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==",
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
+ "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
"dev": true,
"requires": {
"glob": "^7.1.3"
@@ -2955,15 +2945,6 @@
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
"dev": true
},
- "write": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/write/-/write-1.0.3.tgz",
- "integrity": "sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==",
- "dev": true,
- "requires": {
- "mkdirp": "^0.5.1"
- }
- },
"yaml": {
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.0.tgz",
diff --git a/package.json b/package.json
index 9618648..00d42c6 100644
--- a/package.json
+++ b/package.json
@@ -39,7 +39,7 @@
"@nestjs/core": "7.5.5",
"@typescript-eslint/eslint-plugin": "4.9.0",
"@typescript-eslint/parser": "3.10.1",
- "eslint": "7.14.0",
+ "eslint": "7.15.0",
"eslint-config-prettier": "6.15.0",
"eslint-plugin-import": "2.22.1",
"husky": "4.3.0",
From 3eafcafb4ec655b07df3c6904bf99595b50bde98 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 7 Dec 2020 20:58:54 +0300
Subject: [PATCH 041/101] chore(deps): update dependency husky to v4.3.5 (#163)
Co-authored-by: Renovate Bot
---
package-lock.json | 19 ++++++-------------
package.json | 2 +-
2 files changed, 7 insertions(+), 14 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 291ff81..211bc4c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -173,12 +173,6 @@
}
}
},
- "@types/color-name": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz",
- "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==",
- "dev": true
- },
"@types/eslint-visitor-keys": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@types/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz",
@@ -1371,9 +1365,9 @@
"dev": true
},
"husky": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/husky/-/husky-4.3.0.tgz",
- "integrity": "sha512-tTMeLCLqSBqnflBZnlVDhpaIMucSGaYyX6855jM4AguGeWCeSzNdb1mfyWduTZ3pe3SJVvVWGL0jO1iKZVPfTA==",
+ "version": "4.3.5",
+ "resolved": "https://registry.npmjs.org/husky/-/husky-4.3.5.tgz",
+ "integrity": "sha512-E5S/1HMoDDaqsH8kDF5zeKEQbYqe3wL9zJDyqyYqc8I4vHBtAoxkDBGXox0lZ9RI+k5GyB728vZdmnM4bYap+g==",
"dev": true,
"requires": {
"chalk": "^4.0.0",
@@ -1389,12 +1383,11 @@
},
"dependencies": {
"ansi-styles": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
- "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"requires": {
- "@types/color-name": "^1.1.1",
"color-convert": "^2.0.1"
}
},
diff --git a/package.json b/package.json
index 00d42c6..d8d2c51 100644
--- a/package.json
+++ b/package.json
@@ -42,7 +42,7 @@
"eslint": "7.15.0",
"eslint-config-prettier": "6.15.0",
"eslint-plugin-import": "2.22.1",
- "husky": "4.3.0",
+ "husky": "4.3.5",
"lint-staged": "10.5.2",
"prettier": "2.2.0",
"reflect-metadata": "0.1.13",
From f1d094a9980cb713eff30b7bef31c3195ee3b9f6 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 7 Dec 2020 21:01:48 +0300
Subject: [PATCH 042/101] chore(deps): update dependency prettier to v2.2.1
(#165)
Co-authored-by: Renovate Bot
---
package-lock.json | 6 +++---
package.json | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 211bc4c..486a79b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2284,9 +2284,9 @@
"dev": true
},
"prettier": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.2.0.tgz",
- "integrity": "sha512-yYerpkvseM4iKD/BXLYUkQV5aKt4tQPqaGW6EsZjzyu0r7sVZZNPJW4Y8MyKmicp6t42XUPcBVA+H6sB3gqndw==",
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.2.1.tgz",
+ "integrity": "sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==",
"dev": true
},
"progress": {
diff --git a/package.json b/package.json
index d8d2c51..7212358 100644
--- a/package.json
+++ b/package.json
@@ -44,7 +44,7 @@
"eslint-plugin-import": "2.22.1",
"husky": "4.3.5",
"lint-staged": "10.5.2",
- "prettier": "2.2.0",
+ "prettier": "2.2.1",
"reflect-metadata": "0.1.13",
"rxjs": "6.6.3",
"typescript": "4.1.2"
From 513798b6a893282df78126a56956733e24828f7c Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 8 Dec 2020 12:28:29 +0300
Subject: [PATCH 043/101] chore(deps): update dependency lint-staged to v10.5.3
(#164)
Co-authored-by: Renovate Bot
---
package-lock.json | 12 ++++++------
package.json | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 486a79b..63751aa 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1648,9 +1648,9 @@
"dev": true
},
"lint-staged": {
- "version": "10.5.2",
- "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-10.5.2.tgz",
- "integrity": "sha512-e8AYR1TDlzwB8VVd38Xu2lXDZf6BcshVqKVuBQThDJRaJLobqKnpbm4dkwJ2puypQNbLr9KF/9mfA649mAGvjA==",
+ "version": "10.5.3",
+ "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-10.5.3.tgz",
+ "integrity": "sha512-TanwFfuqUBLufxCc3RUtFEkFraSPNR3WzWcGF39R3f2J7S9+iF9W0KTVLfSy09lYGmZS5NDCxjNvhGMSJyFCWg==",
"dev": true,
"requires": {
"chalk": "^4.1.0",
@@ -1737,9 +1737,9 @@
}
},
"listr2": {
- "version": "3.2.2",
- "resolved": "https://registry.npmjs.org/listr2/-/listr2-3.2.2.tgz",
- "integrity": "sha512-AajqcZEUikF2ioph6PfH3dIuxJclhr3i3kHgTOP0xeXdWQohrvJAAmqVcV43/GI987HFY/vzT73jYXoa4esDHg==",
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/listr2/-/listr2-3.2.3.tgz",
+ "integrity": "sha512-vUb80S2dSUi8YxXahO8/I/s29GqnOL8ozgHVLjfWQXa03BNEeS1TpBLjh2ruaqq5ufx46BRGvfymdBSuoXET5w==",
"dev": true,
"requires": {
"chalk": "^4.1.0",
diff --git a/package.json b/package.json
index 7212358..d3c00c7 100644
--- a/package.json
+++ b/package.json
@@ -43,7 +43,7 @@
"eslint-config-prettier": "6.15.0",
"eslint-plugin-import": "2.22.1",
"husky": "4.3.5",
- "lint-staged": "10.5.2",
+ "lint-staged": "10.5.3",
"prettier": "2.2.1",
"reflect-metadata": "0.1.13",
"rxjs": "6.6.3",
From 300e5ac5ef40cc4db45daef690dd383a1eb700b0 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 8 Dec 2020 09:28:56 +0000
Subject: [PATCH 044/101] chore(deps): update dependency typescript to v4.1.2
(#166)
Co-authored-by: Renovate Bot
---
website/package-lock.json | 6 +++---
website/package.json | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/website/package-lock.json b/website/package-lock.json
index 0366cc5..9cbee56 100644
--- a/website/package-lock.json
+++ b/website/package-lock.json
@@ -12309,9 +12309,9 @@
}
},
"typescript": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.2.tgz",
- "integrity": "sha512-e4ERvRV2wb+rRZ/IQeb3jm2VxBsirQLpQhdxplZ2MEzGvDkkMmPglecnNDfSUBivMjP93vRbngYYDQqQ/78bcQ==",
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.1.2.tgz",
+ "integrity": "sha512-thGloWsGH3SOxv1SoY7QojKi0tc+8FnOmiarEGMbd/lar7QOEd3hvlx3Fp5y6FlDUGl9L+pd4n2e+oToGMmhRQ==",
"dev": true
},
"ua-parser-js": {
diff --git a/website/package.json b/website/package.json
index 01c9977..cfe44e5 100644
--- a/website/package.json
+++ b/website/package.json
@@ -36,6 +36,6 @@
"@types/react": "16.9.49",
"@types/react-helmet": "6.1.0",
"@types/react-router-dom": "5.1.6",
- "typescript": "4.0.2"
+ "typescript": "4.1.2"
}
}
From 3d5ef2865041d6d2b83f934b3bd6268db8e42c80 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 8 Dec 2020 12:29:36 +0300
Subject: [PATCH 045/101] chore(deps): update dependency
@typescript-eslint/eslint-plugin to v4.9.1 (#167)
Co-authored-by: Renovate Bot
---
package-lock.json | 56 +++++++++++++++++++++++------------------------
package.json | 2 +-
2 files changed, 29 insertions(+), 29 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 63751aa..cf249d8 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -198,13 +198,13 @@
"dev": true
},
"@typescript-eslint/eslint-plugin": {
- "version": "4.9.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.9.0.tgz",
- "integrity": "sha512-WrVzGMzzCrgrpnQMQm4Tnf+dk+wdl/YbgIgd5hKGa2P+lnJ2MON+nQnbwgbxtN9QDLi8HO+JAq0/krMnjQK6Cw==",
+ "version": "4.9.1",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.9.1.tgz",
+ "integrity": "sha512-QRLDSvIPeI1pz5tVuurD+cStNR4sle4avtHhxA+2uyixWGFjKzJ+EaFVRW6dA/jOgjV5DTAjOxboQkRDE8cRlQ==",
"dev": true,
"requires": {
- "@typescript-eslint/experimental-utils": "4.9.0",
- "@typescript-eslint/scope-manager": "4.9.0",
+ "@typescript-eslint/experimental-utils": "4.9.1",
+ "@typescript-eslint/scope-manager": "4.9.1",
"debug": "^4.1.1",
"functional-red-black-tree": "^1.0.1",
"regexpp": "^3.0.0",
@@ -213,15 +213,15 @@
}
},
"@typescript-eslint/experimental-utils": {
- "version": "4.9.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.9.0.tgz",
- "integrity": "sha512-0p8GnDWB3R2oGhmRXlEnCvYOtaBCijtA5uBfH5GxQKsukdSQyI4opC4NGTUb88CagsoNQ4rb/hId2JuMbzWKFQ==",
+ "version": "4.9.1",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.9.1.tgz",
+ "integrity": "sha512-c3k/xJqk0exLFs+cWSJxIjqLYwdHCuLWhnpnikmPQD2+NGAx9KjLYlBDcSI81EArh9FDYSL6dslAUSwILeWOxg==",
"dev": true,
"requires": {
"@types/json-schema": "^7.0.3",
- "@typescript-eslint/scope-manager": "4.9.0",
- "@typescript-eslint/types": "4.9.0",
- "@typescript-eslint/typescript-estree": "4.9.0",
+ "@typescript-eslint/scope-manager": "4.9.1",
+ "@typescript-eslint/types": "4.9.1",
+ "@typescript-eslint/typescript-estree": "4.9.1",
"eslint-scope": "^5.0.0",
"eslint-utils": "^2.0.0"
}
@@ -301,29 +301,29 @@
}
},
"@typescript-eslint/scope-manager": {
- "version": "4.9.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.9.0.tgz",
- "integrity": "sha512-q/81jtmcDtMRE+nfFt5pWqO0R41k46gpVLnuefqVOXl4QV1GdQoBWfk5REcipoJNQH9+F5l+dwa9Li5fbALjzg==",
+ "version": "4.9.1",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.9.1.tgz",
+ "integrity": "sha512-sa4L9yUfD/1sg9Kl8OxPxvpUcqxKXRjBeZxBuZSSV1v13hjfEJkn84n0An2hN8oLQ1PmEl2uA6FkI07idXeFgQ==",
"dev": true,
"requires": {
- "@typescript-eslint/types": "4.9.0",
- "@typescript-eslint/visitor-keys": "4.9.0"
+ "@typescript-eslint/types": "4.9.1",
+ "@typescript-eslint/visitor-keys": "4.9.1"
}
},
"@typescript-eslint/types": {
- "version": "4.9.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.9.0.tgz",
- "integrity": "sha512-luzLKmowfiM/IoJL/rus1K9iZpSJK6GlOS/1ezKplb7MkORt2dDcfi8g9B0bsF6JoRGhqn0D3Va55b+vredFHA==",
+ "version": "4.9.1",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.9.1.tgz",
+ "integrity": "sha512-fjkT+tXR13ks6Le7JiEdagnwEFc49IkOyys7ueWQ4O8k4quKPwPJudrwlVOJCUQhXo45PrfIvIarcrEjFTNwUA==",
"dev": true
},
"@typescript-eslint/typescript-estree": {
- "version": "4.9.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.9.0.tgz",
- "integrity": "sha512-rmDR++PGrIyQzAtt3pPcmKWLr7MA+u/Cmq9b/rON3//t5WofNR4m/Ybft2vOLj0WtUzjn018ekHjTsnIyBsQug==",
+ "version": "4.9.1",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.9.1.tgz",
+ "integrity": "sha512-bzP8vqwX6Vgmvs81bPtCkLtM/Skh36NE6unu6tsDeU/ZFoYthlTXbBmpIrvosgiDKlWTfb2ZpPELHH89aQjeQw==",
"dev": true,
"requires": {
- "@typescript-eslint/types": "4.9.0",
- "@typescript-eslint/visitor-keys": "4.9.0",
+ "@typescript-eslint/types": "4.9.1",
+ "@typescript-eslint/visitor-keys": "4.9.1",
"debug": "^4.1.1",
"globby": "^11.0.1",
"is-glob": "^4.0.1",
@@ -333,12 +333,12 @@
}
},
"@typescript-eslint/visitor-keys": {
- "version": "4.9.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.9.0.tgz",
- "integrity": "sha512-sV45zfdRqQo1A97pOSx3fsjR+3blmwtdCt8LDrXgCX36v4Vmz4KHrhpV6Fo2cRdXmyumxx11AHw0pNJqCNpDyg==",
+ "version": "4.9.1",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.9.1.tgz",
+ "integrity": "sha512-9gspzc6UqLQHd7lXQS7oWs+hrYggspv/rk6zzEMhCbYwPE/sF7oxo7GAjkS35Tdlt7wguIG+ViWCPtVZHz/ybQ==",
"dev": true,
"requires": {
- "@typescript-eslint/types": "4.9.0",
+ "@typescript-eslint/types": "4.9.1",
"eslint-visitor-keys": "^2.0.0"
},
"dependencies": {
diff --git a/package.json b/package.json
index d3c00c7..0456a71 100644
--- a/package.json
+++ b/package.json
@@ -37,7 +37,7 @@
"devDependencies": {
"@nestjs/common": "7.5.5",
"@nestjs/core": "7.5.5",
- "@typescript-eslint/eslint-plugin": "4.9.0",
+ "@typescript-eslint/eslint-plugin": "4.9.1",
"@typescript-eslint/parser": "3.10.1",
"eslint": "7.15.0",
"eslint-config-prettier": "6.15.0",
From 943e6e1a9c28d447ed18e25a00ada74b6969043f Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 8 Dec 2020 12:29:55 +0300
Subject: [PATCH 046/101] fix(deps): update dependency @mdx-js/react to v1.6.22
(#168)
Co-authored-by: Renovate Bot
---
website/package-lock.json | 6 +++---
website/package.json | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/website/package-lock.json b/website/package-lock.json
index 9cbee56..fc8241f 100644
--- a/website/package-lock.json
+++ b/website/package-lock.json
@@ -1826,9 +1826,9 @@
}
},
"@mdx-js/react": {
- "version": "1.6.16",
- "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-1.6.16.tgz",
- "integrity": "sha512-+FhuSVOPo7+4fZaRwWuCSRUcZkJOkZu0rfAbBKvoCg1LWb1Td8Vzi0DTLORdSvgWNbU6+EL40HIgwTOs00x2Jw=="
+ "version": "1.6.22",
+ "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-1.6.22.tgz",
+ "integrity": "sha512-TDoPum4SHdfPiGSAaRBw7ECyI8VaHpK8GJugbJIJuqyh6kzw9ZLJZW3HGL3NNrJGxcAixUvqROm+YuQOo5eXtg=="
},
"@mdx-js/util": {
"version": "1.6.16",
diff --git a/website/package.json b/website/package.json
index cfe44e5..f751c5c 100644
--- a/website/package.json
+++ b/website/package.json
@@ -13,7 +13,7 @@
"dependencies": {
"@docusaurus/core": "2.0.0-alpha.63",
"@docusaurus/preset-classic": "2.0.0-alpha.63",
- "@mdx-js/react": "1.6.16",
+ "@mdx-js/react": "1.6.22",
"clsx": "1.1.1",
"react": "16.13.1",
"react-dom": "16.13.1"
From 70aa8aa3cc1da0b00f7c0a9a19c3493bc8754d4f Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 8 Dec 2020 12:30:29 +0300
Subject: [PATCH 047/101] fix(deps): update react monorepo to v16.14.0 (#170)
Co-authored-by: Renovate Bot
---
website/package-lock.json | 12 ++++++------
website/package.json | 4 ++--
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/website/package-lock.json b/website/package-lock.json
index fc8241f..a997656 100644
--- a/website/package-lock.json
+++ b/website/package-lock.json
@@ -9862,9 +9862,9 @@
}
},
"react": {
- "version": "16.13.1",
- "resolved": "https://registry.npmjs.org/react/-/react-16.13.1.tgz",
- "integrity": "sha512-YMZQQq32xHLX0bz5Mnibv1/LHb3Sqzngu7xstSM+vrkE5Kzr9xE0yMByK5kMoTK30YVJE61WfbxIFFvfeDKT1w==",
+ "version": "16.14.0",
+ "resolved": "https://registry.npmjs.org/react/-/react-16.14.0.tgz",
+ "integrity": "sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g==",
"requires": {
"loose-envify": "^1.1.0",
"object-assign": "^4.1.1",
@@ -10287,9 +10287,9 @@
}
},
"react-dom": {
- "version": "16.13.1",
- "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.13.1.tgz",
- "integrity": "sha512-81PIMmVLnCNLO/fFOQxdQkvEq/+Hfpv24XNJfpyZhTRfO0QcmQIF/PgCa1zCOj2w1hrn12MFLyaJ/G0+Mxtfag==",
+ "version": "16.14.0",
+ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.14.0.tgz",
+ "integrity": "sha512-1gCeQXDLoIqMgqD3IO2Ah9bnf0w9kzhwN5q4FGnHZ67hBm9yePzB5JJAIQCc8x3pFnNlwFq4RidZggNAAkzWWw==",
"requires": {
"loose-envify": "^1.1.0",
"object-assign": "^4.1.1",
diff --git a/website/package.json b/website/package.json
index f751c5c..2602ad3 100644
--- a/website/package.json
+++ b/website/package.json
@@ -15,8 +15,8 @@
"@docusaurus/preset-classic": "2.0.0-alpha.63",
"@mdx-js/react": "1.6.22",
"clsx": "1.1.1",
- "react": "16.13.1",
- "react-dom": "16.13.1"
+ "react": "16.14.0",
+ "react-dom": "16.14.0"
},
"browserslist": {
"production": [
From 06960725242cd5f24957167102f56b8f51ab6783 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 8 Dec 2020 12:30:59 +0300
Subject: [PATCH 048/101] chore(deps): update dependency @types/react to v17
(#171)
Co-authored-by: Renovate Bot
---
website/package-lock.json | 12 ++++++------
website/package.json | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/website/package-lock.json b/website/package-lock.json
index a997656..c3955d5 100644
--- a/website/package-lock.json
+++ b/website/package-lock.json
@@ -2092,9 +2092,9 @@
"integrity": "sha512-1HcDas8SEj4z1Wc696tH56G8OlRaH/sqZOynNNB+HF0WOeXPaxTtbYzJY2oEfiUxjSKjhCKr+MvR7dCHcEelug=="
},
"@types/react": {
- "version": "16.9.49",
- "resolved": "https://registry.npmjs.org/@types/react/-/react-16.9.49.tgz",
- "integrity": "sha512-DtLFjSj0OYAdVLBbyjhuV9CdGVHCkHn2R+xr3XkBvK2rS1Y1tkc14XSGjYgm5Fjjr90AxH9tiSzc1pCFMGO06g==",
+ "version": "17.0.0",
+ "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.0.tgz",
+ "integrity": "sha512-aj/L7RIMsRlWML3YB6KZiXB3fV2t41+5RBGYF8z+tAKU43Px8C3cYUZsDvf1/+Bm4FK21QWBrDutu8ZJ/70qOw==",
"requires": {
"@types/prop-types": "*",
"csstype": "^3.0.2"
@@ -4439,9 +4439,9 @@
}
},
"csstype": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.3.tgz",
- "integrity": "sha512-jPl+wbWPOWJ7SXsWyqGRk3lGecbar0Cb0OvZF/r/ZU011R4YqiRehgkQ9p4eQfo9DSDLqLL3wHwfxeJiuIsNag=="
+ "version": "3.0.5",
+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.5.tgz",
+ "integrity": "sha512-uVDi8LpBUKQj6sdxNaTetL6FpeCqTjOvAQuQUa/qAqq8oOd4ivkbhgnqayl0dnPal8Tb/yB1tF+gOvCBiicaiQ=="
},
"cyclist": {
"version": "1.0.1",
diff --git a/website/package.json b/website/package.json
index 2602ad3..66d646f 100644
--- a/website/package.json
+++ b/website/package.json
@@ -33,7 +33,7 @@
"devDependencies": {
"@docusaurus/module-type-aliases": "2.0.0-alpha.51",
"@tsconfig/docusaurus": "1.0.2",
- "@types/react": "16.9.49",
+ "@types/react": "17.0.0",
"@types/react-helmet": "6.1.0",
"@types/react-router-dom": "5.1.6",
"typescript": "4.1.2"
From d9b8b58501868e84dda6de26d35e7d3e169dadc7 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 8 Dec 2020 12:31:30 +0300
Subject: [PATCH 049/101] chore(deps): update dependency eslint-config-prettier
to v7 (#173)
Co-authored-by: Renovate Bot
---
package-lock.json | 17 ++++-------------
package.json | 2 +-
2 files changed, 5 insertions(+), 14 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index cf249d8..d3d85bb 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -870,13 +870,10 @@
}
},
"eslint-config-prettier": {
- "version": "6.15.0",
- "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-6.15.0.tgz",
- "integrity": "sha512-a1+kOYLR8wMGustcgAjdydMsQ2A/2ipRPwRKUmfYaSxc9ZPcrku080Ctl6zrZzZNs/U82MjSv+qKREkoq3bJaw==",
- "dev": true,
- "requires": {
- "get-stdin": "^6.0.0"
- }
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-7.0.0.tgz",
+ "integrity": "sha512-8Y8lGLVPPZdaNA7JXqnvETVC7IiVRgAP6afQu9gOQRn90YY3otMNh+x7Vr2vMePQntF+5erdSUBqSzCmU/AxaQ==",
+ "dev": true
},
"eslint-import-resolver-node": {
"version": "0.3.4",
@@ -1256,12 +1253,6 @@
"integrity": "sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g==",
"dev": true
},
- "get-stdin": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-6.0.0.tgz",
- "integrity": "sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g==",
- "dev": true
- },
"get-stream": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",
diff --git a/package.json b/package.json
index 0456a71..2d8e3f7 100644
--- a/package.json
+++ b/package.json
@@ -40,7 +40,7 @@
"@typescript-eslint/eslint-plugin": "4.9.1",
"@typescript-eslint/parser": "3.10.1",
"eslint": "7.15.0",
- "eslint-config-prettier": "6.15.0",
+ "eslint-config-prettier": "7.0.0",
"eslint-plugin-import": "2.22.1",
"husky": "4.3.5",
"lint-staged": "10.5.3",
From 5b3727b102d5e3cab2ad61584a994ac386370c59 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 8 Dec 2020 12:50:08 +0300
Subject: [PATCH 050/101] fix(deps): update docusaurus monorepo to
v2.0.0-alpha.f37987f32 (#169)
Co-authored-by: Renovate Bot
---
website/package-lock.json | 3855 +++++++++++++++++++------------------
website/package.json | 6 +-
2 files changed, 1956 insertions(+), 1905 deletions(-)
diff --git a/website/package-lock.json b/website/package-lock.json
index c3955d5..bd52a7b 100644
--- a/website/package-lock.json
+++ b/website/package-lock.json
@@ -4,119 +4,140 @@
"lockfileVersion": 1,
"requires": true,
"dependencies": {
- "@algolia/cache-browser-local-storage": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/@algolia/cache-browser-local-storage/-/cache-browser-local-storage-4.4.0.tgz",
- "integrity": "sha512-2AiKgN7DpFypkRCRkpqH7waXXyFdcnsPWzmN8sLHrB/FfXqgmsQb3pGft+9YHZIDQ0vAnfgMxSGgMhMGW+0Qnw==",
+ "@algolia/autocomplete-core": {
+ "version": "1.0.0-alpha.37",
+ "resolved": "https://registry.npmjs.org/@algolia/autocomplete-core/-/autocomplete-core-1.0.0-alpha.37.tgz",
+ "integrity": "sha512-sgyhudj7GphoVpB91i01SYKQGuqe4ByYf+yzKXUBS2Vswhtzv25emOA8RB+rr51ogeKlzpGKopZgglQnVw/CYg==",
"requires": {
- "@algolia/cache-common": "4.4.0"
+ "@algolia/autocomplete-shared": "1.0.0-alpha.37"
+ }
+ },
+ "@algolia/autocomplete-preset-algolia": {
+ "version": "1.0.0-alpha.37",
+ "resolved": "https://registry.npmjs.org/@algolia/autocomplete-preset-algolia/-/autocomplete-preset-algolia-1.0.0-alpha.37.tgz",
+ "integrity": "sha512-983tVpmzU9zNbS135ZyEXqG3Rd2ECkfMYNvPjE7ltRG7QjhIKdG/jCzM+W+9mOPtasK5oQbJVh3IxaGOALYZ+Q==",
+ "requires": {
+ "@algolia/autocomplete-shared": "1.0.0-alpha.37"
+ }
+ },
+ "@algolia/autocomplete-shared": {
+ "version": "1.0.0-alpha.37",
+ "resolved": "https://registry.npmjs.org/@algolia/autocomplete-shared/-/autocomplete-shared-1.0.0-alpha.37.tgz",
+ "integrity": "sha512-5FSPDoq+AFwgdFnUv5BksvE7apbpo6cQ0hozNQscjcCaNceH47HzBLE6FGXzQWtXHnYRaOLYKXMHbg8KpnADMA=="
+ },
+ "@algolia/cache-browser-local-storage": {
+ "version": "4.8.3",
+ "resolved": "https://registry.npmjs.org/@algolia/cache-browser-local-storage/-/cache-browser-local-storage-4.8.3.tgz",
+ "integrity": "sha512-Cwc03hikHSUI+xvgUdN+H+f6jFyoDsC9fegzXzJ2nPn1YSN9EXzDMBnbrgl0sbl9iLGXe0EIGMYqR2giCv1wMQ==",
+ "requires": {
+ "@algolia/cache-common": "4.8.3"
}
},
"@algolia/cache-common": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/@algolia/cache-common/-/cache-common-4.4.0.tgz",
- "integrity": "sha512-PrIgoMnXaDWUfwOekahro543pgcJfgRu/nd/ZQS5ffem3+Ow725eZY6HDpPaQ1k3cvLii9JH6V2sNJConjqUKA=="
+ "version": "4.8.3",
+ "resolved": "https://registry.npmjs.org/@algolia/cache-common/-/cache-common-4.8.3.tgz",
+ "integrity": "sha512-Cf7zZ2i6H+tLSBTkFePHhYvlgc9fnMPKsF9qTmiU38kFIGORy/TN2Fx5n1GBuRLIzaSXvcf+oHv1HvU0u1gE1g=="
},
"@algolia/cache-in-memory": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/@algolia/cache-in-memory/-/cache-in-memory-4.4.0.tgz",
- "integrity": "sha512-9+XlUB0baDU/Dp9URRHPp6Q37YmTO0QmgPWt9+n+wqZrRL0jR3Jezr4jCT7RemqGMxBiR+YpnqaUv0orpb0ptw==",
+ "version": "4.8.3",
+ "resolved": "https://registry.npmjs.org/@algolia/cache-in-memory/-/cache-in-memory-4.8.3.tgz",
+ "integrity": "sha512-+N7tkvmijXiDy2E7u1mM73AGEgGPWFmEmPeJS96oT46I98KXAwVPNYbcAqBE79YlixdXpkYJk41cFcORzNh+Iw==",
"requires": {
- "@algolia/cache-common": "4.4.0"
+ "@algolia/cache-common": "4.8.3"
}
},
"@algolia/client-account": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/@algolia/client-account/-/client-account-4.4.0.tgz",
- "integrity": "sha512-Kynu3cMEs0clTLf674rtrCF+FWR/JwlQxKlIWsPzvLBRmNXdvYej9YBcNaOr4OTQFCCZn9JVE8ib91Z7J4IL1Q==",
+ "version": "4.8.3",
+ "resolved": "https://registry.npmjs.org/@algolia/client-account/-/client-account-4.8.3.tgz",
+ "integrity": "sha512-Uku8LqnXBwfDCtsTCDYTUOz2/2oqcAQCKgaO0uGdIR8DTQENBXFQvzziambHdn9KuFuY+6Et9k1+cjpTPBDTBg==",
"requires": {
- "@algolia/client-common": "4.4.0",
- "@algolia/client-search": "4.4.0",
- "@algolia/transporter": "4.4.0"
+ "@algolia/client-common": "4.8.3",
+ "@algolia/client-search": "4.8.3",
+ "@algolia/transporter": "4.8.3"
}
},
"@algolia/client-analytics": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/@algolia/client-analytics/-/client-analytics-4.4.0.tgz",
- "integrity": "sha512-GQyjQimKAc9sZbafxln9Wk7j4pEYiORv28MZkZ+0Bjt7WNXIeO7OgOOECVpQHm9buyV6hCKpNtJcbb5/syRzdQ==",
+ "version": "4.8.3",
+ "resolved": "https://registry.npmjs.org/@algolia/client-analytics/-/client-analytics-4.8.3.tgz",
+ "integrity": "sha512-9ensIWmjYJprZ+YjAVSZdWUG05xEnbytENXp508X59tf34IMIX8BR2xl0RjAQODtxBdAteGxuKt5THX6U9tQLA==",
"requires": {
- "@algolia/client-common": "4.4.0",
- "@algolia/client-search": "4.4.0",
- "@algolia/requester-common": "4.4.0",
- "@algolia/transporter": "4.4.0"
+ "@algolia/client-common": "4.8.3",
+ "@algolia/client-search": "4.8.3",
+ "@algolia/requester-common": "4.8.3",
+ "@algolia/transporter": "4.8.3"
}
},
"@algolia/client-common": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/@algolia/client-common/-/client-common-4.4.0.tgz",
- "integrity": "sha512-a3yr6UhzjWPHDG/8iGp9UvrDOm1aeHVWJIf0Nj/cIvqX5tNCEIo4IMe59ovApkDgLOIpt/cLsyhn9/FiPXRhJA==",
+ "version": "4.8.3",
+ "resolved": "https://registry.npmjs.org/@algolia/client-common/-/client-common-4.8.3.tgz",
+ "integrity": "sha512-TU3623AEFAWUQlDTznkgAMSYo8lfS9pNs5QYDQzkvzWdqK0GBDWthwdRfo9iIsfxiR9qdCMHqwEu+AlZMVhNSA==",
"requires": {
- "@algolia/requester-common": "4.4.0",
- "@algolia/transporter": "4.4.0"
+ "@algolia/requester-common": "4.8.3",
+ "@algolia/transporter": "4.8.3"
}
},
"@algolia/client-recommendation": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/@algolia/client-recommendation/-/client-recommendation-4.4.0.tgz",
- "integrity": "sha512-sBszbQH46rko6w2fdEG77ma8+fAg0SDkLZGxWhv4trgcnYGUBFl2dcpEPt/6koto9b4XYlf+eh+qi6iGvYqRPg==",
+ "version": "4.8.3",
+ "resolved": "https://registry.npmjs.org/@algolia/client-recommendation/-/client-recommendation-4.8.3.tgz",
+ "integrity": "sha512-qysGbmkcc6Agt29E38KWJq9JuxjGsyEYoKuX9K+P5HyQh08yR/BlRYrA8mB7vT/OIUHRGFToGO6Vq/rcg0NIOQ==",
"requires": {
- "@algolia/client-common": "4.4.0",
- "@algolia/requester-common": "4.4.0",
- "@algolia/transporter": "4.4.0"
+ "@algolia/client-common": "4.8.3",
+ "@algolia/requester-common": "4.8.3",
+ "@algolia/transporter": "4.8.3"
}
},
"@algolia/client-search": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/@algolia/client-search/-/client-search-4.4.0.tgz",
- "integrity": "sha512-jqWcxCUyPPHnHreoMb2PnN9iHTP+V/nL62R84XuTRDE3VgTnhm4ZnqyuRdzZQqaz+gNy5znav64TmQ9FN9WW5g==",
+ "version": "4.8.3",
+ "resolved": "https://registry.npmjs.org/@algolia/client-search/-/client-search-4.8.3.tgz",
+ "integrity": "sha512-rAnvoy3GAhbzOQVniFcKVn1eM2NX77LearzYNCbtFrFYavG+hJI187bNVmajToiuGZ10FfJvK99X2OB1AzzezQ==",
"requires": {
- "@algolia/client-common": "4.4.0",
- "@algolia/requester-common": "4.4.0",
- "@algolia/transporter": "4.4.0"
+ "@algolia/client-common": "4.8.3",
+ "@algolia/requester-common": "4.8.3",
+ "@algolia/transporter": "4.8.3"
}
},
"@algolia/logger-common": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/@algolia/logger-common/-/logger-common-4.4.0.tgz",
- "integrity": "sha512-2vjmSENLaKNuF+ytRDysfWxxgFG95WXCHwHbueThdPMCK3hskkwqJ0Y/pugKfzl+54mZxegb4BYfgcCeuaHVUw=="
+ "version": "4.8.3",
+ "resolved": "https://registry.npmjs.org/@algolia/logger-common/-/logger-common-4.8.3.tgz",
+ "integrity": "sha512-03wksHRbhl2DouEKnqWuUb64s1lV6kDAAabMCQ2Du1fb8X/WhDmxHC4UXMzypeOGlH5BZBsgVwSB7vsZLP3MZg=="
},
"@algolia/logger-console": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/@algolia/logger-console/-/logger-console-4.4.0.tgz",
- "integrity": "sha512-st/GUWyKvr6YM72OOfF+RmpdVGda3BPXbQ+chpntUq1WyVkyZXGjSmH1IcBVlua27GzxabwOUYON39cF3x10/g==",
+ "version": "4.8.3",
+ "resolved": "https://registry.npmjs.org/@algolia/logger-console/-/logger-console-4.8.3.tgz",
+ "integrity": "sha512-Npt+hI4UF8t3TLMluL5utr9Gc11BjL5kDnGZOhDOAz5jYiSO2nrHMFmnpLT4Cy/u7a5t7EB5dlypuC4/AGStkA==",
"requires": {
- "@algolia/logger-common": "4.4.0"
+ "@algolia/logger-common": "4.8.3"
}
},
"@algolia/requester-browser-xhr": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/@algolia/requester-browser-xhr/-/requester-browser-xhr-4.4.0.tgz",
- "integrity": "sha512-V3a4hXlNch355GnWaT1f5QfXhROpsjT6sd0Znq29gAhwLqfBExhLW6Khdkv5pENC0Qy7ClVhdXFrBL9QCQer1g==",
+ "version": "4.8.3",
+ "resolved": "https://registry.npmjs.org/@algolia/requester-browser-xhr/-/requester-browser-xhr-4.8.3.tgz",
+ "integrity": "sha512-/LTTIpgEmEwkyhn8yXxDdBWqXqzlgw5w2PtTpIwkSlP2/jDwdR/9w1TkFzhNbJ81ki6LAEQM5mSwoTTnbIIecg==",
"requires": {
- "@algolia/requester-common": "4.4.0"
+ "@algolia/requester-common": "4.8.3"
}
},
"@algolia/requester-common": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/@algolia/requester-common/-/requester-common-4.4.0.tgz",
- "integrity": "sha512-jPinHlFJEFokxQ5b3JWyjQKKn+FMy0hH99PApzOgQAYOSiFRXiPEZp6LeIexDeLLu7Y3eRt/3nHvjPKa6PmRRw=="
+ "version": "4.8.3",
+ "resolved": "https://registry.npmjs.org/@algolia/requester-common/-/requester-common-4.8.3.tgz",
+ "integrity": "sha512-+Yo9vBkofoKR1SCqqtMnmnfq9yt/BiaDewY/6bYSMNxSYCnu2Fw1JKSIaf/4zos09PMSsxGpLohZwGas3+0GDQ=="
},
"@algolia/requester-node-http": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/@algolia/requester-node-http/-/requester-node-http-4.4.0.tgz",
- "integrity": "sha512-b7HC9C/GHxiV4+0GpCRTtjscvwarPr3dGm4CAhb6AkNjgjRcFUNr1NfsF75w3WVmzmt79/7QZihddztDdVMGjw==",
+ "version": "4.8.3",
+ "resolved": "https://registry.npmjs.org/@algolia/requester-node-http/-/requester-node-http-4.8.3.tgz",
+ "integrity": "sha512-k2fiKIeMIFqgC01FnzII6kqC2GQBAfbNaUX4k7QCPa6P8t4sp2xE6fImOUiztLnnL3C9X9ZX6Fw3L+cudi7jvQ==",
"requires": {
- "@algolia/requester-common": "4.4.0"
+ "@algolia/requester-common": "4.8.3"
}
},
"@algolia/transporter": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/@algolia/transporter/-/transporter-4.4.0.tgz",
- "integrity": "sha512-Xxzq91DEEeKIzT3DU46n4LEyTGAKZNtSHc2H9wvIY5MYwhZwEribmXXZ6k8W1FvBvzggv3juu0SP+xwGoR7F0w==",
+ "version": "4.8.3",
+ "resolved": "https://registry.npmjs.org/@algolia/transporter/-/transporter-4.8.3.tgz",
+ "integrity": "sha512-nU7fy2iU8snxATlsks0MjMyv97QJWQmOVwTjDc+KZ4+nue8CLcgm4LA4dsTBqvxeCQIoEtt3n72GwXcaqiJSjQ==",
"requires": {
- "@algolia/cache-common": "4.4.0",
- "@algolia/logger-common": "4.4.0",
- "@algolia/requester-common": "4.4.0"
+ "@algolia/cache-common": "4.8.3",
+ "@algolia/logger-common": "4.8.3",
+ "@algolia/requester-common": "4.8.3"
}
},
"@babel/code-frame": {
@@ -128,35 +149,23 @@
}
},
"@babel/compat-data": {
- "version": "7.11.0",
- "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.11.0.tgz",
- "integrity": "sha512-TPSvJfv73ng0pfnEOh17bYMPQbI95+nGWc71Ss4vZdRBHTDqmM9Z8ZV4rYz8Ks7sfzc95n30k6ODIq5UGnXcYQ==",
- "requires": {
- "browserslist": "^4.12.0",
- "invariant": "^2.2.4",
- "semver": "^5.5.0"
- },
- "dependencies": {
- "semver": {
- "version": "5.7.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
- "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ=="
- }
- }
+ "version": "7.12.7",
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.12.7.tgz",
+ "integrity": "sha512-YaxPMGs/XIWtYqrdEOZOCPsVWfEoriXopnsz3/i7apYPXQ3698UFhS6dVT1KN5qOsWmVgw/FOrmQgpRaZayGsw=="
},
"@babel/core": {
- "version": "7.11.6",
- "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.11.6.tgz",
- "integrity": "sha512-Wpcv03AGnmkgm6uS6k8iwhIwTrcP0m17TL1n1sy7qD0qelDu4XNeW0dN0mHfa+Gei211yDaLoEe/VlbXQzM4Bg==",
+ "version": "7.12.9",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.12.9.tgz",
+ "integrity": "sha512-gTXYh3M5wb7FRXQy+FErKFAv90BnlOuNn1QkCK2lREoPAjrQCO49+HVSrFoe5uakFAF5eenS75KbO2vQiLrTMQ==",
"requires": {
"@babel/code-frame": "^7.10.4",
- "@babel/generator": "^7.11.6",
- "@babel/helper-module-transforms": "^7.11.0",
- "@babel/helpers": "^7.10.4",
- "@babel/parser": "^7.11.5",
- "@babel/template": "^7.10.4",
- "@babel/traverse": "^7.11.5",
- "@babel/types": "^7.11.5",
+ "@babel/generator": "^7.12.5",
+ "@babel/helper-module-transforms": "^7.12.1",
+ "@babel/helpers": "^7.12.5",
+ "@babel/parser": "^7.12.7",
+ "@babel/template": "^7.12.7",
+ "@babel/traverse": "^7.12.9",
+ "@babel/types": "^7.12.7",
"convert-source-map": "^1.7.0",
"debug": "^4.1.0",
"gensync": "^1.0.0-beta.1",
@@ -175,11 +184,11 @@
}
},
"@babel/generator": {
- "version": "7.11.6",
- "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.11.6.tgz",
- "integrity": "sha512-DWtQ1PV3r+cLbySoHrwn9RWEgKMBLLma4OBQloPRyDYvc5msJM9kvTLo1YnlJd1P/ZuKbdli3ijr5q3FvAF3uA==",
+ "version": "7.12.5",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.12.5.tgz",
+ "integrity": "sha512-m16TQQJ8hPt7E+OS/XVQg/7U184MLXtvuGbCdA7na61vha+ImkyyNM/9DDA0unYCVZn3ZOhng+qz48/KBOT96A==",
"requires": {
- "@babel/types": "^7.11.5",
+ "@babel/types": "^7.12.5",
"jsesc": "^2.5.1",
"source-map": "^0.5.0"
}
@@ -211,24 +220,23 @@
}
},
"@babel/helper-builder-react-jsx-experimental": {
- "version": "7.11.5",
- "resolved": "https://registry.npmjs.org/@babel/helper-builder-react-jsx-experimental/-/helper-builder-react-jsx-experimental-7.11.5.tgz",
- "integrity": "sha512-Vc4aPJnRZKWfzeCBsqTBnzulVNjABVdahSPhtdMD3Vs80ykx4a87jTHtF/VR+alSrDmNvat7l13yrRHauGcHVw==",
+ "version": "7.12.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-builder-react-jsx-experimental/-/helper-builder-react-jsx-experimental-7.12.4.tgz",
+ "integrity": "sha512-AjEa0jrQqNk7eDQOo0pTfUOwQBMF+xVqrausQwT9/rTKy0g04ggFNaJpaE09IQMn9yExluigWMJcj0WC7bq+Og==",
"requires": {
"@babel/helper-annotate-as-pure": "^7.10.4",
- "@babel/helper-module-imports": "^7.10.4",
- "@babel/types": "^7.11.5"
+ "@babel/helper-module-imports": "^7.12.1",
+ "@babel/types": "^7.12.1"
}
},
"@babel/helper-compilation-targets": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.10.4.tgz",
- "integrity": "sha512-a3rYhlsGV0UHNDvrtOXBg8/OpfV0OKTkxKPzIplS1zpx7CygDcWWxckxZeDd3gzPzC4kUT0A4nVFDK0wGMh4MQ==",
+ "version": "7.12.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.12.5.tgz",
+ "integrity": "sha512-+qH6NrscMolUlzOYngSBMIOQpKUGPPsc61Bu5W10mg84LxZ7cmvnBHzARKbDoFxVvqqAbj6Tg6N7bSrWSPXMyw==",
"requires": {
- "@babel/compat-data": "^7.10.4",
- "browserslist": "^4.12.0",
- "invariant": "^2.2.4",
- "levenary": "^1.1.1",
+ "@babel/compat-data": "^7.12.5",
+ "@babel/helper-validator-option": "^7.12.1",
+ "browserslist": "^4.14.5",
"semver": "^5.5.0"
},
"dependencies": {
@@ -240,26 +248,24 @@
}
},
"@babel/helper-create-class-features-plugin": {
- "version": "7.10.5",
- "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.10.5.tgz",
- "integrity": "sha512-0nkdeijB7VlZoLT3r/mY3bUkw3T8WG/hNw+FATs/6+pG2039IJWjTYL0VTISqsNHMUTEnwbVnc89WIJX9Qed0A==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.12.1.tgz",
+ "integrity": "sha512-hkL++rWeta/OVOBTRJc9a5Azh5mt5WgZUGAKMD8JM141YsE08K//bp1unBBieO6rUKkIPyUE0USQ30jAy3Sk1w==",
"requires": {
"@babel/helper-function-name": "^7.10.4",
- "@babel/helper-member-expression-to-functions": "^7.10.5",
+ "@babel/helper-member-expression-to-functions": "^7.12.1",
"@babel/helper-optimise-call-expression": "^7.10.4",
- "@babel/helper-plugin-utils": "^7.10.4",
- "@babel/helper-replace-supers": "^7.10.4",
+ "@babel/helper-replace-supers": "^7.12.1",
"@babel/helper-split-export-declaration": "^7.10.4"
}
},
"@babel/helper-create-regexp-features-plugin": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.10.4.tgz",
- "integrity": "sha512-2/hu58IEPKeoLF45DBwx3XFqsbCXmkdAay4spVr2x0jYgRxrSNp+ePwvSsy9g6YSaNDcKIQVPXk1Ov8S2edk2g==",
+ "version": "7.12.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.12.7.tgz",
+ "integrity": "sha512-idnutvQPdpbduutvi3JVfEgcVIHooQnhvhx0Nk9isOINOIGYkZea1Pk2JlJRiUnMefrlvr0vkByATBY/mB4vjQ==",
"requires": {
"@babel/helper-annotate-as-pure": "^7.10.4",
- "@babel/helper-regex": "^7.10.4",
- "regexpu-core": "^4.7.0"
+ "regexpu-core": "^4.7.1"
}
},
"@babel/helper-define-map": {
@@ -273,11 +279,11 @@
}
},
"@babel/helper-explode-assignable-expression": {
- "version": "7.11.4",
- "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.11.4.tgz",
- "integrity": "sha512-ux9hm3zR4WV1Y3xXxXkdG/0gxF9nvI0YVmKVhvK9AfMoaQkemL3sJpXw+Xbz65azo8qJiEz2XVDUpK3KYhH3ZQ==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.12.1.tgz",
+ "integrity": "sha512-dmUwH8XmlrUpVqgtZ737tK88v07l840z9j3OEhCLwKTkjlvKpfqXVIZ0wpK3aeOxspwGrf/5AP5qLx4rO3w5rA==",
"requires": {
- "@babel/types": "^7.10.4"
+ "@babel/types": "^7.12.1"
}
},
"@babel/helper-function-name": {
@@ -307,41 +313,43 @@
}
},
"@babel/helper-member-expression-to-functions": {
- "version": "7.11.0",
- "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.11.0.tgz",
- "integrity": "sha512-JbFlKHFntRV5qKw3YC0CvQnDZ4XMwgzzBbld7Ly4Mj4cbFy3KywcR8NtNctRToMWJOVvLINJv525Gd6wwVEx/Q==",
+ "version": "7.12.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.12.7.tgz",
+ "integrity": "sha512-DCsuPyeWxeHgh1Dus7APn7iza42i/qXqiFPWyBDdOFtvS581JQePsc1F/nD+fHrcswhLlRc2UpYS1NwERxZhHw==",
"requires": {
- "@babel/types": "^7.11.0"
+ "@babel/types": "^7.12.7"
}
},
"@babel/helper-module-imports": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.10.4.tgz",
- "integrity": "sha512-nEQJHqYavI217oD9+s5MUBzk6x1IlvoS9WTPfgG43CbMEeStE0v+r+TucWdx8KFGowPGvyOkDT9+7DHedIDnVw==",
+ "version": "7.12.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.12.5.tgz",
+ "integrity": "sha512-SR713Ogqg6++uexFRORf/+nPXMmWIn80TALu0uaFb+iQIUoR7bOC7zBWyzBs5b3tBBJXuyD0cRu1F15GyzjOWA==",
"requires": {
- "@babel/types": "^7.10.4"
+ "@babel/types": "^7.12.5"
}
},
"@babel/helper-module-transforms": {
- "version": "7.11.0",
- "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.11.0.tgz",
- "integrity": "sha512-02EVu8COMuTRO1TAzdMtpBPbe6aQ1w/8fePD2YgQmxZU4gpNWaL9gK3Jp7dxlkUlUCJOTaSeA+Hrm1BRQwqIhg==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.12.1.tgz",
+ "integrity": "sha512-QQzehgFAZ2bbISiCpmVGfiGux8YVFXQ0abBic2Envhej22DVXV9nCFaS5hIQbkyo1AdGb+gNME2TSh3hYJVV/w==",
"requires": {
- "@babel/helper-module-imports": "^7.10.4",
- "@babel/helper-replace-supers": "^7.10.4",
- "@babel/helper-simple-access": "^7.10.4",
+ "@babel/helper-module-imports": "^7.12.1",
+ "@babel/helper-replace-supers": "^7.12.1",
+ "@babel/helper-simple-access": "^7.12.1",
"@babel/helper-split-export-declaration": "^7.11.0",
+ "@babel/helper-validator-identifier": "^7.10.4",
"@babel/template": "^7.10.4",
- "@babel/types": "^7.11.0",
+ "@babel/traverse": "^7.12.1",
+ "@babel/types": "^7.12.1",
"lodash": "^4.17.19"
}
},
"@babel/helper-optimise-call-expression": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.10.4.tgz",
- "integrity": "sha512-n3UGKY4VXwXThEiKrgRAoVPBMqeoPgHVqiHZOanAJCG9nQUL2pLRQirUzl0ioKclHGpGqRgIOkgcIJaIWLpygg==",
+ "version": "7.12.7",
+ "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.12.7.tgz",
+ "integrity": "sha512-I5xc9oSJ2h59OwyUqjv95HRyzxj53DAubUERgQMrpcCEYQyToeHA+NEcUEsVWB4j53RDeskeBJ0SgRAYHDBckw==",
"requires": {
- "@babel/types": "^7.10.4"
+ "@babel/types": "^7.12.7"
}
},
"@babel/helper-plugin-utils": {
@@ -349,51 +357,41 @@
"resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.10.4.tgz",
"integrity": "sha512-O4KCvQA6lLiMU9l2eawBPMf1xPP8xPfB3iEQw150hOVTqj/rfXz0ThTb4HEzqQfs2Bmo5Ay8BzxfzVtBrr9dVg=="
},
- "@babel/helper-regex": {
- "version": "7.10.5",
- "resolved": "https://registry.npmjs.org/@babel/helper-regex/-/helper-regex-7.10.5.tgz",
- "integrity": "sha512-68kdUAzDrljqBrio7DYAEgCoJHxppJOERHOgOrDN7WjOzP0ZQ1LsSDRXcemzVZaLvjaJsJEESb6qt+znNuENDg==",
- "requires": {
- "lodash": "^4.17.19"
- }
- },
"@babel/helper-remap-async-to-generator": {
- "version": "7.11.4",
- "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.11.4.tgz",
- "integrity": "sha512-tR5vJ/vBa9wFy3m5LLv2faapJLnDFxNWff2SAYkSE4rLUdbp7CdObYFgI7wK4T/Mj4UzpjPwzR8Pzmr5m7MHGA==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.12.1.tgz",
+ "integrity": "sha512-9d0KQCRM8clMPcDwo8SevNs+/9a8yWVVmaE80FGJcEP8N1qToREmWEGnBn8BUlJhYRFz6fqxeRL1sl5Ogsed7A==",
"requires": {
"@babel/helper-annotate-as-pure": "^7.10.4",
"@babel/helper-wrap-function": "^7.10.4",
- "@babel/template": "^7.10.4",
- "@babel/types": "^7.10.4"
+ "@babel/types": "^7.12.1"
}
},
"@babel/helper-replace-supers": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.10.4.tgz",
- "integrity": "sha512-sPxZfFXocEymYTdVK1UNmFPBN+Hv5mJkLPsYWwGBxZAxaWfFu+xqp7b6qWD0yjNuNL2VKc6L5M18tOXUP7NU0A==",
+ "version": "7.12.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.12.5.tgz",
+ "integrity": "sha512-5YILoed0ZyIpF4gKcpZitEnXEJ9UoDRki1Ey6xz46rxOzfNMAhVIJMoune1hmPVxh40LRv1+oafz7UsWX+vyWA==",
"requires": {
- "@babel/helper-member-expression-to-functions": "^7.10.4",
+ "@babel/helper-member-expression-to-functions": "^7.12.1",
"@babel/helper-optimise-call-expression": "^7.10.4",
- "@babel/traverse": "^7.10.4",
- "@babel/types": "^7.10.4"
+ "@babel/traverse": "^7.12.5",
+ "@babel/types": "^7.12.5"
}
},
"@babel/helper-simple-access": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.10.4.tgz",
- "integrity": "sha512-0fMy72ej/VEvF8ULmX6yb5MtHG4uH4Dbd6I/aHDb/JVg0bbivwt9Wg+h3uMvX+QSFtwr5MeItvazbrc4jtRAXw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.12.1.tgz",
+ "integrity": "sha512-OxBp7pMrjVewSSC8fXDFrHrBcJATOOFssZwv16F3/6Xtc138GHybBfPbm9kfiqQHKhYQrlamWILwlDCeyMFEaA==",
"requires": {
- "@babel/template": "^7.10.4",
- "@babel/types": "^7.10.4"
+ "@babel/types": "^7.12.1"
}
},
"@babel/helper-skip-transparent-expression-wrappers": {
- "version": "7.11.0",
- "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.11.0.tgz",
- "integrity": "sha512-0XIdiQln4Elglgjbwo9wuJpL/K7AGCY26kmEt0+pRP0TAj4jjyNq1MjoRvikrTVqKcx4Gysxt4cXvVFXP/JO2Q==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.12.1.tgz",
+ "integrity": "sha512-Mf5AUuhG1/OCChOJ/HcADmvcHM42WJockombn8ATJG3OnyiSxBK/Mm5x78BQWvmtXZKHgbjdGL2kin/HOLlZGA==",
"requires": {
- "@babel/types": "^7.11.0"
+ "@babel/types": "^7.12.1"
}
},
"@babel/helper-split-export-declaration": {
@@ -409,10 +407,15 @@
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz",
"integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw=="
},
+ "@babel/helper-validator-option": {
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.12.1.tgz",
+ "integrity": "sha512-YpJabsXlJVWP0USHjnC/AQDTLlZERbON577YUVO/wLpqyj6HAtVYnWaQaN0iUN+1/tWn3c+uKKXjRut5115Y2A=="
+ },
"@babel/helper-wrap-function": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.10.4.tgz",
- "integrity": "sha512-6py45WvEF0MhiLrdxtRjKjufwLL1/ob2qDJgg5JgNdojBAZSAKnAjkyOCNug6n+OBl4VW76XjvgSFTdaMcW0Ug==",
+ "version": "7.12.3",
+ "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.12.3.tgz",
+ "integrity": "sha512-Cvb8IuJDln3rs6tzjW3Y8UeelAOdnpB8xtQ4sme2MSZ9wOxrbThporC0y/EtE16VAtoyEfLM404Xr1e0OOp+ow==",
"requires": {
"@babel/helper-function-name": "^7.10.4",
"@babel/template": "^7.10.4",
@@ -421,13 +424,13 @@
}
},
"@babel/helpers": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.10.4.tgz",
- "integrity": "sha512-L2gX/XeUONeEbI78dXSrJzGdz4GQ+ZTA/aazfUsFaWjSe95kiCuOZ5HsXvkiw3iwF+mFHSRUfJU8t6YavocdXA==",
+ "version": "7.12.5",
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.12.5.tgz",
+ "integrity": "sha512-lgKGMQlKqA8meJqKsW6rUnc4MdUk35Ln0ATDqdM1a/UpARODdI4j5Y5lVfUScnSNkJcdCRAaWkspykNoFg9sJA==",
"requires": {
"@babel/template": "^7.10.4",
- "@babel/traverse": "^7.10.4",
- "@babel/types": "^7.10.4"
+ "@babel/traverse": "^7.12.5",
+ "@babel/types": "^7.12.5"
}
},
"@babel/highlight": {
@@ -453,127 +456,127 @@
}
},
"@babel/parser": {
- "version": "7.11.5",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.11.5.tgz",
- "integrity": "sha512-X9rD8qqm695vgmeaQ4fvz/o3+Wk4ZzQvSHkDBgpYKxpD4qTAUm88ZKtHkVqIOsYFFbIQ6wQYhC6q7pjqVK0E0Q=="
+ "version": "7.12.7",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.12.7.tgz",
+ "integrity": "sha512-oWR02Ubp4xTLCAqPRiNIuMVgNO5Aif/xpXtabhzW2HWUD47XJsAB4Zd/Rg30+XeQA3juXigV7hlquOTmwqLiwg=="
},
"@babel/plugin-proposal-async-generator-functions": {
- "version": "7.10.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.10.5.tgz",
- "integrity": "sha512-cNMCVezQbrRGvXJwm9fu/1sJj9bHdGAgKodZdLqOQIpfoH3raqmRPBM17+lh7CzhiKRRBrGtZL9WcjxSoGYUSg==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.12.1.tgz",
+ "integrity": "sha512-d+/o30tJxFxrA1lhzJqiUcEJdI6jKlNregCv5bASeGf2Q4MXmnwH7viDo7nhx1/ohf09oaH8j1GVYG/e3Yqk6A==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4",
- "@babel/helper-remap-async-to-generator": "^7.10.4",
+ "@babel/helper-remap-async-to-generator": "^7.12.1",
"@babel/plugin-syntax-async-generators": "^7.8.0"
}
},
"@babel/plugin-proposal-class-properties": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.10.4.tgz",
- "integrity": "sha512-vhwkEROxzcHGNu2mzUC0OFFNXdZ4M23ib8aRRcJSsW8BZK9pQMD7QB7csl97NBbgGZO7ZyHUyKDnxzOaP4IrCg==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.12.1.tgz",
+ "integrity": "sha512-cKp3dlQsFsEs5CWKnN7BnSHOd0EOW8EKpEjkoz1pO2E5KzIDNV9Ros1b0CnmbVgAGXJubOYVBOGCT1OmJwOI7w==",
"requires": {
- "@babel/helper-create-class-features-plugin": "^7.10.4",
+ "@babel/helper-create-class-features-plugin": "^7.12.1",
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-proposal-dynamic-import": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.10.4.tgz",
- "integrity": "sha512-up6oID1LeidOOASNXgv/CFbgBqTuKJ0cJjz6An5tWD+NVBNlp3VNSBxv2ZdU7SYl3NxJC7agAQDApZusV6uFwQ==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.12.1.tgz",
+ "integrity": "sha512-a4rhUSZFuq5W8/OO8H7BL5zspjnc1FLd9hlOxIK/f7qG4a0qsqk8uvF/ywgBA8/OmjsapjpvaEOYItfGG1qIvQ==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4",
"@babel/plugin-syntax-dynamic-import": "^7.8.0"
}
},
"@babel/plugin-proposal-export-namespace-from": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.10.4.tgz",
- "integrity": "sha512-aNdf0LY6/3WXkhh0Fdb6Zk9j1NMD8ovj3F6r0+3j837Pn1S1PdNtcwJ5EG9WkVPNHPxyJDaxMaAOVq4eki0qbg==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.12.1.tgz",
+ "integrity": "sha512-6CThGf0irEkzujYS5LQcjBx8j/4aQGiVv7J9+2f7pGfxqyKh3WnmVJYW3hdrQjyksErMGBPQrCnHfOtna+WLbw==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4",
"@babel/plugin-syntax-export-namespace-from": "^7.8.3"
}
},
"@babel/plugin-proposal-json-strings": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.10.4.tgz",
- "integrity": "sha512-fCL7QF0Jo83uy1K0P2YXrfX11tj3lkpN7l4dMv9Y9VkowkhkQDwFHFd8IiwyK5MZjE8UpbgokkgtcReH88Abaw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.12.1.tgz",
+ "integrity": "sha512-GoLDUi6U9ZLzlSda2Df++VSqDJg3CG+dR0+iWsv6XRw1rEq+zwt4DirM9yrxW6XWaTpmai1cWJLMfM8qQJf+yw==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4",
"@babel/plugin-syntax-json-strings": "^7.8.0"
}
},
"@babel/plugin-proposal-logical-assignment-operators": {
- "version": "7.11.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.11.0.tgz",
- "integrity": "sha512-/f8p4z+Auz0Uaf+i8Ekf1iM7wUNLcViFUGiPxKeXvxTSl63B875YPiVdUDdem7hREcI0E0kSpEhS8tF5RphK7Q==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.12.1.tgz",
+ "integrity": "sha512-k8ZmVv0JU+4gcUGeCDZOGd0lCIamU/sMtIiX3UWnUc5yzgq6YUGyEolNYD+MLYKfSzgECPcqetVcJP9Afe/aCA==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4",
"@babel/plugin-syntax-logical-assignment-operators": "^7.10.4"
}
},
"@babel/plugin-proposal-nullish-coalescing-operator": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.10.4.tgz",
- "integrity": "sha512-wq5n1M3ZUlHl9sqT2ok1T2/MTt6AXE0e1Lz4WzWBr95LsAZ5qDXe4KnFuauYyEyLiohvXFMdbsOTMyLZs91Zlw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.12.1.tgz",
+ "integrity": "sha512-nZY0ESiaQDI1y96+jk6VxMOaL4LPo/QDHBqL+SF3/vl6dHkTwHlOI8L4ZwuRBHgakRBw5zsVylel7QPbbGuYgg==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4",
"@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.0"
}
},
"@babel/plugin-proposal-numeric-separator": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.10.4.tgz",
- "integrity": "sha512-73/G7QoRoeNkLZFxsoCCvlg4ezE4eM+57PnOqgaPOozd5myfj7p0muD1mRVJvbUWbOzD+q3No2bWbaKy+DJ8DA==",
+ "version": "7.12.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.12.7.tgz",
+ "integrity": "sha512-8c+uy0qmnRTeukiGsjLGy6uVs/TFjJchGXUeBqlG4VWYOdJWkhhVPdQ3uHwbmalfJwv2JsV0qffXP4asRfL2SQ==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4",
"@babel/plugin-syntax-numeric-separator": "^7.10.4"
}
},
"@babel/plugin-proposal-object-rest-spread": {
- "version": "7.11.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.11.0.tgz",
- "integrity": "sha512-wzch41N4yztwoRw0ak+37wxwJM2oiIiy6huGCoqkvSTA9acYWcPfn9Y4aJqmFFJ70KTJUu29f3DQ43uJ9HXzEA==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.12.1.tgz",
+ "integrity": "sha512-s6SowJIjzlhx8o7lsFx5zmY4At6CTtDvgNQDdPzkBQucle58A6b/TTeEBYtyDgmcXjUTM+vE8YOGHZzzbc/ioA==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4",
"@babel/plugin-syntax-object-rest-spread": "^7.8.0",
- "@babel/plugin-transform-parameters": "^7.10.4"
+ "@babel/plugin-transform-parameters": "^7.12.1"
}
},
"@babel/plugin-proposal-optional-catch-binding": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.10.4.tgz",
- "integrity": "sha512-LflT6nPh+GK2MnFiKDyLiqSqVHkQnVf7hdoAvyTnnKj9xB3docGRsdPuxp6qqqW19ifK3xgc9U5/FwrSaCNX5g==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.12.1.tgz",
+ "integrity": "sha512-hFvIjgprh9mMw5v42sJWLI1lzU5L2sznP805zeT6rySVRA0Y18StRhDqhSxlap0oVgItRsB6WSROp4YnJTJz0g==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4",
"@babel/plugin-syntax-optional-catch-binding": "^7.8.0"
}
},
"@babel/plugin-proposal-optional-chaining": {
- "version": "7.11.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.11.0.tgz",
- "integrity": "sha512-v9fZIu3Y8562RRwhm1BbMRxtqZNFmFA2EG+pT2diuU8PT3H6T/KXoZ54KgYisfOFZHV6PfvAiBIZ9Rcz+/JCxA==",
+ "version": "7.12.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.12.7.tgz",
+ "integrity": "sha512-4ovylXZ0PWmwoOvhU2vhnzVNnm88/Sm9nx7V8BPgMvAzn5zDou3/Awy0EjglyubVHasJj+XCEkr/r1X3P5elCA==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4",
- "@babel/helper-skip-transparent-expression-wrappers": "^7.11.0",
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.12.1",
"@babel/plugin-syntax-optional-chaining": "^7.8.0"
}
},
"@babel/plugin-proposal-private-methods": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.10.4.tgz",
- "integrity": "sha512-wh5GJleuI8k3emgTg5KkJK6kHNsGEr0uBTDBuQUBJwckk9xs1ez79ioheEVVxMLyPscB0LfkbVHslQqIzWV6Bw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.12.1.tgz",
+ "integrity": "sha512-mwZ1phvH7/NHK6Kf8LP7MYDogGV+DKB1mryFOEwx5EBNQrosvIczzZFTUmWaeujd5xT6G1ELYWUz3CutMhjE1w==",
"requires": {
- "@babel/helper-create-class-features-plugin": "^7.10.4",
+ "@babel/helper-create-class-features-plugin": "^7.12.1",
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-proposal-unicode-property-regex": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.10.4.tgz",
- "integrity": "sha512-H+3fOgPnEXFL9zGYtKQe4IDOPKYlZdF1kqFDQRRb8PK4B8af1vAGK04tF5iQAAsui+mHNBQSAtd2/ndEDe9wuA==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.12.1.tgz",
+ "integrity": "sha512-MYq+l+PvHuw/rKUz1at/vb6nCnQ2gmJBNaM62z0OgH7B2W1D9pvkpYtlti9bGtizNIU1K3zm4bZF9F91efVY0w==",
"requires": {
- "@babel/helper-create-regexp-features-plugin": "^7.10.4",
+ "@babel/helper-create-regexp-features-plugin": "^7.12.1",
"@babel/helper-plugin-utils": "^7.10.4"
}
},
@@ -586,9 +589,9 @@
}
},
"@babel/plugin-syntax-class-properties": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.10.4.tgz",
- "integrity": "sha512-GCSBF7iUle6rNugfURwNmCGG3Z/2+opxAMLs1nND4bhEG5PuxTIggDBoeYYSujAlLtsupzOHYJQgPS3pivwXIA==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.1.tgz",
+ "integrity": "sha512-U40A76x5gTwmESz+qiqssqmeEsKvcSyvtgktrm0uzcARAmM9I1jR221f6Oq+GmHrcD+LvZDag1UTOTe2fL3TeA==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
@@ -618,9 +621,9 @@
}
},
"@babel/plugin-syntax-jsx": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.10.4.tgz",
- "integrity": "sha512-KCg9mio9jwiARCB7WAcQ7Y1q+qicILjoK8LP/VkPkEKaf5dkaZZK1EcTe91a3JJlZ3qy6L5s9X52boEYi8DM9g==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.12.1.tgz",
+ "integrity": "sha512-1yRi7yAtB0ETgxdY9ti/p2TivUxJkTdhu/ZbF9MshVGqOx1TdB3b7xCXs49Fupgg50N45KcAsRP/ZqWjs9SRjg==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
@@ -674,314 +677,342 @@
}
},
"@babel/plugin-syntax-top-level-await": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.10.4.tgz",
- "integrity": "sha512-ni1brg4lXEmWyafKr0ccFWkJG0CeMt4WV1oyeBW6EFObF4oOHclbkj5cARxAPQyAQ2UTuplJyK4nfkXIMMFvsQ==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.12.1.tgz",
+ "integrity": "sha512-i7ooMZFS+a/Om0crxZodrTzNEPJHZrlMVGMTEpFAj6rYY/bKCddB0Dk/YxfPuYXOopuhKk/e1jV6h+WUU9XN3A==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-syntax-typescript": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.10.4.tgz",
- "integrity": "sha512-oSAEz1YkBCAKr5Yiq8/BNtvSAPwkp/IyUnwZogd8p+F0RuYQQrLeRUzIQhueQTTBy/F+a40uS7OFKxnkRvmvFQ==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.12.1.tgz",
+ "integrity": "sha512-UZNEcCY+4Dp9yYRCAHrHDU+9ZXLYaY9MgBXSRLkB9WjYFRR6quJBumfVrEkUxrePPBwFcpWfNKXqVRQQtm7mMA==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-arrow-functions": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.10.4.tgz",
- "integrity": "sha512-9J/oD1jV0ZCBcgnoFWFq1vJd4msoKb/TCpGNFyyLt0zABdcvgK3aYikZ8HjzB14c26bc7E3Q1yugpwGy2aTPNA==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.12.1.tgz",
+ "integrity": "sha512-5QB50qyN44fzzz4/qxDPQMBCTHgxg3n0xRBLJUmBlLoU/sFvxVWGZF/ZUfMVDQuJUKXaBhbupxIzIfZ6Fwk/0A==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-async-to-generator": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.10.4.tgz",
- "integrity": "sha512-F6nREOan7J5UXTLsDsZG3DXmZSVofr2tGNwfdrVwkDWHfQckbQXnXSPfD7iO+c/2HGqycwyLST3DnZ16n+cBJQ==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.12.1.tgz",
+ "integrity": "sha512-SDtqoEcarK1DFlRJ1hHRY5HvJUj5kX4qmtpMAm2QnhOlyuMC4TMdCRgW6WXpv93rZeYNeLP22y8Aq2dbcDRM1A==",
"requires": {
- "@babel/helper-module-imports": "^7.10.4",
+ "@babel/helper-module-imports": "^7.12.1",
"@babel/helper-plugin-utils": "^7.10.4",
- "@babel/helper-remap-async-to-generator": "^7.10.4"
+ "@babel/helper-remap-async-to-generator": "^7.12.1"
}
},
"@babel/plugin-transform-block-scoped-functions": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.10.4.tgz",
- "integrity": "sha512-WzXDarQXYYfjaV1szJvN3AD7rZgZzC1JtjJZ8dMHUyiK8mxPRahynp14zzNjU3VkPqPsO38CzxiWO1c9ARZ8JA==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.12.1.tgz",
+ "integrity": "sha512-5OpxfuYnSgPalRpo8EWGPzIYf0lHBWORCkj5M0oLBwHdlux9Ri36QqGW3/LR13RSVOAoUUMzoPI/jpE4ABcHoA==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-block-scoping": {
- "version": "7.11.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.11.1.tgz",
- "integrity": "sha512-00dYeDE0EVEHuuM+26+0w/SCL0BH2Qy7LwHuI4Hi4MH5gkC8/AqMN5uWFJIsoXZrAphiMm1iXzBw6L2T+eA0ew==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.12.1.tgz",
+ "integrity": "sha512-zJyAC9sZdE60r1nVQHblcfCj29Dh2Y0DOvlMkcqSo0ckqjiCwNiUezUKw+RjOCwGfpLRwnAeQ2XlLpsnGkvv9w==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-classes": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.10.4.tgz",
- "integrity": "sha512-2oZ9qLjt161dn1ZE0Ms66xBncQH4In8Sqw1YWgBUZuGVJJS5c0OFZXL6dP2MRHrkU/eKhWg8CzFJhRQl50rQxA==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.12.1.tgz",
+ "integrity": "sha512-/74xkA7bVdzQTBeSUhLLJgYIcxw/dpEpCdRDiHgPJ3Mv6uC11UhjpOhl72CgqbBCmt1qtssCyB2xnJm1+PFjog==",
"requires": {
"@babel/helper-annotate-as-pure": "^7.10.4",
"@babel/helper-define-map": "^7.10.4",
"@babel/helper-function-name": "^7.10.4",
"@babel/helper-optimise-call-expression": "^7.10.4",
"@babel/helper-plugin-utils": "^7.10.4",
- "@babel/helper-replace-supers": "^7.10.4",
+ "@babel/helper-replace-supers": "^7.12.1",
"@babel/helper-split-export-declaration": "^7.10.4",
"globals": "^11.1.0"
}
},
"@babel/plugin-transform-computed-properties": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.10.4.tgz",
- "integrity": "sha512-JFwVDXcP/hM/TbyzGq3l/XWGut7p46Z3QvqFMXTfk6/09m7xZHJUN9xHfsv7vqqD4YnfI5ueYdSJtXqqBLyjBw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.12.1.tgz",
+ "integrity": "sha512-vVUOYpPWB7BkgUWPo4C44mUQHpTZXakEqFjbv8rQMg7TC6S6ZhGZ3otQcRH6u7+adSlE5i0sp63eMC/XGffrzg==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-destructuring": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.10.4.tgz",
- "integrity": "sha512-+WmfvyfsyF603iPa6825mq6Qrb7uLjTOsa3XOFzlYcYDHSS4QmpOWOL0NNBY5qMbvrcf3tq0Cw+v4lxswOBpgA==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.12.1.tgz",
+ "integrity": "sha512-fRMYFKuzi/rSiYb2uRLiUENJOKq4Gnl+6qOv5f8z0TZXg3llUwUhsNNwrwaT/6dUhJTzNpBr+CUvEWBtfNY1cw==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-dotall-regex": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.10.4.tgz",
- "integrity": "sha512-ZEAVvUTCMlMFAbASYSVQoxIbHm2OkG2MseW6bV2JjIygOjdVv8tuxrCTzj1+Rynh7ODb8GivUy7dzEXzEhuPaA==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.12.1.tgz",
+ "integrity": "sha512-B2pXeRKoLszfEW7J4Hg9LoFaWEbr/kzo3teWHmtFCszjRNa/b40f9mfeqZsIDLLt/FjwQ6pz/Gdlwy85xNckBA==",
"requires": {
- "@babel/helper-create-regexp-features-plugin": "^7.10.4",
+ "@babel/helper-create-regexp-features-plugin": "^7.12.1",
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-duplicate-keys": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.10.4.tgz",
- "integrity": "sha512-GL0/fJnmgMclHiBTTWXNlYjYsA7rDrtsazHG6mglaGSTh0KsrW04qml+Bbz9FL0LcJIRwBWL5ZqlNHKTkU3xAA==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.12.1.tgz",
+ "integrity": "sha512-iRght0T0HztAb/CazveUpUQrZY+aGKKaWXMJ4uf9YJtqxSUe09j3wteztCUDRHs+SRAL7yMuFqUsLoAKKzgXjw==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-exponentiation-operator": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.10.4.tgz",
- "integrity": "sha512-S5HgLVgkBcRdyQAHbKj+7KyuWx8C6t5oETmUuwz1pt3WTWJhsUV0WIIXuVvfXMxl/QQyHKlSCNNtaIamG8fysw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.12.1.tgz",
+ "integrity": "sha512-7tqwy2bv48q+c1EHbXK0Zx3KXd2RVQp6OC7PbwFNt/dPTAV3Lu5sWtWuAj8owr5wqtWnqHfl2/mJlUmqkChKug==",
"requires": {
"@babel/helper-builder-binary-assignment-operator-visitor": "^7.10.4",
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-for-of": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.10.4.tgz",
- "integrity": "sha512-ItdQfAzu9AlEqmusA/65TqJ79eRcgGmpPPFvBnGILXZH975G0LNjP1yjHvGgfuCxqrPPueXOPe+FsvxmxKiHHQ==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.12.1.tgz",
+ "integrity": "sha512-Zaeq10naAsuHo7heQvyV0ptj4dlZJwZgNAtBYBnu5nNKJoW62m0zKcIEyVECrUKErkUkg6ajMy4ZfnVZciSBhg==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-function-name": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.10.4.tgz",
- "integrity": "sha512-OcDCq2y5+E0dVD5MagT5X+yTRbcvFjDI2ZVAottGH6tzqjx/LKpgkUepu3hp/u4tZBzxxpNGwLsAvGBvQ2mJzg==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.12.1.tgz",
+ "integrity": "sha512-JF3UgJUILoFrFMEnOJLJkRHSk6LUSXLmEFsA23aR2O5CSLUxbeUX1IZ1YQ7Sn0aXb601Ncwjx73a+FVqgcljVw==",
"requires": {
"@babel/helper-function-name": "^7.10.4",
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-literals": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.10.4.tgz",
- "integrity": "sha512-Xd/dFSTEVuUWnyZiMu76/InZxLTYilOSr1UlHV+p115Z/Le2Fi1KXkJUYz0b42DfndostYlPub3m8ZTQlMaiqQ==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.12.1.tgz",
+ "integrity": "sha512-+PxVGA+2Ag6uGgL0A5f+9rklOnnMccwEBzwYFL3EUaKuiyVnUipyXncFcfjSkbimLrODoqki1U9XxZzTvfN7IQ==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-member-expression-literals": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.10.4.tgz",
- "integrity": "sha512-0bFOvPyAoTBhtcJLr9VcwZqKmSjFml1iVxvPL0ReomGU53CX53HsM4h2SzckNdkQcHox1bpAqzxBI1Y09LlBSw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.12.1.tgz",
+ "integrity": "sha512-1sxePl6z9ad0gFMB9KqmYofk34flq62aqMt9NqliS/7hPEpURUCMbyHXrMPlo282iY7nAvUB1aQd5mg79UD9Jg==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-modules-amd": {
- "version": "7.10.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.10.5.tgz",
- "integrity": "sha512-elm5uruNio7CTLFItVC/rIzKLfQ17+fX7EVz5W0TMgIHFo1zY0Ozzx+lgwhL4plzl8OzVn6Qasx5DeEFyoNiRw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.12.1.tgz",
+ "integrity": "sha512-tDW8hMkzad5oDtzsB70HIQQRBiTKrhfgwC/KkJeGsaNFTdWhKNt/BiE8c5yj19XiGyrxpbkOfH87qkNg1YGlOQ==",
"requires": {
- "@babel/helper-module-transforms": "^7.10.5",
+ "@babel/helper-module-transforms": "^7.12.1",
"@babel/helper-plugin-utils": "^7.10.4",
"babel-plugin-dynamic-import-node": "^2.3.3"
+ },
+ "dependencies": {
+ "babel-plugin-dynamic-import-node": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz",
+ "integrity": "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==",
+ "requires": {
+ "object.assign": "^4.1.0"
+ }
+ }
}
},
"@babel/plugin-transform-modules-commonjs": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.10.4.tgz",
- "integrity": "sha512-Xj7Uq5o80HDLlW64rVfDBhao6OX89HKUmb+9vWYaLXBZOma4gA6tw4Ni1O5qVDoZWUV0fxMYA0aYzOawz0l+1w==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.12.1.tgz",
+ "integrity": "sha512-dY789wq6l0uLY8py9c1B48V8mVL5gZh/+PQ5ZPrylPYsnAvnEMjqsUXkuoDVPeVK+0VyGar+D08107LzDQ6pag==",
"requires": {
- "@babel/helper-module-transforms": "^7.10.4",
+ "@babel/helper-module-transforms": "^7.12.1",
"@babel/helper-plugin-utils": "^7.10.4",
- "@babel/helper-simple-access": "^7.10.4",
+ "@babel/helper-simple-access": "^7.12.1",
"babel-plugin-dynamic-import-node": "^2.3.3"
+ },
+ "dependencies": {
+ "babel-plugin-dynamic-import-node": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz",
+ "integrity": "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==",
+ "requires": {
+ "object.assign": "^4.1.0"
+ }
+ }
}
},
"@babel/plugin-transform-modules-systemjs": {
- "version": "7.10.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.10.5.tgz",
- "integrity": "sha512-f4RLO/OL14/FP1AEbcsWMzpbUz6tssRaeQg11RH1BP/XnPpRoVwgeYViMFacnkaw4k4wjRSjn3ip1Uw9TaXuMw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.12.1.tgz",
+ "integrity": "sha512-Hn7cVvOavVh8yvW6fLwveFqSnd7rbQN3zJvoPNyNaQSvgfKmDBO9U1YL9+PCXGRlZD9tNdWTy5ACKqMuzyn32Q==",
"requires": {
"@babel/helper-hoist-variables": "^7.10.4",
- "@babel/helper-module-transforms": "^7.10.5",
+ "@babel/helper-module-transforms": "^7.12.1",
"@babel/helper-plugin-utils": "^7.10.4",
+ "@babel/helper-validator-identifier": "^7.10.4",
"babel-plugin-dynamic-import-node": "^2.3.3"
+ },
+ "dependencies": {
+ "babel-plugin-dynamic-import-node": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz",
+ "integrity": "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==",
+ "requires": {
+ "object.assign": "^4.1.0"
+ }
+ }
}
},
"@babel/plugin-transform-modules-umd": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.10.4.tgz",
- "integrity": "sha512-mohW5q3uAEt8T45YT7Qc5ws6mWgJAaL/8BfWD9Dodo1A3RKWli8wTS+WiQ/knF+tXlPirW/1/MqzzGfCExKECA==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.12.1.tgz",
+ "integrity": "sha512-aEIubCS0KHKM0zUos5fIoQm+AZUMt1ZvMpqz0/H5qAQ7vWylr9+PLYurT+Ic7ID/bKLd4q8hDovaG3Zch2uz5Q==",
"requires": {
- "@babel/helper-module-transforms": "^7.10.4",
+ "@babel/helper-module-transforms": "^7.12.1",
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-named-capturing-groups-regex": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.10.4.tgz",
- "integrity": "sha512-V6LuOnD31kTkxQPhKiVYzYC/Jgdq53irJC/xBSmqcNcqFGV+PER4l6rU5SH2Vl7bH9mLDHcc0+l9HUOe4RNGKA==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.12.1.tgz",
+ "integrity": "sha512-tB43uQ62RHcoDp9v2Nsf+dSM8sbNodbEicbQNA53zHz8pWUhsgHSJCGpt7daXxRydjb0KnfmB+ChXOv3oADp1Q==",
"requires": {
- "@babel/helper-create-regexp-features-plugin": "^7.10.4"
+ "@babel/helper-create-regexp-features-plugin": "^7.12.1"
}
},
"@babel/plugin-transform-new-target": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.10.4.tgz",
- "integrity": "sha512-YXwWUDAH/J6dlfwqlWsztI2Puz1NtUAubXhOPLQ5gjR/qmQ5U96DY4FQO8At33JN4XPBhrjB8I4eMmLROjjLjw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.12.1.tgz",
+ "integrity": "sha512-+eW/VLcUL5L9IvJH7rT1sT0CzkdUTvPrXC2PXTn/7z7tXLBuKvezYbGdxD5WMRoyvyaujOq2fWoKl869heKjhw==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-object-super": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.10.4.tgz",
- "integrity": "sha512-5iTw0JkdRdJvr7sY0vHqTpnruUpTea32JHmq/atIWqsnNussbRzjEDyWep8UNztt1B5IusBYg8Irb0bLbiEBCQ==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.12.1.tgz",
+ "integrity": "sha512-AvypiGJH9hsquNUn+RXVcBdeE3KHPZexWRdimhuV59cSoOt5kFBmqlByorAeUlGG2CJWd0U+4ZtNKga/TB0cAw==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4",
- "@babel/helper-replace-supers": "^7.10.4"
+ "@babel/helper-replace-supers": "^7.12.1"
}
},
"@babel/plugin-transform-parameters": {
- "version": "7.10.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.10.5.tgz",
- "integrity": "sha512-xPHwUj5RdFV8l1wuYiu5S9fqWGM2DrYc24TMvUiRrPVm+SM3XeqU9BcokQX/kEUe+p2RBwy+yoiR1w/Blq6ubw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.12.1.tgz",
+ "integrity": "sha512-xq9C5EQhdPK23ZeCdMxl8bbRnAgHFrw5EOC3KJUsSylZqdkCaFEXxGSBuTSObOpiiHHNyb82es8M1QYgfQGfNg==",
"requires": {
- "@babel/helper-get-function-arity": "^7.10.4",
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-property-literals": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.10.4.tgz",
- "integrity": "sha512-ofsAcKiUxQ8TY4sScgsGeR2vJIsfrzqvFb9GvJ5UdXDzl+MyYCaBj/FGzXuv7qE0aJcjWMILny1epqelnFlz8g==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.12.1.tgz",
+ "integrity": "sha512-6MTCR/mZ1MQS+AwZLplX4cEySjCpnIF26ToWo942nqn8hXSm7McaHQNeGx/pt7suI1TWOWMfa/NgBhiqSnX0cQ==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-react-constant-elements": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-constant-elements/-/plugin-transform-react-constant-elements-7.10.4.tgz",
- "integrity": "sha512-cYmQBW1pXrqBte1raMkAulXmi7rjg3VI6ZLg9QIic8Hq7BtYXaWuZSxsr2siOMI6SWwpxjWfnwhTUrd7JlAV7g==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-constant-elements/-/plugin-transform-react-constant-elements-7.12.1.tgz",
+ "integrity": "sha512-KOHd0tIRLoER+J+8f9DblZDa1fLGPwaaN1DI1TVHuQFOpjHV22C3CUB3obeC4fexHY9nx+fH0hQNvLFFfA1mxA==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-react-display-name": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.10.4.tgz",
- "integrity": "sha512-Zd4X54Mu9SBfPGnEcaGcOrVAYOtjT2on8QZkLKEq1S/tHexG39d9XXGZv19VfRrDjPJzFmPfTAqOQS1pfFOujw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.12.1.tgz",
+ "integrity": "sha512-cAzB+UzBIrekfYxyLlFqf/OagTvHLcVBb5vpouzkYkBclRPraiygVnafvAoipErZLI8ANv8Ecn6E/m5qPXD26w==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-react-jsx": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.10.4.tgz",
- "integrity": "sha512-L+MfRhWjX0eI7Js093MM6MacKU4M6dnCRa/QPDwYMxjljzSCzzlzKzj9Pk4P3OtrPcxr2N3znR419nr3Xw+65A==",
+ "version": "7.12.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.12.7.tgz",
+ "integrity": "sha512-YFlTi6MEsclFAPIDNZYiCRbneg1MFGao9pPG9uD5htwE0vDbPaMUMeYd6itWjw7K4kro4UbdQf3ljmFl9y48dQ==",
"requires": {
"@babel/helper-builder-react-jsx": "^7.10.4",
- "@babel/helper-builder-react-jsx-experimental": "^7.10.4",
+ "@babel/helper-builder-react-jsx-experimental": "^7.12.4",
"@babel/helper-plugin-utils": "^7.10.4",
- "@babel/plugin-syntax-jsx": "^7.10.4"
+ "@babel/plugin-syntax-jsx": "^7.12.1"
}
},
"@babel/plugin-transform-react-jsx-development": {
- "version": "7.11.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.11.5.tgz",
- "integrity": "sha512-cImAmIlKJ84sDmpQzm4/0q/2xrXlDezQoixy3qoz1NJeZL/8PRon6xZtluvr4H4FzwlDGI5tCcFupMnXGtr+qw==",
+ "version": "7.12.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.12.7.tgz",
+ "integrity": "sha512-Rs3ETtMtR3VLXFeYRChle5SsP/P9Jp/6dsewBQfokDSzKJThlsuFcnzLTDRALiUmTC48ej19YD9uN1mupEeEDg==",
"requires": {
- "@babel/helper-builder-react-jsx-experimental": "^7.11.5",
+ "@babel/helper-builder-react-jsx-experimental": "^7.12.4",
"@babel/helper-plugin-utils": "^7.10.4",
- "@babel/plugin-syntax-jsx": "^7.10.4"
+ "@babel/plugin-syntax-jsx": "^7.12.1"
}
},
"@babel/plugin-transform-react-jsx-self": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.10.4.tgz",
- "integrity": "sha512-yOvxY2pDiVJi0axdTWHSMi5T0DILN+H+SaeJeACHKjQLezEzhLx9nEF9xgpBLPtkZsks9cnb5P9iBEi21En3gg==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.12.1.tgz",
+ "integrity": "sha512-FbpL0ieNWiiBB5tCldX17EtXgmzeEZjFrix72rQYeq9X6nUK38HCaxexzVQrZWXanxKJPKVVIU37gFjEQYkPkA==",
"requires": {
- "@babel/helper-plugin-utils": "^7.10.4",
- "@babel/plugin-syntax-jsx": "^7.10.4"
+ "@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-react-jsx-source": {
- "version": "7.10.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.10.5.tgz",
- "integrity": "sha512-wTeqHVkN1lfPLubRiZH3o73f4rfon42HpgxUSs86Nc+8QIcm/B9s8NNVXu/gwGcOyd7yDib9ikxoDLxJP0UiDA==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.12.1.tgz",
+ "integrity": "sha512-keQ5kBfjJNRc6zZN1/nVHCd6LLIHq4aUKcVnvE/2l+ZZROSbqoiGFRtT5t3Is89XJxBQaP7NLZX2jgGHdZvvFQ==",
"requires": {
- "@babel/helper-plugin-utils": "^7.10.4",
- "@babel/plugin-syntax-jsx": "^7.10.4"
+ "@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-react-pure-annotations": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.10.4.tgz",
- "integrity": "sha512-+njZkqcOuS8RaPakrnR9KvxjoG1ASJWpoIv/doyWngId88JoFlPlISenGXjrVacZUIALGUr6eodRs1vmPnF23A==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.12.1.tgz",
+ "integrity": "sha512-RqeaHiwZtphSIUZ5I85PEH19LOSzxfuEazoY7/pWASCAIBuATQzpSVD+eT6MebeeZT2F4eSL0u4vw6n4Nm0Mjg==",
"requires": {
"@babel/helper-annotate-as-pure": "^7.10.4",
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-regenerator": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.10.4.tgz",
- "integrity": "sha512-3thAHwtor39A7C04XucbMg17RcZ3Qppfxr22wYzZNcVIkPHfpM9J0SO8zuCV6SZa265kxBJSrfKTvDCYqBFXGw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.12.1.tgz",
+ "integrity": "sha512-gYrHqs5itw6i4PflFX3OdBPMQdPbF4bj2REIUxlMRUFk0/ZOAIpDFuViuxPjUL7YC8UPnf+XG7/utJvqXdPKng==",
"requires": {
"regenerator-transform": "^0.14.2"
}
},
"@babel/plugin-transform-reserved-words": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.10.4.tgz",
- "integrity": "sha512-hGsw1O6Rew1fkFbDImZIEqA8GoidwTAilwCyWqLBM9f+e/u/sQMQu7uX6dyokfOayRuuVfKOW4O7HvaBWM+JlQ==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.12.1.tgz",
+ "integrity": "sha512-pOnUfhyPKvZpVyBHhSBoX8vfA09b7r00Pmm1sH+29ae2hMTKVmSp4Ztsr8KBKjLjx17H0eJqaRC3bR2iThM54A==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-runtime": {
- "version": "7.11.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.11.5.tgz",
- "integrity": "sha512-9aIoee+EhjySZ6vY5hnLjigHzunBlscx9ANKutkeWTJTx6m5Rbq6Ic01tLvO54lSusR+BxV7u4UDdCmXv5aagg==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.12.1.tgz",
+ "integrity": "sha512-Ac/H6G9FEIkS2tXsZjL4RAdS3L3WHxci0usAnz7laPWUmFiGtj7tIASChqKZMHTSQTQY6xDbOq+V1/vIq3QrWg==",
"requires": {
- "@babel/helper-module-imports": "^7.10.4",
+ "@babel/helper-module-imports": "^7.12.1",
"@babel/helper-plugin-utils": "^7.10.4",
"resolve": "^1.8.1",
"semver": "^5.5.1"
@@ -995,99 +1026,98 @@
}
},
"@babel/plugin-transform-shorthand-properties": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.10.4.tgz",
- "integrity": "sha512-AC2K/t7o07KeTIxMoHneyX90v3zkm5cjHJEokrPEAGEy3UCp8sLKfnfOIGdZ194fyN4wfX/zZUWT9trJZ0qc+Q==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.12.1.tgz",
+ "integrity": "sha512-GFZS3c/MhX1OusqB1MZ1ct2xRzX5ppQh2JU1h2Pnfk88HtFTM+TWQqJNfwkmxtPQtb/s1tk87oENfXJlx7rSDw==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-spread": {
- "version": "7.11.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.11.0.tgz",
- "integrity": "sha512-UwQYGOqIdQJe4aWNyS7noqAnN2VbaczPLiEtln+zPowRNlD+79w3oi2TWfYe0eZgd+gjZCbsydN7lzWysDt+gw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.12.1.tgz",
+ "integrity": "sha512-vuLp8CP0BE18zVYjsEBZ5xoCecMK6LBMMxYzJnh01rxQRvhNhH1csMMmBfNo5tGpGO+NhdSNW2mzIvBu3K1fng==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4",
- "@babel/helper-skip-transparent-expression-wrappers": "^7.11.0"
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.12.1"
}
},
"@babel/plugin-transform-sticky-regex": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.10.4.tgz",
- "integrity": "sha512-Ddy3QZfIbEV0VYcVtFDCjeE4xwVTJWTmUtorAJkn6u/92Z/nWJNV+mILyqHKrUxXYKA2EoCilgoPePymKL4DvQ==",
+ "version": "7.12.7",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.12.7.tgz",
+ "integrity": "sha512-VEiqZL5N/QvDbdjfYQBhruN0HYjSPjC4XkeqW4ny/jNtH9gcbgaqBIXYEZCNnESMAGs0/K/R7oFGMhOyu/eIxg==",
"requires": {
- "@babel/helper-plugin-utils": "^7.10.4",
- "@babel/helper-regex": "^7.10.4"
+ "@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-template-literals": {
- "version": "7.10.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.10.5.tgz",
- "integrity": "sha512-V/lnPGIb+KT12OQikDvgSuesRX14ck5FfJXt6+tXhdkJ+Vsd0lDCVtF6jcB4rNClYFzaB2jusZ+lNISDk2mMMw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.12.1.tgz",
+ "integrity": "sha512-b4Zx3KHi+taXB1dVRBhVJtEPi9h1THCeKmae2qP0YdUHIFhVjtpqqNfxeVAa1xeHVhAy4SbHxEwx5cltAu5apw==",
"requires": {
- "@babel/helper-annotate-as-pure": "^7.10.4",
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-typeof-symbol": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.10.4.tgz",
- "integrity": "sha512-QqNgYwuuW0y0H+kUE/GWSR45t/ccRhe14Fs/4ZRouNNQsyd4o3PG4OtHiIrepbM2WKUBDAXKCAK/Lk4VhzTaGA==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.12.1.tgz",
+ "integrity": "sha512-EPGgpGy+O5Kg5pJFNDKuxt9RdmTgj5sgrus2XVeMp/ZIbOESadgILUbm50SNpghOh3/6yrbsH+NB5+WJTmsA7Q==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-typescript": {
- "version": "7.11.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.11.0.tgz",
- "integrity": "sha512-edJsNzTtvb3MaXQwj8403B7mZoGu9ElDJQZOKjGUnvilquxBA3IQoEIOvkX/1O8xfAsnHS/oQhe2w/IXrr+w0w==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.12.1.tgz",
+ "integrity": "sha512-VrsBByqAIntM+EYMqSm59SiMEf7qkmI9dqMt6RbD/wlwueWmYcI0FFK5Fj47pP6DRZm+3teXjosKlwcZJ5lIMw==",
"requires": {
- "@babel/helper-create-class-features-plugin": "^7.10.5",
+ "@babel/helper-create-class-features-plugin": "^7.12.1",
"@babel/helper-plugin-utils": "^7.10.4",
- "@babel/plugin-syntax-typescript": "^7.10.4"
+ "@babel/plugin-syntax-typescript": "^7.12.1"
}
},
"@babel/plugin-transform-unicode-escapes": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.10.4.tgz",
- "integrity": "sha512-y5XJ9waMti2J+e7ij20e+aH+fho7Wb7W8rNuu72aKRwCHFqQdhkdU2lo3uZ9tQuboEJcUFayXdARhcxLQ3+6Fg==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.12.1.tgz",
+ "integrity": "sha512-I8gNHJLIc7GdApm7wkVnStWssPNbSRMPtgHdmH3sRM1zopz09UWPS4x5V4n1yz/MIWTVnJ9sp6IkuXdWM4w+2Q==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-unicode-regex": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.10.4.tgz",
- "integrity": "sha512-wNfsc4s8N2qnIwpO/WP2ZiSyjfpTamT2C9V9FDH/Ljub9zw6P3SjkXcFmc0RQUt96k2fmIvtla2MMjgTwIAC+A==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.12.1.tgz",
+ "integrity": "sha512-SqH4ClNngh/zGwHZOOQMTD+e8FGWexILV+ePMyiDJttAWRh5dhDL8rcl5lSgU3Huiq6Zn6pWTMvdPAb21Dwdyg==",
"requires": {
- "@babel/helper-create-regexp-features-plugin": "^7.10.4",
+ "@babel/helper-create-regexp-features-plugin": "^7.12.1",
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/preset-env": {
- "version": "7.11.5",
- "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.11.5.tgz",
- "integrity": "sha512-kXqmW1jVcnB2cdueV+fyBM8estd5mlNfaQi6lwLgRwCby4edpavgbFhiBNjmWA3JpB/yZGSISa7Srf+TwxDQoA==",
+ "version": "7.12.7",
+ "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.12.7.tgz",
+ "integrity": "sha512-OnNdfAr1FUQg7ksb7bmbKoby4qFOHw6DKWWUNB9KqnnCldxhxJlP+21dpyaWFmf2h0rTbOkXJtAGevY3XW1eew==",
"requires": {
- "@babel/compat-data": "^7.11.0",
- "@babel/helper-compilation-targets": "^7.10.4",
- "@babel/helper-module-imports": "^7.10.4",
+ "@babel/compat-data": "^7.12.7",
+ "@babel/helper-compilation-targets": "^7.12.5",
+ "@babel/helper-module-imports": "^7.12.5",
"@babel/helper-plugin-utils": "^7.10.4",
- "@babel/plugin-proposal-async-generator-functions": "^7.10.4",
- "@babel/plugin-proposal-class-properties": "^7.10.4",
- "@babel/plugin-proposal-dynamic-import": "^7.10.4",
- "@babel/plugin-proposal-export-namespace-from": "^7.10.4",
- "@babel/plugin-proposal-json-strings": "^7.10.4",
- "@babel/plugin-proposal-logical-assignment-operators": "^7.11.0",
- "@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
- "@babel/plugin-proposal-numeric-separator": "^7.10.4",
- "@babel/plugin-proposal-object-rest-spread": "^7.11.0",
- "@babel/plugin-proposal-optional-catch-binding": "^7.10.4",
- "@babel/plugin-proposal-optional-chaining": "^7.11.0",
- "@babel/plugin-proposal-private-methods": "^7.10.4",
- "@babel/plugin-proposal-unicode-property-regex": "^7.10.4",
+ "@babel/helper-validator-option": "^7.12.1",
+ "@babel/plugin-proposal-async-generator-functions": "^7.12.1",
+ "@babel/plugin-proposal-class-properties": "^7.12.1",
+ "@babel/plugin-proposal-dynamic-import": "^7.12.1",
+ "@babel/plugin-proposal-export-namespace-from": "^7.12.1",
+ "@babel/plugin-proposal-json-strings": "^7.12.1",
+ "@babel/plugin-proposal-logical-assignment-operators": "^7.12.1",
+ "@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1",
+ "@babel/plugin-proposal-numeric-separator": "^7.12.7",
+ "@babel/plugin-proposal-object-rest-spread": "^7.12.1",
+ "@babel/plugin-proposal-optional-catch-binding": "^7.12.1",
+ "@babel/plugin-proposal-optional-chaining": "^7.12.7",
+ "@babel/plugin-proposal-private-methods": "^7.12.1",
+ "@babel/plugin-proposal-unicode-property-regex": "^7.12.1",
"@babel/plugin-syntax-async-generators": "^7.8.0",
- "@babel/plugin-syntax-class-properties": "^7.10.4",
+ "@babel/plugin-syntax-class-properties": "^7.12.1",
"@babel/plugin-syntax-dynamic-import": "^7.8.0",
"@babel/plugin-syntax-export-namespace-from": "^7.8.3",
"@babel/plugin-syntax-json-strings": "^7.8.0",
@@ -1097,45 +1127,42 @@
"@babel/plugin-syntax-object-rest-spread": "^7.8.0",
"@babel/plugin-syntax-optional-catch-binding": "^7.8.0",
"@babel/plugin-syntax-optional-chaining": "^7.8.0",
- "@babel/plugin-syntax-top-level-await": "^7.10.4",
- "@babel/plugin-transform-arrow-functions": "^7.10.4",
- "@babel/plugin-transform-async-to-generator": "^7.10.4",
- "@babel/plugin-transform-block-scoped-functions": "^7.10.4",
- "@babel/plugin-transform-block-scoping": "^7.10.4",
- "@babel/plugin-transform-classes": "^7.10.4",
- "@babel/plugin-transform-computed-properties": "^7.10.4",
- "@babel/plugin-transform-destructuring": "^7.10.4",
- "@babel/plugin-transform-dotall-regex": "^7.10.4",
- "@babel/plugin-transform-duplicate-keys": "^7.10.4",
- "@babel/plugin-transform-exponentiation-operator": "^7.10.4",
- "@babel/plugin-transform-for-of": "^7.10.4",
- "@babel/plugin-transform-function-name": "^7.10.4",
- "@babel/plugin-transform-literals": "^7.10.4",
- "@babel/plugin-transform-member-expression-literals": "^7.10.4",
- "@babel/plugin-transform-modules-amd": "^7.10.4",
- "@babel/plugin-transform-modules-commonjs": "^7.10.4",
- "@babel/plugin-transform-modules-systemjs": "^7.10.4",
- "@babel/plugin-transform-modules-umd": "^7.10.4",
- "@babel/plugin-transform-named-capturing-groups-regex": "^7.10.4",
- "@babel/plugin-transform-new-target": "^7.10.4",
- "@babel/plugin-transform-object-super": "^7.10.4",
- "@babel/plugin-transform-parameters": "^7.10.4",
- "@babel/plugin-transform-property-literals": "^7.10.4",
- "@babel/plugin-transform-regenerator": "^7.10.4",
- "@babel/plugin-transform-reserved-words": "^7.10.4",
- "@babel/plugin-transform-shorthand-properties": "^7.10.4",
- "@babel/plugin-transform-spread": "^7.11.0",
- "@babel/plugin-transform-sticky-regex": "^7.10.4",
- "@babel/plugin-transform-template-literals": "^7.10.4",
- "@babel/plugin-transform-typeof-symbol": "^7.10.4",
- "@babel/plugin-transform-unicode-escapes": "^7.10.4",
- "@babel/plugin-transform-unicode-regex": "^7.10.4",
+ "@babel/plugin-syntax-top-level-await": "^7.12.1",
+ "@babel/plugin-transform-arrow-functions": "^7.12.1",
+ "@babel/plugin-transform-async-to-generator": "^7.12.1",
+ "@babel/plugin-transform-block-scoped-functions": "^7.12.1",
+ "@babel/plugin-transform-block-scoping": "^7.12.1",
+ "@babel/plugin-transform-classes": "^7.12.1",
+ "@babel/plugin-transform-computed-properties": "^7.12.1",
+ "@babel/plugin-transform-destructuring": "^7.12.1",
+ "@babel/plugin-transform-dotall-regex": "^7.12.1",
+ "@babel/plugin-transform-duplicate-keys": "^7.12.1",
+ "@babel/plugin-transform-exponentiation-operator": "^7.12.1",
+ "@babel/plugin-transform-for-of": "^7.12.1",
+ "@babel/plugin-transform-function-name": "^7.12.1",
+ "@babel/plugin-transform-literals": "^7.12.1",
+ "@babel/plugin-transform-member-expression-literals": "^7.12.1",
+ "@babel/plugin-transform-modules-amd": "^7.12.1",
+ "@babel/plugin-transform-modules-commonjs": "^7.12.1",
+ "@babel/plugin-transform-modules-systemjs": "^7.12.1",
+ "@babel/plugin-transform-modules-umd": "^7.12.1",
+ "@babel/plugin-transform-named-capturing-groups-regex": "^7.12.1",
+ "@babel/plugin-transform-new-target": "^7.12.1",
+ "@babel/plugin-transform-object-super": "^7.12.1",
+ "@babel/plugin-transform-parameters": "^7.12.1",
+ "@babel/plugin-transform-property-literals": "^7.12.1",
+ "@babel/plugin-transform-regenerator": "^7.12.1",
+ "@babel/plugin-transform-reserved-words": "^7.12.1",
+ "@babel/plugin-transform-shorthand-properties": "^7.12.1",
+ "@babel/plugin-transform-spread": "^7.12.1",
+ "@babel/plugin-transform-sticky-regex": "^7.12.7",
+ "@babel/plugin-transform-template-literals": "^7.12.1",
+ "@babel/plugin-transform-typeof-symbol": "^7.12.1",
+ "@babel/plugin-transform-unicode-escapes": "^7.12.1",
+ "@babel/plugin-transform-unicode-regex": "^7.12.1",
"@babel/preset-modules": "^0.1.3",
- "@babel/types": "^7.11.5",
- "browserslist": "^4.12.0",
- "core-js-compat": "^3.6.2",
- "invariant": "^2.2.2",
- "levenary": "^1.1.1",
+ "@babel/types": "^7.12.7",
+ "core-js-compat": "^3.7.0",
"semver": "^5.5.0"
},
"dependencies": {
@@ -1159,75 +1186,76 @@
}
},
"@babel/preset-react": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.10.4.tgz",
- "integrity": "sha512-BrHp4TgOIy4M19JAfO1LhycVXOPWdDbTRep7eVyatf174Hff+6Uk53sDyajqZPu8W1qXRBiYOfIamek6jA7YVw==",
+ "version": "7.12.7",
+ "resolved": "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.12.7.tgz",
+ "integrity": "sha512-wKeTdnGUP5AEYCYQIMeXMMwU7j+2opxrG0WzuZfxuuW9nhKvvALBjl67653CWamZJVefuJGI219G591RSldrqQ==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4",
- "@babel/plugin-transform-react-display-name": "^7.10.4",
- "@babel/plugin-transform-react-jsx": "^7.10.4",
- "@babel/plugin-transform-react-jsx-development": "^7.10.4",
- "@babel/plugin-transform-react-jsx-self": "^7.10.4",
- "@babel/plugin-transform-react-jsx-source": "^7.10.4",
- "@babel/plugin-transform-react-pure-annotations": "^7.10.4"
+ "@babel/plugin-transform-react-display-name": "^7.12.1",
+ "@babel/plugin-transform-react-jsx": "^7.12.7",
+ "@babel/plugin-transform-react-jsx-development": "^7.12.7",
+ "@babel/plugin-transform-react-jsx-self": "^7.12.1",
+ "@babel/plugin-transform-react-jsx-source": "^7.12.1",
+ "@babel/plugin-transform-react-pure-annotations": "^7.12.1"
}
},
"@babel/preset-typescript": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.10.4.tgz",
- "integrity": "sha512-SdYnvGPv+bLlwkF2VkJnaX/ni1sMNetcGI1+nThF1gyv6Ph8Qucc4ZZAjM5yZcE/AKRXIOTZz7eSRDWOEjPyRQ==",
+ "version": "7.12.7",
+ "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.12.7.tgz",
+ "integrity": "sha512-nOoIqIqBmHBSEgBXWR4Dv/XBehtIFcw9PqZw6rFYuKrzsZmOQm3PR5siLBnKZFEsDb03IegG8nSjU/iXXXYRmw==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4",
- "@babel/plugin-transform-typescript": "^7.10.4"
+ "@babel/helper-validator-option": "^7.12.1",
+ "@babel/plugin-transform-typescript": "^7.12.1"
}
},
"@babel/runtime": {
- "version": "7.11.2",
- "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.11.2.tgz",
- "integrity": "sha512-TeWkU52so0mPtDcaCTxNBI/IHiz0pZgr8VEFqXFtZWpYD08ZB6FaSwVAS8MKRQAP3bYKiVjwysOJgMFY28o6Tw==",
+ "version": "7.12.5",
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.12.5.tgz",
+ "integrity": "sha512-plcc+hbExy3McchJCEQG3knOsuh3HH+Prx1P6cLIkET/0dLuQDEnrT+s27Axgc9bqfsmNUNHfscgMUdBpC9xfg==",
"requires": {
"regenerator-runtime": "^0.13.4"
}
},
"@babel/runtime-corejs3": {
- "version": "7.11.2",
- "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.11.2.tgz",
- "integrity": "sha512-qh5IR+8VgFz83VBa6OkaET6uN/mJOhHONuy3m1sgF0CV6mXdPSEBdA7e1eUbVvyNtANjMbg22JUv71BaDXLY6A==",
+ "version": "7.12.5",
+ "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.12.5.tgz",
+ "integrity": "sha512-roGr54CsTmNPPzZoCP1AmDXuBoNao7tnSA83TXTwt+UK5QVyh1DIJnrgYRPWKCF2flqZQXwa7Yr8v7VmLzF0YQ==",
"requires": {
"core-js-pure": "^3.0.0",
"regenerator-runtime": "^0.13.4"
}
},
"@babel/template": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.10.4.tgz",
- "integrity": "sha512-ZCjD27cGJFUB6nmCB1Enki3r+L5kJveX9pq1SvAUKoICy6CZ9yD8xO086YXdYhvNjBdnekm4ZnaP5yC8Cs/1tA==",
+ "version": "7.12.7",
+ "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.12.7.tgz",
+ "integrity": "sha512-GkDzmHS6GV7ZeXfJZ0tLRBhZcMcY0/Lnb+eEbXDBfCAcZCjrZKe6p3J4we/D24O9Y8enxWAg1cWwof59yLh2ow==",
"requires": {
"@babel/code-frame": "^7.10.4",
- "@babel/parser": "^7.10.4",
- "@babel/types": "^7.10.4"
+ "@babel/parser": "^7.12.7",
+ "@babel/types": "^7.12.7"
}
},
"@babel/traverse": {
- "version": "7.11.5",
- "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.11.5.tgz",
- "integrity": "sha512-EjiPXt+r7LiCZXEfRpSJd+jUMnBd4/9OUv7Nx3+0u9+eimMwJmG0Q98lw4/289JCoxSE8OolDMNZaaF/JZ69WQ==",
+ "version": "7.12.9",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.12.9.tgz",
+ "integrity": "sha512-iX9ajqnLdoU1s1nHt36JDI9KG4k+vmI8WgjK5d+aDTwQbL2fUnzedNedssA645Ede3PM2ma1n8Q4h2ohwXgMXw==",
"requires": {
"@babel/code-frame": "^7.10.4",
- "@babel/generator": "^7.11.5",
+ "@babel/generator": "^7.12.5",
"@babel/helper-function-name": "^7.10.4",
"@babel/helper-split-export-declaration": "^7.11.0",
- "@babel/parser": "^7.11.5",
- "@babel/types": "^7.11.5",
+ "@babel/parser": "^7.12.7",
+ "@babel/types": "^7.12.7",
"debug": "^4.1.0",
"globals": "^11.1.0",
"lodash": "^4.17.19"
}
},
"@babel/types": {
- "version": "7.11.5",
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.5.tgz",
- "integrity": "sha512-bvM7Qz6eKnJVFIn+1LPtjlBFPVN5jNDc1XmN15vWe7Q3DPBufWWsLiIvUu7xW87uTG6QoggpIDnUgLQvPheU+Q==",
+ "version": "7.12.7",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.12.7.tgz",
+ "integrity": "sha512-MNyI92qZq6jrQkXvtIiykvl4WtoRrVV9MPn+ZfsoEENjiWcBQ3ZSHrkxnJWgWtLX3XXqX5hrSQ+X69wkmesXuQ==",
"requires": {
"@babel/helper-validator-identifier": "^7.10.4",
"lodash": "^4.17.19",
@@ -1240,67 +1268,71 @@
"integrity": "sha512-5a6wqoJV/xEdbRNKVo6I4hO3VjyDq//8q2f9I6PBAvMesJHFauXDorcNCsr9RzvsZnaWi5NYCcfyqP1QeFHFbw=="
},
"@docsearch/css": {
- "version": "1.0.0-alpha.28",
- "resolved": "https://registry.npmjs.org/@docsearch/css/-/css-1.0.0-alpha.28.tgz",
- "integrity": "sha512-1AhRzVdAkrWwhaxTX6/R7SnFHz8yLz1W8I/AldlTrfbNvZs9INk1FZiEFTJdgHaP68nhgQNWSGlQiDiI3y2RYg=="
+ "version": "3.0.0-alpha.32",
+ "resolved": "https://registry.npmjs.org/@docsearch/css/-/css-3.0.0-alpha.32.tgz",
+ "integrity": "sha512-wafLX/jT1NPAwifPhzMJX394PjKdqf5TA4cz/JgvBYR1/+MiErLk/pyCmocXkawWGR17/6u2qw3wYvXu/Qe/DQ=="
},
"@docsearch/react": {
- "version": "1.0.0-alpha.28",
- "resolved": "https://registry.npmjs.org/@docsearch/react/-/react-1.0.0-alpha.28.tgz",
- "integrity": "sha512-XjJOnCBXn+UZmtuDmgzlVIHnnvh6yHVwG4aFq8AXN6xJEIX3f180FvGaowFWAxgdtHplJxFGux0Xx4piHqBzIw==",
+ "version": "3.0.0-alpha.32",
+ "resolved": "https://registry.npmjs.org/@docsearch/react/-/react-3.0.0-alpha.32.tgz",
+ "integrity": "sha512-2jqzPJu4y0mWiwwm+Kfgf/97Q8XaGxj1+jJfGJpJLkJyD8S2tK4OikyIRWI9gI9k3m48HxFm0+P8uAYYtIyjqA==",
"requires": {
- "@docsearch/css": "^1.0.0-alpha.28",
- "@francoischalifour/autocomplete-core": "^1.0.0-alpha.28",
- "@francoischalifour/autocomplete-preset-algolia": "^1.0.0-alpha.28",
+ "@algolia/autocomplete-core": "^1.0.0-alpha.35",
+ "@algolia/autocomplete-preset-algolia": "^1.0.0-alpha.35",
+ "@docsearch/css": "3.0.0-alpha.32",
"algoliasearch": "^4.0.0"
}
},
"@docusaurus/core": {
- "version": "2.0.0-alpha.63",
- "resolved": "https://registry.npmjs.org/@docusaurus/core/-/core-2.0.0-alpha.63.tgz",
- "integrity": "sha512-IVSL29ZQAB7wuBTPgtJAvHUfmQRBY/MS2ypxPTwlhPqTORPIqeEaLFgyeWQ0RgZ5iqzB5WVQiEUk2Kx0WI3/Qw==",
+ "version": "2.0.0-alpha.f37987f32",
+ "resolved": "https://registry.npmjs.org/@docusaurus/core/-/core-2.0.0-alpha.f37987f32.tgz",
+ "integrity": "sha512-EPIQ57OSdlXgAcXyd1E4Q9/yKdUfIab5REhHt3XWU9kESAdh12Ruq4jcul+OyPBTSH/lele/YUuPcmGf30Cmvg==",
"requires": {
- "@babel/core": "^7.9.0",
- "@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.1",
- "@babel/plugin-proposal-optional-chaining": "^7.10.3",
+ "@babel/core": "^7.12.3",
+ "@babel/generator": "^7.12.5",
+ "@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1",
+ "@babel/plugin-proposal-optional-chaining": "^7.12.1",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
- "@babel/plugin-transform-runtime": "^7.9.0",
- "@babel/preset-env": "^7.9.0",
- "@babel/preset-react": "^7.9.4",
- "@babel/preset-typescript": "^7.9.0",
- "@babel/runtime": "^7.9.2",
- "@babel/runtime-corejs3": "^7.10.4",
- "@docusaurus/types": "2.0.0-alpha.63",
- "@docusaurus/utils": "2.0.0-alpha.63",
- "@docusaurus/utils-validation": "2.0.0-alpha.63",
+ "@babel/plugin-transform-runtime": "^7.12.1",
+ "@babel/preset-env": "^7.12.1",
+ "@babel/preset-react": "^7.12.5",
+ "@babel/preset-typescript": "^7.12.1",
+ "@babel/runtime": "^7.12.5",
+ "@babel/runtime-corejs3": "^7.12.5",
+ "@babel/traverse": "^7.12.5",
+ "@docusaurus/cssnano-preset": "2.0.0-alpha.f37987f32",
+ "@docusaurus/types": "2.0.0-alpha.f37987f32",
+ "@docusaurus/utils": "2.0.0-alpha.f37987f32",
+ "@docusaurus/utils-validation": "2.0.0-alpha.f37987f32",
"@endiliey/static-site-generator-webpack-plugin": "^4.0.0",
- "@hapi/joi": "^17.1.1",
"@svgr/webpack": "^5.4.0",
- "babel-loader": "^8.1.0",
- "babel-plugin-dynamic-import-node": "^2.3.0",
+ "babel-loader": "^8.2.1",
+ "babel-plugin-dynamic-import-node": "2.3.0",
"boxen": "^4.2.0",
"cache-loader": "^4.1.0",
"chalk": "^3.0.0",
- "chokidar": "^3.3.0",
+ "chokidar": "^3.4.3",
+ "clean-css": "^4.2.3",
"commander": "^4.0.1",
- "copy-webpack-plugin": "^6.0.3",
+ "copy-webpack-plugin": "^6.3.0",
"core-js": "^2.6.5",
"css-loader": "^3.4.2",
"del": "^5.1.0",
"detect-port": "^1.3.0",
- "eta": "^1.1.1",
+ "eta": "^1.11.0",
"express": "^4.17.1",
- "file-loader": "^6.0.0",
- "fs-extra": "^8.1.0",
+ "file-loader": "^6.2.0",
+ "fs-extra": "^9.0.1",
"globby": "^10.0.1",
- "html-minifier-terser": "^5.0.5",
+ "html-minifier-terser": "^5.1.1",
"html-tags": "^3.1.0",
- "html-webpack-plugin": "^4.0.4",
- "import-fresh": "^3.2.1",
+ "html-webpack-plugin": "^4.5.0",
+ "import-fresh": "^3.2.2",
"inquirer": "^7.2.0",
"is-root": "^2.1.0",
+ "joi": "^17.2.1",
"leven": "^3.1.0",
- "lodash": "^4.5.2",
+ "lodash": "^4.17.20",
"lodash.flatmap": "^4.5.0",
"lodash.has": "^4.5.2",
"lodash.isplainobject": "^4.0.6",
@@ -1308,103 +1340,95 @@
"mini-css-extract-plugin": "^0.8.0",
"nprogress": "^0.2.0",
"null-loader": "^3.0.0",
- "optimize-css-assets-webpack-plugin": "^5.0.3",
+ "optimize-css-assets-webpack-plugin": "^5.0.4",
"pnp-webpack-plugin": "^1.6.4",
"postcss-loader": "^3.0.0",
"postcss-preset-env": "^6.7.0",
"react-dev-utils": "^10.2.1",
- "react-helmet": "^6.0.0-beta",
+ "react-helmet": "^6.1.0",
"react-loadable": "^5.5.0",
"react-loadable-ssr-addon": "^0.3.0",
- "react-router": "^5.1.2",
+ "react-router": "^5.2.0",
"react-router-config": "^5.1.1",
- "react-router-dom": "^5.1.2",
+ "react-router-dom": "^5.2.0",
"resolve-pathname": "^3.0.0",
"semver": "^6.3.0",
"serve-handler": "^6.1.3",
"shelljs": "^0.8.4",
"std-env": "^2.2.1",
- "terser-webpack-plugin": "^3.0.3",
+ "terser-webpack-plugin": "^4.1.0",
"update-notifier": "^4.1.0",
- "url-loader": "^4.1.0",
- "wait-file": "^1.0.5",
- "webpack": "^4.41.2",
+ "url-loader": "^4.1.1",
+ "wait-on": "^5.2.0",
+ "webpack": "^4.44.1",
"webpack-bundle-analyzer": "^3.6.1",
"webpack-dev-server": "^3.11.0",
"webpack-merge": "^4.2.2",
"webpackbar": "^4.0.0"
}
},
- "@docusaurus/mdx-loader": {
- "version": "2.0.0-alpha.63",
- "resolved": "https://registry.npmjs.org/@docusaurus/mdx-loader/-/mdx-loader-2.0.0-alpha.63.tgz",
- "integrity": "sha512-zqnjIOlUSn4sXvZPydYI3z+n9U/9E4bYDn4PHNqNTxPVm5cWk+YPZtq1dP7IGkM5xCZpkApOj4oOh9qmRafoug==",
+ "@docusaurus/cssnano-preset": {
+ "version": "2.0.0-alpha.f37987f32",
+ "resolved": "https://registry.npmjs.org/@docusaurus/cssnano-preset/-/cssnano-preset-2.0.0-alpha.f37987f32.tgz",
+ "integrity": "sha512-Z9IvkGAgEfJs2JRKQd2MSlb/SZsRoy9Qez6w11DhWeaVkgtb0RCSzip+jbnYi5bPAvy8s/YKIurmiII1AgNz7w==",
"requires": {
- "@babel/parser": "^7.9.4",
- "@babel/traverse": "^7.9.0",
- "@docusaurus/core": "2.0.0-alpha.63",
- "@docusaurus/utils": "2.0.0-alpha.63",
- "@mdx-js/mdx": "^1.5.8",
- "@mdx-js/react": "^1.5.8",
+ "cssnano-preset-advanced": "^4.0.7",
+ "postcss": "^7.0.2",
+ "postcss-combine-duplicated-selectors": "^9.1.0",
+ "postcss-sort-media-queries": "^1.7.26"
+ }
+ },
+ "@docusaurus/mdx-loader": {
+ "version": "2.0.0-alpha.f37987f32",
+ "resolved": "https://registry.npmjs.org/@docusaurus/mdx-loader/-/mdx-loader-2.0.0-alpha.f37987f32.tgz",
+ "integrity": "sha512-K26bpJOss6go7anHnXbmqsX5IDzxBUkOmWY0ABWaHmPWerd0lKNKTK9P22grweKQDL1gML0bKkOdTYn9X+iLTw==",
+ "requires": {
+ "@babel/parser": "^7.12.5",
+ "@babel/traverse": "^7.12.5",
+ "@docusaurus/core": "2.0.0-alpha.f37987f32",
+ "@docusaurus/utils": "2.0.0-alpha.f37987f32",
+ "@mdx-js/mdx": "^1.6.21",
+ "@mdx-js/react": "^1.6.21",
"escape-html": "^1.0.3",
- "file-loader": "^6.0.0",
- "fs-extra": "^8.1.0",
+ "file-loader": "^6.2.0",
+ "fs-extra": "^9.0.1",
"github-slugger": "^1.3.0",
"gray-matter": "^4.0.2",
- "loader-utils": "^1.2.3",
+ "loader-utils": "^2.0.0",
"mdast-util-to-string": "^1.1.0",
"remark-emoji": "^2.1.0",
"stringify-object": "^3.3.0",
"unist-util-visit": "^2.0.2",
- "url-loader": "^4.1.0"
- },
- "dependencies": {
- "json5": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz",
- "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==",
- "requires": {
- "minimist": "^1.2.0"
- }
- },
- "loader-utils": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz",
- "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==",
- "requires": {
- "big.js": "^5.2.2",
- "emojis-list": "^3.0.0",
- "json5": "^1.0.1"
- }
- }
+ "url-loader": "^4.1.1",
+ "webpack": "^4.44.1"
}
},
"@docusaurus/module-type-aliases": {
- "version": "2.0.0-alpha.51",
- "resolved": "https://registry.npmjs.org/@docusaurus/module-type-aliases/-/module-type-aliases-2.0.0-alpha.51.tgz",
- "integrity": "sha512-vBwk49W3DNvr+mbOgizLMI2TAxykqJYlcnpn4N7yvpWNteL2MfjzRf6rgJVJvlN2nrHhDyWDF9imwZpGDKSApg==",
+ "version": "2.0.0-alpha.f37987f32",
+ "resolved": "https://registry.npmjs.org/@docusaurus/module-type-aliases/-/module-type-aliases-2.0.0-alpha.f37987f32.tgz",
+ "integrity": "sha512-yl2w2KroXjNpcF+DawjdM/JMEfAMCRyjSe7k4CqzqAlTSx7wi+4KEfKTGKGWw7jPZs+VlXlsKMfyRU6Vo+383w==",
"dev": true
},
"@docusaurus/plugin-content-blog": {
- "version": "2.0.0-alpha.63",
- "resolved": "https://registry.npmjs.org/@docusaurus/plugin-content-blog/-/plugin-content-blog-2.0.0-alpha.63.tgz",
- "integrity": "sha512-Ew2Nzf3jpZj2xC5omVOEd+l3iwbcLjW6X++yEaFnv0F6ulQufZ7IxJgStl1mCzlxxBZ8UJLi3F5/XNPhditQtw==",
+ "version": "2.0.0-alpha.f37987f32",
+ "resolved": "https://registry.npmjs.org/@docusaurus/plugin-content-blog/-/plugin-content-blog-2.0.0-alpha.f37987f32.tgz",
+ "integrity": "sha512-QRXYujWca6cvCS6zlf9JgZpMDkM2XD1/9N5jAjseUt1rB8ZJVmKjU5Jp7qKBWzPP7JpuRz98+CteUa93QIGmwA==",
"requires": {
- "@docusaurus/core": "2.0.0-alpha.63",
- "@docusaurus/mdx-loader": "2.0.0-alpha.63",
- "@docusaurus/types": "2.0.0-alpha.63",
- "@docusaurus/utils": "2.0.0-alpha.63",
- "@docusaurus/utils-validation": "2.0.0-alpha.63",
- "@hapi/joi": "^17.1.1",
+ "@docusaurus/core": "2.0.0-alpha.f37987f32",
+ "@docusaurus/mdx-loader": "2.0.0-alpha.f37987f32",
+ "@docusaurus/types": "2.0.0-alpha.f37987f32",
+ "@docusaurus/utils": "2.0.0-alpha.f37987f32",
+ "@docusaurus/utils-validation": "2.0.0-alpha.f37987f32",
"chalk": "^3.0.0",
- "feed": "^4.1.0",
- "fs-extra": "^8.1.0",
+ "feed": "^4.2.1",
+ "fs-extra": "^9.0.1",
"globby": "^10.0.1",
+ "joi": "^17.2.1",
"loader-utils": "^1.2.3",
- "lodash.kebabcase": "^4.1.1",
+ "lodash": "^4.17.20",
"reading-time": "^1.2.0",
"remark-admonitions": "^1.2.1",
- "webpack": "^4.41.2"
+ "webpack": "^4.44.1"
},
"dependencies": {
"json5": {
@@ -1428,21 +1452,21 @@
}
},
"@docusaurus/plugin-content-docs": {
- "version": "2.0.0-alpha.63",
- "resolved": "https://registry.npmjs.org/@docusaurus/plugin-content-docs/-/plugin-content-docs-2.0.0-alpha.63.tgz",
- "integrity": "sha512-acBjlUqLSYxY7dqbRYWpc+BHyVa0/f1O7slMKgaNuIs6xiv8vBNDpRUSkaef0MXc7L7Ez7ecxQ1r0aNV+Qsg5w==",
+ "version": "2.0.0-alpha.f37987f32",
+ "resolved": "https://registry.npmjs.org/@docusaurus/plugin-content-docs/-/plugin-content-docs-2.0.0-alpha.f37987f32.tgz",
+ "integrity": "sha512-VjCOo84owqs2woqR2Rj19UG6gX+2vwAUAMJxxjWEyFZPzHwuX03GEYenOs5RJuEBpbImr7CMcu+JAd//nDy2MA==",
"requires": {
- "@docusaurus/core": "2.0.0-alpha.63",
- "@docusaurus/mdx-loader": "2.0.0-alpha.63",
- "@docusaurus/types": "2.0.0-alpha.63",
- "@docusaurus/utils": "2.0.0-alpha.63",
- "@docusaurus/utils-validation": "2.0.0-alpha.63",
- "@hapi/joi": "17.1.1",
+ "@docusaurus/core": "2.0.0-alpha.f37987f32",
+ "@docusaurus/mdx-loader": "2.0.0-alpha.f37987f32",
+ "@docusaurus/types": "2.0.0-alpha.f37987f32",
+ "@docusaurus/utils": "2.0.0-alpha.f37987f32",
+ "@docusaurus/utils-validation": "2.0.0-alpha.f37987f32",
"chalk": "^3.0.0",
"execa": "^3.4.0",
- "fs-extra": "^8.1.0",
+ "fs-extra": "^9.0.1",
"globby": "^10.0.1",
- "import-fresh": "^3.2.1",
+ "import-fresh": "^3.2.2",
+ "joi": "^17.2.1",
"loader-utils": "^1.2.3",
"lodash": "^4.17.19",
"lodash.flatmap": "^4.5.0",
@@ -1453,7 +1477,7 @@
"remark-admonitions": "^1.2.1",
"shelljs": "^0.8.4",
"utility-types": "^3.10.0",
- "webpack": "^4.41.2"
+ "webpack": "^4.44.1"
},
"dependencies": {
"execa": {
@@ -1520,22 +1544,23 @@
}
},
"@docusaurus/plugin-content-pages": {
- "version": "2.0.0-alpha.63",
- "resolved": "https://registry.npmjs.org/@docusaurus/plugin-content-pages/-/plugin-content-pages-2.0.0-alpha.63.tgz",
- "integrity": "sha512-+nnNkWOx3pHJZcZ5VRG0EULiiwTqMrY11Ib4xj8m7kHxbgr2CxUqnXBk61DYqS2wozvxCUvxk8TV8GJUrMxLag==",
+ "version": "2.0.0-alpha.f37987f32",
+ "resolved": "https://registry.npmjs.org/@docusaurus/plugin-content-pages/-/plugin-content-pages-2.0.0-alpha.f37987f32.tgz",
+ "integrity": "sha512-h+KqqaYZYZ9DaGxTLavOnMGOXZ3T0Pn4S3XJuHF+tdxCB//b/sPdY4aEjM4sdGgNqN0il9Y+yVORoN0F7XRJ1Q==",
"requires": {
- "@docusaurus/core": "2.0.0-alpha.63",
- "@docusaurus/mdx-loader": "2.0.0-alpha.63",
- "@docusaurus/types": "2.0.0-alpha.63",
- "@docusaurus/utils": "2.0.0-alpha.63",
- "@docusaurus/utils-validation": "2.0.0-alpha.63",
- "@hapi/joi": "17.1.1",
+ "@docusaurus/core": "2.0.0-alpha.f37987f32",
+ "@docusaurus/mdx-loader": "2.0.0-alpha.f37987f32",
+ "@docusaurus/types": "2.0.0-alpha.f37987f32",
+ "@docusaurus/utils": "2.0.0-alpha.f37987f32",
+ "@docusaurus/utils-validation": "2.0.0-alpha.f37987f32",
"globby": "^10.0.1",
+ "joi": "^17.2.1",
"loader-utils": "^1.2.3",
+ "lodash": "^4.17.19",
"minimatch": "^3.0.4",
"remark-admonitions": "^1.2.1",
"slash": "^3.0.0",
- "webpack": "^4.41.2"
+ "webpack": "^4.44.1"
},
"dependencies": {
"json5": {
@@ -1559,109 +1584,123 @@
}
},
"@docusaurus/plugin-debug": {
- "version": "2.0.0-alpha.63",
- "resolved": "https://registry.npmjs.org/@docusaurus/plugin-debug/-/plugin-debug-2.0.0-alpha.63.tgz",
- "integrity": "sha512-pQ2BXSg7mMkH484R9akm9wvjCZ2Rqed/so/V8Ur+xoCycJG/JrIsQE3FnMXupLJIrHzO5EgiR4qJBdDDY5AMbA==",
+ "version": "2.0.0-alpha.f37987f32",
+ "resolved": "https://registry.npmjs.org/@docusaurus/plugin-debug/-/plugin-debug-2.0.0-alpha.f37987f32.tgz",
+ "integrity": "sha512-/lTCnoADDzTOMslUgwMd8nQ10ZzDt4yGomCBqCVwb5/tkFCJTvnvIfY/8SF2vzDkkqfsvIxT/s7jb1LRahDFgw==",
"requires": {
- "@docusaurus/core": "2.0.0-alpha.63",
- "@docusaurus/types": "2.0.0-alpha.63",
- "@docusaurus/utils": "2.0.0-alpha.63",
+ "@docusaurus/core": "2.0.0-alpha.f37987f32",
+ "@docusaurus/types": "2.0.0-alpha.f37987f32",
+ "@docusaurus/utils": "2.0.0-alpha.f37987f32",
"react-json-view": "^1.19.1"
}
},
"@docusaurus/plugin-google-analytics": {
- "version": "2.0.0-alpha.63",
- "resolved": "https://registry.npmjs.org/@docusaurus/plugin-google-analytics/-/plugin-google-analytics-2.0.0-alpha.63.tgz",
- "integrity": "sha512-ENsXdIrWneNqcP3kkWK6lXRF9E8pQBFE5nUq9jSnmGBlh1ihS98PyJvJPHCCFHYfWOZLveEXIbhSMt+7WQftUA==",
+ "version": "2.0.0-alpha.f37987f32",
+ "resolved": "https://registry.npmjs.org/@docusaurus/plugin-google-analytics/-/plugin-google-analytics-2.0.0-alpha.f37987f32.tgz",
+ "integrity": "sha512-C78iJKUdHUY+f3rd5ektt/d1kplWsWa5mK5M50DWeSyqG956P9eNRmuu3mVp0yRBXvulQ08cr1O9n34krmNAHA==",
"requires": {
- "@docusaurus/core": "2.0.0-alpha.63"
+ "@docusaurus/core": "2.0.0-alpha.f37987f32"
}
},
"@docusaurus/plugin-google-gtag": {
- "version": "2.0.0-alpha.63",
- "resolved": "https://registry.npmjs.org/@docusaurus/plugin-google-gtag/-/plugin-google-gtag-2.0.0-alpha.63.tgz",
- "integrity": "sha512-W0rGAfyWHstlPl2SRc6eyDq/KFuExw3+SIoVciv0XHHrLxNxrrImbuEuLwynIl45dylSRvXlaGvzRr5mGv3Y4Q==",
+ "version": "2.0.0-alpha.f37987f32",
+ "resolved": "https://registry.npmjs.org/@docusaurus/plugin-google-gtag/-/plugin-google-gtag-2.0.0-alpha.f37987f32.tgz",
+ "integrity": "sha512-hw1voxBVStMRuufg4hQBrqOVBi6T9UytGleM2tE0xOw1BMNz9Yl0IgCqy81c9kcRDc8pwpdsMdmVdA5IXb39wQ==",
"requires": {
- "@docusaurus/core": "2.0.0-alpha.63"
+ "@docusaurus/core": "2.0.0-alpha.f37987f32"
}
},
"@docusaurus/plugin-sitemap": {
- "version": "2.0.0-alpha.63",
- "resolved": "https://registry.npmjs.org/@docusaurus/plugin-sitemap/-/plugin-sitemap-2.0.0-alpha.63.tgz",
- "integrity": "sha512-XD4tNAXQNLv3r5Mm/RhLLcVjG1gE8UyIqaTcyW5kchhLHk1N2KWhedvu+0mSF7Ya5WzkH1cPepTVWIeznl84zA==",
+ "version": "2.0.0-alpha.f37987f32",
+ "resolved": "https://registry.npmjs.org/@docusaurus/plugin-sitemap/-/plugin-sitemap-2.0.0-alpha.f37987f32.tgz",
+ "integrity": "sha512-cWd3KrXyGrRdP+HsCL96A0N9LzNhNJOIcVq2QG2ZpgZ78KvfHXFKsm0MTa4GCOvyNf2VGas+vRVNPfqsie/ECA==",
"requires": {
- "@docusaurus/core": "2.0.0-alpha.63",
- "@docusaurus/types": "2.0.0-alpha.63",
- "@hapi/joi": "17.1.1",
- "fs-extra": "^8.1.0",
+ "@docusaurus/core": "2.0.0-alpha.f37987f32",
+ "@docusaurus/types": "2.0.0-alpha.f37987f32",
+ "fs-extra": "^9.0.1",
+ "joi": "^17.2.1",
"sitemap": "^3.2.2"
}
},
"@docusaurus/preset-classic": {
- "version": "2.0.0-alpha.63",
- "resolved": "https://registry.npmjs.org/@docusaurus/preset-classic/-/preset-classic-2.0.0-alpha.63.tgz",
- "integrity": "sha512-auaqYnFTl62MRHzCoWV5s1euJvFzBWA4RlOObEkFJqADdFThc3pFj2bN3DrbDUQ9hg0iGCfH3RiLX17UhQUoDw==",
+ "version": "2.0.0-alpha.f37987f32",
+ "resolved": "https://registry.npmjs.org/@docusaurus/preset-classic/-/preset-classic-2.0.0-alpha.f37987f32.tgz",
+ "integrity": "sha512-3bjMgn3LCEQPgbhdXIk4fUIYXZDaYEygAjfKz3lsFYjRPtsc8rxcNWnwRQ3/OvwJ2Tr4+Dl9k6RmVxOBqYGriw==",
"requires": {
- "@docusaurus/core": "2.0.0-alpha.63",
- "@docusaurus/plugin-content-blog": "2.0.0-alpha.63",
- "@docusaurus/plugin-content-docs": "2.0.0-alpha.63",
- "@docusaurus/plugin-content-pages": "2.0.0-alpha.63",
- "@docusaurus/plugin-debug": "2.0.0-alpha.63",
- "@docusaurus/plugin-google-analytics": "2.0.0-alpha.63",
- "@docusaurus/plugin-google-gtag": "2.0.0-alpha.63",
- "@docusaurus/plugin-sitemap": "2.0.0-alpha.63",
- "@docusaurus/theme-classic": "2.0.0-alpha.63",
- "@docusaurus/theme-search-algolia": "2.0.0-alpha.63"
+ "@docusaurus/core": "2.0.0-alpha.f37987f32",
+ "@docusaurus/plugin-content-blog": "2.0.0-alpha.f37987f32",
+ "@docusaurus/plugin-content-docs": "2.0.0-alpha.f37987f32",
+ "@docusaurus/plugin-content-pages": "2.0.0-alpha.f37987f32",
+ "@docusaurus/plugin-debug": "2.0.0-alpha.f37987f32",
+ "@docusaurus/plugin-google-analytics": "2.0.0-alpha.f37987f32",
+ "@docusaurus/plugin-google-gtag": "2.0.0-alpha.f37987f32",
+ "@docusaurus/plugin-sitemap": "2.0.0-alpha.f37987f32",
+ "@docusaurus/theme-classic": "2.0.0-alpha.f37987f32",
+ "@docusaurus/theme-search-algolia": "2.0.0-alpha.f37987f32"
}
},
"@docusaurus/theme-classic": {
- "version": "2.0.0-alpha.63",
- "resolved": "https://registry.npmjs.org/@docusaurus/theme-classic/-/theme-classic-2.0.0-alpha.63.tgz",
- "integrity": "sha512-xw0TQdfX2QFKnNBCq7oAwRxQ9n7wxK3/XkkSI3N46PPJx63MEvb7SF4o/S8yZgjRDUdpuKA+Ikq868yIt0cuJg==",
+ "version": "2.0.0-alpha.f37987f32",
+ "resolved": "https://registry.npmjs.org/@docusaurus/theme-classic/-/theme-classic-2.0.0-alpha.f37987f32.tgz",
+ "integrity": "sha512-SVbAqkoaSt44HohIDpQfx5KZBG0WyGMLZAW4DJA0wGiVJzKPzAJD/eletLi1YeLMr6ngWDjcIDDM5qNPyYmY9Q==",
"requires": {
- "@docusaurus/core": "2.0.0-alpha.63",
- "@docusaurus/plugin-content-blog": "2.0.0-alpha.63",
- "@docusaurus/plugin-content-docs": "2.0.0-alpha.63",
- "@docusaurus/plugin-content-pages": "2.0.0-alpha.63",
- "@docusaurus/types": "2.0.0-alpha.63",
- "@docusaurus/utils-validation": "2.0.0-alpha.63",
- "@hapi/joi": "^17.1.1",
- "@mdx-js/mdx": "^1.5.8",
- "@mdx-js/react": "^1.5.8",
+ "@docusaurus/core": "2.0.0-alpha.f37987f32",
+ "@docusaurus/plugin-content-blog": "2.0.0-alpha.f37987f32",
+ "@docusaurus/plugin-content-docs": "2.0.0-alpha.f37987f32",
+ "@docusaurus/plugin-content-pages": "2.0.0-alpha.f37987f32",
+ "@docusaurus/theme-common": "2.0.0-alpha.f37987f32",
+ "@docusaurus/types": "2.0.0-alpha.f37987f32",
+ "@docusaurus/utils": "2.0.0-alpha.f37987f32",
+ "@docusaurus/utils-validation": "2.0.0-alpha.f37987f32",
+ "@mdx-js/mdx": "^1.6.21",
+ "@mdx-js/react": "^1.6.21",
"@types/react-toggle": "^4.0.2",
"clsx": "^1.1.1",
"copy-text-to-clipboard": "^2.2.0",
- "infima": "0.2.0-alpha.12",
+ "infima": "0.2.0-alpha.18",
+ "joi": "^17.2.1",
"lodash": "^4.17.19",
- "parse-numeric-range": "^0.0.2",
- "prism-react-renderer": "^1.1.0",
- "prismjs": "^1.20.0",
+ "parse-numeric-range": "^1.2.0",
+ "prism-react-renderer": "^1.1.1",
+ "prismjs": "^1.22.0",
"prop-types": "^15.7.2",
- "react-router-dom": "^5.1.2",
- "react-toggle": "^4.1.1",
- "use-onclickoutside": "^0.3.1"
+ "react-router-dom": "^5.2.0",
+ "react-toggle": "^4.1.1"
+ }
+ },
+ "@docusaurus/theme-common": {
+ "version": "2.0.0-alpha.f37987f32",
+ "resolved": "https://registry.npmjs.org/@docusaurus/theme-common/-/theme-common-2.0.0-alpha.f37987f32.tgz",
+ "integrity": "sha512-xfqQA0RiFIw63zpNkoMaslO2H+z5dB5Wf1PExBOq+r/a0YvaSez5dnexPgqS4fJmJtwNrxb0tCw9vAC01OWxgQ==",
+ "requires": {
+ "@docusaurus/core": "2.0.0-alpha.f37987f32",
+ "@docusaurus/plugin-content-blog": "2.0.0-alpha.f37987f32",
+ "@docusaurus/plugin-content-docs": "2.0.0-alpha.f37987f32",
+ "@docusaurus/plugin-content-pages": "2.0.0-alpha.f37987f32",
+ "@docusaurus/types": "2.0.0-alpha.f37987f32"
}
},
"@docusaurus/theme-search-algolia": {
- "version": "2.0.0-alpha.63",
- "resolved": "https://registry.npmjs.org/@docusaurus/theme-search-algolia/-/theme-search-algolia-2.0.0-alpha.63.tgz",
- "integrity": "sha512-fqivQVnYOhPsSF/sjaWw5hZ9ltfnejqcXVlT4BNOHUu9p4Jup5vKkRytbotho1/8JTj/XG22RCPnNAcsBtdRDw==",
+ "version": "2.0.0-alpha.f37987f32",
+ "resolved": "https://registry.npmjs.org/@docusaurus/theme-search-algolia/-/theme-search-algolia-2.0.0-alpha.f37987f32.tgz",
+ "integrity": "sha512-ulBhxdbxcQptqQnu8iOrRXC8PsMuTm4qZUmJui0GyQ5aPbC/bXK2GuAtz1s5YE9PpeOL7W6IgX4FHm5luFUAIQ==",
"requires": {
- "@docsearch/react": "^1.0.0-alpha.27",
- "@docusaurus/core": "2.0.0-alpha.63",
- "@docusaurus/utils": "2.0.0-alpha.63",
- "@hapi/joi": "^17.1.1",
+ "@docsearch/react": "^3.0.0-alpha.31",
+ "@docusaurus/core": "2.0.0-alpha.f37987f32",
+ "@docusaurus/theme-common": "2.0.0-alpha.f37987f32",
+ "@docusaurus/utils": "2.0.0-alpha.f37987f32",
"algoliasearch": "^4.0.0",
"algoliasearch-helper": "^3.1.1",
"clsx": "^1.1.1",
- "eta": "^1.1.1",
+ "eta": "^1.11.0",
+ "joi": "^17.2.1",
"lodash": "^4.17.19"
}
},
"@docusaurus/types": {
- "version": "2.0.0-alpha.63",
- "resolved": "https://registry.npmjs.org/@docusaurus/types/-/types-2.0.0-alpha.63.tgz",
- "integrity": "sha512-rzCYQKrB8xArXfSoad0RM1VtGfhmsSC3wXLVNrCFXp3F9sPTgRuev5jfEfvMWbJdkLZasNA4eNbMJ6JlrnfE4Q==",
+ "version": "2.0.0-alpha.f37987f32",
+ "resolved": "https://registry.npmjs.org/@docusaurus/types/-/types-2.0.0-alpha.f37987f32.tgz",
+ "integrity": "sha512-EhBY8a6F+JnBBJBvbgzjbne/gegFPzuY4PaPgqLopnkNbu3Dmc6RXl/gzWlkwSJCc1htyuo0zinCPOUI1z1yeA==",
"requires": {
"@types/webpack": "^4.41.0",
"commander": "^4.0.1",
@@ -1670,13 +1709,16 @@
}
},
"@docusaurus/utils": {
- "version": "2.0.0-alpha.63",
- "resolved": "https://registry.npmjs.org/@docusaurus/utils/-/utils-2.0.0-alpha.63.tgz",
- "integrity": "sha512-QrRuZAoj11cFgQMvjeNK12ds6y3VvPnYKu0mDpUp6jzB1fSlvIeKdnGR5Ju81LJ1CCXojNQkR8PtNK6kp1+KaA==",
+ "version": "2.0.0-alpha.f37987f32",
+ "resolved": "https://registry.npmjs.org/@docusaurus/utils/-/utils-2.0.0-alpha.f37987f32.tgz",
+ "integrity": "sha512-UlRn8XnNTjKEvpTp/B+wBQX9eBxdLkjDI2Qkp7Xe8pPNvl5CctaLmHxoU0pCWzDB1WjKWCnFHCnC7WP+L/J5sQ==",
"requires": {
+ "@docusaurus/types": "2.0.0-alpha.f37987f32",
+ "chalk": "^3.0.0",
"escape-string-regexp": "^2.0.0",
- "fs-extra": "^8.1.0",
+ "fs-extra": "^9.0.1",
"gray-matter": "^4.0.2",
+ "lodash": "^4.17.20",
"lodash.camelcase": "^4.3.0",
"lodash.kebabcase": "^4.1.1",
"resolve-pathname": "^3.0.0"
@@ -1690,13 +1732,13 @@
}
},
"@docusaurus/utils-validation": {
- "version": "2.0.0-alpha.63",
- "resolved": "https://registry.npmjs.org/@docusaurus/utils-validation/-/utils-validation-2.0.0-alpha.63.tgz",
- "integrity": "sha512-q+bHBobym6nFiK4nkJEIoPsIdHQDEatHYxv5MU1mzd8jZ2ajHYbvqjA2DWCSEZ4wrkJa0RwoP+9HUKdr3ZAPrA==",
+ "version": "2.0.0-alpha.f37987f32",
+ "resolved": "https://registry.npmjs.org/@docusaurus/utils-validation/-/utils-validation-2.0.0-alpha.f37987f32.tgz",
+ "integrity": "sha512-TVelouQy0Brgr3+yyw3heCaxd8la4sfu3tHaXFjkggJWd6IfYsVEUmIwU4cmAzXMwsT4ZW811ihrenU2ibVe7g==",
"requires": {
- "@docusaurus/utils": "2.0.0-alpha.63",
- "@hapi/joi": "17.1.1",
- "chalk": "^3.0.0"
+ "@docusaurus/utils": "2.0.0-alpha.f37987f32",
+ "chalk": "^3.0.0",
+ "joi": "^17.2.1"
}
},
"@endiliey/static-site-generator-webpack-plugin": {
@@ -1711,56 +1753,11 @@
"webpack-sources": "^1.4.3"
}
},
- "@francoischalifour/autocomplete-core": {
- "version": "1.0.0-alpha.28",
- "resolved": "https://registry.npmjs.org/@francoischalifour/autocomplete-core/-/autocomplete-core-1.0.0-alpha.28.tgz",
- "integrity": "sha512-rL9x+72btViw+9icfBKUJjZj87FgjFrD2esuTUqtj4RAX3s4AuVZiN8XEsfjQBSc6qJk31cxlvqZHC/BIyYXgg=="
- },
- "@francoischalifour/autocomplete-preset-algolia": {
- "version": "1.0.0-alpha.28",
- "resolved": "https://registry.npmjs.org/@francoischalifour/autocomplete-preset-algolia/-/autocomplete-preset-algolia-1.0.0-alpha.28.tgz",
- "integrity": "sha512-bprfNmYt1opFUFEtD2XfY/kEsm13bzHQgU80uMjhuK0DJ914IjolT1GytpkdM6tJ4MBvyiJPP+bTtWO+BZ7c7w=="
- },
- "@hapi/address": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/@hapi/address/-/address-4.1.0.tgz",
- "integrity": "sha512-SkszZf13HVgGmChdHo/PxchnSaCJ6cetVqLzyciudzZRT0jcOouIF/Q93mgjw8cce+D+4F4C1Z/WrfFN+O3VHQ==",
- "requires": {
- "@hapi/hoek": "^9.0.0"
- }
- },
- "@hapi/bourne": {
- "version": "1.3.2",
- "resolved": "https://registry.npmjs.org/@hapi/bourne/-/bourne-1.3.2.tgz",
- "integrity": "sha512-1dVNHT76Uu5N3eJNTYcvxee+jzX4Z9lfciqRRHCU27ihbUcYi+iSc2iml5Ke1LXe1SyJCLA0+14Jh4tXJgOppA=="
- },
- "@hapi/formula": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/@hapi/formula/-/formula-2.0.0.tgz",
- "integrity": "sha512-V87P8fv7PI0LH7LiVi8Lkf3x+KCO7pQozXRssAHNXXL9L1K+uyu4XypLXwxqVDKgyQai6qj3/KteNlrqDx4W5A=="
- },
"@hapi/hoek": {
"version": "9.1.0",
"resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.1.0.tgz",
"integrity": "sha512-i9YbZPN3QgfighY/1X1Pu118VUz2Fmmhd6b2n0/O8YVgGGfw0FbUYoA97k7FkpGJ+pLCFEDLUmAPPV4D1kpeFw=="
},
- "@hapi/joi": {
- "version": "17.1.1",
- "resolved": "https://registry.npmjs.org/@hapi/joi/-/joi-17.1.1.tgz",
- "integrity": "sha512-p4DKeZAoeZW4g3u7ZeRo+vCDuSDgSvtsB/NpfjXEHTUjSeINAi/RrVOWiVQ1isaoLzMvFEhe8n5065mQq1AdQg==",
- "requires": {
- "@hapi/address": "^4.0.1",
- "@hapi/formula": "^2.0.0",
- "@hapi/hoek": "^9.0.0",
- "@hapi/pinpoint": "^2.0.0",
- "@hapi/topo": "^5.0.0"
- }
- },
- "@hapi/pinpoint": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/@hapi/pinpoint/-/pinpoint-2.0.0.tgz",
- "integrity": "sha512-vzXR5MY7n4XeIvLpfl3HtE3coZYO4raKXW766R6DZw/6aLqR26iuZ109K7a0NtF2Db0jxqh7xz2AxkUwpUFybw=="
- },
"@hapi/topo": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-5.0.0.tgz",
@@ -1770,59 +1767,29 @@
}
},
"@mdx-js/mdx": {
- "version": "1.6.16",
- "resolved": "https://registry.npmjs.org/@mdx-js/mdx/-/mdx-1.6.16.tgz",
- "integrity": "sha512-jnYyJ0aCafCIehn3GjYcibIapaLBgs3YkoenNQBPcPFyyuUty7B3B07OE+pMllhJ6YkWeP/R5Ax19x0nqTzgJw==",
+ "version": "1.6.22",
+ "resolved": "https://registry.npmjs.org/@mdx-js/mdx/-/mdx-1.6.22.tgz",
+ "integrity": "sha512-AMxuLxPz2j5/6TpF/XSdKpQP1NlG0z11dFOlq+2IP/lSgl11GY8ji6S/rgsViN/L0BDvHvUMruRb7ub+24LUYA==",
"requires": {
- "@babel/core": "7.10.5",
- "@babel/plugin-syntax-jsx": "7.10.4",
+ "@babel/core": "7.12.9",
+ "@babel/plugin-syntax-jsx": "7.12.1",
"@babel/plugin-syntax-object-rest-spread": "7.8.3",
- "@mdx-js/util": "1.6.16",
- "babel-plugin-apply-mdx-type-prop": "1.6.16",
- "babel-plugin-extract-import-names": "1.6.16",
+ "@mdx-js/util": "1.6.22",
+ "babel-plugin-apply-mdx-type-prop": "1.6.22",
+ "babel-plugin-extract-import-names": "1.6.22",
"camelcase-css": "2.0.1",
- "detab": "2.0.3",
- "hast-util-raw": "6.0.0",
+ "detab": "2.0.4",
+ "hast-util-raw": "6.0.1",
"lodash.uniq": "4.5.0",
- "mdast-util-to-hast": "9.1.0",
- "remark-footnotes": "1.0.0",
- "remark-mdx": "1.6.16",
+ "mdast-util-to-hast": "10.0.1",
+ "remark-footnotes": "2.0.0",
+ "remark-mdx": "1.6.22",
"remark-parse": "8.0.3",
"remark-squeeze-paragraphs": "4.0.0",
"style-to-object": "0.3.0",
- "unified": "9.1.0",
+ "unified": "9.2.0",
"unist-builder": "2.0.3",
"unist-util-visit": "2.0.3"
- },
- "dependencies": {
- "@babel/core": {
- "version": "7.10.5",
- "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.10.5.tgz",
- "integrity": "sha512-O34LQooYVDXPl7QWCdW9p4NR+QlzOr7xShPPJz8GsuCU3/8ua/wqTr7gmnxXv+WBESiGU/G5s16i6tUvHkNb+w==",
- "requires": {
- "@babel/code-frame": "^7.10.4",
- "@babel/generator": "^7.10.5",
- "@babel/helper-module-transforms": "^7.10.5",
- "@babel/helpers": "^7.10.4",
- "@babel/parser": "^7.10.5",
- "@babel/template": "^7.10.4",
- "@babel/traverse": "^7.10.5",
- "@babel/types": "^7.10.5",
- "convert-source-map": "^1.7.0",
- "debug": "^4.1.0",
- "gensync": "^1.0.0-beta.1",
- "json5": "^2.1.2",
- "lodash": "^4.17.19",
- "resolve": "^1.3.2",
- "semver": "^5.4.1",
- "source-map": "^0.5.0"
- }
- },
- "semver": {
- "version": "5.7.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
- "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ=="
- }
}
},
"@mdx-js/react": {
@@ -1831,9 +1798,9 @@
"integrity": "sha512-TDoPum4SHdfPiGSAaRBw7ECyI8VaHpK8GJugbJIJuqyh6kzw9ZLJZW3HGL3NNrJGxcAixUvqROm+YuQOo5eXtg=="
},
"@mdx-js/util": {
- "version": "1.6.16",
- "resolved": "https://registry.npmjs.org/@mdx-js/util/-/util-1.6.16.tgz",
- "integrity": "sha512-SFtLGIGZummuyMDPRL5KdmpgI8U19Ble28UjEWihPjGxF1Lgj8aDjLWY8KiaUy9eqb9CKiVCqEIrK9jbnANfkw=="
+ "version": "1.6.22",
+ "resolved": "https://registry.npmjs.org/@mdx-js/util/-/util-1.6.22.tgz",
+ "integrity": "sha512-H1rQc1ZOHANWBvPcW+JpGwr+juXSxM8Q8YCkm3GhZd8REu1fHR3z99CErO1p9pkcfcxZnMdIZdIsXkOHY0NilA=="
},
"@mrmlnc/readdir-enhanced": {
"version": "2.2.1",
@@ -1882,6 +1849,24 @@
}
}
},
+ "@sideway/address": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.0.tgz",
+ "integrity": "sha512-wAH/JYRXeIFQRsxerIuLjgUu2Xszam+O5xKeatJ4oudShOOirfmsQ1D6LL54XOU2tizpCYku+s1wmU0SYdpoSA==",
+ "requires": {
+ "@hapi/hoek": "^9.0.0"
+ }
+ },
+ "@sideway/formula": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/@sideway/formula/-/formula-3.0.0.tgz",
+ "integrity": "sha512-vHe7wZ4NOXVfkoRb8T5otiENVlT7a3IAiw7H5M2+GO+9CDgcVUUsX1zalAztCmwyOr2RUTGJdgB+ZvSVqmdHmg=="
+ },
+ "@sideway/pinpoint": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/@sideway/pinpoint/-/pinpoint-2.0.0.tgz",
+ "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ=="
+ },
"@sindresorhus/is": {
"version": "0.14.0",
"resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz",
@@ -1923,14 +1908,14 @@
"integrity": "sha512-3eYP/SaopZ41GHwXma7Rmxcv9uRslRDTY1estspeB1w1ueZWd/tPlMfEOoccYpEMZU3jD4OU7YitnXcF5hLW2Q=="
},
"@svgr/babel-plugin-transform-svg-component": {
- "version": "5.4.0",
- "resolved": "https://registry.npmjs.org/@svgr/babel-plugin-transform-svg-component/-/babel-plugin-transform-svg-component-5.4.0.tgz",
- "integrity": "sha512-zLl4Fl3NvKxxjWNkqEcpdSOpQ3LGVH2BNFQ6vjaK6sFo2IrSznrhURIPI0HAphKiiIwNYjAfE0TNoQDSZv0U9A=="
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/@svgr/babel-plugin-transform-svg-component/-/babel-plugin-transform-svg-component-5.5.0.tgz",
+ "integrity": "sha512-q4jSH1UUvbrsOtlo/tKcgSeiCHRSBdXoIoqX1pgcKK/aU3JD27wmMKwGtpB8qRYUYoyXvfGxUVKchLuR5pB3rQ=="
},
"@svgr/babel-preset": {
- "version": "5.4.0",
- "resolved": "https://registry.npmjs.org/@svgr/babel-preset/-/babel-preset-5.4.0.tgz",
- "integrity": "sha512-Gyx7cCxua04DBtyILTYdQxeO/pwfTBev6+eXTbVbxe4HTGhOUW6yo7PSbG2p6eJMl44j6XSequ0ZDP7bl0nu9A==",
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/@svgr/babel-preset/-/babel-preset-5.5.0.tgz",
+ "integrity": "sha512-4FiXBjvQ+z2j7yASeGPEi8VD/5rrGQk4Xrq3EdJmoZgz/tpqChpo5hgXDvmEauwtvOc52q8ghhZK4Oy7qph4ig==",
"requires": {
"@svgr/babel-plugin-add-jsx-attribute": "^5.4.0",
"@svgr/babel-plugin-remove-jsx-attribute": "^5.4.0",
@@ -1939,60 +1924,60 @@
"@svgr/babel-plugin-svg-dynamic-title": "^5.4.0",
"@svgr/babel-plugin-svg-em-dimensions": "^5.4.0",
"@svgr/babel-plugin-transform-react-native-svg": "^5.4.0",
- "@svgr/babel-plugin-transform-svg-component": "^5.4.0"
+ "@svgr/babel-plugin-transform-svg-component": "^5.5.0"
}
},
"@svgr/core": {
- "version": "5.4.0",
- "resolved": "https://registry.npmjs.org/@svgr/core/-/core-5.4.0.tgz",
- "integrity": "sha512-hWGm1DCCvd4IEn7VgDUHYiC597lUYhFau2lwJBYpQWDirYLkX4OsXu9IslPgJ9UpP7wsw3n2Ffv9sW7SXJVfqQ==",
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/@svgr/core/-/core-5.5.0.tgz",
+ "integrity": "sha512-q52VOcsJPvV3jO1wkPtzTuKlvX7Y3xIcWRpCMtBF3MrteZJtBfQw/+u0B1BHy5ColpQc1/YVTrPEtSYIMNZlrQ==",
"requires": {
- "@svgr/plugin-jsx": "^5.4.0",
- "camelcase": "^6.0.0",
- "cosmiconfig": "^6.0.0"
+ "@svgr/plugin-jsx": "^5.5.0",
+ "camelcase": "^6.2.0",
+ "cosmiconfig": "^7.0.0"
}
},
"@svgr/hast-util-to-babel-ast": {
- "version": "5.4.0",
- "resolved": "https://registry.npmjs.org/@svgr/hast-util-to-babel-ast/-/hast-util-to-babel-ast-5.4.0.tgz",
- "integrity": "sha512-+U0TZZpPsP2V1WvVhqAOSTk+N+CjYHdZx+x9UBa1eeeZDXwH8pt0CrQf2+SvRl/h2CAPRFkm+Ey96+jKP8Bsgg==",
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/@svgr/hast-util-to-babel-ast/-/hast-util-to-babel-ast-5.5.0.tgz",
+ "integrity": "sha512-cAaR/CAiZRB8GP32N+1jocovUtvlj0+e65TB50/6Lcime+EA49m/8l+P2ko+XPJ4dw3xaPS3jOL4F2X4KWxoeQ==",
"requires": {
- "@babel/types": "^7.9.5"
+ "@babel/types": "^7.12.6"
}
},
"@svgr/plugin-jsx": {
- "version": "5.4.0",
- "resolved": "https://registry.npmjs.org/@svgr/plugin-jsx/-/plugin-jsx-5.4.0.tgz",
- "integrity": "sha512-SGzO4JZQ2HvGRKDzRga9YFSqOqaNrgLlQVaGvpZ2Iht2gwRp/tq+18Pvv9kS9ZqOMYgyix2LLxZMY1LOe9NPqw==",
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/@svgr/plugin-jsx/-/plugin-jsx-5.5.0.tgz",
+ "integrity": "sha512-V/wVh33j12hGh05IDg8GpIUXbjAPnTdPTKuP4VNLggnwaHMPNQNae2pRnyTAILWCQdz5GyMqtO488g7CKM8CBA==",
"requires": {
- "@babel/core": "^7.7.5",
- "@svgr/babel-preset": "^5.4.0",
- "@svgr/hast-util-to-babel-ast": "^5.4.0",
+ "@babel/core": "^7.12.3",
+ "@svgr/babel-preset": "^5.5.0",
+ "@svgr/hast-util-to-babel-ast": "^5.5.0",
"svg-parser": "^2.0.2"
}
},
"@svgr/plugin-svgo": {
- "version": "5.4.0",
- "resolved": "https://registry.npmjs.org/@svgr/plugin-svgo/-/plugin-svgo-5.4.0.tgz",
- "integrity": "sha512-3Cgv3aYi1l6SHyzArV9C36yo4kgwVdF3zPQUC6/aCDUeXAofDYwE5kk3e3oT5ZO2a0N3lB+lLGvipBG6lnG8EA==",
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/@svgr/plugin-svgo/-/plugin-svgo-5.5.0.tgz",
+ "integrity": "sha512-r5swKk46GuQl4RrVejVwpeeJaydoxkdwkM1mBKOgJLBUJPGaLci6ylg/IjhrRsREKDkr4kbMWdgOtbXEh0fyLQ==",
"requires": {
- "cosmiconfig": "^6.0.0",
- "merge-deep": "^3.0.2",
+ "cosmiconfig": "^7.0.0",
+ "deepmerge": "^4.2.2",
"svgo": "^1.2.2"
}
},
"@svgr/webpack": {
- "version": "5.4.0",
- "resolved": "https://registry.npmjs.org/@svgr/webpack/-/webpack-5.4.0.tgz",
- "integrity": "sha512-LjepnS/BSAvelnOnnzr6Gg0GcpLmnZ9ThGFK5WJtm1xOqdBE/1IACZU7MMdVzjyUkfFqGz87eRE4hFaSLiUwYg==",
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/@svgr/webpack/-/webpack-5.5.0.tgz",
+ "integrity": "sha512-DOBOK255wfQxguUta2INKkzPj6AIS6iafZYiYmHn6W3pHlycSRRlvWKCfLDG10fXfLWqE3DJHgRUOyJYmARa7g==",
"requires": {
- "@babel/core": "^7.9.0",
- "@babel/plugin-transform-react-constant-elements": "^7.9.0",
- "@babel/preset-env": "^7.9.5",
- "@babel/preset-react": "^7.9.4",
- "@svgr/core": "^5.4.0",
- "@svgr/plugin-jsx": "^5.4.0",
- "@svgr/plugin-svgo": "^5.4.0",
+ "@babel/core": "^7.12.3",
+ "@babel/plugin-transform-react-constant-elements": "^7.12.1",
+ "@babel/preset-env": "^7.12.1",
+ "@babel/preset-react": "^7.12.5",
+ "@svgr/core": "^5.5.0",
+ "@svgr/plugin-jsx": "^5.5.0",
+ "@svgr/plugin-svgo": "^5.5.0",
"loader-utils": "^2.0.0"
}
},
@@ -2015,11 +2000,6 @@
"resolved": "https://registry.npmjs.org/@types/anymatch/-/anymatch-1.3.1.tgz",
"integrity": "sha512-/+CRPXpBDpo2RK9C68N3b2cOvO0Cf5B9aPijHsoDQTHivnGSObdOF2BRQOYjojWTDy6nQvMjmqRXIxH55VjxxA=="
},
- "@types/color-name": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz",
- "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ=="
- },
"@types/glob": {
"version": "7.1.3",
"resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.3.tgz",
@@ -2044,9 +2024,9 @@
"dev": true
},
"@types/html-minifier-terser": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/@types/html-minifier-terser/-/html-minifier-terser-5.1.0.tgz",
- "integrity": "sha512-iYCgjm1dGPRuo12+BStjd1HiVQqhlRhWDOQigNxn023HcjnhsiFz9pc6CzJj4HwDCSQca9bxTL4PxJDbkdm3PA=="
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/@types/html-minifier-terser/-/html-minifier-terser-5.1.1.tgz",
+ "integrity": "sha512-giAlZwstKbmvMk1OO7WXSj4OZ0keXAcl2TQq4LWHiiPH2ByaH7WeUzng+Qej8UPxxv+8lRTuouo0iaNDBuzIBA=="
},
"@types/json-schema": {
"version": "7.0.6",
@@ -2067,9 +2047,9 @@
"integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA=="
},
"@types/node": {
- "version": "14.6.4",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-14.6.4.tgz",
- "integrity": "sha512-Wk7nG1JSaMfMpoMJDKUsWYugliB2Vy55pdjLpmLixeyMi7HizW2I/9QoxsPCkXl3dO+ZOVqPumKaDUv5zJu2uQ=="
+ "version": "14.14.10",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.10.tgz",
+ "integrity": "sha512-J32dgx2hw8vXrSbu4ZlVhn1Nm3GbeCFNw2FWL8S5QKucHGY0cyNwjdQdO+KMBZ4wpmC7KhLCiNsdk1RFRIYUQQ=="
},
"@types/parse-json": {
"version": "4.0.0",
@@ -2149,9 +2129,9 @@
"integrity": "sha512-W+bw9ds02rAQaMvaLYxAbJ6cvguW/iJXNT6lTssS1ps6QdrMKttqEAMEG/b5CR8TZl3/L7/lH0ZV5nNR1LXikA=="
},
"@types/uglify-js": {
- "version": "3.9.3",
- "resolved": "https://registry.npmjs.org/@types/uglify-js/-/uglify-js-3.9.3.tgz",
- "integrity": "sha512-KswB5C7Kwduwjj04Ykz+AjvPcfgv/37Za24O2EDzYNbwyzOo8+ydtvzUfZ5UMguiVu29Gx44l1A6VsPPcmYu9w==",
+ "version": "3.11.1",
+ "resolved": "https://registry.npmjs.org/@types/uglify-js/-/uglify-js-3.11.1.tgz",
+ "integrity": "sha512-7npvPKV+jINLu1SpSYVWG8KvyJBhBa8tmzMMdDoVc2pWUYHN8KIXlPJhjJ4LT97c4dXJA2SHL/q6ADbDriZN+Q==",
"requires": {
"source-map": "^0.6.1"
},
@@ -2169,9 +2149,9 @@
"integrity": "sha512-FvUupuM3rlRsRtCN+fDudtmytGO6iHJuuRKS1Ss0pG5z8oX0diNEw94UEL7hgDbpN94rgaK5R7sWm6RrSkZuAQ=="
},
"@types/webpack": {
- "version": "4.41.22",
- "resolved": "https://registry.npmjs.org/@types/webpack/-/webpack-4.41.22.tgz",
- "integrity": "sha512-JQDJK6pj8OMV9gWOnN1dcLCyU9Hzs6lux0wBO4lr1+gyEhIBR9U3FMrz12t2GPkg110XAxEAw2WHF6g7nZIbRQ==",
+ "version": "4.41.25",
+ "resolved": "https://registry.npmjs.org/@types/webpack/-/webpack-4.41.25.tgz",
+ "integrity": "sha512-cr6kZ+4m9lp86ytQc1jPOJXgINQyz3kLLunZ57jznW+WIAL0JqZbGubQk4GlD42MuQL5JGOABrxdpqqWeovlVQ==",
"requires": {
"@types/anymatch": "*",
"@types/node": "*",
@@ -2189,9 +2169,9 @@
}
},
"@types/webpack-sources": {
- "version": "1.4.2",
- "resolved": "https://registry.npmjs.org/@types/webpack-sources/-/webpack-sources-1.4.2.tgz",
- "integrity": "sha512-77T++JyKow4BQB/m9O96n9d/UUHWLQHlcqXb9Vsf4F1+wKNrrlWNFPDLKNT92RJnCSL6CieTc+NDXtCVZswdTw==",
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/@types/webpack-sources/-/webpack-sources-2.1.0.tgz",
+ "integrity": "sha512-LXn/oYIpBeucgP1EIJbKQ2/4ZmpvRl+dlrFdX7+94SKRUV3Evy3FsfMZY318vGhkWUS5MPhtOM3w1/hCOAOXcg==",
"requires": {
"@types/node": "*",
"@types/source-list-map": "*",
@@ -2382,9 +2362,9 @@
}
},
"acorn": {
- "version": "6.4.1",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.1.tgz",
- "integrity": "sha512-ZVA9k326Nwrj3Cj9jlh3wGFutC2ZornPNARZwsNYqQYgN0EsV2d53w5RN/co65Ohn4sUAUtb1rSUAOD6XN9idA=="
+ "version": "6.4.2",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.2.tgz",
+ "integrity": "sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ=="
},
"acorn-walk": {
"version": "7.2.0",
@@ -2406,9 +2386,9 @@
}
},
"ajv": {
- "version": "6.12.4",
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.4.tgz",
- "integrity": "sha512-eienB2c9qVQs2KWexhkrdMLVDoIQCz5KSeLxwg9Lzk4DOfBtIK9PQwwufcsn1jjGuf9WZmqPMbGxOzfcuphJCQ==",
+ "version": "6.12.6",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
+ "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
"requires": {
"fast-deep-equal": "^3.1.1",
"fast-json-stable-stringify": "^2.0.0",
@@ -2427,30 +2407,30 @@
"integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ=="
},
"algoliasearch": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/algoliasearch/-/algoliasearch-4.4.0.tgz",
- "integrity": "sha512-Ag3wxe/nSodNl/1KbHibtkh7TNLptKE300/wnGVtszRjXivaWD6333nUpCumrYObHym/fHMHyLcmQYezXbAIWQ==",
+ "version": "4.8.3",
+ "resolved": "https://registry.npmjs.org/algoliasearch/-/algoliasearch-4.8.3.tgz",
+ "integrity": "sha512-pljX9jEE2TQ3i1JayhG8afNdE8UuJg3O9c7unW6QO67yRWCKr6b0t5aKC3hSVtjt7pA2TQXLKoAISb4SHx9ozQ==",
"requires": {
- "@algolia/cache-browser-local-storage": "4.4.0",
- "@algolia/cache-common": "4.4.0",
- "@algolia/cache-in-memory": "4.4.0",
- "@algolia/client-account": "4.4.0",
- "@algolia/client-analytics": "4.4.0",
- "@algolia/client-common": "4.4.0",
- "@algolia/client-recommendation": "4.4.0",
- "@algolia/client-search": "4.4.0",
- "@algolia/logger-common": "4.4.0",
- "@algolia/logger-console": "4.4.0",
- "@algolia/requester-browser-xhr": "4.4.0",
- "@algolia/requester-common": "4.4.0",
- "@algolia/requester-node-http": "4.4.0",
- "@algolia/transporter": "4.4.0"
+ "@algolia/cache-browser-local-storage": "4.8.3",
+ "@algolia/cache-common": "4.8.3",
+ "@algolia/cache-in-memory": "4.8.3",
+ "@algolia/client-account": "4.8.3",
+ "@algolia/client-analytics": "4.8.3",
+ "@algolia/client-common": "4.8.3",
+ "@algolia/client-recommendation": "4.8.3",
+ "@algolia/client-search": "4.8.3",
+ "@algolia/logger-common": "4.8.3",
+ "@algolia/logger-console": "4.8.3",
+ "@algolia/requester-browser-xhr": "4.8.3",
+ "@algolia/requester-common": "4.8.3",
+ "@algolia/requester-node-http": "4.8.3",
+ "@algolia/transporter": "4.8.3"
}
},
"algoliasearch-helper": {
- "version": "3.2.2",
- "resolved": "https://registry.npmjs.org/algoliasearch-helper/-/algoliasearch-helper-3.2.2.tgz",
- "integrity": "sha512-/3XvE33R+gQKaiPdy3nmHYqhF8hqIu8xnlOicVxb1fD6uMFmxW8rGLzzrRfsPfxgAfm+c1NslLb3TzQVIB8aVA==",
+ "version": "3.3.3",
+ "resolved": "https://registry.npmjs.org/algoliasearch-helper/-/algoliasearch-helper-3.3.3.tgz",
+ "integrity": "sha512-1MKryf/yLQK9qgCaHtM+OBmG+R3qD6wxN8NnZstlCB8LijCZjoX1mgdema3+cBaa/zfmsD2q6/aP9kUKQmH4DQ==",
"requires": {
"events": "^1.1.1"
},
@@ -2539,11 +2519,6 @@
"resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz",
"integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw=="
},
- "are-passive-events-supported": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/are-passive-events-supported/-/are-passive-events-supported-1.1.1.tgz",
- "integrity": "sha512-5wnvlvB/dTbfrCvJ027Y4L4gW/6Mwoy1uFSavney0YO++GU+0e/flnjiBBwH+1kh7xNCgCOGvmJC3s32joYbww=="
- },
"argparse": {
"version": "1.0.10",
"resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
@@ -2662,6 +2637,11 @@
"resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz",
"integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ=="
},
+ "at-least-node": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz",
+ "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg=="
+ },
"atob": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz",
@@ -2681,6 +2661,14 @@
"postcss-value-parser": "^4.1.0"
}
},
+ "axios": {
+ "version": "0.19.2",
+ "resolved": "https://registry.npmjs.org/axios/-/axios-0.19.2.tgz",
+ "integrity": "sha512-fjgm5MvRHLhx+osE2xoekY70AhARk3a6hkN+3Io1jc00jtquGvxYlKlsFUhmUET0V5te6CcZI7lcv2Ym61mjHA==",
+ "requires": {
+ "follow-redirects": "1.5.10"
+ }
+ },
"babel-code-frame": {
"version": "6.26.0",
"resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz",
@@ -2734,14 +2722,13 @@
}
},
"babel-loader": {
- "version": "8.1.0",
- "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.1.0.tgz",
- "integrity": "sha512-7q7nC1tYOrqvUrN3LQK4GwSk/TQorZSOlO9C+RZDZpODgyN4ZlCqE5q9cDsyWOliN+aU9B4JX01xK9eJXowJLw==",
+ "version": "8.2.2",
+ "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.2.2.tgz",
+ "integrity": "sha512-JvTd0/D889PQBtUXJ2PXaKU/pjZDMtHA9V2ecm+eNRmmBCMR09a+fmpGTNwnJtFmFl5Ei7Vy47LjBb+L0wQ99g==",
"requires": {
- "find-cache-dir": "^2.1.0",
+ "find-cache-dir": "^3.3.1",
"loader-utils": "^1.4.0",
- "mkdirp": "^0.5.3",
- "pify": "^4.0.1",
+ "make-dir": "^3.1.0",
"schema-utils": "^2.6.5"
},
"dependencies": {
@@ -2766,26 +2753,26 @@
}
},
"babel-plugin-apply-mdx-type-prop": {
- "version": "1.6.16",
- "resolved": "https://registry.npmjs.org/babel-plugin-apply-mdx-type-prop/-/babel-plugin-apply-mdx-type-prop-1.6.16.tgz",
- "integrity": "sha512-hjUd24Yhnr5NKtHpC2mcRBGjC6RUKGzSzjN9g5SdjT4WpL/JDlpmjyBf7vWsJJSXFvMIbzRyxF4lT9ukwOnj/w==",
+ "version": "1.6.22",
+ "resolved": "https://registry.npmjs.org/babel-plugin-apply-mdx-type-prop/-/babel-plugin-apply-mdx-type-prop-1.6.22.tgz",
+ "integrity": "sha512-VefL+8o+F/DfK24lPZMtJctrCVOfgbqLAGZSkxwhazQv4VxPg3Za/i40fu22KR2m8eEda+IfSOlPLUSIiLcnCQ==",
"requires": {
"@babel/helper-plugin-utils": "7.10.4",
- "@mdx-js/util": "1.6.16"
+ "@mdx-js/util": "1.6.22"
}
},
"babel-plugin-dynamic-import-node": {
- "version": "2.3.3",
- "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz",
- "integrity": "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==",
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.0.tgz",
+ "integrity": "sha512-o6qFkpeQEBxcqt0XYlWzAVxNCSCZdUgcR8IRlhD/8DylxjjO4foPcvTW0GGKa/cVt3rvxZ7o5ippJ+/0nvLhlQ==",
"requires": {
"object.assign": "^4.1.0"
}
},
"babel-plugin-extract-import-names": {
- "version": "1.6.16",
- "resolved": "https://registry.npmjs.org/babel-plugin-extract-import-names/-/babel-plugin-extract-import-names-1.6.16.tgz",
- "integrity": "sha512-Da6Ra0sbA/1Iavli8LdMbTjyrsOPaxMm4lrKl8VJN4sJI5F64qy2EpLj3+5INLvNPfW4ddwpStbfP3Rf3jIgcw==",
+ "version": "1.6.22",
+ "resolved": "https://registry.npmjs.org/babel-plugin-extract-import-names/-/babel-plugin-extract-import-names-1.6.22.tgz",
+ "integrity": "sha512-yJ9BsJaISua7d8zNT7oRG1ZLBJCIdZ4PZqmH8qa9N5AK01ifk3fnkc98AXhtzE7UkfCsEumvoQWgoYLhOnJ7jQ==",
"requires": {
"@babel/helper-plugin-utils": "7.10.4"
}
@@ -2856,9 +2843,9 @@
"integrity": "sha1-4pf2DX7BAUp6lxo568ipjAtoHnA="
},
"base64-js": {
- "version": "1.3.1",
- "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.1.tgz",
- "integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g=="
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
+ "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA=="
},
"batch": {
"version": "0.6.1",
@@ -2886,15 +2873,6 @@
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.1.0.tgz",
"integrity": "sha512-1Yj8h9Q+QDF5FzhMs/c9+6UntbD5MkRfRwac8DoEm9ZfUBZ7tZ55YcGVAzEe4bXsdQHEk+s9S5wsOKVdZrw0tQ=="
},
- "bindings": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",
- "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",
- "optional": true,
- "requires": {
- "file-uri-to-path": "1.0.0"
- }
- },
"bluebird": {
"version": "3.7.2",
"resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz",
@@ -3041,19 +3019,12 @@
}
},
"browserify-rsa": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.0.1.tgz",
- "integrity": "sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=",
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz",
+ "integrity": "sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==",
"requires": {
- "bn.js": "^4.1.0",
+ "bn.js": "^5.0.0",
"randombytes": "^2.0.1"
- },
- "dependencies": {
- "bn.js": {
- "version": "4.11.9",
- "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz",
- "integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw=="
- }
}
},
"browserify-sign": {
@@ -3088,14 +3059,15 @@
}
},
"browserslist": {
- "version": "4.14.2",
- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.14.2.tgz",
- "integrity": "sha512-HI4lPveGKUR0x2StIz+2FXfDk9SfVMrxn6PLh1JeGUwcuoDkdKZebWiyLRJ68iIPDpMI4JLVDf7S7XzslgWOhw==",
+ "version": "4.15.0",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.15.0.tgz",
+ "integrity": "sha512-IJ1iysdMkGmjjYeRlDU8PQejVwxvVO5QOfXH7ylW31GO6LwNRSmm/SgRXtNsEXqMLl2e+2H5eEJ7sfynF8TCaQ==",
"requires": {
- "caniuse-lite": "^1.0.30001125",
- "electron-to-chromium": "^1.3.564",
- "escalade": "^3.0.2",
- "node-releases": "^1.1.61"
+ "caniuse-lite": "^1.0.30001164",
+ "colorette": "^1.2.1",
+ "electron-to-chromium": "^1.3.612",
+ "escalade": "^3.1.1",
+ "node-releases": "^1.1.67"
}
},
"buffer": {
@@ -3198,25 +3170,6 @@
"schema-utils": "^2.0.0"
},
"dependencies": {
- "find-cache-dir": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.1.tgz",
- "integrity": "sha512-t2GDMt3oGC/v+BMwzmllWDuJF/xcDtE5j/fCGbqDD7OLuJkj0cfh1YSA5VKPvwMeLFLNDBkwOKZ2X85jGLVftQ==",
- "requires": {
- "commondir": "^1.0.1",
- "make-dir": "^3.0.2",
- "pkg-dir": "^4.1.0"
- }
- },
- "find-up": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
- "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
- "requires": {
- "locate-path": "^5.0.0",
- "path-exists": "^4.0.0"
- }
- },
"json5": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz",
@@ -3234,43 +3187,6 @@
"emojis-list": "^3.0.0",
"json5": "^1.0.1"
}
- },
- "locate-path": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
- "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
- "requires": {
- "p-locate": "^4.1.0"
- }
- },
- "make-dir": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz",
- "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==",
- "requires": {
- "semver": "^6.0.0"
- }
- },
- "p-locate": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
- "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
- "requires": {
- "p-limit": "^2.2.0"
- }
- },
- "path-exists": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
- "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w=="
- },
- "pkg-dir": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz",
- "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==",
- "requires": {
- "find-up": "^4.0.0"
- }
}
}
},
@@ -3308,6 +3224,15 @@
}
}
},
+ "call-bind": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.0.tgz",
+ "integrity": "sha512-AEXsYIyyDY3MCzbwdhzG3Jx1R0J2wetQyUynn6dYHAO+bg8l1k7jwZtRv4ryryFs7EP+NDlikJlVe59jr0cM2w==",
+ "requires": {
+ "function-bind": "^1.1.1",
+ "get-intrinsic": "^1.0.0"
+ }
+ },
"call-me-maybe": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz",
@@ -3342,18 +3267,18 @@
"integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ=="
},
"camel-case": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.1.tgz",
- "integrity": "sha512-7fa2WcG4fYFkclIvEmxBbTvmibwF2/agfEBc6q3lOpVu0A13ltLsA+Hr/8Hp6kp5f+G7hKi6t8lys6XxP+1K6Q==",
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz",
+ "integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==",
"requires": {
- "pascal-case": "^3.1.1",
- "tslib": "^1.10.0"
+ "pascal-case": "^3.1.2",
+ "tslib": "^2.0.3"
}
},
"camelcase": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.0.0.tgz",
- "integrity": "sha512-8KMDF1Vz2gzOq54ONPJS65IvTUaB1cHJ2DMM7MbPmLZljDH1qpzzLsWdiN9pHh6qvkRVDTi/07+eNGch/oLU4w=="
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.2.0.tgz",
+ "integrity": "sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg=="
},
"camelcase-css": {
"version": "2.0.1",
@@ -3372,14 +3297,14 @@
}
},
"caniuse-lite": {
- "version": "1.0.30001125",
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001125.tgz",
- "integrity": "sha512-9f+r7BW8Qli917mU3j0fUaTweT3f3vnX/Lcs+1C73V+RADmFme+Ih0Br8vONQi3X0lseOe6ZHfsZLCA8MSjxUA=="
+ "version": "1.0.30001165",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001165.tgz",
+ "integrity": "sha512-8cEsSMwXfx7lWSUMA2s08z9dIgsnR5NAqjXP23stdsU3AUWkCr/rr4s4OFtHXn5XXr6+7kam3QFVoYyXNPdJPA=="
},
"ccount": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/ccount/-/ccount-1.0.5.tgz",
- "integrity": "sha512-MOli1W+nfbPLlKEhInaxhRdp7KVLFxLN5ykwzHgLsLI3H3gs5jjFAK4Eoj3OzzcxCtumDaI8onoVDeQyWaNTkw=="
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/ccount/-/ccount-1.1.0.tgz",
+ "integrity": "sha512-vlNK021QdI7PNeiUh/lKkC/mNHHfV0m/Ad5JoI0TYtlBnJAslM/JIkm/tGC88bkLIwO6OQ5uV6ztS6kVAtCDlg=="
},
"chalk": {
"version": "3.0.0",
@@ -3391,11 +3316,10 @@
},
"dependencies": {
"ansi-styles": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
- "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"requires": {
- "@types/color-name": "^1.1.1",
"color-convert": "^2.0.1"
}
},
@@ -3473,12 +3397,53 @@
"lodash.reduce": "^4.4.0",
"lodash.reject": "^4.4.0",
"lodash.some": "^4.4.0"
+ },
+ "dependencies": {
+ "css-select": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/css-select/-/css-select-1.2.0.tgz",
+ "integrity": "sha1-KzoRBTnFNV8c2NMUYj6HCxIeyFg=",
+ "requires": {
+ "boolbase": "~1.0.0",
+ "css-what": "2.1",
+ "domutils": "1.5.1",
+ "nth-check": "~1.0.1"
+ }
+ },
+ "css-what": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.3.tgz",
+ "integrity": "sha512-a+EPoD+uZiNfh+5fxw2nO9QwFa6nJe2Or35fGY6Ipw1R3R4AGz1d1TEZrCegvw2YTmZ0jXirGYlzxxpYSHwpEg=="
+ },
+ "dom-serializer": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.1.tgz",
+ "integrity": "sha512-l0IU0pPzLWSHBcieZbpOKgkIn3ts3vAh7ZuFyXNwJxJXk/c4Gwj9xaTJwIDVQCXawWD0qb3IzMGH5rglQaO0XA==",
+ "requires": {
+ "domelementtype": "^1.3.0",
+ "entities": "^1.1.1"
+ }
+ },
+ "domutils": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz",
+ "integrity": "sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=",
+ "requires": {
+ "dom-serializer": "0",
+ "domelementtype": "1"
+ }
+ },
+ "entities": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz",
+ "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w=="
+ }
}
},
"chokidar": {
- "version": "3.4.2",
- "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.4.2.tgz",
- "integrity": "sha512-IZHaDeBeI+sZJRX7lGcXsdzgvZqKv6sECqsbErJA4mHWfpRrD8B97kSFN4cQz6nGBGiuFia1MKR4d6c1o8Cv7A==",
+ "version": "3.4.3",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.4.3.tgz",
+ "integrity": "sha512-DtM3g7juCXQxFVSNPNByEC2+NImtBuxQQvWlHunpJIS5Ocr0lG306cC7FCi7cEA0fzmybPUIl4txBIobk1gGOQ==",
"requires": {
"anymatch": "~3.1.1",
"braces": "~3.0.2",
@@ -3487,7 +3452,7 @@
"is-binary-path": "~2.1.0",
"is-glob": "~4.0.1",
"normalize-path": "~3.0.0",
- "readdirp": "~3.4.0"
+ "readdirp": "~3.5.0"
}
},
"chownr": {
@@ -3501,6 +3466,13 @@
"integrity": "sha512-9e/zx1jw7B4CO+c/RXoCsfg/x1AfUBioy4owYH0bJprEYAx5hRFLRhWBqHAG57D0ZM4H7vxbP7bPe0VwhQRYDQ==",
"requires": {
"tslib": "^1.9.0"
+ },
+ "dependencies": {
+ "tslib": {
+ "version": "1.14.1",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",
+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="
+ }
}
},
"ci-info": {
@@ -3614,28 +3586,6 @@
}
}
},
- "clone-deep": {
- "version": "0.2.4",
- "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-0.2.4.tgz",
- "integrity": "sha1-TnPdCen7lxzDhnDF3O2cGJZIHMY=",
- "requires": {
- "for-own": "^0.1.3",
- "is-plain-object": "^2.0.1",
- "kind-of": "^3.0.2",
- "lazy-cache": "^1.0.3",
- "shallow-clone": "^0.1.2"
- },
- "dependencies": {
- "kind-of": {
- "version": "3.2.2",
- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
- "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
- "requires": {
- "is-buffer": "^1.1.5"
- }
- }
- }
- },
"clone-response": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz",
@@ -3686,12 +3636,12 @@
}
},
"color": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/color/-/color-3.1.2.tgz",
- "integrity": "sha512-vXTJhHebByxZn3lDvDJYw4lR5+uB3vuoHsuYA5AKuxRVn5wzzIfQKGLBmgdVRHKTJYeK5rvJcHnrd0Li49CFpg==",
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/color/-/color-3.1.3.tgz",
+ "integrity": "sha512-xgXAcTHa2HeFCGLE9Xs/R82hujGtu9Jd9x4NW3T34+OMs7VoPsjwzRczKHvTAHeJwWFwX5j15+MgAppE8ztObQ==",
"requires": {
"color-convert": "^1.9.1",
- "color-string": "^1.5.2"
+ "color-string": "^1.5.4"
}
},
"color-convert": {
@@ -3708,9 +3658,9 @@
"integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU="
},
"color-string": {
- "version": "1.5.3",
- "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.5.3.tgz",
- "integrity": "sha512-dC2C5qeWoYkxki5UAXapdjqO672AM4vZuPGRQfO8b5HKuKGBbKWpITyDYN7TOFKvRW7kOgAn3746clDBMDJyQw==",
+ "version": "1.5.4",
+ "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.5.4.tgz",
+ "integrity": "sha512-57yF5yt8Xa3czSEW1jfQDE79Idk0+AkN/4KWad6tbdxUmAs3MvjxlWSWD4deYytcRfoZ9nhKyFl1kj5tBvidbw==",
"requires": {
"color-name": "^1.0.0",
"simple-swizzle": "^0.2.2"
@@ -3834,16 +3784,6 @@
"unique-string": "^2.0.0",
"write-file-atomic": "^3.0.0",
"xdg-basedir": "^4.0.0"
- },
- "dependencies": {
- "make-dir": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz",
- "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==",
- "requires": {
- "semver": "^6.0.0"
- }
- }
}
},
"connect-history-api-fallback": {
@@ -3931,9 +3871,9 @@
"integrity": "sha512-WRvoIdnTs1rgPMkgA2pUOa/M4Enh2uzCwdKsOMYNAJiz/4ZvEJgmbF4OmninPmlFdAWisfeh0tH+Cpf7ni3RqQ=="
},
"copy-webpack-plugin": {
- "version": "6.1.0",
- "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-6.1.0.tgz",
- "integrity": "sha512-aWjIuLt1OVQxaDVffnt3bnGmLA8zGgAJaFwPA+a+QYVPh1vhIKjVfh3SbOFLV0kRPvGBITbw17n5CsmiBS4LQQ==",
+ "version": "6.4.0",
+ "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-6.4.0.tgz",
+ "integrity": "sha512-p4eIA0ZWk4UI+xewyxOBTDCSDfjK6nCkr3zhDenoi7SFd+NgDNH/D14IZeFaCEFcK/psNDcAUMOB+sAxZ3SsAA==",
"requires": {
"cacache": "^15.0.5",
"fast-glob": "^3.2.4",
@@ -3943,30 +3883,11 @@
"loader-utils": "^2.0.0",
"normalize-path": "^3.0.0",
"p-limit": "^3.0.2",
- "schema-utils": "^2.7.1",
- "serialize-javascript": "^4.0.0",
+ "schema-utils": "^3.0.0",
+ "serialize-javascript": "^5.0.1",
"webpack-sources": "^1.4.3"
},
"dependencies": {
- "find-cache-dir": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.1.tgz",
- "integrity": "sha512-t2GDMt3oGC/v+BMwzmllWDuJF/xcDtE5j/fCGbqDD7OLuJkj0cfh1YSA5VKPvwMeLFLNDBkwOKZ2X85jGLVftQ==",
- "requires": {
- "commondir": "^1.0.1",
- "make-dir": "^3.0.2",
- "pkg-dir": "^4.1.0"
- }
- },
- "find-up": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
- "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
- "requires": {
- "locate-path": "^5.0.0",
- "path-exists": "^4.0.0"
- }
- },
"globby": {
"version": "11.0.1",
"resolved": "https://registry.npmjs.org/globby/-/globby-11.0.1.tgz",
@@ -3980,74 +3901,37 @@
"slash": "^3.0.0"
}
},
- "locate-path": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
- "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
- "requires": {
- "p-locate": "^4.1.0"
- }
- },
- "make-dir": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz",
- "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==",
- "requires": {
- "semver": "^6.0.0"
- }
- },
"p-limit": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.0.2.tgz",
- "integrity": "sha512-iwqZSOoWIW+Ew4kAGUlN16J4M7OB3ysMLSZtnhmqx7njIHFPlxWBX8xo3lVTyFVq6mI/lL9qt2IsN1sHwaxJkg==",
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
+ "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
"requires": {
- "p-try": "^2.0.0"
+ "yocto-queue": "^0.1.0"
}
},
- "p-locate": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
- "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
+ "schema-utils": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.0.0.tgz",
+ "integrity": "sha512-6D82/xSzO094ajanoOSbe4YvXWMfn2A//8Y1+MUqFAJul5Bs+yn36xbK9OtNDcRVSBJ9jjeoXftM6CfztsjOAA==",
"requires": {
- "p-limit": "^2.2.0"
- },
- "dependencies": {
- "p-limit": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
- "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
- "requires": {
- "p-try": "^2.0.0"
- }
- }
- }
- },
- "path-exists": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
- "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w=="
- },
- "pkg-dir": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz",
- "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==",
- "requires": {
- "find-up": "^4.0.0"
+ "@types/json-schema": "^7.0.6",
+ "ajv": "^6.12.5",
+ "ajv-keywords": "^3.5.2"
}
}
}
},
"core-js": {
- "version": "2.6.11",
- "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.11.tgz",
- "integrity": "sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg=="
+ "version": "2.6.12",
+ "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz",
+ "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ=="
},
"core-js-compat": {
- "version": "3.6.5",
- "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.6.5.tgz",
- "integrity": "sha512-7ItTKOhOZbznhXAQ2g/slGg1PJV5zDO/WdkTwi7UEOJmkvsE32PWvx6mKtDjiMpjnR2CNf6BAD6sSxIlv7ptng==",
+ "version": "3.8.1",
+ "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.8.1.tgz",
+ "integrity": "sha512-a16TLmy9NVD1rkjUGbwuyWkiDoN0FDpAwrfLONvHFQx0D9k7J9y0srwMT8QP/Z6HE3MIFaVynEeYwZwPX1o5RQ==",
"requires": {
- "browserslist": "^4.8.5",
+ "browserslist": "^4.15.0",
"semver": "7.0.0"
},
"dependencies": {
@@ -4059,9 +3943,9 @@
}
},
"core-js-pure": {
- "version": "3.6.5",
- "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.6.5.tgz",
- "integrity": "sha512-lacdXOimsiD0QyNf9BC/mxivNJ/ybBGJXQFKzRekp1WTHoVUWsUHEn+2T8GJAzzIhyOuXA+gOxCVN3l+5PLPUA=="
+ "version": "3.8.1",
+ "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.8.1.tgz",
+ "integrity": "sha512-Se+LaxqXlVXGvmexKGPvnUIYC1jwXu1H6Pkyb3uBM5d8/NELMYCHs/4/roD7721NxrTLyv7e5nXd5/QLBO+10g=="
},
"core-util-is": {
"version": "1.0.2",
@@ -4069,15 +3953,15 @@
"integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
},
"cosmiconfig": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-6.0.0.tgz",
- "integrity": "sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg==",
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.0.tgz",
+ "integrity": "sha512-pondGvTuVYDk++upghXJabWzL6Kxu6f26ljFw64Swq9v6sQPUL3EUlVDV56diOjpCayKihL6hVe8exIACU4XcA==",
"requires": {
"@types/parse-json": "^4.0.0",
- "import-fresh": "^3.1.0",
+ "import-fresh": "^3.2.1",
"parse-json": "^5.0.0",
"path-type": "^4.0.0",
- "yaml": "^1.7.2"
+ "yaml": "^1.10.0"
}
},
"create-ecdh": {
@@ -4256,14 +4140,14 @@
}
},
"css-select": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/css-select/-/css-select-1.2.0.tgz",
- "integrity": "sha1-KzoRBTnFNV8c2NMUYj6HCxIeyFg=",
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/css-select/-/css-select-2.1.0.tgz",
+ "integrity": "sha512-Dqk7LQKpwLoH3VovzZnkzegqNSuAziQyNZUcrdDM401iY+R5NkGBXGmtO05/yaXQziALuPogeG0b7UAgjnTJTQ==",
"requires": {
- "boolbase": "~1.0.0",
- "css-what": "2.1",
- "domutils": "1.5.1",
- "nth-check": "~1.0.1"
+ "boolbase": "^1.0.0",
+ "css-what": "^3.2.1",
+ "domutils": "^1.7.0",
+ "nth-check": "^1.0.2"
}
},
"css-select-base-adapter": {
@@ -4288,9 +4172,9 @@
}
},
"css-what": {
- "version": "2.1.3",
- "resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.3.tgz",
- "integrity": "sha512-a+EPoD+uZiNfh+5fxw2nO9QwFa6nJe2Or35fGY6Ipw1R3R4AGz1d1TEZrCegvw2YTmZ0jXirGYlzxxpYSHwpEg=="
+ "version": "3.4.2",
+ "resolved": "https://registry.npmjs.org/css-what/-/css-what-3.4.2.tgz",
+ "integrity": "sha512-ACUm3L0/jiZTqfzRM3Hi9Q8eZqd6IK37mMWPLz9PJxkLWllYeRf+EHUSHYEtFop2Eqytaq1FizFVh7XfBnXCDQ=="
},
"cssdb": {
"version": "4.4.0",
@@ -4349,6 +4233,19 @@
}
}
},
+ "cssnano-preset-advanced": {
+ "version": "4.0.7",
+ "resolved": "https://registry.npmjs.org/cssnano-preset-advanced/-/cssnano-preset-advanced-4.0.7.tgz",
+ "integrity": "sha512-j1O5/DQnaAqEyFFQfC+Z/vRlLXL3LxJHN+lvsfYqr7KgPH74t69+Rsy2yXkovWNaJjZYBpdz2Fj8ab2nH7pZXw==",
+ "requires": {
+ "autoprefixer": "^9.4.7",
+ "cssnano-preset-default": "^4.0.7",
+ "postcss-discard-unused": "^4.0.1",
+ "postcss-merge-idents": "^4.0.1",
+ "postcss-reduce-idents": "^4.0.2",
+ "postcss-zindex": "^4.0.1"
+ }
+ },
"cssnano-preset-default": {
"version": "4.0.7",
"resolved": "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-4.0.7.tgz",
@@ -4410,26 +4307,26 @@
"integrity": "sha512-WcKx5OY+KoSIAxBW6UBBRay1U6vkYheCdjyVNDm85zt5K9mHoGOfsOsqIszfAqrQQFIIKgjh2+FDgIj/zsl21Q=="
},
"csso": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/csso/-/csso-4.0.3.tgz",
- "integrity": "sha512-NL3spysxUkcrOgnpsT4Xdl2aiEiBG6bXswAABQVHcMrfjjBisFOKwLDOmf4wf32aPdcJws1zds2B0Rg+jqMyHQ==",
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/csso/-/csso-4.2.0.tgz",
+ "integrity": "sha512-wvlcdIbf6pwKEk7vHj8/Bkc0B4ylXZruLvOgs9doS5eOsOpuodOV2zJChSpkp+pRpYQLQMeF04nr3Z68Sta9jA==",
"requires": {
- "css-tree": "1.0.0-alpha.39"
+ "css-tree": "^1.1.2"
},
"dependencies": {
"css-tree": {
- "version": "1.0.0-alpha.39",
- "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.0.0-alpha.39.tgz",
- "integrity": "sha512-7UvkEYgBAHRG9Nt980lYxjsTrCyHFN53ky3wVsDkiMdVqylqRt+Zc+jm5qw7/qyOvN2dHSYtX0e4MbCCExSvnA==",
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.1.2.tgz",
+ "integrity": "sha512-wCoWush5Aeo48GLhfHPbmvZs59Z+M7k5+B1xDnXbdWNcEF423DoFdqSWE0PM5aNk5nI5cp1q7ms36zGApY/sKQ==",
"requires": {
- "mdn-data": "2.0.6",
+ "mdn-data": "2.0.14",
"source-map": "^0.6.1"
}
},
"mdn-data": {
- "version": "2.0.6",
- "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.6.tgz",
- "integrity": "sha512-rQvjv71olwNHgiTbfPZFkJtjNMciWgswYeciZhtvWLO8bmX3TnhyA62I6sTWOyZssWHJJjY6/KiWwqQsWWsqOA=="
+ "version": "2.0.14",
+ "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.14.tgz",
+ "integrity": "sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow=="
},
"source-map": {
"version": "0.6.1",
@@ -4449,11 +4346,11 @@
"integrity": "sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk="
},
"debug": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
- "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
+ "version": "4.3.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz",
+ "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==",
"requires": {
- "ms": "^2.1.1"
+ "ms": "2.1.2"
}
},
"decamelize": {
@@ -4492,6 +4389,11 @@
"resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz",
"integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA=="
},
+ "deepmerge": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz",
+ "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg=="
+ },
"default-gateway": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/default-gateway/-/default-gateway-4.2.0.tgz",
@@ -4602,9 +4504,9 @@
"integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA="
},
"detab": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/detab/-/detab-2.0.3.tgz",
- "integrity": "sha512-Up8P0clUVwq0FnFjDclzZsy9PadzRn5FFxrr47tQQvMHqyiFYVbpH8oXDzWtF0Q7pYy3l+RPmtBl+BsFF6wH0A==",
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/detab/-/detab-2.0.4.tgz",
+ "integrity": "sha512-8zdsQA5bIkoRECvCrNKPla84lyoR7DSAyf7p0YgXzBO9PDJx8KntPUay7NS6yp+KdxdVtiE5SpHKtbp2ZQyA9g==",
"requires": {
"repeat-string": "^1.5.4"
}
@@ -4694,12 +4596,19 @@
}
},
"dom-serializer": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.1.tgz",
- "integrity": "sha512-l0IU0pPzLWSHBcieZbpOKgkIn3ts3vAh7ZuFyXNwJxJXk/c4Gwj9xaTJwIDVQCXawWD0qb3IzMGH5rglQaO0XA==",
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.2.2.tgz",
+ "integrity": "sha512-2/xPb3ORsQ42nHYiSunXkDjPLBaEj/xTwUO4B7XCZQTRk7EBtTOPaygh10YAAh2OI1Qrp6NWfpAhzswj0ydt9g==",
"requires": {
- "domelementtype": "^1.3.0",
- "entities": "^1.1.1"
+ "domelementtype": "^2.0.1",
+ "entities": "^2.0.0"
+ },
+ "dependencies": {
+ "domelementtype": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.1.0.tgz",
+ "integrity": "sha512-LsTgx/L5VpD+Q8lmsXSHW2WpA+eBlZ9HPf3erD1IoPF00/3JKHZ3BknUVA2QGDNu69ZNmyFmCWBSO45XjYKC5w=="
+ }
}
},
"domain-browser": {
@@ -4721,21 +4630,21 @@
}
},
"domutils": {
- "version": "1.5.1",
- "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz",
- "integrity": "sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=",
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.7.0.tgz",
+ "integrity": "sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg==",
"requires": {
"dom-serializer": "0",
"domelementtype": "1"
}
},
"dot-case": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/dot-case/-/dot-case-3.0.3.tgz",
- "integrity": "sha512-7hwEmg6RiSQfm/GwPL4AAWXKy3YNNZA3oFv2Pdiey0mwkRCPZ9x6SZbkLcn8Ma5PYeVokzoD4Twv2n7LKp5WeA==",
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/dot-case/-/dot-case-3.0.4.tgz",
+ "integrity": "sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==",
"requires": {
- "no-case": "^3.0.3",
- "tslib": "^1.10.0"
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
}
},
"dot-prop": {
@@ -4802,9 +4711,9 @@
"integrity": "sha512-7vmuyh5+kuUyJKePhQfRQBhXV5Ce+RnaeeQArKu1EAMpL3WbgMt5WG6uQZpEVvYSSsxMXRKOewtDk9RaTKXRlA=="
},
"electron-to-chromium": {
- "version": "1.3.564",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.564.tgz",
- "integrity": "sha512-fNaYN3EtKQWLQsrKXui8mzcryJXuA0LbCLoizeX6oayG2emBaS5MauKjCPAvc29NEY4FpLHIUWiP+Y0Bfrs5dg=="
+ "version": "1.3.619",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.619.tgz",
+ "integrity": "sha512-WFGatwtk7Fw0QcKCZzfGD72hvbcXV8kLY8aFuj0Ip0QRnOtyLYMsc+wXbSjb2w4lk1gcAeNU1/lQ20A+tvuypQ=="
},
"elliptic": {
"version": "6.5.3",
@@ -4917,9 +4826,9 @@
}
},
"entities": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz",
- "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w=="
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/entities/-/entities-2.1.0.tgz",
+ "integrity": "sha512-hCx1oky9PFrJ611mf0ifBLBRW8lUUVRlFolb5gWRfIELabBlbp9xZvrqZLZAs+NxFnbfQoeGd8wDkygjg7U85w=="
},
"errno": {
"version": "0.1.7",
@@ -4935,22 +4844,30 @@
"integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",
"requires": {
"is-arrayish": "^0.2.1"
+ },
+ "dependencies": {
+ "is-arrayish": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
+ "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0="
+ }
}
},
"es-abstract": {
- "version": "1.17.6",
- "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.6.tgz",
- "integrity": "sha512-Fr89bON3WFyUi5EvAeI48QTWX0AyekGgLA8H+c+7fbfCkJwRWRMLd8CQedNEyJuoYYhmtEqY92pgte1FAhBlhw==",
+ "version": "1.18.0-next.1",
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.1.tgz",
+ "integrity": "sha512-I4UGspA0wpZXWENrdA0uHbnhte683t3qT/1VFH9aX2dA5PPSf6QW5HHXf5HImaqPmjXaVeVk4RGWnaylmV7uAA==",
"requires": {
"es-to-primitive": "^1.2.1",
"function-bind": "^1.1.1",
"has": "^1.0.3",
"has-symbols": "^1.0.1",
- "is-callable": "^1.2.0",
- "is-regex": "^1.1.0",
- "object-inspect": "^1.7.0",
+ "is-callable": "^1.2.2",
+ "is-negative-zero": "^2.0.0",
+ "is-regex": "^1.1.1",
+ "object-inspect": "^1.8.0",
"object-keys": "^1.1.1",
- "object.assign": "^4.1.0",
+ "object.assign": "^4.1.1",
"string.prototype.trimend": "^1.0.1",
"string.prototype.trimstart": "^1.0.1"
}
@@ -4966,9 +4883,9 @@
}
},
"escalade": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.0.2.tgz",
- "integrity": "sha512-gPYAU37hYCUhW5euPeR+Y74F7BL+IBsV93j5cvGriSaD1aG6MGsqsV1yamRdrWrb2j3aiZvb0X+UBOWpx3JWtQ=="
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
+ "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw=="
},
"escape-goat": {
"version": "2.1.1",
@@ -5025,9 +4942,9 @@
"integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g=="
},
"eta": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/eta/-/eta-1.5.0.tgz",
- "integrity": "sha512-CFDr+ihDcMVQA5BI+dGrqu40JOOH9lcXXiOzz3ubFmUisXNK0W7rL5B4uF75LzUAdjTOUwq9bMHqnyULK7pUAQ=="
+ "version": "1.12.1",
+ "resolved": "https://registry.npmjs.org/eta/-/eta-1.12.1.tgz",
+ "integrity": "sha512-H8npoci2J/7XiPnVcCVulBSPsTNGvGaINyMjQDU8AFqp9LGsEYS88g2CiU+d01Sg44WtX7o4nb8wUJ9vnI+tiA=="
},
"etag": {
"version": "1.8.1",
@@ -5323,9 +5240,9 @@
}
},
"fastq": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.8.0.tgz",
- "integrity": "sha512-SMIZoZdLh/fgofivvIkmknUXyPnvxRE3DhtZ5Me3Mrsk5gyPL42F0xr51TdRXskBxHfMp+07bcYzfsYEsSQA9Q==",
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.9.0.tgz",
+ "integrity": "sha512-i7FVWL8HhVY+CTkwFxkN2mk3h+787ixS5S63eb78diVRc1MCssarHq3W5cj0av7YDSwmaV928RNag+U1etRQ7w==",
"requires": {
"reusify": "^1.0.4"
}
@@ -5389,20 +5306,26 @@
}
},
"file-loader": {
- "version": "6.1.0",
- "resolved": "https://registry.npmjs.org/file-loader/-/file-loader-6.1.0.tgz",
- "integrity": "sha512-26qPdHyTsArQ6gU4P1HJbAbnFTyT2r0pG7czh1GFAd9TZbj0n94wWbupgixZH/ET/meqi2/5+F7DhW4OAXD+Lg==",
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/file-loader/-/file-loader-6.2.0.tgz",
+ "integrity": "sha512-qo3glqyTa61Ytg4u73GultjHGjdRyig3tG6lPtyX/jOEJvHif9uB0/OCI2Kif6ctF3caQTW2G5gym21oAsI4pw==",
"requires": {
"loader-utils": "^2.0.0",
- "schema-utils": "^2.7.1"
+ "schema-utils": "^3.0.0"
+ },
+ "dependencies": {
+ "schema-utils": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.0.0.tgz",
+ "integrity": "sha512-6D82/xSzO094ajanoOSbe4YvXWMfn2A//8Y1+MUqFAJul5Bs+yn36xbK9OtNDcRVSBJ9jjeoXftM6CfztsjOAA==",
+ "requires": {
+ "@types/json-schema": "^7.0.6",
+ "ajv": "^6.12.5",
+ "ajv-keywords": "^3.5.2"
+ }
+ }
}
},
- "file-uri-to-path": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
- "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==",
- "optional": true
- },
"filesize": {
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/filesize/-/filesize-6.0.1.tgz",
@@ -5446,21 +5369,22 @@
}
},
"find-cache-dir": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz",
- "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==",
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.1.tgz",
+ "integrity": "sha512-t2GDMt3oGC/v+BMwzmllWDuJF/xcDtE5j/fCGbqDD7OLuJkj0cfh1YSA5VKPvwMeLFLNDBkwOKZ2X85jGLVftQ==",
"requires": {
"commondir": "^1.0.1",
- "make-dir": "^2.0.0",
- "pkg-dir": "^3.0.0"
+ "make-dir": "^3.0.2",
+ "pkg-dir": "^4.1.0"
}
},
"find-up": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
- "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
+ "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
"requires": {
- "locate-path": "^3.0.0"
+ "locate-path": "^5.0.0",
+ "path-exists": "^4.0.0"
}
},
"flatten": {
@@ -5511,23 +5435,33 @@
}
},
"follow-redirects": {
- "version": "1.13.0",
- "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.13.0.tgz",
- "integrity": "sha512-aq6gF1BEKje4a9i9+5jimNFIpq4Q1WiwBToeRK5NvZBd/TRsmW8BsJfOEGkr76TbOyPVD3OVDN910EcUNtRYEA=="
+ "version": "1.5.10",
+ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.10.tgz",
+ "integrity": "sha512-0V5l4Cizzvqt5D44aTXbFZz+FtyXV1vrDN6qrelxtfYQKW0KO0W2T/hkE8xvGa/540LkZlkaUjO4ailYTFtHVQ==",
+ "requires": {
+ "debug": "=3.1.0"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz",
+ "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==",
+ "requires": {
+ "ms": "2.0.0"
+ }
+ },
+ "ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
+ }
+ }
},
"for-in": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz",
"integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA="
},
- "for-own": {
- "version": "0.1.5",
- "resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz",
- "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=",
- "requires": {
- "for-in": "^1.0.1"
- }
- },
"fork-ts-checker-webpack-plugin": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-3.1.1.tgz",
@@ -5726,13 +5660,14 @@
}
},
"fs-extra": {
- "version": "8.1.0",
- "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz",
- "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==",
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.0.1.tgz",
+ "integrity": "sha512-h2iAoN838FqAFJY2/qVpzFXy+EBxfVE220PalAqQLDVsFOHLJrZvut5puAbCdNv6WJk+B8ihI+k0c7JK5erwqQ==",
"requires": {
+ "at-least-node": "^1.0.0",
"graceful-fs": "^4.2.0",
- "jsonfile": "^4.0.0",
- "universalify": "^0.1.0"
+ "jsonfile": "^6.0.1",
+ "universalify": "^1.0.0"
}
},
"fs-minipass": {
@@ -5795,15 +5730,25 @@
"integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
},
"gensync": {
- "version": "1.0.0-beta.1",
- "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.1.tgz",
- "integrity": "sha512-r8EC6NO1sngH/zdD9fiRDLdcgnbayXah+mLgManTaIZJqEC1MZstmnox8KpnI2/fxQwrp5OpCOYWLp4rBl4Jcg=="
+ "version": "1.0.0-beta.2",
+ "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
+ "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg=="
},
"get-caller-file": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
"integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg=="
},
+ "get-intrinsic": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.0.1.tgz",
+ "integrity": "sha512-ZnWP+AmS1VUaLgTRy47+zKtjTxz+0xMpx3I52i+aalBK1QP19ggLF3Db89KJX7kjfOfP2eoa01qc++GwPgufPg==",
+ "requires": {
+ "function-bind": "^1.1.1",
+ "has": "^1.0.3",
+ "has-symbols": "^1.0.1"
+ }
+ },
"get-own-enumerable-property-symbols": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz",
@@ -5969,6 +5914,13 @@
"requires": {
"duplexer": "^0.1.1",
"pify": "^4.0.1"
+ },
+ "dependencies": {
+ "pify": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",
+ "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g=="
+ }
}
},
"handle-thing": {
@@ -6088,9 +6040,9 @@
}
},
"hast-to-hyperscript": {
- "version": "9.0.0",
- "resolved": "https://registry.npmjs.org/hast-to-hyperscript/-/hast-to-hyperscript-9.0.0.tgz",
- "integrity": "sha512-NJvMYU3GlMLs7hN3CRbsNlMzusVNkYBogVWDGybsuuVQ336gFLiD+q9qtFZT2meSHzln3pNISZWTASWothMSMg==",
+ "version": "9.0.1",
+ "resolved": "https://registry.npmjs.org/hast-to-hyperscript/-/hast-to-hyperscript-9.0.1.tgz",
+ "integrity": "sha512-zQgLKqF+O2F72S1aa4y2ivxzSlko3MAvxkwG8ehGmNiqd98BIN3JM1rAJPmplEyLmGLO2QZYJtIneOSZ2YbJuA==",
"requires": {
"@types/unist": "^2.0.3",
"comma-separated-tokens": "^1.0.0",
@@ -6102,27 +6054,27 @@
}
},
"hast-util-from-parse5": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/hast-util-from-parse5/-/hast-util-from-parse5-6.0.0.tgz",
- "integrity": "sha512-3ZYnfKenbbkhhNdmOQqgH10vnvPivTdsOJCri+APn0Kty+nRkDHArnaX9Hiaf8H+Ig+vkNptL+SRY/6RwWJk1Q==",
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/hast-util-from-parse5/-/hast-util-from-parse5-6.0.1.tgz",
+ "integrity": "sha512-jeJUWiN5pSxW12Rh01smtVkZgZr33wBokLzKLwinYOUfSzm1Nl/c3GUGebDyOKjdsRgMvoVbV0VpAcpjF4NrJA==",
"requires": {
"@types/parse5": "^5.0.0",
- "ccount": "^1.0.0",
- "hastscript": "^5.0.0",
+ "hastscript": "^6.0.0",
"property-information": "^5.0.0",
"vfile": "^4.0.0",
+ "vfile-location": "^3.2.0",
"web-namespaces": "^1.0.0"
}
},
"hast-util-parse-selector": {
- "version": "2.2.4",
- "resolved": "https://registry.npmjs.org/hast-util-parse-selector/-/hast-util-parse-selector-2.2.4.tgz",
- "integrity": "sha512-gW3sxfynIvZApL4L07wryYF4+C9VvH3AUi7LAnVXV4MneGEgwOByXvFo18BgmTWnm7oHAe874jKbIB1YhHSIzA=="
+ "version": "2.2.5",
+ "resolved": "https://registry.npmjs.org/hast-util-parse-selector/-/hast-util-parse-selector-2.2.5.tgz",
+ "integrity": "sha512-7j6mrk/qqkSehsM92wQjdIgWM2/BW61u/53G6xmC8i1OmEdKLHbk419QKQUjz6LglWsfqoiHmyMRkP1BGjecNQ=="
},
"hast-util-raw": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/hast-util-raw/-/hast-util-raw-6.0.0.tgz",
- "integrity": "sha512-IQo6tv3bMMKxk53DljswliucCJOQxaZFCuKEJ7X80249dmJ1nA9LtOnnylsLlqTG98NjQ+iGcoLAYo9q5FRhRg==",
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/hast-util-raw/-/hast-util-raw-6.0.1.tgz",
+ "integrity": "sha512-ZMuiYA+UF7BXBtsTBNcLBF5HzXzkyE6MLzJnL605LKE8GJylNjGc4jjxazAHUtcwT5/CEt6afRKViYB4X66dig==",
"requires": {
"@types/hast": "^2.0.0",
"hast-util-from-parse5": "^6.0.0",
@@ -6149,10 +6101,11 @@
}
},
"hastscript": {
- "version": "5.1.2",
- "resolved": "https://registry.npmjs.org/hastscript/-/hastscript-5.1.2.tgz",
- "integrity": "sha512-WlztFuK+Lrvi3EggsqOkQ52rKbxkXL3RwB6t5lwoa8QLMemoWfBuL43eDrwOamJyR7uKQKdmKYaBH1NZBiIRrQ==",
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/hastscript/-/hastscript-6.0.0.tgz",
+ "integrity": "sha512-nDM6bvd7lIqDUiYEiu5Sl/+6ReP0BMk/2f4U/Rooccxkj0P5nm+acM5PrGJ/t5I8qPGiqZSE6hVAwZEdZIvP4w==",
"requires": {
+ "@types/hast": "^2.0.0",
"comma-separated-tokens": "^1.0.0",
"hast-util-parse-selector": "^2.0.0",
"property-information": "^5.0.0",
@@ -6285,9 +6238,9 @@
"integrity": "sha512-uE/TxKuyNIcx44cIWnjr/rfIATDH7ZaOMmstu0CwhFG1Dunhlp4OC6/NMbhiwoq5BpW0ubi303qnEk/PZj614w=="
},
"html-webpack-plugin": {
- "version": "4.4.1",
- "resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-4.4.1.tgz",
- "integrity": "sha512-nEtdEIsIGXdXGG7MjTTZlmhqhpHU9pJFc1OYxcP36c5/ZKP6b0BJMww2QTvJGQYA9aMxUnjDujpZdYcVOXiBCQ==",
+ "version": "4.5.0",
+ "resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-4.5.0.tgz",
+ "integrity": "sha512-MouoXEYSjTzCrjIxWwg8gxL5fE2X2WZJLmBYXlaJhQUH5K/b5OrqmV7T4dB7iu0xkmJ6JlUuV6fFVtnqbPopZw==",
"requires": {
"@types/html-minifier-terser": "^5.0.0",
"@types/tapable": "^1.0.5",
@@ -6340,6 +6293,13 @@
"entities": "^1.1.1",
"inherits": "^2.0.1",
"readable-stream": "^3.1.1"
+ },
+ "dependencies": {
+ "entities": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz",
+ "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w=="
+ }
}
},
"http-cache-semantics": {
@@ -6535,9 +6495,9 @@
}
},
"ieee754": {
- "version": "1.1.13",
- "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz",
- "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg=="
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
+ "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA=="
},
"iferr": {
"version": "0.1.5",
@@ -6563,9 +6523,9 @@
}
},
"import-fresh": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz",
- "integrity": "sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ==",
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.2.tgz",
+ "integrity": "sha512-cTPNrlvJT6twpYy+YmKUKrTSjWFs3bjYjAhCwm+z4EOCubZxAuO+hHpRN64TqjEaYSHs7tJAE0w1CKMGmsG/lw==",
"requires": {
"parent-module": "^1.0.0",
"resolve-from": "^4.0.0"
@@ -6598,6 +6558,46 @@
"requires": {
"pkg-dir": "^3.0.0",
"resolve-cwd": "^2.0.0"
+ },
+ "dependencies": {
+ "find-up": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
+ "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
+ "requires": {
+ "locate-path": "^3.0.0"
+ }
+ },
+ "locate-path": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
+ "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
+ "requires": {
+ "p-locate": "^3.0.0",
+ "path-exists": "^3.0.0"
+ }
+ },
+ "p-locate": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
+ "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
+ "requires": {
+ "p-limit": "^2.0.0"
+ }
+ },
+ "path-exists": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
+ "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU="
+ },
+ "pkg-dir": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz",
+ "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==",
+ "requires": {
+ "find-up": "^3.0.0"
+ }
+ }
}
},
"imurmurhash": {
@@ -6621,9 +6621,9 @@
"integrity": "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A=="
},
"infima": {
- "version": "0.2.0-alpha.12",
- "resolved": "https://registry.npmjs.org/infima/-/infima-0.2.0-alpha.12.tgz",
- "integrity": "sha512-in5n36oE2sdiB/1rzuzdmKyuNRMVUO9P+qUidUG8leHeDU+WMQ7oTP7MXSqtAAxduiPb7HHi0/ptQLLUr/ge4w=="
+ "version": "0.2.0-alpha.18",
+ "resolved": "https://registry.npmjs.org/infima/-/infima-0.2.0-alpha.18.tgz",
+ "integrity": "sha512-ndSEffXzjgM/eiSm5jpLTX6ON9MmylzxqBnV2bTiC3kCSyDYdvzTs+bSwf+C4TWayuqnRTnBK1JUePo3m6Bnfg=="
},
"inflight": {
"version": "1.0.6",
@@ -6675,11 +6675,10 @@
"integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg=="
},
"ansi-styles": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
- "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"requires": {
- "@types/color-name": "^1.1.1",
"color-convert": "^2.0.1"
}
},
@@ -6742,14 +6741,6 @@
"resolved": "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz",
"integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA=="
},
- "invariant": {
- "version": "2.2.4",
- "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz",
- "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==",
- "requires": {
- "loose-envify": "^1.0.0"
- }
- },
"ip": {
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz",
@@ -6803,14 +6794,17 @@
}
},
"is-arguments": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.0.4.tgz",
- "integrity": "sha512-xPh0Rmt8NE65sNzvyUmWgI1tz3mKq74lGA0mL8LYZcoIzKOzDh6HmrYm3d18k60nHerC8A9Km8kYu87zfSFnLA=="
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.0.tgz",
+ "integrity": "sha512-1Ij4lOMPl/xB5kBDn7I+b2ttPMKa8szhEIrXDuXQD/oe3HJLTLhqhgGspwgyGd6MOywBUqVvYicF72lkgDnIHg==",
+ "requires": {
+ "call-bind": "^1.0.0"
+ }
},
"is-arrayish": {
- "version": "0.2.1",
- "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
- "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0="
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz",
+ "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ=="
},
"is-binary-path": {
"version": "2.1.0",
@@ -6826,9 +6820,9 @@
"integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w=="
},
"is-callable": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.0.tgz",
- "integrity": "sha512-pyVD9AaGLxtg6srb2Ng6ynWJqkHU9bEM087AKck0w8QwDarTfNcpIYoU8x8Hv2Icm8u6kFJM18Dag8lyqGkviw=="
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.2.tgz",
+ "integrity": "sha512-dnMqspv5nU3LoewK2N/y7KLtxtakvTuaCsU9FU50/QDmdbHNy/4/JuRtMHqRU22o3q+W89YQndQEeCVwK+3qrA=="
},
"is-ci": {
"version": "2.0.0",
@@ -6858,6 +6852,14 @@
"rgba-regex": "^1.0.0"
}
},
+ "is-core-module": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.2.0.tgz",
+ "integrity": "sha512-XRAfAdyyY5F5cOXn7hYQDqh2Xmii+DEfIcQGxK/uNwMHhIkPWO0g8msXcbzLe+MpGoR951MlqM/2iIlU4vKDdQ==",
+ "requires": {
+ "has": "^1.0.3"
+ }
+ },
"is-data-descriptor": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz",
@@ -6950,6 +6952,11 @@
"is-path-inside": "^3.0.1"
}
},
+ "is-negative-zero": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz",
+ "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w=="
+ },
"is-npm": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/is-npm/-/is-npm-4.0.0.tgz",
@@ -7108,9 +7115,9 @@
}
},
"jest-worker": {
- "version": "26.3.0",
- "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.3.0.tgz",
- "integrity": "sha512-Vmpn2F6IASefL+DVBhPzI2J9/GJUsqzomdeN+P+dK8/jKxbh8R3BtFnx3FIta7wYlPU62cpJMJQo4kuOowcMnw==",
+ "version": "26.6.2",
+ "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz",
+ "integrity": "sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==",
"requires": {
"@types/node": "*",
"merge-stream": "^2.0.0",
@@ -7132,15 +7139,27 @@
}
}
},
+ "joi": {
+ "version": "17.3.0",
+ "resolved": "https://registry.npmjs.org/joi/-/joi-17.3.0.tgz",
+ "integrity": "sha512-Qh5gdU6niuYbUIUV5ejbsMiiFmBdw8Kcp8Buj2JntszCkCfxJ9Cz76OtHxOZMPXrt5810iDIXs+n1nNVoquHgg==",
+ "requires": {
+ "@hapi/hoek": "^9.0.0",
+ "@hapi/topo": "^5.0.0",
+ "@sideway/address": "^4.1.0",
+ "@sideway/formula": "^3.0.0",
+ "@sideway/pinpoint": "^2.0.0"
+ }
+ },
"js-tokens": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
"integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
},
"js-yaml": {
- "version": "3.14.0",
- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.0.tgz",
- "integrity": "sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A==",
+ "version": "3.14.1",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz",
+ "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==",
"requires": {
"argparse": "^1.0.7",
"esprima": "^4.0.0"
@@ -7185,11 +7204,19 @@
}
},
"jsonfile": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz",
- "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=",
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",
+ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
"requires": {
- "graceful-fs": "^4.1.6"
+ "graceful-fs": "^4.1.6",
+ "universalify": "^2.0.0"
+ },
+ "dependencies": {
+ "universalify": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz",
+ "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ=="
+ }
}
},
"keyv": {
@@ -7227,24 +7254,11 @@
"package-json": "^6.3.0"
}
},
- "lazy-cache": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz",
- "integrity": "sha1-odePw6UEdMuAhF07O24dpJpEbo4="
- },
"leven": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz",
"integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A=="
},
- "levenary": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/levenary/-/levenary-1.1.1.tgz",
- "integrity": "sha512-mkAdOIt79FD6irqjYSs4rdbnlT5vRonMEvBVPVb3XmevfS8kgRXwfes0dhPdEtzTWD/1eNE/Bm/G1iRt6DcnQQ==",
- "requires": {
- "leven": "^3.1.0"
- }
- },
"lines-and-columns": {
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz",
@@ -7266,12 +7280,11 @@
}
},
"locate-path": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
- "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
+ "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
"requires": {
- "p-locate": "^3.0.0",
- "path-exists": "^3.0.0"
+ "p-locate": "^4.1.0"
}
},
"lodash": {
@@ -7442,9 +7455,9 @@
"integrity": "sha1-0CJTc662Uq3BvILklFM5qEJ1R3M="
},
"loglevel": {
- "version": "1.7.0",
- "resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.7.0.tgz",
- "integrity": "sha512-i2sY04nal5jDcagM3FMfG++T69GEEM8CYuOfeOIvmXzOIcwE9a/CJPR0MFM97pYMj/u10lzz7/zd7+qwhrBTqQ=="
+ "version": "1.7.1",
+ "resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.7.1.tgz",
+ "integrity": "sha512-Hesni4s5UkWkwCGJMQGAh71PaLUmKFM60dHvq0zi/vDhhrzuk+4GgNbTXJ12YYQJn6ZKBDNIjYcuQGKudvqrIw=="
},
"loose-envify": {
"version": "1.4.0",
@@ -7455,11 +7468,11 @@
}
},
"lower-case": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.1.tgz",
- "integrity": "sha512-LiWgfDLLb1dwbFQZsSglpRj+1ctGnayXz3Uv0/WO8n558JycT5fg6zkNcnW0G68Nn0aEldTFeEfmjCfmqry/rQ==",
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
+ "integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
"requires": {
- "tslib": "^1.10.0"
+ "tslib": "^2.0.3"
}
},
"lowercase-keys": {
@@ -7476,19 +7489,11 @@
}
},
"make-dir": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz",
- "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==",
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz",
+ "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==",
"requires": {
- "pify": "^4.0.1",
- "semver": "^5.6.0"
- },
- "dependencies": {
- "semver": {
- "version": "5.7.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
- "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ=="
- }
+ "semver": "^6.0.0"
}
},
"map-cache": {
@@ -7528,25 +7533,22 @@
}
},
"mdast-util-definitions": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/mdast-util-definitions/-/mdast-util-definitions-3.0.1.tgz",
- "integrity": "sha512-BAv2iUm/e6IK/b2/t+Fx69EL/AGcq/IG2S+HxHjDJGfLJtd6i9SZUS76aC9cig+IEucsqxKTR0ot3m933R3iuA==",
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/mdast-util-definitions/-/mdast-util-definitions-4.0.0.tgz",
+ "integrity": "sha512-k8AJ6aNnUkB7IE+5azR9h81O5EQ/cTDXtWdMq9Kk5KcEW/8ritU5CeLg/9HhOC++nALHBlaogJ5jz0Ybk3kPMQ==",
"requires": {
"unist-util-visit": "^2.0.0"
}
},
"mdast-util-to-hast": {
- "version": "9.1.0",
- "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-9.1.0.tgz",
- "integrity": "sha512-Akl2Vi9y9cSdr19/Dfu58PVwifPXuFt1IrHe7l+Crme1KvgUT+5z+cHLVcQVGCiNTZZcdqjnuv9vPkGsqWytWA==",
+ "version": "10.0.1",
+ "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-10.0.1.tgz",
+ "integrity": "sha512-BW3LM9SEMnjf4HXXVApZMt8gLQWVNXc3jryK0nJu/rOXPOnlkUjmdkDlmxMirpbU9ILncGFIwLH/ubnWBbcdgA==",
"requires": {
"@types/mdast": "^3.0.0",
- "@types/unist": "^2.0.3",
- "collapse-white-space": "^1.0.0",
- "detab": "^2.0.0",
- "mdast-util-definitions": "^3.0.0",
+ "@types/unist": "^2.0.0",
+ "mdast-util-definitions": "^4.0.0",
"mdurl": "^1.0.0",
- "trim-lines": "^1.0.0",
"unist-builder": "^2.0.0",
"unist-util-generated": "^1.0.0",
"unist-util-position": "^3.0.0",
@@ -7606,26 +7608,6 @@
}
}
},
- "merge-deep": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/merge-deep/-/merge-deep-3.0.2.tgz",
- "integrity": "sha512-T7qC8kg4Zoti1cFd8Cr0M+qaZfOwjlPDEdZIIPPB2JZctjaPM4fX+i7HOId69tAti2fvO6X5ldfYUONDODsrkA==",
- "requires": {
- "arr-union": "^3.1.0",
- "clone-deep": "^0.2.4",
- "kind-of": "^3.0.2"
- },
- "dependencies": {
- "kind-of": {
- "version": "3.2.2",
- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
- "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
- "requires": {
- "is-buffer": "^1.1.5"
- }
- }
- }
- },
"merge-descriptors": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz",
@@ -7705,11 +7687,11 @@
"integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ=="
},
"mini-create-react-context": {
- "version": "0.4.0",
- "resolved": "https://registry.npmjs.org/mini-create-react-context/-/mini-create-react-context-0.4.0.tgz",
- "integrity": "sha512-b0TytUgFSbgFJGzJqXPKCFCBWigAjpjo+Fl7Vf7ZbKRDptszpppKxXH6DRXEABZ/gcEQczeb0iZ7JvL8e8jjCA==",
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/mini-create-react-context/-/mini-create-react-context-0.4.1.tgz",
+ "integrity": "sha512-YWCYEmd5CQeHGSAKrYvXgmzzkrvssZcuuQDDeqkT+PziKGMgE+0MCCtcKbROzocGBG1meBLl2FotlRwf4gAzbQ==",
"requires": {
- "@babel/runtime": "^7.5.5",
+ "@babel/runtime": "^7.12.1",
"tiny-warning": "^1.0.3"
}
},
@@ -7742,6 +7724,17 @@
"json5": "^1.0.1"
}
},
+ "normalize-url": {
+ "version": "1.9.1",
+ "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-1.9.1.tgz",
+ "integrity": "sha1-LMDWazHqIwNkWENuNiDYWVTGbDw=",
+ "requires": {
+ "object-assign": "^4.0.1",
+ "prepend-http": "^1.0.0",
+ "query-string": "^4.1.0",
+ "sort-keys": "^1.0.0"
+ }
+ },
"schema-utils": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz",
@@ -7854,22 +7847,6 @@
}
}
},
- "mixin-object": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/mixin-object/-/mixin-object-2.0.1.tgz",
- "integrity": "sha1-T7lJRB2rGCVA8f4DW6YOGUel5X4=",
- "requires": {
- "for-in": "^0.1.3",
- "is-extendable": "^0.1.1"
- },
- "dependencies": {
- "for-in": {
- "version": "0.1.8",
- "resolved": "https://registry.npmjs.org/for-in/-/for-in-0.1.8.tgz",
- "integrity": "sha1-2Hc5COMSVhCZUrH9ubP6hn0ndeE="
- }
- }
- },
"mkdirp": {
"version": "0.5.5",
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz",
@@ -7925,12 +7902,6 @@
"resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz",
"integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA=="
},
- "nan": {
- "version": "2.14.1",
- "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.1.tgz",
- "integrity": "sha512-isWHgVjnFjh2x2yuJ/tj3JbwoHu3UC2dX5G/88Cm24yB6YopVgxvBObDY7n5xW6ExmFhJpSEQqFPvq9zaXc8Jw==",
- "optional": true
- },
"nanomatch": {
"version": "1.2.13",
"resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz",
@@ -7984,12 +7955,12 @@
"integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ=="
},
"no-case": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.3.tgz",
- "integrity": "sha512-ehY/mVQCf9BL0gKfsJBvFJen+1V//U+0HQMPrWct40ixE4jnv0bfvxDbWtAHL9EcaPEOJHVVYKoQn1TlZUB8Tw==",
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
+ "integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
"requires": {
- "lower-case": "^2.0.1",
- "tslib": "^1.10.0"
+ "lower-case": "^2.0.2",
+ "tslib": "^2.0.3"
}
},
"node-emoji": {
@@ -8010,9 +7981,9 @@
}
},
"node-forge": {
- "version": "0.9.0",
- "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.9.0.tgz",
- "integrity": "sha512-7ASaDa3pD+lJ3WvXFsxekJQelBKRpne+GOVbLbtHYdd7pFspyeuJHnWfLplGf3SwKGbfs/aYl5V/JCIaHVUKKQ=="
+ "version": "0.10.0",
+ "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz",
+ "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA=="
},
"node-libs-browser": {
"version": "2.2.1",
@@ -8071,9 +8042,9 @@
}
},
"node-releases": {
- "version": "1.1.61",
- "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.61.tgz",
- "integrity": "sha512-DD5vebQLg8jLCOzwupn954fbIiZht05DAZs0k2u8NStSe6h9XdsuIQL8hSRKYiU8WUQRznmSDrKGbv3ObOmC7g=="
+ "version": "1.1.67",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.67.tgz",
+ "integrity": "sha512-V5QF9noGFl3EymEwUYzO+3NTDpGfQB4ve6Qfnzf3UNydMhjQRVPR1DZTuvWiLzaFJYw2fmDwAfnRNEVb64hSIg=="
},
"normalize-path": {
"version": "3.0.0",
@@ -8086,15 +8057,9 @@
"integrity": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI="
},
"normalize-url": {
- "version": "1.9.1",
- "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-1.9.1.tgz",
- "integrity": "sha1-LMDWazHqIwNkWENuNiDYWVTGbDw=",
- "requires": {
- "object-assign": "^4.0.1",
- "prepend-http": "^1.0.0",
- "query-string": "^4.1.0",
- "sort-keys": "^1.0.0"
- }
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-3.3.0.tgz",
+ "integrity": "sha512-U+JJi7duF1o+u2pynbp2zXDW2/PADgC30f0GsHZtRh+HOcXHnw137TrNlyxxRvWW5fjKd3bcLHPxofWuCjaeZg=="
},
"npm-run-path": {
"version": "2.0.2",
@@ -8202,17 +8167,17 @@
}
},
"object-inspect": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.8.0.tgz",
- "integrity": "sha512-jLdtEOB112fORuypAyl/50VRVIBIdVQOSUUGQHzJ4xBSbit81zRarz7GThkEFZy1RceYrWYcPcBFPQwHyAc1gA=="
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.9.0.tgz",
+ "integrity": "sha512-i3Bp9iTqwhaLZBxGkRfo5ZbE07BQRT7MGu8+nNgwW9ItGp1TzCTw2DLEoWwjClxBjOFI/hWljTAmYGCEwmtnOw=="
},
"object-is": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.2.tgz",
- "integrity": "sha512-5lHCz+0uufF6wZ7CRFWJN3hp8Jqblpgve06U5CMQ3f//6iDjPr2PEo9MWCjEssDsa+UZEL4PkFpr+BMop6aKzQ==",
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.4.tgz",
+ "integrity": "sha512-1ZvAZ4wlF7IyPVOcE1Omikt7UpaFlOQq0HlSti+ZvDH3UiD2brwGMwDbyV43jao2bKJ+4+WdPJHSd7kgzKYVqg==",
"requires": {
- "define-properties": "^1.1.3",
- "es-abstract": "^1.17.5"
+ "call-bind": "^1.0.0",
+ "define-properties": "^1.1.3"
}
},
"object-keys": {
@@ -8229,23 +8194,24 @@
}
},
"object.assign": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz",
- "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==",
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz",
+ "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==",
"requires": {
- "define-properties": "^1.1.2",
- "function-bind": "^1.1.1",
- "has-symbols": "^1.0.0",
- "object-keys": "^1.0.11"
+ "call-bind": "^1.0.0",
+ "define-properties": "^1.1.3",
+ "has-symbols": "^1.0.1",
+ "object-keys": "^1.1.1"
}
},
"object.getownpropertydescriptors": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.0.tgz",
- "integrity": "sha512-Z53Oah9A3TdLoblT7VKJaTDdXdT+lQO+cNpKVnya5JDe9uLvzu1YyY1yFDFrcxrlRgWrEFH0jJtD/IbuwjcEVg==",
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.1.tgz",
+ "integrity": "sha512-6DtXgZ/lIZ9hqx4GtZETobXLR/ZLaa0aqV0kzbn80Rf8Z2e/XFnhA0I7p07N2wH8bBBltr2xQPi6sbKWAY2Eng==",
"requires": {
+ "call-bind": "^1.0.0",
"define-properties": "^1.1.3",
- "es-abstract": "^1.17.0-next.1"
+ "es-abstract": "^1.18.0-next.1"
}
},
"object.pick": {
@@ -8257,13 +8223,13 @@
}
},
"object.values": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.1.tgz",
- "integrity": "sha512-WTa54g2K8iu0kmS/us18jEmdv1a4Wi//BZ/DTVYEcH0XhLM5NYdpDHja3gt57VrZLcNAO2WGA+KpWsDBaHt6eA==",
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.2.tgz",
+ "integrity": "sha512-MYC0jvJopr8EK6dPBiO8Nb9mvjdypOachO5REGk6MXzujbBrAisKo3HmdEI6kZDL6fC31Mwee/5YbtMebixeag==",
"requires": {
+ "call-bind": "^1.0.0",
"define-properties": "^1.1.3",
- "es-abstract": "^1.17.0-next.1",
- "function-bind": "^1.1.1",
+ "es-abstract": "^1.18.0-next.1",
"has": "^1.0.3"
}
},
@@ -8302,9 +8268,9 @@
}
},
"open": {
- "version": "7.2.1",
- "resolved": "https://registry.npmjs.org/open/-/open-7.2.1.tgz",
- "integrity": "sha512-xbYCJib4spUdmcs0g/2mK1nKo/jO2T7INClWd/beL7PFkXRWgr8B23ssDHX/USPn2M2IjDR5UdpYs6I67SnTSA==",
+ "version": "7.3.0",
+ "resolved": "https://registry.npmjs.org/open/-/open-7.3.0.tgz",
+ "integrity": "sha512-mgLwQIx2F/ye9SmbrUkurZCnkoXyXyu9EbHtJZrICjVAJfyMArdHp3KkixGdZx1ZHFPNIwl0DDM1dFFqXbTLZw==",
"requires": {
"is-docker": "^2.0.0",
"is-wsl": "^2.1.1"
@@ -8376,11 +8342,11 @@
}
},
"p-locate": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
- "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
+ "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
"requires": {
- "p-limit": "^2.0.0"
+ "p-limit": "^2.2.0"
}
},
"p-map": {
@@ -8455,12 +8421,12 @@
}
},
"param-case": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/param-case/-/param-case-3.0.3.tgz",
- "integrity": "sha512-VWBVyimc1+QrzappRs7waeN2YmoZFCGXWASRYX1/rGHtXqEcrGEIDm+jqIwFa2fRXNgQEwrxaYuIrX0WcAguTA==",
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/param-case/-/param-case-3.0.4.tgz",
+ "integrity": "sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A==",
"requires": {
- "dot-case": "^3.0.3",
- "tslib": "^1.10.0"
+ "dot-case": "^3.0.4",
+ "tslib": "^2.0.3"
}
},
"parent-module": {
@@ -8508,9 +8474,9 @@
}
},
"parse-numeric-range": {
- "version": "0.0.2",
- "resolved": "https://registry.npmjs.org/parse-numeric-range/-/parse-numeric-range-0.0.2.tgz",
- "integrity": "sha1-tPCdQTx6282Yf26SM8e0shDJOOQ="
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/parse-numeric-range/-/parse-numeric-range-1.2.0.tgz",
+ "integrity": "sha512-1q2tXpAOplPxcl8vrIGPWz1dJxxfmdRkCFcpxxMBerDnGuuHalOWF/xj9L8Nn5XoTUoB/6F0CeQBp2fMgkOYFg=="
},
"parse5": {
"version": "6.0.1",
@@ -8523,12 +8489,12 @@
"integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ=="
},
"pascal-case": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.1.tgz",
- "integrity": "sha512-XIeHKqIrsquVTQL2crjq3NfJUxmdLasn3TYOU0VBM+UX2a6ztAWBlJQBePLGY7VHW8+2dRadeIPK5+KImwTxQA==",
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
+ "integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
"requires": {
- "no-case": "^3.0.3",
- "tslib": "^1.10.0"
+ "no-case": "^3.0.4",
+ "tslib": "^2.0.3"
}
},
"pascalcase": {
@@ -8547,9 +8513,9 @@
"integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA="
},
"path-exists": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
- "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU="
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w=="
},
"path-is-absolute": {
"version": "1.0.1",
@@ -8599,9 +8565,9 @@
"integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg=="
},
"pify": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",
- "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g=="
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
+ "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY="
},
"pinkie": {
"version": "2.0.4",
@@ -8617,11 +8583,11 @@
}
},
"pkg-dir": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz",
- "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==",
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz",
+ "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==",
"requires": {
- "find-up": "^3.0.0"
+ "find-up": "^4.0.0"
}
},
"pkg-up": {
@@ -8630,6 +8596,38 @@
"integrity": "sha512-nDywThFk1i4BQK4twPQ6TA4RT8bDY96yeuCVBWL3ePARCiEKDRSrNGbFIgUJpLp+XeIR65v8ra7WuJOFUBtkMA==",
"requires": {
"find-up": "^3.0.0"
+ },
+ "dependencies": {
+ "find-up": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
+ "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
+ "requires": {
+ "locate-path": "^3.0.0"
+ }
+ },
+ "locate-path": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
+ "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
+ "requires": {
+ "p-locate": "^3.0.0",
+ "path-exists": "^3.0.0"
+ }
+ },
+ "p-locate": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
+ "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
+ "requires": {
+ "p-limit": "^2.0.0"
+ }
+ },
+ "path-exists": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
+ "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU="
+ }
}
},
"pnp-webpack-plugin": {
@@ -8651,9 +8649,9 @@
},
"dependencies": {
"debug": {
- "version": "3.2.6",
- "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz",
- "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==",
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
+ "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
"requires": {
"ms": "^2.1.1"
}
@@ -8666,9 +8664,9 @@
"integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs="
},
"postcss": {
- "version": "7.0.32",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.32.tgz",
- "integrity": "sha512-03eXong5NLnNCD05xscnGKGDZ98CyzoqPSMjOe6SuoQY7Z2hIj0Ld1g/O/UQRuOle2aRtiIRDg9tDcTGAkLfKw==",
+ "version": "7.0.35",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz",
+ "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==",
"requires": {
"chalk": "^2.4.2",
"source-map": "^0.6.1",
@@ -8720,9 +8718,9 @@
}
},
"postcss-calc": {
- "version": "7.0.4",
- "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-7.0.4.tgz",
- "integrity": "sha512-0I79VRAd1UTkaHzY9w83P39YGO/M3bG7/tNLrHGEunBolfoGM0hSjrGvjoeaj0JE/zIw5GsI2KZ0UwDJqv5hjw==",
+ "version": "7.0.5",
+ "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-7.0.5.tgz",
+ "integrity": "sha512-1tKHutbGtLtEZF6PT4JSihCHfIVldU72mZ8SdZHIYriIZ9fh9k9aWSppaT8rHsyI3dX+KSR+W+Ix9BMY3AODrg==",
"requires": {
"postcss": "^7.0.27",
"postcss-selector-parser": "^6.0.2",
@@ -8795,6 +8793,15 @@
}
}
},
+ "postcss-combine-duplicated-selectors": {
+ "version": "9.4.0",
+ "resolved": "https://registry.npmjs.org/postcss-combine-duplicated-selectors/-/postcss-combine-duplicated-selectors-9.4.0.tgz",
+ "integrity": "sha512-rMnO1H3wgR1T6QSlK3i8Slz9p3xD+0yOi4J7qwh/5PGR3z8jbgYvRlNKAIvXDtGBQbJKoWs4df5skL3a/fdUEA==",
+ "requires": {
+ "postcss": "^7.0.0",
+ "postcss-selector-parser": "^6.0.0"
+ }
+ },
"postcss-convert-values": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-4.0.1.tgz",
@@ -8912,6 +8919,28 @@
"postcss": "^7.0.0"
}
},
+ "postcss-discard-unused": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-discard-unused/-/postcss-discard-unused-4.0.1.tgz",
+ "integrity": "sha512-/3vq4LU0bLH2Lj4NYN7BTf2caly0flUB7Xtrk9a5K3yLuXMkHMqMO/x3sDq8W2b1eQFSCyY0IVz2L+0HP8kUUA==",
+ "requires": {
+ "postcss": "^7.0.0",
+ "postcss-selector-parser": "^3.0.0",
+ "uniqs": "^2.0.0"
+ },
+ "dependencies": {
+ "postcss-selector-parser": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.2.tgz",
+ "integrity": "sha512-h7fJ/5uWuRVyOtkO45pnt1Ih40CEleeyCHzipqAZO2e5H20g25Y48uYnFUiShvY4rZWNJ/Bib/KVPmanaCtOhA==",
+ "requires": {
+ "dot-prop": "^5.2.0",
+ "indexes-of": "^1.0.1",
+ "uniq": "^1.0.1"
+ }
+ }
+ }
+ },
"postcss-double-position-gradients": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/postcss-double-position-gradients/-/postcss-double-position-gradients-1.0.0.tgz",
@@ -8947,9 +8976,9 @@
}
},
"postcss-font-variant": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/postcss-font-variant/-/postcss-font-variant-4.0.0.tgz",
- "integrity": "sha512-M8BFYKOvCrI2aITzDad7kWuXXTm0YhGdP9Q8HanmN4EF1Hmcgs1KK5rSHylt/lUJe8yLxiSwWAHdScoEiIxztg==",
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-font-variant/-/postcss-font-variant-4.0.1.tgz",
+ "integrity": "sha512-I3ADQSTNtLTTd8uxZhtSOrTCQ9G4qUVKPjHiDk0bV75QSxXjVWiJVJ2VLdspGUi9fbW9BcjKJoRvxAH1pckqmA==",
"requires": {
"postcss": "^7.0.2"
}
@@ -8991,9 +9020,9 @@
}
},
"postcss-load-config": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-2.1.0.tgz",
- "integrity": "sha512-4pV3JJVPLd5+RueiVVB+gFOAa7GWc25XQcMp86Zexzke69mKf6Nx9LRcQywdz7yZI9n1udOxmLuAwTBypypF8Q==",
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-2.1.2.tgz",
+ "integrity": "sha512-/rDeGV6vMUo3mwJZmeHfEDvwnTKKqQ0S7OHUi/kJvvtx3aWtyWG2/0ZWnzCt2keEclwN6Tf0DST2v9kITdOKYw==",
"requires": {
"cosmiconfig": "^5.0.0",
"import-cwd": "^2.0.0"
@@ -9092,6 +9121,24 @@
"postcss": "^7.0.2"
}
},
+ "postcss-merge-idents": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-merge-idents/-/postcss-merge-idents-4.0.1.tgz",
+ "integrity": "sha512-43S/VNdF6II0NZ31YxcvNYq4gfURlPAAsJW/z84avBXQCaP4I4qRHUH18slW/SOlJbcxxCobflPNUApYDddS7A==",
+ "requires": {
+ "cssnano-util-same-parent": "^4.0.0",
+ "has": "^1.0.0",
+ "postcss": "^7.0.0",
+ "postcss-value-parser": "^3.0.0"
+ },
+ "dependencies": {
+ "postcss-value-parser": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ=="
+ }
+ }
+ },
"postcss-merge-longhand": {
"version": "4.0.11",
"resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-4.0.11.tgz",
@@ -9380,11 +9427,6 @@
"postcss-value-parser": "^3.0.0"
},
"dependencies": {
- "normalize-url": {
- "version": "3.3.0",
- "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-3.3.0.tgz",
- "integrity": "sha512-U+JJi7duF1o+u2pynbp2zXDW2/PADgC30f0GsHZtRh+HOcXHnw137TrNlyxxRvWW5fjKd3bcLHPxofWuCjaeZg=="
- },
"postcss-value-parser": {
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
@@ -9520,6 +9562,22 @@
}
}
},
+ "postcss-reduce-idents": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/postcss-reduce-idents/-/postcss-reduce-idents-4.0.2.tgz",
+ "integrity": "sha512-Tz70Ri10TclPoCtFfftjFVddx3fZGUkr0dEDbIEfbYhFUOFQZZ77TEqRrU0e6TvAvF+Wa5VVzYTpFpq0uwFFzw==",
+ "requires": {
+ "postcss": "^7.0.0",
+ "postcss-value-parser": "^3.0.0"
+ },
+ "dependencies": {
+ "postcss-value-parser": {
+ "version": "3.3.1",
+ "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
+ "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ=="
+ }
+ }
+ },
"postcss-reduce-initial": {
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-4.0.3.tgz",
@@ -9576,13 +9634,23 @@
}
},
"postcss-selector-parser": {
- "version": "6.0.2",
- "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.2.tgz",
- "integrity": "sha512-36P2QR59jDTOAiIkqEprfJDsoNrvwFei3eCqKd1Y0tUsBimsq39BLp7RD+JWny3WgB1zGhJX8XVePwm9k4wdBg==",
+ "version": "6.0.4",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.4.tgz",
+ "integrity": "sha512-gjMeXBempyInaBqpp8gODmwZ52WaYsVOsfr4L4lDQ7n3ncD6mEyySiDtgzCT+NYC0mmeOLvtsF8iaEf0YT6dBw==",
"requires": {
"cssesc": "^3.0.0",
"indexes-of": "^1.0.1",
- "uniq": "^1.0.1"
+ "uniq": "^1.0.1",
+ "util-deprecate": "^1.0.2"
+ }
+ },
+ "postcss-sort-media-queries": {
+ "version": "1.31.21",
+ "resolved": "https://registry.npmjs.org/postcss-sort-media-queries/-/postcss-sort-media-queries-1.31.21.tgz",
+ "integrity": "sha512-h+HbXXfOVFeLvCJOzl/Z9SqQ25MNpG/73k71756ftisaaJy75h06/Dn6KOwC4OCMN10ewT2PXMzHV03JNKwBbg==",
+ "requires": {
+ "postcss": "^7.0.27",
+ "sort-css-media-queries": "1.5.0"
}
},
"postcss-svgo": {
@@ -9628,18 +9696,28 @@
"uniq": "^1.0.1"
}
},
+ "postcss-zindex": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-zindex/-/postcss-zindex-4.0.1.tgz",
+ "integrity": "sha512-d/8BlQcUdEugZNRM9AdCA2V4fqREUtn/wcixLN3L6ITgc2P/FMcVVYz8QZkhItWT9NB5qr8wuN2dJCE4/+dlrA==",
+ "requires": {
+ "has": "^1.0.0",
+ "postcss": "^7.0.0",
+ "uniqs": "^2.0.0"
+ }
+ },
"prepend-http": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz",
"integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw="
},
"pretty-error": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/pretty-error/-/pretty-error-2.1.1.tgz",
- "integrity": "sha1-X0+HyPkeWuPzuoerTPXgOxoX8aM=",
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/pretty-error/-/pretty-error-2.1.2.tgz",
+ "integrity": "sha512-EY5oDzmsX5wvuynAByrmY0P0hcp+QpnAKbJng2A2MPjVKXCxrDSUkzghVJ4ZGPIv+JC4gX8fPUWscC0RtjsWGw==",
"requires": {
- "renderkid": "^2.0.1",
- "utila": "~0.4"
+ "lodash": "^4.17.20",
+ "renderkid": "^2.0.4"
}
},
"pretty-time": {
@@ -9653,9 +9731,9 @@
"integrity": "sha512-MgMhSdHuHymNRqD6KM3eGS0PNqgK9q4QF5P0yoQQvpB6jNjeSAi3jcSAz0Sua/t9fa4xDOMar9HJbLa08gl9ug=="
},
"prismjs": {
- "version": "1.21.0",
- "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.21.0.tgz",
- "integrity": "sha512-uGdSIu1nk3kej2iZsLyDoJ7e9bnPzIgY0naW/HdknGj61zScaprVEVGHrPoXqI+M9sP0NDnTK2jpkvmldpuqDw==",
+ "version": "1.22.0",
+ "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.22.0.tgz",
+ "integrity": "sha512-lLJ/Wt9yy0AiSYBf212kK3mM5L8ycwlyTlSxHBAneXLR0nzFMlZ5y7riFPF3E33zXOF2IH95xdY5jIyZbM9z/w==",
"requires": {
"clipboard": "^2.0.0"
}
@@ -9694,9 +9772,9 @@
}
},
"property-information": {
- "version": "5.5.0",
- "resolved": "https://registry.npmjs.org/property-information/-/property-information-5.5.0.tgz",
- "integrity": "sha512-RgEbCx2HLa1chNgvChcx+rrCWD0ctBmGSE0M7lVm1yyv4UbvbrWoXp/BkVLZefzjrRBGW8/Js6uh/BnlHXFyjA==",
+ "version": "5.6.0",
+ "resolved": "https://registry.npmjs.org/property-information/-/property-information-5.6.0.tgz",
+ "integrity": "sha512-YUHSPk+A30YPv+0Qf8i9Mbfe/C0hdPXk1s1jPVToV8pk8BQtpw10ct89Eo7OWkutrwqvT0eicAxlOg3dOAu8JA==",
"requires": {
"xtend": "^4.0.0"
}
@@ -9771,9 +9849,9 @@
"integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0="
},
"pupa": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/pupa/-/pupa-2.0.1.tgz",
- "integrity": "sha512-hEJH0s8PXLY/cdXh66tNEQGndDrIKNqNC5xmrysZy3i5C3oEoLna7YAOad+7u125+zH1HNXUmGEkrhb3c2VriA==",
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/pupa/-/pupa-2.1.1.tgz",
+ "integrity": "sha512-l1jNAspIBSFqbT+y+5FosojNpVpF94nlI+wDUpqP9enwOTfHx9f0gh5nB96vl+6yTpsJsypeNrwfzPrKuHB41A==",
"requires": {
"escape-goat": "^2.0.0"
}
@@ -10083,15 +10161,6 @@
}
}
},
- "find-up": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
- "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
- "requires": {
- "locate-path": "^5.0.0",
- "path-exists": "^4.0.0"
- }
- },
"glob-parent": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz",
@@ -10196,14 +10265,6 @@
"json5": "^1.0.1"
}
},
- "locate-path": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
- "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
- "requires": {
- "p-locate": "^4.1.0"
- }
- },
"micromatch": {
"version": "3.1.10",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz",
@@ -10229,19 +10290,6 @@
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
},
- "p-locate": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
- "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
- "requires": {
- "p-limit": "^2.2.0"
- }
- },
- "path-exists": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
- "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w=="
- },
"path-type": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz",
@@ -10250,11 +10298,6 @@
"pify": "^3.0.0"
}
},
- "pify": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
- "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY="
- },
"slash": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz",
@@ -10298,9 +10341,9 @@
}
},
"react-error-overlay": {
- "version": "6.0.7",
- "resolved": "https://registry.npmjs.org/react-error-overlay/-/react-error-overlay-6.0.7.tgz",
- "integrity": "sha512-TAv1KJFh3RhqxNvhzxj6LeT5NWklP6rDr2a0jaTfsZ5wSZWHOGeqQyejUp3xxLfPt2UpyJEcVQB/zyPcmonNFA=="
+ "version": "6.0.8",
+ "resolved": "https://registry.npmjs.org/react-error-overlay/-/react-error-overlay-6.0.8.tgz",
+ "integrity": "sha512-HvPuUQnLp5H7TouGq3kzBeioJmXms1wHy9EGjz2OURWBp4qZO6AfGEcnxts1D/CbwPLRAgTMPCEgYhA3sEM4vw=="
},
"react-fast-compare": {
"version": "3.2.0",
@@ -10410,9 +10453,9 @@
}
},
"react-side-effect": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/react-side-effect/-/react-side-effect-2.1.0.tgz",
- "integrity": "sha512-IgmcegOSi5SNX+2Snh1vqmF0Vg/CbkycU9XZbOHJlZ6kMzTmi3yc254oB1WCkgA7OQtIAoLmcSFuHTc/tlcqXg=="
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/react-side-effect/-/react-side-effect-2.1.1.tgz",
+ "integrity": "sha512-2FoTQzRNTncBVtnzxFOk2mCpcfxQpenBMbk5kSVBg5UcPqV9fRbgY2zhb7GTWWOlpFmAxhClBDlIq8Rsubz1yQ=="
},
"react-textarea-autosize": {
"version": "6.1.0",
@@ -10441,17 +10484,17 @@
}
},
"readdirp": {
- "version": "3.4.0",
- "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.4.0.tgz",
- "integrity": "sha512-0xe001vZBnJEK+uKcj8qOhyAKPzIT+gStxWr3LCB0DwcXR5NZJ3IaC+yGnHCYzB/S7ov3m3EEbZI2zeNvX+hGQ==",
+ "version": "3.5.0",
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.5.0.tgz",
+ "integrity": "sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ==",
"requires": {
"picomatch": "^2.2.1"
}
},
"reading-time": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/reading-time/-/reading-time-1.2.0.tgz",
- "integrity": "sha512-5b4XmKK4MEss63y0Lw0vn0Zn6G5kiHP88mUnD8UeEsyORj3sh1ghTH0/u6m1Ax9G2F4wUZrknlp6WlIsCvoXVA=="
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/reading-time/-/reading-time-1.2.1.tgz",
+ "integrity": "sha512-a27kU9sCJzx4JklmKFMXgMoCWlhBi75DFTbU7+M3rjh5SXRWyacYt02il3muYaA+SUQ7tg5gMQn7GC8zOxTt/g=="
},
"rechoir": {
"version": "0.6.2",
@@ -10470,9 +10513,9 @@
}
},
"regenerate": {
- "version": "1.4.1",
- "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.1.tgz",
- "integrity": "sha512-j2+C8+NtXQgEKWk49MMP5P/u2GhnahTtVkRIHr5R5lVRlbKvmQ+oS+A5aLKWp2ma5VkT8sh6v+v4hbH0YHR66A=="
+ "version": "1.4.2",
+ "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz",
+ "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A=="
},
"regenerate-unicode-properties": {
"version": "8.2.0",
@@ -10530,12 +10573,32 @@
"requires": {
"define-properties": "^1.1.3",
"es-abstract": "^1.17.0-next.1"
+ },
+ "dependencies": {
+ "es-abstract": {
+ "version": "1.17.7",
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.7.tgz",
+ "integrity": "sha512-VBl/gnfcJ7OercKA9MVaegWsBHFjV492syMudcnQZvt/Dw8ezpcOHYZXa/J96O8vx+g4x65YKhxOwDUh63aS5g==",
+ "requires": {
+ "es-to-primitive": "^1.2.1",
+ "function-bind": "^1.1.1",
+ "has": "^1.0.3",
+ "has-symbols": "^1.0.1",
+ "is-callable": "^1.2.2",
+ "is-regex": "^1.1.1",
+ "object-inspect": "^1.8.0",
+ "object-keys": "^1.1.1",
+ "object.assign": "^4.1.1",
+ "string.prototype.trimend": "^1.0.1",
+ "string.prototype.trimstart": "^1.0.1"
+ }
+ }
}
},
"regexpu-core": {
- "version": "4.7.0",
- "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.7.0.tgz",
- "integrity": "sha512-TQ4KXRnIn6tz6tjnrXEkD/sshygKH/j5KzK86X8MkeHyZ8qst/LZ89j3X4/8HEIfHANTFIP/AbXakeRhWIl5YQ==",
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.7.1.tgz",
+ "integrity": "sha512-ywH2VUraA44DZQuRKzARmw6S66mr48pQVva4LBeRhcOltJ6hExvWly5ZjFLYo67xbIxb6W1q4bAGtgfEl20zfQ==",
"requires": {
"regenerate": "^1.4.0",
"regenerate-unicode-properties": "^8.2.0",
@@ -10546,9 +10609,9 @@
}
},
"registry-auth-token": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.2.0.tgz",
- "integrity": "sha512-P+lWzPrsgfN+UEpDS3U8AQKg/UjZX6mQSJueZj3EK+vNESoqBSpBUD3gmu4sF9lOsjXWjF11dQKUqemf3veq1w==",
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.2.1.tgz",
+ "integrity": "sha512-6gkSb4U6aWJB4SF2ZvLb76yCBjcvufXBqvvEx1HbmKPkutswjW1xNVRY0+daljIYRbogN7O0etYSlbiaEQyMyw==",
"requires": {
"rc": "^1.2.8"
}
@@ -10603,6 +10666,17 @@
"xtend": "^4.0.1"
}
},
+ "hastscript": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/hastscript/-/hastscript-5.1.2.tgz",
+ "integrity": "sha512-WlztFuK+Lrvi3EggsqOkQ52rKbxkXL3RwB6t5lwoa8QLMemoWfBuL43eDrwOamJyR7uKQKdmKYaBH1NZBiIRrQ==",
+ "requires": {
+ "comma-separated-tokens": "^1.0.0",
+ "hast-util-parse-selector": "^2.0.0",
+ "property-information": "^5.0.0",
+ "space-separated-tokens": "^1.0.0"
+ }
+ },
"parse5": {
"version": "5.1.1",
"resolved": "https://registry.npmjs.org/parse5/-/parse5-5.1.1.tgz",
@@ -10655,63 +10729,23 @@
}
},
"remark-footnotes": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/remark-footnotes/-/remark-footnotes-1.0.0.tgz",
- "integrity": "sha512-X9Ncj4cj3/CIvLI2Z9IobHtVi8FVdUrdJkCNaL9kdX8ohfsi18DXHsCVd/A7ssARBdccdDb5ODnt62WuEWaM/g=="
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/remark-footnotes/-/remark-footnotes-2.0.0.tgz",
+ "integrity": "sha512-3Clt8ZMH75Ayjp9q4CorNeyjwIxHFcTkaektplKGl2A1jNGEUey8cKL0ZC5vJwfcD5GFGsNLImLG/NGzWIzoMQ=="
},
"remark-mdx": {
- "version": "1.6.16",
- "resolved": "https://registry.npmjs.org/remark-mdx/-/remark-mdx-1.6.16.tgz",
- "integrity": "sha512-xqZhBQ4TonFiSFpVt6SnTLRnxstu7M6pcaOibKZhqzk4zMRVacVenD7iECjfESK+72LkPm/NW+0r5ahJAg7zlQ==",
+ "version": "1.6.22",
+ "resolved": "https://registry.npmjs.org/remark-mdx/-/remark-mdx-1.6.22.tgz",
+ "integrity": "sha512-phMHBJgeV76uyFkH4rvzCftLfKCr2RZuF+/gmVcaKrpsihyzmhXjA0BEMDaPTXG5y8qZOKPVo83NAOX01LPnOQ==",
"requires": {
- "@babel/core": "7.10.5",
+ "@babel/core": "7.12.9",
"@babel/helper-plugin-utils": "7.10.4",
- "@babel/plugin-proposal-object-rest-spread": "7.10.4",
- "@babel/plugin-syntax-jsx": "7.10.4",
- "@mdx-js/util": "1.6.16",
+ "@babel/plugin-proposal-object-rest-spread": "7.12.1",
+ "@babel/plugin-syntax-jsx": "7.12.1",
+ "@mdx-js/util": "1.6.22",
"is-alphabetical": "1.0.4",
"remark-parse": "8.0.3",
- "unified": "9.1.0"
- },
- "dependencies": {
- "@babel/core": {
- "version": "7.10.5",
- "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.10.5.tgz",
- "integrity": "sha512-O34LQooYVDXPl7QWCdW9p4NR+QlzOr7xShPPJz8GsuCU3/8ua/wqTr7gmnxXv+WBESiGU/G5s16i6tUvHkNb+w==",
- "requires": {
- "@babel/code-frame": "^7.10.4",
- "@babel/generator": "^7.10.5",
- "@babel/helper-module-transforms": "^7.10.5",
- "@babel/helpers": "^7.10.4",
- "@babel/parser": "^7.10.5",
- "@babel/template": "^7.10.4",
- "@babel/traverse": "^7.10.5",
- "@babel/types": "^7.10.5",
- "convert-source-map": "^1.7.0",
- "debug": "^4.1.0",
- "gensync": "^1.0.0-beta.1",
- "json5": "^2.1.2",
- "lodash": "^4.17.19",
- "resolve": "^1.3.2",
- "semver": "^5.4.1",
- "source-map": "^0.5.0"
- }
- },
- "@babel/plugin-proposal-object-rest-spread": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.10.4.tgz",
- "integrity": "sha512-6vh4SqRuLLarjgeOf4EaROJAHjvu9Gl+/346PbDH9yWbJyfnJ/ah3jmYKYtswEyCoWZiidvVHjHshd4WgjB9BA==",
- "requires": {
- "@babel/helper-plugin-utils": "^7.10.4",
- "@babel/plugin-syntax-object-rest-spread": "^7.8.0",
- "@babel/plugin-transform-parameters": "^7.10.4"
- }
- },
- "semver": {
- "version": "5.7.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
- "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ=="
- }
+ "unified": "9.2.0"
}
},
"remark-parse": {
@@ -10751,15 +10785,15 @@
"integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8="
},
"renderkid": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/renderkid/-/renderkid-2.0.3.tgz",
- "integrity": "sha512-z8CLQp7EZBPCwCnncgf9C4XAi3WR0dv+uWu/PjIyhhAb5d6IJ/QZqlHFprHeKT+59//V6BNUsLbvN8+2LarxGA==",
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/renderkid/-/renderkid-2.0.4.tgz",
+ "integrity": "sha512-K2eXrSOJdq+HuKzlcjOlGoOarUu5SDguDEhE7+Ah4zuOWL40j8A/oHvLlLob9PSTNvVnBd+/q0Er1QfpEuem5g==",
"requires": {
"css-select": "^1.1.0",
"dom-converter": "^0.2",
"htmlparser2": "^3.3.0",
- "strip-ansi": "^3.0.0",
- "utila": "^0.4.0"
+ "lodash": "^4.17.20",
+ "strip-ansi": "^3.0.0"
},
"dependencies": {
"ansi-regex": {
@@ -10767,6 +10801,31 @@
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
"integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8="
},
+ "css-select": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/css-select/-/css-select-1.2.0.tgz",
+ "integrity": "sha1-KzoRBTnFNV8c2NMUYj6HCxIeyFg=",
+ "requires": {
+ "boolbase": "~1.0.0",
+ "css-what": "2.1",
+ "domutils": "1.5.1",
+ "nth-check": "~1.0.1"
+ }
+ },
+ "css-what": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.3.tgz",
+ "integrity": "sha512-a+EPoD+uZiNfh+5fxw2nO9QwFa6nJe2Or35fGY6Ipw1R3R4AGz1d1TEZrCegvw2YTmZ0jXirGYlzxxpYSHwpEg=="
+ },
+ "domutils": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz",
+ "integrity": "sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=",
+ "requires": {
+ "dom-serializer": "0",
+ "domelementtype": "1"
+ }
+ },
"strip-ansi": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
@@ -10787,11 +10846,6 @@
"resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz",
"integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc="
},
- "replace-ext": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-1.0.0.tgz",
- "integrity": "sha1-3mMSg3P8v3w8z6TeWkgMRaZ5WOs="
- },
"require-directory": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
@@ -10813,10 +10867,11 @@
"integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8="
},
"resolve": {
- "version": "1.17.0",
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz",
- "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==",
+ "version": "1.19.0",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.19.0.tgz",
+ "integrity": "sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==",
"requires": {
+ "is-core-module": "^2.1.0",
"path-parse": "^1.0.6"
}
},
@@ -10915,9 +10970,9 @@
"integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ=="
},
"run-parallel": {
- "version": "1.1.9",
- "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.1.9.tgz",
- "integrity": "sha512-DEqnSRTDw/Tc3FXf49zedI638Z9onwUotBMiUFKmrO2sdFKIbXamXGQ3Axd4qgphxKB4kw/qP1w5kTxnfU1B9Q=="
+ "version": "1.1.10",
+ "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.1.10.tgz",
+ "integrity": "sha512-zb/1OuZ6flOlH6tQyMPUrE3x3Ulxjlo9WIVXR4yVYi4H9UXQaeIsPbLn2R3O3vQCnDKkAl2qHiuocKKX4Tz/Sw=="
},
"run-queue": {
"version": "1.0.3",
@@ -10927,17 +10982,19 @@
"aproba": "^1.1.1"
}
},
- "rx": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/rx/-/rx-4.1.0.tgz",
- "integrity": "sha1-pfE/957zt0D+MKqAP7CfmIBdR4I="
- },
"rxjs": {
"version": "6.6.3",
"resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.3.tgz",
"integrity": "sha512-trsQc+xYYXZ3urjOiJOuCOa5N3jAZ3eiSpQB5hIT8zGlL2QfnHLJ2r7GMkBGuIausdJN1OneaI6gQlsqNHHmZQ==",
"requires": {
"tslib": "^1.9.0"
+ },
+ "dependencies": {
+ "tslib": {
+ "version": "1.14.1",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",
+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="
+ }
}
},
"safe-buffer": {
@@ -11003,11 +11060,11 @@
"integrity": "sha1-Yl2GWPhlr0Psliv8N2o3NZpJlMo="
},
"selfsigned": {
- "version": "1.10.7",
- "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-1.10.7.tgz",
- "integrity": "sha512-8M3wBCzeWIJnQfl43IKwOmC4H/RAp50S8DF60znzjW5GVqTcSe2vWclt7hmYVPkKPlHWOu5EaWOMZ2Y6W8ZXTA==",
+ "version": "1.10.8",
+ "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-1.10.8.tgz",
+ "integrity": "sha512-2P4PtieJeEwVgTU9QEcwIRDQ/mXJLX8/+I3ur+Pg16nS8oNbrGxEso9NyYWy8NAmXiNl4dlAp5MwoNeCWzON4w==",
"requires": {
- "node-forge": "0.9.0"
+ "node-forge": "^0.10.0"
}
},
"semver": {
@@ -11066,9 +11123,9 @@
}
},
"serialize-javascript": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz",
- "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==",
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-5.0.1.tgz",
+ "integrity": "sha512-SaaNal9imEO737H2c05Og0/8LUXG7EnsZyMa8MzkmuHoELfT6txuj0cMqRj6zfPKnmQ1yasR4PCJc8x+M4JSPA==",
"requires": {
"randombytes": "^2.1.0"
}
@@ -11219,32 +11276,6 @@
"safe-buffer": "^5.0.1"
}
},
- "shallow-clone": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-0.1.2.tgz",
- "integrity": "sha1-WQnodLp3EG1zrEFM/sH/yofZcGA=",
- "requires": {
- "is-extendable": "^0.1.1",
- "kind-of": "^2.0.1",
- "lazy-cache": "^0.2.3",
- "mixin-object": "^2.0.1"
- },
- "dependencies": {
- "kind-of": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-2.0.1.tgz",
- "integrity": "sha1-AY7HpM5+OobLkUG+UZ0kyPqpgbU=",
- "requires": {
- "is-buffer": "^1.0.2"
- }
- },
- "lazy-cache": {
- "version": "0.2.7",
- "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-0.2.7.tgz",
- "integrity": "sha1-f+3fLctu23fRHvHRF6tf/fCrG2U="
- }
- }
- },
"shebang-command": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
@@ -11284,13 +11315,6 @@
"integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=",
"requires": {
"is-arrayish": "^0.3.1"
- },
- "dependencies": {
- "is-arrayish": {
- "version": "0.3.2",
- "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz",
- "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ=="
- }
}
},
"sitemap": {
@@ -11435,9 +11459,9 @@
},
"dependencies": {
"debug": {
- "version": "3.2.6",
- "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz",
- "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==",
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
+ "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
"requires": {
"ms": "^2.1.1"
}
@@ -11452,6 +11476,11 @@
}
}
},
+ "sort-css-media-queries": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/sort-css-media-queries/-/sort-css-media-queries-1.5.0.tgz",
+ "integrity": "sha512-QofNE7CEVH1AKdhS7L9IPbV9UtyQYNXyw++8lC+xG6iOLlpzsmncZRiKbihTAESvZ8wOhwnPoesHbMrehrQyyw=="
+ },
"sort-keys": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-1.1.2.tgz",
@@ -11739,21 +11768,21 @@
}
},
"string.prototype.trimend": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.1.tgz",
- "integrity": "sha512-LRPxFUaTtpqYsTeNKaFOw3R4bxIzWOnbQ837QfBylo8jIxtcbK/A/sMV7Q+OAV/vWo+7s25pOE10KYSjaSO06g==",
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.3.tgz",
+ "integrity": "sha512-ayH0pB+uf0U28CtjlLvL7NaohvR1amUvVZk+y3DYb0Ey2PUV5zPkkKy9+U1ndVEIXO8hNg18eIv9Jntbii+dKw==",
"requires": {
- "define-properties": "^1.1.3",
- "es-abstract": "^1.17.5"
+ "call-bind": "^1.0.0",
+ "define-properties": "^1.1.3"
}
},
"string.prototype.trimstart": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.1.tgz",
- "integrity": "sha512-XxZn+QpvrBI1FOcg6dIpxUPgWCPuNXvMD72aaRaUQv1eD4e/Qy8i/hFTe0BUmD60p/QA6bh1avmuPTfNjqVWRw==",
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.3.tgz",
+ "integrity": "sha512-oBIBUy5lea5tt0ovtOFiEQaBkoBBkyJhZXzJYrSmDo5IUUqbOPvVezuRs/agBIdZ2p2Eo1FD6bD9USyBLfl3xg==",
"requires": {
- "define-properties": "^1.1.3",
- "es-abstract": "^1.17.5"
+ "call-bind": "^1.0.0",
+ "define-properties": "^1.1.3"
}
},
"string_decoder": {
@@ -11888,31 +11917,6 @@
"escape-string-regexp": "^1.0.5",
"supports-color": "^5.3.0"
}
- },
- "css-select": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/css-select/-/css-select-2.1.0.tgz",
- "integrity": "sha512-Dqk7LQKpwLoH3VovzZnkzegqNSuAziQyNZUcrdDM401iY+R5NkGBXGmtO05/yaXQziALuPogeG0b7UAgjnTJTQ==",
- "requires": {
- "boolbase": "^1.0.0",
- "css-what": "^3.2.1",
- "domutils": "^1.7.0",
- "nth-check": "^1.0.2"
- }
- },
- "css-what": {
- "version": "3.3.0",
- "resolved": "https://registry.npmjs.org/css-what/-/css-what-3.3.0.tgz",
- "integrity": "sha512-pv9JPyatiPaQ6pf4OvD/dbfm0o5LviWmwxNWzblYf/1u9QZd0ihV+PMwy5jdQWQ3349kZmKEx9WXuSka2dM4cg=="
- },
- "domutils": {
- "version": "1.7.0",
- "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.7.0.tgz",
- "integrity": "sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg==",
- "requires": {
- "dom-serializer": "0",
- "domelementtype": "1"
- }
}
}
},
@@ -11942,9 +11946,9 @@
}
},
"term-size": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/term-size/-/term-size-2.2.0.tgz",
- "integrity": "sha512-a6sumDlzyHVJWb8+YofY4TW112G6p2FCPEAFk+59gIYHv3XHRhm9ltVQ9kli4hNWeQBwSpe8cRN25x0ROunMOw=="
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/term-size/-/term-size-2.2.1.tgz",
+ "integrity": "sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg=="
},
"terser": {
"version": "4.8.0",
@@ -11969,99 +11973,65 @@
}
},
"terser-webpack-plugin": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-3.1.0.tgz",
- "integrity": "sha512-cjdZte66fYkZ65rQ2oJfrdCAkkhJA7YLYk5eGOcGCSGlq0ieZupRdjedSQXYknMPo2IveQL+tPdrxUkERENCFA==",
+ "version": "4.2.3",
+ "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-4.2.3.tgz",
+ "integrity": "sha512-jTgXh40RnvOrLQNgIkwEKnQ8rmHjHK4u+6UBEi+W+FPmvb+uo+chJXntKe7/3lW5mNysgSWD60KyesnhW8D6MQ==",
"requires": {
"cacache": "^15.0.5",
"find-cache-dir": "^3.3.1",
- "jest-worker": "^26.2.1",
+ "jest-worker": "^26.5.0",
"p-limit": "^3.0.2",
- "schema-utils": "^2.6.6",
- "serialize-javascript": "^4.0.0",
+ "schema-utils": "^3.0.0",
+ "serialize-javascript": "^5.0.1",
"source-map": "^0.6.1",
- "terser": "^4.8.0",
+ "terser": "^5.3.4",
"webpack-sources": "^1.4.3"
},
"dependencies": {
- "find-cache-dir": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.1.tgz",
- "integrity": "sha512-t2GDMt3oGC/v+BMwzmllWDuJF/xcDtE5j/fCGbqDD7OLuJkj0cfh1YSA5VKPvwMeLFLNDBkwOKZ2X85jGLVftQ==",
- "requires": {
- "commondir": "^1.0.1",
- "make-dir": "^3.0.2",
- "pkg-dir": "^4.1.0"
- }
- },
- "find-up": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
- "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
- "requires": {
- "locate-path": "^5.0.0",
- "path-exists": "^4.0.0"
- }
- },
- "locate-path": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
- "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
- "requires": {
- "p-locate": "^4.1.0"
- }
- },
- "make-dir": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz",
- "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==",
- "requires": {
- "semver": "^6.0.0"
- }
+ "commander": {
+ "version": "2.20.3",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
+ "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ=="
},
"p-limit": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.0.2.tgz",
- "integrity": "sha512-iwqZSOoWIW+Ew4kAGUlN16J4M7OB3ysMLSZtnhmqx7njIHFPlxWBX8xo3lVTyFVq6mI/lL9qt2IsN1sHwaxJkg==",
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
+ "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
"requires": {
- "p-try": "^2.0.0"
+ "yocto-queue": "^0.1.0"
}
},
- "p-locate": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
- "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
+ "schema-utils": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.0.0.tgz",
+ "integrity": "sha512-6D82/xSzO094ajanoOSbe4YvXWMfn2A//8Y1+MUqFAJul5Bs+yn36xbK9OtNDcRVSBJ9jjeoXftM6CfztsjOAA==",
"requires": {
- "p-limit": "^2.2.0"
- },
- "dependencies": {
- "p-limit": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
- "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
- "requires": {
- "p-try": "^2.0.0"
- }
- }
- }
- },
- "path-exists": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
- "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w=="
- },
- "pkg-dir": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz",
- "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==",
- "requires": {
- "find-up": "^4.0.0"
+ "@types/json-schema": "^7.0.6",
+ "ajv": "^6.12.5",
+ "ajv-keywords": "^3.5.2"
}
},
"source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
+ },
+ "terser": {
+ "version": "5.5.1",
+ "resolved": "https://registry.npmjs.org/terser/-/terser-5.5.1.tgz",
+ "integrity": "sha512-6VGWZNVP2KTUcltUQJ25TtNjx/XgdDsBDKGt8nN0MpydU36LmbPPcMBd2kmtZNNGVVDLg44k7GKeHHj+4zPIBQ==",
+ "requires": {
+ "commander": "^2.20.0",
+ "source-map": "~0.7.2",
+ "source-map-support": "~0.5.19"
+ },
+ "dependencies": {
+ "source-map": {
+ "version": "0.7.3",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz",
+ "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ=="
+ }
+ }
}
}
},
@@ -12114,9 +12084,9 @@
"integrity": "sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA=="
},
"timers-browserify": {
- "version": "2.0.11",
- "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.11.tgz",
- "integrity": "sha512-60aV6sgJ5YEbzUdn9c8kYGIqOubPoUdqQCul3SBAsRCZ40s6Y5cMcrW4dt3/k/EsbLVJNl9n6Vz3fTc+k2GeKQ==",
+ "version": "2.0.12",
+ "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.12.tgz",
+ "integrity": "sha512-9phl76Cqm6FhSX9Xe1ZUAMLtm1BLkKj2Qd5ApyWkXzsMRaA7dgr81kf4wJmQf/hAvg8EEyJxDo3du/0KlhPiKQ==",
"requires": {
"setimmediate": "^1.0.4"
}
@@ -12246,15 +12216,10 @@
"resolved": "https://registry.npmjs.org/trim/-/trim-0.0.1.tgz",
"integrity": "sha1-WFhUf2spB1fulczMZm+1AITEYN0="
},
- "trim-lines": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-1.1.3.tgz",
- "integrity": "sha512-E0ZosSWYK2mkSu+KEtQ9/KqarVjA9HztOSX+9FDdNacRAq29RRV6ZQNgob3iuW8Htar9vAfEa6yyt5qBAHZDBA=="
- },
"trim-trailing-lines": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/trim-trailing-lines/-/trim-trailing-lines-1.1.3.tgz",
- "integrity": "sha512-4ku0mmjXifQcTVfYDfR5lpgV7zVqPg6zV9rdZmwOPqq0+Zq19xDqEgagqVbc4pOOShbncuAOIs59R3+3gcF3ZA=="
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/trim-trailing-lines/-/trim-trailing-lines-1.1.4.tgz",
+ "integrity": "sha512-rjUWSqnfTNrjbB9NQWfPMH/xRK1deHeGsHoVfpxJ++XeYXE0d6B1En37AHfw3jtfTU7dzMzZL2jjpe8Qb5gLIQ=="
},
"trough": {
"version": "1.0.5",
@@ -12272,9 +12237,9 @@
"integrity": "sha512-csd+vJOb/gkzvcCHgTGSChYpy5f1/XKNsmvBGO4JXS+z1v2HobugDz4s1IeFXM3wZB44uczs+eazB5Q/ccdhQw=="
},
"tslib": {
- "version": "1.13.0",
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.13.0.tgz",
- "integrity": "sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q=="
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ=="
},
"tty-browserify": {
"version": "0.0.0",
@@ -12315,9 +12280,9 @@
"dev": true
},
"ua-parser-js": {
- "version": "0.7.21",
- "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.21.tgz",
- "integrity": "sha512-+O8/qh/Qj8CgC6eYBVBykMrNtp5Gebn4dlGD/kKXVkJNDwyrAwSIqwz8CDf+tsAIWVycKcku6gIXJ0qwx/ZXaQ=="
+ "version": "0.7.22",
+ "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.22.tgz",
+ "integrity": "sha512-YUxzMjJ5T71w6a8WWVcMGM6YWOTX27rCoIQgLXiWaxqXSx9D7DNjiGWn1aJIRSQ5qr0xuhra77bSIh6voR/46Q=="
},
"unherit": {
"version": "1.1.3",
@@ -12353,9 +12318,9 @@
"integrity": "sha512-PqSoPh/pWetQ2phoj5RLiaqIk4kCNwoV3CI+LfGmWLKI3rE3kl1h59XpX2BjgDrmbxD9ARtQobPGU1SguCYuQg=="
},
"unified": {
- "version": "9.1.0",
- "resolved": "https://registry.npmjs.org/unified/-/unified-9.1.0.tgz",
- "integrity": "sha512-VXOv7Ic6twsKGJDeZQ2wwPqXs2hM0KNu5Hkg9WgAZbSD1pxhZ7p8swqg583nw1Je2fhwHy6U8aEjiI79x1gvag==",
+ "version": "9.2.0",
+ "resolved": "https://registry.npmjs.org/unified/-/unified-9.2.0.tgz",
+ "integrity": "sha512-vx2Z0vY+a3YoTj8+pttM3tiJHCwY5UFbYdiWrwBEbHmK8pvsPj2rtAX2BFfgXen8T39CJWblWRDT4L5WGXtDdg==",
"requires": {
"bail": "^1.0.0",
"extend": "^3.0.0",
@@ -12366,9 +12331,9 @@
},
"dependencies": {
"is-buffer": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.4.tgz",
- "integrity": "sha512-Kq1rokWXOPXWuaMAqZiJW4XxsmD9zGx9q4aePabbn3qCRGedtH7Cm+zV8WETitMfu1wdh+Rvd6w5egwSngUX2A=="
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz",
+ "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ=="
},
"is-plain-obj": {
"version": "2.1.0",
@@ -12428,14 +12393,14 @@
"integrity": "sha512-f98yt5pnlMWlzP539tPc4grGMsFaQQlP/vM396b00jngsiINumNmsY8rkXjfoi1c6QaM8nQ3vaGDuoKWbe/1Uw=="
},
"unist-util-generated": {
- "version": "1.1.5",
- "resolved": "https://registry.npmjs.org/unist-util-generated/-/unist-util-generated-1.1.5.tgz",
- "integrity": "sha512-1TC+NxQa4N9pNdayCYA1EGUOCAO0Le3fVp7Jzns6lnua/mYgwHo0tz5WUAfrdpNch1RZLHc61VZ1SDgrtNXLSw=="
+ "version": "1.1.6",
+ "resolved": "https://registry.npmjs.org/unist-util-generated/-/unist-util-generated-1.1.6.tgz",
+ "integrity": "sha512-cln2Mm1/CZzN5ttGK7vkoGw+RZ8VcUH6BtGbq98DDtRGquAAOXig1mrBQYelOwMXYS8rK+vZDyyojSjp7JX+Lg=="
},
"unist-util-is": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-4.0.2.tgz",
- "integrity": "sha512-Ofx8uf6haexJwI1gxWMGg6I/dLnF2yE+KibhD3/diOqY2TinLcqHXCV6OI5gFVn3xQqDH+u0M625pfKwIwgBKQ=="
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-4.0.4.tgz",
+ "integrity": "sha512-3dF39j/u423v4BBQrk1AQ2Ve1FxY5W3JKwXxVFzBODQ6WEvccguhgp802qQLKSnxPODE6WuRZtV+ohlUg4meBA=="
},
"unist-util-position": {
"version": "3.1.0",
@@ -12443,9 +12408,9 @@
"integrity": "sha512-w+PkwCbYSFw8vpgWD0v7zRCl1FpY3fjDSQ3/N/wNd9Ffa4gPi8+4keqt99N3XW6F99t/mUzp2xAhNmfKWp95QA=="
},
"unist-util-remove": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/unist-util-remove/-/unist-util-remove-2.0.0.tgz",
- "integrity": "sha512-HwwWyNHKkeg/eXRnE11IpzY8JT55JNM1YCwwU9YNCnfzk6s8GhPXrVBBZWiwLeATJbI7euvoGSzcy9M29UeW3g==",
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/unist-util-remove/-/unist-util-remove-2.0.1.tgz",
+ "integrity": "sha512-YtuetK6o16CMfG+0u4nndsWpujgsHDHHLyE0yGpJLLn5xSjKeyGyzEBOI2XbmoUHCYabmNgX52uxlWoQhcvR7Q==",
"requires": {
"unist-util-is": "^4.0.0"
}
@@ -12477,18 +12442,18 @@
}
},
"unist-util-visit-parents": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-3.1.0.tgz",
- "integrity": "sha512-0g4wbluTF93npyPrp/ymd3tCDTMnP0yo2akFD2FIBAYXq/Sga3lwaU1D8OYKbtpioaI6CkDcQ6fsMnmtzt7htw==",
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-3.1.1.tgz",
+ "integrity": "sha512-1KROIZWo6bcMrZEwiH2UrXDyalAa0uqzWCxCJj6lPOvTve2WkfgCytoDTPaMnodXh1WrXOq0haVYHj99ynJlsg==",
"requires": {
"@types/unist": "^2.0.0",
"unist-util-is": "^4.0.0"
}
},
"universalify": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz",
- "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg=="
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-1.0.0.tgz",
+ "integrity": "sha512-rb6X1W158d7pRQBg5gkR8uPaSfiids68LTJQYOtEUhoJUWBdaQHsuT/EUduxXYxcrt4r5PJ4fuHW1MHT6p0qug=="
},
"unpipe": {
"version": "1.0.0",
@@ -12542,9 +12507,9 @@
"integrity": "sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg=="
},
"update-notifier": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-4.1.1.tgz",
- "integrity": "sha512-9y+Kds0+LoLG6yN802wVXoIfxYEwh3FlZwzMwpCZp62S2i1/Jzeqb9Eeeju3NSHccGGasfGlK5/vEHbAifYRDg==",
+ "version": "4.1.3",
+ "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-4.1.3.tgz",
+ "integrity": "sha512-Yld6Z0RyCYGB6ckIjffGOSOmHXj1gMeE7aROz4MG+XMkmixBX4jUngrGXNYz7wPKBmtoD4MnBa2Anu7RSKht/A==",
"requires": {
"boxen": "^4.2.0",
"chalk": "^3.0.0",
@@ -12591,13 +12556,25 @@
}
},
"url-loader": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/url-loader/-/url-loader-4.1.0.tgz",
- "integrity": "sha512-IzgAAIC8wRrg6NYkFIJY09vtktQcsvU8V6HhtQj9PTefbYImzLB1hufqo4m+RyM5N3mLx5BqJKccgxJS+W3kqw==",
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/url-loader/-/url-loader-4.1.1.tgz",
+ "integrity": "sha512-3BTV812+AVHHOJQO8O5MkWgZ5aosP7GnROJwvzLS9hWDj00lZ6Z0wNak423Lp9PBZN05N+Jk/N5Si8jRAlGyWA==",
"requires": {
"loader-utils": "^2.0.0",
- "mime-types": "^2.1.26",
- "schema-utils": "^2.6.5"
+ "mime-types": "^2.1.27",
+ "schema-utils": "^3.0.0"
+ },
+ "dependencies": {
+ "schema-utils": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.0.0.tgz",
+ "integrity": "sha512-6D82/xSzO094ajanoOSbe4YvXWMfn2A//8Y1+MUqFAJul5Bs+yn36xbK9OtNDcRVSBJ9jjeoXftM6CfztsjOAA==",
+ "requires": {
+ "@types/json-schema": "^7.0.6",
+ "ajv": "^6.12.5",
+ "ajv-keywords": "^3.5.2"
+ }
+ }
}
},
"url-parse": {
@@ -12629,28 +12606,6 @@
"resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz",
"integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ=="
},
- "use-isomorphic-layout-effect": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/use-isomorphic-layout-effect/-/use-isomorphic-layout-effect-1.0.0.tgz",
- "integrity": "sha512-JMwJ7Vd86NwAt1jH7q+OIozZSIxA4ND0fx6AsOe2q1H8ooBUp5aN6DvVCqZiIaYU6JaMRJGyR0FO7EBCIsb/Rg=="
- },
- "use-latest": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/use-latest/-/use-latest-1.1.0.tgz",
- "integrity": "sha512-gF04d0ZMV3AMB8Q7HtfkAWe+oq1tFXP6dZKwBHQF5nVXtGsh2oAYeeqma5ZzxtlpOcW8Ro/tLcfmEodjDeqtuw==",
- "requires": {
- "use-isomorphic-layout-effect": "^1.0.0"
- }
- },
- "use-onclickoutside": {
- "version": "0.3.1",
- "resolved": "https://registry.npmjs.org/use-onclickoutside/-/use-onclickoutside-0.3.1.tgz",
- "integrity": "sha512-aahvbW5+G0XJfzj31FJeLsvc6qdKbzeTsQ8EtkHHq5qTg6bm/qkJeKLcgrpnYeHDDbd7uyhImLGdkbM9BRzOHQ==",
- "requires": {
- "are-passive-events-supported": "^1.1.0",
- "use-latest": "^1.0.0"
- }
- },
"util": {
"version": "0.11.1",
"resolved": "https://registry.npmjs.org/util/-/util-0.11.1.tgz",
@@ -12680,6 +12635,26 @@
"es-abstract": "^1.17.2",
"has-symbols": "^1.0.1",
"object.getownpropertydescriptors": "^2.1.0"
+ },
+ "dependencies": {
+ "es-abstract": {
+ "version": "1.17.7",
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.7.tgz",
+ "integrity": "sha512-VBl/gnfcJ7OercKA9MVaegWsBHFjV492syMudcnQZvt/Dw8ezpcOHYZXa/J96O8vx+g4x65YKhxOwDUh63aS5g==",
+ "requires": {
+ "es-to-primitive": "^1.2.1",
+ "function-bind": "^1.1.1",
+ "has": "^1.0.3",
+ "has-symbols": "^1.0.1",
+ "is-callable": "^1.2.2",
+ "is-regex": "^1.1.1",
+ "object-inspect": "^1.8.0",
+ "object-keys": "^1.1.1",
+ "object.assign": "^4.1.1",
+ "string.prototype.trimend": "^1.0.1",
+ "string.prototype.trimstart": "^1.0.1"
+ }
+ }
}
},
"utila": {
@@ -12718,28 +12693,27 @@
"integrity": "sha512-/juG65kTL4Cy2su4P8HjtkTxk6VmJDiOPBufWniqQ6wknac6jNiXS9vU+hO3wgusiyqWlzTbVHi0dyJqRONg3w=="
},
"vfile": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/vfile/-/vfile-4.2.0.tgz",
- "integrity": "sha512-a/alcwCvtuc8OX92rqqo7PflxiCgXRFjdyoGVuYV+qbgCb0GgZJRvIgCD4+U/Kl1yhaRsaTwksF88xbPyGsgpw==",
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/vfile/-/vfile-4.2.1.tgz",
+ "integrity": "sha512-O6AE4OskCG5S1emQ/4gl8zK586RqA3srz3nfK/Viy0UPToBc5Trp9BVFb1u0CjsKrAWwnpr4ifM/KBXPWwJbCA==",
"requires": {
"@types/unist": "^2.0.0",
"is-buffer": "^2.0.0",
- "replace-ext": "1.0.0",
"unist-util-stringify-position": "^2.0.0",
"vfile-message": "^2.0.0"
},
"dependencies": {
"is-buffer": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.4.tgz",
- "integrity": "sha512-Kq1rokWXOPXWuaMAqZiJW4XxsmD9zGx9q4aePabbn3qCRGedtH7Cm+zV8WETitMfu1wdh+Rvd6w5egwSngUX2A=="
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz",
+ "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ=="
}
}
},
"vfile-location": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/vfile-location/-/vfile-location-3.1.0.tgz",
- "integrity": "sha512-FCZ4AN9xMcjFIG1oGmZKo61PjwJHRVA+0/tPUP2ul4uIwjGGndIxavEMRpWn5p4xwm/ZsdXp9YNygf1ZyE4x8g=="
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/vfile-location/-/vfile-location-3.2.0.tgz",
+ "integrity": "sha512-aLEIZKv/oxuCDZ8lkJGhuhztf/BW4M+iHdCwglA/eWc+vtuRFJj8EtgceYFX4LRjOhCAAiNHsKGssC6onJ+jbA=="
},
"vfile-message": {
"version": "2.0.4",
@@ -12755,62 +12729,33 @@
"resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.2.tgz",
"integrity": "sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ=="
},
- "wait-file": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/wait-file/-/wait-file-1.0.5.tgz",
- "integrity": "sha512-udLpJY/eOxlrMm3+XD1RLuF2oT9B7J7wiyR5/9xrvQymS6YR6trWvVhzOldHrVbLwyiRmLj9fcvsjzpSXeZHkw==",
+ "wait-on": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/wait-on/-/wait-on-5.2.0.tgz",
+ "integrity": "sha512-U1D9PBgGw2XFc6iZqn45VBubw02VsLwnZWteQ1au4hUVHasTZuFSKRzlTB2dqgLhji16YVI8fgpEpwUdCr8B6g==",
"requires": {
- "@hapi/joi": "^15.1.0",
- "fs-extra": "^8.1.0",
- "rx": "^4.1.0"
- },
- "dependencies": {
- "@hapi/address": {
- "version": "2.1.4",
- "resolved": "https://registry.npmjs.org/@hapi/address/-/address-2.1.4.tgz",
- "integrity": "sha512-QD1PhQk+s31P1ixsX0H0Suoupp3VMXzIVMSwobR3F3MSUO2YCV0B7xqLcUw/Bh8yuvd3LhpyqLQWTNcRmp6IdQ=="
- },
- "@hapi/hoek": {
- "version": "8.5.1",
- "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-8.5.1.tgz",
- "integrity": "sha512-yN7kbciD87WzLGc5539Tn0sApjyiGHAJgKvG9W8C7O+6c7qmoQMfVs0W4bX17eqz6C78QJqqFrtgdK5EWf6Qow=="
- },
- "@hapi/joi": {
- "version": "15.1.1",
- "resolved": "https://registry.npmjs.org/@hapi/joi/-/joi-15.1.1.tgz",
- "integrity": "sha512-entf8ZMOK8sc+8YfeOlM8pCfg3b5+WZIKBfUaaJT8UsjAAPjartzxIYm3TIbjvA4u+u++KbcXD38k682nVHDAQ==",
- "requires": {
- "@hapi/address": "2.x.x",
- "@hapi/bourne": "1.x.x",
- "@hapi/hoek": "8.x.x",
- "@hapi/topo": "3.x.x"
- }
- },
- "@hapi/topo": {
- "version": "3.1.6",
- "resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-3.1.6.tgz",
- "integrity": "sha512-tAag0jEcjwH+P2quUfipd7liWCNX2F8NvYjQp2wtInsZxnMlypdw0FtAOLxtvvkO+GSRRbmNi8m/5y42PQJYCQ==",
- "requires": {
- "@hapi/hoek": "^8.3.0"
- }
- }
+ "axios": "^0.19.2",
+ "joi": "^17.1.1",
+ "lodash": "^4.17.19",
+ "minimist": "^1.2.5",
+ "rxjs": "^6.5.5"
}
},
"watchpack": {
- "version": "1.7.4",
- "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.7.4.tgz",
- "integrity": "sha512-aWAgTW4MoSJzZPAicljkO1hsi1oKj/RRq/OJQh2PKI2UKL04c2Bs+MBOB+BBABHTXJpf9mCwHN7ANCvYsvY2sg==",
+ "version": "1.7.5",
+ "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.7.5.tgz",
+ "integrity": "sha512-9P3MWk6SrKjHsGkLT2KHXdQ/9SNkyoJbabxnKOoJepsvJjJG8uYTR3yTPxPQvNDI3w4Nz1xnE0TLHK4RIVe/MQ==",
"requires": {
"chokidar": "^3.4.1",
"graceful-fs": "^4.1.2",
"neo-async": "^2.5.0",
- "watchpack-chokidar2": "^2.0.0"
+ "watchpack-chokidar2": "^2.0.1"
}
},
"watchpack-chokidar2": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/watchpack-chokidar2/-/watchpack-chokidar2-2.0.0.tgz",
- "integrity": "sha512-9TyfOyN/zLUbA288wZ8IsMZ+6cbzvsNyEzSBp6e/zkifi6xxbl8SmQ/CxQq32k8NNqrdVEVUVSEf56L4rQ/ZxA==",
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/watchpack-chokidar2/-/watchpack-chokidar2-2.0.1.tgz",
+ "integrity": "sha512-nCFfBIPKr5Sh61s4LPpy1Wtfi0HE8isJ3d2Yb5/Ppw2P2B/3eVSEBjKfN0fmHJSK14+31KwMKmcrzs2GM4P0Ww==",
"optional": true,
"requires": {
"chokidar": "^2.1.8"
@@ -12940,11 +12885,7 @@
"version": "1.2.13",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz",
"integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==",
- "optional": true,
- "requires": {
- "bindings": "^1.5.0",
- "nan": "^2.12.1"
- }
+ "optional": true
},
"glob-parent": {
"version": "3.1.0",
@@ -13083,9 +13024,9 @@
"integrity": "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg=="
},
"webpack": {
- "version": "4.44.1",
- "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.44.1.tgz",
- "integrity": "sha512-4UOGAohv/VGUNQJstzEywwNxqX417FnjZgZJpJQegddzPmTvph37eBIRbRTfdySXzVtJXLJfbMN3mMYhM6GdmQ==",
+ "version": "4.44.2",
+ "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.44.2.tgz",
+ "integrity": "sha512-6KJVGlCxYdISyurpQ0IPTklv+DULv05rs2hseIXer6D7KrUicRDLFb4IUM1S6LUAKypPM/nSiVSuv8jHu1m3/Q==",
"requires": {
"@webassemblyjs/ast": "1.9.0",
"@webassemblyjs/helper-module-context": "1.9.0",
@@ -13206,6 +13147,24 @@
}
}
},
+ "find-cache-dir": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz",
+ "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==",
+ "requires": {
+ "commondir": "^1.0.1",
+ "make-dir": "^2.0.0",
+ "pkg-dir": "^3.0.0"
+ }
+ },
+ "find-up": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
+ "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
+ "requires": {
+ "locate-path": "^3.0.0"
+ }
+ },
"is-number": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz",
@@ -13247,6 +13206,15 @@
"json5": "^1.0.1"
}
},
+ "locate-path": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
+ "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
+ "requires": {
+ "p-locate": "^3.0.0",
+ "path-exists": "^3.0.0"
+ }
+ },
"lru-cache": {
"version": "5.1.1",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",
@@ -13255,6 +13223,15 @@
"yallist": "^3.0.2"
}
},
+ "make-dir": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz",
+ "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==",
+ "requires": {
+ "pify": "^4.0.1",
+ "semver": "^5.6.0"
+ }
+ },
"micromatch": {
"version": "3.1.10",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz",
@@ -13275,6 +13252,32 @@
"to-regex": "^3.0.2"
}
},
+ "p-locate": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
+ "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
+ "requires": {
+ "p-limit": "^2.0.0"
+ }
+ },
+ "path-exists": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
+ "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU="
+ },
+ "pify": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",
+ "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g=="
+ },
+ "pkg-dir": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz",
+ "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==",
+ "requires": {
+ "find-up": "^3.0.0"
+ }
+ },
"rimraf": {
"version": "2.7.1",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz",
@@ -13293,6 +13296,19 @@
"ajv-keywords": "^3.1.0"
}
},
+ "semver": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
+ "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ=="
+ },
+ "serialize-javascript": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz",
+ "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==",
+ "requires": {
+ "randombytes": "^2.1.0"
+ }
+ },
"source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
@@ -13339,9 +13355,9 @@
}
},
"webpack-bundle-analyzer": {
- "version": "3.8.0",
- "resolved": "https://registry.npmjs.org/webpack-bundle-analyzer/-/webpack-bundle-analyzer-3.8.0.tgz",
- "integrity": "sha512-PODQhAYVEourCcOuU+NiYI7WdR8QyELZGgPvB1y2tjbUpbmcQOt5Q7jEK+ttd5se0KSBKD9SXHCEozS++Wllmw==",
+ "version": "3.9.0",
+ "resolved": "https://registry.npmjs.org/webpack-bundle-analyzer/-/webpack-bundle-analyzer-3.9.0.tgz",
+ "integrity": "sha512-Ob8amZfCm3rMB1ScjQVlbYYUEJyEjdEtQ92jqiFUYt5VkEeO2v5UMbv49P/gnmCZm3A6yaFQzCBvpZqN4MUsdA==",
"requires": {
"acorn": "^7.1.1",
"acorn-walk": "^7.1.1",
@@ -13352,16 +13368,16 @@
"express": "^4.16.3",
"filesize": "^3.6.1",
"gzip-size": "^5.0.0",
- "lodash": "^4.17.15",
+ "lodash": "^4.17.19",
"mkdirp": "^0.5.1",
"opener": "^1.5.1",
"ws": "^6.0.0"
},
"dependencies": {
"acorn": {
- "version": "7.4.0",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.0.tgz",
- "integrity": "sha512-+G7P8jJmCHr+S+cLfQxygbWhXy+8YTVGzAkpEbcLo2mLoL7tij/VG41QSHACSf5QgYRhMZYHuNc6drJaO0Da+w=="
+ "version": "7.4.1",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz",
+ "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A=="
},
"chalk": {
"version": "2.4.2",
@@ -13585,11 +13601,7 @@
"version": "1.2.13",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz",
"integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==",
- "optional": true,
- "requires": {
- "bindings": "^1.5.0",
- "nan": "^2.12.1"
- }
+ "optional": true
},
"glob-parent": {
"version": "3.1.0",
@@ -13685,6 +13697,11 @@
"resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz",
"integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw=="
},
+ "pify": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",
+ "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g=="
+ },
"readable-stream": {
"version": "2.3.7",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
@@ -13857,11 +13874,10 @@
},
"dependencies": {
"ansi-styles": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
- "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"requires": {
- "@types/color-name": "^1.1.1",
"color-convert": "^2.0.1"
}
}
@@ -13883,9 +13899,9 @@
"integrity": "sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg=="
},
"whatwg-fetch": {
- "version": "3.4.1",
- "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.4.1.tgz",
- "integrity": "sha512-sofZVzE1wKwO+EYPbWfiwzaKovWiZXf4coEzjGP9b2GBVgQRLQUZ2QcuPpQExGDAW5GItpEm6Tl4OU5mywnAoQ=="
+ "version": "3.5.0",
+ "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.5.0.tgz",
+ "integrity": "sha512-jXkLtsR42xhXg7akoDKvKWE40eJeI+2KZqcp2h3NsOrRnDvtWX36KcKl30dy+hxECivdk2BVUHVNrPtoMBUx6A=="
},
"whatwg-url": {
"version": "7.1.0",
@@ -14004,9 +14020,9 @@
"integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ=="
},
"y18n": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz",
- "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w=="
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.1.tgz",
+ "integrity": "sha512-wNcy4NvjMYL8gogWWYAO7ZFWFfHcbdbE57tZO8e4cbpj8tfUcwrwqSl3ad8HxpYWCdXcJUCeKKZS62Av1affwQ=="
},
"yallist": {
"version": "4.0.0",
@@ -14035,6 +14051,36 @@
"yargs-parser": "^13.1.2"
},
"dependencies": {
+ "find-up": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
+ "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
+ "requires": {
+ "locate-path": "^3.0.0"
+ }
+ },
+ "locate-path": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
+ "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
+ "requires": {
+ "p-locate": "^3.0.0",
+ "path-exists": "^3.0.0"
+ }
+ },
+ "p-locate": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
+ "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
+ "requires": {
+ "p-limit": "^2.0.0"
+ }
+ },
+ "path-exists": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
+ "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU="
+ },
"string-width": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz",
@@ -14063,6 +14109,11 @@
}
}
},
+ "yocto-queue": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
+ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q=="
+ },
"zwitch": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/zwitch/-/zwitch-1.0.5.tgz",
diff --git a/website/package.json b/website/package.json
index 66d646f..10b1765 100644
--- a/website/package.json
+++ b/website/package.json
@@ -11,8 +11,8 @@
"serve": "docusaurus serve"
},
"dependencies": {
- "@docusaurus/core": "2.0.0-alpha.63",
- "@docusaurus/preset-classic": "2.0.0-alpha.63",
+ "@docusaurus/core": "2.0.0-alpha.f37987f32",
+ "@docusaurus/preset-classic": "2.0.0-alpha.f37987f32",
"@mdx-js/react": "1.6.22",
"clsx": "1.1.1",
"react": "16.14.0",
@@ -31,7 +31,7 @@
]
},
"devDependencies": {
- "@docusaurus/module-type-aliases": "2.0.0-alpha.51",
+ "@docusaurus/module-type-aliases": "2.0.0-alpha.f37987f32",
"@tsconfig/docusaurus": "1.0.2",
"@types/react": "17.0.0",
"@types/react-helmet": "6.1.0",
From 6ece303484a47fab4626e359a7eb05bac6c10105 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 8 Dec 2020 12:50:27 +0300
Subject: [PATCH 051/101] chore(deps): update dependency
@typescript-eslint/parser to v4 (#172)
Co-authored-by: Renovate Bot
---
package-lock.json | 82 ++++-------------------------------------------
package.json | 2 +-
2 files changed, 8 insertions(+), 76 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index d3d85bb..babe55a 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -173,12 +173,6 @@
}
}
},
- "@types/eslint-visitor-keys": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@types/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz",
- "integrity": "sha512-OCutwjDZ4aFS6PB1UZ988C4YgwlBHJd6wCeQqaLdmadZ/7e+w79+hbMUFC1QXDNCmdyoRfAFdm0RypzwR+Qpag==",
- "dev": true
- },
"@types/json-schema": {
"version": "7.0.5",
"resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.5.tgz",
@@ -227,77 +221,15 @@
}
},
"@typescript-eslint/parser": {
- "version": "3.10.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-3.10.1.tgz",
- "integrity": "sha512-Ug1RcWcrJP02hmtaXVS3axPPTTPnZjupqhgj+NnZ6BCkwSImWk/283347+x9wN+lqOdK9Eo3vsyiyDHgsmiEJw==",
+ "version": "4.9.1",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.9.1.tgz",
+ "integrity": "sha512-Gv2VpqiomvQ2v4UL+dXlQcZ8zCX4eTkoIW+1aGVWT6yTO+6jbxsw7yQl2z2pPl/4B9qa5JXeIbhJpONKjXIy3g==",
"dev": true,
"requires": {
- "@types/eslint-visitor-keys": "^1.0.0",
- "@typescript-eslint/experimental-utils": "3.10.1",
- "@typescript-eslint/types": "3.10.1",
- "@typescript-eslint/typescript-estree": "3.10.1",
- "eslint-visitor-keys": "^1.1.0"
- },
- "dependencies": {
- "@typescript-eslint/experimental-utils": {
- "version": "3.10.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-3.10.1.tgz",
- "integrity": "sha512-DewqIgscDzmAfd5nOGe4zm6Bl7PKtMG2Ad0KG8CUZAHlXfAKTF9Ol5PXhiMh39yRL2ChRH1cuuUGOcVyyrhQIw==",
- "dev": true,
- "requires": {
- "@types/json-schema": "^7.0.3",
- "@typescript-eslint/types": "3.10.1",
- "@typescript-eslint/typescript-estree": "3.10.1",
- "eslint-scope": "^5.0.0",
- "eslint-utils": "^2.0.0"
- }
- },
- "@typescript-eslint/types": {
- "version": "3.10.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-3.10.1.tgz",
- "integrity": "sha512-+3+FCUJIahE9q0lDi1WleYzjCwJs5hIsbugIgnbB+dSCYUxl8L6PwmsyOPFZde2hc1DlTo/xnkOgiTLSyAbHiQ==",
- "dev": true
- },
- "@typescript-eslint/typescript-estree": {
- "version": "3.10.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-3.10.1.tgz",
- "integrity": "sha512-QbcXOuq6WYvnB3XPsZpIwztBoquEYLXh2MtwVU+kO8jgYCiv4G5xrSP/1wg4tkvrEE+esZVquIPX/dxPlePk1w==",
- "dev": true,
- "requires": {
- "@typescript-eslint/types": "3.10.1",
- "@typescript-eslint/visitor-keys": "3.10.1",
- "debug": "^4.1.1",
- "glob": "^7.1.6",
- "is-glob": "^4.0.1",
- "lodash": "^4.17.15",
- "semver": "^7.3.2",
- "tsutils": "^3.17.1"
- }
- },
- "@typescript-eslint/visitor-keys": {
- "version": "3.10.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-3.10.1.tgz",
- "integrity": "sha512-9JgC82AaQeglebjZMgYR5wgmfUdUc+EitGUUMW8u2nDckaeimzW+VsoLV6FoimPv2id3VQzfjwBxEMVz08ameQ==",
- "dev": true,
- "requires": {
- "eslint-visitor-keys": "^1.1.0"
- }
- },
- "debug": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
- "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
- "dev": true,
- "requires": {
- "ms": "^2.1.1"
- }
- },
- "ms": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
- "dev": true
- }
+ "@typescript-eslint/scope-manager": "4.9.1",
+ "@typescript-eslint/types": "4.9.1",
+ "@typescript-eslint/typescript-estree": "4.9.1",
+ "debug": "^4.1.1"
}
},
"@typescript-eslint/scope-manager": {
diff --git a/package.json b/package.json
index 2d8e3f7..7518b92 100644
--- a/package.json
+++ b/package.json
@@ -38,7 +38,7 @@
"@nestjs/common": "7.5.5",
"@nestjs/core": "7.5.5",
"@typescript-eslint/eslint-plugin": "4.9.1",
- "@typescript-eslint/parser": "3.10.1",
+ "@typescript-eslint/parser": "4.9.1",
"eslint": "7.15.0",
"eslint-config-prettier": "7.0.0",
"eslint-plugin-import": "2.22.1",
From 2408709bf95d683957d8972e9acf3a32f3612880 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 8 Dec 2020 12:50:45 +0300
Subject: [PATCH 052/101] fix(deps): update react monorepo to v17 (#174)
Co-authored-by: Renovate Bot
---
website/package-lock.json | 24 +++++++++++-------------
website/package.json | 4 ++--
2 files changed, 13 insertions(+), 15 deletions(-)
diff --git a/website/package-lock.json b/website/package-lock.json
index bd52a7b..8ab1127 100644
--- a/website/package-lock.json
+++ b/website/package-lock.json
@@ -9940,13 +9940,12 @@
}
},
"react": {
- "version": "16.14.0",
- "resolved": "https://registry.npmjs.org/react/-/react-16.14.0.tgz",
- "integrity": "sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g==",
+ "version": "17.0.1",
+ "resolved": "https://registry.npmjs.org/react/-/react-17.0.1.tgz",
+ "integrity": "sha512-lG9c9UuMHdcAexXtigOZLX8exLWkW0Ku29qPRU8uhF2R9BN96dLCt0psvzPLlHc5OWkgymP3qwTRgbnw5BKx3w==",
"requires": {
"loose-envify": "^1.1.0",
- "object-assign": "^4.1.1",
- "prop-types": "^15.6.2"
+ "object-assign": "^4.1.1"
}
},
"react-base16-styling": {
@@ -10330,14 +10329,13 @@
}
},
"react-dom": {
- "version": "16.14.0",
- "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.14.0.tgz",
- "integrity": "sha512-1gCeQXDLoIqMgqD3IO2Ah9bnf0w9kzhwN5q4FGnHZ67hBm9yePzB5JJAIQCc8x3pFnNlwFq4RidZggNAAkzWWw==",
+ "version": "17.0.1",
+ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-17.0.1.tgz",
+ "integrity": "sha512-6eV150oJZ9U2t9svnsspTMrWNyHc6chX0KzDeAOXftRa8bNeOKTTfCJ7KorIwenkHd2xqVTBTCZd79yk/lx/Ug==",
"requires": {
"loose-envify": "^1.1.0",
"object-assign": "^4.1.1",
- "prop-types": "^15.6.2",
- "scheduler": "^0.19.1"
+ "scheduler": "^0.20.1"
}
},
"react-error-overlay": {
@@ -11021,9 +11019,9 @@
"integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw=="
},
"scheduler": {
- "version": "0.19.1",
- "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.19.1.tgz",
- "integrity": "sha512-n/zwRWRYSUj0/3g/otKDRPMh6qv2SYMWNq85IEa8iZyAv8od9zDYpGSnpBEjNgcMNq6Scbu5KfIPxNF72R/2EA==",
+ "version": "0.20.1",
+ "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.20.1.tgz",
+ "integrity": "sha512-LKTe+2xNJBNxu/QhHvDR14wUXHRQbVY5ZOYpOGWRzhydZUqrLb2JBvLPY7cAqFmqrWuDED0Mjk7013SZiOz6Bw==",
"requires": {
"loose-envify": "^1.1.0",
"object-assign": "^4.1.1"
diff --git a/website/package.json b/website/package.json
index 10b1765..fc54dc3 100644
--- a/website/package.json
+++ b/website/package.json
@@ -15,8 +15,8 @@
"@docusaurus/preset-classic": "2.0.0-alpha.f37987f32",
"@mdx-js/react": "1.6.22",
"clsx": "1.1.1",
- "react": "16.14.0",
- "react-dom": "16.14.0"
+ "react": "17.0.1",
+ "react-dom": "17.0.1"
},
"browserslist": {
"production": [
From 3a5130967eea757e37ef4ede216cfe339590ea71 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 11 Dec 2020 00:09:35 +0300
Subject: [PATCH 053/101] chore(deps): update nest monorepo to v7.6.1 (#175)
Co-authored-by: Renovate Bot
---
package-lock.json | 22 +++++++++++-----------
package.json | 4 ++--
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index babe55a..5111e87 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -43,15 +43,15 @@
}
},
"@nestjs/common": {
- "version": "7.5.5",
- "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-7.5.5.tgz",
- "integrity": "sha512-dubDHjashfARGV8zhcANTsL5o0ZPm2xTB/BI12wgwTjCnM8WkaFqXpSCngqJyB3/XTFwllkP2g1ok6TwAZcSJw==",
+ "version": "7.6.1",
+ "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-7.6.1.tgz",
+ "integrity": "sha512-Tq95a6a0kP3rxtV49xal168QNx49JPfO3s6SZ01sCJMWJVtGy8KCaC8YHAx7+KYamH43K6bd9Qv0K9R8lZxEtg==",
"dev": true,
"requires": {
"axios": "0.21.0",
"iterare": "1.2.1",
"tslib": "2.0.3",
- "uuid": "8.3.1"
+ "uuid": "8.3.2"
},
"dependencies": {
"tslib": {
@@ -63,9 +63,9 @@
}
},
"@nestjs/core": {
- "version": "7.5.5",
- "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-7.5.5.tgz",
- "integrity": "sha512-ktGOTgBSL8PoInLqcPWC8mPeCCHBaaEJX6LmzfbjHWCPRZqu96kiiQ1a245yTo/ifYrtaqQ7gAaHJpcszEAYwg==",
+ "version": "7.6.1",
+ "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-7.6.1.tgz",
+ "integrity": "sha512-Rd0hqV2TsseMfZFTZBQH6zlNe5Hif5kVe5KNOnXADghKVaSLOO9SQ+VVPqXzeRYvC+xvJxnSdDyeTIriVsgMlg==",
"dev": true,
"requires": {
"@nuxtjs/opencollective": "0.3.2",
@@ -74,7 +74,7 @@
"object-hash": "2.0.3",
"path-to-regexp": "3.2.0",
"tslib": "2.0.3",
- "uuid": "8.3.1"
+ "uuid": "8.3.2"
},
"dependencies": {
"tslib": {
@@ -2776,9 +2776,9 @@
}
},
"uuid": {
- "version": "8.3.1",
- "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.1.tgz",
- "integrity": "sha512-FOmRr+FmWEIG8uhZv6C2bTgEVXsHk08kE7mPlrBbEe+c3r9pjceVPgupIfNIhc4yx55H69OXANrUaSuu9eInKg==",
+ "version": "8.3.2",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",
+ "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==",
"dev": true
},
"v8-compile-cache": {
diff --git a/package.json b/package.json
index 7518b92..5b332bb 100644
--- a/package.json
+++ b/package.json
@@ -35,8 +35,8 @@
"telegraf": "3.38.0"
},
"devDependencies": {
- "@nestjs/common": "7.5.5",
- "@nestjs/core": "7.5.5",
+ "@nestjs/common": "7.6.1",
+ "@nestjs/core": "7.6.1",
"@typescript-eslint/eslint-plugin": "4.9.1",
"@typescript-eslint/parser": "4.9.1",
"eslint": "7.15.0",
From c3a280320f1cdc860b2aa40c91827e1fc77e45e7 Mon Sep 17 00:00:00 2001
From: unknown
Date: Wed, 23 Dec 2020 17:43:22 +0300
Subject: [PATCH 054/101] chore(): use develop telegraf version
---
package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package.json b/package.json
index 06cdf3b..2a1e16f 100644
--- a/package.json
+++ b/package.json
@@ -33,7 +33,7 @@
"test": ""
},
"dependencies": {
- "telegraf": "git://github.com/telegraf/telegraf.git#addd845af3a20948ba0ee32fe6b1b4374bff1f09"
+ "telegraf": "https://github.com/telegraf/telegraf.git#develop"
},
"devDependencies": {
"@nestjs/common": "7.4.4",
From e11325ea6601fcabf5cf24ddc0bc91fd4f787dd0 Mon Sep 17 00:00:00 2001
From: unknown
Date: Wed, 23 Dec 2020 17:44:03 +0300
Subject: [PATCH 055/101] chore(): use master branch dependencie versions
---
package.json | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/package.json b/package.json
index 2a1e16f..16b1ffc 100644
--- a/package.json
+++ b/package.json
@@ -36,19 +36,19 @@
"telegraf": "https://github.com/telegraf/telegraf.git#develop"
},
"devDependencies": {
- "@nestjs/common": "7.4.4",
- "@nestjs/core": "7.4.4",
- "@typescript-eslint/eslint-plugin": "4.0.0",
- "@typescript-eslint/parser": "3.10.1",
- "eslint": "7.8.1",
- "eslint-config-prettier": "6.11.0",
- "eslint-plugin-import": "2.22.0",
- "husky": "4.3.0",
- "lint-staged": "10.3.0",
- "prettier": "2.1.1",
+ "@nestjs/common": "7.6.1",
+ "@nestjs/core": "7.6.1",
+ "@typescript-eslint/eslint-plugin": "4.9.1",
+ "@typescript-eslint/parser": "4.9.1",
+ "eslint": "7.15.0",
+ "eslint-config-prettier": "7.0.0",
+ "eslint-plugin-import": "2.22.1",
+ "husky": "4.3.5",
+ "lint-staged": "10.5.3",
+ "prettier": "2.2.1",
"reflect-metadata": "0.1.13",
"rxjs": "6.6.3",
- "typescript": "4.0.2"
+ "typescript": "4.1.2"
},
"peerDependencies": {
"@nestjs/common": "^6.7.0 || ^7.0.0",
From 23ea7632e1d74d7d3f1746abde0985f8995cfb3d Mon Sep 17 00:00:00 2001
From: unknown
Date: Wed, 23 Dec 2020 17:54:25 +0300
Subject: [PATCH 056/101] chore(): update package-lock
---
package-lock.json | 1239 +++++++++++++++------------------------------
1 file changed, 401 insertions(+), 838 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 888220d..d141bbc 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -5,18 +5,18 @@
"requires": true,
"dependencies": {
"@babel/code-frame": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz",
- "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==",
+ "version": "7.12.11",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz",
+ "integrity": "sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==",
"dev": true,
"requires": {
"@babel/highlight": "^7.10.4"
}
},
"@babel/helper-validator-identifier": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz",
- "integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw==",
+ "version": "7.12.11",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz",
+ "integrity": "sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw==",
"dev": true
},
"@babel/highlight": {
@@ -28,12 +28,64 @@
"@babel/helper-validator-identifier": "^7.10.4",
"chalk": "^2.0.0",
"js-tokens": "^4.0.0"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
+ "dev": true,
+ "requires": {
+ "color-convert": "^1.9.0"
+ }
+ },
+ "chalk": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
+ "dev": true,
+ "requires": {
+ "ansi-styles": "^3.2.1",
+ "escape-string-regexp": "^1.0.5",
+ "supports-color": "^5.3.0"
+ }
+ },
+ "color-convert": {
+ "version": "1.9.3",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
+ "dev": true,
+ "requires": {
+ "color-name": "1.1.3"
+ }
+ },
+ "color-name": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",
+ "dev": true
+ },
+ "has-flag": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "5.5.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
+ "dev": true,
+ "requires": {
+ "has-flag": "^3.0.0"
+ }
+ }
}
},
"@eslint/eslintrc": {
- "version": "0.1.3",
- "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.1.3.tgz",
- "integrity": "sha512-4YVwPkANLeNtRjMekzux1ci8hIaH5eGKktGqR0d3LWsKNn5B2X/1Z6Trxy7jQXl9EBGE6Yj02O+t09FMeRllaA==",
+ "version": "0.2.2",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.2.2.tgz",
+ "integrity": "sha512-EfB5OHNYp1F4px/LI/FEnGylop7nOqkQ1LRzCM0KccA2U8tvV8w01KBv37LbO7nW4H+YhKyo2LcJhRwjjV17QQ==",
"dev": true,
"requires": {
"ajv": "^6.12.4",
@@ -57,31 +109,30 @@
}
},
"@nestjs/common": {
- "version": "7.4.4",
- "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-7.4.4.tgz",
- "integrity": "sha512-Cj94FJrnLcAU4URJrRmnsHRODZPJpX+EKKJ/Or9qvL9ULQwRWYmFcGQYaJ0nVV0hSBjn/jaAV1Cgqw74uk21KA==",
+ "version": "7.6.1",
+ "resolved": "https://registry.npmjs.org/@nestjs/common/-/common-7.6.1.tgz",
+ "integrity": "sha512-Tq95a6a0kP3rxtV49xal168QNx49JPfO3s6SZ01sCJMWJVtGy8KCaC8YHAx7+KYamH43K6bd9Qv0K9R8lZxEtg==",
"dev": true,
"requires": {
- "axios": "0.20.0",
- "cli-color": "2.0.0",
+ "axios": "0.21.0",
"iterare": "1.2.1",
- "tslib": "2.0.1",
- "uuid": "8.3.0"
+ "tslib": "2.0.3",
+ "uuid": "8.3.2"
}
},
"@nestjs/core": {
- "version": "7.4.4",
- "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-7.4.4.tgz",
- "integrity": "sha512-e3iID6s0JIaWDlZMIO+gkk5KDwHW+VUexvZOKXbTjtsBidtusbiT4JLr4ODkj8y3QSfQN9vouY9hWfwwQrxa/Q==",
+ "version": "7.6.1",
+ "resolved": "https://registry.npmjs.org/@nestjs/core/-/core-7.6.1.tgz",
+ "integrity": "sha512-Rd0hqV2TsseMfZFTZBQH6zlNe5Hif5kVe5KNOnXADghKVaSLOO9SQ+VVPqXzeRYvC+xvJxnSdDyeTIriVsgMlg==",
"dev": true,
"requires": {
- "@nuxtjs/opencollective": "0.2.2",
+ "@nuxtjs/opencollective": "0.3.2",
"fast-safe-stringify": "2.0.7",
"iterare": "1.2.1",
"object-hash": "2.0.3",
"path-to-regexp": "3.2.0",
- "tslib": "2.0.1",
- "uuid": "8.3.0"
+ "tslib": "2.0.3",
+ "uuid": "8.3.2"
}
},
"@nodelib/fs.scandir": {
@@ -111,28 +162,16 @@
}
},
"@nuxtjs/opencollective": {
- "version": "0.2.2",
- "resolved": "https://registry.npmjs.org/@nuxtjs/opencollective/-/opencollective-0.2.2.tgz",
- "integrity": "sha512-69gFVDs7mJfNjv9Zs5DFVD+pvBW+k1TaHSOqUWqAyTTfLcKI/EMYQgvEvziRd+zAFtUOoye6MfWh0qvinGISPw==",
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/@nuxtjs/opencollective/-/opencollective-0.3.2.tgz",
+ "integrity": "sha512-um0xL3fO7Mf4fDxcqx9KryrB7zgRM5JSlvGN5AGkP6JLM5XEKyjeAiPbNxdXVXQ16isuAhYpvP88NgL2BGd6aA==",
"dev": true,
"requires": {
- "chalk": "^2.4.1",
- "consola": "^2.3.0",
- "node-fetch": "^2.3.0"
+ "chalk": "^4.1.0",
+ "consola": "^2.15.0",
+ "node-fetch": "^2.6.1"
}
},
- "@types/color-name": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz",
- "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==",
- "dev": true
- },
- "@types/eslint-visitor-keys": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@types/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz",
- "integrity": "sha512-OCutwjDZ4aFS6PB1UZ988C4YgwlBHJd6wCeQqaLdmadZ/7e+w79+hbMUFC1QXDNCmdyoRfAFdm0RypzwR+Qpag==",
- "dev": true
- },
"@types/json-schema": {
"version": "7.0.6",
"resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.6.tgz",
@@ -152,13 +191,13 @@
"dev": true
},
"@typescript-eslint/eslint-plugin": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.0.0.tgz",
- "integrity": "sha512-5e6q1TR7gS2P+8W2xndCu7gBh3BzmYEo70OyIdsmCmknHha/yNbz2vdevl+tP1uoaMOcrzg4gyrAijuV3DDBHA==",
+ "version": "4.9.1",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.9.1.tgz",
+ "integrity": "sha512-QRLDSvIPeI1pz5tVuurD+cStNR4sle4avtHhxA+2uyixWGFjKzJ+EaFVRW6dA/jOgjV5DTAjOxboQkRDE8cRlQ==",
"dev": true,
"requires": {
- "@typescript-eslint/experimental-utils": "4.0.0",
- "@typescript-eslint/scope-manager": "4.0.0",
+ "@typescript-eslint/experimental-utils": "4.9.1",
+ "@typescript-eslint/scope-manager": "4.9.1",
"debug": "^4.1.1",
"functional-red-black-tree": "^1.0.1",
"regexpp": "^3.0.0",
@@ -167,108 +206,55 @@
}
},
"@typescript-eslint/experimental-utils": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.0.0.tgz",
- "integrity": "sha512-hbX6zR+a/vcpFVNJYN/Nbd7gmaMosDTxHEKcvmhWeWcq/0UDifrqmCfkkodbAKL46Fn4ekSBMTyq2zlNDzcQxw==",
+ "version": "4.9.1",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.9.1.tgz",
+ "integrity": "sha512-c3k/xJqk0exLFs+cWSJxIjqLYwdHCuLWhnpnikmPQD2+NGAx9KjLYlBDcSI81EArh9FDYSL6dslAUSwILeWOxg==",
"dev": true,
"requires": {
"@types/json-schema": "^7.0.3",
- "@typescript-eslint/scope-manager": "4.0.0",
- "@typescript-eslint/types": "4.0.0",
- "@typescript-eslint/typescript-estree": "4.0.0",
+ "@typescript-eslint/scope-manager": "4.9.1",
+ "@typescript-eslint/types": "4.9.1",
+ "@typescript-eslint/typescript-estree": "4.9.1",
"eslint-scope": "^5.0.0",
"eslint-utils": "^2.0.0"
}
},
"@typescript-eslint/parser": {
- "version": "3.10.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-3.10.1.tgz",
- "integrity": "sha512-Ug1RcWcrJP02hmtaXVS3axPPTTPnZjupqhgj+NnZ6BCkwSImWk/283347+x9wN+lqOdK9Eo3vsyiyDHgsmiEJw==",
+ "version": "4.9.1",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.9.1.tgz",
+ "integrity": "sha512-Gv2VpqiomvQ2v4UL+dXlQcZ8zCX4eTkoIW+1aGVWT6yTO+6jbxsw7yQl2z2pPl/4B9qa5JXeIbhJpONKjXIy3g==",
"dev": true,
"requires": {
- "@types/eslint-visitor-keys": "^1.0.0",
- "@typescript-eslint/experimental-utils": "3.10.1",
- "@typescript-eslint/types": "3.10.1",
- "@typescript-eslint/typescript-estree": "3.10.1",
- "eslint-visitor-keys": "^1.1.0"
- },
- "dependencies": {
- "@typescript-eslint/experimental-utils": {
- "version": "3.10.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-3.10.1.tgz",
- "integrity": "sha512-DewqIgscDzmAfd5nOGe4zm6Bl7PKtMG2Ad0KG8CUZAHlXfAKTF9Ol5PXhiMh39yRL2ChRH1cuuUGOcVyyrhQIw==",
- "dev": true,
- "requires": {
- "@types/json-schema": "^7.0.3",
- "@typescript-eslint/types": "3.10.1",
- "@typescript-eslint/typescript-estree": "3.10.1",
- "eslint-scope": "^5.0.0",
- "eslint-utils": "^2.0.0"
- }
- },
- "@typescript-eslint/types": {
- "version": "3.10.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-3.10.1.tgz",
- "integrity": "sha512-+3+FCUJIahE9q0lDi1WleYzjCwJs5hIsbugIgnbB+dSCYUxl8L6PwmsyOPFZde2hc1DlTo/xnkOgiTLSyAbHiQ==",
- "dev": true
- },
- "@typescript-eslint/typescript-estree": {
- "version": "3.10.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-3.10.1.tgz",
- "integrity": "sha512-QbcXOuq6WYvnB3XPsZpIwztBoquEYLXh2MtwVU+kO8jgYCiv4G5xrSP/1wg4tkvrEE+esZVquIPX/dxPlePk1w==",
- "dev": true,
- "requires": {
- "@typescript-eslint/types": "3.10.1",
- "@typescript-eslint/visitor-keys": "3.10.1",
- "debug": "^4.1.1",
- "glob": "^7.1.6",
- "is-glob": "^4.0.1",
- "lodash": "^4.17.15",
- "semver": "^7.3.2",
- "tsutils": "^3.17.1"
- }
- },
- "@typescript-eslint/visitor-keys": {
- "version": "3.10.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-3.10.1.tgz",
- "integrity": "sha512-9JgC82AaQeglebjZMgYR5wgmfUdUc+EitGUUMW8u2nDckaeimzW+VsoLV6FoimPv2id3VQzfjwBxEMVz08ameQ==",
- "dev": true,
- "requires": {
- "eslint-visitor-keys": "^1.1.0"
- }
- },
- "eslint-visitor-keys": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz",
- "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==",
- "dev": true
- }
+ "@typescript-eslint/scope-manager": "4.9.1",
+ "@typescript-eslint/types": "4.9.1",
+ "@typescript-eslint/typescript-estree": "4.9.1",
+ "debug": "^4.1.1"
}
},
"@typescript-eslint/scope-manager": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.0.0.tgz",
- "integrity": "sha512-9gcWUPoWo7gk/+ZQPg7L1ySRmR5HLIy3Vu6/LfhQbuzIkGm6v2CGIjpVRISoDLFRovNRDImd4aP/sa8O4yIEBg==",
+ "version": "4.9.1",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.9.1.tgz",
+ "integrity": "sha512-sa4L9yUfD/1sg9Kl8OxPxvpUcqxKXRjBeZxBuZSSV1v13hjfEJkn84n0An2hN8oLQ1PmEl2uA6FkI07idXeFgQ==",
"dev": true,
"requires": {
- "@typescript-eslint/types": "4.0.0",
- "@typescript-eslint/visitor-keys": "4.0.0"
+ "@typescript-eslint/types": "4.9.1",
+ "@typescript-eslint/visitor-keys": "4.9.1"
}
},
"@typescript-eslint/types": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.0.0.tgz",
- "integrity": "sha512-bK+c2VLzznX2fUWLK6pFDv3cXGTp7nHIuBMq1B9klA+QCsqLHOOqe5TQReAQDl7DN2RfH+neweo0oC5hYlG7Rg==",
+ "version": "4.9.1",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.9.1.tgz",
+ "integrity": "sha512-fjkT+tXR13ks6Le7JiEdagnwEFc49IkOyys7ueWQ4O8k4quKPwPJudrwlVOJCUQhXo45PrfIvIarcrEjFTNwUA==",
"dev": true
},
"@typescript-eslint/typescript-estree": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.0.0.tgz",
- "integrity": "sha512-ewFMPi2pMLDNIXGMPdf8r7El2oPSZw9PEYB0j+WcpKd7AX2ARmajGa7RUHTukllWX2bj4vWX6JLE1Oih2BMokA==",
+ "version": "4.9.1",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.9.1.tgz",
+ "integrity": "sha512-bzP8vqwX6Vgmvs81bPtCkLtM/Skh36NE6unu6tsDeU/ZFoYthlTXbBmpIrvosgiDKlWTfb2ZpPELHH89aQjeQw==",
"dev": true,
"requires": {
- "@typescript-eslint/types": "4.0.0",
- "@typescript-eslint/visitor-keys": "4.0.0",
+ "@typescript-eslint/types": "4.9.1",
+ "@typescript-eslint/visitor-keys": "4.9.1",
"debug": "^4.1.1",
"globby": "^11.0.1",
"is-glob": "^4.0.1",
@@ -278,19 +264,27 @@
}
},
"@typescript-eslint/visitor-keys": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.0.0.tgz",
- "integrity": "sha512-sTouJbv6rjVJeTE4lpSBVYXq/u5K3gbB6LKt7ccFEZPTZB/VeQ0ssUz9q5Hx++sCqBbdF8PzrrgvEnicXAR6NQ==",
+ "version": "4.9.1",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.9.1.tgz",
+ "integrity": "sha512-9gspzc6UqLQHd7lXQS7oWs+hrYggspv/rk6zzEMhCbYwPE/sF7oxo7GAjkS35Tdlt7wguIG+ViWCPtVZHz/ybQ==",
"dev": true,
"requires": {
- "@typescript-eslint/types": "4.0.0",
+ "@typescript-eslint/types": "4.9.1",
"eslint-visitor-keys": "^2.0.0"
}
},
+ "abort-controller": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz",
+ "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==",
+ "requires": {
+ "event-target-shim": "^5.0.0"
+ }
+ },
"acorn": {
- "version": "7.4.0",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.0.tgz",
- "integrity": "sha512-+G7P8jJmCHr+S+cLfQxygbWhXy+8YTVGzAkpEbcLo2mLoL7tij/VG41QSHACSf5QgYRhMZYHuNc6drJaO0Da+w==",
+ "version": "7.4.1",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz",
+ "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==",
"dev": true
},
"acorn-jsx": {
@@ -310,9 +304,9 @@
}
},
"ajv": {
- "version": "6.12.4",
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.4.tgz",
- "integrity": "sha512-eienB2c9qVQs2KWexhkrdMLVDoIQCz5KSeLxwg9Lzk4DOfBtIK9PQwwufcsn1jjGuf9WZmqPMbGxOzfcuphJCQ==",
+ "version": "6.12.6",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
+ "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
"dev": true,
"requires": {
"fast-deep-equal": "^3.1.1",
@@ -345,18 +339,18 @@
}
},
"ansi-regex": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
- "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz",
+ "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==",
"dev": true
},
"ansi-styles": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
- "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"dev": true,
"requires": {
- "color-convert": "^1.9.0"
+ "color-convert": "^2.0.1"
}
},
"argparse": {
@@ -369,13 +363,15 @@
}
},
"array-includes": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.1.tgz",
- "integrity": "sha512-c2VXaCHl7zPsvpkFsw4nxvFie4fh1ur9bpcgsVkIjqn0H/Xwdg+7fv3n2r/isyS8EBj5b06M9kHyZuIr4El6WQ==",
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.2.tgz",
+ "integrity": "sha512-w2GspexNQpx+PutG3QpT437/BenZBj0M/MZGn5mzv/MofYqo0xmRHzn4lFsoDlWJ+THYsGJmFlW68WlDFx7VRw==",
"dev": true,
"requires": {
+ "call-bind": "^1.0.0",
"define-properties": "^1.1.3",
- "es-abstract": "^1.17.0",
+ "es-abstract": "^1.18.0-next.1",
+ "get-intrinsic": "^1.0.1",
"is-string": "^1.0.5"
}
},
@@ -386,13 +382,14 @@
"dev": true
},
"array.prototype.flat": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.2.3.tgz",
- "integrity": "sha512-gBlRZV0VSmfPIeWfuuy56XZMvbVfbEUnOXUvt3F/eUUUSyzlgLxhEX4YAEpxNAogRGehPSnfXyPtYyKAhkzQhQ==",
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.2.4.tgz",
+ "integrity": "sha512-4470Xi3GAPAjZqFcljX2xzckv1qeKPizoNkiS0+O4IoPR2ZNpcjE0pkhdihlDouK+x6QOast26B4Q/O9DJnwSg==",
"dev": true,
"requires": {
+ "call-bind": "^1.0.0",
"define-properties": "^1.1.3",
- "es-abstract": "^1.17.0-next.1"
+ "es-abstract": "^1.18.0-next.1"
}
},
"astral-regex": {
@@ -402,9 +399,9 @@
"dev": true
},
"axios": {
- "version": "0.20.0",
- "resolved": "https://registry.npmjs.org/axios/-/axios-0.20.0.tgz",
- "integrity": "sha512-ANA4rr2BDcmmAQLOKft2fufrtuvlqR+cXNNinUmvfeSNCOF98PZL+7M/v1zIdGo7OLjEA9J2gXJL+j4zGsl0bA==",
+ "version": "0.21.0",
+ "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.0.tgz",
+ "integrity": "sha512-fmkJBknJKoZwem3/IKSSLpkdNXZeBu5Q7GA/aRsr2btgrptmSCxi2oFjZHqGdK9DoTil9PIHlPIZw2EcRJXRvw==",
"dev": true,
"requires": {
"follow-redirects": "^1.10.0"
@@ -435,6 +432,16 @@
"fill-range": "^7.0.1"
}
},
+ "call-bind": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.0.tgz",
+ "integrity": "sha512-AEXsYIyyDY3MCzbwdhzG3Jx1R0J2wetQyUynn6dYHAO+bg8l1k7jwZtRv4ryryFs7EP+NDlikJlVe59jr0cM2w==",
+ "dev": true,
+ "requires": {
+ "function-bind": "^1.1.1",
+ "get-intrinsic": "^1.0.0"
+ }
+ },
"callsites": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
@@ -442,14 +449,13 @@
"dev": true
},
"chalk": {
- "version": "2.4.2",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
- "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz",
+ "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==",
"dev": true,
"requires": {
- "ansi-styles": "^3.2.1",
- "escape-string-regexp": "^1.0.5",
- "supports-color": "^5.3.0"
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
}
},
"ci-info": {
@@ -464,20 +470,6 @@
"integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==",
"dev": true
},
- "cli-color": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/cli-color/-/cli-color-2.0.0.tgz",
- "integrity": "sha512-a0VZ8LeraW0jTuCkuAGMNufareGHhyZU9z8OGsW0gXd1hZGi1SRuNRXdbGkraBBKnhyUhyebFWnRbp+dIn0f0A==",
- "dev": true,
- "requires": {
- "ansi-regex": "^2.1.1",
- "d": "^1.0.1",
- "es5-ext": "^0.10.51",
- "es6-iterator": "^2.0.3",
- "memoizee": "^0.4.14",
- "timers-ext": "^0.1.7"
- }
- },
"cli-cursor": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz",
@@ -497,37 +489,12 @@
"string-width": "^4.2.0"
},
"dependencies": {
- "ansi-styles": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
- "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
- "dev": true,
- "requires": {
- "@types/color-name": "^1.1.1",
- "color-convert": "^2.0.1"
- }
- },
"astral-regex": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz",
"integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==",
"dev": true
},
- "color-convert": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
- "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
- "requires": {
- "color-name": "~1.1.4"
- }
- },
- "color-name": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true
- },
"emoji-regex": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
@@ -565,24 +532,24 @@
}
},
"color-convert": {
- "version": "1.9.3",
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
- "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"dev": true,
"requires": {
- "color-name": "1.1.3"
+ "color-name": "~1.1.4"
}
},
"color-name": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
- "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true
},
"commander": {
- "version": "6.1.0",
- "resolved": "https://registry.npmjs.org/commander/-/commander-6.1.0.tgz",
- "integrity": "sha512-wl7PNrYWd2y5mp1OK/LhTlv8Ff4kQJQRXXAvF+uU/TPNiVJUxZLRYGj/B0y/lPGAVcSbJqH2Za/cvHmrPMC8mA==",
+ "version": "6.2.1",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz",
+ "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==",
"dev": true
},
"compare-versions": {
@@ -647,22 +614,12 @@
"which": "^2.0.1"
}
},
- "d": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz",
- "integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==",
- "dev": true,
- "requires": {
- "es5-ext": "^0.10.50",
- "type": "^1.0.1"
- }
- },
"debug": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
- "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
+ "version": "4.3.1",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz",
+ "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==",
"requires": {
- "ms": "^2.1.1"
+ "ms": "2.1.2"
}
},
"dedent": {
@@ -738,20 +695,21 @@
}
},
"es-abstract": {
- "version": "1.17.6",
- "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.6.tgz",
- "integrity": "sha512-Fr89bON3WFyUi5EvAeI48QTWX0AyekGgLA8H+c+7fbfCkJwRWRMLd8CQedNEyJuoYYhmtEqY92pgte1FAhBlhw==",
+ "version": "1.18.0-next.1",
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.1.tgz",
+ "integrity": "sha512-I4UGspA0wpZXWENrdA0uHbnhte683t3qT/1VFH9aX2dA5PPSf6QW5HHXf5HImaqPmjXaVeVk4RGWnaylmV7uAA==",
"dev": true,
"requires": {
"es-to-primitive": "^1.2.1",
"function-bind": "^1.1.1",
"has": "^1.0.3",
"has-symbols": "^1.0.1",
- "is-callable": "^1.2.0",
- "is-regex": "^1.1.0",
- "object-inspect": "^1.7.0",
+ "is-callable": "^1.2.2",
+ "is-negative-zero": "^2.0.0",
+ "is-regex": "^1.1.1",
+ "object-inspect": "^1.8.0",
"object-keys": "^1.1.1",
- "object.assign": "^4.1.0",
+ "object.assign": "^4.1.1",
"string.prototype.trimend": "^1.0.1",
"string.prototype.trimstart": "^1.0.1"
}
@@ -767,50 +725,6 @@
"is-symbol": "^1.0.2"
}
},
- "es5-ext": {
- "version": "0.10.53",
- "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.53.tgz",
- "integrity": "sha512-Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q==",
- "dev": true,
- "requires": {
- "es6-iterator": "~2.0.3",
- "es6-symbol": "~3.1.3",
- "next-tick": "~1.0.0"
- }
- },
- "es6-iterator": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz",
- "integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=",
- "dev": true,
- "requires": {
- "d": "1",
- "es5-ext": "^0.10.35",
- "es6-symbol": "^3.1.1"
- }
- },
- "es6-symbol": {
- "version": "3.1.3",
- "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz",
- "integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==",
- "dev": true,
- "requires": {
- "d": "^1.0.1",
- "ext": "^1.1.2"
- }
- },
- "es6-weak-map": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.3.tgz",
- "integrity": "sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA==",
- "dev": true,
- "requires": {
- "d": "1",
- "es5-ext": "^0.10.46",
- "es6-iterator": "^2.0.3",
- "es6-symbol": "^3.1.1"
- }
- },
"escape-string-regexp": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
@@ -818,26 +732,26 @@
"dev": true
},
"eslint": {
- "version": "7.8.1",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.8.1.tgz",
- "integrity": "sha512-/2rX2pfhyUG0y+A123d0ccXtMm7DV7sH1m3lk9nk2DZ2LReq39FXHueR9xZwshE5MdfSf0xunSaMWRqyIA6M1w==",
+ "version": "7.15.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.15.0.tgz",
+ "integrity": "sha512-Vr64xFDT8w30wFll643e7cGrIkPEU50yIiI36OdSIDoSGguIeaLzBo0vpGvzo9RECUqq7htURfwEtKqwytkqzA==",
"dev": true,
"requires": {
"@babel/code-frame": "^7.0.0",
- "@eslint/eslintrc": "^0.1.3",
+ "@eslint/eslintrc": "^0.2.2",
"ajv": "^6.10.0",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.2",
"debug": "^4.0.1",
"doctrine": "^3.0.0",
"enquirer": "^2.3.5",
- "eslint-scope": "^5.1.0",
+ "eslint-scope": "^5.1.1",
"eslint-utils": "^2.1.0",
- "eslint-visitor-keys": "^1.3.0",
- "espree": "^7.3.0",
+ "eslint-visitor-keys": "^2.0.0",
+ "espree": "^7.3.1",
"esquery": "^1.2.0",
"esutils": "^2.0.2",
- "file-entry-cache": "^5.0.1",
+ "file-entry-cache": "^6.0.0",
"functional-red-black-tree": "^1.0.1",
"glob-parent": "^5.0.0",
"globals": "^12.1.0",
@@ -862,78 +776,19 @@
"v8-compile-cache": "^2.0.3"
},
"dependencies": {
- "ansi-styles": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
- "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
- "dev": true,
- "requires": {
- "@types/color-name": "^1.1.1",
- "color-convert": "^2.0.1"
- }
- },
- "chalk": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz",
- "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==",
- "dev": true,
- "requires": {
- "ansi-styles": "^4.1.0",
- "supports-color": "^7.1.0"
- }
- },
- "color-convert": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
- "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
- "requires": {
- "color-name": "~1.1.4"
- }
- },
- "color-name": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true
- },
- "eslint-visitor-keys": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz",
- "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==",
- "dev": true
- },
- "has-flag": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
- "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
- "dev": true
- },
"ignore": {
"version": "4.0.6",
"resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz",
"integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==",
"dev": true
- },
- "supports-color": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
- "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
- "dev": true,
- "requires": {
- "has-flag": "^4.0.0"
- }
}
}
},
"eslint-config-prettier": {
- "version": "6.11.0",
- "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-6.11.0.tgz",
- "integrity": "sha512-oB8cpLWSAjOVFEJhhyMZh6NOEOtBVziaqdDQ86+qhDHFbZXoRTM7pNSvFRfW/W/L/LrQ38C99J5CGuRBBzBsdA==",
- "dev": true,
- "requires": {
- "get-stdin": "^6.0.0"
- }
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-7.0.0.tgz",
+ "integrity": "sha512-8Y8lGLVPPZdaNA7JXqnvETVC7IiVRgAP6afQu9gOQRn90YY3otMNh+x7Vr2vMePQntF+5erdSUBqSzCmU/AxaQ==",
+ "dev": true
},
"eslint-import-resolver-node": {
"version": "0.3.4",
@@ -990,9 +845,9 @@
}
},
"eslint-plugin-import": {
- "version": "2.22.0",
- "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.22.0.tgz",
- "integrity": "sha512-66Fpf1Ln6aIS5Gr/55ts19eUuoDhAbZgnr6UxK5hbDx6l/QgQgx61AePq+BV4PP2uXQFClgMVzep5zZ94qqsxg==",
+ "version": "2.22.1",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.22.1.tgz",
+ "integrity": "sha512-8K7JjINHOpH64ozkAhpT3sd+FswIZTfMZTjdx052pnWrgRCVfp8op9tbjpAk3DdUeI/Ba4C8OjdC0r90erHEOw==",
"dev": true,
"requires": {
"array-includes": "^3.1.1",
@@ -1000,7 +855,7 @@
"contains-path": "^0.1.0",
"debug": "^2.6.9",
"doctrine": "1.5.0",
- "eslint-import-resolver-node": "^0.3.3",
+ "eslint-import-resolver-node": "^0.3.4",
"eslint-module-utils": "^2.6.0",
"has": "^1.0.3",
"minimatch": "^3.0.4",
@@ -1038,12 +893,12 @@
}
},
"eslint-scope": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.0.tgz",
- "integrity": "sha512-iiGRvtxWqgtx5m8EyQUJihBloE4EnYeGE/bz1wSPwJE6tZuJUtHlhqDM4Xj2ukE8Dyy1+HCZ4hE0fzIVMzb58w==",
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz",
+ "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==",
"dev": true,
"requires": {
- "esrecurse": "^4.1.0",
+ "esrecurse": "^4.3.0",
"estraverse": "^4.1.1"
}
},
@@ -1071,13 +926,13 @@
"dev": true
},
"espree": {
- "version": "7.3.0",
- "resolved": "https://registry.npmjs.org/espree/-/espree-7.3.0.tgz",
- "integrity": "sha512-dksIWsvKCixn1yrEXO8UosNSxaDoSYpq9reEjZSbHLpT5hpaCAKTLBwq0RHtLrIr+c0ByiYzWT8KTMRzoRCNlw==",
+ "version": "7.3.1",
+ "resolved": "https://registry.npmjs.org/espree/-/espree-7.3.1.tgz",
+ "integrity": "sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g==",
"dev": true,
"requires": {
"acorn": "^7.4.0",
- "acorn-jsx": "^5.2.0",
+ "acorn-jsx": "^5.3.1",
"eslint-visitor-keys": "^1.3.0"
},
"dependencies": {
@@ -1141,20 +996,15 @@
"integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
"dev": true
},
- "event-emitter": {
- "version": "0.3.5",
- "resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz",
- "integrity": "sha1-34xp7vFkeSPHFXuc6DhAYQsCzDk=",
- "dev": true,
- "requires": {
- "d": "1",
- "es5-ext": "~0.10.14"
- }
+ "event-target-shim": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz",
+ "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ=="
},
"execa": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/execa/-/execa-4.0.3.tgz",
- "integrity": "sha512-WFDXGHckXPWZX19t1kCsXzOpqX9LWYNqn4C+HqZlk/V0imTkzJZqf87ZBhvpHaftERYknpk0fjSylnXVlVgI0A==",
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz",
+ "integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==",
"dev": true,
"requires": {
"cross-spawn": "^7.0.0",
@@ -1168,23 +1018,6 @@
"strip-final-newline": "^2.0.0"
}
},
- "ext": {
- "version": "1.4.0",
- "resolved": "https://registry.npmjs.org/ext/-/ext-1.4.0.tgz",
- "integrity": "sha512-Key5NIsUxdqKg3vIsdw9dSuXpPCQ297y6wBjL30edxwPgt2E44WcWBZey/ZvUc6sERLTxKdyCu4gZFmUbk1Q7A==",
- "dev": true,
- "requires": {
- "type": "^2.0.0"
- },
- "dependencies": {
- "type": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/type/-/type-2.1.0.tgz",
- "integrity": "sha512-G9absDWvhAWCV2gmF1zKud3OyC61nZDwWvBL2DApaVFogI07CprggiQAOOjvp2NRjYWFzPyu7vwtDrQFq8jeSA==",
- "dev": true
- }
- }
- },
"fast-deep-equal": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
@@ -1224,9 +1057,9 @@
"dev": true
},
"fastq": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.8.0.tgz",
- "integrity": "sha512-SMIZoZdLh/fgofivvIkmknUXyPnvxRE3DhtZ5Me3Mrsk5gyPL42F0xr51TdRXskBxHfMp+07bcYzfsYEsSQA9Q==",
+ "version": "1.10.0",
+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.10.0.tgz",
+ "integrity": "sha512-NL2Qc5L3iQEsyYzweq7qfgy5OtXCmGzGvhElGEd/SoFWEMOEczNh5s5ocaF01HDetxz+p8ecjNPA6cZxxIHmzA==",
"dev": true,
"requires": {
"reusify": "^1.0.4"
@@ -1242,12 +1075,12 @@
}
},
"file-entry-cache": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz",
- "integrity": "sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g==",
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.0.tgz",
+ "integrity": "sha512-fqoO76jZ3ZnYrXLDRxBR1YvOvc0k844kcOg40bgsPrE25LAb/PDqTY+ho64Xh2c8ZXgIKldchCFHczG2UVRcWA==",
"dev": true,
"requires": {
- "flat-cache": "^2.0.1"
+ "flat-cache": "^3.0.4"
}
},
"fill-range": {
@@ -1278,26 +1111,25 @@
}
},
"flat-cache": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz",
- "integrity": "sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==",
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz",
+ "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==",
"dev": true,
"requires": {
- "flatted": "^2.0.0",
- "rimraf": "2.6.3",
- "write": "1.0.3"
+ "flatted": "^3.1.0",
+ "rimraf": "^3.0.2"
}
},
"flatted": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.2.tgz",
- "integrity": "sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==",
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.1.0.tgz",
+ "integrity": "sha512-tW+UkmtNg/jv9CSofAKvgVcO7c2URjhTdW1ZTkcAritblu8tajiYy7YisnIflEwtKssCtOxpnBRoCB7iap0/TA==",
"dev": true
},
"follow-redirects": {
- "version": "1.13.0",
- "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.13.0.tgz",
- "integrity": "sha512-aq6gF1BEKje4a9i9+5jimNFIpq4Q1WiwBToeRK5NvZBd/TRsmW8BsJfOEGkr76TbOyPVD3OVDN910EcUNtRYEA==",
+ "version": "1.13.1",
+ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.13.1.tgz",
+ "integrity": "sha512-SSG5xmZh1mkPGyKzjZP8zLjltIfpW32Y5QpdNJyjcfGxK3qo3NDDkZOZSFiGn1A6SclQxY9GzEwAHQ3dmYRWpg==",
"dev": true
},
"fs.realpath": {
@@ -1318,18 +1150,23 @@
"integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=",
"dev": true
},
+ "get-intrinsic": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.0.2.tgz",
+ "integrity": "sha512-aeX0vrFm21ILl3+JpFFRNe9aUvp6VFZb2/CTbgLb8j75kOhvoNYjt9d8KA/tJG4gSo8nzEDedRl0h7vDmBYRVg==",
+ "dev": true,
+ "requires": {
+ "function-bind": "^1.1.1",
+ "has": "^1.0.3",
+ "has-symbols": "^1.0.1"
+ }
+ },
"get-own-enumerable-property-symbols": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz",
"integrity": "sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g==",
"dev": true
},
- "get-stdin": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-6.0.0.tgz",
- "integrity": "sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g==",
- "dev": true
- },
"get-stream": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",
@@ -1401,9 +1238,9 @@
}
},
"has-flag": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
- "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true
},
"has-symbols": {
@@ -1425,9 +1262,9 @@
"dev": true
},
"husky": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/husky/-/husky-4.3.0.tgz",
- "integrity": "sha512-tTMeLCLqSBqnflBZnlVDhpaIMucSGaYyX6855jM4AguGeWCeSzNdb1mfyWduTZ3pe3SJVvVWGL0jO1iKZVPfTA==",
+ "version": "4.3.5",
+ "resolved": "https://registry.npmjs.org/husky/-/husky-4.3.5.tgz",
+ "integrity": "sha512-E5S/1HMoDDaqsH8kDF5zeKEQbYqe3wL9zJDyqyYqc8I4vHBtAoxkDBGXox0lZ9RI+k5GyB728vZdmnM4bYap+g==",
"dev": true,
"requires": {
"chalk": "^4.0.0",
@@ -1442,41 +1279,6 @@
"which-pm-runs": "^1.0.0"
},
"dependencies": {
- "ansi-styles": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
- "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
- "dev": true,
- "requires": {
- "@types/color-name": "^1.1.1",
- "color-convert": "^2.0.1"
- }
- },
- "chalk": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz",
- "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==",
- "dev": true,
- "requires": {
- "ansi-styles": "^4.1.0",
- "supports-color": "^7.1.0"
- }
- },
- "color-convert": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
- "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
- "requires": {
- "color-name": "~1.1.4"
- }
- },
- "color-name": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true
- },
"find-up": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
@@ -1487,12 +1289,6 @@
"path-exists": "^4.0.0"
}
},
- "has-flag": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
- "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
- "dev": true
- },
"locate-path": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
@@ -1540,15 +1336,6 @@
"requires": {
"find-up": "^4.0.0"
}
- },
- "supports-color": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
- "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
- "dev": true,
- "requires": {
- "has-flag": "^4.0.0"
- }
}
}
},
@@ -1559,9 +1346,9 @@
"dev": true
},
"import-fresh": {
- "version": "3.2.1",
- "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz",
- "integrity": "sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ==",
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz",
+ "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==",
"dev": true,
"requires": {
"parent-module": "^1.0.0",
@@ -1603,11 +1390,20 @@
"dev": true
},
"is-callable": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.1.tgz",
- "integrity": "sha512-wliAfSzx6V+6WfMOmus1xy0XvSgf/dlStkvTfq7F0g4bOIW0PSUbnyse3NhDwdyYS1ozfUtAAySqTws3z9Eqgg==",
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.2.tgz",
+ "integrity": "sha512-dnMqspv5nU3LoewK2N/y7KLtxtakvTuaCsU9FU50/QDmdbHNy/4/JuRtMHqRU22o3q+W89YQndQEeCVwK+3qrA==",
"dev": true
},
+ "is-core-module": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.2.0.tgz",
+ "integrity": "sha512-XRAfAdyyY5F5cOXn7hYQDqh2Xmii+DEfIcQGxK/uNwMHhIkPWO0g8msXcbzLe+MpGoR951MlqM/2iIlU4vKDdQ==",
+ "dev": true,
+ "requires": {
+ "has": "^1.0.3"
+ }
+ },
"is-date-object": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz",
@@ -1635,6 +1431,12 @@
"is-extglob": "^2.1.1"
}
},
+ "is-negative-zero": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz",
+ "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==",
+ "dev": true
+ },
"is-number": {
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
@@ -1647,12 +1449,6 @@
"integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=",
"dev": true
},
- "is-promise": {
- "version": "2.2.2",
- "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz",
- "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==",
- "dev": true
- },
"is-regex": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.1.tgz",
@@ -1714,9 +1510,9 @@
"dev": true
},
"js-yaml": {
- "version": "3.14.0",
- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.0.tgz",
- "integrity": "sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A==",
+ "version": "3.14.1",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz",
+ "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==",
"dev": true,
"requires": {
"argparse": "^1.0.7",
@@ -1767,84 +1563,32 @@
"dev": true
},
"lint-staged": {
- "version": "10.3.0",
- "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-10.3.0.tgz",
- "integrity": "sha512-an3VgjHqmJk0TORB/sdQl0CTkRg4E5ybYCXTTCSJ5h9jFwZbcgKIx5oVma5e7wp/uKt17s1QYFmYqT9MGVosGw==",
+ "version": "10.5.3",
+ "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-10.5.3.tgz",
+ "integrity": "sha512-TanwFfuqUBLufxCc3RUtFEkFraSPNR3WzWcGF39R3f2J7S9+iF9W0KTVLfSy09lYGmZS5NDCxjNvhGMSJyFCWg==",
"dev": true,
"requires": {
"chalk": "^4.1.0",
"cli-truncate": "^2.1.0",
- "commander": "^6.0.0",
+ "commander": "^6.2.0",
"cosmiconfig": "^7.0.0",
- "debug": "^4.1.1",
+ "debug": "^4.2.0",
"dedent": "^0.7.0",
"enquirer": "^2.3.6",
- "execa": "^4.0.3",
- "listr2": "^2.6.0",
+ "execa": "^4.1.0",
+ "listr2": "^3.2.2",
"log-symbols": "^4.0.0",
"micromatch": "^4.0.2",
"normalize-path": "^3.0.0",
"please-upgrade-node": "^3.2.0",
"string-argv": "0.3.1",
"stringify-object": "^3.3.0"
- },
- "dependencies": {
- "ansi-styles": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
- "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
- "dev": true,
- "requires": {
- "@types/color-name": "^1.1.1",
- "color-convert": "^2.0.1"
- }
- },
- "chalk": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz",
- "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==",
- "dev": true,
- "requires": {
- "ansi-styles": "^4.1.0",
- "supports-color": "^7.1.0"
- }
- },
- "color-convert": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
- "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
- "requires": {
- "color-name": "~1.1.4"
- }
- },
- "color-name": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true
- },
- "has-flag": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
- "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
- "dev": true
- },
- "supports-color": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
- "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
- "dev": true,
- "requires": {
- "has-flag": "^4.0.0"
- }
- }
}
},
"listr2": {
- "version": "2.6.2",
- "resolved": "https://registry.npmjs.org/listr2/-/listr2-2.6.2.tgz",
- "integrity": "sha512-6x6pKEMs8DSIpA/tixiYY2m/GcbgMplMVmhQAaLFxEtNSKLeWTGjtmU57xvv6QCm2XcqzyNXL/cTSVf4IChCRA==",
+ "version": "3.2.3",
+ "resolved": "https://registry.npmjs.org/listr2/-/listr2-3.2.3.tgz",
+ "integrity": "sha512-vUb80S2dSUi8YxXahO8/I/s29GqnOL8ozgHVLjfWQXa03BNEeS1TpBLjh2ruaqq5ufx46BRGvfymdBSuoXET5w==",
"dev": true,
"requires": {
"chalk": "^4.1.0",
@@ -1853,60 +1597,8 @@
"indent-string": "^4.0.0",
"log-update": "^4.0.0",
"p-map": "^4.0.0",
- "rxjs": "^6.6.2",
+ "rxjs": "^6.6.3",
"through": "^2.3.8"
- },
- "dependencies": {
- "ansi-styles": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
- "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
- "dev": true,
- "requires": {
- "@types/color-name": "^1.1.1",
- "color-convert": "^2.0.1"
- }
- },
- "chalk": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz",
- "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==",
- "dev": true,
- "requires": {
- "ansi-styles": "^4.1.0",
- "supports-color": "^7.1.0"
- }
- },
- "color-convert": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
- "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
- "requires": {
- "color-name": "~1.1.4"
- }
- },
- "color-name": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true
- },
- "has-flag": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
- "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
- "dev": true
- },
- "supports-color": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
- "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
- "dev": true,
- "requires": {
- "has-flag": "^4.0.0"
- }
- }
}
},
"load-json-file": {
@@ -1944,58 +1636,6 @@
"dev": true,
"requires": {
"chalk": "^4.0.0"
- },
- "dependencies": {
- "ansi-styles": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
- "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
- "dev": true,
- "requires": {
- "@types/color-name": "^1.1.1",
- "color-convert": "^2.0.1"
- }
- },
- "chalk": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz",
- "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==",
- "dev": true,
- "requires": {
- "ansi-styles": "^4.1.0",
- "supports-color": "^7.1.0"
- }
- },
- "color-convert": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
- "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
- "requires": {
- "color-name": "~1.1.4"
- }
- },
- "color-name": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true
- },
- "has-flag": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
- "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
- "dev": true
- },
- "supports-color": {
- "version": "7.2.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
- "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
- "dev": true,
- "requires": {
- "has-flag": "^4.0.0"
- }
- }
}
},
"log-update": {
@@ -2010,37 +1650,12 @@
"wrap-ansi": "^6.2.0"
},
"dependencies": {
- "ansi-styles": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
- "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
- "dev": true,
- "requires": {
- "@types/color-name": "^1.1.1",
- "color-convert": "^2.0.1"
- }
- },
"astral-regex": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz",
"integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==",
"dev": true
},
- "color-convert": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
- "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
- "requires": {
- "color-name": "~1.1.4"
- }
- },
- "color-name": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true
- },
"is-fullwidth-code-point": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
@@ -2060,29 +1675,13 @@
}
}
},
- "lru-queue": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/lru-queue/-/lru-queue-0.1.0.tgz",
- "integrity": "sha1-Jzi9nw089PhEkMVzbEhpmsYyzaM=",
+ "lru-cache": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
+ "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
"dev": true,
"requires": {
- "es5-ext": "~0.10.2"
- }
- },
- "memoizee": {
- "version": "0.4.14",
- "resolved": "https://registry.npmjs.org/memoizee/-/memoizee-0.4.14.tgz",
- "integrity": "sha512-/SWFvWegAIYAO4NQMpcX+gcra0yEZu4OntmUdrBaWrJncxOqAziGFlHxc7yjKVK2uu3lpPW27P27wkR82wA8mg==",
- "dev": true,
- "requires": {
- "d": "1",
- "es5-ext": "^0.10.45",
- "es6-weak-map": "^2.0.2",
- "event-emitter": "^0.3.5",
- "is-promise": "^2.1",
- "lru-queue": "0.1",
- "next-tick": "1",
- "timers-ext": "^0.1.5"
+ "yallist": "^4.0.0"
}
},
"merge-stream": {
@@ -2127,15 +1726,6 @@
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
"integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw=="
},
- "mkdirp": {
- "version": "0.5.5",
- "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz",
- "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==",
- "dev": true,
- "requires": {
- "minimist": "^1.2.5"
- }
- },
"module-alias": {
"version": "2.2.2",
"resolved": "https://registry.npmjs.org/module-alias/-/module-alias-2.2.2.tgz",
@@ -2152,12 +1742,6 @@
"integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=",
"dev": true
},
- "next-tick": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz",
- "integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=",
- "dev": true
- },
"node-fetch": {
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
@@ -2205,9 +1789,9 @@
"dev": true
},
"object-inspect": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.8.0.tgz",
- "integrity": "sha512-jLdtEOB112fORuypAyl/50VRVIBIdVQOSUUGQHzJ4xBSbit81zRarz7GThkEFZy1RceYrWYcPcBFPQwHyAc1gA==",
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.9.0.tgz",
+ "integrity": "sha512-i3Bp9iTqwhaLZBxGkRfo5ZbE07BQRT7MGu8+nNgwW9ItGp1TzCTw2DLEoWwjClxBjOFI/hWljTAmYGCEwmtnOw==",
"dev": true
},
"object-keys": {
@@ -2217,26 +1801,26 @@
"dev": true
},
"object.assign": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz",
- "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==",
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz",
+ "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==",
"dev": true,
"requires": {
- "define-properties": "^1.1.2",
- "function-bind": "^1.1.1",
- "has-symbols": "^1.0.0",
- "object-keys": "^1.0.11"
+ "call-bind": "^1.0.0",
+ "define-properties": "^1.1.3",
+ "has-symbols": "^1.0.1",
+ "object-keys": "^1.1.1"
}
},
"object.values": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.1.tgz",
- "integrity": "sha512-WTa54g2K8iu0kmS/us18jEmdv1a4Wi//BZ/DTVYEcH0XhLM5NYdpDHja3gt57VrZLcNAO2WGA+KpWsDBaHt6eA==",
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.2.tgz",
+ "integrity": "sha512-MYC0jvJopr8EK6dPBiO8Nb9mvjdypOachO5REGk6MXzujbBrAisKo3HmdEI6kZDL6fC31Mwee/5YbtMebixeag==",
"dev": true,
"requires": {
+ "call-bind": "^1.0.0",
"define-properties": "^1.1.3",
- "es-abstract": "^1.17.0-next.1",
- "function-bind": "^1.1.1",
+ "es-abstract": "^1.18.0-next.1",
"has": "^1.0.3"
}
},
@@ -2402,9 +1986,9 @@
"dev": true
},
"prettier": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.1.1.tgz",
- "integrity": "sha512-9bY+5ZWCfqj3ghYBLxApy2zf6m+NJo5GzmLTpr9FsApsfjriNnS2dahWReHMi7qNPhhHl9SYHJs2cHZLgexNIw==",
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.2.1.tgz",
+ "integrity": "sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==",
"dev": true
},
"progress": {
@@ -2474,11 +2058,12 @@
"dev": true
},
"resolve": {
- "version": "1.17.0",
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz",
- "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==",
+ "version": "1.19.0",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.19.0.tgz",
+ "integrity": "sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==",
"dev": true,
"requires": {
+ "is-core-module": "^2.1.0",
"path-parse": "^1.0.6"
}
},
@@ -2505,18 +2090,18 @@
"dev": true
},
"rimraf": {
- "version": "2.6.3",
- "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz",
- "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==",
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
+ "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
"dev": true,
"requires": {
"glob": "^7.1.3"
}
},
"run-parallel": {
- "version": "1.1.9",
- "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.1.9.tgz",
- "integrity": "sha512-DEqnSRTDw/Tc3FXf49zedI638Z9onwUotBMiUFKmrO2sdFKIbXamXGQ3Axd4qgphxKB4kw/qP1w5kTxnfU1B9Q==",
+ "version": "1.1.10",
+ "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.1.10.tgz",
+ "integrity": "sha512-zb/1OuZ6flOlH6tQyMPUrE3x3Ulxjlo9WIVXR4yVYi4H9UXQaeIsPbLn2R3O3vQCnDKkAl2qHiuocKKX4Tz/Sw==",
"dev": true
},
"rxjs": {
@@ -2542,10 +2127,13 @@
"integrity": "sha512-jLYV0DORrzY3xaz/S9ydJL6Iz7essZeAfnAavsJ+zsJGZ1MOnsS52yRjU3uF3pJa/lla7+wisp//fxOwOH8SKQ=="
},
"semver": {
- "version": "7.3.2",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz",
- "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==",
- "dev": true
+ "version": "7.3.4",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz",
+ "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==",
+ "dev": true,
+ "requires": {
+ "lru-cache": "^6.0.0"
+ }
},
"semver-compare": {
"version": "1.0.0",
@@ -2595,6 +2183,32 @@
"ansi-styles": "^3.2.0",
"astral-regex": "^1.0.0",
"is-fullwidth-code-point": "^2.0.0"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
+ "dev": true,
+ "requires": {
+ "color-convert": "^1.9.0"
+ }
+ },
+ "color-convert": {
+ "version": "1.9.3",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
+ "dev": true,
+ "requires": {
+ "color-name": "1.1.3"
+ }
+ },
+ "color-name": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",
+ "dev": true
+ }
}
},
"spdx-correct": {
@@ -2624,9 +2238,9 @@
}
},
"spdx-license-ids": {
- "version": "3.0.5",
- "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz",
- "integrity": "sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q==",
+ "version": "3.0.7",
+ "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.7.tgz",
+ "integrity": "sha512-U+MTEOO0AiDzxwFvoa4JVnMV6mZlJKk2sBLt90s7G0Gd0Mlknc7kxEn3nuDPNZRta7O2uy8oLcZLVT+4sqNZHQ==",
"dev": true
},
"sprintf-js": {
@@ -2670,23 +2284,23 @@
}
},
"string.prototype.trimend": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.1.tgz",
- "integrity": "sha512-LRPxFUaTtpqYsTeNKaFOw3R4bxIzWOnbQ837QfBylo8jIxtcbK/A/sMV7Q+OAV/vWo+7s25pOE10KYSjaSO06g==",
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.3.tgz",
+ "integrity": "sha512-ayH0pB+uf0U28CtjlLvL7NaohvR1amUvVZk+y3DYb0Ey2PUV5zPkkKy9+U1ndVEIXO8hNg18eIv9Jntbii+dKw==",
"dev": true,
"requires": {
- "define-properties": "^1.1.3",
- "es-abstract": "^1.17.5"
+ "call-bind": "^1.0.0",
+ "define-properties": "^1.1.3"
}
},
"string.prototype.trimstart": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.1.tgz",
- "integrity": "sha512-XxZn+QpvrBI1FOcg6dIpxUPgWCPuNXvMD72aaRaUQv1eD4e/Qy8i/hFTe0BUmD60p/QA6bh1avmuPTfNjqVWRw==",
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.3.tgz",
+ "integrity": "sha512-oBIBUy5lea5tt0ovtOFiEQaBkoBBkyJhZXzJYrSmDo5IUUqbOPvVezuRs/agBIdZ2p2Eo1FD6bD9USyBLfl3xg==",
"dev": true,
"requires": {
- "define-properties": "^1.1.3",
- "es-abstract": "^1.17.5"
+ "call-bind": "^1.0.0",
+ "define-properties": "^1.1.3"
}
},
"stringify-object": {
@@ -2707,14 +2321,6 @@
"dev": true,
"requires": {
"ansi-regex": "^5.0.0"
- },
- "dependencies": {
- "ansi-regex": {
- "version": "5.0.0",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz",
- "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==",
- "dev": true
- }
}
},
"strip-bom": {
@@ -2736,12 +2342,12 @@
"dev": true
},
"supports-color": {
- "version": "5.5.0",
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
- "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"dev": true,
"requires": {
- "has-flag": "^3.0.0"
+ "has-flag": "^4.0.0"
}
},
"table": {
@@ -2757,15 +2363,16 @@
}
},
"telegraf": {
- "version": "git://github.com/telegraf/telegraf.git#addd845af3a20948ba0ee32fe6b1b4374bff1f09",
- "from": "git://github.com/telegraf/telegraf.git#addd845af3a20948ba0ee32fe6b1b4374bff1f09",
+ "version": "git+https://github.com/telegraf/telegraf.git#7ed1903580ea93dbaf7b737d0196889d46708cf5",
+ "from": "git+https://github.com/telegraf/telegraf.git#develop",
"requires": {
- "debug": "^4.0.1",
- "minimist": "^1.2.0",
+ "abort-controller": "^3.0.0",
+ "debug": "^4.2.0",
+ "minimist": "^1.2.5",
"module-alias": "^2.2.2",
- "node-fetch": "^2.2.0",
- "sandwich-stream": "^2.0.1",
- "typegram": "^2.2.1"
+ "node-fetch": "^2.6.1",
+ "sandwich-stream": "^2.0.2",
+ "typegram": "^3.0.0"
}
},
"text-table": {
@@ -2780,16 +2387,6 @@
"integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=",
"dev": true
},
- "timers-ext": {
- "version": "0.1.7",
- "resolved": "https://registry.npmjs.org/timers-ext/-/timers-ext-0.1.7.tgz",
- "integrity": "sha512-b85NUNzTSdodShTIbky6ZF02e8STtVVfD+fu4aXXShEELpozH+bCpJLYMPZbsABN2wDH7fJpqIoXxJpzbf0NqQ==",
- "dev": true,
- "requires": {
- "es5-ext": "~0.10.46",
- "next-tick": "1"
- }
- },
"to-regex-range": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
@@ -2812,9 +2409,9 @@
}
},
"tslib": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.1.tgz",
- "integrity": "sha512-SgIkNheinmEBgx1IUNirK0TUD4X9yjjBRTqqjggWCU3pUEqIk3/Uwl3yRixYKT6WjQuGiwDv4NomL3wqRCj+CQ==",
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.0.3.tgz",
+ "integrity": "sha512-uZtkfKblCEQtZKBF6EBXVZeQNl82yqtDQdv+eck8u7tdPxjLu2/lp5/uPW+um2tpuxINHWy3GhiccY7QgEaVHQ==",
"dev": true
},
"tsutils": {
@@ -2827,19 +2424,13 @@
},
"dependencies": {
"tslib": {
- "version": "1.13.0",
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.13.0.tgz",
- "integrity": "sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q==",
+ "version": "1.14.1",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",
+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==",
"dev": true
}
}
},
- "type": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz",
- "integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==",
- "dev": true
- },
"type-check": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
@@ -2856,14 +2447,14 @@
"dev": true
},
"typegram": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/typegram/-/typegram-2.2.1.tgz",
- "integrity": "sha512-PaHbV/oeqE8y0g6nO1pcQJl2R7EpZe7B05emprGf46DMVKCS865jpa0WgBNJh0W2G1jq5rebqMdttw/errZqZQ=="
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/typegram/-/typegram-3.1.1.tgz",
+ "integrity": "sha512-uXBGUGXhEKDyw1dAqdNWOR98nQO2a/2tnZPvEFruU6zr4t1dQIi+zziZIDNct93rnImOJbAaHH6Bsdc4l8mQoQ=="
},
"typescript": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.2.tgz",
- "integrity": "sha512-e4ERvRV2wb+rRZ/IQeb3jm2VxBsirQLpQhdxplZ2MEzGvDkkMmPglecnNDfSUBivMjP93vRbngYYDQqQ/78bcQ==",
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.1.2.tgz",
+ "integrity": "sha512-thGloWsGH3SOxv1SoY7QojKi0tc+8FnOmiarEGMbd/lar7QOEd3hvlx3Fp5y6FlDUGl9L+pd4n2e+oToGMmhRQ==",
"dev": true
},
"uri-js": {
@@ -2876,15 +2467,15 @@
}
},
"uuid": {
- "version": "8.3.0",
- "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.0.tgz",
- "integrity": "sha512-fX6Z5o4m6XsXBdli9g7DtWgAx+osMsRRZFKma1mIUsLCz6vRvv+pz5VNbyu9UEDzpMWulZfvpgb/cmDXVulYFQ==",
+ "version": "8.3.2",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",
+ "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==",
"dev": true
},
"v8-compile-cache": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.1.1.tgz",
- "integrity": "sha512-8OQ9CL+VWyt3JStj7HX7/ciTL2V3Rl1Wf5OL+SNTm0yK1KvtReVulksyeRnCANHHuUxHlQig+JJDlUhBt1NQDQ==",
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.2.0.tgz",
+ "integrity": "sha512-gTpR5XQNKFwOd4clxfnhaqvfqMpqEwr4tOtCyz4MtYZX2JYhfr1JvBFKdS+7K/9rfpZR3VLX+YWBbKoxCgS43Q==",
"dev": true
},
"validate-npm-package-license": {
@@ -2929,31 +2520,6 @@
"strip-ansi": "^6.0.0"
},
"dependencies": {
- "ansi-styles": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
- "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
- "dev": true,
- "requires": {
- "@types/color-name": "^1.1.1",
- "color-convert": "^2.0.1"
- }
- },
- "color-convert": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
- "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
- "requires": {
- "color-name": "~1.1.4"
- }
- },
- "color-name": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true
- },
"emoji-regex": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
@@ -2985,14 +2551,11 @@
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
"dev": true
},
- "write": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/write/-/write-1.0.3.tgz",
- "integrity": "sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==",
- "dev": true,
- "requires": {
- "mkdirp": "^0.5.1"
- }
+ "yallist": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
+ "dev": true
},
"yaml": {
"version": "1.10.0",
From b1a6fc33190feeef847780e45a1e1d1ad2855381 Mon Sep 17 00:00:00 2001
From: unknown
Date: Wed, 23 Dec 2020 21:35:40 +0300
Subject: [PATCH 057/101] feat(wip): rework listener decorators
---
lib/decorators/action.decorator.ts | 19 -------------
lib/decorators/cashtag.decorator.ts | 17 -----------
lib/decorators/command.decorator.ts | 17 -----------
lib/decorators/{ => core}/update.decorator.ts | 4 +--
lib/decorators/entity.decorator.ts | 22 ---------------
lib/decorators/hashtag.decorator.ts | 17 -----------
lib/decorators/hears.decorator.ts | 19 -------------
lib/decorators/help.decorator.ts | 11 --------
lib/decorators/inline-query.decorator.ts | 28 -------------------
lib/decorators/listeners/action.decorator.ts | 25 +++++++++++++++++
lib/decorators/listeners/cashtag.decorator.ts | 25 +++++++++++++++++
lib/decorators/listeners/command.decorator.ts | 25 +++++++++++++++++
.../{ => listeners}/game-query.decorator.ts | 5 ++--
lib/decorators/listeners/hashtag.decorator.ts | 25 +++++++++++++++++
lib/decorators/listeners/hears.decorator.ts | 25 +++++++++++++++++
lib/decorators/listeners/help.decorator.ts | 12 ++++++++
.../listeners/inline-query.decorator.ts | 27 ++++++++++++++++++
lib/decorators/listeners/mention.decorator.ts | 25 +++++++++++++++++
lib/decorators/listeners/on.decorator.ts | 25 +++++++++++++++++
lib/decorators/listeners/phone.decorator.ts | 25 +++++++++++++++++
.../listeners/settings.decorator.ts | 12 ++++++++
lib/decorators/listeners/start.decorator.ts | 12 ++++++++
lib/decorators/listeners/use.decorator.ts | 12 ++++++++
lib/decorators/mention.decorator.ts | 17 -----------
lib/decorators/on.decorator.ts | 22 ---------------
lib/decorators/phone.decorator.ts | 17 -----------
lib/decorators/settings.decorator.ts | 11 --------
lib/decorators/start.decorator.ts | 11 --------
lib/decorators/use.decorator.ts | 11 --------
lib/enums/listener-type.enum.ts | 16 +++++++++++
lib/telegraf.constants.ts | 23 ++-------------
lib/telegraf.provider.ts | 11 ++++----
lib/telegraf.types.ts | 13 +++++++++
33 files changed, 318 insertions(+), 268 deletions(-)
delete mode 100644 lib/decorators/action.decorator.ts
delete mode 100644 lib/decorators/cashtag.decorator.ts
delete mode 100644 lib/decorators/command.decorator.ts
rename lib/decorators/{ => core}/update.decorator.ts (53%)
delete mode 100644 lib/decorators/entity.decorator.ts
delete mode 100644 lib/decorators/hashtag.decorator.ts
delete mode 100644 lib/decorators/hears.decorator.ts
delete mode 100644 lib/decorators/help.decorator.ts
delete mode 100644 lib/decorators/inline-query.decorator.ts
create mode 100644 lib/decorators/listeners/action.decorator.ts
create mode 100644 lib/decorators/listeners/cashtag.decorator.ts
create mode 100644 lib/decorators/listeners/command.decorator.ts
rename lib/decorators/{ => listeners}/game-query.decorator.ts (54%)
create mode 100644 lib/decorators/listeners/hashtag.decorator.ts
create mode 100644 lib/decorators/listeners/hears.decorator.ts
create mode 100644 lib/decorators/listeners/help.decorator.ts
create mode 100644 lib/decorators/listeners/inline-query.decorator.ts
create mode 100644 lib/decorators/listeners/mention.decorator.ts
create mode 100644 lib/decorators/listeners/on.decorator.ts
create mode 100644 lib/decorators/listeners/phone.decorator.ts
create mode 100644 lib/decorators/listeners/settings.decorator.ts
create mode 100644 lib/decorators/listeners/start.decorator.ts
create mode 100644 lib/decorators/listeners/use.decorator.ts
delete mode 100644 lib/decorators/mention.decorator.ts
delete mode 100644 lib/decorators/on.decorator.ts
delete mode 100644 lib/decorators/phone.decorator.ts
delete mode 100644 lib/decorators/settings.decorator.ts
delete mode 100644 lib/decorators/start.decorator.ts
delete mode 100644 lib/decorators/use.decorator.ts
create mode 100644 lib/enums/listener-type.enum.ts
create mode 100644 lib/telegraf.types.ts
diff --git a/lib/decorators/action.decorator.ts b/lib/decorators/action.decorator.ts
deleted file mode 100644
index e54ace0..0000000
--- a/lib/decorators/action.decorator.ts
+++ /dev/null
@@ -1,19 +0,0 @@
-import { SetMetadata } from '@nestjs/common';
-import { DECORATORS } from '../telegraf.constants';
-import { HearsTriggers } from 'telegraf/typings/composer';
-import { Context } from '../interfaces';
-
-export type TelegrafActionTriggers = HearsTriggers;
-
-export interface ActionOptions {
- triggers: TelegrafActionTriggers;
-}
-
-/**
- * Registers middleware for handling callback_data actions with regular expressions.
- *
- * @see https://telegraf.js.org/#/?id=action
- */
-export const Action = (triggers: TelegrafActionTriggers): MethodDecorator => {
- return SetMetadata(DECORATORS.ACTION, { triggers });
-};
diff --git a/lib/decorators/cashtag.decorator.ts b/lib/decorators/cashtag.decorator.ts
deleted file mode 100644
index b98b2da..0000000
--- a/lib/decorators/cashtag.decorator.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-import { SetMetadata } from '@nestjs/common';
-import { DECORATORS } from '../telegraf.constants';
-
-export type TelegrafCashtagCashtag = string | string[];
-
-export interface CashtagOptions {
- cashtag: TelegrafCashtagCashtag;
-}
-
-/**
- * Cashtag handling.
- *
- * @see https://telegraf.js.org/#/?id=cashtag
- */
-export const Cashtag = (cashtag: TelegrafCashtagCashtag): MethodDecorator => {
- return SetMetadata(DECORATORS.CASHTAG, { cashtag });
-};
diff --git a/lib/decorators/command.decorator.ts b/lib/decorators/command.decorator.ts
deleted file mode 100644
index 2fb6e7a..0000000
--- a/lib/decorators/command.decorator.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-import { SetMetadata } from '@nestjs/common';
-import { DECORATORS } from '../telegraf.constants';
-
-export type TelegrafCommandCommands = string | string[];
-
-export interface CommandOptions {
- commands: TelegrafCommandCommands;
-}
-
-/**
- * Command handling.
- *
- * @see https://telegraf.js.org/#/?id=command
- */
-export const Command = (commands: TelegrafCommandCommands): MethodDecorator => {
- return SetMetadata(DECORATORS.COMMAND, { commands });
-};
diff --git a/lib/decorators/update.decorator.ts b/lib/decorators/core/update.decorator.ts
similarity index 53%
rename from lib/decorators/update.decorator.ts
rename to lib/decorators/core/update.decorator.ts
index 1946199..a2ea7f2 100644
--- a/lib/decorators/update.decorator.ts
+++ b/lib/decorators/core/update.decorator.ts
@@ -1,8 +1,8 @@
import { SetMetadata } from '@nestjs/common';
-import { DECORATORS } from '../telegraf.constants';
+import { TELEGRAF_UPDATE } from '../../telegraf.constants';
/**
* `@Update` decorator, it's like NestJS `@Controller` decorator,
* but for Telegram Bot API updates.
*/
-export const Update = (): ClassDecorator => SetMetadata(DECORATORS.UPDATE, {});
+export const Update = (): ClassDecorator => SetMetadata(TELEGRAF_UPDATE, true);
diff --git a/lib/decorators/entity.decorator.ts b/lib/decorators/entity.decorator.ts
deleted file mode 100644
index 7c16011..0000000
--- a/lib/decorators/entity.decorator.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-import { SetMetadata } from '@nestjs/common';
-import { DECORATORS } from '../telegraf.constants';
-
-export type TelegrafEntityEntity =
- | string
- | string[]
- | RegExp
- | RegExp[]
- | Function;
-
-export interface EntityOptions {
- entity: TelegrafEntityEntity;
-}
-
-/**
- * Entity handling.
- *
- * @see https://telegraf.js.org/#/?id=entity
- */
-export const Entity = (entity: TelegrafEntityEntity): MethodDecorator => {
- return SetMetadata(DECORATORS.ENTITY, { entity });
-};
diff --git a/lib/decorators/hashtag.decorator.ts b/lib/decorators/hashtag.decorator.ts
deleted file mode 100644
index 9269411..0000000
--- a/lib/decorators/hashtag.decorator.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-import { SetMetadata } from '@nestjs/common';
-import { DECORATORS } from '../telegraf.constants';
-
-export type TelegrafHashtagHashtag = string | string[];
-
-export interface HashtagOptions {
- hashtag: TelegrafHashtagHashtag;
-}
-
-/**
- * Hashtag handling.
- *
- * @see https://telegraf.js.org/#/?id=hashtag
- */
-export const Hashtag = (hashtag: TelegrafHashtagHashtag): MethodDecorator => {
- return SetMetadata(DECORATORS.HASHTAG, { hashtag });
-};
diff --git a/lib/decorators/hears.decorator.ts b/lib/decorators/hears.decorator.ts
deleted file mode 100644
index 6e62bdd..0000000
--- a/lib/decorators/hears.decorator.ts
+++ /dev/null
@@ -1,19 +0,0 @@
-import { SetMetadata } from '@nestjs/common';
-import { DECORATORS } from '../telegraf.constants';
-import { HearsTriggers } from 'telegraf/typings/composer';
-import { Context } from '../interfaces';
-
-export type TelegrafHearsTriggers = HearsTriggers;
-
-export interface HearsOptions {
- triggers: TelegrafHearsTriggers;
-}
-
-/**
- * Registers middleware for handling text messages.
- *
- * @see https://telegraf.js.org/#/?id=hears
- */
-export const Hears = (triggers: TelegrafHearsTriggers): MethodDecorator => {
- return SetMetadata(DECORATORS.HEARS, { triggers: triggers });
-};
diff --git a/lib/decorators/help.decorator.ts b/lib/decorators/help.decorator.ts
deleted file mode 100644
index 159a5c5..0000000
--- a/lib/decorators/help.decorator.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { SetMetadata } from '@nestjs/common';
-import { DECORATORS } from '../telegraf.constants';
-
-/**
- * Handler for /help command.
- *
- * @see https://telegraf.js.org/#/?id=help
- */
-export const Help = (): MethodDecorator => {
- return SetMetadata(DECORATORS.HELP, {});
-};
diff --git a/lib/decorators/inline-query.decorator.ts b/lib/decorators/inline-query.decorator.ts
deleted file mode 100644
index 71706de..0000000
--- a/lib/decorators/inline-query.decorator.ts
+++ /dev/null
@@ -1,28 +0,0 @@
-import { SetMetadata } from '@nestjs/common';
-import { DECORATORS } from '../telegraf.constants';
-import * as tt from 'telegraf/typings/telegram-types';
-
-export type TelegrafInlineQueryTriggers = string | string[] | RegExp | RegExp[];
-
-export interface InlineQueryOptions {
- triggers?: TelegrafInlineQueryTriggers;
- updateType:
- | tt.UpdateType
- | tt.UpdateType[]
- | tt.MessageSubTypes
- | tt.MessageSubTypes[];
-}
-
-/**
- * Registers middleware for handling inline_query actions with regular expressions.
- *
- * @see https://telegraf.js.org/#/?id=inlinequery
- */
-export const InlineQuery = (
- triggers?: TelegrafInlineQueryTriggers,
-): MethodDecorator => {
- return SetMetadata(DECORATORS.INLINE_QUERY, {
- triggers,
- updateType: 'inline_query',
- });
-};
diff --git a/lib/decorators/listeners/action.decorator.ts b/lib/decorators/listeners/action.decorator.ts
new file mode 100644
index 0000000..1933405
--- /dev/null
+++ b/lib/decorators/listeners/action.decorator.ts
@@ -0,0 +1,25 @@
+import { applyDecorators, SetMetadata } from '@nestjs/common';
+import {
+ TELEGRAF_LISTENER_OPTIONS,
+ TELEGRAF_LISTENER_TYPE,
+} from '../../telegraf.constants';
+import { TelegrafActionTriggers } from '../../telegraf.types';
+import { ListenerType } from '../../enums/listener-type.enum';
+
+export interface ActionOptions {
+ triggers: TelegrafActionTriggers;
+}
+
+/**
+ * Registers middleware for handling callback_data actions with regular expressions.
+ *
+ * @see https://telegraf.js.org/#/?id=action
+ */
+export const Action = (triggers: TelegrafActionTriggers): MethodDecorator => {
+ return applyDecorators(
+ SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.Action),
+ SetMetadata(TELEGRAF_LISTENER_OPTIONS, {
+ triggers,
+ } as ActionOptions),
+ );
+};
diff --git a/lib/decorators/listeners/cashtag.decorator.ts b/lib/decorators/listeners/cashtag.decorator.ts
new file mode 100644
index 0000000..692bdf0
--- /dev/null
+++ b/lib/decorators/listeners/cashtag.decorator.ts
@@ -0,0 +1,25 @@
+import { applyDecorators, SetMetadata } from '@nestjs/common';
+import {
+ TELEGRAF_LISTENER_OPTIONS,
+ TELEGRAF_LISTENER_TYPE,
+} from '../../telegraf.constants';
+import { TelegrafCashtag } from '../../telegraf.types';
+import { ListenerType } from '../../enums/listener-type.enum';
+
+export interface CashtagOptions {
+ cashtag: TelegrafCashtag;
+}
+
+/**
+ * Cashtag handling.
+ *
+ * @see https://telegraf.js.org/#/?id=cashtag
+ */
+export const Cashtag = (cashtag: TelegrafCashtag): MethodDecorator => {
+ return applyDecorators(
+ SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.Cashtag),
+ SetMetadata(TELEGRAF_LISTENER_OPTIONS, {
+ cashtag,
+ } as CashtagOptions),
+ );
+};
diff --git a/lib/decorators/listeners/command.decorator.ts b/lib/decorators/listeners/command.decorator.ts
new file mode 100644
index 0000000..ee3de72
--- /dev/null
+++ b/lib/decorators/listeners/command.decorator.ts
@@ -0,0 +1,25 @@
+import { applyDecorators, SetMetadata } from '@nestjs/common';
+import {
+ TELEGRAF_LISTENER_OPTIONS,
+ TELEGRAF_LISTENER_TYPE,
+} from '../../telegraf.constants';
+import { ListenerType } from '../../enums/listener-type.enum';
+import { TelegrafCommand } from '../../telegraf.types';
+
+export interface CommandOptions {
+ commands: TelegrafCommand;
+}
+
+/**
+ * Command handling.
+ *
+ * @see https://telegraf.js.org/#/?id=command
+ */
+export const Command = (commands: TelegrafCommand): MethodDecorator => {
+ return applyDecorators(
+ SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.Command),
+ SetMetadata(TELEGRAF_LISTENER_OPTIONS, {
+ commands,
+ } as CommandOptions),
+ );
+};
diff --git a/lib/decorators/game-query.decorator.ts b/lib/decorators/listeners/game-query.decorator.ts
similarity index 54%
rename from lib/decorators/game-query.decorator.ts
rename to lib/decorators/listeners/game-query.decorator.ts
index dd1138c..9bb173d 100644
--- a/lib/decorators/game-query.decorator.ts
+++ b/lib/decorators/listeners/game-query.decorator.ts
@@ -1,5 +1,6 @@
import { SetMetadata } from '@nestjs/common';
-import { DECORATORS } from '../telegraf.constants';
+import { TELEGRAF_LISTENER_TYPE } from '../../telegraf.constants';
+import { ListenerType } from '../../enums/listener-type.enum';
/**
* Registers middleware for handling callback_data actions with game query.
@@ -7,5 +8,5 @@ import { DECORATORS } from '../telegraf.constants';
* @see https://telegraf.js.org/#/?id=inlinequery
*/
export const GameQuery = (): MethodDecorator => {
- return SetMetadata(DECORATORS.GAME_QUERY, {});
+ return SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.GameQuery);
};
diff --git a/lib/decorators/listeners/hashtag.decorator.ts b/lib/decorators/listeners/hashtag.decorator.ts
new file mode 100644
index 0000000..5447cfa
--- /dev/null
+++ b/lib/decorators/listeners/hashtag.decorator.ts
@@ -0,0 +1,25 @@
+import { applyDecorators, SetMetadata } from '@nestjs/common';
+import {
+ TELEGRAF_LISTENER_OPTIONS,
+ TELEGRAF_LISTENER_TYPE,
+} from '../../telegraf.constants';
+import { ListenerType } from '../../enums/listener-type.enum';
+import { TelegrafHashtag } from '../../telegraf.types';
+
+export interface HashtagOptions {
+ hashtag: TelegrafHashtag;
+}
+
+/**
+ * Hashtag handling.
+ *
+ * @see https://telegraf.js.org/#/?id=hashtag
+ */
+export const Hashtag = (hashtag: TelegrafHashtag): MethodDecorator => {
+ return applyDecorators(
+ SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.Hashtag),
+ SetMetadata(TELEGRAF_LISTENER_OPTIONS, {
+ hashtag,
+ } as HashtagOptions),
+ );
+};
diff --git a/lib/decorators/listeners/hears.decorator.ts b/lib/decorators/listeners/hears.decorator.ts
new file mode 100644
index 0000000..f3c6986
--- /dev/null
+++ b/lib/decorators/listeners/hears.decorator.ts
@@ -0,0 +1,25 @@
+import { applyDecorators, SetMetadata } from '@nestjs/common';
+import {
+ TELEGRAF_LISTENER_OPTIONS,
+ TELEGRAF_LISTENER_TYPE,
+} from '../../telegraf.constants';
+import { ListenerType } from '../../enums/listener-type.enum';
+import { TelegrafHearsTriggers } from '../../telegraf.types';
+
+export interface HearsOptions {
+ triggers: TelegrafHearsTriggers;
+}
+
+/**
+ * Registers middleware for handling text messages.
+ *
+ * @see https://telegraf.js.org/#/?id=hears
+ */
+export const Hears = (triggers: TelegrafHearsTriggers): MethodDecorator => {
+ return applyDecorators(
+ SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.Hears),
+ SetMetadata(TELEGRAF_LISTENER_OPTIONS, {
+ triggers,
+ } as HearsOptions),
+ );
+};
diff --git a/lib/decorators/listeners/help.decorator.ts b/lib/decorators/listeners/help.decorator.ts
new file mode 100644
index 0000000..ea16432
--- /dev/null
+++ b/lib/decorators/listeners/help.decorator.ts
@@ -0,0 +1,12 @@
+import { SetMetadata } from '@nestjs/common';
+import { TELEGRAF_LISTENER_TYPE } from '../../telegraf.constants';
+import { ListenerType } from '../../enums/listener-type.enum';
+
+/**
+ * Handler for /help command.
+ *
+ * @see https://telegraf.js.org/#/?id=help
+ */
+export const Help = (): MethodDecorator => {
+ return SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.Help);
+};
diff --git a/lib/decorators/listeners/inline-query.decorator.ts b/lib/decorators/listeners/inline-query.decorator.ts
new file mode 100644
index 0000000..2299f6b
--- /dev/null
+++ b/lib/decorators/listeners/inline-query.decorator.ts
@@ -0,0 +1,27 @@
+import { applyDecorators, SetMetadata } from '@nestjs/common';
+import {
+ TELEGRAF_LISTENER_OPTIONS,
+ TELEGRAF_LISTENER_TYPE,
+} from '../../telegraf.constants';
+import { ListenerType } from '../../enums/listener-type.enum';
+import { TelegrafInlineQueryTriggers } from '../../telegraf.types';
+
+export interface InlineQueryOptions {
+ triggers: TelegrafInlineQueryTriggers;
+}
+
+/**
+ * Registers middleware for handling inline_query actions with regular expressions.
+ *
+ * @see https://telegraf.js.org/#/?id=inlinequery
+ */
+export const InlineQuery = (
+ triggers: TelegrafInlineQueryTriggers,
+): MethodDecorator => {
+ return applyDecorators(
+ SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.InlineQuery),
+ SetMetadata(TELEGRAF_LISTENER_OPTIONS, {
+ triggers,
+ } as InlineQueryOptions),
+ );
+};
diff --git a/lib/decorators/listeners/mention.decorator.ts b/lib/decorators/listeners/mention.decorator.ts
new file mode 100644
index 0000000..d9de1d7
--- /dev/null
+++ b/lib/decorators/listeners/mention.decorator.ts
@@ -0,0 +1,25 @@
+import { applyDecorators, SetMetadata } from '@nestjs/common';
+import {
+ TELEGRAF_LISTENER_OPTIONS,
+ TELEGRAF_LISTENER_TYPE,
+} from '../../telegraf.constants';
+import { ListenerType } from '../../enums/listener-type.enum';
+import { TelegrafMention } from '../../telegraf.types';
+
+export interface MentionOptions {
+ mention: TelegrafMention;
+}
+
+/**
+ * Mention handling.
+ *
+ * @see https://telegraf.js.org/#/?id=mention
+ */
+export const Mention = (mention: TelegrafMention): MethodDecorator => {
+ return applyDecorators(
+ SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.Mention),
+ SetMetadata(TELEGRAF_LISTENER_OPTIONS, {
+ mention,
+ } as MentionOptions),
+ );
+};
diff --git a/lib/decorators/listeners/on.decorator.ts b/lib/decorators/listeners/on.decorator.ts
new file mode 100644
index 0000000..37b25a4
--- /dev/null
+++ b/lib/decorators/listeners/on.decorator.ts
@@ -0,0 +1,25 @@
+import { applyDecorators, SetMetadata } from '@nestjs/common';
+import {
+ TELEGRAF_LISTENER_OPTIONS,
+ TELEGRAF_LISTENER_TYPE,
+} from '../../telegraf.constants';
+import { ListenerType } from '../../enums/listener-type.enum';
+import { TelegrafUpdateType } from '../../telegraf.types';
+
+export interface OnOptions {
+ updateTypes: TelegrafUpdateType;
+}
+
+/**
+ * Registers middleware for provided update type.
+ *
+ * @see https://telegraf.js.org/#/?id=on
+ */
+export const On = (updateTypes: TelegrafUpdateType): MethodDecorator => {
+ return applyDecorators(
+ SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.On),
+ SetMetadata(TELEGRAF_LISTENER_OPTIONS, {
+ updateTypes,
+ } as OnOptions),
+ );
+};
diff --git a/lib/decorators/listeners/phone.decorator.ts b/lib/decorators/listeners/phone.decorator.ts
new file mode 100644
index 0000000..d5f956b
--- /dev/null
+++ b/lib/decorators/listeners/phone.decorator.ts
@@ -0,0 +1,25 @@
+import { applyDecorators, SetMetadata } from '@nestjs/common';
+import {
+ TELEGRAF_LISTENER_OPTIONS,
+ TELEGRAF_LISTENER_TYPE,
+} from '../../telegraf.constants';
+import { ListenerType } from '../../enums/listener-type.enum';
+import { TelegrafPhone } from '../../telegraf.types';
+
+export interface PhoneOptions {
+ phone: TelegrafPhone;
+}
+
+/**
+ * Phone number handling.
+ *
+ * @see https://telegraf.js.org/#/?id=phone
+ */
+export const Phone = (phone: TelegrafPhone): MethodDecorator => {
+ return applyDecorators(
+ SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.Phone),
+ SetMetadata(TELEGRAF_LISTENER_OPTIONS, {
+ phone,
+ } as PhoneOptions),
+ );
+};
diff --git a/lib/decorators/listeners/settings.decorator.ts b/lib/decorators/listeners/settings.decorator.ts
new file mode 100644
index 0000000..2087c93
--- /dev/null
+++ b/lib/decorators/listeners/settings.decorator.ts
@@ -0,0 +1,12 @@
+import { SetMetadata } from '@nestjs/common';
+import { TELEGRAF_LISTENER_TYPE } from '../../telegraf.constants';
+import { ListenerType } from '../../enums/listener-type.enum';
+
+/**
+ * Handler for /settings command.
+ *
+ * @see https://telegraf.js.org/#/?id=settings
+ */
+export const Settings = (): MethodDecorator => {
+ return SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.Settings);
+};
diff --git a/lib/decorators/listeners/start.decorator.ts b/lib/decorators/listeners/start.decorator.ts
new file mode 100644
index 0000000..9031bda
--- /dev/null
+++ b/lib/decorators/listeners/start.decorator.ts
@@ -0,0 +1,12 @@
+import { SetMetadata } from '@nestjs/common';
+import { TELEGRAF_LISTENER_TYPE } from '../../telegraf.constants';
+import { ListenerType } from '../../enums/listener-type.enum';
+
+/**
+ * Handler for /start command.
+ *
+ * @see https://telegraf.js.org/#/?id=start
+ */
+export const Start = (): MethodDecorator => {
+ return SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.Start);
+};
diff --git a/lib/decorators/listeners/use.decorator.ts b/lib/decorators/listeners/use.decorator.ts
new file mode 100644
index 0000000..c2e911e
--- /dev/null
+++ b/lib/decorators/listeners/use.decorator.ts
@@ -0,0 +1,12 @@
+import { SetMetadata } from '@nestjs/common';
+import { TELEGRAF_LISTENER_TYPE } from '../../telegraf.constants';
+import { ListenerType } from '../../enums/listener-type.enum';
+
+/**
+ * Registers a middleware.
+ *
+ * @see https://telegraf.js.org/#/?id=use
+ */
+export const Use = (): MethodDecorator => {
+ return SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.Use);
+};
diff --git a/lib/decorators/mention.decorator.ts b/lib/decorators/mention.decorator.ts
deleted file mode 100644
index 004f41b..0000000
--- a/lib/decorators/mention.decorator.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-import { SetMetadata } from '@nestjs/common';
-import { DECORATORS } from '../telegraf.constants';
-
-export type TelegrafMentionUsername = string | string[];
-
-export interface MentionOptions {
- username: TelegrafMentionUsername;
-}
-
-/**
- * Mention handling.
- *
- * @see https://telegraf.js.org/#/?id=mention
- */
-export const Mention = (username: TelegrafMentionUsername): MethodDecorator => {
- return SetMetadata(DECORATORS.MENTION, { username });
-};
diff --git a/lib/decorators/on.decorator.ts b/lib/decorators/on.decorator.ts
deleted file mode 100644
index 9e3752a..0000000
--- a/lib/decorators/on.decorator.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-import { SetMetadata } from '@nestjs/common';
-import { DECORATORS } from '../telegraf.constants';
-import { UpdateType, MessageSubTypes } from 'telegraf/typings/telegram-types';
-
-export type TelegrafOnUpdateTypes =
- | UpdateType
- | UpdateType[]
- | MessageSubTypes
- | MessageSubTypes[];
-
-export interface OnOptions {
- updateTypes: TelegrafOnUpdateTypes;
-}
-
-/**
- * Registers middleware for provided update type.
- *
- * @see https://telegraf.js.org/#/?id=on
- */
-export const On = (updateTypes: TelegrafOnUpdateTypes): MethodDecorator => {
- return SetMetadata(DECORATORS.ON, { updateTypes: updateTypes });
-};
diff --git a/lib/decorators/phone.decorator.ts b/lib/decorators/phone.decorator.ts
deleted file mode 100644
index 39a0b27..0000000
--- a/lib/decorators/phone.decorator.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-import { SetMetadata } from '@nestjs/common';
-import { DECORATORS } from '../telegraf.constants';
-
-export type TelegrafPhonePhone = string | string[];
-
-export interface PhoneOptions {
- phone: TelegrafPhonePhone;
-}
-
-/**
- * Phone number handling.
- *
- * @see https://telegraf.js.org/#/?id=phone
- */
-export const Phone = (phone: TelegrafPhonePhone): MethodDecorator => {
- return SetMetadata(DECORATORS.PHONE, { phone });
-};
diff --git a/lib/decorators/settings.decorator.ts b/lib/decorators/settings.decorator.ts
deleted file mode 100644
index 9378e7f..0000000
--- a/lib/decorators/settings.decorator.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { SetMetadata } from '@nestjs/common';
-import { DECORATORS } from '../telegraf.constants';
-
-/**
- * Handler for /settings command.
- *
- * @see https://telegraf.js.org/#/?id=settings
- */
-export const Settings = (): MethodDecorator => {
- return SetMetadata(DECORATORS.SETTINGS, {});
-};
diff --git a/lib/decorators/start.decorator.ts b/lib/decorators/start.decorator.ts
deleted file mode 100644
index 9429753..0000000
--- a/lib/decorators/start.decorator.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { SetMetadata } from '@nestjs/common';
-import { DECORATORS } from '../telegraf.constants';
-
-/**
- * Handler for /start command.
- *
- * @see https://telegraf.js.org/#/?id=start
- */
-export const Start = (): MethodDecorator => {
- return SetMetadata(DECORATORS.START, {});
-};
diff --git a/lib/decorators/use.decorator.ts b/lib/decorators/use.decorator.ts
deleted file mode 100644
index a7f68fa..0000000
--- a/lib/decorators/use.decorator.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { SetMetadata } from '@nestjs/common';
-import { DECORATORS } from '../telegraf.constants';
-
-/**
- * Registers a middleware.
- *
- * @see https://telegraf.js.org/#/?id=use
- */
-export const Use = (): MethodDecorator => {
- return SetMetadata(DECORATORS.USE, {});
-};
diff --git a/lib/enums/listener-type.enum.ts b/lib/enums/listener-type.enum.ts
new file mode 100644
index 0000000..5ebf548
--- /dev/null
+++ b/lib/enums/listener-type.enum.ts
@@ -0,0 +1,16 @@
+export enum ListenerType {
+ Use = 'use',
+ On = 'on',
+ Hears = 'hears',
+ Command = 'command',
+ Start = 'start',
+ Help = 'help',
+ Settings = 'settings',
+ Mention = 'mention',
+ Phone = 'phone',
+ Hashtag = 'hashtag',
+ Cashtag = 'cashtag',
+ Action = 'action',
+ InlineQuery = 'inlineQuery',
+ GameQuery = 'gameQuery',
+}
diff --git a/lib/telegraf.constants.ts b/lib/telegraf.constants.ts
index 1affe84..88b4194 100644
--- a/lib/telegraf.constants.ts
+++ b/lib/telegraf.constants.ts
@@ -1,23 +1,6 @@
export const TELEGRAF_MODULE_OPTIONS = 'TELEGRAF_MODULE_OPTIONS';
export const TELEGRAF_PROVIDER = 'TelegrafProvider';
-export const DECORATORS_PREFIX = 'TELEGRAF';
-export const DECORATORS = {
- USE: `${DECORATORS_PREFIX}/USE`,
- ON: `${DECORATORS_PREFIX}/ON`,
- HEARS: `${DECORATORS_PREFIX}/HEARS`,
- COMMAND: `${DECORATORS_PREFIX}/COMMAND`,
- START: `${DECORATORS_PREFIX}/START`,
- HELP: `${DECORATORS_PREFIX}/HELP`,
- SETTINGS: `${DECORATORS_PREFIX}/SETTINGS`,
- ENTITY: `${DECORATORS_PREFIX}/ENTITY`,
- MENTION: `${DECORATORS_PREFIX}/MENTION`,
- PHONE: `${DECORATORS_PREFIX}/PHONE`,
- HASHTAG: `${DECORATORS_PREFIX}/HASHTAG`,
- CASHTAG: `${DECORATORS_PREFIX}/CASHTAG`,
- ACTION: `${DECORATORS_PREFIX}/ACTION`,
- INLINE_QUERY: `${DECORATORS_PREFIX}/INLINE_QUERY`,
- GAME_QUERY: `${DECORATORS_PREFIX}/GAME_QUERY`,
- UPDATE: `${DECORATORS_PREFIX}/UPDATE`,
- UPDATE_HOOK: `${DECORATORS_PREFIX}/UPDATE_HOOK`,
-};
+export const TELEGRAF_UPDATE = 'TELEGRAF_UPDATE';
+export const TELEGRAF_LISTENER_TYPE = 'TELEGRAF_LISTENER_TYPE';
+export const TELEGRAF_LISTENER_OPTIONS = 'TELEGRAF_LISTENER_OPTIONS';
diff --git a/lib/telegraf.provider.ts b/lib/telegraf.provider.ts
index 58be5b1..f6bfb2f 100644
--- a/lib/telegraf.provider.ts
+++ b/lib/telegraf.provider.ts
@@ -10,7 +10,8 @@ import { Context, TelegrafModuleOptions } from './interfaces';
import { TELEGRAF_MODULE_OPTIONS } from './telegraf.constants';
@Injectable()
-export class TelegrafProvider extends Telegraf
+export class TelegrafProvider
+ extends Telegraf
implements OnApplicationBootstrap, OnApplicationShutdown {
private logger = new Logger('Telegraf');
private readonly launchOptions;
@@ -20,18 +21,18 @@ export class TelegrafProvider extends Telegraf
this.launchOptions = options.launchOptions;
}
- async onApplicationBootstrap() {
- this.catch((err, ctx: Context) => {
+ async onApplicationBootstrap(): Promise {
+ this.catch(async (err, ctx) => {
this.logger.error(
`Encountered an error for ${ctx.updateType} update type`,
- err,
+ err as string,
);
});
await this.launch(this.launchOptions);
}
- async onApplicationShutdown() {
+ async onApplicationShutdown(): Promise {
await this.stop();
}
}
diff --git a/lib/telegraf.types.ts b/lib/telegraf.types.ts
new file mode 100644
index 0000000..f46c261
--- /dev/null
+++ b/lib/telegraf.types.ts
@@ -0,0 +1,13 @@
+import { Context, Composer } from 'telegraf';
+
+export type TelegrafActionTriggers = Parameters['action']>[0];
+export type TelegrafHearsTriggers = Parameters['hears']>[0];
+export type TelegrafInlineQueryTriggers = Parameters<
+ Composer['inlineQuery']
+>[0];
+export type TelegrafCashtag = Parameters['cashtag']>[0];
+export type TelegrafHashtag = Parameters['hashtag']>[0];
+export type TelegrafCommand = Parameters['command']>[0];
+export type TelegrafMention = Parameters['mention']>[0];
+export type TelegrafPhone = Parameters['phone']>[0];
+export type TelegrafUpdateType = Parameters['on']>[0];
From b394f5274b40a1554eeacc54a2dabdd70d07b38b Mon Sep 17 00:00:00 2001
From: unknown
Date: Wed, 23 Dec 2020 21:48:07 +0300
Subject: [PATCH 058/101] feat(wip): add updates decorators
---
.../{listeners => core}/on.decorator.ts | 0
.../{listeners => core}/use.decorator.ts | 0
lib/decorators/index.ts | 2 +-
lib/decorators/update-hooks.decorators.ts | 104 ------------------
lib/decorators/updates.decorator.ts | 70 ++++++++++++
5 files changed, 71 insertions(+), 105 deletions(-)
rename lib/decorators/{listeners => core}/on.decorator.ts (100%)
rename lib/decorators/{listeners => core}/use.decorator.ts (100%)
delete mode 100644 lib/decorators/update-hooks.decorators.ts
create mode 100644 lib/decorators/updates.decorator.ts
diff --git a/lib/decorators/listeners/on.decorator.ts b/lib/decorators/core/on.decorator.ts
similarity index 100%
rename from lib/decorators/listeners/on.decorator.ts
rename to lib/decorators/core/on.decorator.ts
diff --git a/lib/decorators/listeners/use.decorator.ts b/lib/decorators/core/use.decorator.ts
similarity index 100%
rename from lib/decorators/listeners/use.decorator.ts
rename to lib/decorators/core/use.decorator.ts
diff --git a/lib/decorators/index.ts b/lib/decorators/index.ts
index 03af4ba..c49f9c0 100644
--- a/lib/decorators/index.ts
+++ b/lib/decorators/index.ts
@@ -15,4 +15,4 @@ export * from './settings.decorator';
export * from './start.decorator';
export * from './update.decorator';
export * from './update-hooks.decorators';
-export * from './use.decorator';
+export * from './core/use.decorator';
diff --git a/lib/decorators/update-hooks.decorators.ts b/lib/decorators/update-hooks.decorators.ts
deleted file mode 100644
index 75621d8..0000000
--- a/lib/decorators/update-hooks.decorators.ts
+++ /dev/null
@@ -1,104 +0,0 @@
-import { SetMetadata } from '@nestjs/common';
-import { DECORATORS } from '../telegraf.constants';
-import * as tt from 'telegraf/typings/telegram-types';
-
-export interface UpdateHookOptions {
- updateType:
- | tt.UpdateType
- | tt.UpdateType[]
- | tt.MessageSubTypes
- | tt.MessageSubTypes[];
-}
-
-/**
- * New incoming message of any kind — text, photo, sticker, etc.
- * @constructor
- */
-export const Message = (): MethodDecorator => {
- return SetMetadata(DECORATORS.UPDATE_HOOK, {
- updateType: 'message',
- });
-};
-
-/**
- * New version of a message that is known to the bot and was edited
- * @constructor
- */
-export const EditedMessage = (): MethodDecorator => {
- return SetMetadata(DECORATORS.UPDATE_HOOK, {
- updateType: 'edited_message',
- });
-};
-
-/**
- * New incoming channel post of any kind — text, photo, sticker, etc.
- * @constructor
- */
-export const ChannelPost = (): MethodDecorator => {
- return SetMetadata(DECORATORS.UPDATE_HOOK, {
- updateType: 'channel_post',
- });
-};
-
-/**
- * New version of a channel post that is known to the bot and was edited
- * @constructor
- */
-export const EditedChannelPost = (): MethodDecorator => {
- return SetMetadata(DECORATORS.UPDATE_HOOK, {
- updateType: 'edited_channel_post',
- });
-};
-
-/**
- * New incoming inline query
- * See this decorator in inline-query.decorator.ts
- * @constructor
- */
-// export const InlineQuery = (): MethodDecorator => {
-// return SetMetadata(DECORATORS.UPDATE_HOOK, {
-// updateType: 'inline_query',
-// });
-// };
-
-/**
- * The result of an inline query that was chosen by a user and sent to their chat partner.
- * @constructor
- */
-export const ChosenInlineResult = (): MethodDecorator => {
- return SetMetadata(DECORATORS.UPDATE_HOOK, {
- updateType: 'chosen_inline_result',
- });
-};
-
-/**
- * New incoming callback query
- * @constructor
- */
-export const CallbackQuery = (): MethodDecorator => {
- return SetMetadata(DECORATORS.UPDATE_HOOK, {
- updateType: 'callback_query',
- });
-};
-
-/**
- * New incoming shipping query. Only for invoices with flexible price
- * @constructor
- */
-export const ShippingQuery = (): MethodDecorator => {
- return SetMetadata(DECORATORS.UPDATE_HOOK, {
- updateType: 'shipping_query',
- });
-};
-
-/**
- * New incoming pre-checkout query. Contains full information about checkout
- * @constructor
- */
-export const PreCheckoutQuery = (): MethodDecorator => {
- return SetMetadata(DECORATORS.UPDATE_HOOK, {
- updateType: 'pre_checkout_query',
- });
-};
-
-// Two more decorators are missing here. For 'poll' and 'poll_answer' update types.
diff --git a/lib/decorators/updates.decorator.ts b/lib/decorators/updates.decorator.ts
new file mode 100644
index 0000000..b186a21
--- /dev/null
+++ b/lib/decorators/updates.decorator.ts
@@ -0,0 +1,70 @@
+import { On } from './core/on.decorator';
+
+/**
+ * New incoming message of any kind — text, photo, sticker, etc.
+ * @constructor
+ */
+export const Message = (): MethodDecorator => On('message');
+
+/**
+ * New version of a message that is known to the bot and was edited
+ * @constructor
+ */
+export const EditedMessage = (): MethodDecorator => On('edited_message');
+
+/**
+ * New incoming channel post of any kind — text, photo, sticker, etc.
+ * @constructor
+ */
+export const ChannelPost = (): MethodDecorator => On('channel_post');
+
+/**
+ * New version of a channel post that is known to the bot and was edited
+ * @constructor
+ */
+export const EditedChannelPost = (): MethodDecorator =>
+ On('edited_channel_post');
+
+/**
+ * New incoming inline query
+ * See this decorator in inline-query.decorator.ts
+ * @constructor
+ */
+// export const InlineQuery = (): MethodDecorator => On('inline_query');
+
+/**
+ * The result of an inline query that was chosen by a user and sent to their chat partner.
+ * @constructor
+ */
+export const ChosenInlineResult = (): MethodDecorator =>
+ On('chosen_inline_result');
+
+/**
+ * New incoming callback query
+ * @constructor
+ */
+export const CallbackQuery = (): MethodDecorator => On('callback_query');
+
+/**
+ * New incoming shipping query. Only for invoices with flexible price
+ * @constructor
+ */
+export const ShippingQuery = (): MethodDecorator => On('shipping_query');
+
+/**
+ * New incoming pre-checkout query. Contains full information about checkout
+ * @constructor
+ */
+export const PreCheckoutQuery = (): MethodDecorator => On('pre_checkout_query');
+
+/**
+ * New poll state. Bots receive only updates about stopped polls and polls, which are sent by the bot
+ * @constructor
+ */
+export const Poll = (): MethodDecorator => On('poll');
+
+/**
+ * A user changed their answer in a non-anonymous poll. Bots receive new votes only in polls that were sent by the bot itself.
+ * @constructor
+ */
+export const PollAnswer = (): MethodDecorator => On('poll_answer');
From 61c6c07482d522ac9eef0d36ea656486585d62e0 Mon Sep 17 00:00:00 2001
From: unknown
Date: Fri, 25 Dec 2020 23:11:16 +0300
Subject: [PATCH 059/101] feat(wip): rewrite explorer logic & update launch
options & add miss decorators
---
lib/decorators/core/index.ts | 3 +
lib/decorators/index.ts | 19 +-
lib/decorators/listeners/command.decorator.ts | 6 +-
lib/decorators/listeners/email.decorator.ts | 25 ++
lib/decorators/listeners/index.ts | 16 +
.../listeners/text-link.decorator.ts | 25 ++
.../listeners/text-mention.decorator.ts | 25 ++
lib/decorators/listeners/url.decorator.ts | 25 ++
lib/decorators/updates.decorator.ts | 70 ----
lib/enums/index.ts | 1 +
lib/enums/listener-type.enum.ts | 4 +
lib/interfaces/context.interface.ts | 1 +
lib/interfaces/telegraf-options.interface.ts | 13 +-
.../decorators/middleware.decorator.ts | 4 +
lib/telegraf-metadata.accessor.ts | 202 +-----------
lib/telegraf.explorer.ts | 308 +++++++-----------
lib/telegraf.types.ts | 11 +-
17 files changed, 271 insertions(+), 487 deletions(-)
create mode 100644 lib/decorators/core/index.ts
create mode 100644 lib/decorators/listeners/email.decorator.ts
create mode 100644 lib/decorators/listeners/index.ts
create mode 100644 lib/decorators/listeners/text-link.decorator.ts
create mode 100644 lib/decorators/listeners/text-mention.decorator.ts
create mode 100644 lib/decorators/listeners/url.decorator.ts
delete mode 100644 lib/decorators/updates.decorator.ts
create mode 100644 lib/enums/index.ts
create mode 100644 lib/middleware/decorators/middleware.decorator.ts
diff --git a/lib/decorators/core/index.ts b/lib/decorators/core/index.ts
new file mode 100644
index 0000000..c7875e3
--- /dev/null
+++ b/lib/decorators/core/index.ts
@@ -0,0 +1,3 @@
+export * from './on.decorator';
+export * from './update.decorator';
+export * from './use.decorator';
diff --git a/lib/decorators/index.ts b/lib/decorators/index.ts
index c49f9c0..dd680b1 100644
--- a/lib/decorators/index.ts
+++ b/lib/decorators/index.ts
@@ -1,18 +1,3 @@
-export * from './action.decorator';
-export * from './cashtag.decorator';
-export * from './command.decorator';
-export * from './entity.decorator';
-export * from './game-query.decorator';
-export * from './hashtag.decorator';
-export * from './hears.decorator';
-export * from './help.decorator';
export * from './inject-bot.decorator';
-export * from './inline-query.decorator';
-export * from './mention.decorator';
-export * from './on.decorator';
-export * from './phone.decorator';
-export * from './settings.decorator';
-export * from './start.decorator';
-export * from './update.decorator';
-export * from './update-hooks.decorators';
-export * from './core/use.decorator';
+export * from './core';
+export * from './listeners';
diff --git a/lib/decorators/listeners/command.decorator.ts b/lib/decorators/listeners/command.decorator.ts
index ee3de72..683b405 100644
--- a/lib/decorators/listeners/command.decorator.ts
+++ b/lib/decorators/listeners/command.decorator.ts
@@ -7,7 +7,7 @@ import { ListenerType } from '../../enums/listener-type.enum';
import { TelegrafCommand } from '../../telegraf.types';
export interface CommandOptions {
- commands: TelegrafCommand;
+ command: TelegrafCommand;
}
/**
@@ -15,11 +15,11 @@ export interface CommandOptions {
*
* @see https://telegraf.js.org/#/?id=command
*/
-export const Command = (commands: TelegrafCommand): MethodDecorator => {
+export const Command = (command: TelegrafCommand): MethodDecorator => {
return applyDecorators(
SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.Command),
SetMetadata(TELEGRAF_LISTENER_OPTIONS, {
- commands,
+ command: command,
} as CommandOptions),
);
};
diff --git a/lib/decorators/listeners/email.decorator.ts b/lib/decorators/listeners/email.decorator.ts
new file mode 100644
index 0000000..a0b0b91
--- /dev/null
+++ b/lib/decorators/listeners/email.decorator.ts
@@ -0,0 +1,25 @@
+import { applyDecorators, SetMetadata } from '@nestjs/common';
+import {
+ TELEGRAF_LISTENER_OPTIONS,
+ TELEGRAF_LISTENER_TYPE,
+} from '../../telegraf.constants';
+import { ListenerType } from '../../enums/listener-type.enum';
+import { TelegrafEmail } from '../../telegraf.types';
+
+export interface EmailOptions {
+ email: TelegrafEmail;
+}
+
+/**
+ * Registers middleware for handling messages with email entity.
+ *
+ * @see https://telegraf.js.org/#/?id=telegraf-email
+ */
+export const Email = (email: TelegrafEmail): MethodDecorator => {
+ return applyDecorators(
+ SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.Email),
+ SetMetadata(TELEGRAF_LISTENER_OPTIONS, {
+ email,
+ } as EmailOptions),
+ );
+};
diff --git a/lib/decorators/listeners/index.ts b/lib/decorators/listeners/index.ts
new file mode 100644
index 0000000..2108a90
--- /dev/null
+++ b/lib/decorators/listeners/index.ts
@@ -0,0 +1,16 @@
+export * from './action.decorator';
+export * from './cashtag.decorator';
+export * from './command.decorator';
+export * from './game-query.decorator';
+export * from './hashtag.decorator';
+export * from './hears.decorator';
+export * from './help.decorator';
+export * from './inline-query.decorator';
+export * from './mention.decorator';
+export * from './phone.decorator';
+export * from './settings.decorator';
+export * from './start.decorator';
+export * from './email.decorator';
+export * from './url.decorator';
+export * from './text-link.decorator';
+export * from './text-mention.decorator';
diff --git a/lib/decorators/listeners/text-link.decorator.ts b/lib/decorators/listeners/text-link.decorator.ts
new file mode 100644
index 0000000..f6a484e
--- /dev/null
+++ b/lib/decorators/listeners/text-link.decorator.ts
@@ -0,0 +1,25 @@
+import { applyDecorators, SetMetadata } from '@nestjs/common';
+import {
+ TELEGRAF_LISTENER_OPTIONS,
+ TELEGRAF_LISTENER_TYPE,
+} from '../../telegraf.constants';
+import { ListenerType } from '../../enums/listener-type.enum';
+import { TelegrafTextLink } from '../../telegraf.types';
+
+export interface TextLinkOptions {
+ link: TelegrafTextLink;
+}
+
+/**
+ * Registers middleware for handling messages with text_link entity.
+ *
+ * @see https://telegraf.js.org/#/?id=telegraf-textlink
+ */
+export const TetxLink = (link: TelegrafTextLink): MethodDecorator => {
+ return applyDecorators(
+ SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.TextLink),
+ SetMetadata(TELEGRAF_LISTENER_OPTIONS, {
+ link,
+ } as TextLinkOptions),
+ );
+};
diff --git a/lib/decorators/listeners/text-mention.decorator.ts b/lib/decorators/listeners/text-mention.decorator.ts
new file mode 100644
index 0000000..aea29ce
--- /dev/null
+++ b/lib/decorators/listeners/text-mention.decorator.ts
@@ -0,0 +1,25 @@
+import { applyDecorators, SetMetadata } from '@nestjs/common';
+import {
+ TELEGRAF_LISTENER_OPTIONS,
+ TELEGRAF_LISTENER_TYPE,
+} from '../../telegraf.constants';
+import { ListenerType } from '../../enums/listener-type.enum';
+import { TelegrafTextMention } from '../../telegraf.types';
+
+export interface TextMentionOptions {
+ mention: TelegrafTextMention;
+}
+
+/**
+ * Registers middleware for handling messages with text_mention entity.
+ *
+ * @see https://telegraf.js.org/#/?id=telegraf-textlink
+ */
+export const TetxMention = (mention: TelegrafTextMention): MethodDecorator => {
+ return applyDecorators(
+ SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.TextMention),
+ SetMetadata(TELEGRAF_LISTENER_OPTIONS, {
+ mention,
+ } as TextMentionOptions),
+ );
+};
diff --git a/lib/decorators/listeners/url.decorator.ts b/lib/decorators/listeners/url.decorator.ts
new file mode 100644
index 0000000..e8c1448
--- /dev/null
+++ b/lib/decorators/listeners/url.decorator.ts
@@ -0,0 +1,25 @@
+import { applyDecorators, SetMetadata } from '@nestjs/common';
+import {
+ TELEGRAF_LISTENER_OPTIONS,
+ TELEGRAF_LISTENER_TYPE,
+} from '../../telegraf.constants';
+import { ListenerType } from '../../enums/listener-type.enum';
+import { TelegrafUrl } from '../../telegraf.types';
+
+export interface UrlOptions {
+ url: TelegrafUrl;
+}
+
+/**
+ * Registers middleware for handling messages with url entity.
+ *
+ * @see https://telegraf.js.org/#/?id=telegraf-url
+ */
+export const Url = (url: TelegrafUrl): MethodDecorator => {
+ return applyDecorators(
+ SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.Url),
+ SetMetadata(TELEGRAF_LISTENER_OPTIONS, {
+ url,
+ } as UrlOptions),
+ );
+};
diff --git a/lib/decorators/updates.decorator.ts b/lib/decorators/updates.decorator.ts
deleted file mode 100644
index b186a21..0000000
--- a/lib/decorators/updates.decorator.ts
+++ /dev/null
@@ -1,70 +0,0 @@
-import { On } from './core/on.decorator';
-
-/**
- * New incoming message of any kind — text, photo, sticker, etc.
- * @constructor
- */
-export const Message = (): MethodDecorator => On('message');
-
-/**
- * New version of a message that is known to the bot and was edited
- * @constructor
- */
-export const EditedMessage = (): MethodDecorator => On('edited_message');
-
-/**
- * New incoming channel post of any kind — text, photo, sticker, etc.
- * @constructor
- */
-export const ChannelPost = (): MethodDecorator => On('channel_post');
-
-/**
- * New version of a channel post that is known to the bot and was edited
- * @constructor
- */
-export const EditedChannelPost = (): MethodDecorator =>
- On('edited_channel_post');
-
-/**
- * New incoming inline query
- * See this decorator in inline-query.decorator.ts
- * @constructor
- */
-// export const InlineQuery = (): MethodDecorator => On('inline_query');
-
-/**
- * The result of an inline query that was chosen by a user and sent to their chat partner.
- * @constructor
- */
-export const ChosenInlineResult = (): MethodDecorator =>
- On('chosen_inline_result');
-
-/**
- * New incoming callback query
- * @constructor
- */
-export const CallbackQuery = (): MethodDecorator => On('callback_query');
-
-/**
- * New incoming shipping query. Only for invoices with flexible price
- * @constructor
- */
-export const ShippingQuery = (): MethodDecorator => On('shipping_query');
-
-/**
- * New incoming pre-checkout query. Contains full information about checkout
- * @constructor
- */
-export const PreCheckoutQuery = (): MethodDecorator => On('pre_checkout_query');
-
-/**
- * New poll state. Bots receive only updates about stopped polls and polls, which are sent by the bot
- * @constructor
- */
-export const Poll = (): MethodDecorator => On('poll');
-
-/**
- * A user changed their answer in a non-anonymous poll. Bots receive new votes only in polls that were sent by the bot itself.
- * @constructor
- */
-export const PollAnswer = (): MethodDecorator => On('poll_answer');
diff --git a/lib/enums/index.ts b/lib/enums/index.ts
new file mode 100644
index 0000000..1f890a3
--- /dev/null
+++ b/lib/enums/index.ts
@@ -0,0 +1 @@
+export * from './listener-type.enum';
diff --git a/lib/enums/listener-type.enum.ts b/lib/enums/listener-type.enum.ts
index 5ebf548..932382f 100644
--- a/lib/enums/listener-type.enum.ts
+++ b/lib/enums/listener-type.enum.ts
@@ -10,6 +10,10 @@ export enum ListenerType {
Phone = 'phone',
Hashtag = 'hashtag',
Cashtag = 'cashtag',
+ Email = 'email',
+ Url = 'url',
+ TextLink = 'textLink',
+ TextMention = 'textMention',
Action = 'action',
InlineQuery = 'inlineQuery',
GameQuery = 'gameQuery',
diff --git a/lib/interfaces/context.interface.ts b/lib/interfaces/context.interface.ts
index d670e24..97001b3 100644
--- a/lib/interfaces/context.interface.ts
+++ b/lib/interfaces/context.interface.ts
@@ -1,3 +1,4 @@
import { Context as TelegrafContext } from 'telegraf';
+// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface Context extends TelegrafContext {}
diff --git a/lib/interfaces/telegraf-options.interface.ts b/lib/interfaces/telegraf-options.interface.ts
index 13c729d..9f7dc6d 100644
--- a/lib/interfaces/telegraf-options.interface.ts
+++ b/lib/interfaces/telegraf-options.interface.ts
@@ -1,17 +1,10 @@
import { ModuleMetadata, Type } from '@nestjs/common/interfaces';
-import {
- TelegrafOptions,
- LaunchPollingOptions,
- LaunchWebhookOptions,
-} from 'telegraf/typings/telegraf';
+import { TelegrafLaunchOption, TelegrafOption } from '../telegraf.types';
export interface TelegrafModuleOptions {
token: string;
- options?: TelegrafOptions;
- launchOptions?: {
- polling?: LaunchPollingOptions;
- webhook?: LaunchWebhookOptions;
- };
+ options?: TelegrafOption;
+ launchOptions?: TelegrafLaunchOption;
}
export interface TelegrafOptionsFactory {
diff --git a/lib/middleware/decorators/middleware.decorator.ts b/lib/middleware/decorators/middleware.decorator.ts
new file mode 100644
index 0000000..29541ec
--- /dev/null
+++ b/lib/middleware/decorators/middleware.decorator.ts
@@ -0,0 +1,4 @@
+import { SetMetadata } from '@nestjs/common';
+
+export const Middleware = (): ClassDecorator =>
+ SetMetadata('TELEGRAF_MIDDLEWARE', true);
diff --git a/lib/telegraf-metadata.accessor.ts b/lib/telegraf-metadata.accessor.ts
index b204d60..504db39 100644
--- a/lib/telegraf-metadata.accessor.ts
+++ b/lib/telegraf-metadata.accessor.ts
@@ -1,204 +1,20 @@
-import { Injectable, Type } from '@nestjs/common';
+import { Injectable } from '@nestjs/common';
import { Reflector } from '@nestjs/core';
import {
- ActionOptions,
- CashtagOptions,
- CommandOptions,
- EntityOptions,
- HashtagOptions,
- HearsOptions,
- InlineQueryOptions,
- MentionOptions,
- OnOptions,
- PhoneOptions,
- UpdateHookOptions,
-} from './decorators';
-import { DECORATORS } from './telegraf.constants';
+ TELEGRAF_LISTENER_TYPE,
+ TELEGRAF_MODULE_OPTIONS,
+} from './telegraf.constants';
+import { ListenerType } from './enums/listener-type.enum';
@Injectable()
export class TelegrafMetadataAccessor {
constructor(private readonly reflector: Reflector) {}
- isUpdate(target: Type | Function): boolean {
- if (!target) {
- return false;
- }
- return !!this.reflector.get(DECORATORS.UPDATE, target);
+ getListenerType(target: Function): ListenerType | undefined {
+ return this.reflector.get(TELEGRAF_LISTENER_TYPE, target);
}
- isUpdateHook(target: Type | Function): boolean {
- if (!target) {
- return false;
- }
- return !!this.reflector.get(DECORATORS.UPDATE_HOOK, target);
- }
-
- getUpdateHookMetadata(
- target: Type | Function,
- ): UpdateHookOptions | undefined {
- return this.reflector.get(DECORATORS.UPDATE_HOOK, target);
- }
-
- isTelegrafUse(target: Type | Function): boolean {
- if (!target) {
- return false;
- }
- return !!this.reflector.get(DECORATORS.USE, target);
- }
-
- isTelegrafOn(target: Type | Function): boolean {
- if (!target) {
- return false;
- }
- return !!this.reflector.get(DECORATORS.ON, target);
- }
-
- getTelegrafOnMetadata(target: Type | Function): OnOptions | undefined {
- return this.reflector.get(DECORATORS.ON, target);
- }
-
- isTelegrafHears(target: Type | Function): boolean {
- if (!target) {
- return false;
- }
- return !!this.reflector.get(DECORATORS.HEARS, target);
- }
-
- getTelegrafHearsMetadata(
- target: Type | Function,
- ): HearsOptions | undefined {
- return this.reflector.get(DECORATORS.HEARS, target);
- }
-
- isTelegrafCommand(target: Type | Function): boolean {
- if (!target) {
- return false;
- }
- return !!this.reflector.get(DECORATORS.COMMAND, target);
- }
-
- getTelegrafCommandMetadata(
- target: Type | Function,
- ): CommandOptions | undefined {
- return this.reflector.get(DECORATORS.COMMAND, target);
- }
-
- isTelegrafStart(target: Type | Function): boolean {
- if (!target) {
- return false;
- }
- return !!this.reflector.get(DECORATORS.START, target);
- }
-
- isTelegrafHelp(target: Type | Function): boolean {
- if (!target) {
- return false;
- }
- return !!this.reflector.get(DECORATORS.HELP, target);
- }
-
- isTelegrafSettings(target: Type | Function): boolean {
- if (!target) {
- return false;
- }
- return !!this.reflector.get(DECORATORS.SETTINGS, target);
- }
-
- isTelegrafEntity(target: Type | Function): boolean {
- if (!target) {
- return false;
- }
- return !!this.reflector.get(DECORATORS.ENTITY, target);
- }
-
- getTelegrafEntityMetadata(
- target: Type | Function,
- ): EntityOptions | undefined {
- return this.reflector.get(DECORATORS.ENTITY, target);
- }
-
- isTelegrafMention(target: Type | Function): boolean {
- if (!target) {
- return false;
- }
- return !!this.reflector.get(DECORATORS.MENTION, target);
- }
-
- getTelegrafMentionMetadata(
- target: Type | Function,
- ): MentionOptions | undefined {
- return this.reflector.get(DECORATORS.MENTION, target);
- }
-
- isTelegrafPhone(target: Type | Function): boolean {
- if (!target) {
- return false;
- }
- return !!this.reflector.get(DECORATORS.PHONE, target);
- }
-
- getTelegrafPhoneMetadata(
- target: Type | Function,
- ): PhoneOptions | undefined {
- return this.reflector.get(DECORATORS.PHONE, target);
- }
-
- isTelegrafHashtag(target: Type | Function): boolean {
- if (!target) {
- return false;
- }
- return !!this.reflector.get(DECORATORS.HASHTAG, target);
- }
-
- getTelegrafHashtagMetadata(
- target: Type | Function,
- ): HashtagOptions | undefined {
- return this.reflector.get(DECORATORS.HASHTAG, target);
- }
-
- isTelegrafCashtag(target: Type | Function): boolean {
- if (!target) {
- return false;
- }
- return !!this.reflector.get(DECORATORS.CASHTAG, target);
- }
-
- getTelegrafCashtagMetadata(
- target: Type | Function,
- ): CashtagOptions | undefined {
- return this.reflector.get(DECORATORS.CASHTAG, target);
- }
-
- isTelegrafAction(target: Type | Function): boolean {
- if (!target) {
- return false;
- }
- return !!this.reflector.get(DECORATORS.ACTION, target);
- }
-
- getTelegrafActionMetadata(
- target: Type | Function,
- ): ActionOptions | undefined {
- return this.reflector.get(DECORATORS.ACTION, target);
- }
-
- isTelegrafInlineQuery(target: Type | Function): boolean {
- if (!target) {
- return false;
- }
- return !!this.reflector.get(DECORATORS.INLINE_QUERY, target);
- }
-
- getTelegrafInlineQueryMetadata(
- target: Type | Function,
- ): InlineQueryOptions | undefined {
- return this.reflector.get(DECORATORS.INLINE_QUERY, target);
- }
-
- isTelegrafGameQuery(target: Type | Function): boolean {
- if (!target) {
- return false;
- }
- return !!this.reflector.get(DECORATORS.GAME_QUERY, target);
+ getListenerOptions(target: Function): unknown | undefined {
+ return this.reflector.get(TELEGRAF_MODULE_OPTIONS, target);
}
}
diff --git a/lib/telegraf.explorer.ts b/lib/telegraf.explorer.ts
index 42aa3c5..da3a6b6 100644
--- a/lib/telegraf.explorer.ts
+++ b/lib/telegraf.explorer.ts
@@ -1,22 +1,24 @@
import { Injectable, OnModuleInit } from '@nestjs/common';
import { DiscoveryService, ModuleRef } from '@nestjs/core';
-import { InstanceWrapper } from '@nestjs/core/injector/instance-wrapper';
import { MetadataScanner } from '@nestjs/core/metadata-scanner';
import { TelegrafMetadataAccessor } from './telegraf-metadata.accessor';
import { TelegrafProvider } from './telegraf.provider';
import { TELEGRAF_PROVIDER } from './telegraf.constants';
+import { ListenerType } from './enums/listener-type.enum';
import {
ActionOptions,
CashtagOptions,
CommandOptions,
- EntityOptions,
+ EmailOptions,
HashtagOptions,
HearsOptions,
InlineQueryOptions,
MentionOptions,
OnOptions,
PhoneOptions,
- UpdateHookOptions,
+ TextLinkOptions,
+ TextMentionOptions,
+ UrlOptions,
} from './decorators';
@Injectable()
@@ -30,209 +32,129 @@ export class TelegrafExplorer implements OnModuleInit {
private telegraf: TelegrafProvider;
- onModuleInit() {
+ onModuleInit(): void {
this.telegraf = this.moduleRef.get(TELEGRAF_PROVIDER, {
strict: false,
});
this.explore();
}
- explore() {
- /**
- * Update providers section is only for decorators under Update decorator
- */
- const updateProviders: InstanceWrapper[] = this.discoveryService
+ explore(): void {
+ this.discoveryService
.getProviders()
- .filter((wrapper: InstanceWrapper) =>
- this.metadataAccessor.isUpdate(wrapper.metatype),
- );
+ .filter((wrapper) => wrapper.instance)
+ .forEach((wrapper) => {
+ const { instance } = wrapper;
- updateProviders.forEach((wrapper: InstanceWrapper) => {
- const { instance } = wrapper;
+ const prototype = Object.getPrototypeOf(instance);
+ this.metadataScanner.scanFromPrototype(
+ instance,
+ prototype,
+ (methodKey: string) => {
+ this.registerIfListener(instance, methodKey);
+ },
+ );
+ });
+ }
- this.metadataScanner.scanFromPrototype(
- instance,
- Object.getPrototypeOf(instance),
- (key: string) => {
- if (this.metadataAccessor.isUpdateHook(instance[key])) {
- const metadata = this.metadataAccessor.getUpdateHookMetadata(
- instance[key],
- );
- this.handleUpdateHook(instance, key, metadata);
- }
- },
- );
- });
+ private registerIfListener(
+ instance: Record,
+ methodKey: string,
+ ): void {
+ const methodRef = instance[methodKey];
+ const middlewareFn = methodRef.bind(instance);
- const providers: InstanceWrapper[] = this.discoveryService.getProviders();
+ const listenerType = this.metadataAccessor.getListenerType(methodRef);
+ if (!listenerType) return;
- providers.forEach((wrapper: InstanceWrapper) => {
- const { instance } = wrapper;
+ const listenerOptions = this.metadataAccessor.getListenerOptions(methodRef);
- if (!instance) {
- return;
+ switch (listenerType) {
+ case ListenerType.On: {
+ const { updateTypes } = listenerOptions as OnOptions;
+ this.telegraf.on(updateTypes, middlewareFn);
+ break;
+ }
+ case ListenerType.Use: {
+ this.telegraf.use(middlewareFn);
+ break;
+ }
+ case ListenerType.Start: {
+ this.telegraf.start(middlewareFn);
+ break;
+ }
+ case ListenerType.Help: {
+ this.telegraf.help(middlewareFn);
+ break;
+ }
+ case ListenerType.Settings: {
+ this.telegraf.settings(middlewareFn);
+ break;
+ }
+ case ListenerType.Hears: {
+ const { triggers } = listenerOptions as HearsOptions;
+ this.telegraf.hears(triggers, middlewareFn);
+ break;
+ }
+ case ListenerType.Command: {
+ const { command } = listenerOptions as CommandOptions;
+ this.telegraf.command(command, middlewareFn);
+ break;
+ }
+ case ListenerType.Action: {
+ const { triggers } = listenerOptions as ActionOptions;
+ this.telegraf.action(triggers, middlewareFn);
+ break;
+ }
+ case ListenerType.Mention: {
+ const { mention } = listenerOptions as MentionOptions;
+ this.telegraf.mention(mention, middlewareFn);
+ break;
+ }
+ case ListenerType.Phone: {
+ const { phone } = listenerOptions as PhoneOptions;
+ this.telegraf.phone(phone, middlewareFn);
+ break;
+ }
+ case ListenerType.Hashtag: {
+ const { hashtag } = listenerOptions as HashtagOptions;
+ this.telegraf.hashtag(hashtag, middlewareFn);
+ break;
+ }
+ case ListenerType.Cashtag: {
+ const { cashtag } = listenerOptions as CashtagOptions;
+ this.telegraf.cashtag(cashtag, middlewareFn);
+ break;
+ }
+ case ListenerType.Email: {
+ const { email } = listenerOptions as EmailOptions;
+ this.telegraf.email(email, middlewareFn);
+ break;
+ }
+ case ListenerType.Url: {
+ const { url } = listenerOptions as UrlOptions;
+ this.telegraf.url(url, middlewareFn);
+ break;
+ }
+ case ListenerType.TextLink: {
+ const { link } = listenerOptions as TextLinkOptions;
+ this.telegraf.textLink(link, middlewareFn);
+ break;
+ }
+ case ListenerType.TextMention: {
+ const { mention } = listenerOptions as TextMentionOptions;
+ this.telegraf.textMention(mention, middlewareFn);
+ break;
+ }
+ case ListenerType.InlineQuery: {
+ const { triggers } = listenerOptions as InlineQueryOptions;
+ this.telegraf.inlineQuery(triggers, middlewareFn);
+ break;
+ }
+ case ListenerType.GameQuery: {
+ this.telegraf.gameQuery(middlewareFn);
+ break;
}
-
- this.metadataScanner.scanFromPrototype(
- instance,
- Object.getPrototypeOf(instance),
- (key: string) => {
- if (this.metadataAccessor.isTelegrafUse(instance[key])) {
- this.handleTelegrafUse(instance, key);
- } else if (this.metadataAccessor.isTelegrafOn(instance[key])) {
- const metadata = this.metadataAccessor.getTelegrafOnMetadata(
- instance[key],
- );
- this.handleTelegrafOn(instance, key, metadata);
- } else if (this.metadataAccessor.isTelegrafHears(instance[key])) {
- const metadata = this.metadataAccessor.getTelegrafHearsMetadata(
- instance[key],
- );
- this.handleTelegrafHears(instance, key, metadata);
- } else if (this.metadataAccessor.isTelegrafCommand(instance[key])) {
- const metadata = this.metadataAccessor.getTelegrafCommandMetadata(
- instance[key],
- );
- this.handleTelegrafCommand(instance, key, metadata);
- } else if (this.metadataAccessor.isTelegrafStart(instance[key])) {
- this.handleTelegrafStart(instance, key);
- } else if (this.metadataAccessor.isTelegrafHelp(instance[key])) {
- this.handleTelegrafHelp(instance, key);
- } else if (this.metadataAccessor.isTelegrafSettings(instance[key])) {
- this.handleTelegrafSettings(instance, key);
- } else if (this.metadataAccessor.isTelegrafEntity(instance[key])) {
- const metadata = this.metadataAccessor.getTelegrafEntityMetadata(
- instance[key],
- );
- this.handleTelegrafEntity(instance, key, metadata);
- } else if (this.metadataAccessor.isTelegrafMention(instance[key])) {
- const metadata = this.metadataAccessor.getTelegrafMentionMetadata(
- instance[key],
- );
- this.handleTelegrafMention(instance, key, metadata);
- } else if (this.metadataAccessor.isTelegrafPhone(instance[key])) {
- const metadata = this.metadataAccessor.getTelegrafPhoneMetadata(
- instance[key],
- );
- this.handleTelegrafPhone(instance, key, metadata);
- } else if (this.metadataAccessor.isTelegrafHashtag(instance[key])) {
- const metadata = this.metadataAccessor.getTelegrafHashtagMetadata(
- instance[key],
- );
- this.handleTelegrafHashtag(instance, key, metadata);
- } else if (this.metadataAccessor.isTelegrafCashtag(instance[key])) {
- const metadata = this.metadataAccessor.getTelegrafCashtagMetadata(
- instance[key],
- );
- this.handleTelegrafCashtag(instance, key, metadata);
- } else if (this.metadataAccessor.isTelegrafAction(instance[key])) {
- const metadata = this.metadataAccessor.getTelegrafActionMetadata(
- instance[key],
- );
- this.handleTelegrafAction(instance, key, metadata);
- } else if (
- this.metadataAccessor.isTelegrafInlineQuery(instance[key])
- ) {
- const metadata = this.metadataAccessor.getTelegrafInlineQueryMetadata(
- instance[key],
- );
- this.handleTelegrafInlineQuery(instance, key, metadata);
- } else if (this.metadataAccessor.isTelegrafGameQuery(instance[key])) {
- this.handleTelegrafGameQuery(instance, key);
- }
- },
- );
- });
- }
-
- handleUpdateHook(instance: object, key: string, metadata: UpdateHookOptions) {
- this.telegraf.on(metadata.updateType, instance[key].bind(instance));
- }
-
- handleTelegrafUse(instance: object, key: string) {
- this.telegraf.use(instance[key].bind(instance));
- }
-
- handleTelegrafOn(instance: object, key: string, metadata: OnOptions) {
- this.telegraf.on(metadata.updateTypes, instance[key].bind(instance));
- }
-
- handleTelegrafHears(instance: object, key: string, metadata: HearsOptions) {
- this.telegraf.hears(metadata.triggers, instance[key].bind(instance));
- }
-
- handleTelegrafCommand(
- instance: object,
- key: string,
- metadata: CommandOptions,
- ) {
- this.telegraf.command(metadata.commands, instance[key].bind(instance));
- }
-
- handleTelegrafStart(instance: object, key: string) {
- this.telegraf.start(instance[key].bind(instance));
- }
-
- handleTelegrafHelp(instance: object, key: string) {
- this.telegraf.help(instance[key].bind(instance));
- }
-
- handleTelegrafSettings(instance: object, key: string) {
- this.telegraf.settings(instance[key].bind(instance));
- }
-
- handleTelegrafEntity(instance: object, key: string, metadata: EntityOptions) {
- this.telegraf.entity(metadata.entity, instance[key].bind(instance));
- }
-
- handleTelegrafMention(
- instance: object,
- key: string,
- metadata: MentionOptions,
- ) {
- this.telegraf.mention(metadata.username, instance[key].bind(instance));
- }
-
- handleTelegrafPhone(instance: object, key: string, metadata: PhoneOptions) {
- this.telegraf.phone(metadata.phone, instance[key].bind(instance));
- }
-
- handleTelegrafHashtag(
- instance: object,
- key: string,
- metadata: HashtagOptions,
- ) {
- this.telegraf.hashtag(metadata.hashtag, instance[key].bind(instance));
- }
-
- handleTelegrafCashtag(
- instance: object,
- key: string,
- metadata: CashtagOptions,
- ) {
- this.telegraf.cashtag(metadata.cashtag, instance[key].bind(instance));
- }
-
- handleTelegrafAction(instance: object, key: string, metadata: ActionOptions) {
- this.telegraf.action(metadata.triggers, instance[key].bind(instance));
- }
-
- handleTelegrafInlineQuery(
- instance: object,
- key: string,
- metadata: InlineQueryOptions,
- ) {
- if (metadata.triggers) {
- this.telegraf.inlineQuery(
- metadata.triggers,
- instance[key].bind(instance),
- );
- } else {
- this.telegraf.on(metadata.updateType, instance[key].bind(instance));
}
}
-
- handleTelegrafGameQuery(instance: object, key: string) {
- this.telegraf.gameQuery(instance[key].bind(instance));
- }
}
diff --git a/lib/telegraf.types.ts b/lib/telegraf.types.ts
index f46c261..e2b5e52 100644
--- a/lib/telegraf.types.ts
+++ b/lib/telegraf.types.ts
@@ -1,13 +1,22 @@
-import { Context, Composer } from 'telegraf';
+import { Composer, Telegraf } from 'telegraf';
+import { Context } from './interfaces';
export type TelegrafActionTriggers = Parameters['action']>[0];
export type TelegrafHearsTriggers = Parameters['hears']>[0];
export type TelegrafInlineQueryTriggers = Parameters<
Composer['inlineQuery']
>[0];
+export type TelegrafEmail = Parameters['email']>[0];
+export type TelegrafUrl = Parameters['url']>[0];
+export type TelegrafTextLink = Parameters['textLink']>[0];
+export type TelegrafTextMention = Parameters<
+ Composer['textMention']
+>[0];
export type TelegrafCashtag = Parameters['cashtag']>[0];
export type TelegrafHashtag = Parameters['hashtag']>[0];
export type TelegrafCommand = Parameters['command']>[0];
export type TelegrafMention = Parameters['mention']>[0];
export type TelegrafPhone = Parameters['phone']>[0];
export type TelegrafUpdateType = Parameters['on']>[0];
+export type TelegrafOption = ConstructorParameters[1];
+export type TelegrafLaunchOption = Parameters[0];
From c85460dc10191ccbfe230c915af89a4b25ff49b2 Mon Sep 17 00:00:00 2001
From: unknown
Date: Fri, 25 Dec 2020 23:57:17 +0300
Subject: [PATCH 060/101] feat(wip): upgrade types
---
lib/telegraf.types.ts | 38 +++++++++++++++++++++-----------------
1 file changed, 21 insertions(+), 17 deletions(-)
diff --git a/lib/telegraf.types.ts b/lib/telegraf.types.ts
index e2b5e52..9b50ff3 100644
--- a/lib/telegraf.types.ts
+++ b/lib/telegraf.types.ts
@@ -1,22 +1,26 @@
+import { Type } from '@nestjs/common/interfaces/type.interface';
import { Composer, Telegraf } from 'telegraf';
import { Context } from './interfaces';
-export type TelegrafActionTriggers = Parameters['action']>[0];
-export type TelegrafHearsTriggers = Parameters['hears']>[0];
-export type TelegrafInlineQueryTriggers = Parameters<
- Composer['inlineQuery']
+type CtxComposer = Composer;
+
+type ComposerMethodFirstArg = Parameters<
+ CtxComposer[T]
>[0];
-export type TelegrafEmail = Parameters['email']>[0];
-export type TelegrafUrl = Parameters['url']>[0];
-export type TelegrafTextLink = Parameters['textLink']>[0];
-export type TelegrafTextMention = Parameters<
- Composer['textMention']
->[0];
-export type TelegrafCashtag = Parameters['cashtag']>[0];
-export type TelegrafHashtag = Parameters['hashtag']>[0];
-export type TelegrafCommand = Parameters['command']>[0];
-export type TelegrafMention = Parameters['mention']>[0];
-export type TelegrafPhone = Parameters['phone']>[0];
-export type TelegrafUpdateType = Parameters['on']>[0];
-export type TelegrafOption = ConstructorParameters[1];
+
+export type TelegrafActionTriggers = ComposerMethodFirstArg<'action'>;
+export type TelegrafHearsTriggers = ComposerMethodFirstArg<'hears'>;
+export type TelegrafInlineQueryTriggers = ComposerMethodFirstArg<'inlineQuery'>;
+export type TelegrafEmail = ComposerMethodFirstArg<'email'>;
+export type TelegrafUrl = ComposerMethodFirstArg<'url'>;
+export type TelegrafTextLink = ComposerMethodFirstArg<'textLink'>;
+export type TelegrafTextMention = ComposerMethodFirstArg<'textMention'>;
+export type TelegrafCashtag = ComposerMethodFirstArg<'cashtag'>;
+export type TelegrafHashtag = ComposerMethodFirstArg<'hashtag'>;
+export type TelegrafCommand = ComposerMethodFirstArg<'command'>;
+export type TelegrafMention = ComposerMethodFirstArg<'mention'>;
+export type TelegrafPhone = ComposerMethodFirstArg<'phone'>;
+export type TelegrafUpdateType = ComposerMethodFirstArg<'on'>;
+
+export type TelegrafOption = ConstructorParameters>>[1];
export type TelegrafLaunchOption = Parameters[0];
From 80853be80c8cc18cbe23b19f550e8104839a9762 Mon Sep 17 00:00:00 2001
From: unknown
Date: Sat, 26 Dec 2020 14:54:10 +0300
Subject: [PATCH 061/101] refactor(wip): remove core module & change tokens
---
lib/decorators/core/on.decorator.ts | 8 +-
lib/decorators/core/update.decorator.ts | 5 +-
lib/decorators/core/use.decorator.ts | 4 +-
lib/decorators/inject-bot.decorator.ts | 4 +-
lib/decorators/listeners/action.decorator.ts | 8 +-
lib/decorators/listeners/cashtag.decorator.ts | 8 +-
lib/decorators/listeners/command.decorator.ts | 8 +-
lib/decorators/listeners/email.decorator.ts | 8 +-
.../listeners/game-query.decorator.ts | 4 +-
lib/decorators/listeners/hashtag.decorator.ts | 8 +-
lib/decorators/listeners/hears.decorator.ts | 8 +-
lib/decorators/listeners/help.decorator.ts | 4 +-
.../listeners/inline-query.decorator.ts | 8 +-
lib/decorators/listeners/mention.decorator.ts | 8 +-
lib/decorators/listeners/phone.decorator.ts | 8 +-
.../listeners/settings.decorator.ts | 4 +-
lib/decorators/listeners/start.decorator.ts | 4 +-
.../listeners/text-link.decorator.ts | 8 +-
.../listeners/text-mention.decorator.ts | 8 +-
lib/decorators/listeners/url.decorator.ts | 8 +-
lib/index.ts | 8 --
lib/telegraf-core.module.ts | 91 -------------------
lib/telegraf-metadata.accessor.ts | 14 ++-
lib/telegraf.constants.ts | 7 +-
lib/telegraf.explorer.ts | 16 ++--
lib/telegraf.module.ts | 71 +++++++++++++--
26 files changed, 155 insertions(+), 185 deletions(-)
delete mode 100644 lib/telegraf-core.module.ts
diff --git a/lib/decorators/core/on.decorator.ts b/lib/decorators/core/on.decorator.ts
index 37b25a4..3bef944 100644
--- a/lib/decorators/core/on.decorator.ts
+++ b/lib/decorators/core/on.decorator.ts
@@ -1,7 +1,7 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
- TELEGRAF_LISTENER_OPTIONS,
- TELEGRAF_LISTENER_TYPE,
+ LISTENER_OPTIONS_METADATA,
+ LISTENER_TYPE_METADATA,
} from '../../telegraf.constants';
import { ListenerType } from '../../enums/listener-type.enum';
import { TelegrafUpdateType } from '../../telegraf.types';
@@ -17,8 +17,8 @@ export interface OnOptions {
*/
export const On = (updateTypes: TelegrafUpdateType): MethodDecorator => {
return applyDecorators(
- SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.On),
- SetMetadata(TELEGRAF_LISTENER_OPTIONS, {
+ SetMetadata(LISTENER_TYPE_METADATA, ListenerType.On),
+ SetMetadata(LISTENER_OPTIONS_METADATA, {
updateTypes,
} as OnOptions),
);
diff --git a/lib/decorators/core/update.decorator.ts b/lib/decorators/core/update.decorator.ts
index a2ea7f2..fde0d76 100644
--- a/lib/decorators/core/update.decorator.ts
+++ b/lib/decorators/core/update.decorator.ts
@@ -1,8 +1,9 @@
import { SetMetadata } from '@nestjs/common';
-import { TELEGRAF_UPDATE } from '../../telegraf.constants';
+import { TELEGRAF_UPDATE_METADATA } from '../../telegraf.constants';
/**
* `@Update` decorator, it's like NestJS `@Controller` decorator,
* but for Telegram Bot API updates.
*/
-export const Update = (): ClassDecorator => SetMetadata(TELEGRAF_UPDATE, true);
+export const Update = (): ClassDecorator =>
+ SetMetadata(TELEGRAF_UPDATE_METADATA, true);
diff --git a/lib/decorators/core/use.decorator.ts b/lib/decorators/core/use.decorator.ts
index c2e911e..72fc62e 100644
--- a/lib/decorators/core/use.decorator.ts
+++ b/lib/decorators/core/use.decorator.ts
@@ -1,5 +1,5 @@
import { SetMetadata } from '@nestjs/common';
-import { TELEGRAF_LISTENER_TYPE } from '../../telegraf.constants';
+import { LISTENER_TYPE_METADATA } from '../../telegraf.constants';
import { ListenerType } from '../../enums/listener-type.enum';
/**
@@ -8,5 +8,5 @@ import { ListenerType } from '../../enums/listener-type.enum';
* @see https://telegraf.js.org/#/?id=use
*/
export const Use = (): MethodDecorator => {
- return SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.Use);
+ return SetMetadata(LISTENER_TYPE_METADATA, ListenerType.Use);
};
diff --git a/lib/decorators/inject-bot.decorator.ts b/lib/decorators/inject-bot.decorator.ts
index 84f1c50..76ef284 100644
--- a/lib/decorators/inject-bot.decorator.ts
+++ b/lib/decorators/inject-bot.decorator.ts
@@ -1,4 +1,4 @@
import { Inject } from '@nestjs/common';
-import { TELEGRAF_PROVIDER } from '../telegraf.constants';
+import { TelegrafProvider } from '../telegraf.provider';
-export const InjectBot = (): ParameterDecorator => Inject(TELEGRAF_PROVIDER);
+export const InjectBot = (): ParameterDecorator => Inject(TelegrafProvider);
diff --git a/lib/decorators/listeners/action.decorator.ts b/lib/decorators/listeners/action.decorator.ts
index 1933405..502b1b0 100644
--- a/lib/decorators/listeners/action.decorator.ts
+++ b/lib/decorators/listeners/action.decorator.ts
@@ -1,7 +1,7 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
- TELEGRAF_LISTENER_OPTIONS,
- TELEGRAF_LISTENER_TYPE,
+ LISTENER_OPTIONS_METADATA,
+ LISTENER_TYPE_METADATA,
} from '../../telegraf.constants';
import { TelegrafActionTriggers } from '../../telegraf.types';
import { ListenerType } from '../../enums/listener-type.enum';
@@ -17,8 +17,8 @@ export interface ActionOptions {
*/
export const Action = (triggers: TelegrafActionTriggers): MethodDecorator => {
return applyDecorators(
- SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.Action),
- SetMetadata(TELEGRAF_LISTENER_OPTIONS, {
+ SetMetadata(LISTENER_TYPE_METADATA, ListenerType.Action),
+ SetMetadata(LISTENER_OPTIONS_METADATA, {
triggers,
} as ActionOptions),
);
diff --git a/lib/decorators/listeners/cashtag.decorator.ts b/lib/decorators/listeners/cashtag.decorator.ts
index 692bdf0..d9784cf 100644
--- a/lib/decorators/listeners/cashtag.decorator.ts
+++ b/lib/decorators/listeners/cashtag.decorator.ts
@@ -1,7 +1,7 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
- TELEGRAF_LISTENER_OPTIONS,
- TELEGRAF_LISTENER_TYPE,
+ LISTENER_OPTIONS_METADATA,
+ LISTENER_TYPE_METADATA,
} from '../../telegraf.constants';
import { TelegrafCashtag } from '../../telegraf.types';
import { ListenerType } from '../../enums/listener-type.enum';
@@ -17,8 +17,8 @@ export interface CashtagOptions {
*/
export const Cashtag = (cashtag: TelegrafCashtag): MethodDecorator => {
return applyDecorators(
- SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.Cashtag),
- SetMetadata(TELEGRAF_LISTENER_OPTIONS, {
+ SetMetadata(LISTENER_TYPE_METADATA, ListenerType.Cashtag),
+ SetMetadata(LISTENER_OPTIONS_METADATA, {
cashtag,
} as CashtagOptions),
);
diff --git a/lib/decorators/listeners/command.decorator.ts b/lib/decorators/listeners/command.decorator.ts
index 683b405..eb4b01e 100644
--- a/lib/decorators/listeners/command.decorator.ts
+++ b/lib/decorators/listeners/command.decorator.ts
@@ -1,7 +1,7 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
- TELEGRAF_LISTENER_OPTIONS,
- TELEGRAF_LISTENER_TYPE,
+ LISTENER_OPTIONS_METADATA,
+ LISTENER_TYPE_METADATA,
} from '../../telegraf.constants';
import { ListenerType } from '../../enums/listener-type.enum';
import { TelegrafCommand } from '../../telegraf.types';
@@ -17,8 +17,8 @@ export interface CommandOptions {
*/
export const Command = (command: TelegrafCommand): MethodDecorator => {
return applyDecorators(
- SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.Command),
- SetMetadata(TELEGRAF_LISTENER_OPTIONS, {
+ SetMetadata(LISTENER_TYPE_METADATA, ListenerType.Command),
+ SetMetadata(LISTENER_OPTIONS_METADATA, {
command: command,
} as CommandOptions),
);
diff --git a/lib/decorators/listeners/email.decorator.ts b/lib/decorators/listeners/email.decorator.ts
index a0b0b91..9f890fe 100644
--- a/lib/decorators/listeners/email.decorator.ts
+++ b/lib/decorators/listeners/email.decorator.ts
@@ -1,7 +1,7 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
- TELEGRAF_LISTENER_OPTIONS,
- TELEGRAF_LISTENER_TYPE,
+ LISTENER_OPTIONS_METADATA,
+ LISTENER_TYPE_METADATA,
} from '../../telegraf.constants';
import { ListenerType } from '../../enums/listener-type.enum';
import { TelegrafEmail } from '../../telegraf.types';
@@ -17,8 +17,8 @@ export interface EmailOptions {
*/
export const Email = (email: TelegrafEmail): MethodDecorator => {
return applyDecorators(
- SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.Email),
- SetMetadata(TELEGRAF_LISTENER_OPTIONS, {
+ SetMetadata(LISTENER_TYPE_METADATA, ListenerType.Email),
+ SetMetadata(LISTENER_OPTIONS_METADATA, {
email,
} as EmailOptions),
);
diff --git a/lib/decorators/listeners/game-query.decorator.ts b/lib/decorators/listeners/game-query.decorator.ts
index 9bb173d..25e0410 100644
--- a/lib/decorators/listeners/game-query.decorator.ts
+++ b/lib/decorators/listeners/game-query.decorator.ts
@@ -1,5 +1,5 @@
import { SetMetadata } from '@nestjs/common';
-import { TELEGRAF_LISTENER_TYPE } from '../../telegraf.constants';
+import { LISTENER_TYPE_METADATA } from '../../telegraf.constants';
import { ListenerType } from '../../enums/listener-type.enum';
/**
@@ -8,5 +8,5 @@ import { ListenerType } from '../../enums/listener-type.enum';
* @see https://telegraf.js.org/#/?id=inlinequery
*/
export const GameQuery = (): MethodDecorator => {
- return SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.GameQuery);
+ return SetMetadata(LISTENER_TYPE_METADATA, ListenerType.GameQuery);
};
diff --git a/lib/decorators/listeners/hashtag.decorator.ts b/lib/decorators/listeners/hashtag.decorator.ts
index 5447cfa..4c86618 100644
--- a/lib/decorators/listeners/hashtag.decorator.ts
+++ b/lib/decorators/listeners/hashtag.decorator.ts
@@ -1,7 +1,7 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
- TELEGRAF_LISTENER_OPTIONS,
- TELEGRAF_LISTENER_TYPE,
+ LISTENER_OPTIONS_METADATA,
+ LISTENER_TYPE_METADATA,
} from '../../telegraf.constants';
import { ListenerType } from '../../enums/listener-type.enum';
import { TelegrafHashtag } from '../../telegraf.types';
@@ -17,8 +17,8 @@ export interface HashtagOptions {
*/
export const Hashtag = (hashtag: TelegrafHashtag): MethodDecorator => {
return applyDecorators(
- SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.Hashtag),
- SetMetadata(TELEGRAF_LISTENER_OPTIONS, {
+ SetMetadata(LISTENER_TYPE_METADATA, ListenerType.Hashtag),
+ SetMetadata(LISTENER_OPTIONS_METADATA, {
hashtag,
} as HashtagOptions),
);
diff --git a/lib/decorators/listeners/hears.decorator.ts b/lib/decorators/listeners/hears.decorator.ts
index f3c6986..cef3453 100644
--- a/lib/decorators/listeners/hears.decorator.ts
+++ b/lib/decorators/listeners/hears.decorator.ts
@@ -1,7 +1,7 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
- TELEGRAF_LISTENER_OPTIONS,
- TELEGRAF_LISTENER_TYPE,
+ LISTENER_OPTIONS_METADATA,
+ LISTENER_TYPE_METADATA,
} from '../../telegraf.constants';
import { ListenerType } from '../../enums/listener-type.enum';
import { TelegrafHearsTriggers } from '../../telegraf.types';
@@ -17,8 +17,8 @@ export interface HearsOptions {
*/
export const Hears = (triggers: TelegrafHearsTriggers): MethodDecorator => {
return applyDecorators(
- SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.Hears),
- SetMetadata(TELEGRAF_LISTENER_OPTIONS, {
+ SetMetadata(LISTENER_TYPE_METADATA, ListenerType.Hears),
+ SetMetadata(LISTENER_OPTIONS_METADATA, {
triggers,
} as HearsOptions),
);
diff --git a/lib/decorators/listeners/help.decorator.ts b/lib/decorators/listeners/help.decorator.ts
index ea16432..2fec408 100644
--- a/lib/decorators/listeners/help.decorator.ts
+++ b/lib/decorators/listeners/help.decorator.ts
@@ -1,5 +1,5 @@
import { SetMetadata } from '@nestjs/common';
-import { TELEGRAF_LISTENER_TYPE } from '../../telegraf.constants';
+import { LISTENER_TYPE_METADATA } from '../../telegraf.constants';
import { ListenerType } from '../../enums/listener-type.enum';
/**
@@ -8,5 +8,5 @@ import { ListenerType } from '../../enums/listener-type.enum';
* @see https://telegraf.js.org/#/?id=help
*/
export const Help = (): MethodDecorator => {
- return SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.Help);
+ return SetMetadata(LISTENER_TYPE_METADATA, ListenerType.Help);
};
diff --git a/lib/decorators/listeners/inline-query.decorator.ts b/lib/decorators/listeners/inline-query.decorator.ts
index 2299f6b..70da417 100644
--- a/lib/decorators/listeners/inline-query.decorator.ts
+++ b/lib/decorators/listeners/inline-query.decorator.ts
@@ -1,7 +1,7 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
- TELEGRAF_LISTENER_OPTIONS,
- TELEGRAF_LISTENER_TYPE,
+ LISTENER_OPTIONS_METADATA,
+ LISTENER_TYPE_METADATA,
} from '../../telegraf.constants';
import { ListenerType } from '../../enums/listener-type.enum';
import { TelegrafInlineQueryTriggers } from '../../telegraf.types';
@@ -19,8 +19,8 @@ export const InlineQuery = (
triggers: TelegrafInlineQueryTriggers,
): MethodDecorator => {
return applyDecorators(
- SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.InlineQuery),
- SetMetadata(TELEGRAF_LISTENER_OPTIONS, {
+ SetMetadata(LISTENER_TYPE_METADATA, ListenerType.InlineQuery),
+ SetMetadata(LISTENER_OPTIONS_METADATA, {
triggers,
} as InlineQueryOptions),
);
diff --git a/lib/decorators/listeners/mention.decorator.ts b/lib/decorators/listeners/mention.decorator.ts
index d9de1d7..a703a23 100644
--- a/lib/decorators/listeners/mention.decorator.ts
+++ b/lib/decorators/listeners/mention.decorator.ts
@@ -1,7 +1,7 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
- TELEGRAF_LISTENER_OPTIONS,
- TELEGRAF_LISTENER_TYPE,
+ LISTENER_OPTIONS_METADATA,
+ LISTENER_TYPE_METADATA,
} from '../../telegraf.constants';
import { ListenerType } from '../../enums/listener-type.enum';
import { TelegrafMention } from '../../telegraf.types';
@@ -17,8 +17,8 @@ export interface MentionOptions {
*/
export const Mention = (mention: TelegrafMention): MethodDecorator => {
return applyDecorators(
- SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.Mention),
- SetMetadata(TELEGRAF_LISTENER_OPTIONS, {
+ SetMetadata(LISTENER_TYPE_METADATA, ListenerType.Mention),
+ SetMetadata(LISTENER_OPTIONS_METADATA, {
mention,
} as MentionOptions),
);
diff --git a/lib/decorators/listeners/phone.decorator.ts b/lib/decorators/listeners/phone.decorator.ts
index d5f956b..b0b794b 100644
--- a/lib/decorators/listeners/phone.decorator.ts
+++ b/lib/decorators/listeners/phone.decorator.ts
@@ -1,7 +1,7 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
- TELEGRAF_LISTENER_OPTIONS,
- TELEGRAF_LISTENER_TYPE,
+ LISTENER_OPTIONS_METADATA,
+ LISTENER_TYPE_METADATA,
} from '../../telegraf.constants';
import { ListenerType } from '../../enums/listener-type.enum';
import { TelegrafPhone } from '../../telegraf.types';
@@ -17,8 +17,8 @@ export interface PhoneOptions {
*/
export const Phone = (phone: TelegrafPhone): MethodDecorator => {
return applyDecorators(
- SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.Phone),
- SetMetadata(TELEGRAF_LISTENER_OPTIONS, {
+ SetMetadata(LISTENER_TYPE_METADATA, ListenerType.Phone),
+ SetMetadata(LISTENER_OPTIONS_METADATA, {
phone,
} as PhoneOptions),
);
diff --git a/lib/decorators/listeners/settings.decorator.ts b/lib/decorators/listeners/settings.decorator.ts
index 2087c93..6bbb86b 100644
--- a/lib/decorators/listeners/settings.decorator.ts
+++ b/lib/decorators/listeners/settings.decorator.ts
@@ -1,5 +1,5 @@
import { SetMetadata } from '@nestjs/common';
-import { TELEGRAF_LISTENER_TYPE } from '../../telegraf.constants';
+import { LISTENER_TYPE_METADATA } from '../../telegraf.constants';
import { ListenerType } from '../../enums/listener-type.enum';
/**
@@ -8,5 +8,5 @@ import { ListenerType } from '../../enums/listener-type.enum';
* @see https://telegraf.js.org/#/?id=settings
*/
export const Settings = (): MethodDecorator => {
- return SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.Settings);
+ return SetMetadata(LISTENER_TYPE_METADATA, ListenerType.Settings);
};
diff --git a/lib/decorators/listeners/start.decorator.ts b/lib/decorators/listeners/start.decorator.ts
index 9031bda..b6d3025 100644
--- a/lib/decorators/listeners/start.decorator.ts
+++ b/lib/decorators/listeners/start.decorator.ts
@@ -1,5 +1,5 @@
import { SetMetadata } from '@nestjs/common';
-import { TELEGRAF_LISTENER_TYPE } from '../../telegraf.constants';
+import { LISTENER_TYPE_METADATA } from '../../telegraf.constants';
import { ListenerType } from '../../enums/listener-type.enum';
/**
@@ -8,5 +8,5 @@ import { ListenerType } from '../../enums/listener-type.enum';
* @see https://telegraf.js.org/#/?id=start
*/
export const Start = (): MethodDecorator => {
- return SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.Start);
+ return SetMetadata(LISTENER_TYPE_METADATA, ListenerType.Start);
};
diff --git a/lib/decorators/listeners/text-link.decorator.ts b/lib/decorators/listeners/text-link.decorator.ts
index f6a484e..7dedd6f 100644
--- a/lib/decorators/listeners/text-link.decorator.ts
+++ b/lib/decorators/listeners/text-link.decorator.ts
@@ -1,7 +1,7 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
- TELEGRAF_LISTENER_OPTIONS,
- TELEGRAF_LISTENER_TYPE,
+ LISTENER_OPTIONS_METADATA,
+ LISTENER_TYPE_METADATA,
} from '../../telegraf.constants';
import { ListenerType } from '../../enums/listener-type.enum';
import { TelegrafTextLink } from '../../telegraf.types';
@@ -17,8 +17,8 @@ export interface TextLinkOptions {
*/
export const TetxLink = (link: TelegrafTextLink): MethodDecorator => {
return applyDecorators(
- SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.TextLink),
- SetMetadata(TELEGRAF_LISTENER_OPTIONS, {
+ SetMetadata(LISTENER_TYPE_METADATA, ListenerType.TextLink),
+ SetMetadata(LISTENER_OPTIONS_METADATA, {
link,
} as TextLinkOptions),
);
diff --git a/lib/decorators/listeners/text-mention.decorator.ts b/lib/decorators/listeners/text-mention.decorator.ts
index aea29ce..b098c4e 100644
--- a/lib/decorators/listeners/text-mention.decorator.ts
+++ b/lib/decorators/listeners/text-mention.decorator.ts
@@ -1,7 +1,7 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
- TELEGRAF_LISTENER_OPTIONS,
- TELEGRAF_LISTENER_TYPE,
+ LISTENER_OPTIONS_METADATA,
+ LISTENER_TYPE_METADATA,
} from '../../telegraf.constants';
import { ListenerType } from '../../enums/listener-type.enum';
import { TelegrafTextMention } from '../../telegraf.types';
@@ -17,8 +17,8 @@ export interface TextMentionOptions {
*/
export const TetxMention = (mention: TelegrafTextMention): MethodDecorator => {
return applyDecorators(
- SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.TextMention),
- SetMetadata(TELEGRAF_LISTENER_OPTIONS, {
+ SetMetadata(LISTENER_TYPE_METADATA, ListenerType.TextMention),
+ SetMetadata(LISTENER_OPTIONS_METADATA, {
mention,
} as TextMentionOptions),
);
diff --git a/lib/decorators/listeners/url.decorator.ts b/lib/decorators/listeners/url.decorator.ts
index e8c1448..e38167e 100644
--- a/lib/decorators/listeners/url.decorator.ts
+++ b/lib/decorators/listeners/url.decorator.ts
@@ -1,7 +1,7 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
- TELEGRAF_LISTENER_OPTIONS,
- TELEGRAF_LISTENER_TYPE,
+ LISTENER_OPTIONS_METADATA,
+ LISTENER_TYPE_METADATA,
} from '../../telegraf.constants';
import { ListenerType } from '../../enums/listener-type.enum';
import { TelegrafUrl } from '../../telegraf.types';
@@ -17,8 +17,8 @@ export interface UrlOptions {
*/
export const Url = (url: TelegrafUrl): MethodDecorator => {
return applyDecorators(
- SetMetadata(TELEGRAF_LISTENER_TYPE, ListenerType.Url),
- SetMetadata(TELEGRAF_LISTENER_OPTIONS, {
+ SetMetadata(LISTENER_TYPE_METADATA, ListenerType.Url),
+ SetMetadata(LISTENER_OPTIONS_METADATA, {
url,
} as UrlOptions),
);
diff --git a/lib/index.ts b/lib/index.ts
index 39b657d..bca10ec 100644
--- a/lib/index.ts
+++ b/lib/index.ts
@@ -1,11 +1,3 @@
-export * as Composer from 'telegraf/composer';
-export * as Markup from 'telegraf/markup';
-export * as BaseScene from 'telegraf/scenes/base';
-export * as session from 'telegraf/session';
-export * as Stage from 'telegraf/stage';
-export * as WizardScene from 'telegraf/scenes/wizard';
-export * as Extra from 'telegraf/extra';
-
export * from './decorators';
export * from './interfaces';
export * from './telegraf.module';
diff --git a/lib/telegraf-core.module.ts b/lib/telegraf-core.module.ts
deleted file mode 100644
index 9be69ed..0000000
--- a/lib/telegraf-core.module.ts
+++ /dev/null
@@ -1,91 +0,0 @@
-import { DiscoveryModule } from '@nestjs/core';
-import { Module, DynamicModule, Provider, Type } from '@nestjs/common';
-import {
- TelegrafModuleOptions,
- TelegrafModuleAsyncOptions,
- TelegrafOptionsFactory,
-} from './interfaces';
-import {
- TELEGRAF_MODULE_OPTIONS,
- TELEGRAF_PROVIDER,
-} from './telegraf.constants';
-import { TelegrafMetadataAccessor } from './telegraf-metadata.accessor';
-import { TelegrafExplorer } from './telegraf.explorer';
-import { TelegrafProvider } from './telegraf.provider';
-
-@Module({
- imports: [DiscoveryModule],
- providers: [TelegrafMetadataAccessor, TelegrafExplorer],
-})
-export class TelegrafCoreModule {
- public static forRoot(options: TelegrafModuleOptions): DynamicModule {
- const telegrafProvider = {
- provide: TELEGRAF_PROVIDER,
- useClass: TelegrafProvider,
- inject: [TELEGRAF_MODULE_OPTIONS],
- };
- return {
- module: TelegrafCoreModule,
- providers: [
- { provide: TELEGRAF_MODULE_OPTIONS, useValue: options },
- telegrafProvider,
- ],
- exports: [telegrafProvider],
- };
- }
-
- public static forRootAsync(
- options: TelegrafModuleAsyncOptions,
- ): DynamicModule {
- const telegrafProvider = {
- provide: TELEGRAF_PROVIDER,
- useClass: TelegrafProvider,
- inject: [TELEGRAF_MODULE_OPTIONS],
- };
- const asyncProviders = this.createAsyncProviders(options);
- return {
- module: TelegrafCoreModule,
- imports: options.imports,
- providers: [...asyncProviders, telegrafProvider],
- exports: [telegrafProvider],
- };
- }
-
- private static createAsyncProviders(
- options: TelegrafModuleAsyncOptions,
- ): Provider[] {
- if (options.useExisting || options.useFactory) {
- return [this.createAsyncOptionsProvider(options)];
- }
- const useClass = options.useClass as Type;
- return [
- this.createAsyncOptionsProvider(options),
- {
- provide: useClass,
- useClass,
- },
- ];
- }
-
- private static createAsyncOptionsProvider(
- options: TelegrafModuleAsyncOptions,
- ): Provider {
- if (options.useFactory) {
- return {
- provide: TELEGRAF_MODULE_OPTIONS,
- useFactory: options.useFactory,
- inject: options.inject || [],
- };
- }
- // `as Type` is a workaround for microsoft/TypeScript#31603
- const inject = [
- (options.useClass || options.useExisting) as Type,
- ];
- return {
- provide: TELEGRAF_MODULE_OPTIONS,
- useFactory: async (optionsFactory: TelegrafOptionsFactory) =>
- await optionsFactory.createTelegrafOptions(),
- inject,
- };
- }
-}
diff --git a/lib/telegraf-metadata.accessor.ts b/lib/telegraf-metadata.accessor.ts
index 504db39..f61bb3a 100644
--- a/lib/telegraf-metadata.accessor.ts
+++ b/lib/telegraf-metadata.accessor.ts
@@ -1,17 +1,25 @@
import { Injectable } from '@nestjs/common';
import { Reflector } from '@nestjs/core';
import {
- TELEGRAF_LISTENER_TYPE,
+ LISTENER_TYPE_METADATA,
TELEGRAF_MODULE_OPTIONS,
+ TELEGRAF_UPDATE_METADATA,
} from './telegraf.constants';
-import { ListenerType } from './enums/listener-type.enum';
+import { ListenerType } from './enums';
@Injectable()
export class TelegrafMetadataAccessor {
constructor(private readonly reflector: Reflector) {}
+ isUpdate(target: Function): boolean {
+ return !!this.reflector.get(
+ TELEGRAF_UPDATE_METADATA,
+ target,
+ );
+ }
+
getListenerType(target: Function): ListenerType | undefined {
- return this.reflector.get(TELEGRAF_LISTENER_TYPE, target);
+ return this.reflector.get(LISTENER_TYPE_METADATA, target);
}
getListenerOptions(target: Function): unknown | undefined {
diff --git a/lib/telegraf.constants.ts b/lib/telegraf.constants.ts
index 88b4194..16fa981 100644
--- a/lib/telegraf.constants.ts
+++ b/lib/telegraf.constants.ts
@@ -1,6 +1,5 @@
export const TELEGRAF_MODULE_OPTIONS = 'TELEGRAF_MODULE_OPTIONS';
-export const TELEGRAF_PROVIDER = 'TelegrafProvider';
-export const TELEGRAF_UPDATE = 'TELEGRAF_UPDATE';
-export const TELEGRAF_LISTENER_TYPE = 'TELEGRAF_LISTENER_TYPE';
-export const TELEGRAF_LISTENER_OPTIONS = 'TELEGRAF_LISTENER_OPTIONS';
+export const TELEGRAF_UPDATE_METADATA = 'TELEGRAF_UPDATE_METADATA';
+export const LISTENER_TYPE_METADATA = 'LISTENER_TYPE_METADATA';
+export const LISTENER_OPTIONS_METADATA = 'LISTENER_OPTIONS_METADATA';
diff --git a/lib/telegraf.explorer.ts b/lib/telegraf.explorer.ts
index da3a6b6..fa805b9 100644
--- a/lib/telegraf.explorer.ts
+++ b/lib/telegraf.explorer.ts
@@ -3,8 +3,7 @@ import { DiscoveryService, ModuleRef } from '@nestjs/core';
import { MetadataScanner } from '@nestjs/core/metadata-scanner';
import { TelegrafMetadataAccessor } from './telegraf-metadata.accessor';
import { TelegrafProvider } from './telegraf.provider';
-import { TELEGRAF_PROVIDER } from './telegraf.constants';
-import { ListenerType } from './enums/listener-type.enum';
+import { ListenerType } from './enums';
import {
ActionOptions,
CashtagOptions,
@@ -33,7 +32,7 @@ export class TelegrafExplorer implements OnModuleInit {
private telegraf: TelegrafProvider;
onModuleInit(): void {
- this.telegraf = this.moduleRef.get(TELEGRAF_PROVIDER, {
+ this.telegraf = this.moduleRef.get(TelegrafProvider, {
strict: false,
});
this.explore();
@@ -50,13 +49,18 @@ export class TelegrafExplorer implements OnModuleInit {
this.metadataScanner.scanFromPrototype(
instance,
prototype,
- (methodKey: string) => {
- this.registerIfListener(instance, methodKey);
- },
+ (methodKey: string) => this.registerIfUpdate(instance, methodKey),
);
});
}
+ private registerIfUpdate(
+ instance: Record,
+ methodKey: string,
+ ): void {
+ const isUpdate = this.metadataAccessor.isUpdate(instance);
+ }
+
private registerIfListener(
instance: Record,
methodKey: string,
diff --git a/lib/telegraf.module.ts b/lib/telegraf.module.ts
index fb3cdeb..77bf8b5 100644
--- a/lib/telegraf.module.ts
+++ b/lib/telegraf.module.ts
@@ -1,27 +1,84 @@
-import { Module, DynamicModule } from '@nestjs/common';
-import { TelegrafCoreModule } from './telegraf-core.module';
+import { DiscoveryModule } from '@nestjs/core';
+import { Module, DynamicModule, Provider } from '@nestjs/common';
import {
TelegrafModuleOptions,
TelegrafModuleAsyncOptions,
+ TelegrafOptionsFactory,
} from './interfaces';
+import { TELEGRAF_MODULE_OPTIONS } from './telegraf.constants';
+import { TelegrafMetadataAccessor } from './telegraf-metadata.accessor';
+import { TelegrafExplorer } from './telegraf.explorer';
+import { TelegrafProvider } from './telegraf.provider';
-@Module({})
+@Module({
+ imports: [DiscoveryModule],
+ providers: [TelegrafMetadataAccessor, TelegrafExplorer],
+})
export class TelegrafModule {
public static forRoot(options: TelegrafModuleOptions): DynamicModule {
+ const providers = [...this.createProviders(options), TelegrafProvider];
+
return {
module: TelegrafModule,
- imports: [TelegrafCoreModule.forRoot(options)],
- exports: [TelegrafCoreModule],
+ providers,
+ exports: providers,
};
}
+ private static createProviders(options: TelegrafModuleOptions): Provider[] {
+ return [
+ {
+ provide: TELEGRAF_MODULE_OPTIONS,
+ useValue: options,
+ },
+ ];
+ }
+
public static forRootAsync(
options: TelegrafModuleAsyncOptions,
): DynamicModule {
+ const providers = [...this.createAsyncProviders(options), TelegrafProvider];
+
return {
module: TelegrafModule,
- imports: [TelegrafCoreModule.forRootAsync(options)],
- exports: [TelegrafCoreModule],
+ imports: options.imports || [],
+ providers,
+ exports: providers,
+ };
+ }
+
+ private static createAsyncProviders(
+ options: TelegrafModuleAsyncOptions,
+ ): Provider[] {
+ if (options.useExisting || options.useFactory) {
+ return [this.createAsyncOptionsProvider(options)];
+ }
+
+ return [
+ this.createAsyncOptionsProvider(options),
+ {
+ provide: options.useClass,
+ useClass: options.useClass,
+ },
+ ];
+ }
+
+ private static createAsyncOptionsProvider(
+ options: TelegrafModuleAsyncOptions,
+ ): Provider {
+ if (options.useFactory) {
+ return {
+ provide: TELEGRAF_MODULE_OPTIONS,
+ useFactory: options.useFactory,
+ inject: options.inject || [],
+ };
+ }
+
+ return {
+ provide: TELEGRAF_MODULE_OPTIONS,
+ useFactory: async (optionsFactory: TelegrafOptionsFactory) =>
+ await optionsFactory.createTelegrafOptions(),
+ inject: [options.useExisting || options.useClass],
};
}
}
From d02a52a7ae16a8c2843ea0a543b9233fea5bb73b Mon Sep 17 00:00:00 2001
From: unknown
Date: Sat, 26 Dec 2020 16:11:09 +0300
Subject: [PATCH 062/101] feat(): mvp
---
.npmignore | 1 -
index.d.ts | 1 -
index.js | 6 ---
index.ts | 1 -
lib/decorators/core/on.decorator.ts | 8 ++--
lib/decorators/core/update.decorator.ts | 5 +--
lib/decorators/core/use.decorator.ts | 4 +-
lib/decorators/listeners/action.decorator.ts | 8 ++--
lib/decorators/listeners/cashtag.decorator.ts | 8 ++--
lib/decorators/listeners/command.decorator.ts | 8 ++--
lib/decorators/listeners/email.decorator.ts | 8 ++--
.../listeners/game-query.decorator.ts | 4 +-
lib/decorators/listeners/hashtag.decorator.ts | 8 ++--
lib/decorators/listeners/hears.decorator.ts | 8 ++--
lib/decorators/listeners/help.decorator.ts | 4 +-
.../listeners/inline-query.decorator.ts | 8 ++--
lib/decorators/listeners/mention.decorator.ts | 8 ++--
lib/decorators/listeners/phone.decorator.ts | 8 ++--
.../listeners/settings.decorator.ts | 4 +-
lib/decorators/listeners/start.decorator.ts | 4 +-
.../listeners/text-link.decorator.ts | 8 ++--
.../listeners/text-mention.decorator.ts | 8 ++--
lib/decorators/listeners/url.decorator.ts | 8 ++--
lib/telegraf.constants.ts | 7 ++--
lib/telegraf.explorer.ts | 41 ++++++++++---------
...essor.ts => telegraf.metadata-accessor.ts} | 14 +++----
lib/telegraf.module.ts | 2 +-
package.json | 2 +-
tsconfig.json | 2 +-
29 files changed, 99 insertions(+), 107 deletions(-)
delete mode 100644 index.d.ts
delete mode 100644 index.js
delete mode 100644 index.ts
rename lib/{telegraf-metadata.accessor.ts => telegraf.metadata-accessor.ts} (73%)
diff --git a/.npmignore b/.npmignore
index 130fdb1..267876c 100644
--- a/.npmignore
+++ b/.npmignore
@@ -1,6 +1,5 @@
# source
lib
-index.ts
package-lock.json
tsconfig.json
.prettierrc
diff --git a/index.d.ts b/index.d.ts
deleted file mode 100644
index 5703fb5..0000000
--- a/index.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from './dist';
diff --git a/index.js b/index.js
deleted file mode 100644
index a82ea05..0000000
--- a/index.js
+++ /dev/null
@@ -1,6 +0,0 @@
-"use strict";
-function __export(m) {
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
-}
-exports.__esModule = true;
-__export(require("./dist"));
\ No newline at end of file
diff --git a/index.ts b/index.ts
deleted file mode 100644
index 5703fb5..0000000
--- a/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from './dist';
diff --git a/lib/decorators/core/on.decorator.ts b/lib/decorators/core/on.decorator.ts
index 3bef944..17b052b 100644
--- a/lib/decorators/core/on.decorator.ts
+++ b/lib/decorators/core/on.decorator.ts
@@ -1,7 +1,7 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
- LISTENER_OPTIONS_METADATA,
- LISTENER_TYPE_METADATA,
+ UPDATE_LISTENER_OPTIONS_METADATA,
+ UPDATE_LISTENER_TYPE_METADATA,
} from '../../telegraf.constants';
import { ListenerType } from '../../enums/listener-type.enum';
import { TelegrafUpdateType } from '../../telegraf.types';
@@ -17,8 +17,8 @@ export interface OnOptions {
*/
export const On = (updateTypes: TelegrafUpdateType): MethodDecorator => {
return applyDecorators(
- SetMetadata(LISTENER_TYPE_METADATA, ListenerType.On),
- SetMetadata(LISTENER_OPTIONS_METADATA, {
+ SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.On),
+ SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, {
updateTypes,
} as OnOptions),
);
diff --git a/lib/decorators/core/update.decorator.ts b/lib/decorators/core/update.decorator.ts
index fde0d76..2002fec 100644
--- a/lib/decorators/core/update.decorator.ts
+++ b/lib/decorators/core/update.decorator.ts
@@ -1,9 +1,8 @@
import { SetMetadata } from '@nestjs/common';
-import { TELEGRAF_UPDATE_METADATA } from '../../telegraf.constants';
+import { UPDATE_METADATA } from '../../telegraf.constants';
/**
* `@Update` decorator, it's like NestJS `@Controller` decorator,
* but for Telegram Bot API updates.
*/
-export const Update = (): ClassDecorator =>
- SetMetadata(TELEGRAF_UPDATE_METADATA, true);
+export const Update = (): ClassDecorator => SetMetadata(UPDATE_METADATA, true);
diff --git a/lib/decorators/core/use.decorator.ts b/lib/decorators/core/use.decorator.ts
index 72fc62e..8b393e6 100644
--- a/lib/decorators/core/use.decorator.ts
+++ b/lib/decorators/core/use.decorator.ts
@@ -1,5 +1,5 @@
import { SetMetadata } from '@nestjs/common';
-import { LISTENER_TYPE_METADATA } from '../../telegraf.constants';
+import { UPDATE_LISTENER_TYPE_METADATA } from '../../telegraf.constants';
import { ListenerType } from '../../enums/listener-type.enum';
/**
@@ -8,5 +8,5 @@ import { ListenerType } from '../../enums/listener-type.enum';
* @see https://telegraf.js.org/#/?id=use
*/
export const Use = (): MethodDecorator => {
- return SetMetadata(LISTENER_TYPE_METADATA, ListenerType.Use);
+ return SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.Use);
};
diff --git a/lib/decorators/listeners/action.decorator.ts b/lib/decorators/listeners/action.decorator.ts
index 502b1b0..1a8a5a1 100644
--- a/lib/decorators/listeners/action.decorator.ts
+++ b/lib/decorators/listeners/action.decorator.ts
@@ -1,7 +1,7 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
- LISTENER_OPTIONS_METADATA,
- LISTENER_TYPE_METADATA,
+ UPDATE_LISTENER_OPTIONS_METADATA,
+ UPDATE_LISTENER_TYPE_METADATA,
} from '../../telegraf.constants';
import { TelegrafActionTriggers } from '../../telegraf.types';
import { ListenerType } from '../../enums/listener-type.enum';
@@ -17,8 +17,8 @@ export interface ActionOptions {
*/
export const Action = (triggers: TelegrafActionTriggers): MethodDecorator => {
return applyDecorators(
- SetMetadata(LISTENER_TYPE_METADATA, ListenerType.Action),
- SetMetadata(LISTENER_OPTIONS_METADATA, {
+ SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.Action),
+ SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, {
triggers,
} as ActionOptions),
);
diff --git a/lib/decorators/listeners/cashtag.decorator.ts b/lib/decorators/listeners/cashtag.decorator.ts
index d9784cf..8b4f859 100644
--- a/lib/decorators/listeners/cashtag.decorator.ts
+++ b/lib/decorators/listeners/cashtag.decorator.ts
@@ -1,7 +1,7 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
- LISTENER_OPTIONS_METADATA,
- LISTENER_TYPE_METADATA,
+ UPDATE_LISTENER_OPTIONS_METADATA,
+ UPDATE_LISTENER_TYPE_METADATA,
} from '../../telegraf.constants';
import { TelegrafCashtag } from '../../telegraf.types';
import { ListenerType } from '../../enums/listener-type.enum';
@@ -17,8 +17,8 @@ export interface CashtagOptions {
*/
export const Cashtag = (cashtag: TelegrafCashtag): MethodDecorator => {
return applyDecorators(
- SetMetadata(LISTENER_TYPE_METADATA, ListenerType.Cashtag),
- SetMetadata(LISTENER_OPTIONS_METADATA, {
+ SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.Cashtag),
+ SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, {
cashtag,
} as CashtagOptions),
);
diff --git a/lib/decorators/listeners/command.decorator.ts b/lib/decorators/listeners/command.decorator.ts
index eb4b01e..15d4d36 100644
--- a/lib/decorators/listeners/command.decorator.ts
+++ b/lib/decorators/listeners/command.decorator.ts
@@ -1,7 +1,7 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
- LISTENER_OPTIONS_METADATA,
- LISTENER_TYPE_METADATA,
+ UPDATE_LISTENER_OPTIONS_METADATA,
+ UPDATE_LISTENER_TYPE_METADATA,
} from '../../telegraf.constants';
import { ListenerType } from '../../enums/listener-type.enum';
import { TelegrafCommand } from '../../telegraf.types';
@@ -17,8 +17,8 @@ export interface CommandOptions {
*/
export const Command = (command: TelegrafCommand): MethodDecorator => {
return applyDecorators(
- SetMetadata(LISTENER_TYPE_METADATA, ListenerType.Command),
- SetMetadata(LISTENER_OPTIONS_METADATA, {
+ SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.Command),
+ SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, {
command: command,
} as CommandOptions),
);
diff --git a/lib/decorators/listeners/email.decorator.ts b/lib/decorators/listeners/email.decorator.ts
index 9f890fe..23aad1b 100644
--- a/lib/decorators/listeners/email.decorator.ts
+++ b/lib/decorators/listeners/email.decorator.ts
@@ -1,7 +1,7 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
- LISTENER_OPTIONS_METADATA,
- LISTENER_TYPE_METADATA,
+ UPDATE_LISTENER_OPTIONS_METADATA,
+ UPDATE_LISTENER_TYPE_METADATA,
} from '../../telegraf.constants';
import { ListenerType } from '../../enums/listener-type.enum';
import { TelegrafEmail } from '../../telegraf.types';
@@ -17,8 +17,8 @@ export interface EmailOptions {
*/
export const Email = (email: TelegrafEmail): MethodDecorator => {
return applyDecorators(
- SetMetadata(LISTENER_TYPE_METADATA, ListenerType.Email),
- SetMetadata(LISTENER_OPTIONS_METADATA, {
+ SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.Email),
+ SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, {
email,
} as EmailOptions),
);
diff --git a/lib/decorators/listeners/game-query.decorator.ts b/lib/decorators/listeners/game-query.decorator.ts
index 25e0410..898b1d5 100644
--- a/lib/decorators/listeners/game-query.decorator.ts
+++ b/lib/decorators/listeners/game-query.decorator.ts
@@ -1,5 +1,5 @@
import { SetMetadata } from '@nestjs/common';
-import { LISTENER_TYPE_METADATA } from '../../telegraf.constants';
+import { UPDATE_LISTENER_TYPE_METADATA } from '../../telegraf.constants';
import { ListenerType } from '../../enums/listener-type.enum';
/**
@@ -8,5 +8,5 @@ import { ListenerType } from '../../enums/listener-type.enum';
* @see https://telegraf.js.org/#/?id=inlinequery
*/
export const GameQuery = (): MethodDecorator => {
- return SetMetadata(LISTENER_TYPE_METADATA, ListenerType.GameQuery);
+ return SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.GameQuery);
};
diff --git a/lib/decorators/listeners/hashtag.decorator.ts b/lib/decorators/listeners/hashtag.decorator.ts
index 4c86618..4d344c6 100644
--- a/lib/decorators/listeners/hashtag.decorator.ts
+++ b/lib/decorators/listeners/hashtag.decorator.ts
@@ -1,7 +1,7 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
- LISTENER_OPTIONS_METADATA,
- LISTENER_TYPE_METADATA,
+ UPDATE_LISTENER_OPTIONS_METADATA,
+ UPDATE_LISTENER_TYPE_METADATA,
} from '../../telegraf.constants';
import { ListenerType } from '../../enums/listener-type.enum';
import { TelegrafHashtag } from '../../telegraf.types';
@@ -17,8 +17,8 @@ export interface HashtagOptions {
*/
export const Hashtag = (hashtag: TelegrafHashtag): MethodDecorator => {
return applyDecorators(
- SetMetadata(LISTENER_TYPE_METADATA, ListenerType.Hashtag),
- SetMetadata(LISTENER_OPTIONS_METADATA, {
+ SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.Hashtag),
+ SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, {
hashtag,
} as HashtagOptions),
);
diff --git a/lib/decorators/listeners/hears.decorator.ts b/lib/decorators/listeners/hears.decorator.ts
index cef3453..1f2f93e 100644
--- a/lib/decorators/listeners/hears.decorator.ts
+++ b/lib/decorators/listeners/hears.decorator.ts
@@ -1,7 +1,7 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
- LISTENER_OPTIONS_METADATA,
- LISTENER_TYPE_METADATA,
+ UPDATE_LISTENER_OPTIONS_METADATA,
+ UPDATE_LISTENER_TYPE_METADATA,
} from '../../telegraf.constants';
import { ListenerType } from '../../enums/listener-type.enum';
import { TelegrafHearsTriggers } from '../../telegraf.types';
@@ -17,8 +17,8 @@ export interface HearsOptions {
*/
export const Hears = (triggers: TelegrafHearsTriggers): MethodDecorator => {
return applyDecorators(
- SetMetadata(LISTENER_TYPE_METADATA, ListenerType.Hears),
- SetMetadata(LISTENER_OPTIONS_METADATA, {
+ SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.Hears),
+ SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, {
triggers,
} as HearsOptions),
);
diff --git a/lib/decorators/listeners/help.decorator.ts b/lib/decorators/listeners/help.decorator.ts
index 2fec408..9909f1d 100644
--- a/lib/decorators/listeners/help.decorator.ts
+++ b/lib/decorators/listeners/help.decorator.ts
@@ -1,5 +1,5 @@
import { SetMetadata } from '@nestjs/common';
-import { LISTENER_TYPE_METADATA } from '../../telegraf.constants';
+import { UPDATE_LISTENER_TYPE_METADATA } from '../../telegraf.constants';
import { ListenerType } from '../../enums/listener-type.enum';
/**
@@ -8,5 +8,5 @@ import { ListenerType } from '../../enums/listener-type.enum';
* @see https://telegraf.js.org/#/?id=help
*/
export const Help = (): MethodDecorator => {
- return SetMetadata(LISTENER_TYPE_METADATA, ListenerType.Help);
+ return SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.Help);
};
diff --git a/lib/decorators/listeners/inline-query.decorator.ts b/lib/decorators/listeners/inline-query.decorator.ts
index 70da417..f9a4efd 100644
--- a/lib/decorators/listeners/inline-query.decorator.ts
+++ b/lib/decorators/listeners/inline-query.decorator.ts
@@ -1,7 +1,7 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
- LISTENER_OPTIONS_METADATA,
- LISTENER_TYPE_METADATA,
+ UPDATE_LISTENER_OPTIONS_METADATA,
+ UPDATE_LISTENER_TYPE_METADATA,
} from '../../telegraf.constants';
import { ListenerType } from '../../enums/listener-type.enum';
import { TelegrafInlineQueryTriggers } from '../../telegraf.types';
@@ -19,8 +19,8 @@ export const InlineQuery = (
triggers: TelegrafInlineQueryTriggers,
): MethodDecorator => {
return applyDecorators(
- SetMetadata(LISTENER_TYPE_METADATA, ListenerType.InlineQuery),
- SetMetadata(LISTENER_OPTIONS_METADATA, {
+ SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.InlineQuery),
+ SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, {
triggers,
} as InlineQueryOptions),
);
diff --git a/lib/decorators/listeners/mention.decorator.ts b/lib/decorators/listeners/mention.decorator.ts
index a703a23..db25ff8 100644
--- a/lib/decorators/listeners/mention.decorator.ts
+++ b/lib/decorators/listeners/mention.decorator.ts
@@ -1,7 +1,7 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
- LISTENER_OPTIONS_METADATA,
- LISTENER_TYPE_METADATA,
+ UPDATE_LISTENER_OPTIONS_METADATA,
+ UPDATE_LISTENER_TYPE_METADATA,
} from '../../telegraf.constants';
import { ListenerType } from '../../enums/listener-type.enum';
import { TelegrafMention } from '../../telegraf.types';
@@ -17,8 +17,8 @@ export interface MentionOptions {
*/
export const Mention = (mention: TelegrafMention): MethodDecorator => {
return applyDecorators(
- SetMetadata(LISTENER_TYPE_METADATA, ListenerType.Mention),
- SetMetadata(LISTENER_OPTIONS_METADATA, {
+ SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.Mention),
+ SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, {
mention,
} as MentionOptions),
);
diff --git a/lib/decorators/listeners/phone.decorator.ts b/lib/decorators/listeners/phone.decorator.ts
index b0b794b..f327762 100644
--- a/lib/decorators/listeners/phone.decorator.ts
+++ b/lib/decorators/listeners/phone.decorator.ts
@@ -1,7 +1,7 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
- LISTENER_OPTIONS_METADATA,
- LISTENER_TYPE_METADATA,
+ UPDATE_LISTENER_OPTIONS_METADATA,
+ UPDATE_LISTENER_TYPE_METADATA,
} from '../../telegraf.constants';
import { ListenerType } from '../../enums/listener-type.enum';
import { TelegrafPhone } from '../../telegraf.types';
@@ -17,8 +17,8 @@ export interface PhoneOptions {
*/
export const Phone = (phone: TelegrafPhone): MethodDecorator => {
return applyDecorators(
- SetMetadata(LISTENER_TYPE_METADATA, ListenerType.Phone),
- SetMetadata(LISTENER_OPTIONS_METADATA, {
+ SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.Phone),
+ SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, {
phone,
} as PhoneOptions),
);
diff --git a/lib/decorators/listeners/settings.decorator.ts b/lib/decorators/listeners/settings.decorator.ts
index 6bbb86b..8c25331 100644
--- a/lib/decorators/listeners/settings.decorator.ts
+++ b/lib/decorators/listeners/settings.decorator.ts
@@ -1,5 +1,5 @@
import { SetMetadata } from '@nestjs/common';
-import { LISTENER_TYPE_METADATA } from '../../telegraf.constants';
+import { UPDATE_LISTENER_TYPE_METADATA } from '../../telegraf.constants';
import { ListenerType } from '../../enums/listener-type.enum';
/**
@@ -8,5 +8,5 @@ import { ListenerType } from '../../enums/listener-type.enum';
* @see https://telegraf.js.org/#/?id=settings
*/
export const Settings = (): MethodDecorator => {
- return SetMetadata(LISTENER_TYPE_METADATA, ListenerType.Settings);
+ return SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.Settings);
};
diff --git a/lib/decorators/listeners/start.decorator.ts b/lib/decorators/listeners/start.decorator.ts
index b6d3025..6de6e55 100644
--- a/lib/decorators/listeners/start.decorator.ts
+++ b/lib/decorators/listeners/start.decorator.ts
@@ -1,5 +1,5 @@
import { SetMetadata } from '@nestjs/common';
-import { LISTENER_TYPE_METADATA } from '../../telegraf.constants';
+import { UPDATE_LISTENER_TYPE_METADATA } from '../../telegraf.constants';
import { ListenerType } from '../../enums/listener-type.enum';
/**
@@ -8,5 +8,5 @@ import { ListenerType } from '../../enums/listener-type.enum';
* @see https://telegraf.js.org/#/?id=start
*/
export const Start = (): MethodDecorator => {
- return SetMetadata(LISTENER_TYPE_METADATA, ListenerType.Start);
+ return SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.Start);
};
diff --git a/lib/decorators/listeners/text-link.decorator.ts b/lib/decorators/listeners/text-link.decorator.ts
index 7dedd6f..cfefc96 100644
--- a/lib/decorators/listeners/text-link.decorator.ts
+++ b/lib/decorators/listeners/text-link.decorator.ts
@@ -1,7 +1,7 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
- LISTENER_OPTIONS_METADATA,
- LISTENER_TYPE_METADATA,
+ UPDATE_LISTENER_OPTIONS_METADATA,
+ UPDATE_LISTENER_TYPE_METADATA,
} from '../../telegraf.constants';
import { ListenerType } from '../../enums/listener-type.enum';
import { TelegrafTextLink } from '../../telegraf.types';
@@ -17,8 +17,8 @@ export interface TextLinkOptions {
*/
export const TetxLink = (link: TelegrafTextLink): MethodDecorator => {
return applyDecorators(
- SetMetadata(LISTENER_TYPE_METADATA, ListenerType.TextLink),
- SetMetadata(LISTENER_OPTIONS_METADATA, {
+ SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.TextLink),
+ SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, {
link,
} as TextLinkOptions),
);
diff --git a/lib/decorators/listeners/text-mention.decorator.ts b/lib/decorators/listeners/text-mention.decorator.ts
index b098c4e..fc8cecc 100644
--- a/lib/decorators/listeners/text-mention.decorator.ts
+++ b/lib/decorators/listeners/text-mention.decorator.ts
@@ -1,7 +1,7 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
- LISTENER_OPTIONS_METADATA,
- LISTENER_TYPE_METADATA,
+ UPDATE_LISTENER_OPTIONS_METADATA,
+ UPDATE_LISTENER_TYPE_METADATA,
} from '../../telegraf.constants';
import { ListenerType } from '../../enums/listener-type.enum';
import { TelegrafTextMention } from '../../telegraf.types';
@@ -17,8 +17,8 @@ export interface TextMentionOptions {
*/
export const TetxMention = (mention: TelegrafTextMention): MethodDecorator => {
return applyDecorators(
- SetMetadata(LISTENER_TYPE_METADATA, ListenerType.TextMention),
- SetMetadata(LISTENER_OPTIONS_METADATA, {
+ SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.TextMention),
+ SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, {
mention,
} as TextMentionOptions),
);
diff --git a/lib/decorators/listeners/url.decorator.ts b/lib/decorators/listeners/url.decorator.ts
index e38167e..b104dd2 100644
--- a/lib/decorators/listeners/url.decorator.ts
+++ b/lib/decorators/listeners/url.decorator.ts
@@ -1,7 +1,7 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
- LISTENER_OPTIONS_METADATA,
- LISTENER_TYPE_METADATA,
+ UPDATE_LISTENER_OPTIONS_METADATA,
+ UPDATE_LISTENER_TYPE_METADATA,
} from '../../telegraf.constants';
import { ListenerType } from '../../enums/listener-type.enum';
import { TelegrafUrl } from '../../telegraf.types';
@@ -17,8 +17,8 @@ export interface UrlOptions {
*/
export const Url = (url: TelegrafUrl): MethodDecorator => {
return applyDecorators(
- SetMetadata(LISTENER_TYPE_METADATA, ListenerType.Url),
- SetMetadata(LISTENER_OPTIONS_METADATA, {
+ SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.Url),
+ SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, {
url,
} as UrlOptions),
);
diff --git a/lib/telegraf.constants.ts b/lib/telegraf.constants.ts
index 16fa981..6bba348 100644
--- a/lib/telegraf.constants.ts
+++ b/lib/telegraf.constants.ts
@@ -1,5 +1,6 @@
export const TELEGRAF_MODULE_OPTIONS = 'TELEGRAF_MODULE_OPTIONS';
-export const TELEGRAF_UPDATE_METADATA = 'TELEGRAF_UPDATE_METADATA';
-export const LISTENER_TYPE_METADATA = 'LISTENER_TYPE_METADATA';
-export const LISTENER_OPTIONS_METADATA = 'LISTENER_OPTIONS_METADATA';
+export const UPDATE_METADATA = 'UPDATE_METADATA';
+export const UPDATE_LISTENER_TYPE_METADATA = 'UPDATE_LISTENER_TYPE_METADATA';
+export const UPDATE_LISTENER_OPTIONS_METADATA =
+ 'UPDATE_LISTENER_OPTIONS_METADATA';
diff --git a/lib/telegraf.explorer.ts b/lib/telegraf.explorer.ts
index fa805b9..4df95e5 100644
--- a/lib/telegraf.explorer.ts
+++ b/lib/telegraf.explorer.ts
@@ -1,7 +1,7 @@
import { Injectable, OnModuleInit } from '@nestjs/common';
import { DiscoveryService, ModuleRef } from '@nestjs/core';
import { MetadataScanner } from '@nestjs/core/metadata-scanner';
-import { TelegrafMetadataAccessor } from './telegraf-metadata.accessor';
+import { TelegrafMetadataAccessor } from './telegraf.metadata-accessor';
import { TelegrafProvider } from './telegraf.provider';
import { ListenerType } from './enums';
import {
@@ -19,6 +19,7 @@ import {
TextMentionOptions,
UrlOptions,
} from './decorators';
+import { InstanceWrapper } from '@nestjs/core/injector/instance-wrapper';
@Injectable()
export class TelegrafExplorer implements OnModuleInit {
@@ -39,29 +40,29 @@ export class TelegrafExplorer implements OnModuleInit {
}
explore(): void {
- this.discoveryService
+ const updateInstanceWrappers = this.filterUpdateClass();
+
+ updateInstanceWrappers.forEach((wrapper) => {
+ const { instance } = wrapper;
+
+ const prototype = Object.getPrototypeOf(instance);
+ this.metadataScanner.scanFromPrototype(
+ instance,
+ prototype,
+ (methodKey: string) =>
+ this.registerIfUpdateListener(instance, methodKey),
+ );
+ });
+ }
+
+ private filterUpdateClass(): InstanceWrapper[] {
+ return this.discoveryService
.getProviders()
.filter((wrapper) => wrapper.instance)
- .forEach((wrapper) => {
- const { instance } = wrapper;
-
- const prototype = Object.getPrototypeOf(instance);
- this.metadataScanner.scanFromPrototype(
- instance,
- prototype,
- (methodKey: string) => this.registerIfUpdate(instance, methodKey),
- );
- });
+ .filter((wrapper) => this.metadataAccessor.isUpdate(wrapper.instance));
}
- private registerIfUpdate(
- instance: Record,
- methodKey: string,
- ): void {
- const isUpdate = this.metadataAccessor.isUpdate(instance);
- }
-
- private registerIfListener(
+ private registerIfUpdateListener(
instance: Record,
methodKey: string,
): void {
diff --git a/lib/telegraf-metadata.accessor.ts b/lib/telegraf.metadata-accessor.ts
similarity index 73%
rename from lib/telegraf-metadata.accessor.ts
rename to lib/telegraf.metadata-accessor.ts
index f61bb3a..29b5c68 100644
--- a/lib/telegraf-metadata.accessor.ts
+++ b/lib/telegraf.metadata-accessor.ts
@@ -1,9 +1,9 @@
import { Injectable } from '@nestjs/common';
import { Reflector } from '@nestjs/core';
import {
- LISTENER_TYPE_METADATA,
+ UPDATE_LISTENER_TYPE_METADATA,
TELEGRAF_MODULE_OPTIONS,
- TELEGRAF_UPDATE_METADATA,
+ UPDATE_METADATA,
} from './telegraf.constants';
import { ListenerType } from './enums';
@@ -12,14 +12,14 @@ export class TelegrafMetadataAccessor {
constructor(private readonly reflector: Reflector) {}
isUpdate(target: Function): boolean {
- return !!this.reflector.get(
- TELEGRAF_UPDATE_METADATA,
- target,
- );
+ return !!this.reflector.get(UPDATE_METADATA, target);
}
getListenerType(target: Function): ListenerType | undefined {
- return this.reflector.get(LISTENER_TYPE_METADATA, target);
+ return this.reflector.get(
+ UPDATE_LISTENER_TYPE_METADATA,
+ target,
+ );
}
getListenerOptions(target: Function): unknown | undefined {
diff --git a/lib/telegraf.module.ts b/lib/telegraf.module.ts
index 77bf8b5..f0e82a2 100644
--- a/lib/telegraf.module.ts
+++ b/lib/telegraf.module.ts
@@ -6,7 +6,7 @@ import {
TelegrafOptionsFactory,
} from './interfaces';
import { TELEGRAF_MODULE_OPTIONS } from './telegraf.constants';
-import { TelegrafMetadataAccessor } from './telegraf-metadata.accessor';
+import { TelegrafMetadataAccessor } from './telegraf.metadata-accessor';
import { TelegrafExplorer } from './telegraf.explorer';
import { TelegrafProvider } from './telegraf.provider';
diff --git a/package.json b/package.json
index 16b1ffc..9756227 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "nestjs-telegraf",
- "version": "2.0.0-alpha.1",
+ "version": "2.0.0",
"description": "Telegraf module for NestJS",
"keywords": [
"nest",
diff --git a/tsconfig.json b/tsconfig.json
index bb13608..e47f6d2 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -13,6 +13,6 @@
"rootDir": "./lib",
"skipLibCheck": true
},
- "include": ["lib/**/*", "../index.ts"],
+ "include": ["lib/**/*"],
"exclude": ["node_modules", "**/*.spec.ts"]
}
From 0dc981dc9525703a164509b4c3bb14c5f61cac25 Mon Sep 17 00:00:00 2001
From: unknown
Date: Sat, 26 Dec 2020 16:23:54 +0300
Subject: [PATCH 063/101] feat(): add sample app
---
package.json | 5 ++++-
sample/app.module.ts | 13 +++++++++++++
sample/app.update.ts | 9 +++++++++
sample/main.ts | 7 +++++++
tsconfig.json | 4 ++--
5 files changed, 35 insertions(+), 3 deletions(-)
create mode 100644 sample/app.module.ts
create mode 100644 sample/app.update.ts
create mode 100644 sample/main.ts
diff --git a/package.json b/package.json
index 9756227..d842c0e 100644
--- a/package.json
+++ b/package.json
@@ -30,7 +30,8 @@
"precommit": "lint-staged",
"prepublish:npm": "npm run build",
"publish:npm": "npm publish --access public",
- "test": ""
+ "test": "",
+ "sample-app": "ts-node --transpile-only -r tsconfig-paths/register sample/main.ts"
},
"dependencies": {
"telegraf": "https://github.com/telegraf/telegraf.git#develop"
@@ -48,6 +49,8 @@
"prettier": "2.2.1",
"reflect-metadata": "0.1.13",
"rxjs": "6.6.3",
+ "ts-node": "^9.1.1",
+ "tsconfig-paths": "^3.9.0",
"typescript": "4.1.2"
},
"peerDependencies": {
diff --git a/sample/app.module.ts b/sample/app.module.ts
new file mode 100644
index 0000000..e35a9f4
--- /dev/null
+++ b/sample/app.module.ts
@@ -0,0 +1,13 @@
+import { Module } from '@nestjs/common';
+import { TelegrafModule } from '../lib';
+import { AppUpdate } from './app.update';
+
+@Module({
+ imports: [
+ TelegrafModule.forRoot({
+ token: '1467731595:AAHCvH65H9VQYKF9jE-E8c2rXsQBVAYseg8',
+ }),
+ ],
+ providers: [AppUpdate],
+})
+export class AppModule {}
diff --git a/sample/app.update.ts b/sample/app.update.ts
new file mode 100644
index 0000000..a0dc748
--- /dev/null
+++ b/sample/app.update.ts
@@ -0,0 +1,9 @@
+import { On, Update } from '../lib/decorators';
+
+@Update()
+export class AppUpdate {
+ @On('message')
+ onMessage(): void {
+ console.log('New message received');
+ }
+}
diff --git a/sample/main.ts b/sample/main.ts
new file mode 100644
index 0000000..42c2fa5
--- /dev/null
+++ b/sample/main.ts
@@ -0,0 +1,7 @@
+import { NestFactory } from '@nestjs/core';
+import { AppModule } from './app.module';
+
+async function bootstrap() {
+ await NestFactory.createApplicationContext(AppModule);
+}
+bootstrap();
diff --git a/tsconfig.json b/tsconfig.json
index e47f6d2..921d963 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -9,10 +9,10 @@
"experimentalDecorators": true,
"target": "es6",
"sourceMap": false,
+ "baseUrl": "./",
"outDir": "./dist",
- "rootDir": "./lib",
"skipLibCheck": true
},
- "include": ["lib/**/*"],
+ "include": ["lib/**/*", "sample/**/*"],
"exclude": ["node_modules", "**/*.spec.ts"]
}
From 66309b9415f377fecf1deedd700f3443b2b2eaf0 Mon Sep 17 00:00:00 2001
From: unknown
Date: Sat, 26 Dec 2020 16:24:38 +0300
Subject: [PATCH 064/101] fix(): update decorator detection
---
lib/decorators/listeners/hears.decorator.ts | 2 +-
lib/telegraf.explorer.ts | 20 ++++++++------------
lib/telegraf.metadata-accessor.ts | 9 ++++++---
3 files changed, 15 insertions(+), 16 deletions(-)
diff --git a/lib/decorators/listeners/hears.decorator.ts b/lib/decorators/listeners/hears.decorator.ts
index 1f2f93e..760409a 100644
--- a/lib/decorators/listeners/hears.decorator.ts
+++ b/lib/decorators/listeners/hears.decorator.ts
@@ -3,7 +3,7 @@ import {
UPDATE_LISTENER_OPTIONS_METADATA,
UPDATE_LISTENER_TYPE_METADATA,
} from '../../telegraf.constants';
-import { ListenerType } from '../../enums/listener-type.enum';
+import { ListenerType } from '../../enums';
import { TelegrafHearsTriggers } from '../../telegraf.types';
export interface HearsOptions {
diff --git a/lib/telegraf.explorer.ts b/lib/telegraf.explorer.ts
index 4df95e5..0d2751b 100644
--- a/lib/telegraf.explorer.ts
+++ b/lib/telegraf.explorer.ts
@@ -24,33 +24,27 @@ import { InstanceWrapper } from '@nestjs/core/injector/instance-wrapper';
@Injectable()
export class TelegrafExplorer implements OnModuleInit {
constructor(
- private readonly moduleRef: ModuleRef,
+ private readonly telegraf: TelegrafProvider,
private readonly discoveryService: DiscoveryService,
private readonly metadataAccessor: TelegrafMetadataAccessor,
private readonly metadataScanner: MetadataScanner,
) {}
- private telegraf: TelegrafProvider;
-
onModuleInit(): void {
- this.telegraf = this.moduleRef.get(TelegrafProvider, {
- strict: false,
- });
this.explore();
}
explore(): void {
- const updateInstanceWrappers = this.filterUpdateClass();
+ const updateClasses = this.filterUpdateClass();
- updateInstanceWrappers.forEach((wrapper) => {
+ updateClasses.forEach((wrapper) => {
const { instance } = wrapper;
const prototype = Object.getPrototypeOf(instance);
this.metadataScanner.scanFromPrototype(
instance,
prototype,
- (methodKey: string) =>
- this.registerIfUpdateListener(instance, methodKey),
+ (methodKey: string) => this.registerIfListener(instance, methodKey),
);
});
}
@@ -59,10 +53,12 @@ export class TelegrafExplorer implements OnModuleInit {
return this.discoveryService
.getProviders()
.filter((wrapper) => wrapper.instance)
- .filter((wrapper) => this.metadataAccessor.isUpdate(wrapper.instance));
+ .filter((wrapper) =>
+ this.metadataAccessor.isUpdate(wrapper.instance.constructor),
+ );
}
- private registerIfUpdateListener(
+ private registerIfListener(
instance: Record,
methodKey: string,
): void {
diff --git a/lib/telegraf.metadata-accessor.ts b/lib/telegraf.metadata-accessor.ts
index 29b5c68..e79e9e1 100644
--- a/lib/telegraf.metadata-accessor.ts
+++ b/lib/telegraf.metadata-accessor.ts
@@ -2,8 +2,8 @@ import { Injectable } from '@nestjs/common';
import { Reflector } from '@nestjs/core';
import {
UPDATE_LISTENER_TYPE_METADATA,
- TELEGRAF_MODULE_OPTIONS,
UPDATE_METADATA,
+ UPDATE_LISTENER_OPTIONS_METADATA,
} from './telegraf.constants';
import { ListenerType } from './enums';
@@ -22,7 +22,10 @@ export class TelegrafMetadataAccessor {
);
}
- getListenerOptions(target: Function): unknown | undefined {
- return this.reflector.get(TELEGRAF_MODULE_OPTIONS, target);
+ getListenerOptions(target: Function): unknown | undefined {
+ return this.reflector.get(
+ UPDATE_LISTENER_OPTIONS_METADATA,
+ target,
+ );
}
}
From 1ecc43f2a9c9032a83dd254875755d2d8e595d02 Mon Sep 17 00:00:00 2001
From: unknown
Date: Sat, 26 Dec 2020 16:29:43 +0300
Subject: [PATCH 065/101] refactor(): remove unused decorator
---
lib/middleware/decorators/middleware.decorator.ts | 4 ----
1 file changed, 4 deletions(-)
delete mode 100644 lib/middleware/decorators/middleware.decorator.ts
diff --git a/lib/middleware/decorators/middleware.decorator.ts b/lib/middleware/decorators/middleware.decorator.ts
deleted file mode 100644
index 29541ec..0000000
--- a/lib/middleware/decorators/middleware.decorator.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-import { SetMetadata } from '@nestjs/common';
-
-export const Middleware = (): ClassDecorator =>
- SetMetadata('TELEGRAF_MIDDLEWARE', true);
From f10df2e96057cb61e5009cdc8a3ccf1bd1cabadf Mon Sep 17 00:00:00 2001
From: unknown
Date: Sat, 26 Dec 2020 16:48:04 +0300
Subject: [PATCH 066/101] feat(sample): make echo bot
---
sample/app.module.ts | 3 ++-
sample/app.update.ts | 32 ++++++++++++++++++++++++++++++--
sample/echo.service.ts | 8 ++++++++
3 files changed, 40 insertions(+), 3 deletions(-)
create mode 100644 sample/echo.service.ts
diff --git a/sample/app.module.ts b/sample/app.module.ts
index e35a9f4..19b71ac 100644
--- a/sample/app.module.ts
+++ b/sample/app.module.ts
@@ -1,5 +1,6 @@
import { Module } from '@nestjs/common';
import { TelegrafModule } from '../lib';
+import { EchoService } from './echo.service';
import { AppUpdate } from './app.update';
@Module({
@@ -8,6 +9,6 @@ import { AppUpdate } from './app.update';
token: '1467731595:AAHCvH65H9VQYKF9jE-E8c2rXsQBVAYseg8',
}),
],
- providers: [AppUpdate],
+ providers: [EchoService, AppUpdate],
})
export class AppModule {}
diff --git a/sample/app.update.ts b/sample/app.update.ts
index a0dc748..dab2a76 100644
--- a/sample/app.update.ts
+++ b/sample/app.update.ts
@@ -1,9 +1,37 @@
-import { On, Update } from '../lib/decorators';
+import { Telegraf } from 'telegraf';
+import { Help, InjectBot, On, Start, Update } from '../lib/decorators';
+import { Context } from '../lib/interfaces';
+import { EchoService } from './echo.service';
@Update()
export class AppUpdate {
+ constructor(
+ @InjectBot()
+ private readonly bot: Telegraf,
+ private readonly echoService: EchoService,
+ ) {}
+
+ @Start()
+ async onStart(ctx: Context): Promise {
+ const me = await this.bot.telegram.getMe();
+ await ctx.reply(`Hey, I'm ${me.first_name}`);
+ }
+
+ @Help()
+ async onHelp(ctx: Context): Promise {
+ await ctx.reply('Send me any text');
+ }
+
@On('message')
- onMessage(): void {
+ async onMessage(ctx: Context): Promise {
console.log('New message received');
+
+ if ('text' in ctx.message) {
+ const messageText = ctx.message.text;
+ const echoText = this.echoService.echo(messageText);
+ await ctx.reply(echoText);
+ } else {
+ await ctx.reply('Only text messages');
+ }
}
}
diff --git a/sample/echo.service.ts b/sample/echo.service.ts
new file mode 100644
index 0000000..2603cc2
--- /dev/null
+++ b/sample/echo.service.ts
@@ -0,0 +1,8 @@
+import { Injectable } from '@nestjs/common';
+
+@Injectable()
+export class EchoService {
+ echo(text: string): string {
+ return `Echo: ${text}`;
+ }
+}
From 36f67ce29d5f5ae20f2bede9dbc9dd1fe949bd50 Mon Sep 17 00:00:00 2001
From: unknown
Date: Sat, 26 Dec 2020 23:19:30 +0300
Subject: [PATCH 067/101] refactor(): reply switch with dynamic telegraf method
call
---
lib/decorators/core/index.ts | 3 +-
.../{ => core}/inject-bot.decorator.ts | 2 +-
lib/decorators/core/use.decorator.ts | 12 --
lib/decorators/index.ts | 1 -
lib/decorators/listeners/action.decorator.ts | 14 +--
lib/decorators/listeners/cashtag.decorator.ts | 14 +--
lib/decorators/listeners/command.decorator.ts | 14 +--
lib/decorators/listeners/email.decorator.ts | 14 +--
.../listeners/game-query.decorator.ts | 6 +-
lib/decorators/listeners/hashtag.decorator.ts | 14 +--
lib/decorators/listeners/hears.decorator.ts | 14 +--
lib/decorators/listeners/help.decorator.ts | 6 +-
lib/decorators/listeners/index.ts | 2 +
.../listeners/inline-query.decorator.ts | 14 +--
lib/decorators/listeners/mention.decorator.ts | 14 +--
.../{core => listeners}/on.decorator.ts | 14 +--
lib/decorators/listeners/phone.decorator.ts | 14 +--
.../listeners/settings.decorator.ts | 6 +-
lib/decorators/listeners/start.decorator.ts | 6 +-
.../listeners/text-link.decorator.ts | 16 +--
.../listeners/text-mention.decorator.ts | 16 +--
lib/decorators/listeners/url.decorator.ts | 14 +--
lib/decorators/listeners/use.decorator.ts | 12 ++
lib/enums/index.ts | 2 +-
...-type.enum.ts => listener-menthod.enum.ts} | 2 +-
lib/enums/update-paramtypes.enum.ts | 5 +
lib/telegraf.constants.ts | 4 +-
lib/telegraf.explorer.ts | 115 ++----------------
lib/telegraf.metadata-accessor.ts | 20 ++-
29 files changed, 106 insertions(+), 284 deletions(-)
rename lib/decorators/{ => core}/inject-bot.decorator.ts (66%)
delete mode 100644 lib/decorators/core/use.decorator.ts
rename lib/decorators/{core => listeners}/on.decorator.ts (56%)
create mode 100644 lib/decorators/listeners/use.decorator.ts
rename lib/enums/{listener-type.enum.ts => listener-menthod.enum.ts} (93%)
create mode 100644 lib/enums/update-paramtypes.enum.ts
diff --git a/lib/decorators/core/index.ts b/lib/decorators/core/index.ts
index c7875e3..7d609ad 100644
--- a/lib/decorators/core/index.ts
+++ b/lib/decorators/core/index.ts
@@ -1,3 +1,2 @@
-export * from './on.decorator';
export * from './update.decorator';
-export * from './use.decorator';
+export * from './inject-bot.decorator';
diff --git a/lib/decorators/inject-bot.decorator.ts b/lib/decorators/core/inject-bot.decorator.ts
similarity index 66%
rename from lib/decorators/inject-bot.decorator.ts
rename to lib/decorators/core/inject-bot.decorator.ts
index 76ef284..f697bd7 100644
--- a/lib/decorators/inject-bot.decorator.ts
+++ b/lib/decorators/core/inject-bot.decorator.ts
@@ -1,4 +1,4 @@
import { Inject } from '@nestjs/common';
-import { TelegrafProvider } from '../telegraf.provider';
+import { TelegrafProvider } from '../../telegraf.provider';
export const InjectBot = (): ParameterDecorator => Inject(TelegrafProvider);
diff --git a/lib/decorators/core/use.decorator.ts b/lib/decorators/core/use.decorator.ts
deleted file mode 100644
index 8b393e6..0000000
--- a/lib/decorators/core/use.decorator.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import { SetMetadata } from '@nestjs/common';
-import { UPDATE_LISTENER_TYPE_METADATA } from '../../telegraf.constants';
-import { ListenerType } from '../../enums/listener-type.enum';
-
-/**
- * Registers a middleware.
- *
- * @see https://telegraf.js.org/#/?id=use
- */
-export const Use = (): MethodDecorator => {
- return SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.Use);
-};
diff --git a/lib/decorators/index.ts b/lib/decorators/index.ts
index dd680b1..f6f8104 100644
--- a/lib/decorators/index.ts
+++ b/lib/decorators/index.ts
@@ -1,3 +1,2 @@
-export * from './inject-bot.decorator';
export * from './core';
export * from './listeners';
diff --git a/lib/decorators/listeners/action.decorator.ts b/lib/decorators/listeners/action.decorator.ts
index 1a8a5a1..4fae6e7 100644
--- a/lib/decorators/listeners/action.decorator.ts
+++ b/lib/decorators/listeners/action.decorator.ts
@@ -1,14 +1,10 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
UPDATE_LISTENER_OPTIONS_METADATA,
- UPDATE_LISTENER_TYPE_METADATA,
+ UPDATE_LISTENER_METHOD_METADATA,
} from '../../telegraf.constants';
+import { ListenerMethod } from '../../enums';
import { TelegrafActionTriggers } from '../../telegraf.types';
-import { ListenerType } from '../../enums/listener-type.enum';
-
-export interface ActionOptions {
- triggers: TelegrafActionTriggers;
-}
/**
* Registers middleware for handling callback_data actions with regular expressions.
@@ -17,9 +13,7 @@ export interface ActionOptions {
*/
export const Action = (triggers: TelegrafActionTriggers): MethodDecorator => {
return applyDecorators(
- SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.Action),
- SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, {
- triggers,
- } as ActionOptions),
+ SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.Action),
+ SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, [triggers]),
);
};
diff --git a/lib/decorators/listeners/cashtag.decorator.ts b/lib/decorators/listeners/cashtag.decorator.ts
index 8b4f859..a43dbcc 100644
--- a/lib/decorators/listeners/cashtag.decorator.ts
+++ b/lib/decorators/listeners/cashtag.decorator.ts
@@ -1,14 +1,10 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
UPDATE_LISTENER_OPTIONS_METADATA,
- UPDATE_LISTENER_TYPE_METADATA,
+ UPDATE_LISTENER_METHOD_METADATA,
} from '../../telegraf.constants';
+import { ListenerMethod } from '../../enums';
import { TelegrafCashtag } from '../../telegraf.types';
-import { ListenerType } from '../../enums/listener-type.enum';
-
-export interface CashtagOptions {
- cashtag: TelegrafCashtag;
-}
/**
* Cashtag handling.
@@ -17,9 +13,7 @@ export interface CashtagOptions {
*/
export const Cashtag = (cashtag: TelegrafCashtag): MethodDecorator => {
return applyDecorators(
- SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.Cashtag),
- SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, {
- cashtag,
- } as CashtagOptions),
+ SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.Cashtag),
+ SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, [cashtag]),
);
};
diff --git a/lib/decorators/listeners/command.decorator.ts b/lib/decorators/listeners/command.decorator.ts
index 15d4d36..6c668d6 100644
--- a/lib/decorators/listeners/command.decorator.ts
+++ b/lib/decorators/listeners/command.decorator.ts
@@ -1,15 +1,11 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
UPDATE_LISTENER_OPTIONS_METADATA,
- UPDATE_LISTENER_TYPE_METADATA,
+ UPDATE_LISTENER_METHOD_METADATA,
} from '../../telegraf.constants';
-import { ListenerType } from '../../enums/listener-type.enum';
+import { ListenerMethod } from '../../enums';
import { TelegrafCommand } from '../../telegraf.types';
-export interface CommandOptions {
- command: TelegrafCommand;
-}
-
/**
* Command handling.
*
@@ -17,9 +13,7 @@ export interface CommandOptions {
*/
export const Command = (command: TelegrafCommand): MethodDecorator => {
return applyDecorators(
- SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.Command),
- SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, {
- command: command,
- } as CommandOptions),
+ SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.Command),
+ SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, [command]),
);
};
diff --git a/lib/decorators/listeners/email.decorator.ts b/lib/decorators/listeners/email.decorator.ts
index 23aad1b..5658bdb 100644
--- a/lib/decorators/listeners/email.decorator.ts
+++ b/lib/decorators/listeners/email.decorator.ts
@@ -1,15 +1,11 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
UPDATE_LISTENER_OPTIONS_METADATA,
- UPDATE_LISTENER_TYPE_METADATA,
+ UPDATE_LISTENER_METHOD_METADATA,
} from '../../telegraf.constants';
-import { ListenerType } from '../../enums/listener-type.enum';
+import { ListenerMethod } from '../../enums';
import { TelegrafEmail } from '../../telegraf.types';
-export interface EmailOptions {
- email: TelegrafEmail;
-}
-
/**
* Registers middleware for handling messages with email entity.
*
@@ -17,9 +13,7 @@ export interface EmailOptions {
*/
export const Email = (email: TelegrafEmail): MethodDecorator => {
return applyDecorators(
- SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.Email),
- SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, {
- email,
- } as EmailOptions),
+ SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.Email),
+ SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, [email]),
);
};
diff --git a/lib/decorators/listeners/game-query.decorator.ts b/lib/decorators/listeners/game-query.decorator.ts
index 898b1d5..525791c 100644
--- a/lib/decorators/listeners/game-query.decorator.ts
+++ b/lib/decorators/listeners/game-query.decorator.ts
@@ -1,6 +1,6 @@
import { SetMetadata } from '@nestjs/common';
-import { UPDATE_LISTENER_TYPE_METADATA } from '../../telegraf.constants';
-import { ListenerType } from '../../enums/listener-type.enum';
+import { UPDATE_LISTENER_METHOD_METADATA } from '../../telegraf.constants';
+import { ListenerMethod } from '../../enums';
/**
* Registers middleware for handling callback_data actions with game query.
@@ -8,5 +8,5 @@ import { ListenerType } from '../../enums/listener-type.enum';
* @see https://telegraf.js.org/#/?id=inlinequery
*/
export const GameQuery = (): MethodDecorator => {
- return SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.GameQuery);
+ return SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.GameQuery);
};
diff --git a/lib/decorators/listeners/hashtag.decorator.ts b/lib/decorators/listeners/hashtag.decorator.ts
index 4d344c6..012e723 100644
--- a/lib/decorators/listeners/hashtag.decorator.ts
+++ b/lib/decorators/listeners/hashtag.decorator.ts
@@ -1,15 +1,11 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
UPDATE_LISTENER_OPTIONS_METADATA,
- UPDATE_LISTENER_TYPE_METADATA,
+ UPDATE_LISTENER_METHOD_METADATA,
} from '../../telegraf.constants';
-import { ListenerType } from '../../enums/listener-type.enum';
+import { ListenerMethod } from '../../enums';
import { TelegrafHashtag } from '../../telegraf.types';
-export interface HashtagOptions {
- hashtag: TelegrafHashtag;
-}
-
/**
* Hashtag handling.
*
@@ -17,9 +13,7 @@ export interface HashtagOptions {
*/
export const Hashtag = (hashtag: TelegrafHashtag): MethodDecorator => {
return applyDecorators(
- SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.Hashtag),
- SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, {
- hashtag,
- } as HashtagOptions),
+ SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.Hashtag),
+ SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, [hashtag]),
);
};
diff --git a/lib/decorators/listeners/hears.decorator.ts b/lib/decorators/listeners/hears.decorator.ts
index 760409a..8c2bfd2 100644
--- a/lib/decorators/listeners/hears.decorator.ts
+++ b/lib/decorators/listeners/hears.decorator.ts
@@ -1,15 +1,11 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
UPDATE_LISTENER_OPTIONS_METADATA,
- UPDATE_LISTENER_TYPE_METADATA,
+ UPDATE_LISTENER_METHOD_METADATA,
} from '../../telegraf.constants';
-import { ListenerType } from '../../enums';
+import { ListenerMethod } from '../../enums';
import { TelegrafHearsTriggers } from '../../telegraf.types';
-export interface HearsOptions {
- triggers: TelegrafHearsTriggers;
-}
-
/**
* Registers middleware for handling text messages.
*
@@ -17,9 +13,7 @@ export interface HearsOptions {
*/
export const Hears = (triggers: TelegrafHearsTriggers): MethodDecorator => {
return applyDecorators(
- SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.Hears),
- SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, {
- triggers,
- } as HearsOptions),
+ SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.Hears),
+ SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, [triggers]),
);
};
diff --git a/lib/decorators/listeners/help.decorator.ts b/lib/decorators/listeners/help.decorator.ts
index 9909f1d..c7a17fb 100644
--- a/lib/decorators/listeners/help.decorator.ts
+++ b/lib/decorators/listeners/help.decorator.ts
@@ -1,6 +1,6 @@
import { SetMetadata } from '@nestjs/common';
-import { UPDATE_LISTENER_TYPE_METADATA } from '../../telegraf.constants';
-import { ListenerType } from '../../enums/listener-type.enum';
+import { UPDATE_LISTENER_METHOD_METADATA } from '../../telegraf.constants';
+import { ListenerMethod } from '../../enums';
/**
* Handler for /help command.
@@ -8,5 +8,5 @@ import { ListenerType } from '../../enums/listener-type.enum';
* @see https://telegraf.js.org/#/?id=help
*/
export const Help = (): MethodDecorator => {
- return SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.Help);
+ return SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.Help);
};
diff --git a/lib/decorators/listeners/index.ts b/lib/decorators/listeners/index.ts
index 2108a90..a332f5a 100644
--- a/lib/decorators/listeners/index.ts
+++ b/lib/decorators/listeners/index.ts
@@ -1,3 +1,5 @@
+export * from './on.decorator';
+export * from './use.decorator';
export * from './action.decorator';
export * from './cashtag.decorator';
export * from './command.decorator';
diff --git a/lib/decorators/listeners/inline-query.decorator.ts b/lib/decorators/listeners/inline-query.decorator.ts
index f9a4efd..641af40 100644
--- a/lib/decorators/listeners/inline-query.decorator.ts
+++ b/lib/decorators/listeners/inline-query.decorator.ts
@@ -1,15 +1,11 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
UPDATE_LISTENER_OPTIONS_METADATA,
- UPDATE_LISTENER_TYPE_METADATA,
+ UPDATE_LISTENER_METHOD_METADATA,
} from '../../telegraf.constants';
-import { ListenerType } from '../../enums/listener-type.enum';
+import { ListenerMethod } from '../../enums';
import { TelegrafInlineQueryTriggers } from '../../telegraf.types';
-export interface InlineQueryOptions {
- triggers: TelegrafInlineQueryTriggers;
-}
-
/**
* Registers middleware for handling inline_query actions with regular expressions.
*
@@ -19,9 +15,7 @@ export const InlineQuery = (
triggers: TelegrafInlineQueryTriggers,
): MethodDecorator => {
return applyDecorators(
- SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.InlineQuery),
- SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, {
- triggers,
- } as InlineQueryOptions),
+ SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.InlineQuery),
+ SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, [triggers]),
);
};
diff --git a/lib/decorators/listeners/mention.decorator.ts b/lib/decorators/listeners/mention.decorator.ts
index db25ff8..9eaeaee 100644
--- a/lib/decorators/listeners/mention.decorator.ts
+++ b/lib/decorators/listeners/mention.decorator.ts
@@ -1,15 +1,11 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
UPDATE_LISTENER_OPTIONS_METADATA,
- UPDATE_LISTENER_TYPE_METADATA,
+ UPDATE_LISTENER_METHOD_METADATA,
} from '../../telegraf.constants';
-import { ListenerType } from '../../enums/listener-type.enum';
+import { ListenerMethod } from '../../enums';
import { TelegrafMention } from '../../telegraf.types';
-export interface MentionOptions {
- mention: TelegrafMention;
-}
-
/**
* Mention handling.
*
@@ -17,9 +13,7 @@ export interface MentionOptions {
*/
export const Mention = (mention: TelegrafMention): MethodDecorator => {
return applyDecorators(
- SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.Mention),
- SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, {
- mention,
- } as MentionOptions),
+ SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.Mention),
+ SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, [mention]),
);
};
diff --git a/lib/decorators/core/on.decorator.ts b/lib/decorators/listeners/on.decorator.ts
similarity index 56%
rename from lib/decorators/core/on.decorator.ts
rename to lib/decorators/listeners/on.decorator.ts
index 17b052b..c467e51 100644
--- a/lib/decorators/core/on.decorator.ts
+++ b/lib/decorators/listeners/on.decorator.ts
@@ -1,15 +1,11 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
UPDATE_LISTENER_OPTIONS_METADATA,
- UPDATE_LISTENER_TYPE_METADATA,
+ UPDATE_LISTENER_METHOD_METADATA,
} from '../../telegraf.constants';
-import { ListenerType } from '../../enums/listener-type.enum';
+import { ListenerMethod } from '../../enums';
import { TelegrafUpdateType } from '../../telegraf.types';
-export interface OnOptions {
- updateTypes: TelegrafUpdateType;
-}
-
/**
* Registers middleware for provided update type.
*
@@ -17,9 +13,7 @@ export interface OnOptions {
*/
export const On = (updateTypes: TelegrafUpdateType): MethodDecorator => {
return applyDecorators(
- SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.On),
- SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, {
- updateTypes,
- } as OnOptions),
+ SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.On),
+ SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, [updateTypes]),
);
};
diff --git a/lib/decorators/listeners/phone.decorator.ts b/lib/decorators/listeners/phone.decorator.ts
index f327762..b217804 100644
--- a/lib/decorators/listeners/phone.decorator.ts
+++ b/lib/decorators/listeners/phone.decorator.ts
@@ -1,15 +1,11 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
UPDATE_LISTENER_OPTIONS_METADATA,
- UPDATE_LISTENER_TYPE_METADATA,
+ UPDATE_LISTENER_METHOD_METADATA,
} from '../../telegraf.constants';
-import { ListenerType } from '../../enums/listener-type.enum';
+import { ListenerMethod } from '../../enums';
import { TelegrafPhone } from '../../telegraf.types';
-export interface PhoneOptions {
- phone: TelegrafPhone;
-}
-
/**
* Phone number handling.
*
@@ -17,9 +13,7 @@ export interface PhoneOptions {
*/
export const Phone = (phone: TelegrafPhone): MethodDecorator => {
return applyDecorators(
- SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.Phone),
- SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, {
- phone,
- } as PhoneOptions),
+ SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.Phone),
+ SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, [phone]),
);
};
diff --git a/lib/decorators/listeners/settings.decorator.ts b/lib/decorators/listeners/settings.decorator.ts
index 8c25331..d53048c 100644
--- a/lib/decorators/listeners/settings.decorator.ts
+++ b/lib/decorators/listeners/settings.decorator.ts
@@ -1,6 +1,6 @@
import { SetMetadata } from '@nestjs/common';
-import { UPDATE_LISTENER_TYPE_METADATA } from '../../telegraf.constants';
-import { ListenerType } from '../../enums/listener-type.enum';
+import { UPDATE_LISTENER_METHOD_METADATA } from '../../telegraf.constants';
+import { ListenerMethod } from '../../enums';
/**
* Handler for /settings command.
@@ -8,5 +8,5 @@ import { ListenerType } from '../../enums/listener-type.enum';
* @see https://telegraf.js.org/#/?id=settings
*/
export const Settings = (): MethodDecorator => {
- return SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.Settings);
+ return SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.Settings);
};
diff --git a/lib/decorators/listeners/start.decorator.ts b/lib/decorators/listeners/start.decorator.ts
index 6de6e55..ec13aa0 100644
--- a/lib/decorators/listeners/start.decorator.ts
+++ b/lib/decorators/listeners/start.decorator.ts
@@ -1,6 +1,6 @@
import { SetMetadata } from '@nestjs/common';
-import { UPDATE_LISTENER_TYPE_METADATA } from '../../telegraf.constants';
-import { ListenerType } from '../../enums/listener-type.enum';
+import { UPDATE_LISTENER_METHOD_METADATA } from '../../telegraf.constants';
+import { ListenerMethod } from '../../enums';
/**
* Handler for /start command.
@@ -8,5 +8,5 @@ import { ListenerType } from '../../enums/listener-type.enum';
* @see https://telegraf.js.org/#/?id=start
*/
export const Start = (): MethodDecorator => {
- return SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.Start);
+ return SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.Start);
};
diff --git a/lib/decorators/listeners/text-link.decorator.ts b/lib/decorators/listeners/text-link.decorator.ts
index cfefc96..9f7fa44 100644
--- a/lib/decorators/listeners/text-link.decorator.ts
+++ b/lib/decorators/listeners/text-link.decorator.ts
@@ -1,25 +1,19 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
UPDATE_LISTENER_OPTIONS_METADATA,
- UPDATE_LISTENER_TYPE_METADATA,
+ UPDATE_LISTENER_METHOD_METADATA,
} from '../../telegraf.constants';
-import { ListenerType } from '../../enums/listener-type.enum';
+import { ListenerMethod } from '../../enums';
import { TelegrafTextLink } from '../../telegraf.types';
-export interface TextLinkOptions {
- link: TelegrafTextLink;
-}
-
/**
* Registers middleware for handling messages with text_link entity.
*
* @see https://telegraf.js.org/#/?id=telegraf-textlink
*/
-export const TetxLink = (link: TelegrafTextLink): MethodDecorator => {
+export const TextLink = (link: TelegrafTextLink): MethodDecorator => {
return applyDecorators(
- SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.TextLink),
- SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, {
- link,
- } as TextLinkOptions),
+ SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.TextLink),
+ SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, [link]),
);
};
diff --git a/lib/decorators/listeners/text-mention.decorator.ts b/lib/decorators/listeners/text-mention.decorator.ts
index fc8cecc..0791ab6 100644
--- a/lib/decorators/listeners/text-mention.decorator.ts
+++ b/lib/decorators/listeners/text-mention.decorator.ts
@@ -1,25 +1,19 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
UPDATE_LISTENER_OPTIONS_METADATA,
- UPDATE_LISTENER_TYPE_METADATA,
+ UPDATE_LISTENER_METHOD_METADATA,
} from '../../telegraf.constants';
-import { ListenerType } from '../../enums/listener-type.enum';
+import { ListenerMethod } from '../../enums';
import { TelegrafTextMention } from '../../telegraf.types';
-export interface TextMentionOptions {
- mention: TelegrafTextMention;
-}
-
/**
* Registers middleware for handling messages with text_mention entity.
*
* @see https://telegraf.js.org/#/?id=telegraf-textlink
*/
-export const TetxMention = (mention: TelegrafTextMention): MethodDecorator => {
+export const TextMention = (mention: TelegrafTextMention): MethodDecorator => {
return applyDecorators(
- SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.TextMention),
- SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, {
- mention,
- } as TextMentionOptions),
+ SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.TextMention),
+ SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, [mention]),
);
};
diff --git a/lib/decorators/listeners/url.decorator.ts b/lib/decorators/listeners/url.decorator.ts
index b104dd2..04f9704 100644
--- a/lib/decorators/listeners/url.decorator.ts
+++ b/lib/decorators/listeners/url.decorator.ts
@@ -1,15 +1,11 @@
import { applyDecorators, SetMetadata } from '@nestjs/common';
import {
UPDATE_LISTENER_OPTIONS_METADATA,
- UPDATE_LISTENER_TYPE_METADATA,
+ UPDATE_LISTENER_METHOD_METADATA,
} from '../../telegraf.constants';
-import { ListenerType } from '../../enums/listener-type.enum';
+import { ListenerMethod } from '../../enums';
import { TelegrafUrl } from '../../telegraf.types';
-export interface UrlOptions {
- url: TelegrafUrl;
-}
-
/**
* Registers middleware for handling messages with url entity.
*
@@ -17,9 +13,7 @@ export interface UrlOptions {
*/
export const Url = (url: TelegrafUrl): MethodDecorator => {
return applyDecorators(
- SetMetadata(UPDATE_LISTENER_TYPE_METADATA, ListenerType.Url),
- SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, {
- url,
- } as UrlOptions),
+ SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.Url),
+ SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, [url]),
);
};
diff --git a/lib/decorators/listeners/use.decorator.ts b/lib/decorators/listeners/use.decorator.ts
new file mode 100644
index 0000000..84c7d2c
--- /dev/null
+++ b/lib/decorators/listeners/use.decorator.ts
@@ -0,0 +1,12 @@
+import { SetMetadata } from '@nestjs/common';
+import { UPDATE_LISTENER_METHOD_METADATA } from '../../telegraf.constants';
+import { ListenerMethod } from '../../enums';
+
+/**
+ * Registers a middleware.
+ *
+ * @see https://telegraf.js.org/#/?id=use
+ */
+export const Use = (): MethodDecorator => {
+ return SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.Use);
+};
diff --git a/lib/enums/index.ts b/lib/enums/index.ts
index 1f890a3..5f145a0 100644
--- a/lib/enums/index.ts
+++ b/lib/enums/index.ts
@@ -1 +1 @@
-export * from './listener-type.enum';
+export * from './listener-menthod.enum';
diff --git a/lib/enums/listener-type.enum.ts b/lib/enums/listener-menthod.enum.ts
similarity index 93%
rename from lib/enums/listener-type.enum.ts
rename to lib/enums/listener-menthod.enum.ts
index 932382f..05a55eb 100644
--- a/lib/enums/listener-type.enum.ts
+++ b/lib/enums/listener-menthod.enum.ts
@@ -1,4 +1,4 @@
-export enum ListenerType {
+export enum ListenerMethod {
Use = 'use',
On = 'on',
Hears = 'hears',
diff --git a/lib/enums/update-paramtypes.enum.ts b/lib/enums/update-paramtypes.enum.ts
new file mode 100644
index 0000000..e5a3303
--- /dev/null
+++ b/lib/enums/update-paramtypes.enum.ts
@@ -0,0 +1,5 @@
+export enum UpdateParamtypes {
+ CONTEXT,
+ NEXT,
+ MESSAGE,
+}
diff --git a/lib/telegraf.constants.ts b/lib/telegraf.constants.ts
index 6bba348..ce4f7f1 100644
--- a/lib/telegraf.constants.ts
+++ b/lib/telegraf.constants.ts
@@ -1,6 +1,8 @@
export const TELEGRAF_MODULE_OPTIONS = 'TELEGRAF_MODULE_OPTIONS';
export const UPDATE_METADATA = 'UPDATE_METADATA';
-export const UPDATE_LISTENER_TYPE_METADATA = 'UPDATE_LISTENER_TYPE_METADATA';
+export const UPDATE_LISTENER_METHOD_METADATA =
+ 'UPDATE_LISTENER_METHOD_METADATA';
export const UPDATE_LISTENER_OPTIONS_METADATA =
'UPDATE_LISTENER_OPTIONS_METADATA';
+export const UPDATE_ARGS_METADATA = 'UPDATE_ARGS_METADATA';
diff --git a/lib/telegraf.explorer.ts b/lib/telegraf.explorer.ts
index 0d2751b..6d9f427 100644
--- a/lib/telegraf.explorer.ts
+++ b/lib/telegraf.explorer.ts
@@ -1,24 +1,8 @@
import { Injectable, OnModuleInit } from '@nestjs/common';
-import { DiscoveryService, ModuleRef } from '@nestjs/core';
+import { DiscoveryService } from '@nestjs/core';
import { MetadataScanner } from '@nestjs/core/metadata-scanner';
import { TelegrafMetadataAccessor } from './telegraf.metadata-accessor';
import { TelegrafProvider } from './telegraf.provider';
-import { ListenerType } from './enums';
-import {
- ActionOptions,
- CashtagOptions,
- CommandOptions,
- EmailOptions,
- HashtagOptions,
- HearsOptions,
- InlineQueryOptions,
- MentionOptions,
- OnOptions,
- PhoneOptions,
- TextLinkOptions,
- TextMentionOptions,
- UrlOptions,
-} from './decorators';
import { InstanceWrapper } from '@nestjs/core/injector/instance-wrapper';
@Injectable()
@@ -35,7 +19,7 @@ export class TelegrafExplorer implements OnModuleInit {
}
explore(): void {
- const updateClasses = this.filterUpdateClass();
+ const updateClasses = this.filterUpdateClasses();
updateClasses.forEach((wrapper) => {
const { instance } = wrapper;
@@ -49,7 +33,7 @@ export class TelegrafExplorer implements OnModuleInit {
});
}
- private filterUpdateClass(): InstanceWrapper[] {
+ private filterUpdateClasses(): InstanceWrapper[] {
return this.discoveryService
.getProviders()
.filter((wrapper) => wrapper.instance)
@@ -65,97 +49,12 @@ export class TelegrafExplorer implements OnModuleInit {
const methodRef = instance[methodKey];
const middlewareFn = methodRef.bind(instance);
- const listenerType = this.metadataAccessor.getListenerType(methodRef);
- if (!listenerType) return;
+ const listenerMethod = this.metadataAccessor.getListenerMethod(methodRef);
+ if (!listenerMethod) return;
const listenerOptions = this.metadataAccessor.getListenerOptions(methodRef);
- switch (listenerType) {
- case ListenerType.On: {
- const { updateTypes } = listenerOptions as OnOptions;
- this.telegraf.on(updateTypes, middlewareFn);
- break;
- }
- case ListenerType.Use: {
- this.telegraf.use(middlewareFn);
- break;
- }
- case ListenerType.Start: {
- this.telegraf.start(middlewareFn);
- break;
- }
- case ListenerType.Help: {
- this.telegraf.help(middlewareFn);
- break;
- }
- case ListenerType.Settings: {
- this.telegraf.settings(middlewareFn);
- break;
- }
- case ListenerType.Hears: {
- const { triggers } = listenerOptions as HearsOptions;
- this.telegraf.hears(triggers, middlewareFn);
- break;
- }
- case ListenerType.Command: {
- const { command } = listenerOptions as CommandOptions;
- this.telegraf.command(command, middlewareFn);
- break;
- }
- case ListenerType.Action: {
- const { triggers } = listenerOptions as ActionOptions;
- this.telegraf.action(triggers, middlewareFn);
- break;
- }
- case ListenerType.Mention: {
- const { mention } = listenerOptions as MentionOptions;
- this.telegraf.mention(mention, middlewareFn);
- break;
- }
- case ListenerType.Phone: {
- const { phone } = listenerOptions as PhoneOptions;
- this.telegraf.phone(phone, middlewareFn);
- break;
- }
- case ListenerType.Hashtag: {
- const { hashtag } = listenerOptions as HashtagOptions;
- this.telegraf.hashtag(hashtag, middlewareFn);
- break;
- }
- case ListenerType.Cashtag: {
- const { cashtag } = listenerOptions as CashtagOptions;
- this.telegraf.cashtag(cashtag, middlewareFn);
- break;
- }
- case ListenerType.Email: {
- const { email } = listenerOptions as EmailOptions;
- this.telegraf.email(email, middlewareFn);
- break;
- }
- case ListenerType.Url: {
- const { url } = listenerOptions as UrlOptions;
- this.telegraf.url(url, middlewareFn);
- break;
- }
- case ListenerType.TextLink: {
- const { link } = listenerOptions as TextLinkOptions;
- this.telegraf.textLink(link, middlewareFn);
- break;
- }
- case ListenerType.TextMention: {
- const { mention } = listenerOptions as TextMentionOptions;
- this.telegraf.textMention(mention, middlewareFn);
- break;
- }
- case ListenerType.InlineQuery: {
- const { triggers } = listenerOptions as InlineQueryOptions;
- this.telegraf.inlineQuery(triggers, middlewareFn);
- break;
- }
- case ListenerType.GameQuery: {
- this.telegraf.gameQuery(middlewareFn);
- break;
- }
- }
+ // NOTE: Disable spread operator checking because of error: "Expected at least 1 arguments, but got 1 or more."
+ (this.telegraf as any)[listenerMethod](...listenerOptions, middlewareFn);
}
}
diff --git a/lib/telegraf.metadata-accessor.ts b/lib/telegraf.metadata-accessor.ts
index e79e9e1..bb86898 100644
--- a/lib/telegraf.metadata-accessor.ts
+++ b/lib/telegraf.metadata-accessor.ts
@@ -1,31 +1,25 @@
import { Injectable } from '@nestjs/common';
import { Reflector } from '@nestjs/core';
import {
- UPDATE_LISTENER_TYPE_METADATA,
+ UPDATE_LISTENER_METHOD_METADATA,
UPDATE_METADATA,
UPDATE_LISTENER_OPTIONS_METADATA,
} from './telegraf.constants';
-import { ListenerType } from './enums';
+import { ListenerMethod } from './enums';
@Injectable()
export class TelegrafMetadataAccessor {
constructor(private readonly reflector: Reflector) {}
isUpdate(target: Function): boolean {
- return !!this.reflector.get(UPDATE_METADATA, target);
+ return !!this.reflector.get(UPDATE_METADATA, target);
}
- getListenerType(target: Function): ListenerType | undefined {
- return this.reflector.get(
- UPDATE_LISTENER_TYPE_METADATA,
- target,
- );
+ getListenerMethod(target: Function): ListenerMethod | undefined {
+ return this.reflector.get(UPDATE_LISTENER_METHOD_METADATA, target);
}
- getListenerOptions(target: Function): unknown | undefined {
- return this.reflector.get(
- UPDATE_LISTENER_OPTIONS_METADATA,
- target,
- );
+ getListenerOptions(target: Function): unknown[] {
+ return this.reflector.get(UPDATE_LISTENER_OPTIONS_METADATA, target) || [];
}
}
From 16969365f2455a7ee41045779a9195f29659f88c Mon Sep 17 00:00:00 2001
From: unknown
Date: Sun, 27 Dec 2020 11:03:25 +0300
Subject: [PATCH 068/101] refactor(): remove unused const
---
lib/telegraf.constants.ts | 1 -
1 file changed, 1 deletion(-)
diff --git a/lib/telegraf.constants.ts b/lib/telegraf.constants.ts
index ce4f7f1..2b61bcc 100644
--- a/lib/telegraf.constants.ts
+++ b/lib/telegraf.constants.ts
@@ -5,4 +5,3 @@ export const UPDATE_LISTENER_METHOD_METADATA =
'UPDATE_LISTENER_METHOD_METADATA';
export const UPDATE_LISTENER_OPTIONS_METADATA =
'UPDATE_LISTENER_OPTIONS_METADATA';
-export const UPDATE_ARGS_METADATA = 'UPDATE_ARGS_METADATA';
From b3dc258c70150c79b7d49d1362d2bc9fba365ae9 Mon Sep 17 00:00:00 2001
From: unknown
Date: Sun, 27 Dec 2020 21:35:01 +0300
Subject: [PATCH 069/101] !feat(): use dynamic types for listener decorators
---
lib/decorators/listeners/action.decorator.ts | 15 +------
lib/decorators/listeners/cashtag.decorator.ts | 15 +------
lib/decorators/listeners/command.decorator.ts | 15 +------
lib/decorators/listeners/email.decorator.ts | 15 +------
.../listeners/game-query.decorator.ts | 8 +---
lib/decorators/listeners/hashtag.decorator.ts | 15 +------
lib/decorators/listeners/hears.decorator.ts | 15 +------
lib/decorators/listeners/help.decorator.ts | 8 +---
.../listeners/inline-query.decorator.ts | 17 +-------
lib/decorators/listeners/mention.decorator.ts | 15 +------
lib/decorators/listeners/on.decorator.ts | 15 +------
lib/decorators/listeners/phone.decorator.ts | 15 +------
.../listeners/settings.decorator.ts | 8 +---
lib/decorators/listeners/start.decorator.ts | 8 +---
.../listeners/text-link.decorator.ts | 15 +------
.../listeners/text-mention.decorator.ts | 15 +------
lib/decorators/listeners/url.decorator.ts | 15 +------
lib/decorators/listeners/use.decorator.ts | 8 +---
lib/enums/index.ts | 1 -
lib/enums/listener-menthod.enum.ts | 20 ---------
lib/enums/update-paramtypes.enum.ts | 5 ---
lib/helpers/create-update-decorator.helper.ts | 15 +++++++
lib/interfaces/listener-metadata.interface.ts | 6 +++
lib/telegraf.constants.ts | 7 ++--
lib/telegraf.explorer.ts | 17 +++++---
lib/telegraf.metadata-accessor.ts | 13 ++----
lib/telegraf.provider.ts | 4 +-
lib/telegraf.types.ts | 42 +++++++++----------
28 files changed, 97 insertions(+), 270 deletions(-)
delete mode 100644 lib/enums/index.ts
delete mode 100644 lib/enums/listener-menthod.enum.ts
delete mode 100644 lib/enums/update-paramtypes.enum.ts
create mode 100644 lib/helpers/create-update-decorator.helper.ts
create mode 100644 lib/interfaces/listener-metadata.interface.ts
diff --git a/lib/decorators/listeners/action.decorator.ts b/lib/decorators/listeners/action.decorator.ts
index 4fae6e7..6a4c2ac 100644
--- a/lib/decorators/listeners/action.decorator.ts
+++ b/lib/decorators/listeners/action.decorator.ts
@@ -1,19 +1,8 @@
-import { applyDecorators, SetMetadata } from '@nestjs/common';
-import {
- UPDATE_LISTENER_OPTIONS_METADATA,
- UPDATE_LISTENER_METHOD_METADATA,
-} from '../../telegraf.constants';
-import { ListenerMethod } from '../../enums';
-import { TelegrafActionTriggers } from '../../telegraf.types';
+import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
/**
* Registers middleware for handling callback_data actions with regular expressions.
*
* @see https://telegraf.js.org/#/?id=action
*/
-export const Action = (triggers: TelegrafActionTriggers): MethodDecorator => {
- return applyDecorators(
- SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.Action),
- SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, [triggers]),
- );
-};
+export const Action = createUpdateDecorator('action');
diff --git a/lib/decorators/listeners/cashtag.decorator.ts b/lib/decorators/listeners/cashtag.decorator.ts
index a43dbcc..ab48729 100644
--- a/lib/decorators/listeners/cashtag.decorator.ts
+++ b/lib/decorators/listeners/cashtag.decorator.ts
@@ -1,19 +1,8 @@
-import { applyDecorators, SetMetadata } from '@nestjs/common';
-import {
- UPDATE_LISTENER_OPTIONS_METADATA,
- UPDATE_LISTENER_METHOD_METADATA,
-} from '../../telegraf.constants';
-import { ListenerMethod } from '../../enums';
-import { TelegrafCashtag } from '../../telegraf.types';
+import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
/**
* Cashtag handling.
*
* @see https://telegraf.js.org/#/?id=cashtag
*/
-export const Cashtag = (cashtag: TelegrafCashtag): MethodDecorator => {
- return applyDecorators(
- SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.Cashtag),
- SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, [cashtag]),
- );
-};
+export const Cashtag = createUpdateDecorator('cashtag');
diff --git a/lib/decorators/listeners/command.decorator.ts b/lib/decorators/listeners/command.decorator.ts
index 6c668d6..ec6e958 100644
--- a/lib/decorators/listeners/command.decorator.ts
+++ b/lib/decorators/listeners/command.decorator.ts
@@ -1,19 +1,8 @@
-import { applyDecorators, SetMetadata } from '@nestjs/common';
-import {
- UPDATE_LISTENER_OPTIONS_METADATA,
- UPDATE_LISTENER_METHOD_METADATA,
-} from '../../telegraf.constants';
-import { ListenerMethod } from '../../enums';
-import { TelegrafCommand } from '../../telegraf.types';
+import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
/**
* Command handling.
*
* @see https://telegraf.js.org/#/?id=command
*/
-export const Command = (command: TelegrafCommand): MethodDecorator => {
- return applyDecorators(
- SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.Command),
- SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, [command]),
- );
-};
+export const Command = createUpdateDecorator('command');
diff --git a/lib/decorators/listeners/email.decorator.ts b/lib/decorators/listeners/email.decorator.ts
index 5658bdb..2364d71 100644
--- a/lib/decorators/listeners/email.decorator.ts
+++ b/lib/decorators/listeners/email.decorator.ts
@@ -1,19 +1,8 @@
-import { applyDecorators, SetMetadata } from '@nestjs/common';
-import {
- UPDATE_LISTENER_OPTIONS_METADATA,
- UPDATE_LISTENER_METHOD_METADATA,
-} from '../../telegraf.constants';
-import { ListenerMethod } from '../../enums';
-import { TelegrafEmail } from '../../telegraf.types';
+import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
/**
* Registers middleware for handling messages with email entity.
*
* @see https://telegraf.js.org/#/?id=telegraf-email
*/
-export const Email = (email: TelegrafEmail): MethodDecorator => {
- return applyDecorators(
- SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.Email),
- SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, [email]),
- );
-};
+export const Email = createUpdateDecorator('email');
diff --git a/lib/decorators/listeners/game-query.decorator.ts b/lib/decorators/listeners/game-query.decorator.ts
index 525791c..3b8c227 100644
--- a/lib/decorators/listeners/game-query.decorator.ts
+++ b/lib/decorators/listeners/game-query.decorator.ts
@@ -1,12 +1,8 @@
-import { SetMetadata } from '@nestjs/common';
-import { UPDATE_LISTENER_METHOD_METADATA } from '../../telegraf.constants';
-import { ListenerMethod } from '../../enums';
+import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
/**
* Registers middleware for handling callback_data actions with game query.
*
* @see https://telegraf.js.org/#/?id=inlinequery
*/
-export const GameQuery = (): MethodDecorator => {
- return SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.GameQuery);
-};
+export const GameQuery = createUpdateDecorator('gameQuery');
diff --git a/lib/decorators/listeners/hashtag.decorator.ts b/lib/decorators/listeners/hashtag.decorator.ts
index 012e723..3c7514a 100644
--- a/lib/decorators/listeners/hashtag.decorator.ts
+++ b/lib/decorators/listeners/hashtag.decorator.ts
@@ -1,19 +1,8 @@
-import { applyDecorators, SetMetadata } from '@nestjs/common';
-import {
- UPDATE_LISTENER_OPTIONS_METADATA,
- UPDATE_LISTENER_METHOD_METADATA,
-} from '../../telegraf.constants';
-import { ListenerMethod } from '../../enums';
-import { TelegrafHashtag } from '../../telegraf.types';
+import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
/**
* Hashtag handling.
*
* @see https://telegraf.js.org/#/?id=hashtag
*/
-export const Hashtag = (hashtag: TelegrafHashtag): MethodDecorator => {
- return applyDecorators(
- SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.Hashtag),
- SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, [hashtag]),
- );
-};
+export const Hashtag = createUpdateDecorator('hashtag');
diff --git a/lib/decorators/listeners/hears.decorator.ts b/lib/decorators/listeners/hears.decorator.ts
index 8c2bfd2..b8f19a9 100644
--- a/lib/decorators/listeners/hears.decorator.ts
+++ b/lib/decorators/listeners/hears.decorator.ts
@@ -1,19 +1,8 @@
-import { applyDecorators, SetMetadata } from '@nestjs/common';
-import {
- UPDATE_LISTENER_OPTIONS_METADATA,
- UPDATE_LISTENER_METHOD_METADATA,
-} from '../../telegraf.constants';
-import { ListenerMethod } from '../../enums';
-import { TelegrafHearsTriggers } from '../../telegraf.types';
+import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
/**
* Registers middleware for handling text messages.
*
* @see https://telegraf.js.org/#/?id=hears
*/
-export const Hears = (triggers: TelegrafHearsTriggers): MethodDecorator => {
- return applyDecorators(
- SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.Hears),
- SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, [triggers]),
- );
-};
+export const Hears = createUpdateDecorator('hears');
diff --git a/lib/decorators/listeners/help.decorator.ts b/lib/decorators/listeners/help.decorator.ts
index c7a17fb..599d646 100644
--- a/lib/decorators/listeners/help.decorator.ts
+++ b/lib/decorators/listeners/help.decorator.ts
@@ -1,12 +1,8 @@
-import { SetMetadata } from '@nestjs/common';
-import { UPDATE_LISTENER_METHOD_METADATA } from '../../telegraf.constants';
-import { ListenerMethod } from '../../enums';
+import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
/**
* Handler for /help command.
*
* @see https://telegraf.js.org/#/?id=help
*/
-export const Help = (): MethodDecorator => {
- return SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.Help);
-};
+export const Help = createUpdateDecorator('help');
diff --git a/lib/decorators/listeners/inline-query.decorator.ts b/lib/decorators/listeners/inline-query.decorator.ts
index 641af40..abbdd39 100644
--- a/lib/decorators/listeners/inline-query.decorator.ts
+++ b/lib/decorators/listeners/inline-query.decorator.ts
@@ -1,21 +1,8 @@
-import { applyDecorators, SetMetadata } from '@nestjs/common';
-import {
- UPDATE_LISTENER_OPTIONS_METADATA,
- UPDATE_LISTENER_METHOD_METADATA,
-} from '../../telegraf.constants';
-import { ListenerMethod } from '../../enums';
-import { TelegrafInlineQueryTriggers } from '../../telegraf.types';
+import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
/**
* Registers middleware for handling inline_query actions with regular expressions.
*
* @see https://telegraf.js.org/#/?id=inlinequery
*/
-export const InlineQuery = (
- triggers: TelegrafInlineQueryTriggers,
-): MethodDecorator => {
- return applyDecorators(
- SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.InlineQuery),
- SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, [triggers]),
- );
-};
+export const InlineQuery = createUpdateDecorator('inlineQuery');
diff --git a/lib/decorators/listeners/mention.decorator.ts b/lib/decorators/listeners/mention.decorator.ts
index 9eaeaee..d6be512 100644
--- a/lib/decorators/listeners/mention.decorator.ts
+++ b/lib/decorators/listeners/mention.decorator.ts
@@ -1,19 +1,8 @@
-import { applyDecorators, SetMetadata } from '@nestjs/common';
-import {
- UPDATE_LISTENER_OPTIONS_METADATA,
- UPDATE_LISTENER_METHOD_METADATA,
-} from '../../telegraf.constants';
-import { ListenerMethod } from '../../enums';
-import { TelegrafMention } from '../../telegraf.types';
+import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
/**
* Mention handling.
*
* @see https://telegraf.js.org/#/?id=mention
*/
-export const Mention = (mention: TelegrafMention): MethodDecorator => {
- return applyDecorators(
- SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.Mention),
- SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, [mention]),
- );
-};
+export const Mention = createUpdateDecorator('mention');
diff --git a/lib/decorators/listeners/on.decorator.ts b/lib/decorators/listeners/on.decorator.ts
index c467e51..a6f717c 100644
--- a/lib/decorators/listeners/on.decorator.ts
+++ b/lib/decorators/listeners/on.decorator.ts
@@ -1,19 +1,8 @@
-import { applyDecorators, SetMetadata } from '@nestjs/common';
-import {
- UPDATE_LISTENER_OPTIONS_METADATA,
- UPDATE_LISTENER_METHOD_METADATA,
-} from '../../telegraf.constants';
-import { ListenerMethod } from '../../enums';
-import { TelegrafUpdateType } from '../../telegraf.types';
+import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
/**
* Registers middleware for provided update type.
*
* @see https://telegraf.js.org/#/?id=on
*/
-export const On = (updateTypes: TelegrafUpdateType): MethodDecorator => {
- return applyDecorators(
- SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.On),
- SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, [updateTypes]),
- );
-};
+export const On = createUpdateDecorator('on');
diff --git a/lib/decorators/listeners/phone.decorator.ts b/lib/decorators/listeners/phone.decorator.ts
index b217804..8feb92f 100644
--- a/lib/decorators/listeners/phone.decorator.ts
+++ b/lib/decorators/listeners/phone.decorator.ts
@@ -1,19 +1,8 @@
-import { applyDecorators, SetMetadata } from '@nestjs/common';
-import {
- UPDATE_LISTENER_OPTIONS_METADATA,
- UPDATE_LISTENER_METHOD_METADATA,
-} from '../../telegraf.constants';
-import { ListenerMethod } from '../../enums';
-import { TelegrafPhone } from '../../telegraf.types';
+import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
/**
* Phone number handling.
*
* @see https://telegraf.js.org/#/?id=phone
*/
-export const Phone = (phone: TelegrafPhone): MethodDecorator => {
- return applyDecorators(
- SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.Phone),
- SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, [phone]),
- );
-};
+export const Phone = createUpdateDecorator('phone');
diff --git a/lib/decorators/listeners/settings.decorator.ts b/lib/decorators/listeners/settings.decorator.ts
index d53048c..8f705f9 100644
--- a/lib/decorators/listeners/settings.decorator.ts
+++ b/lib/decorators/listeners/settings.decorator.ts
@@ -1,12 +1,8 @@
-import { SetMetadata } from '@nestjs/common';
-import { UPDATE_LISTENER_METHOD_METADATA } from '../../telegraf.constants';
-import { ListenerMethod } from '../../enums';
+import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
/**
* Handler for /settings command.
*
* @see https://telegraf.js.org/#/?id=settings
*/
-export const Settings = (): MethodDecorator => {
- return SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.Settings);
-};
+export const Settings = createUpdateDecorator('settings');
diff --git a/lib/decorators/listeners/start.decorator.ts b/lib/decorators/listeners/start.decorator.ts
index ec13aa0..6a084f0 100644
--- a/lib/decorators/listeners/start.decorator.ts
+++ b/lib/decorators/listeners/start.decorator.ts
@@ -1,12 +1,8 @@
-import { SetMetadata } from '@nestjs/common';
-import { UPDATE_LISTENER_METHOD_METADATA } from '../../telegraf.constants';
-import { ListenerMethod } from '../../enums';
+import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
/**
* Handler for /start command.
*
* @see https://telegraf.js.org/#/?id=start
*/
-export const Start = (): MethodDecorator => {
- return SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.Start);
-};
+export const Start = createUpdateDecorator('start');
diff --git a/lib/decorators/listeners/text-link.decorator.ts b/lib/decorators/listeners/text-link.decorator.ts
index 9f7fa44..0e91ad7 100644
--- a/lib/decorators/listeners/text-link.decorator.ts
+++ b/lib/decorators/listeners/text-link.decorator.ts
@@ -1,19 +1,8 @@
-import { applyDecorators, SetMetadata } from '@nestjs/common';
-import {
- UPDATE_LISTENER_OPTIONS_METADATA,
- UPDATE_LISTENER_METHOD_METADATA,
-} from '../../telegraf.constants';
-import { ListenerMethod } from '../../enums';
-import { TelegrafTextLink } from '../../telegraf.types';
+import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
/**
* Registers middleware for handling messages with text_link entity.
*
* @see https://telegraf.js.org/#/?id=telegraf-textlink
*/
-export const TextLink = (link: TelegrafTextLink): MethodDecorator => {
- return applyDecorators(
- SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.TextLink),
- SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, [link]),
- );
-};
+export const TextLink = createUpdateDecorator('textLink');
diff --git a/lib/decorators/listeners/text-mention.decorator.ts b/lib/decorators/listeners/text-mention.decorator.ts
index 0791ab6..ebd30e3 100644
--- a/lib/decorators/listeners/text-mention.decorator.ts
+++ b/lib/decorators/listeners/text-mention.decorator.ts
@@ -1,19 +1,8 @@
-import { applyDecorators, SetMetadata } from '@nestjs/common';
-import {
- UPDATE_LISTENER_OPTIONS_METADATA,
- UPDATE_LISTENER_METHOD_METADATA,
-} from '../../telegraf.constants';
-import { ListenerMethod } from '../../enums';
-import { TelegrafTextMention } from '../../telegraf.types';
+import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
/**
* Registers middleware for handling messages with text_mention entity.
*
* @see https://telegraf.js.org/#/?id=telegraf-textlink
*/
-export const TextMention = (mention: TelegrafTextMention): MethodDecorator => {
- return applyDecorators(
- SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.TextMention),
- SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, [mention]),
- );
-};
+export const TextMention = createUpdateDecorator('textMention');
diff --git a/lib/decorators/listeners/url.decorator.ts b/lib/decorators/listeners/url.decorator.ts
index 04f9704..36653fe 100644
--- a/lib/decorators/listeners/url.decorator.ts
+++ b/lib/decorators/listeners/url.decorator.ts
@@ -1,19 +1,8 @@
-import { applyDecorators, SetMetadata } from '@nestjs/common';
-import {
- UPDATE_LISTENER_OPTIONS_METADATA,
- UPDATE_LISTENER_METHOD_METADATA,
-} from '../../telegraf.constants';
-import { ListenerMethod } from '../../enums';
-import { TelegrafUrl } from '../../telegraf.types';
+import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
/**
* Registers middleware for handling messages with url entity.
*
* @see https://telegraf.js.org/#/?id=telegraf-url
*/
-export const Url = (url: TelegrafUrl): MethodDecorator => {
- return applyDecorators(
- SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.Url),
- SetMetadata(UPDATE_LISTENER_OPTIONS_METADATA, [url]),
- );
-};
+export const Url = createUpdateDecorator('url');
diff --git a/lib/decorators/listeners/use.decorator.ts b/lib/decorators/listeners/use.decorator.ts
index 84c7d2c..a0b1ec4 100644
--- a/lib/decorators/listeners/use.decorator.ts
+++ b/lib/decorators/listeners/use.decorator.ts
@@ -1,12 +1,8 @@
-import { SetMetadata } from '@nestjs/common';
-import { UPDATE_LISTENER_METHOD_METADATA } from '../../telegraf.constants';
-import { ListenerMethod } from '../../enums';
+import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
/**
* Registers a middleware.
*
* @see https://telegraf.js.org/#/?id=use
*/
-export const Use = (): MethodDecorator => {
- return SetMetadata(UPDATE_LISTENER_METHOD_METADATA, ListenerMethod.Use);
-};
+export const Use = createUpdateDecorator('use');
diff --git a/lib/enums/index.ts b/lib/enums/index.ts
deleted file mode 100644
index 5f145a0..0000000
--- a/lib/enums/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from './listener-menthod.enum';
diff --git a/lib/enums/listener-menthod.enum.ts b/lib/enums/listener-menthod.enum.ts
deleted file mode 100644
index 05a55eb..0000000
--- a/lib/enums/listener-menthod.enum.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-export enum ListenerMethod {
- Use = 'use',
- On = 'on',
- Hears = 'hears',
- Command = 'command',
- Start = 'start',
- Help = 'help',
- Settings = 'settings',
- Mention = 'mention',
- Phone = 'phone',
- Hashtag = 'hashtag',
- Cashtag = 'cashtag',
- Email = 'email',
- Url = 'url',
- TextLink = 'textLink',
- TextMention = 'textMention',
- Action = 'action',
- InlineQuery = 'inlineQuery',
- GameQuery = 'gameQuery',
-}
diff --git a/lib/enums/update-paramtypes.enum.ts b/lib/enums/update-paramtypes.enum.ts
deleted file mode 100644
index e5a3303..0000000
--- a/lib/enums/update-paramtypes.enum.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-export enum UpdateParamtypes {
- CONTEXT,
- NEXT,
- MESSAGE,
-}
diff --git a/lib/helpers/create-update-decorator.helper.ts b/lib/helpers/create-update-decorator.helper.ts
new file mode 100644
index 0000000..3db5787
--- /dev/null
+++ b/lib/helpers/create-update-decorator.helper.ts
@@ -0,0 +1,15 @@
+import { SetMetadata } from '@nestjs/common';
+import { UpdateMethodArgs, UpdateMethods } from '../telegraf.types';
+import { UPDATE_LISTENER_METADATA } from '../telegraf.constants';
+import { ListenerMetadata } from '../interfaces/listener-metadata.interface';
+
+export function createUpdateDecorator(
+ method: Method,
+) {
+ return (...args: UpdateMethodArgs): MethodDecorator => {
+ return SetMetadata(UPDATE_LISTENER_METADATA, {
+ method,
+ args,
+ } as ListenerMetadata);
+ };
+}
diff --git a/lib/interfaces/listener-metadata.interface.ts b/lib/interfaces/listener-metadata.interface.ts
new file mode 100644
index 0000000..b4f7f5c
--- /dev/null
+++ b/lib/interfaces/listener-metadata.interface.ts
@@ -0,0 +1,6 @@
+import { UpdateMethods } from '../telegraf.types';
+
+export interface ListenerMetadata {
+ method: UpdateMethods;
+ args: unknown[];
+}
diff --git a/lib/telegraf.constants.ts b/lib/telegraf.constants.ts
index 2b61bcc..1790594 100644
--- a/lib/telegraf.constants.ts
+++ b/lib/telegraf.constants.ts
@@ -1,7 +1,6 @@
export const TELEGRAF_MODULE_OPTIONS = 'TELEGRAF_MODULE_OPTIONS';
export const UPDATE_METADATA = 'UPDATE_METADATA';
-export const UPDATE_LISTENER_METHOD_METADATA =
- 'UPDATE_LISTENER_METHOD_METADATA';
-export const UPDATE_LISTENER_OPTIONS_METADATA =
- 'UPDATE_LISTENER_OPTIONS_METADATA';
+export const UPDATE_LISTENER_METADATA = 'UPDATE_LISTENER_METADATA';
+
+export const SCENE_METADATA = 'SCENE_METADATA';
diff --git a/lib/telegraf.explorer.ts b/lib/telegraf.explorer.ts
index 6d9f427..f52d601 100644
--- a/lib/telegraf.explorer.ts
+++ b/lib/telegraf.explorer.ts
@@ -1,9 +1,10 @@
import { Injectable, OnModuleInit } from '@nestjs/common';
import { DiscoveryService } from '@nestjs/core';
import { MetadataScanner } from '@nestjs/core/metadata-scanner';
+import { InstanceWrapper } from '@nestjs/core/injector/instance-wrapper';
+import { Composer } from 'telegraf';
import { TelegrafMetadataAccessor } from './telegraf.metadata-accessor';
import { TelegrafProvider } from './telegraf.provider';
-import { InstanceWrapper } from '@nestjs/core/injector/instance-wrapper';
@Injectable()
export class TelegrafExplorer implements OnModuleInit {
@@ -49,12 +50,16 @@ export class TelegrafExplorer implements OnModuleInit {
const methodRef = instance[methodKey];
const middlewareFn = methodRef.bind(instance);
- const listenerMethod = this.metadataAccessor.getListenerMethod(methodRef);
- if (!listenerMethod) return;
+ const listenerMetadata = this.metadataAccessor.getListenerMetadata(
+ methodRef,
+ );
+ if (!listenerMetadata) return;
- const listenerOptions = this.metadataAccessor.getListenerOptions(methodRef);
+ const { method, args } = listenerMetadata;
+ const composerMiddlewareFn = Composer[method](...args, middlewareFn);
- // NOTE: Disable spread operator checking because of error: "Expected at least 1 arguments, but got 1 or more."
- (this.telegraf as any)[listenerMethod](...listenerOptions, middlewareFn);
+ console.log('composerMiddlewareFn', composerMiddlewareFn);
+
+ this.telegraf.use(composerMiddlewareFn);
}
}
diff --git a/lib/telegraf.metadata-accessor.ts b/lib/telegraf.metadata-accessor.ts
index bb86898..c2ec1ef 100644
--- a/lib/telegraf.metadata-accessor.ts
+++ b/lib/telegraf.metadata-accessor.ts
@@ -1,11 +1,10 @@
import { Injectable } from '@nestjs/common';
import { Reflector } from '@nestjs/core';
import {
- UPDATE_LISTENER_METHOD_METADATA,
+ UPDATE_LISTENER_METADATA,
UPDATE_METADATA,
- UPDATE_LISTENER_OPTIONS_METADATA,
} from './telegraf.constants';
-import { ListenerMethod } from './enums';
+import { ListenerMetadata } from './interfaces/listener-metadata.interface';
@Injectable()
export class TelegrafMetadataAccessor {
@@ -15,11 +14,7 @@ export class TelegrafMetadataAccessor {
return !!this.reflector.get(UPDATE_METADATA, target);
}
- getListenerMethod(target: Function): ListenerMethod | undefined {
- return this.reflector.get(UPDATE_LISTENER_METHOD_METADATA, target);
- }
-
- getListenerOptions(target: Function): unknown[] {
- return this.reflector.get(UPDATE_LISTENER_OPTIONS_METADATA, target) || [];
+ getListenerMetadata(target: Function): ListenerMetadata | undefined {
+ return this.reflector.get(UPDATE_LISTENER_METADATA, target);
}
}
diff --git a/lib/telegraf.provider.ts b/lib/telegraf.provider.ts
index f6bfb2f..0602704 100644
--- a/lib/telegraf.provider.ts
+++ b/lib/telegraf.provider.ts
@@ -10,8 +10,8 @@ import { Context, TelegrafModuleOptions } from './interfaces';
import { TELEGRAF_MODULE_OPTIONS } from './telegraf.constants';
@Injectable()
-export class TelegrafProvider
- extends Telegraf
+export class TelegrafProvider
+ extends Telegraf
implements OnApplicationBootstrap, OnApplicationShutdown {
private logger = new Logger('Telegraf');
private readonly launchOptions;
diff --git a/lib/telegraf.types.ts b/lib/telegraf.types.ts
index 9b50ff3..fbb6737 100644
--- a/lib/telegraf.types.ts
+++ b/lib/telegraf.types.ts
@@ -1,26 +1,24 @@
-import { Type } from '@nestjs/common/interfaces/type.interface';
-import { Composer, Telegraf } from 'telegraf';
-import { Context } from './interfaces';
+import { Composer, Middleware, Telegraf } from 'telegraf';
-type CtxComposer = Composer;
+export type Filter = T extends []
+ ? []
+ : T extends [infer Head, ...infer Tail]
+ ? Head extends F
+ ? Filter
+ : [Head, ...Filter]
+ : [];
-type ComposerMethodFirstArg = Parameters<
- CtxComposer[T]
->[0];
+export type UpdateMethods = Exclude<
+ keyof Composer,
+ 'middleware' | 'guard' | 'filter' | 'drop'
+>;
+export type UpdateMethodArgs = Filter<
+ Parameters[T]>,
+ Middleware
+>;
+// type Test0 = Filter<[['foo', 'bar', 'booz'], ...Middleware[]], Middleware>;
+// type Test1 = UpdateMethodArgs<'on'>;
+// type Test2 = Parameters['on']>;
-export type TelegrafActionTriggers = ComposerMethodFirstArg<'action'>;
-export type TelegrafHearsTriggers = ComposerMethodFirstArg<'hears'>;
-export type TelegrafInlineQueryTriggers = ComposerMethodFirstArg<'inlineQuery'>;
-export type TelegrafEmail = ComposerMethodFirstArg<'email'>;
-export type TelegrafUrl = ComposerMethodFirstArg<'url'>;
-export type TelegrafTextLink = ComposerMethodFirstArg<'textLink'>;
-export type TelegrafTextMention = ComposerMethodFirstArg<'textMention'>;
-export type TelegrafCashtag = ComposerMethodFirstArg<'cashtag'>;
-export type TelegrafHashtag = ComposerMethodFirstArg<'hashtag'>;
-export type TelegrafCommand = ComposerMethodFirstArg<'command'>;
-export type TelegrafMention = ComposerMethodFirstArg<'mention'>;
-export type TelegrafPhone = ComposerMethodFirstArg<'phone'>;
-export type TelegrafUpdateType = ComposerMethodFirstArg<'on'>;
-
-export type TelegrafOption = ConstructorParameters>>[1];
+export type TelegrafOption = ConstructorParameters[1];
export type TelegrafLaunchOption = Parameters[0];
From 8c727902266ebfa8f51d56ce7b7a386cdcaabf35 Mon Sep 17 00:00:00 2001
From: Arthur
Date: Tue, 29 Dec 2020 22:41:06 +0300
Subject: [PATCH 070/101] !feat(): add scene support & many refactor
---
lib/decorators/core/index.ts | 1 +
lib/decorators/core/inject-bot.decorator.ts | 4 +-
lib/decorators/core/scene.decorator.ts | 8 ++
lib/decorators/index.ts | 1 +
lib/decorators/scene/index.ts | 2 +
lib/decorators/scene/scene-enter.decorator.ts | 6 ++
lib/decorators/scene/scene-leave.decorator.ts | 6 ++
lib/enums/scene-event-type.enum.ts | 4 +
lib/index.ts | 1 -
lib/interfaces/context.interface.ts | 4 -
lib/interfaces/index.ts | 1 -
lib/telegraf-scene.explorer.ts | 74 +++++++++++++++++++
...xplorer.ts => telegraf-update.explorer.ts} | 20 +++--
lib/telegraf.constants.ts | 2 +
lib/telegraf.metadata-accessor.ts | 9 +++
lib/telegraf.module.ts | 56 +++++++++-----
lib/telegraf.provider.ts | 38 ----------
lib/telegraf.providers.ts | 22 ++++++
sample/app.constants.ts | 1 +
sample/app.module.ts | 5 +-
sample/app.update.ts | 14 +++-
sample/interfaces/context.interface.ts | 4 +
sample/scenes/hello.scene.ts | 29 ++++++++
23 files changed, 232 insertions(+), 80 deletions(-)
create mode 100644 lib/decorators/core/scene.decorator.ts
create mode 100644 lib/decorators/scene/index.ts
create mode 100644 lib/decorators/scene/scene-enter.decorator.ts
create mode 100644 lib/decorators/scene/scene-leave.decorator.ts
create mode 100644 lib/enums/scene-event-type.enum.ts
delete mode 100644 lib/interfaces/context.interface.ts
create mode 100644 lib/telegraf-scene.explorer.ts
rename lib/{telegraf.explorer.ts => telegraf-update.explorer.ts} (77%)
delete mode 100644 lib/telegraf.provider.ts
create mode 100644 lib/telegraf.providers.ts
create mode 100644 sample/app.constants.ts
create mode 100644 sample/interfaces/context.interface.ts
create mode 100644 sample/scenes/hello.scene.ts
diff --git a/lib/decorators/core/index.ts b/lib/decorators/core/index.ts
index 7d609ad..baddc8e 100644
--- a/lib/decorators/core/index.ts
+++ b/lib/decorators/core/index.ts
@@ -1,2 +1,3 @@
export * from './update.decorator';
+export * from './scene.decorator';
export * from './inject-bot.decorator';
diff --git a/lib/decorators/core/inject-bot.decorator.ts b/lib/decorators/core/inject-bot.decorator.ts
index f697bd7..d010fbe 100644
--- a/lib/decorators/core/inject-bot.decorator.ts
+++ b/lib/decorators/core/inject-bot.decorator.ts
@@ -1,4 +1,4 @@
import { Inject } from '@nestjs/common';
-import { TelegrafProvider } from '../../telegraf.provider';
+import { Telegraf } from 'telegraf';
-export const InjectBot = (): ParameterDecorator => Inject(TelegrafProvider);
+export const InjectBot = (): ParameterDecorator => Inject(Telegraf);
diff --git a/lib/decorators/core/scene.decorator.ts b/lib/decorators/core/scene.decorator.ts
new file mode 100644
index 0000000..391c842
--- /dev/null
+++ b/lib/decorators/core/scene.decorator.ts
@@ -0,0 +1,8 @@
+import { SetMetadata } from '@nestjs/common';
+import { SCENE_METADATA } from '../../telegraf.constants';
+
+/**
+ * TODO
+ */
+export const Scene = (id: string): ClassDecorator =>
+ SetMetadata(SCENE_METADATA, id);
diff --git a/lib/decorators/index.ts b/lib/decorators/index.ts
index f6f8104..31fa986 100644
--- a/lib/decorators/index.ts
+++ b/lib/decorators/index.ts
@@ -1,2 +1,3 @@
export * from './core';
export * from './listeners';
+export * from './scene';
diff --git a/lib/decorators/scene/index.ts b/lib/decorators/scene/index.ts
new file mode 100644
index 0000000..b1d61b2
--- /dev/null
+++ b/lib/decorators/scene/index.ts
@@ -0,0 +1,2 @@
+export * from './scene-enter.decorator';
+export * from './scene-leave.decorator';
diff --git a/lib/decorators/scene/scene-enter.decorator.ts b/lib/decorators/scene/scene-enter.decorator.ts
new file mode 100644
index 0000000..7307e48
--- /dev/null
+++ b/lib/decorators/scene/scene-enter.decorator.ts
@@ -0,0 +1,6 @@
+import { SetMetadata } from '@nestjs/common';
+import { SCENE_LISTENER_METADATA } from '../../telegraf.constants';
+import { SceneEventType } from '../../enums/scene-event-type.enum';
+
+export const SceneEnter = (): MethodDecorator =>
+ SetMetadata(SCENE_LISTENER_METADATA, SceneEventType.Enter);
diff --git a/lib/decorators/scene/scene-leave.decorator.ts b/lib/decorators/scene/scene-leave.decorator.ts
new file mode 100644
index 0000000..09eb509
--- /dev/null
+++ b/lib/decorators/scene/scene-leave.decorator.ts
@@ -0,0 +1,6 @@
+import { SetMetadata } from '@nestjs/common';
+import { SCENE_LISTENER_METADATA } from '../../telegraf.constants';
+import { SceneEventType } from '../../enums/scene-event-type.enum';
+
+export const SceneLeave = (): MethodDecorator =>
+ SetMetadata(SCENE_LISTENER_METADATA, SceneEventType.Leave);
diff --git a/lib/enums/scene-event-type.enum.ts b/lib/enums/scene-event-type.enum.ts
new file mode 100644
index 0000000..ebd37d2
--- /dev/null
+++ b/lib/enums/scene-event-type.enum.ts
@@ -0,0 +1,4 @@
+export enum SceneEventType {
+ Enter = 'enter',
+ Leave = 'leave',
+}
diff --git a/lib/index.ts b/lib/index.ts
index bca10ec..a27fc83 100644
--- a/lib/index.ts
+++ b/lib/index.ts
@@ -1,4 +1,3 @@
export * from './decorators';
export * from './interfaces';
export * from './telegraf.module';
-export * from './telegraf.provider';
diff --git a/lib/interfaces/context.interface.ts b/lib/interfaces/context.interface.ts
deleted file mode 100644
index 97001b3..0000000
--- a/lib/interfaces/context.interface.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-import { Context as TelegrafContext } from 'telegraf';
-
-// eslint-disable-next-line @typescript-eslint/no-empty-interface
-export interface Context extends TelegrafContext {}
diff --git a/lib/interfaces/index.ts b/lib/interfaces/index.ts
index 3b25926..23e7d9f 100644
--- a/lib/interfaces/index.ts
+++ b/lib/interfaces/index.ts
@@ -1,2 +1 @@
-export * from './context.interface';
export * from './telegraf-options.interface';
diff --git a/lib/telegraf-scene.explorer.ts b/lib/telegraf-scene.explorer.ts
new file mode 100644
index 0000000..74baad9
--- /dev/null
+++ b/lib/telegraf-scene.explorer.ts
@@ -0,0 +1,74 @@
+import { Inject, Injectable, OnModuleInit } from '@nestjs/common';
+import { DiscoveryService } from '@nestjs/core';
+import { MetadataScanner } from '@nestjs/core/metadata-scanner';
+import { InstanceWrapper } from '@nestjs/core/injector/instance-wrapper';
+import { BaseScene as Scene, Stage, Telegraf } from 'telegraf';
+import { TelegrafMetadataAccessor } from './telegraf.metadata-accessor';
+
+@Injectable()
+export class TelegrafSceneExplorer implements OnModuleInit {
+ constructor(
+ @Inject(Telegraf)
+ private readonly telegraf: Telegraf,
+ private readonly discoveryService: DiscoveryService,
+ private readonly metadataAccessor: TelegrafMetadataAccessor,
+ private readonly metadataScanner: MetadataScanner,
+ ) {}
+
+ onModuleInit(): void {
+ this.explore();
+ }
+
+ private explore(): void {
+ const sceneClasses = this.filterSceneClasses();
+ const stage = new Stage();
+
+ sceneClasses.forEach((wrapper) => {
+ const { instance } = wrapper;
+
+ const sceneId = this.metadataAccessor.getSceneMetadata(
+ instance.constructor,
+ );
+ const scene = new Scene(sceneId);
+ stage.register(scene);
+
+ const prototype = Object.getPrototypeOf(instance);
+ this.metadataScanner.scanFromPrototype(
+ instance,
+ prototype,
+ (methodKey: string) =>
+ this.registerIfListener(scene, instance, methodKey),
+ );
+
+ stage.register(scene);
+ });
+
+ this.telegraf.use(stage.middleware());
+ }
+
+ private filterSceneClasses(): InstanceWrapper[] {
+ return this.discoveryService
+ .getProviders()
+ .filter((wrapper) => wrapper.instance)
+ .filter((wrapper) =>
+ this.metadataAccessor.isScene(wrapper.instance.constructor),
+ );
+ }
+
+ private registerIfListener(
+ scene: Scene,
+ instance: Record,
+ methodKey: string,
+ ): void {
+ const methodRef = instance[methodKey];
+ const middlewareFn = methodRef.bind(instance);
+
+ const listenerMetadata = this.metadataAccessor.getListenerMetadata(
+ methodRef,
+ );
+ if (!listenerMetadata) return;
+
+ const { method, args } = listenerMetadata;
+ (scene[method] as any)(...args, middlewareFn);
+ }
+}
diff --git a/lib/telegraf.explorer.ts b/lib/telegraf-update.explorer.ts
similarity index 77%
rename from lib/telegraf.explorer.ts
rename to lib/telegraf-update.explorer.ts
index f52d601..4e4640c 100644
--- a/lib/telegraf.explorer.ts
+++ b/lib/telegraf-update.explorer.ts
@@ -1,15 +1,15 @@
-import { Injectable, OnModuleInit } from '@nestjs/common';
+import { Inject, Injectable, OnModuleInit } from '@nestjs/common';
import { DiscoveryService } from '@nestjs/core';
import { MetadataScanner } from '@nestjs/core/metadata-scanner';
import { InstanceWrapper } from '@nestjs/core/injector/instance-wrapper';
-import { Composer } from 'telegraf';
+import { Telegraf } from 'telegraf';
import { TelegrafMetadataAccessor } from './telegraf.metadata-accessor';
-import { TelegrafProvider } from './telegraf.provider';
@Injectable()
-export class TelegrafExplorer implements OnModuleInit {
+export class TelegrafUpdateExplorer implements OnModuleInit {
constructor(
- private readonly telegraf: TelegrafProvider,
+ @Inject(Telegraf)
+ private readonly telegraf: Telegraf,
private readonly discoveryService: DiscoveryService,
private readonly metadataAccessor: TelegrafMetadataAccessor,
private readonly metadataScanner: MetadataScanner,
@@ -19,7 +19,7 @@ export class TelegrafExplorer implements OnModuleInit {
this.explore();
}
- explore(): void {
+ private explore(): void {
const updateClasses = this.filterUpdateClasses();
updateClasses.forEach((wrapper) => {
@@ -56,10 +56,8 @@ export class TelegrafExplorer implements OnModuleInit {
if (!listenerMetadata) return;
const { method, args } = listenerMetadata;
- const composerMiddlewareFn = Composer[method](...args, middlewareFn);
-
- console.log('composerMiddlewareFn', composerMiddlewareFn);
-
- this.telegraf.use(composerMiddlewareFn);
+ // NOTE: Use "any" to disable "Expected at least 1 arguments, but got 1 or more." error.
+ // Use telegraf instance for non-scene listeners
+ (this.telegraf[method] as any)(...args, middlewareFn);
}
}
diff --git a/lib/telegraf.constants.ts b/lib/telegraf.constants.ts
index 1790594..e7ce73e 100644
--- a/lib/telegraf.constants.ts
+++ b/lib/telegraf.constants.ts
@@ -1,6 +1,8 @@
+export const STAGE_MIDDLEWARE = 'StageMiddleware';
export const TELEGRAF_MODULE_OPTIONS = 'TELEGRAF_MODULE_OPTIONS';
export const UPDATE_METADATA = 'UPDATE_METADATA';
export const UPDATE_LISTENER_METADATA = 'UPDATE_LISTENER_METADATA';
export const SCENE_METADATA = 'SCENE_METADATA';
+export const SCENE_LISTENER_METADATA = 'SCENE_LISTENER_METADATA';
diff --git a/lib/telegraf.metadata-accessor.ts b/lib/telegraf.metadata-accessor.ts
index c2ec1ef..19e58b5 100644
--- a/lib/telegraf.metadata-accessor.ts
+++ b/lib/telegraf.metadata-accessor.ts
@@ -1,6 +1,7 @@
import { Injectable } from '@nestjs/common';
import { Reflector } from '@nestjs/core';
import {
+ SCENE_METADATA,
UPDATE_LISTENER_METADATA,
UPDATE_METADATA,
} from './telegraf.constants';
@@ -14,7 +15,15 @@ export class TelegrafMetadataAccessor {
return !!this.reflector.get(UPDATE_METADATA, target);
}
+ isScene(target: Function): boolean {
+ return !!this.reflector.get(SCENE_METADATA, target);
+ }
+
getListenerMetadata(target: Function): ListenerMetadata | undefined {
return this.reflector.get(UPDATE_LISTENER_METADATA, target);
}
+
+ getSceneMetadata(target: Function): string | undefined {
+ return this.reflector.get(SCENE_METADATA, target);
+ }
}
diff --git a/lib/telegraf.module.ts b/lib/telegraf.module.ts
index f0e82a2..f40ca9e 100644
--- a/lib/telegraf.module.ts
+++ b/lib/telegraf.module.ts
@@ -1,22 +1,53 @@
-import { DiscoveryModule } from '@nestjs/core';
-import { Module, DynamicModule, Provider } from '@nestjs/common';
+import { DiscoveryModule, ModuleRef } from '@nestjs/core';
+import {
+ DynamicModule,
+ Inject,
+ Module,
+ OnApplicationBootstrap,
+ OnApplicationShutdown,
+ Provider,
+} from '@nestjs/common';
+import { Telegraf } from 'telegraf';
import {
- TelegrafModuleOptions,
TelegrafModuleAsyncOptions,
+ TelegrafModuleOptions,
TelegrafOptionsFactory,
} from './interfaces';
import { TELEGRAF_MODULE_OPTIONS } from './telegraf.constants';
import { TelegrafMetadataAccessor } from './telegraf.metadata-accessor';
-import { TelegrafExplorer } from './telegraf.explorer';
-import { TelegrafProvider } from './telegraf.provider';
+import { TelegrafUpdateExplorer } from './telegraf-update.explorer';
+import { TelegrafSceneExplorer } from './telegraf-scene.explorer';
+import { createProviders, TelegrafProvider } from './telegraf.providers';
@Module({
imports: [DiscoveryModule],
- providers: [TelegrafMetadataAccessor, TelegrafExplorer],
+ providers: [
+ TelegrafMetadataAccessor,
+ TelegrafSceneExplorer,
+ TelegrafUpdateExplorer,
+ ],
})
-export class TelegrafModule {
+export class TelegrafModule
+ implements OnApplicationBootstrap, OnApplicationShutdown {
+ constructor(
+ @Inject(TELEGRAF_MODULE_OPTIONS)
+ private readonly options: TelegrafModuleOptions,
+ private readonly moduleRef: ModuleRef,
+ ) {}
+
+ async onApplicationBootstrap(): Promise {
+ const { launchOptions } = this.options;
+ const telegraf = this.moduleRef.get(Telegraf);
+ await telegraf.launch(launchOptions);
+ }
+
+ async onApplicationShutdown(): Promise {
+ const telegraf = this.moduleRef.get(Telegraf);
+ await telegraf.stop();
+ }
+
public static forRoot(options: TelegrafModuleOptions): DynamicModule {
- const providers = [...this.createProviders(options), TelegrafProvider];
+ const providers = [...createProviders(options), TelegrafProvider];
return {
module: TelegrafModule,
@@ -25,15 +56,6 @@ export class TelegrafModule {
};
}
- private static createProviders(options: TelegrafModuleOptions): Provider[] {
- return [
- {
- provide: TELEGRAF_MODULE_OPTIONS,
- useValue: options,
- },
- ];
- }
-
public static forRootAsync(
options: TelegrafModuleAsyncOptions,
): DynamicModule {
diff --git a/lib/telegraf.provider.ts b/lib/telegraf.provider.ts
deleted file mode 100644
index 0602704..0000000
--- a/lib/telegraf.provider.ts
+++ /dev/null
@@ -1,38 +0,0 @@
-import {
- Injectable,
- Inject,
- OnApplicationBootstrap,
- Logger,
- OnApplicationShutdown,
-} from '@nestjs/common';
-import { Telegraf } from 'telegraf';
-import { Context, TelegrafModuleOptions } from './interfaces';
-import { TELEGRAF_MODULE_OPTIONS } from './telegraf.constants';
-
-@Injectable()
-export class TelegrafProvider
- extends Telegraf
- implements OnApplicationBootstrap, OnApplicationShutdown {
- private logger = new Logger('Telegraf');
- private readonly launchOptions;
-
- constructor(@Inject(TELEGRAF_MODULE_OPTIONS) options: TelegrafModuleOptions) {
- super(options.token, options.options);
- this.launchOptions = options.launchOptions;
- }
-
- async onApplicationBootstrap(): Promise {
- this.catch(async (err, ctx) => {
- this.logger.error(
- `Encountered an error for ${ctx.updateType} update type`,
- err as string,
- );
- });
-
- await this.launch(this.launchOptions);
- }
-
- async onApplicationShutdown(): Promise {
- await this.stop();
- }
-}
diff --git a/lib/telegraf.providers.ts b/lib/telegraf.providers.ts
new file mode 100644
index 0000000..b7ac54a
--- /dev/null
+++ b/lib/telegraf.providers.ts
@@ -0,0 +1,22 @@
+import { Provider } from '@nestjs/common';
+import { session, Telegraf } from 'telegraf';
+import { TELEGRAF_MODULE_OPTIONS } from './telegraf.constants';
+import { TelegrafModuleOptions } from './interfaces';
+
+export const TelegrafProvider = {
+ provide: Telegraf,
+ inject: [TELEGRAF_MODULE_OPTIONS],
+ useFactory: (options: TelegrafModuleOptions) => {
+ const telegraf = new Telegraf(options.token, options.options);
+ return telegraf;
+ },
+};
+
+export function createProviders(options: TelegrafModuleOptions): Provider[] {
+ return [
+ {
+ provide: TELEGRAF_MODULE_OPTIONS,
+ useValue: options,
+ },
+ ];
+}
diff --git a/sample/app.constants.ts b/sample/app.constants.ts
new file mode 100644
index 0000000..b9cfdda
--- /dev/null
+++ b/sample/app.constants.ts
@@ -0,0 +1 @@
+export const HELLO_SCENE_ID = 'HELLO_SCENE_ID';
diff --git a/sample/app.module.ts b/sample/app.module.ts
index 19b71ac..8d4f95d 100644
--- a/sample/app.module.ts
+++ b/sample/app.module.ts
@@ -2,13 +2,14 @@ import { Module } from '@nestjs/common';
import { TelegrafModule } from '../lib';
import { EchoService } from './echo.service';
import { AppUpdate } from './app.update';
+import { HelloScene } from './scenes/hello.scene';
@Module({
imports: [
TelegrafModule.forRoot({
- token: '1467731595:AAHCvH65H9VQYKF9jE-E8c2rXsQBVAYseg8',
+ token: '1467731595:AAHCvH65H9VQYKF9jE-E8c2rXsQBVAYseg8', // Don't steal >:(
}),
],
- providers: [EchoService, AppUpdate],
+ providers: [EchoService, AppUpdate, HelloScene],
})
export class AppModule {}
diff --git a/sample/app.update.ts b/sample/app.update.ts
index dab2a76..402e9fb 100644
--- a/sample/app.update.ts
+++ b/sample/app.update.ts
@@ -1,13 +1,14 @@
-import { Telegraf } from 'telegraf';
-import { Help, InjectBot, On, Start, Update } from '../lib/decorators';
-import { Context } from '../lib/interfaces';
+import { SceneContext, Telegraf } from 'telegraf';
+import { Command, Help, InjectBot, On, Start, Update } from '../lib';
import { EchoService } from './echo.service';
+import { HELLO_SCENE_ID } from './app.constants';
+import { Context } from './interfaces/context.interface';
@Update()
export class AppUpdate {
constructor(
@InjectBot()
- private readonly bot: Telegraf,
+ private readonly bot: Telegraf,
private readonly echoService: EchoService,
) {}
@@ -22,6 +23,11 @@ export class AppUpdate {
await ctx.reply('Send me any text');
}
+ @Command('scene')
+ async onSceneCommand(ctx: Context): Promise {
+ await ctx.scene.enter(HELLO_SCENE_ID);
+ }
+
@On('message')
async onMessage(ctx: Context): Promise {
console.log('New message received');
diff --git a/sample/interfaces/context.interface.ts b/sample/interfaces/context.interface.ts
new file mode 100644
index 0000000..fcefe97
--- /dev/null
+++ b/sample/interfaces/context.interface.ts
@@ -0,0 +1,4 @@
+import { SceneContext } from 'telegraf';
+
+// eslint-disable-next-line @typescript-eslint/no-empty-interface
+export interface Context extends SceneContext {}
diff --git a/sample/scenes/hello.scene.ts b/sample/scenes/hello.scene.ts
new file mode 100644
index 0000000..beab49a
--- /dev/null
+++ b/sample/scenes/hello.scene.ts
@@ -0,0 +1,29 @@
+import { HELLO_SCENE_ID } from '../app.constants';
+import { Context } from '../interfaces/context.interface';
+import { Scene, SceneEnter, SceneLeave, Command } from '../../lib';
+
+@Scene(HELLO_SCENE_ID)
+export class HelloScene {
+ @SceneEnter()
+ async onSceneEnter(ctx: Context): Promise {
+ console.log('Enter to scene');
+ await ctx.reply('Welcome on scene ✋');
+ }
+
+ @SceneLeave()
+ async onSceneLeave(): Promise {
+ console.log('Leave from scene');
+ await ctx.reply('Bye Bye 👋');
+ }
+
+ @Command('hello')
+ async onHelloCommand(ctx: Context): Promise {
+ console.log('Use say hello');
+ await ctx.reply('Hi');
+ }
+
+ @Command('leave')
+ async onLeaveCommand(ctx: Context): Promise {
+ await ctx.scene.leave();
+ }
+}
From 306f239603ef2964aeae6dc653a24d518116239c Mon Sep 17 00:00:00 2001
From: Arthur
Date: Tue, 29 Dec 2020 22:48:19 +0300
Subject: [PATCH 071/101] reafctor(): remove unused code & add exports
---
lib/helpers/create-update-decorator.helper.ts | 2 +-
lib/helpers/index.ts | 1 +
lib/index.ts | 2 ++
lib/interfaces/index.ts | 1 +
lib/telegraf.constants.ts | 1 -
lib/telegraf.providers.ts | 2 +-
lib/telegraf.types.ts | 3 ---
7 files changed, 6 insertions(+), 6 deletions(-)
create mode 100644 lib/helpers/index.ts
diff --git a/lib/helpers/create-update-decorator.helper.ts b/lib/helpers/create-update-decorator.helper.ts
index 3db5787..887a552 100644
--- a/lib/helpers/create-update-decorator.helper.ts
+++ b/lib/helpers/create-update-decorator.helper.ts
@@ -1,7 +1,7 @@
import { SetMetadata } from '@nestjs/common';
import { UpdateMethodArgs, UpdateMethods } from '../telegraf.types';
import { UPDATE_LISTENER_METADATA } from '../telegraf.constants';
-import { ListenerMetadata } from '../interfaces/listener-metadata.interface';
+import { ListenerMetadata } from '../interfaces';
export function createUpdateDecorator(
method: Method,
diff --git a/lib/helpers/index.ts b/lib/helpers/index.ts
new file mode 100644
index 0000000..4a414bd
--- /dev/null
+++ b/lib/helpers/index.ts
@@ -0,0 +1 @@
+export * from './create-update-decorator.helper';
diff --git a/lib/index.ts b/lib/index.ts
index a27fc83..da17d36 100644
--- a/lib/index.ts
+++ b/lib/index.ts
@@ -1,3 +1,5 @@
export * from './decorators';
export * from './interfaces';
+export * from './helpers';
export * from './telegraf.module';
+export * from './telegraf.types';
diff --git a/lib/interfaces/index.ts b/lib/interfaces/index.ts
index 23e7d9f..ef12fd5 100644
--- a/lib/interfaces/index.ts
+++ b/lib/interfaces/index.ts
@@ -1 +1,2 @@
export * from './telegraf-options.interface';
+export * from './listener-metadata.interface';
diff --git a/lib/telegraf.constants.ts b/lib/telegraf.constants.ts
index e7ce73e..adb1268 100644
--- a/lib/telegraf.constants.ts
+++ b/lib/telegraf.constants.ts
@@ -1,4 +1,3 @@
-export const STAGE_MIDDLEWARE = 'StageMiddleware';
export const TELEGRAF_MODULE_OPTIONS = 'TELEGRAF_MODULE_OPTIONS';
export const UPDATE_METADATA = 'UPDATE_METADATA';
diff --git a/lib/telegraf.providers.ts b/lib/telegraf.providers.ts
index b7ac54a..7c708c4 100644
--- a/lib/telegraf.providers.ts
+++ b/lib/telegraf.providers.ts
@@ -1,5 +1,5 @@
import { Provider } from '@nestjs/common';
-import { session, Telegraf } from 'telegraf';
+import { Telegraf } from 'telegraf';
import { TELEGRAF_MODULE_OPTIONS } from './telegraf.constants';
import { TelegrafModuleOptions } from './interfaces';
diff --git a/lib/telegraf.types.ts b/lib/telegraf.types.ts
index fbb6737..6f2d6bb 100644
--- a/lib/telegraf.types.ts
+++ b/lib/telegraf.types.ts
@@ -16,9 +16,6 @@ export type UpdateMethodArgs = Filter<
Parameters[T]>,
Middleware
>;
-// type Test0 = Filter<[['foo', 'bar', 'booz'], ...Middleware[]], Middleware>;
-// type Test1 = UpdateMethodArgs<'on'>;
-// type Test2 = Parameters['on']>;
export type TelegrafOption = ConstructorParameters[1];
export type TelegrafLaunchOption = Parameters[0];
From 3e585859d0789949b8c827cddd472eb02509d4a7 Mon Sep 17 00:00:00 2001
From: Arthur
Date: Wed, 30 Dec 2020 01:49:09 +0300
Subject: [PATCH 072/101] feat(): add middleware support & refactor
---
lib/decorators/listeners/action.decorator.ts | 4 +--
lib/decorators/listeners/cashtag.decorator.ts | 4 +--
lib/decorators/listeners/command.decorator.ts | 4 +--
lib/decorators/listeners/email.decorator.ts | 4 +--
.../listeners/game-query.decorator.ts | 4 +--
lib/decorators/listeners/hashtag.decorator.ts | 4 +--
lib/decorators/listeners/hears.decorator.ts | 4 +--
lib/decorators/listeners/help.decorator.ts | 4 +--
.../listeners/inline-query.decorator.ts | 4 +--
lib/decorators/listeners/mention.decorator.ts | 4 +--
lib/decorators/listeners/on.decorator.ts | 4 +--
lib/decorators/listeners/phone.decorator.ts | 4 +--
.../listeners/settings.decorator.ts | 4 +--
lib/decorators/listeners/start.decorator.ts | 4 +--
.../listeners/text-link.decorator.ts | 4 +--
.../listeners/text-mention.decorator.ts | 4 +--
lib/decorators/listeners/url.decorator.ts | 4 +--
lib/decorators/listeners/use.decorator.ts | 4 +--
lib/decorators/scene/scene-enter.decorator.ts | 7 ++---
lib/decorators/scene/scene-leave.decorator.ts | 7 ++---
lib/enums/scene-event-type.enum.ts | 4 ---
.../telegraf-scene.explorer.ts | 15 +++++------
.../telegraf-update.explorer.ts | 2 +-
.../create-scene-listener-decorator.helper.ts | 18 +++++++++++++
...reate-update-listener-decorator.helper.ts} | 9 ++++---
lib/helpers/index.ts | 3 ++-
lib/interfaces/listener-metadata.interface.ts | 4 +--
lib/interfaces/telegraf-options.interface.ts | 4 ++-
lib/telegraf.constants.ts | 1 -
lib/telegraf.module.ts | 4 +--
lib/telegraf.providers.ts | 3 ++-
lib/telegraf.types.ts | 26 ++++++++++++-------
sample/app.module.ts | 2 ++
sample/middleware/session.middleware.ts | 3 +++
sample/scenes/hello.scene.ts | 2 +-
35 files changed, 105 insertions(+), 81 deletions(-)
delete mode 100644 lib/enums/scene-event-type.enum.ts
rename lib/{ => explorers}/telegraf-scene.explorer.ts (90%)
rename lib/{ => explorers}/telegraf-update.explorer.ts (96%)
create mode 100644 lib/helpers/create-scene-listener-decorator.helper.ts
rename lib/helpers/{create-update-decorator.helper.ts => create-update-listener-decorator.helper.ts} (51%)
create mode 100644 sample/middleware/session.middleware.ts
diff --git a/lib/decorators/listeners/action.decorator.ts b/lib/decorators/listeners/action.decorator.ts
index 6a4c2ac..4b14901 100644
--- a/lib/decorators/listeners/action.decorator.ts
+++ b/lib/decorators/listeners/action.decorator.ts
@@ -1,8 +1,8 @@
-import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
+import { createUpdateListenerDecorator } from '../../helpers';
/**
* Registers middleware for handling callback_data actions with regular expressions.
*
* @see https://telegraf.js.org/#/?id=action
*/
-export const Action = createUpdateDecorator('action');
+export const Action = createUpdateListenerDecorator('action');
diff --git a/lib/decorators/listeners/cashtag.decorator.ts b/lib/decorators/listeners/cashtag.decorator.ts
index ab48729..c3e37e9 100644
--- a/lib/decorators/listeners/cashtag.decorator.ts
+++ b/lib/decorators/listeners/cashtag.decorator.ts
@@ -1,8 +1,8 @@
-import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
+import { createUpdateListenerDecorator } from '../../helpers';
/**
* Cashtag handling.
*
* @see https://telegraf.js.org/#/?id=cashtag
*/
-export const Cashtag = createUpdateDecorator('cashtag');
+export const Cashtag = createUpdateListenerDecorator('cashtag');
diff --git a/lib/decorators/listeners/command.decorator.ts b/lib/decorators/listeners/command.decorator.ts
index ec6e958..0e7806e 100644
--- a/lib/decorators/listeners/command.decorator.ts
+++ b/lib/decorators/listeners/command.decorator.ts
@@ -1,8 +1,8 @@
-import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
+import { createUpdateListenerDecorator } from '../../helpers';
/**
* Command handling.
*
* @see https://telegraf.js.org/#/?id=command
*/
-export const Command = createUpdateDecorator('command');
+export const Command = createUpdateListenerDecorator('command');
diff --git a/lib/decorators/listeners/email.decorator.ts b/lib/decorators/listeners/email.decorator.ts
index 2364d71..e9bb1a6 100644
--- a/lib/decorators/listeners/email.decorator.ts
+++ b/lib/decorators/listeners/email.decorator.ts
@@ -1,8 +1,8 @@
-import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
+import { createUpdateListenerDecorator } from '../../helpers';
/**
* Registers middleware for handling messages with email entity.
*
* @see https://telegraf.js.org/#/?id=telegraf-email
*/
-export const Email = createUpdateDecorator('email');
+export const Email = createUpdateListenerDecorator('email');
diff --git a/lib/decorators/listeners/game-query.decorator.ts b/lib/decorators/listeners/game-query.decorator.ts
index 3b8c227..347f998 100644
--- a/lib/decorators/listeners/game-query.decorator.ts
+++ b/lib/decorators/listeners/game-query.decorator.ts
@@ -1,8 +1,8 @@
-import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
+import { createUpdateListenerDecorator } from '../../helpers';
/**
* Registers middleware for handling callback_data actions with game query.
*
* @see https://telegraf.js.org/#/?id=inlinequery
*/
-export const GameQuery = createUpdateDecorator('gameQuery');
+export const GameQuery = createUpdateListenerDecorator('gameQuery');
diff --git a/lib/decorators/listeners/hashtag.decorator.ts b/lib/decorators/listeners/hashtag.decorator.ts
index 3c7514a..86e9e13 100644
--- a/lib/decorators/listeners/hashtag.decorator.ts
+++ b/lib/decorators/listeners/hashtag.decorator.ts
@@ -1,8 +1,8 @@
-import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
+import { createUpdateListenerDecorator } from '../../helpers';
/**
* Hashtag handling.
*
* @see https://telegraf.js.org/#/?id=hashtag
*/
-export const Hashtag = createUpdateDecorator('hashtag');
+export const Hashtag = createUpdateListenerDecorator('hashtag');
diff --git a/lib/decorators/listeners/hears.decorator.ts b/lib/decorators/listeners/hears.decorator.ts
index b8f19a9..79d71af 100644
--- a/lib/decorators/listeners/hears.decorator.ts
+++ b/lib/decorators/listeners/hears.decorator.ts
@@ -1,8 +1,8 @@
-import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
+import { createUpdateListenerDecorator } from '../../helpers';
/**
* Registers middleware for handling text messages.
*
* @see https://telegraf.js.org/#/?id=hears
*/
-export const Hears = createUpdateDecorator('hears');
+export const Hears = createUpdateListenerDecorator('hears');
diff --git a/lib/decorators/listeners/help.decorator.ts b/lib/decorators/listeners/help.decorator.ts
index 599d646..36ac9e4 100644
--- a/lib/decorators/listeners/help.decorator.ts
+++ b/lib/decorators/listeners/help.decorator.ts
@@ -1,8 +1,8 @@
-import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
+import { createUpdateListenerDecorator } from '../../helpers';
/**
* Handler for /help command.
*
* @see https://telegraf.js.org/#/?id=help
*/
-export const Help = createUpdateDecorator('help');
+export const Help = createUpdateListenerDecorator('help');
diff --git a/lib/decorators/listeners/inline-query.decorator.ts b/lib/decorators/listeners/inline-query.decorator.ts
index abbdd39..722a348 100644
--- a/lib/decorators/listeners/inline-query.decorator.ts
+++ b/lib/decorators/listeners/inline-query.decorator.ts
@@ -1,8 +1,8 @@
-import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
+import { createUpdateListenerDecorator } from '../../helpers';
/**
* Registers middleware for handling inline_query actions with regular expressions.
*
* @see https://telegraf.js.org/#/?id=inlinequery
*/
-export const InlineQuery = createUpdateDecorator('inlineQuery');
+export const InlineQuery = createUpdateListenerDecorator('inlineQuery');
diff --git a/lib/decorators/listeners/mention.decorator.ts b/lib/decorators/listeners/mention.decorator.ts
index d6be512..e4341a0 100644
--- a/lib/decorators/listeners/mention.decorator.ts
+++ b/lib/decorators/listeners/mention.decorator.ts
@@ -1,8 +1,8 @@
-import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
+import { createUpdateListenerDecorator } from '../../helpers';
/**
* Mention handling.
*
* @see https://telegraf.js.org/#/?id=mention
*/
-export const Mention = createUpdateDecorator('mention');
+export const Mention = createUpdateListenerDecorator('mention');
diff --git a/lib/decorators/listeners/on.decorator.ts b/lib/decorators/listeners/on.decorator.ts
index a6f717c..9f3c0fd 100644
--- a/lib/decorators/listeners/on.decorator.ts
+++ b/lib/decorators/listeners/on.decorator.ts
@@ -1,8 +1,8 @@
-import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
+import { createUpdateListenerDecorator } from '../../helpers';
/**
* Registers middleware for provided update type.
*
* @see https://telegraf.js.org/#/?id=on
*/
-export const On = createUpdateDecorator('on');
+export const On = createUpdateListenerDecorator('on');
diff --git a/lib/decorators/listeners/phone.decorator.ts b/lib/decorators/listeners/phone.decorator.ts
index 8feb92f..0f68380 100644
--- a/lib/decorators/listeners/phone.decorator.ts
+++ b/lib/decorators/listeners/phone.decorator.ts
@@ -1,8 +1,8 @@
-import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
+import { createUpdateListenerDecorator } from '../../helpers';
/**
* Phone number handling.
*
* @see https://telegraf.js.org/#/?id=phone
*/
-export const Phone = createUpdateDecorator('phone');
+export const Phone = createUpdateListenerDecorator('phone');
diff --git a/lib/decorators/listeners/settings.decorator.ts b/lib/decorators/listeners/settings.decorator.ts
index 8f705f9..6cca7c7 100644
--- a/lib/decorators/listeners/settings.decorator.ts
+++ b/lib/decorators/listeners/settings.decorator.ts
@@ -1,8 +1,8 @@
-import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
+import { createUpdateListenerDecorator } from '../../helpers';
/**
* Handler for /settings command.
*
* @see https://telegraf.js.org/#/?id=settings
*/
-export const Settings = createUpdateDecorator('settings');
+export const Settings = createUpdateListenerDecorator('settings');
diff --git a/lib/decorators/listeners/start.decorator.ts b/lib/decorators/listeners/start.decorator.ts
index 6a084f0..48bdc5b 100644
--- a/lib/decorators/listeners/start.decorator.ts
+++ b/lib/decorators/listeners/start.decorator.ts
@@ -1,8 +1,8 @@
-import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
+import { createUpdateListenerDecorator } from '../../helpers';
/**
* Handler for /start command.
*
* @see https://telegraf.js.org/#/?id=start
*/
-export const Start = createUpdateDecorator('start');
+export const Start = createUpdateListenerDecorator('start');
diff --git a/lib/decorators/listeners/text-link.decorator.ts b/lib/decorators/listeners/text-link.decorator.ts
index 0e91ad7..c62439a 100644
--- a/lib/decorators/listeners/text-link.decorator.ts
+++ b/lib/decorators/listeners/text-link.decorator.ts
@@ -1,8 +1,8 @@
-import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
+import { createUpdateListenerDecorator } from '../../helpers';
/**
* Registers middleware for handling messages with text_link entity.
*
* @see https://telegraf.js.org/#/?id=telegraf-textlink
*/
-export const TextLink = createUpdateDecorator('textLink');
+export const TextLink = createUpdateListenerDecorator('textLink');
diff --git a/lib/decorators/listeners/text-mention.decorator.ts b/lib/decorators/listeners/text-mention.decorator.ts
index ebd30e3..895a458 100644
--- a/lib/decorators/listeners/text-mention.decorator.ts
+++ b/lib/decorators/listeners/text-mention.decorator.ts
@@ -1,8 +1,8 @@
-import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
+import { createUpdateListenerDecorator } from '../../helpers';
/**
* Registers middleware for handling messages with text_mention entity.
*
* @see https://telegraf.js.org/#/?id=telegraf-textlink
*/
-export const TextMention = createUpdateDecorator('textMention');
+export const TextMention = createUpdateListenerDecorator('textMention');
diff --git a/lib/decorators/listeners/url.decorator.ts b/lib/decorators/listeners/url.decorator.ts
index 36653fe..843aa41 100644
--- a/lib/decorators/listeners/url.decorator.ts
+++ b/lib/decorators/listeners/url.decorator.ts
@@ -1,8 +1,8 @@
-import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
+import { createUpdateListenerDecorator } from '../../helpers';
/**
* Registers middleware for handling messages with url entity.
*
* @see https://telegraf.js.org/#/?id=telegraf-url
*/
-export const Url = createUpdateDecorator('url');
+export const Url = createUpdateListenerDecorator('url');
diff --git a/lib/decorators/listeners/use.decorator.ts b/lib/decorators/listeners/use.decorator.ts
index a0b1ec4..ba83af5 100644
--- a/lib/decorators/listeners/use.decorator.ts
+++ b/lib/decorators/listeners/use.decorator.ts
@@ -1,8 +1,8 @@
-import { createUpdateDecorator } from '../../helpers/create-update-decorator.helper';
+import { createUpdateListenerDecorator } from '../../helpers';
/**
* Registers a middleware.
*
* @see https://telegraf.js.org/#/?id=use
*/
-export const Use = createUpdateDecorator('use');
+export const Use = createUpdateListenerDecorator('use');
diff --git a/lib/decorators/scene/scene-enter.decorator.ts b/lib/decorators/scene/scene-enter.decorator.ts
index 7307e48..914b2d7 100644
--- a/lib/decorators/scene/scene-enter.decorator.ts
+++ b/lib/decorators/scene/scene-enter.decorator.ts
@@ -1,6 +1,3 @@
-import { SetMetadata } from '@nestjs/common';
-import { SCENE_LISTENER_METADATA } from '../../telegraf.constants';
-import { SceneEventType } from '../../enums/scene-event-type.enum';
+import { createSceneListenerDecorator } from '../../helpers';
-export const SceneEnter = (): MethodDecorator =>
- SetMetadata(SCENE_LISTENER_METADATA, SceneEventType.Enter);
+export const SceneEnter = createSceneListenerDecorator('enter');
diff --git a/lib/decorators/scene/scene-leave.decorator.ts b/lib/decorators/scene/scene-leave.decorator.ts
index 09eb509..19b970e 100644
--- a/lib/decorators/scene/scene-leave.decorator.ts
+++ b/lib/decorators/scene/scene-leave.decorator.ts
@@ -1,6 +1,3 @@
-import { SetMetadata } from '@nestjs/common';
-import { SCENE_LISTENER_METADATA } from '../../telegraf.constants';
-import { SceneEventType } from '../../enums/scene-event-type.enum';
+import { createSceneListenerDecorator } from '../../helpers';
-export const SceneLeave = (): MethodDecorator =>
- SetMetadata(SCENE_LISTENER_METADATA, SceneEventType.Leave);
+export const SceneLeave = createSceneListenerDecorator('leave');
diff --git a/lib/enums/scene-event-type.enum.ts b/lib/enums/scene-event-type.enum.ts
deleted file mode 100644
index ebd37d2..0000000
--- a/lib/enums/scene-event-type.enum.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-export enum SceneEventType {
- Enter = 'enter',
- Leave = 'leave',
-}
diff --git a/lib/telegraf-scene.explorer.ts b/lib/explorers/telegraf-scene.explorer.ts
similarity index 90%
rename from lib/telegraf-scene.explorer.ts
rename to lib/explorers/telegraf-scene.explorer.ts
index 74baad9..dbf36c6 100644
--- a/lib/telegraf-scene.explorer.ts
+++ b/lib/explorers/telegraf-scene.explorer.ts
@@ -3,17 +3,21 @@ import { DiscoveryService } from '@nestjs/core';
import { MetadataScanner } from '@nestjs/core/metadata-scanner';
import { InstanceWrapper } from '@nestjs/core/injector/instance-wrapper';
import { BaseScene as Scene, Stage, Telegraf } from 'telegraf';
-import { TelegrafMetadataAccessor } from './telegraf.metadata-accessor';
+import { TelegrafMetadataAccessor } from '../telegraf.metadata-accessor';
@Injectable()
export class TelegrafSceneExplorer implements OnModuleInit {
+ private readonly stage = new Stage();
+
constructor(
@Inject(Telegraf)
private readonly telegraf: Telegraf,
private readonly discoveryService: DiscoveryService,
private readonly metadataAccessor: TelegrafMetadataAccessor,
private readonly metadataScanner: MetadataScanner,
- ) {}
+ ) {
+ this.telegraf.use(this.stage.middleware());
+ }
onModuleInit(): void {
this.explore();
@@ -21,7 +25,6 @@ export class TelegrafSceneExplorer implements OnModuleInit {
private explore(): void {
const sceneClasses = this.filterSceneClasses();
- const stage = new Stage();
sceneClasses.forEach((wrapper) => {
const { instance } = wrapper;
@@ -30,7 +33,7 @@ export class TelegrafSceneExplorer implements OnModuleInit {
instance.constructor,
);
const scene = new Scene(sceneId);
- stage.register(scene);
+ this.stage.register(scene);
const prototype = Object.getPrototypeOf(instance);
this.metadataScanner.scanFromPrototype(
@@ -39,11 +42,7 @@ export class TelegrafSceneExplorer implements OnModuleInit {
(methodKey: string) =>
this.registerIfListener(scene, instance, methodKey),
);
-
- stage.register(scene);
});
-
- this.telegraf.use(stage.middleware());
}
private filterSceneClasses(): InstanceWrapper[] {
diff --git a/lib/telegraf-update.explorer.ts b/lib/explorers/telegraf-update.explorer.ts
similarity index 96%
rename from lib/telegraf-update.explorer.ts
rename to lib/explorers/telegraf-update.explorer.ts
index 4e4640c..eac2625 100644
--- a/lib/telegraf-update.explorer.ts
+++ b/lib/explorers/telegraf-update.explorer.ts
@@ -3,7 +3,7 @@ import { DiscoveryService } from '@nestjs/core';
import { MetadataScanner } from '@nestjs/core/metadata-scanner';
import { InstanceWrapper } from '@nestjs/core/injector/instance-wrapper';
import { Telegraf } from 'telegraf';
-import { TelegrafMetadataAccessor } from './telegraf.metadata-accessor';
+import { TelegrafMetadataAccessor } from '../telegraf.metadata-accessor';
@Injectable()
export class TelegrafUpdateExplorer implements OnModuleInit {
diff --git a/lib/helpers/create-scene-listener-decorator.helper.ts b/lib/helpers/create-scene-listener-decorator.helper.ts
new file mode 100644
index 0000000..c997ffc
--- /dev/null
+++ b/lib/helpers/create-scene-listener-decorator.helper.ts
@@ -0,0 +1,18 @@
+import { SetMetadata } from '@nestjs/common';
+import { BaseScene as Scene } from 'telegraf';
+import { ComposerMethodArgs, SceneMethods } from '../telegraf.types';
+import { UPDATE_LISTENER_METADATA } from '../telegraf.constants';
+import { ListenerMetadata } from '../interfaces';
+
+export function createSceneListenerDecorator(
+ method: Method,
+) {
+ return (
+ ...args: ComposerMethodArgs, Method>
+ ): MethodDecorator => {
+ return SetMetadata(UPDATE_LISTENER_METADATA, {
+ method,
+ args,
+ } as ListenerMetadata);
+ };
+}
diff --git a/lib/helpers/create-update-decorator.helper.ts b/lib/helpers/create-update-listener-decorator.helper.ts
similarity index 51%
rename from lib/helpers/create-update-decorator.helper.ts
rename to lib/helpers/create-update-listener-decorator.helper.ts
index 887a552..6c28eb2 100644
--- a/lib/helpers/create-update-decorator.helper.ts
+++ b/lib/helpers/create-update-listener-decorator.helper.ts
@@ -1,12 +1,15 @@
import { SetMetadata } from '@nestjs/common';
-import { UpdateMethodArgs, UpdateMethods } from '../telegraf.types';
+import { Composer } from 'telegraf';
+import { ComposerMethodArgs, UpdateMethods } from '../telegraf.types';
import { UPDATE_LISTENER_METADATA } from '../telegraf.constants';
import { ListenerMetadata } from '../interfaces';
-export function createUpdateDecorator(
+export function createUpdateListenerDecorator(
method: Method,
) {
- return (...args: UpdateMethodArgs): MethodDecorator => {
+ return (
+ ...args: ComposerMethodArgs, Method>
+ ): MethodDecorator => {
return SetMetadata(UPDATE_LISTENER_METADATA, {
method,
args,
diff --git a/lib/helpers/index.ts b/lib/helpers/index.ts
index 4a414bd..20b6077 100644
--- a/lib/helpers/index.ts
+++ b/lib/helpers/index.ts
@@ -1 +1,2 @@
-export * from './create-update-decorator.helper';
+export * from './create-update-listener-decorator.helper';
+export * from './create-scene-listener-decorator.helper';
diff --git a/lib/interfaces/listener-metadata.interface.ts b/lib/interfaces/listener-metadata.interface.ts
index b4f7f5c..9dc4925 100644
--- a/lib/interfaces/listener-metadata.interface.ts
+++ b/lib/interfaces/listener-metadata.interface.ts
@@ -1,6 +1,4 @@
-import { UpdateMethods } from '../telegraf.types';
-
export interface ListenerMetadata {
- method: UpdateMethods;
+ method: string;
args: unknown[];
}
diff --git a/lib/interfaces/telegraf-options.interface.ts b/lib/interfaces/telegraf-options.interface.ts
index 9f7dc6d..417d5bf 100644
--- a/lib/interfaces/telegraf-options.interface.ts
+++ b/lib/interfaces/telegraf-options.interface.ts
@@ -1,10 +1,12 @@
import { ModuleMetadata, Type } from '@nestjs/common/interfaces';
+import { Middleware, Context } from 'telegraf';
import { TelegrafLaunchOption, TelegrafOption } from '../telegraf.types';
-export interface TelegrafModuleOptions {
+export interface TelegrafModuleOptions {
token: string;
options?: TelegrafOption;
launchOptions?: TelegrafLaunchOption;
+ middlewares?: Middleware[];
}
export interface TelegrafOptionsFactory {
diff --git a/lib/telegraf.constants.ts b/lib/telegraf.constants.ts
index adb1268..1790594 100644
--- a/lib/telegraf.constants.ts
+++ b/lib/telegraf.constants.ts
@@ -4,4 +4,3 @@ export const UPDATE_METADATA = 'UPDATE_METADATA';
export const UPDATE_LISTENER_METADATA = 'UPDATE_LISTENER_METADATA';
export const SCENE_METADATA = 'SCENE_METADATA';
-export const SCENE_LISTENER_METADATA = 'SCENE_LISTENER_METADATA';
diff --git a/lib/telegraf.module.ts b/lib/telegraf.module.ts
index f40ca9e..4e9f958 100644
--- a/lib/telegraf.module.ts
+++ b/lib/telegraf.module.ts
@@ -15,8 +15,8 @@ import {
} from './interfaces';
import { TELEGRAF_MODULE_OPTIONS } from './telegraf.constants';
import { TelegrafMetadataAccessor } from './telegraf.metadata-accessor';
-import { TelegrafUpdateExplorer } from './telegraf-update.explorer';
-import { TelegrafSceneExplorer } from './telegraf-scene.explorer';
+import { TelegrafUpdateExplorer } from './explorers/telegraf-update.explorer';
+import { TelegrafSceneExplorer } from './explorers/telegraf-scene.explorer';
import { createProviders, TelegrafProvider } from './telegraf.providers';
@Module({
diff --git a/lib/telegraf.providers.ts b/lib/telegraf.providers.ts
index 7c708c4..399efe7 100644
--- a/lib/telegraf.providers.ts
+++ b/lib/telegraf.providers.ts
@@ -5,11 +5,12 @@ import { TelegrafModuleOptions } from './interfaces';
export const TelegrafProvider = {
provide: Telegraf,
- inject: [TELEGRAF_MODULE_OPTIONS],
useFactory: (options: TelegrafModuleOptions) => {
const telegraf = new Telegraf(options.token, options.options);
+ telegraf.use(...options.middlewares);
return telegraf;
},
+ inject: [TELEGRAF_MODULE_OPTIONS],
};
export function createProviders(options: TelegrafModuleOptions): Provider[] {
diff --git a/lib/telegraf.types.ts b/lib/telegraf.types.ts
index 6f2d6bb..c319853 100644
--- a/lib/telegraf.types.ts
+++ b/lib/telegraf.types.ts
@@ -1,4 +1,4 @@
-import { Composer, Middleware, Telegraf } from 'telegraf';
+import { Composer, Middleware, BaseScene, Telegraf } from 'telegraf';
export type Filter = T extends []
? []
@@ -8,14 +8,22 @@ export type Filter = T extends []
: [Head, ...Filter]
: [];
-export type UpdateMethods = Exclude<
- keyof Composer,
- 'middleware' | 'guard' | 'filter' | 'drop'
->;
-export type UpdateMethodArgs = Filter<
- Parameters[T]>,
- Middleware
->;
+export type OnlyFunctionPropertyNames = {
+ [K in keyof T]: T[K] extends (...args: any) => any ? K : never;
+}[keyof T];
+
+// export type FilterComposerMethods = Exclude<
+// T,
+// 'middleware' | 'guard' | 'filter' | 'drop'
+// >;
+
+export type ComposerMethodArgs<
+ T extends Composer,
+ U extends OnlyFunctionPropertyNames = OnlyFunctionPropertyNames
+> = Filter, Middleware>;
+
+export type UpdateMethods = OnlyFunctionPropertyNames>;
+export type SceneMethods = OnlyFunctionPropertyNames>;
export type TelegrafOption = ConstructorParameters[1];
export type TelegrafLaunchOption = Parameters[0];
diff --git a/sample/app.module.ts b/sample/app.module.ts
index 8d4f95d..2d177de 100644
--- a/sample/app.module.ts
+++ b/sample/app.module.ts
@@ -3,11 +3,13 @@ import { TelegrafModule } from '../lib';
import { EchoService } from './echo.service';
import { AppUpdate } from './app.update';
import { HelloScene } from './scenes/hello.scene';
+import { sessionMiddleware } from './middleware/session.middleware';
@Module({
imports: [
TelegrafModule.forRoot({
token: '1467731595:AAHCvH65H9VQYKF9jE-E8c2rXsQBVAYseg8', // Don't steal >:(
+ middlewares: [sessionMiddleware],
}),
],
providers: [EchoService, AppUpdate, HelloScene],
diff --git a/sample/middleware/session.middleware.ts b/sample/middleware/session.middleware.ts
new file mode 100644
index 0000000..c203f15
--- /dev/null
+++ b/sample/middleware/session.middleware.ts
@@ -0,0 +1,3 @@
+import { session } from 'telegraf';
+
+export const sessionMiddleware = session();
diff --git a/sample/scenes/hello.scene.ts b/sample/scenes/hello.scene.ts
index beab49a..f84a6f4 100644
--- a/sample/scenes/hello.scene.ts
+++ b/sample/scenes/hello.scene.ts
@@ -11,7 +11,7 @@ export class HelloScene {
}
@SceneLeave()
- async onSceneLeave(): Promise