aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-05-29 22:13:28 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-05-29 22:13:28 -0400
commit17f173325f7525f7a26331c43980bcfcdeab5980 (patch)
treea0415d93bb90bff3f59e8d0728d27a496118cd2e
parent0022a2bf6ccff889d97b56b22e5c260259258494 (diff)
downloadtanzanite-17f173325f7525f7a26331c43980bcfcdeab5980.tar.gz
tanzanite-17f173325f7525f7a26331c43980bcfcdeab5980.tar.bz2
tanzanite-17f173325f7525f7a26331c43980bcfcdeab5980.zip
chore: update deps
-rw-r--r--.yarn/plugins/@yarnpkg/plugin-typescript.cjs2004
-rw-r--r--.yarnrc.yml7
-rw-r--r--package.json20
-rw-r--r--yarn.lock600
4 files changed, 560 insertions, 2071 deletions
diff --git a/.yarn/plugins/@yarnpkg/plugin-typescript.cjs b/.yarn/plugins/@yarnpkg/plugin-typescript.cjs
index df8ade0..5c1859e 100644
--- a/.yarn/plugins/@yarnpkg/plugin-typescript.cjs
+++ b/.yarn/plugins/@yarnpkg/plugin-typescript.cjs
@@ -1,2001 +1,9 @@
/* eslint-disable */
+//prettier-ignore
module.exports = {
- name: '@yarnpkg/plugin-typescript',
- factory: function (require) {
- var plugin;
- plugin = (() => {
- var e = {
- 958: (e, t, r) => {
- 'use strict';
- r.r(t), r.d(t, { default: () => u });
- const s = require('@yarnpkg/core'),
- a = require('@yarnpkg/plugin-essentials'),
- o = require('semver');
- var n = r.n(o),
- i = r(410),
- c = r.n(i);
- const d = (e) => {
- const t = {
- async send(t) {
- try {
- const r = await s.httpUtils.request(
- t.url,
- t.data || null,
- { configuration: e, headers: t.headers }
- );
- return {
- content: r.body,
- isTimedOut: !1,
- status: r.statusCode
- };
- } catch (e) {
- return {
- content: e.response.body,
- isTimedOut: !1,
- status: e.response.statusCode
- };
- }
- }
- };
- return c()('OFCNCOG2CU', 'e8e1bd300d860104bb8c58453ffa1eb4', {
- requester: t
- });
- },
- l = (e) => (e.scope ? `${e.scope}__${e.name}` : '' + e.name),
- u = {
- hooks: {
- afterWorkspaceDependencyAddition: async (e, t, r, o) => {
- if ('types' === r.scope) return;
- const { project: i } = e,
- { configuration: c } = i,
- u = c.makeResolver(),
- p = {
- project: i,
- resolver: u,
- report: new s.ThrowReport()
- };
- if (
- !(await (async (e, t) => {
- var r;
- const a = s.structUtils.stringifyIdent(e),
- o = d(t).initIndex('npm-search');
- try {
- return (
- 'definitely-typed' ===
- (null ===
- (r = (
- await o.getObject(a, {
- attributesToRetrieve: ['types']
- })
- ).types) || void 0 === r
- ? void 0
- : r.ts)
- );
- } catch (e) {
- return !1;
- }
- })(r, c))
- )
- return;
- const m = l(r);
- let h = s.structUtils.parseRange(r.range).selector;
- if (!n().validRange(h)) {
- const e = await u.getCandidates(r, new Map(), p);
- h = s.structUtils.parseRange(e[0].reference).selector;
- }
- const y = n().coerce(h);
- if (null === y) return;
- const g = `${a.suggestUtils.Modifier.CARET}${y.major}`,
- b = s.structUtils.makeDescriptor(
- s.structUtils.makeIdent('types', m),
- g
- ),
- f = s.miscUtils.mapAndFind(i.workspaces, (e) => {
- var t, a;
- const o =
- null ===
- (t = e.manifest.dependencies.get(r.identHash)) ||
- void 0 === t
- ? void 0
- : t.descriptorHash,
- n =
- null ===
- (a = e.manifest.devDependencies.get(
- r.identHash
- )) || void 0 === a
- ? void 0
- : a.descriptorHash;
- if (o !== r.descriptorHash && n !== r.descriptorHash)
- return s.miscUtils.mapAndFind.skip;
- const i = [];
- for (const t of s.Manifest.allDependencies) {
- const r = e.manifest[t].get(b.identHash);
- void 0 !== r && i.push([t, r]);
- }
- return 0 === i.length ? s.miscUtils.mapAndFind.skip : i;
- });
- if (void 0 !== f)
- for (const [t, r] of f) e.manifest[t].set(r.identHash, r);
- else {
- try {
- if (
- 0 === (await u.getCandidates(b, new Map(), p)).length
- )
- return;
- } catch (e) {
- return;
- }
- e.manifest[a.suggestUtils.Target.DEVELOPMENT].set(
- b.identHash,
- b
- );
- }
- },
- afterWorkspaceDependencyRemoval: async (e, t, r) => {
- if ('types' === r.scope) return;
- const a = l(r),
- o = s.structUtils.makeIdent('types', a);
- for (const t of s.Manifest.allDependencies) {
- void 0 !== e.manifest[t].get(o.identHash) &&
- e.manifest[t].delete(o.identHash);
- }
- },
- beforeWorkspacePacking: (e, t) => {
- t.publishConfig &&
- t.publishConfig.typings &&
- (t.typings = t.publishConfig.typings),
- t.publishConfig &&
- t.publishConfig.types &&
- (t.types = t.publishConfig.types);
- }
- }
- };
- },
- 469: (e, t, r) => {
- 'use strict';
- function s(e) {
- const t = [...e.caches],
- r = t.shift();
- return void 0 === r
- ? a()
- : {
- get: (e, a, o = { miss: () => Promise.resolve() }) =>
- r.get(e, a, o).catch(() => s({ caches: t }).get(e, a, o)),
- set: (e, a) =>
- r.set(e, a).catch(() => s({ caches: t }).set(e, a)),
- delete: (e) =>
- r.delete(e).catch(() => s({ caches: t }).delete(e)),
- clear: () => r.clear().catch(() => s({ caches: t }).clear())
- };
- }
- function a() {
- return {
- get: (e, t, r = { miss: () => Promise.resolve() }) =>
- t()
- .then((e) => Promise.all([e, r.miss(e)]))
- .then(([e]) => e),
- set: (e, t) => Promise.resolve(t),
- delete: (e) => Promise.resolve(),
- clear: () => Promise.resolve()
- };
- }
- r.r(t),
- r.d(t, {
- createFallbackableCache: () => s,
- createNullCache: () => a
- });
- },
- 712: (e, t, r) => {
- 'use strict';
- function s(e = { serializable: !0 }) {
- let t = {};
- return {
- get(r, s, a = { miss: () => Promise.resolve() }) {
- const o = JSON.stringify(r);
- if (o in t)
- return Promise.resolve(
- e.serializable ? JSON.parse(t[o]) : t[o]
- );
- const n = s(),
- i = (a && a.miss) || (() => Promise.resolve());
- return n.then((e) => i(e)).then(() => n);
- },
- set: (r, s) => (
- (t[JSON.stringify(r)] = e.serializable
- ? JSON.stringify(s)
- : s),
- Promise.resolve(s)
- ),
- delete: (e) => (delete t[JSON.stringify(e)], Promise.resolve()),
- clear: () => ((t = {}), Promise.resolve())
- };
- }
- r.r(t), r.d(t, { createInMemoryCache: () => s });
- },
- 223: (e, t, r) => {
- 'use strict';
- r.r(t),
- r.d(t, {
- addABTest: () => i,
- createAnalyticsClient: () => n,
- deleteABTest: () => c,
- getABTest: () => d,
- getABTests: () => l,
- stopABTest: () => u
- });
- var s = r(757),
- a = r(858),
- o = r(541);
- const n = (e) => {
- const t = e.region || 'us',
- r = (0, s.createAuth)(
- s.AuthMode.WithinHeaders,
- e.appId,
- e.apiKey
- ),
- o = (0, a.createTransporter)({
- hosts: [{ url: `analytics.${t}.algolia.com` }],
- ...e,
- headers: {
- ...r.headers(),
- 'content-type': 'application/json',
- ...e.headers
- },
- queryParameters: {
- ...r.queryParameters(),
- ...e.queryParameters
- }
- }),
- n = e.appId;
- return (0, s.addMethods)(
- { appId: n, transporter: o },
- e.methods
- );
- },
- i = (e) => (t, r) =>
- e.transporter.write(
- { method: o.N.Post, path: '2/abtests', data: t },
- r
- ),
- c = (e) => (t, r) =>
- e.transporter.write(
- {
- method: o.N.Delete,
- path: (0, s.encode)('2/abtests/%s', t)
- },
- r
- ),
- d = (e) => (t, r) =>
- e.transporter.read(
- { method: o.N.Get, path: (0, s.encode)('2/abtests/%s', t) },
- r
- ),
- l = (e) => (t) =>
- e.transporter.read({ method: o.N.Get, path: '2/abtests' }, t),
- u = (e) => (t, r) =>
- e.transporter.write(
- {
- method: o.N.Post,
- path: (0, s.encode)('2/abtests/%s/stop', t)
- },
- r
- );
- },
- 757: (e, t, r) => {
- 'use strict';
- function s(e, t, r) {
- const s = {
- 'x-algolia-api-key': r,
- 'x-algolia-application-id': t
- };
- return {
- headers: () => (e === u.WithinHeaders ? s : {}),
- queryParameters: () => (e === u.WithinQueryParameters ? s : {})
- };
- }
- function a(e) {
- let t = 0;
- const r = () => (
- t++,
- new Promise((s) => {
- setTimeout(() => {
- s(e(r));
- }, Math.min(100 * t, 1e3));
- })
- );
- return e(r);
- }
- function o(e, t = (e, t) => Promise.resolve()) {
- return Object.assign(e, {
- wait: (r) =>
- o(e.then((e) => Promise.all([t(e, r), e])).then((e) => e[1]))
- });
- }
- function n(e) {
- let t = e.length - 1;
- for (; t > 0; t--) {
- const r = Math.floor(Math.random() * (t + 1)),
- s = e[t];
- (e[t] = e[r]), (e[r] = s);
- }
- return e;
- }
- function i(e, t) {
- return (
- Object.keys(void 0 !== t ? t : {}).forEach((r) => {
- e[r] = t[r](e);
- }),
- e
- );
- }
- function c(e, ...t) {
- let r = 0;
- return e.replace(/%s/g, () => encodeURIComponent(t[r++]));
- }
- r.r(t),
- r.d(t, {
- AuthMode: () => u,
- addMethods: () => i,
- createAuth: () => s,
- createRetryablePromise: () => a,
- createWaitablePromise: () => o,
- destroy: () => l,
- encode: () => c,
- shuffle: () => n,
- version: () => d
- });
- const d = '4.2.0',
- l = (e) => () => e.transporter.requester.destroy(),
- u = { WithinQueryParameters: 0, WithinHeaders: 1 };
- },
- 103: (e, t, r) => {
- 'use strict';
- r.r(t),
- r.d(t, {
- createRecommendationClient: () => n,
- getPersonalizationStrategy: () => i,
- setPersonalizationStrategy: () => c
- });
- var s = r(757),
- a = r(858),
- o = r(541);
- const n = (e) => {
- const t = e.region || 'us',
- r = (0, s.createAuth)(
- s.AuthMode.WithinHeaders,
- e.appId,
- e.apiKey
- ),
- o = (0, a.createTransporter)({
- hosts: [{ url: `recommendation.${t}.algolia.com` }],
- ...e,
- headers: {
- ...r.headers(),
- 'content-type': 'application/json',
- ...e.headers
- },
- queryParameters: {
- ...r.queryParameters(),
- ...e.queryParameters
- }
- });
- return (0, s.addMethods)(
- { appId: e.appId, transporter: o },
- e.methods
- );
- },
- i = (e) => (t) =>
- e.transporter.read(
- { method: o.N.Get, path: '1/strategies/personalization' },
- t
- ),
- c = (e) => (t, r) =>
- e.transporter.write(
- {
- method: o.N.Post,
- path: '1/strategies/personalization',
- data: t
- },
- r
- );
- },
- 790: (e, t, r) => {
- 'use strict';
- r.r(t),
- r.d(t, {
- ApiKeyACLEnum: () => xe,
- BatchActionEnum: () => we,
- ScopeEnum: () => Ae,
- StrategyEnum: () => qe,
- SynonymEnum: () => Re,
- addApiKey: () => p,
- assignUserID: () => m,
- assignUserIDs: () => h,
- batch: () => H,
- browseObjects: () => K,
- browseRules: () => B,
- browseSynonyms: () => z,
- chunkedBatch: () => V,
- clearObjects: () => $,
- clearRules: () => L,
- clearSynonyms: () => Q,
- copyIndex: () => y,
- copyRules: () => g,
- copySettings: () => b,
- copySynonyms: () => f,
- createBrowsablePromise: () => i,
- createMissingObjectIDError: () => d,
- createObjectNotFoundError: () => l,
- createSearchClient: () => c,
- createValidUntilNotFoundError: () => u,
- deleteApiKey: () => P,
- deleteBy: () => J,
- deleteIndex: () => _,
- deleteObject: () => X,
- deleteObjects: () => Y,
- deleteRule: () => Z,
- deleteSynonym: () => ee,
- exists: () => te,
- findObject: () => re,
- generateSecuredApiKey: () => I,
- getApiKey: () => O,
- getLogs: () => j,
- getObject: () => se,
- getObjectPosition: () => ae,
- getObjects: () => oe,
- getRule: () => ne,
- getSecuredApiKeyRemainingValidity: () => v,
- getSettings: () => ie,
- getSynonym: () => ce,
- getTask: () => de,
- getTopUserIDs: () => N,
- getUserID: () => S,
- hasPendingMappings: () => D,
- initIndex: () => x,
- listApiKeys: () => w,
- listClusters: () => A,
- listIndices: () => q,
- listUserIDs: () => R,
- moveIndex: () => T,
- multipleBatch: () => k,
- multipleGetObjects: () => U,
- multipleQueries: () => C,
- multipleSearchForFacetValues: () => E,
- partialUpdateObject: () => le,
- partialUpdateObjects: () => ue,
- removeUserID: () => M,
- replaceAllObjects: () => pe,
- replaceAllRules: () => me,
- replaceAllSynonyms: () => he,
- restoreApiKey: () => W,
- saveObject: () => ye,
- saveObjects: () => ge,
- saveRule: () => be,
- saveRules: () => fe,
- saveSynonym: () => Pe,
- saveSynonyms: () => Ie,
- search: () => Oe,
- searchForFacetValues: () => je,
- searchRules: () => ve,
- searchSynonyms: () => Ne,
- searchUserIDs: () => F,
- setSettings: () => Se,
- updateApiKey: () => G,
- waitTask: () => De
- });
- var s = r(757),
- a = r(858),
- o = r(541);
- const n = require('crypto');
- function i(e) {
- const t = (r) =>
- e.request(r).then((s) => {
- if ((void 0 !== e.batch && e.batch(s.hits), !e.shouldStop(s)))
- return s.cursor
- ? t({ cursor: s.cursor })
- : t({ page: (r.page || 0) + 1 });
- });
- return t({});
- }
- const c = (e) => {
- const t = e.appId,
- r = (0, s.createAuth)(
- void 0 !== e.authMode ? e.authMode : s.AuthMode.WithinHeaders,
- t,
- e.apiKey
- ),
- o = (0, a.createTransporter)({
- hosts: [
- { url: t + '-dsn.algolia.net', accept: a.CallEnum.Read },
- { url: t + '.algolia.net', accept: a.CallEnum.Write }
- ].concat(
- (0, s.shuffle)([
- { url: t + '-1.algolianet.com' },
- { url: t + '-2.algolianet.com' },
- { url: t + '-3.algolianet.com' }
- ])
- ),
- ...e,
- headers: {
- ...r.headers(),
- 'content-type': 'application/x-www-form-urlencoded',
- ...e.headers
- },
- queryParameters: {
- ...r.queryParameters(),
- ...e.queryParameters
- }
- }),
- n = {
- transporter: o,
- appId: t,
- addAlgoliaAgent(e, t) {
- o.userAgent.add({ segment: e, version: t });
- },
- clearCache: () =>
- Promise.all([
- o.requestsCache.clear(),
- o.responsesCache.clear()
- ]).then(() => {})
- };
- return (0, s.addMethods)(n, e.methods);
- };
- function d() {
- return {
- name: 'MissingObjectIDError',
- message:
- "All objects must have an unique objectID (like a primary key) to be valid. Algolia is also able to generate objectIDs automatically but *it's not recommended*. To do it, use the `{'autoGenerateObjectIDIfNotExist': true}` option."
- };
- }
- function l() {
- return {
- name: 'ObjectNotFoundError',
- message: 'Object not found.'
- };
- }
- function u() {
- return {
- name: 'ValidUntilNotFoundError',
- message: 'ValidUntil not found in given secured api key.'
- };
- }
- const p = (e) => (t, r) => {
- const { queryParameters: a, ...n } = r || {},
- i = {
- acl: t,
- ...(void 0 !== a ? { queryParameters: a } : {})
- };
- return (0, s.createWaitablePromise)(
- e.transporter.write(
- { method: o.N.Post, path: '1/keys', data: i },
- n
- ),
- (t, r) =>
- (0, s.createRetryablePromise)((s) =>
- O(e)(t.key, r).catch((e) => {
- if (404 !== e.status) throw e;
- return s();
- })
- )
- );
- },
- m = (e) => (t, r, s) => {
- const n = (0, a.createMappedRequestOptions)(s);
- return (
- (n.queryParameters['X-Algolia-User-ID'] = t),
- e.transporter.write(
- {
- method: o.N.Post,
- path: '1/clusters/mapping',
- data: { cluster: r }
- },
- n
- )
- );
- },
- h = (e) => (t, r, s) =>
- e.transporter.write(
- {
- method: o.N.Post,
- path: '1/clusters/mapping/batch',
- data: { users: t, cluster: r }
- },
- s
- ),
- y = (e) => (t, r, a) =>
- (0, s.createWaitablePromise)(
- e.transporter.write(
- {
- method: o.N.Post,
- path: (0, s.encode)('1/indexes/%s/operation', t),
- data: { operation: 'copy', destination: r }
- },
- a
- ),
- (r, s) =>
- x(e)(t, { methods: { waitTask: De } }).waitTask(r.taskID, s)
- ),
- g = (e) => (t, r, s) => y(e)(t, r, { ...s, scope: [Ae.Rules] }),
- b = (e) => (t, r, s) =>
- y(e)(t, r, { ...s, scope: [Ae.Settings] }),
- f = (e) => (t, r, s) =>
- y(e)(t, r, { ...s, scope: [Ae.Synonyms] }),
- P = (e) => (t, r) =>
- (0, s.createWaitablePromise)(
- e.transporter.write(
- { method: o.N.Delete, path: (0, s.encode)('1/keys/%s', t) },
- r
- ),
- (r, a) =>
- (0, s.createRetryablePromise)((r) =>
- O(e)(t, a)
- .then(r)
- .catch((e) => {
- if (404 !== e.status) throw e;
- })
- )
- ),
- I = () => (e, t) => {
- const r = (0, a.serializeQueryParameters)(t),
- s = (0, n.createHmac)('sha256', e).update(r).digest('hex');
- return Buffer.from(s + r).toString('base64');
- },
- O = (e) => (t, r) =>
- e.transporter.read(
- { method: o.N.Get, path: (0, s.encode)('1/keys/%s', t) },
- r
- ),
- j = (e) => (t) =>
- e.transporter.read({ method: o.N.Get, path: '1/logs' }, t),
- v = () => (e) => {
- const t = Buffer.from(e, 'base64')
- .toString('ascii')
- .match(/validUntil=(\d+)/);
- if (null === t)
- throw {
- name: 'ValidUntilNotFoundError',
- message: 'ValidUntil not found in given secured api key.'
- };
- return (
- parseInt(t[1], 10) - Math.round(new Date().getTime() / 1e3)
- );
- },
- N = (e) => (t) =>
- e.transporter.read(
- { method: o.N.Get, path: '1/clusters/mapping/top' },
- t
- ),
- S = (e) => (t, r) =>
- e.transporter.read(
- {
- method: o.N.Get,
- path: (0, s.encode)('1/clusters/mapping/%s', t)
- },
- r
- ),
- D = (e) => (t) => {
- const { retrieveMappings: r, ...s } = t || {};
- return (
- !0 === r && (s.getClusters = !0),
- e.transporter.read(
- { method: o.N.Get, path: '1/clusters/mapping/pending' },
- s
- )
- );
- },
- x =
- (e) =>
- (t, r = {}) => {
- const a = {
- transporter: e.transporter,
- appId: e.appId,
- indexName: t
- };
- return (0, s.addMethods)(a, r.methods);
- },
- w = (e) => (t) =>
- e.transporter.read({ method: o.N.Get, path: '1/keys' }, t),
- A = (e) => (t) =>
- e.transporter.read({ method: o.N.Get, path: '1/clusters' }, t),
- q = (e) => (t) =>
- e.transporter.read({ method: o.N.Get, path: '1/indexes' }, t),
- R = (e) => (t) =>
- e.transporter.read(
- { method: o.N.Get, path: '1/clusters/mapping' },
- t
- ),
- T = (e) => (t, r, a) =>
- (0, s.createWaitablePromise)(
- e.transporter.write(
- {
- method: o.N.Post,
- path: (0, s.encode)('1/indexes/%s/operation', t),
- data: { operation: 'move', destination: r }
- },
- a
- ),
- (r, s) =>
- x(e)(t, { methods: { waitTask: De } }).waitTask(r.taskID, s)
- ),
- k = (e) => (t, r) =>
- (0, s.createWaitablePromise)(
- e.transporter.write(
- {
- method: o.N.Post,
- path: '1/indexes/*/batch',
- data: { requests: t }
- },
- r
- ),
- (t, r) =>
- Promise.all(
- Object.keys(t.taskID).map((s) =>
- x(e)(s, { methods: { waitTask: De } }).waitTask(
- t.taskID[s],
- r
- )
- )
- )
- ),
- U = (e) => (t, r) =>
- e.transporter.read(
- {
- method: o.N.Post,
- path: '1/indexes/*/objects',
- data: { requests: t }
- },
- r
- ),
- C = (e) => (t, r) => {
- const s = t.map((e) => ({
- ...e,
- params: (0, a.serializeQueryParameters)(e.params || {})
- }));
- return e.transporter.read(
- {
- method: o.N.Post,
- path: '1/indexes/*/queries',
- data: { requests: s },
- cacheable: !0
- },
- r
- );
- },
- E = (e) => (t, r) =>
- Promise.all(
- t.map((t) => {
- const { facetName: s, facetQuery: a, ...o } = t.params;
- return x(e)(t.indexName, {
- methods: { searchForFacetValues: je }
- }).searchForFacetValues(s, a, { ...r, ...o });
- })
- ),
- M = (e) => (t, r) => {
- const s = (0, a.createMappedRequestOptions)(r);
- return (
- (s.queryParameters['X-Algolia-User-ID'] = t),
- e.transporter.write(
- { method: o.N.Delete, path: '1/clusters/mapping' },
- s
- )
- );
- },
- W = (e) => (t, r) =>
- (0, s.createWaitablePromise)(
- e.transporter.write(
- {
- method: o.N.Post,
- path: (0, s.encode)('1/keys/%s/restore', t)
- },
- r
- ),
- (r, a) =>
- (0, s.createRetryablePromise)((r) =>
- O(e)(t, a).catch((e) => {
- if (404 !== e.status) throw e;
- return r();
- })
- )
- ),
- F = (e) => (t, r) =>
- e.transporter.read(
- {
- method: o.N.Post,
- path: '1/clusters/mapping/search',
- data: { query: t }
- },
- r
- ),
- G = (e) => (t, r) => {
- const a = Object.assign({}, r),
- { queryParameters: n, ...i } = r || {},
- c = n ? { queryParameters: n } : {},
- d = [
- 'acl',
- 'indexes',
- 'referers',
- 'restrictSources',
- 'queryParameters',
- 'description',
- 'maxQueriesPerIPPerHour',
- 'maxHitsPerQuery'
- ];
- return (0, s.createWaitablePromise)(
- e.transporter.write(
- {
- method: o.N.Put,
- path: (0, s.encode)('1/keys/%s', t),
- data: c
- },
- i
- ),
- (r, o) =>
- (0, s.createRetryablePromise)((r) =>
- O(e)(t, o).then((e) =>
- ((e) =>
- Object.keys(a)
- .filter((e) => -1 !== d.indexOf(e))
- .every((t) => e[t] === a[t]))(e)
- ? Promise.resolve()
- : r()
- )
- )
- );
- },
- H = (e) => (t, r) =>
- (0, s.createWaitablePromise)(
- e.transporter.write(
- {
- method: o.N.Post,
- path: (0, s.encode)('1/indexes/%s/batch', e.indexName),
- data: { requests: t }
- },
- r
- ),
- (t, r) => De(e)(t.taskID, r)
- ),
- K = (e) => (t) =>
- i({
- ...t,
- shouldStop: (e) => void 0 === e.cursor,
- request: (r) =>
- e.transporter.read(
- {
- method: o.N.Post,
- path: (0, s.encode)('1/indexes/%s/browse', e.indexName),
- data: r
- },
- t
- )
- }),
- B = (e) => (t) => {
- const r = { hitsPerPage: 1e3, ...t };
- return i({
- ...r,
- shouldStop: (e) => e.hits.length < r.hitsPerPage,
- request: (t) =>
- ve(e)('', { ...r, ...t }).then((e) => ({
- ...e,
- hits: e.hits.map((e) => (delete e._highlightResult, e))
- }))
- });
- },
- z = (e) => (t) => {
- const r = { hitsPerPage: 1e3, ...t };
- return i({
- ...r,
- shouldStop: (e) => e.hits.length < r.hitsPerPage,
- request: (t) =>
- Ne(e)('', { ...r, ...t }).then((e) => ({
- ...e,
- hits: e.hits.map((e) => (delete e._highlightResult, e))
- }))
- });
- },
- V = (e) => (t, r, a) => {
- const { batchSize: o, ...n } = a || {},
- i = { taskIDs: [], objectIDs: [] },
- c = (s = 0) => {
- const a = [];
- let d;
- for (
- d = s;
- d < t.length && (a.push(t[d]), a.length !== (o || 1e3));
- d++
- );
- return 0 === a.length
- ? Promise.resolve(i)
- : H(e)(
- a.map((e) => ({ action: r, body: e })),
- n
- ).then(
- (e) => (
- (i.objectIDs = i.objectIDs.concat(e.objectIDs)),
- i.taskIDs.push(e.taskID),
- d++,
- c(d)
- )
- );
- };
- return (0, s.createWaitablePromise)(c(), (t, r) =>
- Promise.all(t.taskIDs.map((t) => De(e)(t, r)))
- );
- },
- $ = (e) => (t) =>
- (0, s.createWaitablePromise)(
- e.transporter.write(
- {
- method: o.N.Post,
- path: (0, s.encode)('1/indexes/%s/clear', e.indexName)
- },
- t
- ),
- (t, r) => De(e)(t.taskID, r)
- ),
- L = (e) => (t) => {
- const { forwardToReplicas: r, ...n } = t || {},
- i = (0, a.createMappedRequestOptions)(n);
- return (
- r && (i.queryParameters.forwardToReplicas = 1),
- (0, s.createWaitablePromise)(
- e.transporter.write(
- {
- method: o.N.Post,
- path: (0, s.encode)(
- '1/indexes/%s/rules/clear',
- e.indexName
- )
- },
- i
- ),
- (t, r) => De(e)(t.taskID, r)
- )
- );
- },
- Q = (e) => (t) => {
- const { forwardToReplicas: r, ...n } = t || {},
- i = (0, a.createMappedRequestOptions)(n);
- return (
- r && (i.queryParameters.forwardToReplicas = 1),
- (0, s.createWaitablePromise)(
- e.transporter.write(
- {
- method: o.N.Post,
- path: (0, s.encode)(
- '1/indexes/%s/synonyms/clear',
- e.indexName
- )
- },
- i
- ),
- (t, r) => De(e)(t.taskID, r)
- )
- );
- },
- J = (e) => (t, r) =>
- (0, s.createWaitablePromise)(
- e.transporter.write(
- {
- method: o.N.Post,
- path: (0, s.encode)(
- '1/indexes/%s/deleteByQuery',
- e.indexName
- ),
- data: t
- },
- r
- ),
- (t, r) => De(e)(t.taskID, r)
- ),
- _ = (e) => (t) =>
- (0, s.createWaitablePromise)(
- e.transporter.write(
- {
- method: o.N.Delete,
- path: (0, s.encode)('1/indexes/%s', e.indexName)
- },
- t
- ),
- (t, r) => De(e)(t.taskID, r)
- ),
- X = (e) => (t, r) =>
- (0, s.createWaitablePromise)(
- Y(e)([t], r).then((e) => ({ taskID: e.taskIDs[0] })),
- (t, r) => De(e)(t.taskID, r)
- ),
- Y = (e) => (t, r) => {
- const s = t.map((e) => ({ objectID: e }));
- return V(e)(s, we.DeleteObject, r);
- },
- Z = (e) => (t, r) => {
- const { forwardToReplicas: n, ...i } = r || {},
- c = (0, a.createMappedRequestOptions)(i);
- return (
- n && (c.queryParameters.forwardToReplicas = 1),
- (0, s.createWaitablePromise)(
- e.transporter.write(
- {
- method: o.N.Delete,
- path: (0, s.encode)(
- '1/indexes/%s/rules/%s',
- e.indexName,
- t
- )
- },
- c
- ),
- (t, r) => De(e)(t.taskID, r)
- )
- );
- },
- ee = (e) => (t, r) => {
- const { forwardToReplicas: n, ...i } = r || {},
- c = (0, a.createMappedRequestOptions)(i);
- return (
- n && (c.queryParameters.forwardToReplicas = 1),
- (0, s.createWaitablePromise)(
- e.transporter.write(
- {
- method: o.N.Delete,
- path: (0, s.encode)(
- '1/indexes/%s/synonyms/%s',
- e.indexName,
- t
- )
- },
- c
- ),
- (t, r) => De(e)(t.taskID, r)
- )
- );
- },
- te = (e) => (t) =>
- ie(e)(t)
- .then(() => !0)
- .catch((e) => {
- if (404 !== e.status) throw e;
- return !1;
- }),
- re = (e) => (t, r) => {
- const { query: s, paginate: a, ...o } = r || {};
- let n = 0;
- const i = () =>
- Oe(e)(s || '', { ...o, page: n }).then((e) => {
- for (const [r, s] of Object.entries(e.hits))
- if (t(s))
- return {
- object: s,
- position: parseInt(r, 10),
- page: n
- };
- if ((n++, !1 === a || n >= e.nbPages))
- throw {
- name: 'ObjectNotFoundError',
- message: 'Object not found.'
- };
- return i();
- });
- return i();
- },
- se = (e) => (t, r) =>
- e.transporter.read(
- {
- method: o.N.Get,
- path: (0, s.encode)('1/indexes/%s/%s', e.indexName, t)
- },
- r
- ),
- ae = () => (e, t) => {
- for (const [r, s] of Object.entries(e.hits))
- if (s.objectID === t) return parseInt(r, 10);
- return -1;
- },
- oe = (e) => (t, r) => {
- const { attributesToRetrieve: s, ...a } = r || {},
- n = t.map((t) => ({
- indexName: e.indexName,
- objectID: t,
- ...(s ? { attributesToRetrieve: s } : {})
- }));
- return e.transporter.read(
- {
- method: o.N.Post,
- path: '1/indexes/*/objects',
- data: { requests: n }
- },
- a
- );
- },
- ne = (e) => (t, r) =>
- e.transporter.read(
- {
- method: o.N.Get,
- path: (0, s.encode)('1/indexes/%s/rules/%s', e.indexName, t)
- },
- r
- ),
- ie = (e) => (t) =>
- e.transporter.read(
- {
- method: o.N.Get,
- path: (0, s.encode)('1/indexes/%s/settings', e.indexName),
- data: { getVersion: 2 }
- },
- t
- ),
- ce = (e) => (t, r) =>
- e.transporter.read(
- {
- method: o.N.Get,
- path: (0, s.encode)(
- '1/indexes/%s/synonyms/%s',
- e.indexName,
- t
- )
- },
- r
- ),
- de = (e) => (t, r) =>
- e.transporter.read(
- {
- method: o.N.Get,
- path: (0, s.encode)(
- '1/indexes/%s/task/%s',
- e.indexName,
- t.toString()
- )
- },
- r
- ),
- le = (e) => (t, r) =>
- (0, s.createWaitablePromise)(
- ue(e)([t], r).then((e) => ({
- objectID: e.objectIDs[0],
- taskID: e.taskIDs[0]
- })),
- (t, r) => De(e)(t.taskID, r)
- ),
- ue = (e) => (t, r) => {
- const { createIfNotExists: s, ...a } = r || {},
- o = s
- ? we.PartialUpdateObject
- : we.PartialUpdateObjectNoCreate;
- return V(e)(t, o, a);
- },
- pe = (e) => (t, r) => {
- const {
- safe: a,
- autoGenerateObjectIDIfNotExist: n,
- batchSize: i,
- ...c
- } = r || {},
- d = (t, r, a, n) =>
- (0, s.createWaitablePromise)(
- e.transporter.write(
- {
- method: o.N.Post,
- path: (0, s.encode)('1/indexes/%s/operation', t),
- data: { operation: a, destination: r }
- },
- n
- ),
- (t, r) => De(e)(t.taskID, r)
- ),
- l = Math.random().toString(36).substring(7),
- u = `${e.indexName}_tmp_${l}`,
- p = ge({
- appId: e.appId,
- transporter: e.transporter,
- indexName: u
- });
- let m = [];
- const h = d(e.indexName, u, 'copy', {
- ...c,
- scope: ['settings', 'synonyms', 'rules']
- });
- m.push(h);
- const y = (a ? h.wait(c) : h)
- .then(() => {
- const e = p(t, {
- ...c,
- autoGenerateObjectIDIfNotExist: n,
- batchSize: i
- });
- return m.push(e), a ? e.wait(c) : e;
- })
- .then(() => {
- const t = d(u, e.indexName, 'move', c);
- return m.push(t), a ? t.wait(c) : t;
- })
- .then(() => Promise.all(m))
- .then(([e, t, r]) => ({
- objectIDs: t.objectIDs,
- taskIDs: [e.taskID, ...t.taskIDs, r.taskID]
- }));
- return (0, s.createWaitablePromise)(y, (e, t) =>
- Promise.all(m.map((e) => e.wait(t)))
- );
- },
- me = (e) => (t, r) => fe(e)(t, { ...r, clearExistingRules: !0 }),
- he = (e) => (t, r) =>
- Ie(e)(t, { ...r, replaceExistingSynonyms: !0 }),
- ye = (e) => (t, r) =>
- (0, s.createWaitablePromise)(
- ge(e)([t], r).then((e) => ({
- objectID: e.objectIDs[0],
- taskID: e.taskIDs[0]
- })),
- (t, r) => De(e)(t.taskID, r)
- ),
- ge = (e) => (t, r) => {
- const { autoGenerateObjectIDIfNotExist: a, ...o } = r || {},
- n = a ? we.AddObject : we.UpdateObject;
- if (n === we.UpdateObject)
- for (const e of t)
- if (void 0 === e.objectID)
- return (0, s.createWaitablePromise)(
- Promise.reject({
- name: 'MissingObjectIDError',
- message:
- "All objects must have an unique objectID (like a primary key) to be valid. Algolia is also able to generate objectIDs automatically but *it's not recommended*. To do it, use the `{'autoGenerateObjectIDIfNotExist': true}` option."
- })
- );
- return V(e)(t, n, o);
- },
- be = (e) => (t, r) => fe(e)([t], r),
- fe = (e) => (t, r) => {
- const {
- forwardToReplicas: n,
- clearExistingRules: i,
- ...c
- } = r || {},
- d = (0, a.createMappedRequestOptions)(c);
- return (
- n && (d.queryParameters.forwardToReplicas = 1),
- i && (d.queryParameters.clearExistingRules = 1),
- (0, s.createWaitablePromise)(
- e.transporter.write(
- {
- method: o.N.Post,
- path: (0, s.encode)(
- '1/indexes/%s/rules/batch',
- e.indexName
- ),
- data: t
- },
- d
- ),
- (t, r) => De(e)(t.taskID, r)
- )
- );
- },
- Pe = (e) => (t, r) => Ie(e)([t], r),
- Ie = (e) => (t, r) => {
- const {
- forwardToReplicas: n,
- replaceExistingSynonyms: i,
- ...c
- } = r || {},
- d = (0, a.createMappedRequestOptions)(c);
- return (
- n && (d.queryParameters.forwardToReplicas = 1),
- i && (d.queryParameters.replaceExistingSynonyms = 1),
- (0, s.createWaitablePromise)(
- e.transporter.write(
- {
- method: o.N.Post,
- path: (0, s.encode)(
- '1/indexes/%s/synonyms/batch',
- e.indexName
- ),
- data: t
- },
- d
- ),
- (t, r) => De(e)(t.taskID, r)
- )
- );
- },
- Oe = (e) => (t, r) =>
- e.transporter.read(
- {
- method: o.N.Post,
- path: (0, s.encode)('1/indexes/%s/query', e.indexName),
- data: { query: t },
- cacheable: !0
- },
- r
- ),
- je = (e) => (t, r, a) =>
- e.transporter.read(
- {
- method: o.N.Post,
- path: (0, s.encode)(
- '1/indexes/%s/facets/%s/query',
- e.indexName,
- t
- ),
- data: { facetQuery: r },
- cacheable: !0
- },
- a
- ),
- ve = (e) => (t, r) =>
- e.transporter.read(
- {
- method: o.N.Post,
- path: (0, s.encode)(
- '1/indexes/%s/rules/search',
- e.indexName
- ),
- data: { query: t }
- },
- r
- ),
- Ne = (e) => (t, r) =>
- e.transporter.read(
- {
- method: o.N.Post,
- path: (0, s.encode)(
- '1/indexes/%s/synonyms/search',
- e.indexName
- ),
- data: { query: t }
- },
- r
- ),
- Se = (e) => (t, r) => {
- const { forwardToReplicas: n, ...i } = r || {},
- c = (0, a.createMappedRequestOptions)(i);
- return (
- n && (c.queryParameters.forwardToReplicas = 1),
- (0, s.createWaitablePromise)(
- e.transporter.write(
- {
- method: o.N.Put,
- path: (0, s.encode)(
- '1/indexes/%s/settings',
- e.indexName
- ),
- data: t
- },
- c
- ),
- (t, r) => De(e)(t.taskID, r)
- )
- );
- },
- De = (e) => (t, r) =>
- (0, s.createRetryablePromise)((s) =>
- de(e)(t, r).then((e) =>
- 'published' !== e.status ? s() : void 0
- )
- ),
- xe = {
- AddObject: 'addObject',
- Analytics: 'analytics',
- Browser: 'browse',
- DeleteIndex: 'deleteIndex',
- DeleteObject: 'deleteObject',
- EditSettings: 'editSettings',
- ListIndexes: 'listIndexes',
- Logs: 'logs',
- Recommendation: 'recommendation',
- Search: 'search',
- SeeUnretrievableAttributes: 'seeUnretrievableAttributes',
- Settings: 'settings',
- Usage: 'usage'
- },
- we = {
- AddObject: 'addObject',
- UpdateObject: 'updateObject',
- PartialUpdateObject: 'partialUpdateObject',
- PartialUpdateObjectNoCreate: 'partialUpdateObjectNoCreate',
- DeleteObject: 'deleteObject'
- },
- Ae = {
- Settings: 'settings',
- Synonyms: 'synonyms',
- Rules: 'rules'
- },
- qe = { None: 'none', StopIfEnoughMatches: 'stopIfEnoughMatches' },
- Re = {
- Synonym: 'synonym',
- OneWaySynonym: 'oneWaySynonym',
- AltCorrection1: 'altCorrection1',
- AltCorrection2: 'altCorrection2',
- Placeholder: 'placeholder'
- };
- },
- 45: (e, t, r) => {
- 'use strict';
- function s() {
- return {
- debug: (e, t) => Promise.resolve(),
- info: (e, t) => Promise.resolve(),
- error: (e, t) => Promise.resolve()
- };
- }
- r.r(t),
- r.d(t, { LogLevelEnum: () => a, createNullLogger: () => s });
- const a = { Debug: 1, Info: 2, Error: 3 };
- },
- 541: (e, t, r) => {
- 'use strict';
- r.d(t, { N: () => s });
- const s = {
- Delete: 'DELETE',
- Get: 'GET',
- Post: 'POST',
- Put: 'PUT'
- };
- },
- 487: (e, t, r) => {
- 'use strict';
- r.r(t), r.d(t, { createNodeHttpRequester: () => n });
- const s = require('http'),
- a = require('https'),
- o = require('url');
- function n() {
- const e = { keepAlive: !0 },
- t = new s.Agent(e),
- r = new a.Agent(e);
- return {
- send: (e) =>
- new Promise((n) => {
- const i = (0, o.parse)(e.url),
- c =
- null === i.query
- ? i.pathname
- : `${i.pathname}?${i.query}`,
- d = {
- agent: 'https:' === i.protocol ? r : t,
- hostname: i.hostname,
- path: c,
- method: e.method,
- headers: e.headers,
- ...(void 0 !== i.port ? { port: i.port || '' } : {})
- },
- l = ('https:' === i.protocol ? a : s).request(d, (e) => {
- let t = '';
- e.on('data', (e) => (t += e)),
- e.on('end', () => {
- clearTimeout(p),
- clearTimeout(m),
- n({
- status: e.statusCode || 0,
- content: t,
- isTimedOut: !1
- });
- });
- }),
- u = (e, t) =>
- setTimeout(() => {
- l.abort(),
- n({ status: 0, content: t, isTimedOut: !0 });
- }, 1e3 * e),
- p = u(e.connectTimeout, 'Connection timeout');
- let m;
- l.on('error', (e) => {
- clearTimeout(p),
- clearTimeout(m),
- n({ status: 0, content: e.message, isTimedOut: !1 });
- }),
- l.once('response', () => {
- clearTimeout(p),
- (m = u(e.responseTimeout, 'Socket timeout'));
- }),
- void 0 !== e.data && l.write(e.data),
- l.end();
- }),
- destroy: () => (t.destroy(), r.destroy(), Promise.resolve())
- };
- }
- },
- 858: (e, t, r) => {
- 'use strict';
- r.r(t),
- r.d(t, {
- CallEnum: () => o,
- HostStatusEnum: () => n,
- createApiError: () => j,
- createDeserializationError: () => v,
- createMappedRequestOptions: () => a,
- createRetryError: () => N,
- createStatefulHost: () => i,
- createStatelessHost: () => l,
- createTransporter: () => p,
- createUserAgent: () => m,
- deserializeFailure: () => y,
- deserializeSuccess: () => h,
- isStatefulHostTimeouted: () => d,
- isStatefulHostUp: () => c,
- serializeData: () => f,
- serializeHeaders: () => P,
- serializeQueryParameters: () => b,
- serializeUrl: () => g,
- stackFrameWithoutCredentials: () => O,
- stackTraceWithoutCredentials: () => I
- });
- var s = r(541);
- function a(e, t) {
- const r = e || {},
- s = r.data || {};
- return (
- Object.keys(r).forEach((e) => {
- -1 ===
- [
- 'timeout',
- 'headers',
- 'queryParameters',
- 'data',
- 'cacheable'
- ].indexOf(e) && (s[e] = r[e]);
- }),
- {
- data: Object.entries(s).length > 0 ? s : void 0,
- timeout: r.timeout || t,
- headers: r.headers || {},
- queryParameters: r.queryParameters || {},
- cacheable: r.cacheable
- }
- );
- }
- const o = { Read: 1, Write: 2, Any: 3 },
- n = { Up: 1, Down: 2, Timeouted: 3 };
- function i(e, t = n.Up) {
- return { ...e, status: t, lastUpdate: Date.now() };
- }
- function c(e) {
- return e.status === n.Up || Date.now() - e.lastUpdate > 12e4;
- }
- function d(e) {
- return (
- e.status === n.Timeouted && Date.now() - e.lastUpdate <= 12e4
- );
- }
- function l(e) {
- return {
- protocol: e.protocol || 'https',
- url: e.url,
- accept: e.accept || o.Any
- };
- }
- function u(e, t, r, a) {
- const o = [],
- u = f(r, a),
- p = P(e, a),
- m = r.method,
- b = r.method !== s.N.Get ? {} : { ...r.data, ...a.data },
- j = {
- 'x-algolia-agent': e.userAgent.value,
- ...e.queryParameters,
- ...b,
- ...a.queryParameters
- };
- let v = 0;
- const S = (t, s) => {
- const c = t.pop();
- if (void 0 === c) throw N(I(o));
- const d = {
- data: u,
- headers: p,
- method: m,
- url: g(c, r.path, j),
- connectTimeout: s(v, e.timeouts.connect),
- responseTimeout: s(v, a.timeout)
- },
- l = (e) => {
- const r = {
- request: d,
- response: e,
- host: c,
- triesLeft: t.length
- };
- return o.push(r), r;
- },
- b = {
- onSucess: (e) => h(e),
- onRetry(r) {
- const a = l(r);
- return (
- r.isTimedOut && v++,
- Promise.all([
- e.logger.info('Retryable failure', O(a)),
- e.hostsCache.set(
- c,
- i(c, r.isTimedOut ? n.Timeouted : n.Down)
- )
- ]).then(() => S(t, s))
- );
- },
- onFail(e) {
- throw (l(e), y(e, I(o)));
- }
- };
- return e.requester.send(d).then((e) =>
- ((e, t) =>
- ((e) => {
- const t = e.status;
- return (
- e.isTimedOut ||
- (({ isTimedOut: e, status: t }) => !e && 0 == ~~t)(e) ||
- (2 != ~~(t / 100) && 4 != ~~(t / 100))
- );
- })(e)
- ? t.onRetry(e)
- : (({ status: e }) => 2 == ~~(e / 100))(e)
- ? t.onSucess(e)
- : t.onFail(e))(e, b)
- );
- };
- return (function (e, t) {
- return Promise.all(
- t.map((t) => e.get(t, () => Promise.resolve(i(t))))
- ).then((e) => {
- const r = e.filter((e) => c(e)),
- s = e.filter((e) => d(e)),
- a = [...r, ...s];
- return {
- getTimeout: (e, t) =>
- (0 === s.length && 0 === e ? 1 : s.length + 3 + e) * t,
- statelessHosts: a.length > 0 ? a.map((e) => l(e)) : t
- };
- });
- })(e.hostsCache, t).then((e) =>
- S([...e.statelessHosts].reverse(), e.getTimeout)
- );
- }
- function p(e) {
- const {
- hostsCache: t,
- logger: r,
- requester: s,
- requestsCache: n,
- responsesCache: i,
- timeouts: c,
- userAgent: d,
- hosts: p,
- queryParameters: m,
- headers: h
- } = e,
- y = {
- hostsCache: t,
- logger: r,
- requester: s,
- requestsCache: n,
- responsesCache: i,
- timeouts: c,
- userAgent: d,
- headers: h,
- queryParameters: m,
- hosts: p.map((e) => l(e)),
- read(e, t) {
- const r = a(t, y.timeouts.read),
- s = () =>
- u(
- y,
- y.hosts.filter((e) => 0 != (e.accept & o.Read)),
- e,
- r
- );
- if (
- !0 !==
- (void 0 !== r.cacheable ? r.cacheable : e.cacheable)
- )
- return s();
- const n = {
- request: e,
- mappedRequestOptions: r,
- transporter: {
- queryParameters: y.queryParameters,
- headers: y.headers
- }
- };
- return y.responsesCache.get(
- n,
- () =>
- y.requestsCache.get(n, () =>
- y.requestsCache
- .set(n, s())
- .then(
- (e) =>
- Promise.all([y.requestsCache.delete(n), e]),
- (e) =>
- Promise.all([
- y.requestsCache.delete(n),
- Promise.reject(e)
- ])
- )
- .then(([e, t]) => t)
- ),
- { miss: (e) => y.responsesCache.set(n, e) }
- );
- },
- write: (e, t) =>
- u(
- y,
- y.hosts.filter((e) => 0 != (e.accept & o.Write)),
- e,
- a(t, y.timeouts.write)
- )
- };
- return y;
- }
- function m(e) {
- const t = {
- value: `Algolia for JavaScript (${e})`,
- add(e) {
- const r = `; ${e.segment}${
- void 0 !== e.version ? ` (${e.version})` : ''
- }`;
- return (
- -1 === t.value.indexOf(r) && (t.value = `${t.value}${r}`), t
- );
- }
- };
- return t;
- }
- function h(e) {
- try {
- return JSON.parse(e.content);
- } catch (t) {
- throw v(t.message, e);
- }
- }
- function y({ content: e, status: t }, r) {
- let s = e;
- try {
- s = JSON.parse(e).message;
- } catch (e) {}
- return j(s, t, r);
- }
- function g(e, t, r) {
- const s = b(r);
- let a = `${e.protocol}://${e.url}/${
- '/' === t.charAt(0) ? t.substr(1) : t
- }`;
- return s.length && (a += '?' + s), a;
- }
- function b(e) {
- return Object.keys(e)
- .map((t) => {
- return (function (e, ...t) {
- let r = 0;
- return e.replace(/%s/g, () => encodeURIComponent(t[r++]));
- })(
- '%s=%s',
- t,
- ((r = e[t]),
- '[object Object]' === Object.prototype.toString.call(r) ||
- '[object Array]' === Object.prototype.toString.call(r)
- ? JSON.stringify(e[t])
- : e[t])
- );
- var r;
- })
- .join('&');
- }
- function f(e, t) {
- if (
- e.method === s.N.Get ||
- (void 0 === e.data && void 0 === t.data)
- )
- return;
- const r = Array.isArray(e.data)
- ? e.data
- : { ...e.data, ...t.data };
- return JSON.stringify(r);
- }
- function P(e, t) {
- const r = { ...e.headers, ...t.headers },
- s = {};
- return (
- Object.keys(r).forEach((e) => {
- const t = r[e];
- s[e.toLowerCase()] = t;
- }),
- s
- );
- }
- function I(e) {
- return e.map((e) => O(e));
- }
- function O(e) {
- const t = e.request.headers['x-algolia-api-key']
- ? { 'x-algolia-api-key': '*****' }
- : {};
- return {
- ...e,
- request: {
- ...e.request,
- headers: { ...e.request.headers, ...t }
- }
- };
- }
- function j(e, t, r) {
- return {
- name: 'ApiError',
- message: e,
- status: t,
- transporterStackTrace: r
- };
- }
- function v(e, t) {
- return { name: 'DeserializationError', message: e, response: t };
- }
- function N(e) {
- return {
- name: 'RetryError',
- message:
- 'Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.',
- transporterStackTrace: e
- };
- }
- },
- 774: (e, t, r) => {
- 'use strict';
- var s = r(469),
- a = r(712),
- o = r(223),
- n = r(757),
- i = r(103),
- c = r(790),
- d = r(45),
- l = r(487),
- u = r(858);
- function p(e, t, r) {
- const p = {
- appId: e,
- apiKey: t,
- timeouts: { connect: 2, read: 5, write: 30 },
- requester: l.createNodeHttpRequester(),
- logger: d.createNullLogger(),
- responsesCache: s.createNullCache(),
- requestsCache: s.createNullCache(),
- hostsCache: a.createInMemoryCache(),
- userAgent: u
- .createUserAgent(n.version)
- .add({ segment: 'Node.js', version: process.versions.node })
- };
- return c.createSearchClient({
- ...p,
- ...r,
- methods: {
- search: c.multipleQueries,
- searchForFacetValues: c.multipleSearchForFacetValues,
- multipleBatch: c.multipleBatch,
- multipleGetObjects: c.multipleGetObjects,
- multipleQueries: c.multipleQueries,
- copyIndex: c.copyIndex,
- copySettings: c.copySettings,
- copyRules: c.copyRules,
- copySynonyms: c.copySynonyms,
- moveIndex: c.moveIndex,
- listIndices: c.listIndices,
- getLogs: c.getLogs,
- listClusters: c.listClusters,
- multipleSearchForFacetValues: c.multipleSearchForFacetValues,
- getApiKey: c.getApiKey,
- addApiKey: c.addApiKey,
- listApiKeys: c.listApiKeys,
- updateApiKey: c.updateApiKey,
- deleteApiKey: c.deleteApiKey,
- restoreApiKey: c.restoreApiKey,
- assignUserID: c.assignUserID,
- assignUserIDs: c.assignUserIDs,
- getUserID: c.getUserID,
- searchUserIDs: c.searchUserIDs,
- listUserIDs: c.listUserIDs,
- getTopUserIDs: c.getTopUserIDs,
- removeUserID: c.removeUserID,
- hasPendingMappings: c.hasPendingMappings,
- generateSecuredApiKey: c.generateSecuredApiKey,
- getSecuredApiKeyRemainingValidity:
- c.getSecuredApiKeyRemainingValidity,
- destroy: n.destroy,
- initIndex: (e) => (t) =>
- c.initIndex(e)(t, {
- methods: {
- batch: c.batch,
- delete: c.deleteIndex,
- getObject: c.getObject,
- getObjects: c.getObjects,
- saveObject: c.saveObject,
- saveObjects: c.saveObjects,
- search: c.search,
- searchForFacetValues: c.searchForFacetValues,
- waitTask: c.waitTask,
- setSettings: c.setSettings,
- getSettings: c.getSettings,
- partialUpdateObject: c.partialUpdateObject,
- partialUpdateObjects: c.partialUpdateObjects,
- deleteObject: c.deleteObject,
- deleteObjects: c.deleteObjects,
- deleteBy: c.deleteBy,
- clearObjects: c.clearObjects,
- browseObjects: c.browseObjects,
- getObjectPosition: c.getObjectPosition,
- findObject: c.findObject,
- exists: c.exists,
- saveSynonym: c.saveSynonym,
- saveSynonyms: c.saveSynonyms,
- getSynonym: c.getSynonym,
- searchSynonyms: c.searchSynonyms,
- browseSynonyms: c.browseSynonyms,
- deleteSynonym: c.deleteSynonym,
- clearSynonyms: c.clearSynonyms,
- replaceAllObjects: c.replaceAllObjects,
- replaceAllSynonyms: c.replaceAllSynonyms,
- searchRules: c.searchRules,
- getRule: c.getRule,
- deleteRule: c.deleteRule,
- saveRule: c.saveRule,
- saveRules: c.saveRules,
- replaceAllRules: c.replaceAllRules,
- browseRules: c.browseRules,
- clearRules: c.clearRules
- }
- }),
- initAnalytics: () => (e) =>
- o.createAnalyticsClient({
- ...p,
- ...e,
- methods: {
- addABTest: o.addABTest,
- getABTest: o.getABTest,
- getABTests: o.getABTests,
- stopABTest: o.stopABTest,
- deleteABTest: o.deleteABTest
- }
- }),
- initRecommendation: () => (e) =>
- i.createRecommendationClient({
- ...p,
- ...e,
- methods: {
- getPersonalizationStrategy:
- i.getPersonalizationStrategy,
- setPersonalizationStrategy: i.setPersonalizationStrategy
- }
- })
- }
- });
- }
- (p.version = n.version), (e.exports = p);
- },
- 410: (e, t, r) => {
- const s = r(774);
- (e.exports = s), (e.exports.default = s);
- }
- },
- t = {};
- function r(s) {
- if (t[s]) return t[s].exports;
- var a = (t[s] = { exports: {} });
- return e[s](a, a.exports, r), a.exports;
- }
- return (
- (r.n = (e) => {
- var t = e && e.__esModule ? () => e.default : () => e;
- return r.d(t, { a: t }), t;
- }),
- (r.d = (e, t) => {
- for (var s in t)
- r.o(t, s) &&
- !r.o(e, s) &&
- Object.defineProperty(e, s, { enumerable: !0, get: t[s] });
- }),
- (r.o = (e, t) => Object.prototype.hasOwnProperty.call(e, t)),
- (r.r = (e) => {
- 'undefined' != typeof Symbol &&
- Symbol.toStringTag &&
- Object.defineProperty(e, Symbol.toStringTag, { value: 'Module' }),
- Object.defineProperty(e, '__esModule', { value: !0 });
- }),
- r(958)
- );
- })();
- return plugin;
- }
+name: "@yarnpkg/plugin-typescript",
+factory: function (require) {
+var plugin=(()=>{var Ft=Object.create,H=Object.defineProperty,Bt=Object.defineProperties,Kt=Object.getOwnPropertyDescriptor,zt=Object.getOwnPropertyDescriptors,Gt=Object.getOwnPropertyNames,Q=Object.getOwnPropertySymbols,$t=Object.getPrototypeOf,ne=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable;var Re=(e,t,r)=>t in e?H(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,u=(e,t)=>{for(var r in t||(t={}))ne.call(t,r)&&Re(e,r,t[r]);if(Q)for(var r of Q(t))De.call(t,r)&&Re(e,r,t[r]);return e},g=(e,t)=>Bt(e,zt(t)),Lt=e=>H(e,"__esModule",{value:!0});var R=(e,t)=>{var r={};for(var s in e)ne.call(e,s)&&t.indexOf(s)<0&&(r[s]=e[s]);if(e!=null&&Q)for(var s of Q(e))t.indexOf(s)<0&&De.call(e,s)&&(r[s]=e[s]);return r};var I=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Vt=(e,t)=>{for(var r in t)H(e,r,{get:t[r],enumerable:!0})},Qt=(e,t,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Gt(t))!ne.call(e,s)&&s!=="default"&&H(e,s,{get:()=>t[s],enumerable:!(r=Kt(t,s))||r.enumerable});return e},C=e=>Qt(Lt(H(e!=null?Ft($t(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var xe=I(J=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0});function _(e){let t=[...e.caches],r=t.shift();return r===void 0?ve():{get(s,n,a={miss:()=>Promise.resolve()}){return r.get(s,n,a).catch(()=>_({caches:t}).get(s,n,a))},set(s,n){return r.set(s,n).catch(()=>_({caches:t}).set(s,n))},delete(s){return r.delete(s).catch(()=>_({caches:t}).delete(s))},clear(){return r.clear().catch(()=>_({caches:t}).clear())}}}function ve(){return{get(e,t,r={miss:()=>Promise.resolve()}){return t().then(n=>Promise.all([n,r.miss(n)])).then(([n])=>n)},set(e,t){return Promise.resolve(t)},delete(e){return Promise.resolve()},clear(){return Promise.resolve()}}}J.createFallbackableCache=_;J.createNullCache=ve});var Ee=I(($s,qe)=>{qe.exports=xe()});var Te=I(ae=>{"use strict";Object.defineProperty(ae,"__esModule",{value:!0});function Jt(e={serializable:!0}){let t={};return{get(r,s,n={miss:()=>Promise.resolve()}){let a=JSON.stringify(r);if(a in t)return Promise.resolve(e.serializable?JSON.parse(t[a]):t[a]);let o=s(),d=n&&n.miss||(()=>Promise.resolve());return o.then(y=>d(y)).then(()=>o)},set(r,s){return t[JSON.stringify(r)]=e.serializable?JSON.stringify(s):s,Promise.resolve(s)},delete(r){return delete t[JSON.stringify(r)],Promise.resolve()},clear(){return t={},Promise.resolve()}}}ae.createInMemoryCache=Jt});var we=I((Vs,Me)=>{Me.exports=Te()});var Ce=I(M=>{"use strict";Object.defineProperty(M,"__esModule",{value:!0});function Xt(e,t,r){let s={"x-algolia-api-key":r,"x-algolia-application-id":t};return{headers(){return e===oe.WithinHeaders?s:{}},queryParameters(){return e===oe.WithinQueryParameters?s:{}}}}function Yt(e){let t=0,r=()=>(t++,new Promise(s=>{setTimeout(()=>{s(e(r))},Math.min(100*t,1e3))}));return e(r)}function ke(e,t=(r,s)=>Promise.resolve()){return Object.assign(e,{wait(r){return ke(e.then(s=>Promise.all([t(s,r),s])).then(s=>s[1]))}})}function Zt(e){let t=e.length-1;for(t;t>0;t--){let r=Math.floor(Math.random()*(t+1)),s=e[t];e[t]=e[r],e[r]=s}return e}function er(e,t){return Object.keys(t!==void 0?t:{}).forEach(r=>{e[r]=t[r](e)}),e}function tr(e,...t){let r=0;return e.replace(/%s/g,()=>encodeURIComponent(t[r++]))}var rr="4.2.0",sr=e=>()=>e.transporter.requester.destroy(),oe={WithinQueryParameters:0,WithinHeaders:1};M.AuthMode=oe;M.addMethods=er;M.createAuth=Xt;M.createRetryablePromise=Yt;M.createWaitablePromise=ke;M.destroy=sr;M.encode=tr;M.shuffle=Zt;M.version=rr});var F=I((Js,Ue)=>{Ue.exports=Ce()});var Ne=I(ie=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0});var nr={Delete:"DELETE",Get:"GET",Post:"POST",Put:"PUT"};ie.MethodEnum=nr});var B=I((Ys,We)=>{We.exports=Ne()});var Ze=I(A=>{"use strict";Object.defineProperty(A,"__esModule",{value:!0});var He=B();function ce(e,t){let r=e||{},s=r.data||{};return Object.keys(r).forEach(n=>{["timeout","headers","queryParameters","data","cacheable"].indexOf(n)===-1&&(s[n]=r[n])}),{data:Object.entries(s).length>0?s:void 0,timeout:r.timeout||t,headers:r.headers||{},queryParameters:r.queryParameters||{},cacheable:r.cacheable}}var X={Read:1,Write:2,Any:3},U={Up:1,Down:2,Timeouted:3},_e=2*60*1e3;function ue(e,t=U.Up){return g(u({},e),{status:t,lastUpdate:Date.now()})}function Fe(e){return e.status===U.Up||Date.now()-e.lastUpdate>_e}function Be(e){return e.status===U.Timeouted&&Date.now()-e.lastUpdate<=_e}function le(e){return{protocol:e.protocol||"https",url:e.url,accept:e.accept||X.Any}}function ar(e,t){return Promise.all(t.map(r=>e.get(r,()=>Promise.resolve(ue(r))))).then(r=>{let s=r.filter(d=>Fe(d)),n=r.filter(d=>Be(d)),a=[...s,...n],o=a.length>0?a.map(d=>le(d)):t;return{getTimeout(d,y){return(n.length===0&&d===0?1:n.length+3+d)*y},statelessHosts:o}})}var or=({isTimedOut:e,status:t})=>!e&&~~t==0,ir=e=>{let t=e.status;return e.isTimedOut||or(e)||~~(t/100)!=2&&~~(t/100)!=4},cr=({status:e})=>~~(e/100)==2,ur=(e,t)=>ir(e)?t.onRetry(e):cr(e)?t.onSucess(e):t.onFail(e);function Qe(e,t,r,s){let n=[],a=$e(r,s),o=Le(e,s),d=r.method,y=r.method!==He.MethodEnum.Get?{}:u(u({},r.data),s.data),b=u(u(u({"x-algolia-agent":e.userAgent.value},e.queryParameters),y),s.queryParameters),f=0,p=(h,S)=>{let O=h.pop();if(O===void 0)throw Ve(de(n));let P={data:a,headers:o,method:d,url:Ge(O,r.path,b),connectTimeout:S(f,e.timeouts.connect),responseTimeout:S(f,s.timeout)},x=j=>{let T={request:P,response:j,host:O,triesLeft:h.length};return n.push(T),T},v={onSucess:j=>Ke(j),onRetry(j){let T=x(j);return j.isTimedOut&&f++,Promise.all([e.logger.info("Retryable failure",pe(T)),e.hostsCache.set(O,ue(O,j.isTimedOut?U.Timeouted:U.Down))]).then(()=>p(h,S))},onFail(j){throw x(j),ze(j,de(n))}};return e.requester.send(P).then(j=>ur(j,v))};return ar(e.hostsCache,t).then(h=>p([...h.statelessHosts].reverse(),h.getTimeout))}function lr(e){let{hostsCache:t,logger:r,requester:s,requestsCache:n,responsesCache:a,timeouts:o,userAgent:d,hosts:y,queryParameters:b,headers:f}=e,p={hostsCache:t,logger:r,requester:s,requestsCache:n,responsesCache:a,timeouts:o,userAgent:d,headers:f,queryParameters:b,hosts:y.map(h=>le(h)),read(h,S){let O=ce(S,p.timeouts.read),P=()=>Qe(p,p.hosts.filter(j=>(j.accept&X.Read)!=0),h,O);if((O.cacheable!==void 0?O.cacheable:h.cacheable)!==!0)return P();let v={request:h,mappedRequestOptions:O,transporter:{queryParameters:p.queryParameters,headers:p.headers}};return p.responsesCache.get(v,()=>p.requestsCache.get(v,()=>p.requestsCache.set(v,P()).then(j=>Promise.all([p.requestsCache.delete(v),j]),j=>Promise.all([p.requestsCache.delete(v),Promise.reject(j)])).then(([j,T])=>T)),{miss:j=>p.responsesCache.set(v,j)})},write(h,S){return Qe(p,p.hosts.filter(O=>(O.accept&X.Write)!=0),h,ce(S,p.timeouts.write))}};return p}function dr(e){let t={value:`Algolia for JavaScript (${e})`,add(r){let s=`; ${r.segment}${r.version!==void 0?` (${r.version})`:""}`;return t.value.indexOf(s)===-1&&(t.value=`${t.value}${s}`),t}};return t}function Ke(e){try{return JSON.parse(e.content)}catch(t){throw Je(t.message,e)}}function ze({content:e,status:t},r){let s=e;try{s=JSON.parse(e).message}catch(n){}return Xe(s,t,r)}function pr(e,...t){let r=0;return e.replace(/%s/g,()=>encodeURIComponent(t[r++]))}function Ge(e,t,r){let s=Ye(r),n=`${e.protocol}://${e.url}/${t.charAt(0)==="/"?t.substr(1):t}`;return s.length&&(n+=`?${s}`),n}function Ye(e){let t=r=>Object.prototype.toString.call(r)==="[object Object]"||Object.prototype.toString.call(r)==="[object Array]";return Object.keys(e).map(r=>pr("%s=%s",r,t(e[r])?JSON.stringify(e[r]):e[r])).join("&")}function $e(e,t){if(e.method===He.MethodEnum.Get||e.data===void 0&&t.data===void 0)return;let r=Array.isArray(e.data)?e.data:u(u({},e.data),t.data);return JSON.stringify(r)}function Le(e,t){let r=u(u({},e.headers),t.headers),s={};return Object.keys(r).forEach(n=>{let a=r[n];s[n.toLowerCase()]=a}),s}function de(e){return e.map(t=>pe(t))}function pe(e){let t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return g(u({},e),{request:g(u({},e.request),{headers:u(u({},e.request.headers),t)})})}function Xe(e,t,r){return{name:"ApiError",message:e,status:t,transporterStackTrace:r}}function Je(e,t){return{name:"DeserializationError",message:e,response:t}}function Ve(e){return{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.",transporterStackTrace:e}}A.CallEnum=X;A.HostStatusEnum=U;A.createApiError=Xe;A.createDeserializationError=Je;A.createMappedRequestOptions=ce;A.createRetryError=Ve;A.createStatefulHost=ue;A.createStatelessHost=le;A.createTransporter=lr;A.createUserAgent=dr;A.deserializeFailure=ze;A.deserializeSuccess=Ke;A.isStatefulHostTimeouted=Be;A.isStatefulHostUp=Fe;A.serializeData=$e;A.serializeHeaders=Le;A.serializeQueryParameters=Ye;A.serializeUrl=Ge;A.stackFrameWithoutCredentials=pe;A.stackTraceWithoutCredentials=de});var K=I((en,et)=>{et.exports=Ze()});var tt=I(w=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0});var N=F(),mr=K(),z=B(),hr=e=>{let t=e.region||"us",r=N.createAuth(N.AuthMode.WithinHeaders,e.appId,e.apiKey),s=mr.createTransporter(g(u({hosts:[{url:`analytics.${t}.algolia.com`}]},e),{headers:u(g(u({},r.headers()),{"content-type":"application/json"}),e.headers),queryParameters:u(u({},r.queryParameters()),e.queryParameters)})),n=e.appId;return N.addMethods({appId:n,transporter:s},e.methods)},yr=e=>(t,r)=>e.transporter.write({method:z.MethodEnum.Post,path:"2/abtests",data:t},r),gr=e=>(t,r)=>e.transporter.write({method:z.MethodEnum.Delete,path:N.encode("2/abtests/%s",t)},r),fr=e=>(t,r)=>e.transporter.read({method:z.MethodEnum.Get,path:N.encode("2/abtests/%s",t)},r),br=e=>t=>e.transporter.read({method:z.MethodEnum.Get,path:"2/abtests"},t),Pr=e=>(t,r)=>e.transporter.write({method:z.MethodEnum.Post,path:N.encode("2/abtests/%s/stop",t)},r);w.addABTest=yr;w.createAnalyticsClient=hr;w.deleteABTest=gr;w.getABTest=fr;w.getABTests=br;w.stopABTest=Pr});var st=I((rn,rt)=>{rt.exports=tt()});var at=I(G=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0});var me=F(),jr=K(),nt=B(),Or=e=>{let t=e.region||"us",r=me.createAuth(me.AuthMode.WithinHeaders,e.appId,e.apiKey),s=jr.createTransporter(g(u({hosts:[{url:`recommendation.${t}.algolia.com`}]},e),{headers:u(g(u({},r.headers()),{"content-type":"application/json"}),e.headers),queryParameters:u(u({},r.queryParameters()),e.queryParameters)}));return me.addMethods({appId:e.appId,transporter:s},e.methods)},Ir=e=>t=>e.transporter.read({method:nt.MethodEnum.Get,path:"1/strategies/personalization"},t),Ar=e=>(t,r)=>e.transporter.write({method:nt.MethodEnum.Post,path:"1/strategies/personalization",data:t},r);G.createRecommendationClient=Or;G.getPersonalizationStrategy=Ir;G.setPersonalizationStrategy=Ar});var it=I((nn,ot)=>{ot.exports=at()});var jt=I(i=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var l=F(),q=K(),m=B(),Sr=require("crypto");function Y(e){let t=r=>e.request(r).then(s=>{if(e.batch!==void 0&&e.batch(s.hits),!e.shouldStop(s))return s.cursor?t({cursor:s.cursor}):t({page:(r.page||0)+1})});return t({})}var Dr=e=>{let t=e.appId,r=l.createAuth(e.authMode!==void 0?e.authMode:l.AuthMode.WithinHeaders,t,e.apiKey),s=q.createTransporter(g(u({hosts:[{url:`${t}-dsn.algolia.net`,accept:q.CallEnum.Read},{url:`${t}.algolia.net`,accept:q.CallEnum.Write}].concat(l.shuffle([{url:`${t}-1.algolianet.com`},{url:`${t}-2.algolianet.com`},{url:`${t}-3.algolianet.com`}]))},e),{headers:u(g(u({},r.headers()),{"content-type":"application/x-www-form-urlencoded"}),e.headers),queryParameters:u(u({},r.queryParameters()),e.queryParameters)})),n={transporter:s,appId:t,addAlgoliaAgent(a,o){s.userAgent.add({segment:a,version:o})},clearCache(){return Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>{})}};return l.addMethods(n,e.methods)};function ct(){return{name:"MissingObjectIDError",message:"All objects must have an unique objectID (like a primary key) to be valid. Algolia is also able to generate objectIDs automatically but *it's not recommended*. To do it, use the `{'autoGenerateObjectIDIfNotExist': true}` option."}}function ut(){return{name:"ObjectNotFoundError",message:"Object not found."}}function lt(){return{name:"ValidUntilNotFoundError",message:"ValidUntil not found in given secured api key."}}var Rr=e=>(t,r)=>{let d=r||{},{queryParameters:s}=d,n=R(d,["queryParameters"]),a=u({acl:t},s!==void 0?{queryParameters:s}:{}),o=(y,b)=>l.createRetryablePromise(f=>$(e)(y.key,b).catch(p=>{if(p.status!==404)throw p;return f()}));return l.createWaitablePromise(e.transporter.write({method:m.MethodEnum.Post,path:"1/keys",data:a},n),o)},vr=e=>(t,r,s)=>{let n=q.createMappedRequestOptions(s);return n.queryParameters["X-Algolia-User-ID"]=t,e.transporter.write({method:m.MethodEnum.Post,path:"1/clusters/mapping",data:{cluster:r}},n)},xr=e=>(t,r,s)=>e.transporter.write({method:m.MethodEnum.Post,path:"1/clusters/mapping/batch",data:{users:t,cluster:r}},s),Z=e=>(t,r,s)=>{let n=(a,o)=>L(e)(t,{methods:{waitTask:D}}).waitTask(a.taskID,o);return l.createWaitablePromise(e.transporter.write({method:m.MethodEnum.Post,path:l.encode("1/indexes/%s/operation",t),data:{operation:"copy",destination:r}},s),n)},qr=e=>(t,r,s)=>Z(e)(t,r,g(u({},s),{scope:[ee.Rules]})),Er=e=>(t,r,s)=>Z(e)(t,r,g(u({},s),{scope:[ee.Settings]})),Tr=e=>(t,r,s)=>Z(e)(t,r,g(u({},s),{scope:[ee.Synonyms]})),Mr=e=>(t,r)=>{let s=(n,a)=>l.createRetryablePromise(o=>$(e)(t,a).then(o).catch(d=>{if(d.status!==404)throw d}));return l.createWaitablePromise(e.transporter.write({method:m.MethodEnum.Delete,path:l.encode("1/keys/%s",t)},r),s)},wr=()=>(e,t)=>{let r=q.serializeQueryParameters(t),s=Sr.createHmac("sha256",e).update(r).digest("hex");return Buffer.from(s+r).toString("base64")},$=e=>(t,r)=>e.transporter.read({method:m.MethodEnum.Get,path:l.encode("1/keys/%s",t)},r),kr=e=>t=>e.transporter.read({method:m.MethodEnum.Get,path:"1/logs"},t),Cr=()=>e=>{let t=Buffer.from(e,"base64").toString("ascii"),r=/validUntil=(\d+)/,s=t.match(r);if(s===null)throw lt();return parseInt(s[1],10)-Math.round(new Date().getTime()/1e3)},Ur=e=>t=>e.transporter.read({method:m.MethodEnum.Get,path:"1/clusters/mapping/top"},t),Nr=e=>(t,r)=>e.transporter.read({method:m.MethodEnum.Get,path:l.encode("1/clusters/mapping/%s",t)},r),Wr=e=>t=>{let n=t||{},{retrieveMappings:r}=n,s=R(n,["retrieveMappings"]);return r===!0&&(s.getClusters=!0),e.transporter.read({method:m.MethodEnum.Get,path:"1/clusters/mapping/pending"},s)},L=e=>(t,r={})=>{let s={transporter:e.transporter,appId:e.appId,indexName:t};return l.addMethods(s,r.methods)},Hr=e=>t=>e.transporter.read({method:m.MethodEnum.Get,path:"1/keys"},t),_r=e=>t=>e.transporter.read({method:m.MethodEnum.Get,path:"1/clusters"},t),Fr=e=>t=>e.transporter.read({method:m.MethodEnum.Get,path:"1/indexes"},t),Br=e=>t=>e.transporter.read({method:m.MethodEnum.Get,path:"1/clusters/mapping"},t),Kr=e=>(t,r,s)=>{let n=(a,o)=>L(e)(t,{methods:{waitTask:D}}).waitTask(a.taskID,o);return l.createWaitablePromise(e.transporter.write({method:m.MethodEnum.Post,path:l.encode("1/indexes/%s/operation",t),data:{operation:"move",destination:r}},s),n)},zr=e=>(t,r)=>{let s=(n,a)=>Promise.all(Object.keys(n.taskID).map(o=>L(e)(o,{methods:{waitTask:D}}).waitTask(n.taskID[o],a)));return l.createWaitablePromise(e.transporter.write({method:m.MethodEnum.Post,path:"1/indexes/*/batch",data:{requests:t}},r),s)},Gr=e=>(t,r)=>e.transporter.read({method:m.MethodEnum.Post,path:"1/indexes/*/objects",data:{requests:t}},r),$r=e=>(t,r)=>{let s=t.map(n=>g(u({},n),{params:q.serializeQueryParameters(n.params||{})}));return e.transporter.read({method:m.MethodEnum.Post,path:"1/indexes/*/queries",data:{requests:s},cacheable:!0},r)},Lr=e=>(t,r)=>Promise.all(t.map(s=>{let d=s.params,{facetName:n,facetQuery:a}=d,o=R(d,["facetName","facetQuery"]);return L(e)(s.indexName,{methods:{searchForFacetValues:dt}}).searchForFacetValues(n,a,u(u({},r),o))})),Vr=e=>(t,r)=>{let s=q.createMappedRequestOptions(r);return s.queryParameters["X-Algolia-User-ID"]=t,e.transporter.write({method:m.MethodEnum.Delete,path:"1/clusters/mapping"},s)},Qr=e=>(t,r)=>{let s=(n,a)=>l.createRetryablePromise(o=>$(e)(t,a).catch(d=>{if(d.status!==404)throw d;return o()}));return l.createWaitablePromise(e.transporter.write({method:m.MethodEnum.Post,path:l.encode("1/keys/%s/restore",t)},r),s)},Jr=e=>(t,r)=>e.transporter.read({method:m.MethodEnum.Post,path:"1/clusters/mapping/search",data:{query:t}},r),Xr=e=>(t,r)=>{let s=Object.assign({},r),f=r||{},{queryParameters:n}=f,a=R(f,["queryParameters"]),o=n?{queryParameters:n}:{},d=["acl","indexes","referers","restrictSources","queryParameters","description","maxQueriesPerIPPerHour","maxHitsPerQuery"],y=p=>Object.keys(s).filter(h=>d.indexOf(h)!==-1).every(h=>p[h]===s[h]),b=(p,h)=>l.createRetryablePromise(S=>$(e)(t,h).then(O=>y(O)?Promise.resolve():S()));return l.createWaitablePromise(e.transporter.write({method:m.MethodEnum.Put,path:l.encode("1/keys/%s",t),data:o},a),b)},pt=e=>(t,r)=>{let s=(n,a)=>D(e)(n.taskID,a);return l.createWaitablePromise(e.transporter.write({method:m.MethodEnum.Post,path:l.encode("1/indexes/%s/batch",e.indexName),data:{requests:t}},r),s)},Yr=e=>t=>Y(g(u({},t),{shouldStop:r=>r.cursor===void 0,request:r=>e.transporter.read({method:m.MethodEnum.Post,path:l.encode("1/indexes/%s/browse",e.indexName),data:r},t)})),Zr=e=>t=>{let r=u({hitsPerPage:1e3},t);return Y(g(u({},r),{shouldStop:s=>s.hits.length<r.hitsPerPage,request(s){return mt(e)("",u(u({},r),s)).then(n=>g(u({},n),{hits:n.hits.map(a=>(delete a._highlightResult,a))}))}}))},es=e=>t=>{let r=u({hitsPerPage:1e3},t);return Y(g(u({},r),{shouldStop:s=>s.hits.length<r.hitsPerPage,request(s){return ht(e)("",u(u({},r),s)).then(n=>g(u({},n),{hits:n.hits.map(a=>(delete a._highlightResult,a))}))}}))},te=e=>(t,r,s)=>{let y=s||{},{batchSize:n}=y,a=R(y,["batchSize"]),o={taskIDs:[],objectIDs:[]},d=(b=0)=>{let f=[],p;for(p=b;p<t.length&&(f.push(t[p]),f.length!==(n||1e3));p++);return f.length===0?Promise.resolve(o):pt(e)(f.map(h=>({action:r,body:h})),a).then(h=>(o.objectIDs=o.objectIDs.concat(h.objectIDs),o.taskIDs.push(h.taskID),p++,d(p)))};return l.createWaitablePromise(d(),(b,f)=>Promise.all(b.taskIDs.map(p=>D(e)(p,f))))},ts=e=>t=>l.createWaitablePromise(e.transporter.write({method:m.MethodEnum.Post,path:l.encode("1/indexes/%s/clear",e.indexName)},t),(r,s)=>D(e)(r.taskID,s)),rs=e=>t=>{let a=t||{},{forwardToReplicas:r}=a,s=R(a,["forwardToReplicas"]),n=q.createMappedRequestOptions(s);return r&&(n.queryParameters.forwardToReplicas=1),l.createWaitablePromise(e.transporter.write({method:m.MethodEnum.Post,path:l.encode("1/indexes/%s/rules/clear",e.indexName)},n),(o,d)=>D(e)(o.taskID,d))},ss=e=>t=>{let a=t||{},{forwardToReplicas:r}=a,s=R(a,["forwardToReplicas"]),n=q.createMappedRequestOptions(s);return r&&(n.queryParameters.forwardToReplicas=1),l.createWaitablePromise(e.transporter.write({method:m.MethodEnum.Post,path:l.encode("1/indexes/%s/synonyms/clear",e.indexName)},n),(o,d)=>D(e)(o.taskID,d))},ns=e=>(t,r)=>l.createWaitablePromise(e.transporter.write({method:m.MethodEnum.Post,path:l.encode("1/indexes/%s/deleteByQuery",e.indexName),data:t},r),(s,n)=>D(e)(s.taskID,n)),as=e=>t=>l.createWaitablePromise(e.transporter.write({method:m.MethodEnum.Delete,path:l.encode("1/indexes/%s",e.indexName)},t),(r,s)=>D(e)(r.taskID,s)),os=e=>(t,r)=>l.createWaitablePromise(yt(e)([t],r).then(s=>({taskID:s.taskIDs[0]})),(s,n)=>D(e)(s.taskID,n)),yt=e=>(t,r)=>{let s=t.map(n=>({objectID:n}));return te(e)(s,k.DeleteObject,r)},is=e=>(t,r)=>{let o=r||{},{forwardToReplicas:s}=o,n=R(o,["forwardToReplicas"]),a=q.createMappedRequestOptions(n);return s&&(a.queryParameters.forwardToReplicas=1),l.createWaitablePromise(e.transporter.write({method:m.MethodEnum.Delete,path:l.encode("1/indexes/%s/rules/%s",e.indexName,t)},a),(d,y)=>D(e)(d.taskID,y))},cs=e=>(t,r)=>{let o=r||{},{forwardToReplicas:s}=o,n=R(o,["forwardToReplicas"]),a=q.createMappedRequestOptions(n);return s&&(a.queryParameters.forwardToReplicas=1),l.createWaitablePromise(e.transporter.write({method:m.MethodEnum.Delete,path:l.encode("1/indexes/%s/synonyms/%s",e.indexName,t)},a),(d,y)=>D(e)(d.taskID,y))},us=e=>t=>gt(e)(t).then(()=>!0).catch(r=>{if(r.status!==404)throw r;return!1}),ls=e=>(t,r)=>{let y=r||{},{query:s,paginate:n}=y,a=R(y,["query","paginate"]),o=0,d=()=>ft(e)(s||"",g(u({},a),{page:o})).then(b=>{for(let[f,p]of Object.entries(b.hits))if(t(p))return{object:p,position:parseInt(f,10),page:o};if(o++,n===!1||o>=b.nbPages)throw ut();return d()});return d()},ds=e=>(t,r)=>e.transporter.read({method:m.MethodEnum.Get,path:l.encode("1/indexes/%s/%s",e.indexName,t)},r),ps=()=>(e,t)=>{for(let[r,s]of Object.entries(e.hits))if(s.objectID===t)return parseInt(r,10);return-1},ms=e=>(t,r)=>{let o=r||{},{attributesToRetrieve:s}=o,n=R(o,["attributesToRetrieve"]),a=t.map(d=>u({indexName:e.indexName,objectID:d},s?{attributesToRetrieve:s}:{}));return e.transporter.read({method:m.MethodEnum.Post,path:"1/indexes/*/objects",data:{requests:a}},n)},hs=e=>(t,r)=>e.transporter.read({method:m.MethodEnum.Get,path:l.encode("1/indexes/%s/rules/%s",e.indexName,t)},r),gt=e=>t=>e.transporter.read({method:m.MethodEnum.Get,path:l.encode("1/indexes/%s/settings",e.indexName),data:{getVersion:2}},t),ys=e=>(t,r)=>e.transporter.read({method:m.MethodEnum.Get,path:l.encode("1/indexes/%s/synonyms/%s",e.indexName,t)},r),bt=e=>(t,r)=>e.transporter.read({method:m.MethodEnum.Get,path:l.encode("1/indexes/%s/task/%s",e.indexName,t.toString())},r),gs=e=>(t,r)=>l.createWaitablePromise(Pt(e)([t],r).then(s=>({objectID:s.objectIDs[0],taskID:s.taskIDs[0]})),(s,n)=>D(e)(s.taskID,n)),Pt=e=>(t,r)=>{let o=r||{},{createIfNotExists:s}=o,n=R(o,["createIfNotExists"]),a=s?k.PartialUpdateObject:k.PartialUpdateObjectNoCreate;return te(e)(t,a,n)},fs=e=>(t,r)=>{let O=r||{},{safe:s,autoGenerateObjectIDIfNotExist:n,batchSize:a}=O,o=R(O,["safe","autoGenerateObjectIDIfNotExist","batchSize"]),d=(P,x,v,j)=>l.createWaitablePromise(e.transporter.write({method:m.MethodEnum.Post,path:l.encode("1/indexes/%s/operation",P),data:{operation:v,destination:x}},j),(T,V)=>D(e)(T.taskID,V)),y=Math.random().toString(36).substring(7),b=`${e.indexName}_tmp_${y}`,f=he({appId:e.appId,transporter:e.transporter,indexName:b}),p=[],h=d(e.indexName,b,"copy",g(u({},o),{scope:["settings","synonyms","rules"]}));p.push(h);let S=(s?h.wait(o):h).then(()=>{let P=f(t,g(u({},o),{autoGenerateObjectIDIfNotExist:n,batchSize:a}));return p.push(P),s?P.wait(o):P}).then(()=>{let P=d(b,e.indexName,"move",o);return p.push(P),s?P.wait(o):P}).then(()=>Promise.all(p)).then(([P,x,v])=>({objectIDs:x.objectIDs,taskIDs:[P.taskID,...x.taskIDs,v.taskID]}));return l.createWaitablePromise(S,(P,x)=>Promise.all(p.map(v=>v.wait(x))))},bs=e=>(t,r)=>ye(e)(t,g(u({},r),{clearExistingRules:!0})),Ps=e=>(t,r)=>ge(e)(t,g(u({},r),{replaceExistingSynonyms:!0})),js=e=>(t,r)=>l.createWaitablePromise(he(e)([t],r).then(s=>({objectID:s.objectIDs[0],taskID:s.taskIDs[0]})),(s,n)=>D(e)(s.taskID,n)),he=e=>(t,r)=>{let o=r||{},{autoGenerateObjectIDIfNotExist:s}=o,n=R(o,["autoGenerateObjectIDIfNotExist"]),a=s?k.AddObject:k.UpdateObject;if(a===k.UpdateObject){for(let d of t)if(d.objectID===void 0)return l.createWaitablePromise(Promise.reject(ct()))}return te(e)(t,a,n)},Os=e=>(t,r)=>ye(e)([t],r),ye=e=>(t,r)=>{let d=r||{},{forwardToReplicas:s,clearExistingRules:n}=d,a=R(d,["forwardToReplicas","clearExistingRules"]),o=q.createMappedRequestOptions(a);return s&&(o.queryParameters.forwardToReplicas=1),n&&(o.queryParameters.clearExistingRules=1),l.createWaitablePromise(e.transporter.write({method:m.MethodEnum.Post,path:l.encode("1/indexes/%s/rules/batch",e.indexName),data:t},o),(y,b)=>D(e)(y.taskID,b))},Is=e=>(t,r)=>ge(e)([t],r),ge=e=>(t,r)=>{let d=r||{},{forwardToReplicas:s,replaceExistingSynonyms:n}=d,a=R(d,["forwardToReplicas","replaceExistingSynonyms"]),o=q.createMappedRequestOptions(a);return s&&(o.queryParameters.forwardToReplicas=1),n&&(o.queryParameters.replaceExistingSynonyms=1),l.createWaitablePromise(e.transporter.write({method:m.MethodEnum.Post,path:l.encode("1/indexes/%s/synonyms/batch",e.indexName),data:t},o),(y,b)=>D(e)(y.taskID,b))},ft=e=>(t,r)=>e.transporter.read({method:m.MethodEnum.Post,path:l.encode("1/indexes/%s/query",e.indexName),data:{query:t},cacheable:!0},r),dt=e=>(t,r,s)=>e.transporter.read({method:m.MethodEnum.Post,path:l.encode("1/indexes/%s/facets/%s/query",e.indexName,t),data:{facetQuery:r},cacheable:!0},s),mt=e=>(t,r)=>e.transporter.read({method:m.MethodEnum.Post,path:l.encode("1/indexes/%s/rules/search",e.indexName),data:{query:t}},r),ht=e=>(t,r)=>e.transporter.read({method:m.MethodEnum.Post,path:l.encode("1/indexes/%s/synonyms/search",e.indexName),data:{query:t}},r),As=e=>(t,r)=>{let o=r||{},{forwardToReplicas:s}=o,n=R(o,["forwardToReplicas"]),a=q.createMappedRequestOptions(n);return s&&(a.queryParameters.forwardToReplicas=1),l.createWaitablePromise(e.transporter.write({method:m.MethodEnum.Put,path:l.encode("1/indexes/%s/settings",e.indexName),data:t},a),(d,y)=>D(e)(d.taskID,y))},D=e=>(t,r)=>l.createRetryablePromise(s=>bt(e)(t,r).then(n=>n.status!=="published"?s():void 0)),Ss={AddObject:"addObject",Analytics:"analytics",Browser:"browse",DeleteIndex:"deleteIndex",DeleteObject:"deleteObject",EditSettings:"editSettings",ListIndexes:"listIndexes",Logs:"logs",Recommendation:"recommendation",Search:"search",SeeUnretrievableAttributes:"seeUnretrievableAttributes",Settings:"settings",Usage:"usage"},k={AddObject:"addObject",UpdateObject:"updateObject",PartialUpdateObject:"partialUpdateObject",PartialUpdateObjectNoCreate:"partialUpdateObjectNoCreate",DeleteObject:"deleteObject"},ee={Settings:"settings",Synonyms:"synonyms",Rules:"rules"},Ds={None:"none",StopIfEnoughMatches:"stopIfEnoughMatches"},Rs={Synonym:"synonym",OneWaySynonym:"oneWaySynonym",AltCorrection1:"altCorrection1",AltCorrection2:"altCorrection2",Placeholder:"placeholder"};i.ApiKeyACLEnum=Ss;i.BatchActionEnum=k;i.ScopeEnum=ee;i.StrategyEnum=Ds;i.SynonymEnum=Rs;i.addApiKey=Rr;i.assignUserID=vr;i.assignUserIDs=xr;i.batch=pt;i.browseObjects=Yr;i.browseRules=Zr;i.browseSynonyms=es;i.chunkedBatch=te;i.clearObjects=ts;i.clearRules=rs;i.clearSynonyms=ss;i.copyIndex=Z;i.copyRules=qr;i.copySettings=Er;i.copySynonyms=Tr;i.createBrowsablePromise=Y;i.createMissingObjectIDError=ct;i.createObjectNotFoundError=ut;i.createSearchClient=Dr;i.createValidUntilNotFoundError=lt;i.deleteApiKey=Mr;i.deleteBy=ns;i.deleteIndex=as;i.deleteObject=os;i.deleteObjects=yt;i.deleteRule=is;i.deleteSynonym=cs;i.exists=us;i.findObject=ls;i.generateSecuredApiKey=wr;i.getApiKey=$;i.getLogs=kr;i.getObject=ds;i.getObjectPosition=ps;i.getObjects=ms;i.getRule=hs;i.getSecuredApiKeyRemainingValidity=Cr;i.getSettings=gt;i.getSynonym=ys;i.getTask=bt;i.getTopUserIDs=Ur;i.getUserID=Nr;i.hasPendingMappings=Wr;i.initIndex=L;i.listApiKeys=Hr;i.listClusters=_r;i.listIndices=Fr;i.listUserIDs=Br;i.moveIndex=Kr;i.multipleBatch=zr;i.multipleGetObjects=Gr;i.multipleQueries=$r;i.multipleSearchForFacetValues=Lr;i.partialUpdateObject=gs;i.partialUpdateObjects=Pt;i.removeUserID=Vr;i.replaceAllObjects=fs;i.replaceAllRules=bs;i.replaceAllSynonyms=Ps;i.restoreApiKey=Qr;i.saveObject=js;i.saveObjects=he;i.saveRule=Os;i.saveRules=ye;i.saveSynonym=Is;i.saveSynonyms=ge;i.search=ft;i.searchForFacetValues=dt;i.searchRules=mt;i.searchSynonyms=ht;i.searchUserIDs=Jr;i.setSettings=As;i.updateApiKey=Xr;i.waitTask=D});var It=I((on,Ot)=>{Ot.exports=jt()});var At=I(re=>{"use strict";Object.defineProperty(re,"__esModule",{value:!0});function vs(){return{debug(e,t){return Promise.resolve()},info(e,t){return Promise.resolve()},error(e,t){return Promise.resolve()}}}var xs={Debug:1,Info:2,Error:3};re.LogLevelEnum=xs;re.createNullLogger=vs});var Dt=I((un,St)=>{St.exports=At()});var xt=I(fe=>{"use strict";Object.defineProperty(fe,"__esModule",{value:!0});var Rt=require("http"),vt=require("https"),qs=require("url");function Es(){let e={keepAlive:!0},t=new Rt.Agent(e),r=new vt.Agent(e);return{send(s){return new Promise(n=>{let a=qs.parse(s.url),o=a.query===null?a.pathname:`${a.pathname}?${a.query}`,d=u({agent:a.protocol==="https:"?r:t,hostname:a.hostname,path:o,method:s.method,headers:s.headers},a.port!==void 0?{port:a.port||""}:{}),y=(a.protocol==="https:"?vt:Rt).request(d,h=>{let S="";h.on("data",O=>S+=O),h.on("end",()=>{clearTimeout(f),clearTimeout(p),n({status:h.statusCode||0,content:S,isTimedOut:!1})})}),b=(h,S)=>setTimeout(()=>{y.abort(),n({status:0,content:S,isTimedOut:!0})},h*1e3),f=b(s.connectTimeout,"Connection timeout"),p;y.on("error",h=>{clearTimeout(f),clearTimeout(p),n({status:0,content:h.message,isTimedOut:!1})}),y.once("response",()=>{clearTimeout(f),p=b(s.responseTimeout,"Socket timeout")}),s.data!==void 0&&y.write(s.data),y.end()})},destroy(){return t.destroy(),r.destroy(),Promise.resolve()}}}fe.createNodeHttpRequester=Es});var Et=I((dn,qt)=>{qt.exports=xt()});var kt=I((pn,Tt)=>{"use strict";var Mt=Ee(),Ts=we(),W=st(),be=F(),Pe=it(),c=It(),Ms=Dt(),ws=Et(),ks=K();function wt(e,t,r){let s={appId:e,apiKey:t,timeouts:{connect:2,read:5,write:30},requester:ws.createNodeHttpRequester(),logger:Ms.createNullLogger(),responsesCache:Mt.createNullCache(),requestsCache:Mt.createNullCache(),hostsCache:Ts.createInMemoryCache(),userAgent:ks.createUserAgent(be.version).add({segment:"Node.js",version:process.versions.node})};return c.createSearchClient(g(u(u({},s),r),{methods:{search:c.multipleQueries,searchForFacetValues:c.multipleSearchForFacetValues,multipleBatch:c.multipleBatch,multipleGetObjects:c.multipleGetObjects,multipleQueries:c.multipleQueries,copyIndex:c.copyIndex,copySettings:c.copySettings,copyRules:c.copyRules,copySynonyms:c.copySynonyms,moveIndex:c.moveIndex,listIndices:c.listIndices,getLogs:c.getLogs,listClusters:c.listClusters,multipleSearchForFacetValues:c.multipleSearchForFacetValues,getApiKey:c.getApiKey,addApiKey:c.addApiKey,listApiKeys:c.listApiKeys,updateApiKey:c.updateApiKey,deleteApiKey:c.deleteApiKey,restoreApiKey:c.restoreApiKey,assignUserID:c.assignUserID,assignUserIDs:c.assignUserIDs,getUserID:c.getUserID,searchUserIDs:c.searchUserIDs,listUserIDs:c.listUserIDs,getTopUserIDs:c.getTopUserIDs,removeUserID:c.removeUserID,hasPendingMappings:c.hasPendingMappings,generateSecuredApiKey:c.generateSecuredApiKey,getSecuredApiKeyRemainingValidity:c.getSecuredApiKeyRemainingValidity,destroy:be.destroy,initIndex:n=>a=>c.initIndex(n)(a,{methods:{batch:c.batch,delete:c.deleteIndex,getObject:c.getObject,getObjects:c.getObjects,saveObject:c.saveObject,saveObjects:c.saveObjects,search:c.search,searchForFacetValues:c.searchForFacetValues,waitTask:c.waitTask,setSettings:c.setSettings,getSettings:c.getSettings,partialUpdateObject:c.partialUpdateObject,partialUpdateObjects:c.partialUpdateObjects,deleteObject:c.deleteObject,deleteObjects:c.deleteObjects,deleteBy:c.deleteBy,clearObjects:c.clearObjects,browseObjects:c.browseObjects,getObjectPosition:c.getObjectPosition,findObject:c.findObject,exists:c.exists,saveSynonym:c.saveSynonym,saveSynonyms:c.saveSynonyms,getSynonym:c.getSynonym,searchSynonyms:c.searchSynonyms,browseSynonyms:c.browseSynonyms,deleteSynonym:c.deleteSynonym,clearSynonyms:c.clearSynonyms,replaceAllObjects:c.replaceAllObjects,replaceAllSynonyms:c.replaceAllSynonyms,searchRules:c.searchRules,getRule:c.getRule,deleteRule:c.deleteRule,saveRule:c.saveRule,saveRules:c.saveRules,replaceAllRules:c.replaceAllRules,browseRules:c.browseRules,clearRules:c.clearRules}}),initAnalytics:()=>n=>W.createAnalyticsClient(g(u(u({},s),n),{methods:{addABTest:W.addABTest,getABTest:W.getABTest,getABTests:W.getABTests,stopABTest:W.stopABTest,deleteABTest:W.deleteABTest}})),initRecommendation:()=>n=>Pe.createRecommendationClient(g(u(u({},s),n),{methods:{getPersonalizationStrategy:Pe.getPersonalizationStrategy,setPersonalizationStrategy:Pe.setPersonalizationStrategy}}))}}))}wt.version=be.version;Tt.exports=wt});var Ut=I((mn,je)=>{var Ct=kt();je.exports=Ct;je.exports.default=Ct});var Ws={};Vt(Ws,{default:()=>Ks});var Oe=C(require("@yarnpkg/core")),E=C(require("@yarnpkg/core")),Ie=C(require("@yarnpkg/plugin-essentials")),Ht=C(require("semver"));var se=C(require("@yarnpkg/core")),Nt=C(Ut()),Cs="e8e1bd300d860104bb8c58453ffa1eb4",Us="OFCNCOG2CU",Wt=async(e,t)=>{var a;let r=se.structUtils.stringifyIdent(e),n=Ns(t).initIndex("npm-search");try{return((a=(await n.getObject(r,{attributesToRetrieve:["types"]})).types)==null?void 0:a.ts)==="definitely-typed"}catch(o){return!1}},Ns=e=>(0,Nt.default)(Us,Cs,{requester:{async send(r){try{let s=await se.httpUtils.request(r.url,r.data||null,{configuration:e,headers:r.headers});return{content:s.body,isTimedOut:!1,status:s.statusCode}}catch(s){return{content:s.response.body,isTimedOut:!1,status:s.response.statusCode}}}}});var _t=e=>e.scope?`${e.scope}__${e.name}`:`${e.name}`,Hs=async(e,t,r,s)=>{if(r.scope==="types")return;let{project:n}=e,{configuration:a}=n,o=a.makeResolver(),d={project:n,resolver:o,report:new E.ThrowReport};if(!await Wt(r,a))return;let b=_t(r),f=E.structUtils.parseRange(r.range).selector;if(!E.semverUtils.validRange(f)){let P=await o.getCandidates(r,new Map,d);f=E.structUtils.parseRange(P[0].reference).selector}let p=Ht.default.coerce(f);if(p===null)return;let h=`${Ie.suggestUtils.Modifier.CARET}${p.major}`,S=E.structUtils.makeDescriptor(E.structUtils.makeIdent("types",b),h),O=E.miscUtils.mapAndFind(n.workspaces,P=>{var T,V;let x=(T=P.manifest.dependencies.get(r.identHash))==null?void 0:T.descriptorHash,v=(V=P.manifest.devDependencies.get(r.identHash))==null?void 0:V.descriptorHash;if(x!==r.descriptorHash&&v!==r.descriptorHash)return E.miscUtils.mapAndFind.skip;let j=[];for(let Ae of Oe.Manifest.allDependencies){let Se=P.manifest[Ae].get(S.identHash);typeof Se!="undefined"&&j.push([Ae,Se])}return j.length===0?E.miscUtils.mapAndFind.skip:j});if(typeof O!="undefined")for(let[P,x]of O)e.manifest[P].set(x.identHash,x);else{try{if((await o.getCandidates(S,new Map,d)).length===0)return}catch{return}e.manifest[Ie.suggestUtils.Target.DEVELOPMENT].set(S.identHash,S)}},_s=async(e,t,r)=>{if(r.scope==="types")return;let s=_t(r),n=E.structUtils.makeIdent("types",s);for(let a of Oe.Manifest.allDependencies)typeof e.manifest[a].get(n.identHash)!="undefined"&&e.manifest[a].delete(n.identHash)},Fs=(e,t)=>{t.publishConfig&&t.publishConfig.typings&&(t.typings=t.publishConfig.typings),t.publishConfig&&t.publishConfig.types&&(t.types=t.publishConfig.types)},Bs={hooks:{afterWorkspaceDependencyAddition:Hs,afterWorkspaceDependencyRemoval:_s,beforeWorkspacePacking:Fs}},Ks=Bs;return Ws;})();
+return plugin;
+}
};
diff --git a/.yarnrc.yml b/.yarnrc.yml
index 78c0be0..8852956 100644
--- a/.yarnrc.yml
+++ b/.yarnrc.yml
@@ -1,7 +1,6 @@
enableTelemetry: false
+
nodeLinker: node-modules
-pnpEnableEsmLoader: true
-pnpMode: loose
plugins:
- path: .yarn/plugins/@yarnpkg/plugin-typescript.cjs
@@ -9,4 +8,8 @@ plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: '@yarnpkg/plugin-interactive-tools'
+pnpEnableEsmLoader: true
+
+pnpMode: loose
+
yarnPath: .yarn/releases/yarn-3.2.1.cjs
diff --git a/package.json b/package.json
index 63413df..dbbf25a 100644
--- a/package.json
+++ b/package.json
@@ -70,13 +70,14 @@
"chalk": "^5.0.1",
"deep-lock": "^1.0.0",
"discord-akairo": "npm:@notenoughupdates/discord-akairo@dev",
- "discord-api-types": "0.33.0",
+ "discord-api-types": "0.33.1",
"discord.js": "npm:@notenoughupdates/discord.js@dev",
"fuse.js": "^6.6.2",
+ "gif-to-apng": "^0.1.2",
"googleapis": "^100.0.0",
- "got": "^12.0.4",
+ "got": "^12.1.0",
"lodash": "^4.17.21",
- "mathjs": "^10.5.3",
+ "mathjs": "^10.6.0",
"nanoid": "^3.3.4",
"node-os-utils": "^1.3.6",
"numeral": "^2.0.6",
@@ -85,9 +86,9 @@
"prettier": "^2.6.2",
"pretty-bytes": "^6.0.0",
"rimraf": "^3.0.2",
- "sequelize": "6.20.0",
+ "sequelize": "6.20.1",
"tinycolor2": "^1.4.2",
- "typescript": "^4.6.4",
+ "typescript": "^4.7.2",
"vm2": "^3.9.9"
},
"devDependencies": {
@@ -96,11 +97,11 @@
"@types/eslint": "^8.4.2",
"@types/express": "^4.17.13",
"@types/lodash": "^4.14.182",
- "@types/node": "^17.0.35",
+ "@types/node": "^17.0.36",
"@types/node-os-utils": "^1.2.0",
"@types/numeral": "^2.0.2",
"@types/pg": "^8.6.5",
- "@types/prettier": "^2.6.1",
+ "@types/prettier": "^2.6.3",
"@types/rimraf": "^3.0.2",
"@types/tinycolor2": "^1.4.3",
"@types/validator": "^13.7.2",
@@ -112,8 +113,5 @@
"eslint-plugin-import": "^2.26.0",
"node-fetch": "^3.2.4"
},
- "packageManager": "yarn@3.2.1",
- "resolutions": {
- "discord-api-types": "0.33.0"
- }
+ "packageManager": "yarn@3.2.1"
}
diff --git a/yarn.lock b/yarn.lock
index 19980bd..eff1e77 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -6,17 +6,17 @@ __metadata:
cacheKey: 8
"@babel/runtime@npm:^7.17.9":
- version: 7.18.0
- resolution: "@babel/runtime@npm:7.18.0"
+ version: 7.18.3
+ resolution: "@babel/runtime@npm:7.18.3"
dependencies:
regenerator-runtime: ^0.13.4
- checksum: 9d0caa5fe690623fb6c5df6fb3b3581d227b55ef9f7c35eba0da83d10aa756669a81fe521ac4dbc007e5790716bac40ebe71ff098e2d1a9599dd696a282a3e95
+ checksum: db8526226aa02cfa35a5a7ac1a34b5f303c62a1f000c7db48cb06c6290e616483e5036ab3c4e7a84d0f3be6d4e2148d5fe5cec9564bf955f505c3e764b83d7f1
languageName: node
linkType: hard
"@discordjs/builders@npm:^0.14.0-dev":
- version: 0.14.0-dev.1653091712-fdeac9d
- resolution: "@discordjs/builders@npm:0.14.0-dev.1653091712-fdeac9d"
+ version: 0.14.0-dev.1653480270-68d5169
+ resolution: "@discordjs/builders@npm:0.14.0-dev.1653480270-68d5169"
dependencies:
"@sapphire/shapeshift": ^3.0.0
"@sindresorhus/is": ^4.6.0
@@ -24,20 +24,20 @@ __metadata:
fast-deep-equal: ^3.1.3
ts-mixer: ^6.0.1
tslib: ^2.3.1
- checksum: 645c7aa50591b68dc940608fa10e964ddb05121e2e6a3931f53c58b62501b66a2b540c01a2892675a4dc2c93cb5e0625faf5417a93051363474fe6d56fa2d1e0
+ checksum: ad32cea3a9b52cbc63aca4f7acf6b621c9d791f83b7a9709eb35a4d4622f5cf8e7fe2208759c84dacbea9e7dc879fc39cb8a4779b7c665c05554a546c42723c4
languageName: node
linkType: hard
"@discordjs/collection@npm:^0.7.0-dev":
- version: 0.7.0-dev.1653091708-fdeac9d
- resolution: "@discordjs/collection@npm:0.7.0-dev.1653091708-fdeac9d"
- checksum: cf5f99eb04eef08907664d4aa82ab2099c932f07a2ad3114d6773ffa30ae3355a14e76c929c1787f1716df87c04970d1f73e4b88d03043b73bb514ab9442c064
+ version: 0.7.0-dev.1653480253-68d5169
+ resolution: "@discordjs/collection@npm:0.7.0-dev.1653480253-68d5169"
+ checksum: 4fb1adab0000830dd6d5be6866028cda1e8242873e138440717c5573ddca3246981bf661ec988e748e4759add62aed9251e9a84b7a2999774ae4e9f971318dac
languageName: node
linkType: hard
"@discordjs/rest@npm:^0.5.0-dev":
- version: 0.5.0-dev.1653091732-fdeac9d
- resolution: "@discordjs/rest@npm:0.5.0-dev.1653091732-fdeac9d"
+ version: 0.5.0-dev.1653480262-68d5169
+ resolution: "@discordjs/rest@npm:0.5.0-dev.1653480262-68d5169"
dependencies:
"@discordjs/collection": ^0.7.0-dev
"@sapphire/async-queue": ^1.3.1
@@ -45,7 +45,7 @@ __metadata:
discord-api-types: ^0.33.0
tslib: ^2.3.1
undici: ^5.2.0
- checksum: 1dbc319a8db2662c83c23bcca90ae7fce9ace809e5c0b871919df0c6669442ed106144faa2d809c55f480ef5a8bedf9fa9cace860603fe5a7efefc49bb21e9d0
+ checksum: 62a2cf56f6a59f9f389af8c6cc77929f77557ab2efb4f08046e53413f6bdae837179e5e6010095a6d657ae84b3d3d76033978c8255a47365e422b4e92caa7b17
languageName: node
linkType: hard
@@ -491,10 +491,10 @@ __metadata:
languageName: node
linkType: hard
-"@types/node@npm:*, @types/node@npm:^17.0.35":
- version: 17.0.35
- resolution: "@types/node@npm:17.0.35"
- checksum: 7a24946ae7fd20267ed92466384f594e448bfb151081158d565cc635d406ecb29ea8fb85fcd2a1f71efccf26fb5bd3c6f509bde56077eb8b832b847a6664bc62
+"@types/node@npm:*, @types/node@npm:^17.0.36":
+ version: 17.0.36
+ resolution: "@types/node@npm:17.0.36"
+ checksum: 11055fde0a1e1421113849b5e32c7022911efc0be670729947bf0162970e79962d804b1eb8a9afb291380cac97cf0e684511415d586ae5fe1560322c940fe188
languageName: node
linkType: hard
@@ -516,10 +516,10 @@ __metadata:
languageName: node
linkType: hard
-"@types/prettier@npm:^2.6.1":
- version: 2.6.1
- resolution: "@types/prettier@npm:2.6.1"
- checksum: b25ec46d18129fa40c1a1f42feb7406e8f19901ba5261ba3c71600ad14996ae07b4f4b727a9b83da673948011e59d870fc519166f05b5d49e9ad39db1aea8c93
+"@types/prettier@npm:^2.6.3":
+ version: 2.6.3
+ resolution: "@types/prettier@npm:2.6.3"
+ checksum: e1836699ca189fff6d2a73dc22e028b6a6f693ed1180d5998ac29fa197caf8f85aa92cb38db642e4a370e616b451cb5722ad2395dab11c78e025a1455f37d1f0
languageName: node
linkType: hard
@@ -896,7 +896,7 @@ __metadata:
languageName: node
linkType: hard
-"base64-js@npm:^1.3.0":
+"base64-js@npm:^1.3.0, base64-js@npm:^1.3.1":
version: 1.5.1
resolution: "base64-js@npm:1.5.1"
checksum: 669632eb3745404c2f822a18fc3a0122d2f9a7a13f7fb8b5823ee19d1d2ff9ee5b52c53367176ea4ad093c332fd5ab4bd0ebae5a8e27917a4105a4cfc86b1005
@@ -910,6 +910,16 @@ __metadata:
languageName: node
linkType: hard
+"bl@npm:^1.0.0":
+ version: 1.2.3
+ resolution: "bl@npm:1.2.3"
+ dependencies:
+ readable-stream: ^2.3.5
+ safe-buffer: ^5.1.1
+ checksum: 123f097989ce2fa9087ce761cd41176aaaec864e28f7dfe5c7dab8ae16d66d9844f849c3ad688eb357e3c5e4f49b573e3c0780bb8bc937206735a3b6f8569a5f
+ languageName: node
+ linkType: hard
+
"brace-expansion@npm:^1.1.7":
version: 1.1.11
resolution: "brace-expansion@npm:1.1.11"
@@ -938,6 +948,30 @@ __metadata:
languageName: node
linkType: hard
+"buffer-alloc-unsafe@npm:^1.1.0":
+ version: 1.1.0
+ resolution: "buffer-alloc-unsafe@npm:1.1.0"
+ checksum: c5e18bf51f67754ec843c9af3d4c005051aac5008a3992938dda1344e5cfec77c4b02b4ca303644d1e9a6e281765155ce6356d85c6f5ccc5cd21afc868def396
+ languageName: node
+ linkType: hard
+
+"buffer-alloc@npm:^1.2.0":
+ version: 1.2.0
+ resolution: "buffer-alloc@npm:1.2.0"
+ dependencies:
+ buffer-alloc-unsafe: ^1.1.0
+ buffer-fill: ^1.0.0
+ checksum: 560cd27f3cbe73c614867da373407d4506309c62fe18de45a1ce191f3785ec6ca2488d802ff82065798542422980ca25f903db078c57822218182c37c3576df5
+ languageName: node
+ linkType: hard
+
+"buffer-crc32@npm:~0.2.3":
+ version: 0.2.13
+ resolution: "buffer-crc32@npm:0.2.13"
+ checksum: 06252347ae6daca3453b94e4b2f1d3754a3b146a111d81c68924c22d91889a40623264e95e67955b1cb4a68cbedf317abeabb5140a9766ed248973096db5ce1c
+ languageName: node
+ linkType: hard
+
"buffer-equal-constant-time@npm:1.0.1":
version: 1.0.1
resolution: "buffer-equal-constant-time@npm:1.0.1"
@@ -945,6 +979,13 @@ __metadata:
languageName: node
linkType: hard
+"buffer-fill@npm:^1.0.0":
+ version: 1.0.0
+ resolution: "buffer-fill@npm:1.0.0"
+ checksum: c29b4723ddeab01e74b5d3b982a0c6828f2ded49cef049ddca3dac661c874ecdbcecb5dd8380cf0f4adbeb8cff90a7de724126750a1f1e5ebd4eb6c59a1315b1
+ languageName: node
+ linkType: hard
+
"buffer-writer@npm:2.0.0":
version: 2.0.0
resolution: "buffer-writer@npm:2.0.0"
@@ -952,6 +993,16 @@ __metadata:
languageName: node
linkType: hard
+"buffer@npm:^5.2.1":
+ version: 5.7.1
+ resolution: "buffer@npm:5.7.1"
+ dependencies:
+ base64-js: ^1.3.1
+ ieee754: ^1.1.13
+ checksum: e2cf8429e1c4c7b8cbd30834ac09bd61da46ce35f5c22a78e6c2f04497d6d25541b16881e30a019c6fd3154150650ccee27a308eff3e26229d788bbdeb08ab84
+ languageName: node
+ linkType: hard
+
"bush-bot@workspace:.":
version: 0.0.0-use.local
resolution: "bush-bot@workspace:."
@@ -969,11 +1020,11 @@ __metadata:
"@types/eslint": ^8.4.2
"@types/express": ^4.17.13
"@types/lodash": ^4.14.182
- "@types/node": ^17.0.35
+ "@types/node": ^17.0.36
"@types/node-os-utils": ^1.2.0
"@types/numeral": ^2.0.2
"@types/pg": ^8.6.5
- "@types/prettier": ^2.6.1
+ "@types/prettier": ^2.6.3
"@types/rimraf": ^3.0.2
"@types/tinycolor2": ^1.4.3
"@types/validator": ^13.7.2
@@ -983,17 +1034,18 @@ __metadata:
chalk: ^5.0.1
deep-lock: ^1.0.0
discord-akairo: "npm:@notenoughupdates/discord-akairo@dev"
- discord-api-types: 0.33.0
+ discord-api-types: 0.33.1
discord.js: "npm:@notenoughupdates/discord.js@dev"
eslint: ^8.16.0
eslint-config-prettier: ^8.5.0
eslint-plugin-deprecation: ^1.3.2
eslint-plugin-import: ^2.26.0
fuse.js: ^6.6.2
+ gif-to-apng: ^0.1.2
googleapis: ^100.0.0
- got: ^12.0.4
+ got: ^12.1.0
lodash: ^4.17.21
- mathjs: ^10.5.3
+ mathjs: ^10.6.0
nanoid: ^3.3.4
node-fetch: ^3.2.4
node-os-utils: ^1.3.6
@@ -1003,9 +1055,9 @@ __metadata:
prettier: ^2.6.2
pretty-bytes: ^6.0.0
rimraf: ^3.0.2
- sequelize: 6.20.0
+ sequelize: 6.20.1
tinycolor2: ^1.4.2
- typescript: ^4.6.4
+ typescript: ^4.7.2
vm2: ^3.9.9
languageName: unknown
linkType: soft
@@ -1152,6 +1204,13 @@ __metadata:
languageName: node
linkType: hard
+"commander@npm:^2.8.1":
+ version: 2.20.3
+ resolution: "commander@npm:2.20.3"
+ checksum: ab8c07884e42c3a8dbc5dd9592c606176c7eb5c1ca5ff274bcf907039b2c41de3626f684ea75ccf4d361ba004bbaff1f577d5384c155f3871e456bdf27becf9e
+ languageName: node
+ linkType: hard
+
"complex.js@npm:^2.1.1":
version: 2.1.1
resolution: "complex.js@npm:2.1.1"
@@ -1190,6 +1249,24 @@ __metadata:
languageName: node
linkType: hard
+"core-util-is@npm:~1.0.0":
+ version: 1.0.3
+ resolution: "core-util-is@npm:1.0.3"
+ checksum: 9de8597363a8e9b9952491ebe18167e3b36e7707569eed0ebf14f8bba773611376466ae34575bca8cfe3c767890c859c74056084738f09d4e4a6f902b2ad7d99
+ languageName: node
+ linkType: hard
+
+"cross-spawn@npm:^5.0.1":
+ version: 5.1.0
+ resolution: "cross-spawn@npm:5.1.0"
+ dependencies:
+ lru-cache: ^4.0.1
+ shebang-command: ^1.2.0
+ which: ^1.2.9
+ checksum: 726939c9954fc70c20e538923feaaa33bebc253247d13021737c3c7f68cdc3e0a57f720c0fe75057c0387995349f3f12e20e9bfdbf12274db28019c7ea4ec166
+ languageName: node
+ linkType: hard
+
"cross-spawn@npm:^7.0.2":
version: 7.0.3
resolution: "cross-spawn@npm:7.0.3"
@@ -1263,6 +1340,69 @@ __metadata:
languageName: node
linkType: hard
+"decompress-tar@npm:^4.0.0, decompress-tar@npm:^4.1.0, decompress-tar@npm:^4.1.1":
+ version: 4.1.1
+ resolution: "decompress-tar@npm:4.1.1"
+ dependencies:
+ file-type: ^5.2.0
+ is-stream: ^1.1.0
+ tar-stream: ^1.5.2
+ checksum: 42d5360b558a28dd884e1bf809e3fea92b9910fda5151add004d4a64cc76ac124e8b3e9117e805f2349af9e49c331d873e6fc5ad86a00e575703fee632b0a225
+ languageName: node
+ linkType: hard
+
+"decompress-tarbz2@npm:^4.0.0":
+ version: 4.1.1
+ resolution: "decompress-tarbz2@npm:4.1.1"
+ dependencies:
+ decompress-tar: ^4.1.0
+ file-type: ^6.1.0
+ is-stream: ^1.1.0
+ seek-bzip: ^1.0.5
+ unbzip2-stream: ^1.0.9
+ checksum: 519c81337730159a1f2d7072a6ee8523ffd76df48d34f14c27cb0a27f89b4e2acf75dad2f761838e5bc63230cea1ac154b092ecb7504be4e93f7d0e32ddd6aff
+ languageName: node
+ linkType: hard
+
+"decompress-targz@npm:^4.0.0":
+ version: 4.1.1
+ resolution: "decompress-targz@npm:4.1.1"
+ dependencies:
+ decompress-tar: ^4.1.1
+ file-type: ^5.2.0
+ is-stream: ^1.1.0
+ checksum: 22738f58eb034568dc50d370c03b346c428bfe8292fe56165847376b5af17d3c028fefca82db642d79cb094df4c0a599d40a8f294b02aad1d3ddec82f3fd45d4
+ languageName: node
+ linkType: hard
+
+"decompress-unzip@npm:^4.0.1":
+ version: 4.0.1
+ resolution: "decompress-unzip@npm:4.0.1"
+ dependencies:
+ file-type: ^3.8.0
+ get-stream: ^2.2.0
+ pify: ^2.3.0
+ yauzl: ^2.4.2
+ checksum: ba9f3204ab2415bedb18d796244928a18148ef40dbb15174d0d01e5991b39536b03d02800a8a389515a1523f8fb13efc7cd44697df758cd06c674879caefd62b
+ languageName: node
+ linkType: hard
+
+"decompress@npm:^4.1.0":
+ version: 4.2.1
+ resolution: "decompress@npm:4.2.1"
+ dependencies:
+ decompress-tar: ^4.0.0
+ decompress-tarbz2: ^4.0.0
+ decompress-targz: ^4.0.0
+ decompress-unzip: ^4.0.1
+ graceful-fs: ^4.1.10
+ make-dir: ^1.0.0
+ pify: ^2.3.0
+ strip-dirs: ^2.0.0
+ checksum: 8247a31c6db7178413715fdfb35a482f019c81dfcd6e8e623d9f0382c9889ce797ce0144de016b256ed03298907a620ce81387cca0e69067a933470081436cb8
+ languageName: node
+ linkType: hard
+
"deep-is@npm:^0.1.3":
version: 0.1.4
resolution: "deep-is@npm:0.1.4"
@@ -1325,18 +1465,16 @@ __metadata:
linkType: hard
"discord-akairo@npm:@notenoughupdates/discord-akairo@dev":
- version: 9.1.3-dev.1653439069.b53d9e1
- resolution: "@notenoughupdates/discord-akairo@npm:9.1.3-dev.1653439069.b53d9e1"
- dependencies:
- "@sapphire/shapeshift": ^3.0.0
- checksum: 51ff5a682f7e71993f1eb906a960ac9b2378335c5eb5899ee791438a2b4297d598cdcade21d1a17bff75b491e04405d923107fbe1ace8ea7583657322a763ef8
+ version: 9.1.3-dev.1653854301.456923a
+ resolution: "@notenoughupdates/discord-akairo@npm:9.1.3-dev.1653854301.456923a"
+ checksum: 0a53fecf84daade8a3aac16b2f9c968149501c70add3ec59591783eff79d60803c52842067ecc9984fcacc5548807c1b57ff4f2d6309657ad5db365443a39368
languageName: node
linkType: hard
-"discord-api-types@npm:0.33.0":
- version: 0.33.0
- resolution: "discord-api-types@npm:0.33.0"
- checksum: 8ae2c7e36c34e1d250acab18f8d2941be6135b4e08e48f9c0f584b23a59e8b310ec33f78a46e4aa8294639ec0b5703162f1895eb0f446c70559ae4e69cd26b16
+"discord-api-types@npm:0.33.1, discord-api-types@npm:^0.33.0":
+ version: 0.33.1
+ resolution: "discord-api-types@npm:0.33.1"
+ checksum: dd1371c5b00312e5ef10f8664e0947c9e10b5b7d6b299f4e8aabb93d6eeddf6f93c6c189c88e9c7a7680d349436114d2baec9b2fbb79b4c72bfde2a3ec3ceaff
languageName: node
linkType: hard
@@ -1409,7 +1547,7 @@ __metadata:
languageName: node
linkType: hard
-"end-of-stream@npm:^1.1.0":
+"end-of-stream@npm:^1.0.0, end-of-stream@npm:^1.1.0":
version: 1.4.4
resolution: "end-of-stream@npm:1.4.4"
dependencies:
@@ -1712,6 +1850,21 @@ __metadata:
languageName: node
linkType: hard
+"execa@npm:^0.6.3":
+ version: 0.6.3
+ resolution: "execa@npm:0.6.3"
+ dependencies:
+ cross-spawn: ^5.0.1
+ get-stream: ^3.0.0
+ is-stream: ^1.1.0
+ npm-run-path: ^2.0.0
+ p-finally: ^1.0.0
+ signal-exit: ^3.0.0
+ strip-eof: ^1.0.0
+ checksum: 2c66177731273a7c0a4c031af81b486b67ec1eeeb8f353ebc68e0cfe7f63aca9ebc1e6fe03ba10f130f2bd179c0ac69b35668fe2bfc1ceb68fbf5291d0783457
+ languageName: node
+ linkType: hard
+
"extend@npm:^3.0.2":
version: 3.0.2
resolution: "extend@npm:3.0.2"
@@ -1769,6 +1922,15 @@ __metadata:
languageName: node
linkType: hard
+"fd-slicer@npm:~1.1.0":
+ version: 1.1.0
+ resolution: "fd-slicer@npm:1.1.0"
+ dependencies:
+ pend: ~1.2.0
+ checksum: c8585fd5713f4476eb8261150900d2cb7f6ff2d87f8feb306ccc8a1122efd152f1783bdb2b8dc891395744583436bfd8081d8e63ece0ec8687eeefea394d4ff2
+ languageName: node
+ linkType: hard
+
"fetch-blob@npm:^3.1.2, fetch-blob@npm:^3.1.4":
version: 3.1.5
resolution: "fetch-blob@npm:3.1.5"
@@ -1788,6 +1950,27 @@ __metadata:
languageName: node
linkType: hard
+"file-type@npm:^3.8.0":
+ version: 3.9.0
+ resolution: "file-type@npm:3.9.0"
+ checksum: 1db70b2485ac77c4edb4b8753c1874ee6194123533f43c2651820f96b518f505fa570b093fedd6672eb105ba9fb89c62f84b6492e46788e39c3447aed37afa2d
+ languageName: node
+ linkType: hard
+
+"file-type@npm:^5.2.0":
+ version: 5.2.0
+ resolution: "file-type@npm:5.2.0"
+ checksum: b2b21c7fc3cfb3c6a3a18b0d5d7233b74d8c17d82757655766573951daf42962a5c809e5fc3637675b237c558ebc67e4958fb2cc5a4ad407bc545aaa40001c74
+ languageName: node
+ linkType: hard
+
+"file-type@npm:^6.1.0":
+ version: 6.2.0
+ resolution: "file-type@npm:6.2.0"
+ checksum: 749540cefcd4959121eb83e373ed84e49b2e5a510aa5d598b725bd772dd306ae41fd00d3162ae3f6563b4db5cfafbbd0df321de3f20c17e20a8c56431ae55e58
+ languageName: node
+ linkType: hard
+
"fill-range@npm:^7.0.1":
version: 7.0.1
resolution: "fill-range@npm:7.0.1"
@@ -1846,6 +2029,13 @@ __metadata:
languageName: node
linkType: hard
+"fs-constants@npm:^1.0.0":
+ version: 1.0.0
+ resolution: "fs-constants@npm:1.0.0"
+ checksum: 18f5b718371816155849475ac36c7d0b24d39a11d91348cfcb308b4494824413e03572c403c86d3a260e049465518c4f0d5bd00f0371cdfcad6d4f30a85b350d
+ languageName: node
+ linkType: hard
+
"fs-minipass@npm:^2.0.0, fs-minipass@npm:^2.1.0":
version: 2.1.0
resolution: "fs-minipass@npm:2.1.0"
@@ -1969,6 +2159,23 @@ __metadata:
languageName: node
linkType: hard
+"get-stream@npm:^2.2.0":
+ version: 2.3.1
+ resolution: "get-stream@npm:2.3.1"
+ dependencies:
+ object-assign: ^4.0.1
+ pinkie-promise: ^2.0.0
+ checksum: d82c86556e131ba7bef00233aa0aa7a51230e6deac11a971ce0f47cd43e2a5e968a3e3914cd082f07cd0d69425653b2f96735b0a7d5c5c03fef3ab857a531367
+ languageName: node
+ linkType: hard
+
+"get-stream@npm:^3.0.0":
+ version: 3.0.0
+ resolution: "get-stream@npm:3.0.0"
+ checksum: 36142f46005ed74ce3a45c55545ec4e7da8e243554179e345a786baf144e5c4a35fb7bdc49fadfa9f18bd08000589b6fe364abdadfc4e1eb0e1b9914a6bb9c56
+ languageName: node
+ linkType: hard
+
"get-stream@npm:^5.1.0":
version: 5.2.0
resolution: "get-stream@npm:5.2.0"
@@ -1995,6 +2202,16 @@ __metadata:
languageName: node
linkType: hard
+"gif-to-apng@npm:^0.1.2":
+ version: 0.1.2
+ resolution: "gif-to-apng@npm:0.1.2"
+ dependencies:
+ decompress: ^4.1.0
+ execa: ^0.6.3
+ checksum: 2f545858151960d9eb8b18d2b6c6f882280a9e99aba8c11a036444461013fe32a1291946207d1a6b31a74cec3cfcca3780d1e3d398cf0a6f2d203c12642e42ac
+ languageName: node
+ linkType: hard
+
"glob-parent@npm:^5.1.2":
version: 5.1.2
resolution: "glob-parent@npm:5.1.2"
@@ -2115,9 +2332,9 @@ __metadata:
languageName: node
linkType: hard
-"got@npm:^12.0.4":
- version: 12.0.4
- resolution: "got@npm:12.0.4"
+"got@npm:^12.1.0":
+ version: 12.1.0
+ resolution: "got@npm:12.1.0"
dependencies:
"@sindresorhus/is": ^4.6.0
"@szmarczak/http-timer": ^5.0.1
@@ -2132,11 +2349,11 @@ __metadata:
lowercase-keys: ^3.0.0
p-cancelable: ^3.0.0
responselike: ^2.0.0
- checksum: 4728abed36b9f4fee5bfc50509b919790ebbe9c368b41735a25ac99f4ebc2251eac5d0c9b8dfe6da1e11f5dea81ef348056363460e3b08a5b4a6076a76d830af
+ checksum: 1cc9af6ca511338a7f1bbb0943999e6ac324ea3c7d826066c02e530b4ac41147b1a4cadad21b28c3938de82185ac99c33d64a3a4560c6e0b0b125191ba6ee619
languageName: node
linkType: hard
-"graceful-fs@npm:^4.2.6":
+"graceful-fs@npm:^4.1.10, graceful-fs@npm:^4.2.6":
version: 4.2.10
resolution: "graceful-fs@npm:4.2.10"
checksum: 3f109d70ae123951905d85032ebeae3c2a5a7a997430df00ea30df0e3a6c60cf6689b109654d6fdacd28810a053348c4d14642da1d075049e6be1ba5216218da
@@ -2265,6 +2482,13 @@ __metadata:
languageName: node
linkType: hard
+"ieee754@npm:^1.1.13":
+ version: 1.2.1
+ resolution: "ieee754@npm:1.2.1"
+ checksum: 5144c0c9815e54ada181d80a0b810221a253562422e7c6c3a60b1901154184f49326ec239d618c416c1c5945a2e197107aee8d986a3dd836b53dffefd99b5e7e
+ languageName: node
+ linkType: hard
+
"ignore@npm:^5.2.0":
version: 5.2.0
resolution: "ignore@npm:5.2.0"
@@ -2327,7 +2551,7 @@ __metadata:
languageName: node
linkType: hard
-"inherits@npm:2, inherits@npm:^2.0.3":
+"inherits@npm:2, inherits@npm:^2.0.3, inherits@npm:~2.0.3":
version: 2.0.4
resolution: "inherits@npm:2.0.4"
checksum: 4a48a733847879d6cf6691860a6b1e3f0f4754176e4d71494c41f3475553768b10f84b5ce1d40fbd0e34e6bfbb864ee35858ad4dd2cf31e02fc4a154b724d7f1
@@ -2426,6 +2650,13 @@ __metadata:
languageName: node
linkType: hard
+"is-natural-number@npm:^4.0.1":
+ version: 4.0.1
+ resolution: "is-natural-number@npm:4.0.1"
+ checksum: 3e5e3d52e0dfa4fea923b5d2b8a5cdbd9bf110c4598d30304b98528b02f40c9058a2abf1bae10bcbaf2bac18ace41cff7bc9673aff339f8c8297fae74ae0e75d
+ languageName: node
+ linkType: hard
+
"is-negative-zero@npm:^2.0.2":
version: 2.0.2
resolution: "is-negative-zero@npm:2.0.2"
@@ -2468,6 +2699,13 @@ __metadata:
languageName: node
linkType: hard
+"is-stream@npm:^1.1.0":
+ version: 1.1.0
+ resolution: "is-stream@npm:1.1.0"
+ checksum: 063c6bec9d5647aa6d42108d4c59723d2bd4ae42135a2d4db6eadbd49b7ea05b750fd69d279e5c7c45cf9da753ad2c00d8978be354d65aa9f6bb434969c6a2ae
+ languageName: node
+ linkType: hard
+
"is-stream@npm:^2.0.0":
version: 2.0.1
resolution: "is-stream@npm:2.0.1"
@@ -2502,6 +2740,13 @@ __metadata:
languageName: node
linkType: hard
+"isarray@npm:~1.0.0":
+ version: 1.0.0
+ resolution: "isarray@npm:1.0.0"
+ checksum: f032df8e02dce8ec565cf2eb605ea939bdccea528dbcf565cdf92bfa2da9110461159d86a537388ef1acef8815a330642d7885b29010e8f7eac967c9993b65ab
+ languageName: node
+ linkType: hard
+
"isexe@npm:^2.0.0":
version: 2.0.0
resolution: "isexe@npm:2.0.0"
@@ -2672,6 +2917,16 @@ __metadata:
languageName: node
linkType: hard
+"lru-cache@npm:^4.0.1":
+ version: 4.1.5
+ resolution: "lru-cache@npm:4.1.5"
+ dependencies:
+ pseudomap: ^1.0.2
+ yallist: ^2.1.2
+ checksum: 4bb4b58a36cd7dc4dcec74cbe6a8f766a38b7426f1ff59d4cf7d82a2aa9b9565cd1cb98f6ff60ce5cd174524868d7bc9b7b1c294371851356066ca9ac4cf135a
+ languageName: node
+ linkType: hard
+
"lru-cache@npm:^6.0.0":
version: 6.0.0
resolution: "lru-cache@npm:6.0.0"
@@ -2695,6 +2950,15 @@ __metadata:
languageName: node
linkType: hard
+"make-dir@npm:^1.0.0":
+ version: 1.3.0
+ resolution: "make-dir@npm:1.3.0"
+ dependencies:
+ pify: ^3.0.0
+ checksum: c564f6e7bb5ace1c02ad56b3a5f5e07d074af0c0b693c55c7b2c2b148882827c8c2afc7b57e43338a9f90c125b58d604e8cf3e6990a48bf949dfea8c79668c0b
+ languageName: node
+ linkType: hard
+
"make-dir@npm:^3.1.0":
version: 3.1.0
resolution: "make-dir@npm:3.1.0"
@@ -2728,7 +2992,7 @@ __metadata:
languageName: node
linkType: hard
-"mathjs@npm:^10.5.3":
+"mathjs@npm:^10.6.0":
version: 10.6.0
resolution: "mathjs@npm:10.6.0"
dependencies:
@@ -3042,6 +3306,15 @@ __metadata:
languageName: node
linkType: hard
+"npm-run-path@npm:^2.0.0":
+ version: 2.0.2
+ resolution: "npm-run-path@npm:2.0.2"
+ dependencies:
+ path-key: ^2.0.0
+ checksum: acd5ad81648ba4588ba5a8effb1d98d2b339d31be16826a118d50f182a134ac523172101b82eab1d01cb4c2ba358e857d54cfafd8163a1ffe7bd52100b741125
+ languageName: node
+ linkType: hard
+
"npmlog@npm:^5.0.1":
version: 5.0.1
resolution: "npmlog@npm:5.0.1"
@@ -3073,7 +3346,7 @@ __metadata:
languageName: node
linkType: hard
-"object-assign@npm:^4.1.1":
+"object-assign@npm:^4.0.1, object-assign@npm:^4.1.1":
version: 4.1.1
resolution: "object-assign@npm:4.1.1"
checksum: fcc6e4ea8c7fe48abfbb552578b1c53e0d194086e2e6bbbf59e0a536381a292f39943c6e9628af05b5528aa5e3318bb30d6b2e53cadaf5b8fe9e12c4b69af23f
@@ -3081,9 +3354,9 @@ __metadata:
linkType: hard
"object-inspect@npm:^1.12.0, object-inspect@npm:^1.9.0":
- version: 1.12.1
- resolution: "object-inspect@npm:1.12.1"
- checksum: 5c7c3b641417606db7f545760cfdbc686870c4ac03c86d05f3e1194b19de39b48030f2145ef813e6e8228268d48408eceb9bdcfeb0a502d8d9e5a057982c31a0
+ version: 1.12.2
+ resolution: "object-inspect@npm:1.12.2"
+ checksum: a534fc1b8534284ed71f25ce3a496013b7ea030f3d1b77118f6b7b1713829262be9e6243acbcb3ef8c626e2b64186112cb7f6db74e37b2789b9c789ca23048b2
languageName: node
linkType: hard
@@ -3147,6 +3420,13 @@ __metadata:
languageName: node
linkType: hard
+"p-finally@npm:^1.0.0":
+ version: 1.0.0
+ resolution: "p-finally@npm:1.0.0"
+ checksum: 93a654c53dc805dd5b5891bab16eb0ea46db8f66c4bfd99336ae929323b1af2b70a8b0654f8f1eae924b2b73d037031366d645f1fd18b3d30cbd15950cc4b1d4
+ languageName: node
+ linkType: hard
+
"p-limit@npm:^1.1.0":
version: 1.3.0
resolution: "p-limit@npm:1.3.0"
@@ -3211,6 +3491,13 @@ __metadata:
languageName: node
linkType: hard
+"path-key@npm:^2.0.0":
+ version: 2.0.1
+ resolution: "path-key@npm:2.0.1"
+ checksum: f7ab0ad42fe3fb8c7f11d0c4f849871e28fbd8e1add65c370e422512fc5887097b9cf34d09c1747d45c942a8c1e26468d6356e2df3f740bf177ab8ca7301ebfd
+ languageName: node
+ linkType: hard
+
"path-key@npm:^3.1.0":
version: 3.1.1
resolution: "path-key@npm:3.1.1"
@@ -3232,6 +3519,13 @@ __metadata:
languageName: node
linkType: hard
+"pend@npm:~1.2.0":
+ version: 1.2.0
+ resolution: "pend@npm:1.2.0"
+ checksum: 6c72f5243303d9c60bd98e6446ba7d30ae29e3d56fdb6fae8767e8ba6386f33ee284c97efe3230a0d0217e2b1723b8ab490b1bbf34fcbb2180dbc8a9de47850d
+ languageName: node
+ linkType: hard
+
"pg-connection-string@npm:^2.5.0":
version: 2.5.0
resolution: "pg-connection-string@npm:2.5.0"
@@ -3320,6 +3614,36 @@ __metadata:
languageName: node
linkType: hard
+"pify@npm:^2.3.0":
+ version: 2.3.0
+ resolution: "pify@npm:2.3.0"
+ checksum: 9503aaeaf4577acc58642ad1d25c45c6d90288596238fb68f82811c08104c800e5a7870398e9f015d82b44ecbcbef3dc3d4251a1cbb582f6e5959fe09884b2ba
+ languageName: node
+ linkType: hard
+
+"pify@npm:^3.0.0":
+ version: 3.0.0
+ resolution: "pify@npm:3.0.0"
+ checksum: 6cdcbc3567d5c412450c53261a3f10991665d660961e06605decf4544a61a97a54fefe70a68d5c37080ff9d6f4cf51444c90198d1ba9f9309a6c0d6e9f5c4fde
+ languageName: node
+ linkType: hard
+
+"pinkie-promise@npm:^2.0.0":
+ version: 2.0.1
+ resolution: "pinkie-promise@npm:2.0.1"
+ dependencies:
+ pinkie: ^2.0.0
+ checksum: b53a4a2e73bf56b6f421eef711e7bdcb693d6abb474d57c5c413b809f654ba5ee750c6a96dd7225052d4b96c4d053cdcb34b708a86fceed4663303abee52fcca
+ languageName: node
+ linkType: hard
+
+"pinkie@npm:^2.0.0":
+ version: 2.0.4
+ resolution: "pinkie@npm:2.0.4"
+ checksum: b12b10afea1177595aab036fc220785488f67b4b0fc49e7a27979472592e971614fa1c728e63ad3e7eb748b4ec3c3dbd780819331dad6f7d635c77c10537b9db
+ languageName: node
+ linkType: hard
+
"postgres-array@npm:~2.0.0":
version: 2.0.0
resolution: "postgres-array@npm:2.0.0"
@@ -3373,6 +3697,13 @@ __metadata:
languageName: node
linkType: hard
+"process-nextick-args@npm:~2.0.0":
+ version: 2.0.1
+ resolution: "process-nextick-args@npm:2.0.1"
+ checksum: 1d38588e520dab7cea67cbbe2efdd86a10cc7a074c09657635e34f035277b59fbb57d09d8638346bf7090f8e8ebc070c96fa5fd183b777fff4f5edff5e9466cf
+ languageName: node
+ linkType: hard
+
"promise-inflight@npm:^1.0.1":
version: 1.0.1
resolution: "promise-inflight@npm:1.0.1"
@@ -3390,6 +3721,13 @@ __metadata:
languageName: node
linkType: hard
+"pseudomap@npm:^1.0.2":
+ version: 1.0.2
+ resolution: "pseudomap@npm:1.0.2"
+ checksum: 856c0aae0ff2ad60881168334448e898ad7a0e45fe7386d114b150084254c01e200c957cf378378025df4e052c7890c5bd933939b0e0d2ecfcc1dc2f0b2991f5
+ languageName: node
+ linkType: hard
+
"pump@npm:^3.0.0":
version: 3.0.0
resolution: "pump@npm:3.0.0"
@@ -3430,6 +3768,21 @@ __metadata:
languageName: node
linkType: hard
+"readable-stream@npm:^2.3.0, readable-stream@npm:^2.3.5":
+ version: 2.3.7
+ resolution: "readable-stream@npm:2.3.7"
+ dependencies:
+ core-util-is: ~1.0.0
+ inherits: ~2.0.3
+ isarray: ~1.0.0
+ process-nextick-args: ~2.0.0
+ safe-buffer: ~5.1.1
+ string_decoder: ~1.1.1
+ util-deprecate: ~1.0.1
+ checksum: e4920cf7549a60f8aaf694d483a0e61b2a878b969d224f89b3bc788b8d920075132c4b55a7494ee944c7b6a9a0eada28a7f6220d80b0312ece70bbf08eeca755
+ languageName: node
+ linkType: hard
+
"readable-stream@npm:^3.6.0":
version: 3.6.0
resolution: "readable-stream@npm:3.6.0"
@@ -3556,13 +3909,20 @@ __metadata:
languageName: node
linkType: hard
-"safe-buffer@npm:^5.0.1, safe-buffer@npm:~5.2.0":
+"safe-buffer@npm:^5.0.1, safe-buffer@npm:^5.1.1, safe-buffer@npm:~5.2.0":
version: 5.2.1
resolution: "safe-buffer@npm:5.2.1"
checksum: b99c4b41fdd67a6aaf280fcd05e9ffb0813654894223afb78a31f14a19ad220bba8aba1cb14eddce1fcfb037155fe6de4e861784eb434f7d11ed58d1e70dd491
languageName: node
linkType: hard
+"safe-buffer@npm:~5.1.0, safe-buffer@npm:~5.1.1":
+ version: 5.1.2
+ resolution: "safe-buffer@npm:5.1.2"
+ checksum: f2f1f7943ca44a594893a852894055cf619c1fbcb611237fc39e461ae751187e7baf4dc391a72125e0ac4fb2d8c5c0b3c71529622e6a58f46b960211e704903c
+ languageName: node
+ linkType: hard
+
"safer-buffer@npm:>= 2.1.2 < 3.0.0":
version: 2.1.2
resolution: "safer-buffer@npm:2.1.2"
@@ -3577,6 +3937,18 @@ __metadata:
languageName: node
linkType: hard
+"seek-bzip@npm:^1.0.5":
+ version: 1.0.6
+ resolution: "seek-bzip@npm:1.0.6"
+ dependencies:
+ commander: ^2.8.1
+ bin:
+ seek-bunzip: bin/seek-bunzip
+ seek-table: bin/seek-bzip-table
+ checksum: c2ab3291e7085558499efd4e99d1466ee6782f6c4a4e4c417aa859e1cd2f5117fb3b5444f3d27c38ec5908c0f0312e2a0bc69dff087751f97b3921b5bde4f9ed
+ languageName: node
+ linkType: hard
+
"semver@npm:^6.0.0":
version: 6.3.0
resolution: "semver@npm:6.3.0"
@@ -3604,9 +3976,9 @@ __metadata:
languageName: node
linkType: hard
-"sequelize@npm:6.20.0":
- version: 6.20.0
- resolution: "sequelize@npm:6.20.0"
+"sequelize@npm:6.20.1":
+ version: 6.20.1
+ resolution: "sequelize@npm:6.20.1"
dependencies:
"@types/debug": ^4.1.7
"@types/validator": ^13.7.1
@@ -3641,7 +4013,7 @@ __metadata:
optional: true
tedious:
optional: true
- checksum: 722e7d690ccddfaa9e8b8f982aa42a24c4c0277378470ca9131e0af6df0176fcaf6128fbb1fbe061ce65e83e203fc19e7305cf7b9945d893a153c8da74f14a0c
+ checksum: 08a6f9e3fb9d31d87399b378802cc5a0531f93cfb5ac18e0b11dc0942cac4a886bbba2dbe5aa33dd3d7ba060d32891876ba0de5c03ebfb4f6459ce84f430be79
languageName: node
linkType: hard
@@ -3652,6 +4024,15 @@ __metadata:
languageName: node
linkType: hard
+"shebang-command@npm:^1.2.0":
+ version: 1.2.0
+ resolution: "shebang-command@npm:1.2.0"
+ dependencies:
+ shebang-regex: ^1.0.0
+ checksum: 9eed1750301e622961ba5d588af2212505e96770ec376a37ab678f965795e995ade7ed44910f5d3d3cb5e10165a1847f52d3348c64e146b8be922f7707958908
+ languageName: node
+ linkType: hard
+
"shebang-command@npm:^2.0.0":
version: 2.0.0
resolution: "shebang-command@npm:2.0.0"
@@ -3661,6 +4042,13 @@ __metadata:
languageName: node
linkType: hard
+"shebang-regex@npm:^1.0.0":
+ version: 1.0.0
+ resolution: "shebang-regex@npm:1.0.0"
+ checksum: 404c5a752cd40f94591dfd9346da40a735a05139dac890ffc229afba610854d8799aaa52f87f7e0c94c5007f2c6af55bdcaeb584b56691926c5eaf41dc8f1372
+ languageName: node
+ linkType: hard
+
"shebang-regex@npm:^3.0.0":
version: 3.0.0
resolution: "shebang-regex@npm:3.0.0"
@@ -3797,6 +4185,15 @@ __metadata:
languageName: node
linkType: hard
+"string_decoder@npm:~1.1.1":
+ version: 1.1.1
+ resolution: "string_decoder@npm:1.1.1"
+ dependencies:
+ safe-buffer: ~5.1.0
+ checksum: 9ab7e56f9d60a28f2be697419917c50cac19f3e8e6c28ef26ed5f4852289fe0de5d6997d29becf59028556f2c62983790c1d9ba1e2a3cc401768ca12d5183a5b
+ languageName: node
+ linkType: hard
+
"strip-ansi@npm:^6.0.1":
version: 6.0.1
resolution: "strip-ansi@npm:6.0.1"
@@ -3813,6 +4210,22 @@ __metadata:
languageName: node
linkType: hard
+"strip-dirs@npm:^2.0.0":
+ version: 2.1.0
+ resolution: "strip-dirs@npm:2.1.0"
+ dependencies:
+ is-natural-number: ^4.0.1
+ checksum: 9465547d71d8819daa7a5c9d4d783289ed8eac72eb06bd687bed382ce62af8ab8e6ffbda229805f5d2e71acce2ca4915e781c94190d284994cbc0b7cdc8303cc
+ languageName: node
+ linkType: hard
+
+"strip-eof@npm:^1.0.0":
+ version: 1.0.0
+ resolution: "strip-eof@npm:1.0.0"
+ checksum: 40bc8ddd7e072f8ba0c2d6d05267b4e0a4800898c3435b5fb5f5a21e6e47dfaff18467e7aa0d1844bb5d6274c3097246595841fbfeb317e541974ee992cac506
+ languageName: node
+ linkType: hard
+
"strip-json-comments@npm:^3.1.0, strip-json-comments@npm:^3.1.1":
version: 3.1.1
resolution: "strip-json-comments@npm:3.1.1"
@@ -3836,6 +4249,21 @@ __metadata:
languageName: node
linkType: hard
+"tar-stream@npm:^1.5.2":
+ version: 1.6.2
+ resolution: "tar-stream@npm:1.6.2"
+ dependencies:
+ bl: ^1.0.0
+ buffer-alloc: ^1.2.0
+ end-of-stream: ^1.0.0
+ fs-constants: ^1.0.0
+ readable-stream: ^2.3.0
+ to-buffer: ^1.1.1
+ xtend: ^4.0.0
+ checksum: a5d49e232d3e33321bbd150381b6a4e5046bf12b1c2618acb95435b7871efde4d98bd1891eb2200478a7142ef7e304e033eb29bbcbc90451a2cdfa1890e05245
+ languageName: node
+ linkType: hard
+
"tar@npm:^6.1.11, tar@npm:^6.1.2":
version: 6.1.11
resolution: "tar@npm:6.1.11"
@@ -3857,6 +4285,13 @@ __metadata:
languageName: node
linkType: hard
+"through@npm:^2.3.8":
+ version: 2.3.8
+ resolution: "through@npm:2.3.8"
+ checksum: a38c3e059853c494af95d50c072b83f8b676a9ba2818dcc5b108ef252230735c54e0185437618596c790bbba8fcdaef5b290405981ffa09dce67b1f1bf190cbd
+ languageName: node
+ linkType: hard
+
"tiny-emitter@npm:^2.1.0":
version: 2.1.0
resolution: "tiny-emitter@npm:2.1.0"
@@ -3871,6 +4306,13 @@ __metadata:
languageName: node
linkType: hard
+"to-buffer@npm:^1.1.1":
+ version: 1.1.1
+ resolution: "to-buffer@npm:1.1.1"
+ checksum: 6c897f58c2bdd8b8b1645ea515297732fec6dafb089bf36d12370c102ff5d64abf2be9410e0b1b7cfc707bada22d9a4084558010bfc78dd7023748dc5dd9a1ce
+ languageName: node
+ linkType: hard
+
"to-regex-range@npm:^5.0.1":
version: 5.0.1
resolution: "to-regex-range@npm:5.0.1"
@@ -3961,7 +4403,7 @@ __metadata:
languageName: node
linkType: hard
-"typescript@npm:^4.6.4":
+"typescript@npm:^4.7.2":
version: 4.7.2
resolution: "typescript@npm:4.7.2"
bin:
@@ -3971,7 +4413,7 @@ __metadata:
languageName: node
linkType: hard
-"typescript@patch:typescript@^4.6.4#~builtin<compat/typescript>":
+"typescript@patch:typescript@^4.7.2#~builtin<compat/typescript>":
version: 4.7.2
resolution: "typescript@patch:typescript@npm%3A4.7.2#~builtin<compat/typescript>::version=4.7.2&hash=7ad353"
bin:
@@ -3993,6 +4435,16 @@ __metadata:
languageName: node
linkType: hard
+"unbzip2-stream@npm:^1.0.9":
+ version: 1.4.3
+ resolution: "unbzip2-stream@npm:1.4.3"
+ dependencies:
+ buffer: ^5.2.1
+ through: ^2.3.8
+ checksum: 0e67c4a91f4fa0fc7b4045f8b914d3498c2fc2e8c39c359977708ec85ac6d6029840e97f508675fdbdf21fcb8d276ca502043406f3682b70f075e69aae626d1d
+ languageName: node
+ linkType: hard
+
"underscore@npm:^1.13.1":
version: 1.13.3
resolution: "underscore@npm:1.13.3"
@@ -4041,7 +4493,7 @@ __metadata:
languageName: node
linkType: hard
-"util-deprecate@npm:^1.0.1":
+"util-deprecate@npm:^1.0.1, util-deprecate@npm:~1.0.1":
version: 1.0.2
resolution: "util-deprecate@npm:1.0.2"
checksum: 474acf1146cb2701fe3b074892217553dfcf9a031280919ba1b8d651a068c9b15d863b7303cb15bd00a862b498e6cf4ad7b4a08fb134edd5a6f7641681cb54a2
@@ -4120,6 +4572,17 @@ __metadata:
languageName: node
linkType: hard
+"which@npm:^1.2.9":
+ version: 1.3.1
+ resolution: "which@npm:1.3.1"
+ dependencies:
+ isexe: ^2.0.0
+ bin:
+ which: ./bin/which
+ checksum: f2e185c6242244b8426c9df1510e86629192d93c1a986a7d2a591f2c24869e7ffd03d6dac07ca863b2e4c06f59a4cc9916c585b72ee9fa1aa609d0124df15e04
+ languageName: node
+ linkType: hard
+
"which@npm:^2.0.1, which@npm:^2.0.2":
version: 2.0.2
resolution: "which@npm:2.0.2"
@@ -4164,8 +4627,8 @@ __metadata:
linkType: hard
"ws@npm:^8.5.0":
- version: 8.6.0
- resolution: "ws@npm:8.6.0"
+ version: 8.7.0
+ resolution: "ws@npm:8.7.0"
peerDependencies:
bufferutil: ^4.0.1
utf-8-validate: ^5.0.2
@@ -4174,7 +4637,7 @@ __metadata:
optional: true
utf-8-validate:
optional: true
- checksum: e2fca82059f1e087d0c78e2f37135e1b8332bc804fce46f83c2db1cb8571685abf9d2c99b964bab3752536ad90b99b46fb8d1428899aed3e560684ab4641bffd
+ checksum: 078fa2dbc06b31a45e0057b19e2930d26c222622e355955afe019c9b9b25f62eb2a8eff7cceabdad04910ecd2bd6ef4fa48e6f3673f2fdddff02a6e4c2459584
languageName: node
linkType: hard
@@ -4185,9 +4648,26 @@ __metadata:
languageName: node
linkType: hard
+"yallist@npm:^2.1.2":
+ version: 2.1.2
+ resolution: "yallist@npm:2.1.2"
+ checksum: 9ba99409209f485b6fcb970330908a6d41fa1c933f75e08250316cce19383179a6b70a7e0721b89672ebb6199cc377bf3e432f55100da6a7d6e11902b0a642cb
+ languageName: node
+ linkType: hard
+
"yallist@npm:^4.0.0":
version: 4.0.0
resolution: "yallist@npm:4.0.0"
checksum: 343617202af32df2a15a3be36a5a8c0c8545208f3d3dfbc6bb7c3e3b7e8c6f8e7485432e4f3b88da3031a6e20afa7c711eded32ddfb122896ac5d914e75848d5
languageName: node
linkType: hard
+
+"yauzl@npm:^2.4.2":
+ version: 2.10.0
+ resolution: "yauzl@npm:2.10.0"
+ dependencies:
+ buffer-crc32: ~0.2.3
+ fd-slicer: ~1.1.0
+ checksum: 7f21fe0bbad6e2cb130044a5d1d0d5a0e5bf3d8d4f8c4e6ee12163ce798fee3de7388d22a7a0907f563ac5f9d40f8699a223d3d5c1718da90b0156da6904022b
+ languageName: node
+ linkType: hard