From 562ac55ddf1d5f61d7f3b3d3078807fb187e7f9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Murat=20Go=CC=88zel?= Date: Sun, 2 Apr 2023 17:28:14 +0300 Subject: [PATCH] fixed modifier version bump when three kind of level specified improved the semantic tag reset behaviour when calendar tags lead the version string --- .releaser.json | 14 + dist/node/cjs/index.js | 26 +- dist/node/cjs/index.js.map | 2 +- dist/node/es/index.js | 26 +- dist/node/es/index.js.map | 2 +- dist/node/lts/cjs/index.js | 20 +- dist/node/lts/cjs/index.js.map | 2 +- dist/node/lts/es/index.js | 20 +- dist/node/lts/es/index.js.map | 2 +- package-lock.json | 3220 ++++++++++++++++++-------------- package.json | 22 +- src/Version.js | 26 +- tests/index.js | 17 +- 13 files changed, 1973 insertions(+), 1426 deletions(-) create mode 100644 .releaser.json diff --git a/.releaser.json b/.releaser.json new file mode 100644 index 0000000..18ce629 --- /dev/null +++ b/.releaser.json @@ -0,0 +1,14 @@ +{ + "versioningScheme": "calver", + "versioningFormat": "yy.mm.minor", + "versioningPrefix": "v", + "npmUpdatePackageVersion": true, + "npmPublishPackage": true, + "githubRelease": true, + "location": ".releaser.json", + "npmPublishPackageArgs": [], + "gitlabRelease": false, + "dockerBuildPath": ".", + "dockerBuildArgs": [], + "dockerPushArgs": [] +} \ No newline at end of file diff --git a/dist/node/cjs/index.js b/dist/node/cjs/index.js index 9fed412..b1b1446 100644 --- a/dist/node/cjs/index.js +++ b/dist/node/cjs/index.js @@ -371,11 +371,19 @@ class Version { if (SemanticVersion.tags.indexOf(l) !== -1) this.semanticver.inc(l); if (ModifierVersion.tags.indexOf(l) !== -1) this.modifierver.inc(l); - if (levels.length > 1) { + if (levels.length === 1) { + if (this.isCalendarLeading && this.datever.hasChanged && this.semanticver) { + this.semanticver.reset(); + } + } + else if (levels.length === 2) { const l2 = levels[1]; if (ModifierVersion.tags.indexOf(l2) !== -1 && ModifierVersion.tags.indexOf(l) === -1) { this.modifierver.inc(l2); + if (this.isCalendarLeading && this.datever.hasChanged && this.semanticver) { + this.semanticver.reset(); + } } else if (SemanticVersion.tags.indexOf(l2) !== -1) { if (this.isCalendarLeading && this.datever.hasChanged) this.semanticver.reset(); @@ -385,6 +393,22 @@ class Version { throw new Error(`The second tag of the level should be either modifier or semantic tag. You specified "${l2}" as the second tag and "${l}" as the first tag.`) } } + else if (levels.length === 3) { + const l2 = levels[1]; + const l3 = levels[2]; + + if (SemanticVersion.tags.indexOf(l2) !== -1) { + if (this.isCalendarLeading && this.datever.hasChanged) this.semanticver.reset(); + else this.semanticver.inc(l2); + } + + if (ModifierVersion.tags.includes(l3) && !ModifierVersion.tags.includes(l2) && !ModifierVersion.tags.includes(l)) { + this.modifierver.inc(l3); + } + else { + throw new Error(`The third tag of the level must be a modifier tag. You specified "${l3}".`) + } + } return this } diff --git a/dist/node/cjs/index.js.map b/dist/node/cjs/index.js.map index 58d7a96..ad75f92 100644 --- a/dist/node/cjs/index.js.map +++ b/dist/node/cjs/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sources":["../../../src/DateVersion.js","../../../src/SemanticVersion.js","../../../src/ModifierVersion.js","../../../src/UtcDate.js","../../../src/LocalDate.js","../../../src/Version.js","../../../src/index.js"],"sourcesContent":["export default class DateVersion {\n static tags = ['YYYY', 'YY', '0Y', 'MM', '0M', 'WW', '0W', 'DD', '0D']\n\n reDigits = /[^0-9]/\n\n constructor(obj, parentSeperator, isInitialVersion, date) {\n this['YYYY'] = null\n this['YY'] = null\n this['0Y'] = null\n this['MM'] = null\n this['0M'] = null\n this['WW'] = null\n this['0W'] = null\n this['DD'] = null\n this['0D'] = null\n\n this.hasChanged = false\n this.isInitialVersion = isInitialVersion\n this.parentSeperator = parentSeperator\n this.props = []\n this.date = date\n\n this.parse(obj)\n }\n\n parse(obj) {\n for (const prop in obj) {\n if (!this.isInitialVersion && !this.isValid(prop, obj[prop])) {\n throw new Error(`Calendar tag ${prop} has an invalid value \"${obj[prop]}\"`)\n }\n\n this[prop] = obj[prop]\n this.props.push(prop)\n }\n }\n\n inc(level) {\n const prevValue = this.asString()\n\n const yearstr = this.date.getFullYear().toString()\n this['YYYY'] = yearstr\n this['YY'] = parseInt(yearstr.slice(2)).toString()\n this['0Y'] = this['YY'].padStart(2, '0')\n\n const monthstr = (this.date.getMonth() + 1).toString()\n this['MM'] = monthstr\n this['0M'] = this['MM'].padStart(2, '0')\n\n const weekstr = this.date.getWeek().toString()\n this['WW'] = weekstr\n this['0W'] = this['WW'].padStart(2, '0')\n\n const daystr = this.date.getDate().toString()\n this['DD'] = daystr\n this['0D'] = this['DD'].padStart(2, '0')\n\n const newValue = this.asString()\n\n this.hasChanged = prevValue != newValue\n\n return this\n }\n\n isValid(prop, v) {\n if (!v || typeof v != 'string' || this.reDigits.test(v)) return false\n\n switch (prop) {\n case 'YYYY':\n if (v.slice(0, 1) == '0') return false\n return v.length === 4\n break;\n\n case 'YY':\n if (v.slice(0, 1) == '0') return false\n return v.length === 1 || v.length === 2 || v.length === 3\n break;\n\n case '0Y':\n if ((v.length == 2 || v.length == 3) && v.slice(0, 1) == '0') return false\n return v.length === 2 || v.length === 3\n break;\n\n case 'MM':\n return [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].indexOf(Number(v)) !== -1\n break;\n\n case '0M':\n return ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12']\n .indexOf(v) !== -1\n break;\n\n case 'WW':\n return Number(v) >= 1 && Number(v) <= 52\n break;\n\n case '0W':\n if (v.length != 2) return false\n return Number(v) >= 1 && Number(v) <= 52\n break;\n\n case 'DD':\n return Number(v) >= 1 && Number(v) <= 31\n break;\n\n case '0D':\n if (v.length != 2) return false\n return Number(v) >= 1 && Number(v) <= 31\n break;\n }\n }\n\n asObject() {\n return this.props.reduce((memo, prop) => {\n memo[prop] = this[prop]\n return memo\n }, {})\n }\n\n asString() {\n const result = []\n for (const tag of this.constructor.tags) {\n if (this.props.indexOf(tag) !== -1) result.push(this[tag])\n }\n return result.join(this.parentSeperator)\n }\n}\n","export default class SemanticVersion {\n static tags = ['MAJOR', 'MINOR', 'PATCH']\n\n reDigits = /[^0-9]/\n\n constructor(obj, parentSeperator, isInitialVersion) {\n this.MAJOR = null\n this.MINOR = null\n this.PATCH = null\n\n this.isInitialVersion = isInitialVersion\n this.parentSeperator = parentSeperator\n this.props = []\n\n this.parse(obj)\n }\n\n parse(obj) {\n for (const prop in obj) {\n if (!this.isInitialVersion && !this.isValid(prop, obj[prop])) {\n throw new Error(`Semantic tag ${prop} has an invalid value \"${obj[prop]}\"`)\n }\n\n this[prop] = obj[prop]\n this.props.push(prop)\n }\n }\n\n reset() {\n this.props.map(prop => this[prop] = 0)\n }\n\n inc(level) {\n if (this.props.indexOf(level) === -1) {\n throw new Error(`[CALVER]: You have requested to increment \"${level}\" but your format doesn't have it.`)\n }\n\n if (level == 'MAJOR') {\n this.MAJOR = (parseInt(this.MAJOR) + 1).toString()\n if (this.props.indexOf('MINOR') !== -1) this.MINOR = '0'\n if (this.props.indexOf('PATCH') !== -1) this.PATCH = '0'\n }\n \n if (level == 'MINOR') {\n this.MINOR = (parseInt(this.MINOR) + 1).toString()\n if (this.props.indexOf('PATCH') !== -1) this.PATCH = '0'\n }\n\n if (level == 'PATCH') {\n this.PATCH = (parseInt(this.PATCH) + 1).toString()\n }\n\n return this\n }\n\n isValid(prop, v) {\n if (!v || typeof v != 'string' || this.reDigits.test(v)) return false\n return true\n }\n\n asObject() {\n return this.props.reduce((memo, prop) => {\n memo[prop] = this[prop]\n return memo\n }, {})\n }\n\n asString() {\n const result = []\n for (const tag of this.constructor.tags) {\n if (this.props.indexOf(tag) !== -1) result.push(this[tag])\n }\n return result.join(this.parentSeperator)\n }\n}\n","export default class ModifierVersion {\n static seperator = '-'\n static tags = ['DEV', 'ALPHA', 'BETA', 'RC']\n\n reDigits = /[^0-9\\-]/\n\n constructor(obj, parentSeperator, isInitialVersion) {\n this.DEV = null\n this.ALPHA = null\n this.BETA = null\n this.RC = null\n\n this.isInitialVersion = isInitialVersion\n this.parentSeperator = parentSeperator\n this.prop = null\n\n this.parse(obj)\n }\n\n parse(obj) {\n for (const prop in obj) {\n if (!this.isInitialVersion && !this.isValid(prop, obj[prop])) {\n throw new Error(`Modifier tag ${prop} has an invalid value \"${obj[prop]}\"`)\n }\n\n this.prop = prop\n this[prop] = obj[prop]\n }\n }\n\n inc(level) {\n if (level != this.prop) {\n throw new Error(`[CALVER]: You have requested to increment \"${level}\" but your format doesn't have it.`)\n }\n\n this[this.prop] = (parseInt(this[this.prop]) + 1).toString()\n\n return this\n }\n\n isValid(prop, v) {\n if (!v || typeof v != 'string' || this.reDigits.test(v)) return false\n if (v.indexOf('-') !== -1 && v != '-1') return false\n return true\n }\n\n asObject() {\n const result = {}\n result[this.prop] = this[this.prop]\n return result\n }\n\n asString() {\n return `${this.constructor.seperator}${this.prop}${this.parentSeperator}${this[this.prop]}`\n }\n}\n","export default class UtcDate {\n constructor() {\n this.date = new Date(Date.now())\n }\n\n getFullYear() {\n return this.date.getUTCFullYear()\n }\n\n getMonth() {\n return this.date.getUTCMonth()\n }\n\n getWeek() {\n return this.getUTCWeek()\n }\n\n getDate() {\n return this.date.getUTCDate()\n }\n\n getUTCWeek() {\n const d = new Date(\n Date.UTC(\n this.date.getFullYear(),\n this.date.getMonth(),\n this.date.getDate()\n )\n );\n const daynum = d.getUTCDay() || 7\n\n d.setUTCDate(d.getUTCDate() + 4 - daynum)\n\n const yearstart = new Date(Date.UTC(d.getUTCFullYear(), 0, 1))\n\n return Math.ceil(((d - yearstart) / 86400000 + 1) / 7)\n }\n}\n","export default class LocalDate {\n constructor() {\n this.date = new Date(Date.now())\n }\n\n getFullYear() {\n return this.date.getFullYear()\n }\n\n getMonth() {\n return this.date.getMonth()\n }\n\n getWeek() {\n return this.getWeek()\n }\n\n getDate() {\n return this.date.getDate()\n }\n\n getWeek() {\n const d = new Date(\n this.date.getFullYear(),\n this.date.getMonth(),\n this.date.getDate()\n )\n const daynum = d.getDay() || 7\n\n d.setDate(d.getDate() + 4 - daynum)\n\n const yearstart = new Date(d.getFullYear(), 0, 1)\n\n return Math.ceil(((d - yearstart) / 86400000 + 1) / 7)\n }\n}\n\n","import DateVersion from './DateVersion.js'\nimport SemanticVersion from './SemanticVersion.js'\nimport ModifierVersion from './ModifierVersion.js'\n\nexport default class Version {\n constructor(version, seperator, date) {\n this.seperator = seperator\n this.versionStringHasModifier = version.versionStringHasModifier\n this.isInitialVersion = version.isInitialVersion\n this.isCalendarLeading = version.isCalendarLeading\n this.datever = null\n this.semanticver = null\n this.modifierver = null\n this.date = date\n\n this.parse(version)\n }\n\n parse(version) {\n if (Object.keys(version.calendar).length > 0) {\n this.datever = new DateVersion(version.calendar, this.seperator, this.isInitialVersion, this.date)\n }\n\n if (Object.keys(version.semantic).length > 0) {\n this.semanticver = new SemanticVersion(version.semantic, this.seperator, this.isInitialVersion)\n }\n\n if (Object.keys(version.modifier).length > 0) {\n this.modifierver = new ModifierVersion(version.modifier, this.seperator, this.isInitialVersion)\n }\n }\n\n inc(levels) {\n const l = levels[0]\n\n const removeModifier = levels.length === 1 \n && ['MAJOR', 'MINOR', 'PATCH', 'CALENDAR'].indexOf(l) !== -1 \n && this.versionStringHasModifier\n if (removeModifier) {\n this.modifierver = null\n\n return this\n }\n\n if (l == 'CALENDAR') this.datever.inc(l)\n if (SemanticVersion.tags.indexOf(l) !== -1) this.semanticver.inc(l)\n if (ModifierVersion.tags.indexOf(l) !== -1) this.modifierver.inc(l)\n\n if (levels.length > 1) {\n const l2 = levels[1]\n\n if (ModifierVersion.tags.indexOf(l2) !== -1 && ModifierVersion.tags.indexOf(l) === -1) {\n this.modifierver.inc(l2)\n }\n else if (SemanticVersion.tags.indexOf(l2) !== -1) {\n if (this.isCalendarLeading && this.datever.hasChanged) this.semanticver.reset()\n else this.semanticver.inc(l2)\n }\n else {\n throw new Error(`The second tag of the level should be either modifier or semantic tag. You specified \"${l2}\" as the second tag and \"${l}\" as the first tag.`)\n }\n }\n\n return this\n }\n\n asObject() {\n const result = {\n calendar: {},\n semantic: {},\n modifier: {}\n }\n\n if (this.datever) result.calendar = this.datever.asObject()\n if (this.semanticver) result.semantic = this.semanticver.asObject()\n if (this.modifierver) result.modifier = this.modifierver.asObject()\n\n return result\n }\n}\n","import DateVersion from './DateVersion.js'\nimport SemanticVersion from './SemanticVersion.js'\nimport ModifierVersion from './ModifierVersion.js'\nimport UtcDate from './UtcDate.js'\nimport LocalDate from './LocalDate.js'\nimport Version from './Version.js'\n\nclass Calver {\n constructor() {\n this.seperator = '.'\n this.levels = ['CALENDAR', 'MAJOR', 'MINOR', 'PATCH', ...ModifierVersion.tags]\n this._useLocalTime = false\n }\n\n inc(format, version, levels) {\n levels = this.validateLevels(levels)\n format = this.validateFormat(format, levels)\n const parsedVersion = this.parseVersion(version, format, levels)\n const date = this._useLocalTime ? new LocalDate() : new UtcDate()\n\n const obj = (new Version(parsedVersion, this.seperator, date)).inc(levels).asObject()\n\n const result = this.asString(format, obj)\n\n if (version == result) {\n throw new Error('No change happened in the version.')\n }\n\n return result\n }\n\n isValid(format, version) {\n if (!version) return false\n\n try {\n format = this.validateFormat(format, [])\n version = this.parseVersion(version, format, [])\n\n new Version(version, this.seperator)\n\n return true\n } catch (e) {\n return false\n }\n }\n\n getTagType(tag) {\n tag = tag.toUpperCase()\n\n if (DateVersion.tags.indexOf(tag) !== -1) return 'calendar'\n if (SemanticVersion.tags.indexOf(tag) !== -1) return 'semantic'\n if (ModifierVersion.tags.indexOf(tag) !== -1) return 'modifier'\n \n return undefined;\n }\n\n asString(format, obj) {\n const result = []\n\n for (const tag of format.sorted) {\n if (DateVersion.tags.indexOf(tag) !== -1) {\n result.push(obj.calendar[tag])\n }\n if (SemanticVersion.tags.indexOf(tag) !== -1) {\n result.push(obj.semantic[tag])\n }\n if (ModifierVersion.tags.indexOf(tag) !== -1 && obj.modifier) {\n result.push(ModifierVersion.seperator + tag.toLowerCase() + this.seperator + obj.modifier[tag])\n }\n }\n\n return result\n .join(this.seperator)\n .replace(this.seperator + ModifierVersion.seperator, ModifierVersion.seperator)\n }\n\n parseVersion(version, format, levels) {\n const map = {\n isCalendarLeading: format.isCalendarLeading,\n isInitialVersion: !version,\n versionStringHasModifier: /(dev|DEV|alpha|ALPHA|beta|BETA|rc|RC)/.test(version),\n sorted: {},\n calendar: {},\n semantic: {},\n modifier: {}\n }\n\n let startIndex=0, endIndex=0\n for (const tag of format.sorted) {\n endIndex = version.indexOf(this.seperator, startIndex+1)\n if (endIndex === -1) endIndex = undefined\n\n let value = version.slice(startIndex, endIndex)\n\n if (value.indexOf(ModifierVersion.seperator) !== -1) {\n endIndex = version.indexOf(ModifierVersion.seperator, startIndex+1)\n value = version.slice(startIndex, endIndex)\n }\n\n if (ModifierVersion.tags.indexOf(value.toUpperCase()) !== -1) {\n if (value.toUpperCase() != tag) value = '-1'\n else value = version.slice(startIndex + value.length + 1)\n }\n\n if (isNaN(startIndex)) {\n value = ModifierVersion.tags.indexOf(tag) !== -1 ? '-1' : '0'\n }\n\n if (value == '') {\n value = '0'\n }\n\n map.sorted[tag] = value\n if (format.calendar.indexOf(tag) !== -1) map.calendar[tag] = value\n if (format.semantic.indexOf(tag) !== -1) map.semantic[tag] = value\n if (format.modifier.indexOf(tag) !== -1) map.modifier[tag] = value\n\n startIndex = endIndex + 1\n }\n\n return map\n }\n\n validateFormat(format, levels) {\n const result = {\n sorted: [],\n calendar: [],\n semantic: [],\n modifier: []\n }\n\n const tags = format.toUpperCase().split(this.seperator)\n\n for (const tag of tags) {\n if (DateVersion.tags.indexOf(tag) !== -1) result.calendar.push(tag)\n else if (SemanticVersion.tags.indexOf(tag) !== -1) result.semantic.push(tag)\n else throw new Error(`[CALVER]: Invalid format tag \"${tag}\".`)\n\n result.sorted.push(tag)\n }\n\n for (const level of levels) {\n if (ModifierVersion.tags.indexOf(level) !== -1) {\n result.modifier.push(level)\n result.sorted.push(level)\n }\n }\n\n result.isCalendarLeading = DateVersion.tags.indexOf(result.sorted[0]) !== -1\n\n return result\n }\n\n validateLevels(levels) {\n const result = []\n const arr = levels.split('.')\n\n for (const level of arr) {\n const formatted = level.toUpperCase()\n if (this.levels.indexOf(formatted) !== -1) {\n result.push(formatted)\n }\n else {\n throw new Error(`[CALVER]: Invalid level \"${level}\".`)\n }\n }\n\n return result\n }\n\n set useLocalTime(value) {\n this._useLocalTime = value\n }\n}\n\nexport default new Calver()\n"],"names":[],"mappings":";;AAAe,MAAM,WAAW,CAAC;AACjC,EAAE,OAAO,IAAI,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;AACxE;AACA,EAAE,QAAQ,GAAG,QAAQ;AACrB;AACA,EAAE,WAAW,CAAC,GAAG,EAAE,eAAe,EAAE,gBAAgB,EAAE,IAAI,EAAE;AAC5D,IAAI,IAAI,CAAC,MAAM,CAAC,GAAG,KAAI;AACvB,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,KAAI;AACrB,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,KAAI;AACrB,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,KAAI;AACrB,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,KAAI;AACrB,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,KAAI;AACrB,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,KAAI;AACrB,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,KAAI;AACrB,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,KAAI;AACrB;AACA,IAAI,IAAI,CAAC,UAAU,GAAG,MAAK;AAC3B,IAAI,IAAI,CAAC,gBAAgB,GAAG,iBAAgB;AAC5C,IAAI,IAAI,CAAC,eAAe,GAAG,gBAAe;AAC1C,IAAI,IAAI,CAAC,KAAK,GAAG,GAAE;AACnB,IAAI,IAAI,CAAC,IAAI,GAAG,KAAI;AACpB;AACA,IAAI,IAAI,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M,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,EAAC;AACjC,OAAO;AACP,KAAK;AACL;AACA,IAAI,MAAM,CAAC,iBAAiB,GAAG,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,EAAC;AAChF;AACA,IAAI,OAAO,MAAM;AACjB,GAAG;AACH;AACA,EAAE,cAAc,CAAC,MAAM,EAAE;AACzB,IAAI,MAAM,MAAM,GAAG,GAAE;AACrB,IAAI,MAAM,GAAG,GAAG,MAAM,CAAC,KAAK,CAAC,GAAG,EAAC;AACjC;AACA,IAAI,KAAK,MAAM,KAAK,IAAI,GAAG,EAAE;AAC7B,MAAM,MAAM,SAAS,GAAG,KAAK,CAAC,WAAW,GAAE;AAC3C,MAAM,IAAI,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,EAAE;AACjD,QAAQ,MAAM,CAAC,IAAI,CAAC,SAAS,EAAC;AAC9B,OAAO;AACP,WAAW;AACX,QAAQ,MAAM,IAAI,KAAK,CAAC,CAAC,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC;AAC9D,OAAO;AACP,KAAK;AACL;AACA,IAAI,OAAO,MAAM;AACjB,GAAG;AACH;AACA,EAAE,IAAI,YAAY,CAAC,KAAK,EAAE;AAC1B,IAAI,IAAI,CAAC,aAAa,GAAG,MAAK;AAC9B,GAAG;AACH,CAAC;AACD;AACA,YAAe,IAAI,MAAM;;;;"} \ No newline at end of file +{"version":3,"file":"index.js","sources":["../../../src/DateVersion.js","../../../src/SemanticVersion.js","../../../src/ModifierVersion.js","../../../src/UtcDate.js","../../../src/LocalDate.js","../../../src/Version.js","../../../src/index.js"],"sourcesContent":["export default class DateVersion {\n static tags = ['YYYY', 'YY', '0Y', 'MM', '0M', 'WW', '0W', 'DD', '0D']\n\n reDigits = /[^0-9]/\n\n constructor(obj, parentSeperator, isInitialVersion, date) {\n this['YYYY'] = null\n this['YY'] = null\n this['0Y'] = null\n this['MM'] = null\n this['0M'] = null\n this['WW'] = null\n this['0W'] = null\n this['DD'] = null\n this['0D'] = null\n\n this.hasChanged = false\n this.isInitialVersion = isInitialVersion\n this.parentSeperator = parentSeperator\n this.props = []\n this.date = date\n\n this.parse(obj)\n }\n\n parse(obj) {\n for (const prop in obj) {\n if (!this.isInitialVersion && !this.isValid(prop, obj[prop])) {\n throw new Error(`Calendar tag ${prop} has an invalid value \"${obj[prop]}\"`)\n }\n\n this[prop] = obj[prop]\n this.props.push(prop)\n }\n }\n\n inc(level) {\n const prevValue = this.asString()\n\n const yearstr = this.date.getFullYear().toString()\n this['YYYY'] = yearstr\n this['YY'] = parseInt(yearstr.slice(2)).toString()\n this['0Y'] = this['YY'].padStart(2, '0')\n\n const monthstr = (this.date.getMonth() + 1).toString()\n this['MM'] = monthstr\n this['0M'] = this['MM'].padStart(2, '0')\n\n const weekstr = this.date.getWeek().toString()\n this['WW'] = weekstr\n this['0W'] = this['WW'].padStart(2, '0')\n\n const daystr = this.date.getDate().toString()\n this['DD'] = daystr\n this['0D'] = this['DD'].padStart(2, '0')\n\n const newValue = this.asString()\n\n this.hasChanged = prevValue != newValue\n\n return this\n }\n\n isValid(prop, v) {\n if (!v || typeof v != 'string' || this.reDigits.test(v)) return false\n\n switch (prop) {\n case 'YYYY':\n if (v.slice(0, 1) == '0') return false\n return v.length === 4\n break;\n\n case 'YY':\n if (v.slice(0, 1) == '0') return false\n return v.length === 1 || v.length === 2 || v.length === 3\n break;\n\n case '0Y':\n if ((v.length == 2 || v.length == 3) && v.slice(0, 1) == '0') return false\n return v.length === 2 || v.length === 3\n break;\n\n case 'MM':\n return [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].indexOf(Number(v)) !== -1\n break;\n\n case '0M':\n return ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12']\n .indexOf(v) !== -1\n break;\n\n case 'WW':\n return Number(v) >= 1 && Number(v) <= 52\n break;\n\n case '0W':\n if (v.length != 2) return false\n return Number(v) >= 1 && Number(v) <= 52\n break;\n\n case 'DD':\n return Number(v) >= 1 && Number(v) <= 31\n break;\n\n case '0D':\n if (v.length != 2) return false\n return Number(v) >= 1 && Number(v) <= 31\n break;\n }\n }\n\n asObject() {\n return this.props.reduce((memo, prop) => {\n memo[prop] = this[prop]\n return memo\n }, {})\n }\n\n asString() {\n const result = []\n for (const tag of this.constructor.tags) {\n if (this.props.indexOf(tag) !== -1) result.push(this[tag])\n }\n return result.join(this.parentSeperator)\n }\n}\n","export default class SemanticVersion {\n static tags = ['MAJOR', 'MINOR', 'PATCH']\n\n reDigits = /[^0-9]/\n\n constructor(obj, parentSeperator, isInitialVersion) {\n this.MAJOR = null\n this.MINOR = null\n this.PATCH = null\n\n this.isInitialVersion = isInitialVersion\n this.parentSeperator = parentSeperator\n this.props = []\n\n this.parse(obj)\n }\n\n parse(obj) {\n for (const prop in obj) {\n if (!this.isInitialVersion && !this.isValid(prop, obj[prop])) {\n throw new Error(`Semantic tag ${prop} has an invalid value \"${obj[prop]}\"`)\n }\n\n this[prop] = obj[prop]\n this.props.push(prop)\n }\n }\n\n reset() {\n this.props.map(prop => this[prop] = 0)\n }\n\n inc(level) {\n if (this.props.indexOf(level) === -1) {\n throw new Error(`[CALVER]: You have requested to increment \"${level}\" but your format doesn't have it.`)\n }\n\n if (level == 'MAJOR') {\n this.MAJOR = (parseInt(this.MAJOR) + 1).toString()\n if (this.props.indexOf('MINOR') !== -1) this.MINOR = '0'\n if (this.props.indexOf('PATCH') !== -1) this.PATCH = '0'\n }\n \n if (level == 'MINOR') {\n this.MINOR = (parseInt(this.MINOR) + 1).toString()\n if (this.props.indexOf('PATCH') !== -1) this.PATCH = '0'\n }\n\n if (level == 'PATCH') {\n this.PATCH = (parseInt(this.PATCH) + 1).toString()\n }\n\n return this\n }\n\n isValid(prop, v) {\n if (!v || typeof v != 'string' || this.reDigits.test(v)) return false\n return true\n }\n\n asObject() {\n return this.props.reduce((memo, prop) => {\n memo[prop] = this[prop]\n return memo\n }, {})\n }\n\n asString() {\n const result = []\n for (const tag of this.constructor.tags) {\n if (this.props.indexOf(tag) !== -1) result.push(this[tag])\n }\n return result.join(this.parentSeperator)\n }\n}\n","export default class ModifierVersion {\n static seperator = '-'\n static tags = ['DEV', 'ALPHA', 'BETA', 'RC']\n\n reDigits = /[^0-9\\-]/\n\n constructor(obj, parentSeperator, isInitialVersion) {\n this.DEV = null\n this.ALPHA = null\n this.BETA = null\n this.RC = null\n\n this.isInitialVersion = isInitialVersion\n this.parentSeperator = parentSeperator\n this.prop = null\n\n this.parse(obj)\n }\n\n parse(obj) {\n for (const prop in obj) {\n if (!this.isInitialVersion && !this.isValid(prop, obj[prop])) {\n throw new Error(`Modifier tag ${prop} has an invalid value \"${obj[prop]}\"`)\n }\n\n this.prop = prop\n this[prop] = obj[prop]\n }\n }\n\n inc(level) {\n if (level != this.prop) {\n throw new Error(`[CALVER]: You have requested to increment \"${level}\" but your format doesn't have it.`)\n }\n\n this[this.prop] = (parseInt(this[this.prop]) + 1).toString()\n\n return this\n }\n\n isValid(prop, v) {\n if (!v || typeof v != 'string' || this.reDigits.test(v)) return false\n if (v.indexOf('-') !== -1 && v != '-1') return false\n return true\n }\n\n asObject() {\n const result = {}\n result[this.prop] = this[this.prop]\n return result\n }\n\n asString() {\n return `${this.constructor.seperator}${this.prop}${this.parentSeperator}${this[this.prop]}`\n }\n}\n","export default class UtcDate {\n constructor() {\n this.date = new Date(Date.now())\n }\n\n getFullYear() {\n return this.date.getUTCFullYear()\n }\n\n getMonth() {\n return this.date.getUTCMonth()\n }\n\n getWeek() {\n return this.getUTCWeek()\n }\n\n getDate() {\n return this.date.getUTCDate()\n }\n\n getUTCWeek() {\n const d = new Date(\n Date.UTC(\n this.date.getFullYear(),\n this.date.getMonth(),\n this.date.getDate()\n )\n );\n const daynum = d.getUTCDay() || 7\n\n d.setUTCDate(d.getUTCDate() + 4 - daynum)\n\n const yearstart = new Date(Date.UTC(d.getUTCFullYear(), 0, 1))\n\n return Math.ceil(((d - yearstart) / 86400000 + 1) / 7)\n }\n}\n","export default class LocalDate {\n constructor() {\n this.date = new Date(Date.now())\n }\n\n getFullYear() {\n return this.date.getFullYear()\n }\n\n getMonth() {\n return this.date.getMonth()\n }\n\n getWeek() {\n return this.getWeek()\n }\n\n getDate() {\n return this.date.getDate()\n }\n\n getWeek() {\n const d = new Date(\n this.date.getFullYear(),\n this.date.getMonth(),\n this.date.getDate()\n )\n const daynum = d.getDay() || 7\n\n d.setDate(d.getDate() + 4 - daynum)\n\n const yearstart = new Date(d.getFullYear(), 0, 1)\n\n return Math.ceil(((d - yearstart) / 86400000 + 1) / 7)\n }\n}\n\n","import DateVersion from './DateVersion.js'\nimport SemanticVersion from './SemanticVersion.js'\nimport ModifierVersion from './ModifierVersion.js'\n\nexport default class Version {\n constructor(version, seperator, date) {\n this.seperator = seperator\n this.versionStringHasModifier = version.versionStringHasModifier\n this.isInitialVersion = version.isInitialVersion\n this.isCalendarLeading = version.isCalendarLeading\n this.datever = null\n this.semanticver = null\n this.modifierver = null\n this.date = date\n\n this.parse(version)\n }\n\n parse(version) {\n if (Object.keys(version.calendar).length > 0) {\n this.datever = new DateVersion(version.calendar, this.seperator, this.isInitialVersion, this.date)\n }\n\n if (Object.keys(version.semantic).length > 0) {\n this.semanticver = new SemanticVersion(version.semantic, this.seperator, this.isInitialVersion)\n }\n\n if (Object.keys(version.modifier).length > 0) {\n this.modifierver = new ModifierVersion(version.modifier, this.seperator, this.isInitialVersion)\n }\n }\n\n inc(levels) {\n const l = levels[0]\n\n const removeModifier = levels.length === 1 \n && ['MAJOR', 'MINOR', 'PATCH', 'CALENDAR'].indexOf(l) !== -1 \n && this.versionStringHasModifier\n if (removeModifier) {\n this.modifierver = null\n\n return this\n }\n\n if (l == 'CALENDAR') this.datever.inc(l)\n if (SemanticVersion.tags.indexOf(l) !== -1) this.semanticver.inc(l)\n if (ModifierVersion.tags.indexOf(l) !== -1) this.modifierver.inc(l)\n\n if (levels.length === 1) {\n if (this.isCalendarLeading && this.datever.hasChanged && this.semanticver) {\n this.semanticver.reset()\n }\n }\n else if (levels.length === 2) {\n const l2 = levels[1]\n\n if (ModifierVersion.tags.indexOf(l2) !== -1 && ModifierVersion.tags.indexOf(l) === -1) {\n this.modifierver.inc(l2)\n if (this.isCalendarLeading && this.datever.hasChanged && this.semanticver) {\n this.semanticver.reset()\n }\n }\n else if (SemanticVersion.tags.indexOf(l2) !== -1) {\n if (this.isCalendarLeading && this.datever.hasChanged) this.semanticver.reset()\n else this.semanticver.inc(l2)\n }\n else {\n throw new Error(`The second tag of the level should be either modifier or semantic tag. You specified \"${l2}\" as the second tag and \"${l}\" as the first tag.`)\n }\n }\n else if (levels.length === 3) {\n const l2 = levels[1]\n const l3 = levels[2]\n\n if (SemanticVersion.tags.indexOf(l2) !== -1) {\n if (this.isCalendarLeading && this.datever.hasChanged) this.semanticver.reset()\n else this.semanticver.inc(l2)\n }\n\n if (ModifierVersion.tags.includes(l3) && !ModifierVersion.tags.includes(l2) && !ModifierVersion.tags.includes(l)) {\n this.modifierver.inc(l3)\n }\n else {\n throw new Error(`The third tag of the level must be a modifier tag. You specified \"${l3}\".`)\n }\n }\n\n return this\n }\n\n asObject() {\n const result = {\n calendar: {},\n semantic: {},\n modifier: {}\n }\n\n if (this.datever) result.calendar = this.datever.asObject()\n if (this.semanticver) result.semantic = this.semanticver.asObject()\n if (this.modifierver) result.modifier = this.modifierver.asObject()\n\n return result\n }\n}\n","import DateVersion from './DateVersion.js'\nimport SemanticVersion from './SemanticVersion.js'\nimport ModifierVersion from './ModifierVersion.js'\nimport UtcDate from './UtcDate.js'\nimport LocalDate from './LocalDate.js'\nimport Version from './Version.js'\n\nclass Calver {\n constructor() {\n this.seperator = '.'\n this.levels = ['CALENDAR', 'MAJOR', 'MINOR', 'PATCH', ...ModifierVersion.tags]\n this._useLocalTime = false\n }\n\n inc(format, version, levels) {\n levels = this.validateLevels(levels)\n format = this.validateFormat(format, levels)\n const parsedVersion = this.parseVersion(version, format, levels)\n const date = this._useLocalTime ? new LocalDate() : new UtcDate()\n\n const obj = (new Version(parsedVersion, this.seperator, date)).inc(levels).asObject()\n\n const result = this.asString(format, obj)\n\n if (version == result) {\n throw new Error('No change happened in the version.')\n }\n\n return result\n }\n\n isValid(format, version) {\n if (!version) return false\n\n try {\n format = this.validateFormat(format, [])\n version = this.parseVersion(version, format, [])\n\n new Version(version, this.seperator)\n\n return true\n } catch (e) {\n return false\n }\n }\n\n getTagType(tag) {\n tag = tag.toUpperCase()\n\n if (DateVersion.tags.indexOf(tag) !== -1) return 'calendar'\n if (SemanticVersion.tags.indexOf(tag) !== -1) return 'semantic'\n if (ModifierVersion.tags.indexOf(tag) !== -1) return 'modifier'\n \n return undefined;\n }\n\n asString(format, obj) {\n const result = []\n\n for (const tag of format.sorted) {\n if (DateVersion.tags.indexOf(tag) !== -1) {\n result.push(obj.calendar[tag])\n }\n if (SemanticVersion.tags.indexOf(tag) !== -1) {\n result.push(obj.semantic[tag])\n }\n if (ModifierVersion.tags.indexOf(tag) !== -1 && obj.modifier) {\n result.push(ModifierVersion.seperator + tag.toLowerCase() + this.seperator + obj.modifier[tag])\n }\n }\n\n return result\n .join(this.seperator)\n .replace(this.seperator + ModifierVersion.seperator, ModifierVersion.seperator)\n }\n\n parseVersion(version, format, levels) {\n const map = {\n isCalendarLeading: format.isCalendarLeading,\n isInitialVersion: !version,\n versionStringHasModifier: /(dev|DEV|alpha|ALPHA|beta|BETA|rc|RC)/.test(version),\n sorted: {},\n calendar: {},\n semantic: {},\n modifier: {}\n }\n\n let startIndex=0, endIndex=0\n for (const tag of format.sorted) {\n endIndex = version.indexOf(this.seperator, startIndex+1)\n if (endIndex === -1) endIndex = undefined\n\n let value = version.slice(startIndex, endIndex)\n\n if (value.indexOf(ModifierVersion.seperator) !== -1) {\n endIndex = version.indexOf(ModifierVersion.seperator, startIndex+1)\n value = version.slice(startIndex, endIndex)\n }\n\n if (ModifierVersion.tags.indexOf(value.toUpperCase()) !== -1) {\n if (value.toUpperCase() != tag) value = '-1'\n else value = version.slice(startIndex + value.length + 1)\n }\n\n if (isNaN(startIndex)) {\n value = ModifierVersion.tags.indexOf(tag) !== -1 ? '-1' : '0'\n }\n\n if (value == '') {\n value = '0'\n }\n\n map.sorted[tag] = value\n if (format.calendar.indexOf(tag) !== -1) map.calendar[tag] = value\n if (format.semantic.indexOf(tag) !== -1) map.semantic[tag] = value\n if (format.modifier.indexOf(tag) !== -1) map.modifier[tag] = value\n\n startIndex = endIndex + 1\n }\n\n return map\n }\n\n validateFormat(format, levels) {\n const result = {\n sorted: [],\n calendar: [],\n semantic: [],\n modifier: []\n }\n\n const tags = format.toUpperCase().split(this.seperator)\n\n for (const tag of tags) {\n if (DateVersion.tags.indexOf(tag) !== -1) result.calendar.push(tag)\n else if (SemanticVersion.tags.indexOf(tag) !== -1) result.semantic.push(tag)\n else throw new Error(`[CALVER]: Invalid format tag \"${tag}\".`)\n\n result.sorted.push(tag)\n }\n\n for (const level of levels) {\n if (ModifierVersion.tags.indexOf(level) !== -1) {\n result.modifier.push(level)\n result.sorted.push(level)\n }\n }\n\n result.isCalendarLeading = DateVersion.tags.indexOf(result.sorted[0]) !== -1\n\n return result\n }\n\n validateLevels(levels) {\n const result = []\n const arr = levels.split('.')\n\n for (const level of arr) {\n const formatted = level.toUpperCase()\n if (this.levels.indexOf(formatted) !== -1) {\n result.push(formatted)\n }\n else {\n throw new Error(`[CALVER]: Invalid level \"${level}\".`)\n }\n }\n\n return result\n }\n\n set useLocalTime(value) {\n this._useLocalTime = value\n }\n}\n\nexport default new Calver()\n"],"names":[],"mappings":";;AAAe,MAAM,WAAW,CAAC;AACjC,EAAE,OAAO,IAAI,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;AACxE;AACA,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;AAC7B,MAAM,MAAM,SAAS,GAAG,KAAK,CAAC,WAAW,GAAE;AAC3C,MAAM,IAAI,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,EAAE;AACjD,QAAQ,MAAM,CAAC,IAAI,CAAC,SAAS,EAAC;AAC9B,OAAO;AACP,WAAW;AACX,QAAQ,MAAM,IAAI,KAAK,CAAC,CAAC,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC;AAC9D,OAAO;AACP,KAAK;AACL;AACA,IAAI,OAAO,MAAM;AACjB,GAAG;AACH;AACA,EAAE,IAAI,YAAY,CAAC,KAAK,EAAE;AAC1B,IAAI,IAAI,CAAC,aAAa,GAAG,MAAK;AAC9B,GAAG;AACH,CAAC;AACD;AACA,YAAe,IAAI,MAAM;;;;"} \ No newline at end of file diff --git a/dist/node/es/index.js b/dist/node/es/index.js index a4cba9c..664d1e5 100644 --- a/dist/node/es/index.js +++ b/dist/node/es/index.js @@ -369,11 +369,19 @@ class Version { if (SemanticVersion.tags.indexOf(l) !== -1) this.semanticver.inc(l); if (ModifierVersion.tags.indexOf(l) !== -1) this.modifierver.inc(l); - if (levels.length > 1) { + if (levels.length === 1) { + if (this.isCalendarLeading && this.datever.hasChanged && this.semanticver) { + this.semanticver.reset(); + } + } + else if (levels.length === 2) { const l2 = levels[1]; if (ModifierVersion.tags.indexOf(l2) !== -1 && ModifierVersion.tags.indexOf(l) === -1) { this.modifierver.inc(l2); + if (this.isCalendarLeading && this.datever.hasChanged && this.semanticver) { + this.semanticver.reset(); + } } else if (SemanticVersion.tags.indexOf(l2) !== -1) { if (this.isCalendarLeading && this.datever.hasChanged) this.semanticver.reset(); @@ -383,6 +391,22 @@ class Version { throw new Error(`The second tag of the level should be either modifier or semantic tag. You specified "${l2}" as the second tag and "${l}" as the first tag.`) } } + else if (levels.length === 3) { + const l2 = levels[1]; + const l3 = levels[2]; + + if (SemanticVersion.tags.indexOf(l2) !== -1) { + if (this.isCalendarLeading && this.datever.hasChanged) this.semanticver.reset(); + else this.semanticver.inc(l2); + } + + if (ModifierVersion.tags.includes(l3) && !ModifierVersion.tags.includes(l2) && !ModifierVersion.tags.includes(l)) { + this.modifierver.inc(l3); + } + else { + throw new Error(`The third tag of the level must be a modifier tag. You specified "${l3}".`) + } + } return this } diff --git a/dist/node/es/index.js.map b/dist/node/es/index.js.map index 248c9a7..a6016cb 100644 --- a/dist/node/es/index.js.map +++ b/dist/node/es/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sources":["../../../src/DateVersion.js","../../../src/SemanticVersion.js","../../../src/ModifierVersion.js","../../../src/UtcDate.js","../../../src/LocalDate.js","../../../src/Version.js","../../../src/index.js"],"sourcesContent":["export default class DateVersion {\n static tags = ['YYYY', 'YY', '0Y', 'MM', '0M', 'WW', '0W', 'DD', '0D']\n\n reDigits = /[^0-9]/\n\n constructor(obj, parentSeperator, isInitialVersion, date) {\n this['YYYY'] = null\n this['YY'] = null\n this['0Y'] = null\n this['MM'] = null\n this['0M'] = null\n this['WW'] = null\n this['0W'] = null\n this['DD'] = null\n this['0D'] = null\n\n this.hasChanged = false\n this.isInitialVersion = isInitialVersion\n this.parentSeperator = parentSeperator\n this.props = []\n this.date = date\n\n this.parse(obj)\n }\n\n parse(obj) {\n for (const prop in obj) {\n if (!this.isInitialVersion && !this.isValid(prop, obj[prop])) {\n throw new Error(`Calendar tag ${prop} has an invalid value \"${obj[prop]}\"`)\n }\n\n this[prop] = obj[prop]\n this.props.push(prop)\n }\n }\n\n inc(level) {\n const prevValue = this.asString()\n\n const yearstr = this.date.getFullYear().toString()\n this['YYYY'] = yearstr\n this['YY'] = parseInt(yearstr.slice(2)).toString()\n this['0Y'] = this['YY'].padStart(2, '0')\n\n const monthstr = (this.date.getMonth() + 1).toString()\n this['MM'] = monthstr\n this['0M'] = this['MM'].padStart(2, '0')\n\n const weekstr = this.date.getWeek().toString()\n this['WW'] = weekstr\n this['0W'] = this['WW'].padStart(2, '0')\n\n const daystr = this.date.getDate().toString()\n this['DD'] = daystr\n this['0D'] = this['DD'].padStart(2, '0')\n\n const newValue = this.asString()\n\n this.hasChanged = prevValue != newValue\n\n return this\n }\n\n isValid(prop, v) {\n if (!v || typeof v != 'string' || this.reDigits.test(v)) return false\n\n switch (prop) {\n case 'YYYY':\n if (v.slice(0, 1) == '0') return false\n return v.length === 4\n break;\n\n case 'YY':\n if (v.slice(0, 1) == '0') return false\n return v.length === 1 || v.length === 2 || v.length === 3\n break;\n\n case '0Y':\n if ((v.length == 2 || v.length == 3) && v.slice(0, 1) == '0') return false\n return v.length === 2 || v.length === 3\n break;\n\n case 'MM':\n return [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].indexOf(Number(v)) !== -1\n break;\n\n case '0M':\n return ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12']\n .indexOf(v) !== -1\n break;\n\n case 'WW':\n return Number(v) >= 1 && Number(v) <= 52\n break;\n\n case '0W':\n if (v.length != 2) return false\n return Number(v) >= 1 && Number(v) <= 52\n break;\n\n case 'DD':\n return Number(v) >= 1 && Number(v) <= 31\n break;\n\n case '0D':\n if (v.length != 2) return false\n return Number(v) >= 1 && Number(v) <= 31\n break;\n }\n }\n\n asObject() {\n return this.props.reduce((memo, prop) => {\n memo[prop] = this[prop]\n return memo\n }, {})\n }\n\n asString() {\n const result = []\n for (const tag of this.constructor.tags) {\n if (this.props.indexOf(tag) !== -1) result.push(this[tag])\n }\n return result.join(this.parentSeperator)\n }\n}\n","export default class SemanticVersion {\n static tags = ['MAJOR', 'MINOR', 'PATCH']\n\n reDigits = /[^0-9]/\n\n constructor(obj, parentSeperator, isInitialVersion) {\n this.MAJOR = null\n this.MINOR = null\n this.PATCH = null\n\n this.isInitialVersion = isInitialVersion\n this.parentSeperator = parentSeperator\n this.props = []\n\n this.parse(obj)\n }\n\n parse(obj) {\n for (const prop in obj) {\n if (!this.isInitialVersion && !this.isValid(prop, obj[prop])) {\n throw new Error(`Semantic tag ${prop} has an invalid value \"${obj[prop]}\"`)\n }\n\n this[prop] = obj[prop]\n this.props.push(prop)\n }\n }\n\n reset() {\n this.props.map(prop => this[prop] = 0)\n }\n\n inc(level) {\n if (this.props.indexOf(level) === -1) {\n throw new Error(`[CALVER]: You have requested to increment \"${level}\" but your format doesn't have it.`)\n }\n\n if (level == 'MAJOR') {\n this.MAJOR = (parseInt(this.MAJOR) + 1).toString()\n if (this.props.indexOf('MINOR') !== -1) this.MINOR = '0'\n if (this.props.indexOf('PATCH') !== -1) this.PATCH = '0'\n }\n \n if (level == 'MINOR') {\n this.MINOR = (parseInt(this.MINOR) + 1).toString()\n if (this.props.indexOf('PATCH') !== -1) this.PATCH = '0'\n }\n\n if (level == 'PATCH') {\n this.PATCH = (parseInt(this.PATCH) + 1).toString()\n }\n\n return this\n }\n\n isValid(prop, v) {\n if (!v || typeof v != 'string' || this.reDigits.test(v)) return false\n return true\n }\n\n asObject() {\n return this.props.reduce((memo, prop) => {\n memo[prop] = this[prop]\n return memo\n }, {})\n }\n\n asString() {\n const result = []\n for (const tag of this.constructor.tags) {\n if (this.props.indexOf(tag) !== -1) result.push(this[tag])\n }\n return result.join(this.parentSeperator)\n }\n}\n","export default class ModifierVersion {\n static seperator = '-'\n static tags = ['DEV', 'ALPHA', 'BETA', 'RC']\n\n reDigits = /[^0-9\\-]/\n\n constructor(obj, parentSeperator, isInitialVersion) {\n this.DEV = null\n this.ALPHA = null\n this.BETA = null\n this.RC = null\n\n this.isInitialVersion = isInitialVersion\n this.parentSeperator = parentSeperator\n this.prop = null\n\n this.parse(obj)\n }\n\n parse(obj) {\n for (const prop in obj) {\n if (!this.isInitialVersion && !this.isValid(prop, obj[prop])) {\n throw new Error(`Modifier tag ${prop} has an invalid value \"${obj[prop]}\"`)\n }\n\n this.prop = prop\n this[prop] = obj[prop]\n }\n }\n\n inc(level) {\n if (level != this.prop) {\n throw new Error(`[CALVER]: You have requested to increment \"${level}\" but your format doesn't have it.`)\n }\n\n this[this.prop] = (parseInt(this[this.prop]) + 1).toString()\n\n return this\n }\n\n isValid(prop, v) {\n if (!v || typeof v != 'string' || this.reDigits.test(v)) return false\n if (v.indexOf('-') !== -1 && v != '-1') return false\n return true\n }\n\n asObject() {\n const result = {}\n result[this.prop] = this[this.prop]\n return result\n }\n\n asString() {\n return `${this.constructor.seperator}${this.prop}${this.parentSeperator}${this[this.prop]}`\n }\n}\n","export default class UtcDate {\n constructor() {\n this.date = new Date(Date.now())\n }\n\n getFullYear() {\n return this.date.getUTCFullYear()\n }\n\n getMonth() {\n return this.date.getUTCMonth()\n }\n\n getWeek() {\n return this.getUTCWeek()\n }\n\n getDate() {\n return this.date.getUTCDate()\n }\n\n getUTCWeek() {\n const d = new Date(\n Date.UTC(\n this.date.getFullYear(),\n this.date.getMonth(),\n this.date.getDate()\n )\n );\n const daynum = d.getUTCDay() || 7\n\n d.setUTCDate(d.getUTCDate() + 4 - daynum)\n\n const yearstart = new Date(Date.UTC(d.getUTCFullYear(), 0, 1))\n\n return Math.ceil(((d - yearstart) / 86400000 + 1) / 7)\n }\n}\n","export default class LocalDate {\n constructor() {\n this.date = new Date(Date.now())\n }\n\n getFullYear() {\n return this.date.getFullYear()\n }\n\n getMonth() {\n return this.date.getMonth()\n }\n\n getWeek() {\n return this.getWeek()\n }\n\n getDate() {\n return this.date.getDate()\n }\n\n getWeek() {\n const d = new Date(\n this.date.getFullYear(),\n this.date.getMonth(),\n this.date.getDate()\n )\n const daynum = d.getDay() || 7\n\n d.setDate(d.getDate() + 4 - daynum)\n\n const yearstart = new Date(d.getFullYear(), 0, 1)\n\n return Math.ceil(((d - yearstart) / 86400000 + 1) / 7)\n }\n}\n\n","import DateVersion from './DateVersion.js'\nimport SemanticVersion from './SemanticVersion.js'\nimport ModifierVersion from './ModifierVersion.js'\n\nexport default class Version {\n constructor(version, seperator, date) {\n this.seperator = seperator\n this.versionStringHasModifier = version.versionStringHasModifier\n this.isInitialVersion = version.isInitialVersion\n this.isCalendarLeading = version.isCalendarLeading\n this.datever = null\n this.semanticver = null\n this.modifierver = null\n this.date = date\n\n this.parse(version)\n }\n\n parse(version) {\n if (Object.keys(version.calendar).length > 0) {\n this.datever = new DateVersion(version.calendar, this.seperator, this.isInitialVersion, this.date)\n }\n\n if (Object.keys(version.semantic).length > 0) {\n this.semanticver = new SemanticVersion(version.semantic, this.seperator, this.isInitialVersion)\n }\n\n if (Object.keys(version.modifier).length > 0) {\n this.modifierver = new ModifierVersion(version.modifier, this.seperator, this.isInitialVersion)\n }\n }\n\n inc(levels) {\n const l = levels[0]\n\n const removeModifier = levels.length === 1 \n && ['MAJOR', 'MINOR', 'PATCH', 'CALENDAR'].indexOf(l) !== -1 \n && this.versionStringHasModifier\n if (removeModifier) {\n this.modifierver = null\n\n return this\n }\n\n if (l == 'CALENDAR') this.datever.inc(l)\n if (SemanticVersion.tags.indexOf(l) !== -1) this.semanticver.inc(l)\n if (ModifierVersion.tags.indexOf(l) !== -1) this.modifierver.inc(l)\n\n if (levels.length > 1) {\n const l2 = levels[1]\n\n if (ModifierVersion.tags.indexOf(l2) !== -1 && ModifierVersion.tags.indexOf(l) === -1) {\n this.modifierver.inc(l2)\n }\n else if (SemanticVersion.tags.indexOf(l2) !== -1) {\n if (this.isCalendarLeading && this.datever.hasChanged) this.semanticver.reset()\n else this.semanticver.inc(l2)\n }\n else {\n throw new Error(`The second tag of the level should be either modifier or semantic tag. You specified \"${l2}\" as the second tag and \"${l}\" as the first tag.`)\n }\n }\n\n return this\n }\n\n asObject() {\n const result = {\n calendar: {},\n semantic: {},\n modifier: {}\n }\n\n if (this.datever) result.calendar = this.datever.asObject()\n if (this.semanticver) result.semantic = this.semanticver.asObject()\n if (this.modifierver) result.modifier = this.modifierver.asObject()\n\n return result\n }\n}\n","import DateVersion from './DateVersion.js'\nimport SemanticVersion from './SemanticVersion.js'\nimport ModifierVersion from './ModifierVersion.js'\nimport UtcDate from './UtcDate.js'\nimport LocalDate from './LocalDate.js'\nimport Version from './Version.js'\n\nclass Calver {\n constructor() {\n this.seperator = '.'\n this.levels = ['CALENDAR', 'MAJOR', 'MINOR', 'PATCH', ...ModifierVersion.tags]\n this._useLocalTime = false\n }\n\n inc(format, version, levels) {\n levels = this.validateLevels(levels)\n format = this.validateFormat(format, levels)\n const parsedVersion = this.parseVersion(version, format, levels)\n const date = this._useLocalTime ? new LocalDate() : new UtcDate()\n\n const obj = (new Version(parsedVersion, this.seperator, date)).inc(levels).asObject()\n\n const result = this.asString(format, obj)\n\n if (version == result) {\n throw new Error('No change happened in the version.')\n }\n\n return result\n }\n\n isValid(format, version) {\n if (!version) return false\n\n try {\n format = this.validateFormat(format, [])\n version = this.parseVersion(version, format, [])\n\n new Version(version, this.seperator)\n\n return true\n } catch (e) {\n return false\n }\n }\n\n getTagType(tag) {\n tag = tag.toUpperCase()\n\n if (DateVersion.tags.indexOf(tag) !== -1) return 'calendar'\n if (SemanticVersion.tags.indexOf(tag) !== -1) return 'semantic'\n if (ModifierVersion.tags.indexOf(tag) !== -1) return 'modifier'\n \n return undefined;\n }\n\n asString(format, obj) {\n const result = []\n\n for (const tag of format.sorted) {\n if (DateVersion.tags.indexOf(tag) !== -1) {\n result.push(obj.calendar[tag])\n }\n if (SemanticVersion.tags.indexOf(tag) !== -1) {\n result.push(obj.semantic[tag])\n }\n if (ModifierVersion.tags.indexOf(tag) !== -1 && obj.modifier) {\n result.push(ModifierVersion.seperator + tag.toLowerCase() + this.seperator + obj.modifier[tag])\n }\n }\n\n return result\n .join(this.seperator)\n .replace(this.seperator + ModifierVersion.seperator, ModifierVersion.seperator)\n }\n\n parseVersion(version, format, levels) {\n const map = {\n isCalendarLeading: format.isCalendarLeading,\n isInitialVersion: !version,\n versionStringHasModifier: /(dev|DEV|alpha|ALPHA|beta|BETA|rc|RC)/.test(version),\n sorted: {},\n calendar: {},\n semantic: {},\n modifier: {}\n }\n\n let startIndex=0, endIndex=0\n for (const tag of format.sorted) {\n endIndex = version.indexOf(this.seperator, startIndex+1)\n if (endIndex === -1) endIndex = undefined\n\n let value = version.slice(startIndex, endIndex)\n\n if (value.indexOf(ModifierVersion.seperator) !== -1) {\n endIndex = version.indexOf(ModifierVersion.seperator, startIndex+1)\n value = version.slice(startIndex, endIndex)\n }\n\n if (ModifierVersion.tags.indexOf(value.toUpperCase()) !== -1) {\n if (value.toUpperCase() != tag) value = '-1'\n else value = version.slice(startIndex + value.length + 1)\n }\n\n if (isNaN(startIndex)) {\n value = ModifierVersion.tags.indexOf(tag) !== -1 ? '-1' : '0'\n }\n\n if (value == '') {\n value = '0'\n }\n\n map.sorted[tag] = value\n if (format.calendar.indexOf(tag) !== -1) map.calendar[tag] = value\n if (format.semantic.indexOf(tag) !== -1) map.semantic[tag] = value\n if (format.modifier.indexOf(tag) !== -1) map.modifier[tag] = value\n\n startIndex = endIndex + 1\n }\n\n return map\n }\n\n validateFormat(format, levels) {\n const result = {\n sorted: [],\n calendar: [],\n semantic: [],\n modifier: []\n }\n\n const tags = format.toUpperCase().split(this.seperator)\n\n for (const tag of tags) {\n if (DateVersion.tags.indexOf(tag) !== -1) result.calendar.push(tag)\n else if (SemanticVersion.tags.indexOf(tag) !== -1) result.semantic.push(tag)\n else throw new Error(`[CALVER]: Invalid format tag \"${tag}\".`)\n\n result.sorted.push(tag)\n }\n\n for (const level of levels) {\n if (ModifierVersion.tags.indexOf(level) !== -1) {\n result.modifier.push(level)\n result.sorted.push(level)\n }\n }\n\n result.isCalendarLeading = DateVersion.tags.indexOf(result.sorted[0]) !== -1\n\n return result\n }\n\n validateLevels(levels) {\n const result = []\n const arr = levels.split('.')\n\n for (const level of arr) {\n const formatted = level.toUpperCase()\n if (this.levels.indexOf(formatted) !== -1) {\n result.push(formatted)\n }\n else {\n throw new Error(`[CALVER]: Invalid level \"${level}\".`)\n }\n }\n\n return result\n }\n\n set useLocalTime(value) {\n this._useLocalTime = value\n }\n}\n\nexport default new Calver()\n"],"names":[],"mappings":"AAAe,MAAM,WAAW,CAAC;AACjC,EAAE,OAA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MAAM,GAAG,GAAE;AACrB,IAAI,MAAM,GAAG,GAAG,MAAM,CAAC,KAAK,CAAC,GAAG,EAAC;AACjC;AACA,IAAI,KAAK,MAAM,KAAK,IAAI,GAAG,EAAE;AAC7B,MAAM,MAAM,SAAS,GAAG,KAAK,CAAC,WAAW,GAAE;AAC3C,MAAM,IAAI,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,EAAE;AACjD,QAAQ,MAAM,CAAC,IAAI,CAAC,SAAS,EAAC;AAC9B,OAAO;AACP,WAAW;AACX,QAAQ,MAAM,IAAI,KAAK,CAAC,CAAC,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC;AAC9D,OAAO;AACP,KAAK;AACL;AACA,IAAI,OAAO,MAAM;AACjB,GAAG;AACH;AACA,EAAE,IAAI,YAAY,CAAC,KAAK,EAAE;AAC1B,IAAI,IAAI,CAAC,aAAa,GAAG,MAAK;AAC9B,GAAG;AACH,CAAC;AACD;AACA,YAAe,IAAI,MAAM;;;;"} \ No newline at end of file +{"version":3,"file":"index.js","sources":["../../../src/DateVersion.js","../../../src/SemanticVersion.js","../../../src/ModifierVersion.js","../../../src/UtcDate.js","../../../src/LocalDate.js","../../../src/Version.js","../../../src/index.js"],"sourcesContent":["export default class DateVersion {\n static tags = ['YYYY', 'YY', '0Y', 'MM', '0M', 'WW', '0W', 'DD', '0D']\n\n reDigits = /[^0-9]/\n\n constructor(obj, parentSeperator, isInitialVersion, date) {\n this['YYYY'] = null\n this['YY'] = null\n this['0Y'] = null\n this['MM'] = null\n this['0M'] = null\n this['WW'] = null\n this['0W'] = null\n this['DD'] = null\n this['0D'] = null\n\n this.hasChanged = false\n this.isInitialVersion = isInitialVersion\n this.parentSeperator = parentSeperator\n this.props = []\n this.date = date\n\n this.parse(obj)\n }\n\n parse(obj) {\n for (const prop in obj) {\n if (!this.isInitialVersion && !this.isValid(prop, obj[prop])) {\n throw new Error(`Calendar tag ${prop} has an invalid value \"${obj[prop]}\"`)\n }\n\n this[prop] = obj[prop]\n this.props.push(prop)\n }\n }\n\n inc(level) {\n const prevValue = this.asString()\n\n const yearstr = this.date.getFullYear().toString()\n this['YYYY'] = yearstr\n this['YY'] = parseInt(yearstr.slice(2)).toString()\n this['0Y'] = this['YY'].padStart(2, '0')\n\n const monthstr = (this.date.getMonth() + 1).toString()\n this['MM'] = monthstr\n this['0M'] = this['MM'].padStart(2, '0')\n\n const weekstr = this.date.getWeek().toString()\n this['WW'] = weekstr\n this['0W'] = this['WW'].padStart(2, '0')\n\n const daystr = this.date.getDate().toString()\n this['DD'] = daystr\n this['0D'] = this['DD'].padStart(2, '0')\n\n const newValue = this.asString()\n\n this.hasChanged = prevValue != newValue\n\n return this\n }\n\n isValid(prop, v) {\n if (!v || typeof v != 'string' || this.reDigits.test(v)) return false\n\n switch (prop) {\n case 'YYYY':\n if (v.slice(0, 1) == '0') return false\n return v.length === 4\n break;\n\n case 'YY':\n if (v.slice(0, 1) == '0') return false\n return v.length === 1 || v.length === 2 || v.length === 3\n break;\n\n case '0Y':\n if ((v.length == 2 || v.length == 3) && v.slice(0, 1) == '0') return false\n return v.length === 2 || v.length === 3\n break;\n\n case 'MM':\n return [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].indexOf(Number(v)) !== -1\n break;\n\n case '0M':\n return ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12']\n .indexOf(v) !== -1\n break;\n\n case 'WW':\n return Number(v) >= 1 && Number(v) <= 52\n break;\n\n case '0W':\n if (v.length != 2) return false\n return Number(v) >= 1 && Number(v) <= 52\n break;\n\n case 'DD':\n return Number(v) >= 1 && Number(v) <= 31\n break;\n\n case '0D':\n if (v.length != 2) return false\n return Number(v) >= 1 && Number(v) <= 31\n break;\n }\n }\n\n asObject() {\n return this.props.reduce((memo, prop) => {\n memo[prop] = this[prop]\n return memo\n }, {})\n }\n\n asString() {\n const result = []\n for (const tag of this.constructor.tags) {\n if (this.props.indexOf(tag) !== -1) result.push(this[tag])\n }\n return result.join(this.parentSeperator)\n }\n}\n","export default class SemanticVersion {\n static tags = ['MAJOR', 'MINOR', 'PATCH']\n\n reDigits = /[^0-9]/\n\n constructor(obj, parentSeperator, isInitialVersion) {\n this.MAJOR = null\n this.MINOR = null\n this.PATCH = null\n\n this.isInitialVersion = isInitialVersion\n this.parentSeperator = parentSeperator\n this.props = []\n\n this.parse(obj)\n }\n\n parse(obj) {\n for (const prop in obj) {\n if (!this.isInitialVersion && !this.isValid(prop, obj[prop])) {\n throw new Error(`Semantic tag ${prop} has an invalid value \"${obj[prop]}\"`)\n }\n\n this[prop] = obj[prop]\n this.props.push(prop)\n }\n }\n\n reset() {\n this.props.map(prop => this[prop] = 0)\n }\n\n inc(level) {\n if (this.props.indexOf(level) === -1) {\n throw new Error(`[CALVER]: You have requested to increment \"${level}\" but your format doesn't have it.`)\n }\n\n if (level == 'MAJOR') {\n this.MAJOR = (parseInt(this.MAJOR) + 1).toString()\n if (this.props.indexOf('MINOR') !== -1) this.MINOR = '0'\n if (this.props.indexOf('PATCH') !== -1) this.PATCH = '0'\n }\n \n if (level == 'MINOR') {\n this.MINOR = (parseInt(this.MINOR) + 1).toString()\n if (this.props.indexOf('PATCH') !== -1) this.PATCH = '0'\n }\n\n if (level == 'PATCH') {\n this.PATCH = (parseInt(this.PATCH) + 1).toString()\n }\n\n return this\n }\n\n isValid(prop, v) {\n if (!v || typeof v != 'string' || this.reDigits.test(v)) return false\n return true\n }\n\n asObject() {\n return this.props.reduce((memo, prop) => {\n memo[prop] = this[prop]\n return memo\n }, {})\n }\n\n asString() {\n const result = []\n for (const tag of this.constructor.tags) {\n if (this.props.indexOf(tag) !== -1) result.push(this[tag])\n }\n return result.join(this.parentSeperator)\n }\n}\n","export default class ModifierVersion {\n static seperator = '-'\n static tags = ['DEV', 'ALPHA', 'BETA', 'RC']\n\n reDigits = /[^0-9\\-]/\n\n constructor(obj, parentSeperator, isInitialVersion) {\n this.DEV = null\n this.ALPHA = null\n this.BETA = null\n this.RC = null\n\n this.isInitialVersion = isInitialVersion\n this.parentSeperator = parentSeperator\n this.prop = null\n\n this.parse(obj)\n }\n\n parse(obj) {\n for (const prop in obj) {\n if (!this.isInitialVersion && !this.isValid(prop, obj[prop])) {\n throw new Error(`Modifier tag ${prop} has an invalid value \"${obj[prop]}\"`)\n }\n\n this.prop = prop\n this[prop] = obj[prop]\n }\n }\n\n inc(level) {\n if (level != this.prop) {\n throw new Error(`[CALVER]: You have requested to increment \"${level}\" but your format doesn't have it.`)\n }\n\n this[this.prop] = (parseInt(this[this.prop]) + 1).toString()\n\n return this\n }\n\n isValid(prop, v) {\n if (!v || typeof v != 'string' || this.reDigits.test(v)) return false\n if (v.indexOf('-') !== -1 && v != '-1') return false\n return true\n }\n\n asObject() {\n const result = {}\n result[this.prop] = this[this.prop]\n return result\n }\n\n asString() {\n return `${this.constructor.seperator}${this.prop}${this.parentSeperator}${this[this.prop]}`\n }\n}\n","export default class UtcDate {\n constructor() {\n this.date = new Date(Date.now())\n }\n\n getFullYear() {\n return this.date.getUTCFullYear()\n }\n\n getMonth() {\n return this.date.getUTCMonth()\n }\n\n getWeek() {\n return this.getUTCWeek()\n }\n\n getDate() {\n return this.date.getUTCDate()\n }\n\n getUTCWeek() {\n const d = new Date(\n Date.UTC(\n this.date.getFullYear(),\n this.date.getMonth(),\n this.date.getDate()\n )\n );\n const daynum = d.getUTCDay() || 7\n\n d.setUTCDate(d.getUTCDate() + 4 - daynum)\n\n const yearstart = new Date(Date.UTC(d.getUTCFullYear(), 0, 1))\n\n return Math.ceil(((d - yearstart) / 86400000 + 1) / 7)\n }\n}\n","export default class LocalDate {\n constructor() {\n this.date = new Date(Date.now())\n }\n\n getFullYear() {\n return this.date.getFullYear()\n }\n\n getMonth() {\n return this.date.getMonth()\n }\n\n getWeek() {\n return this.getWeek()\n }\n\n getDate() {\n return this.date.getDate()\n }\n\n getWeek() {\n const d = new Date(\n this.date.getFullYear(),\n this.date.getMonth(),\n this.date.getDate()\n )\n const daynum = d.getDay() || 7\n\n d.setDate(d.getDate() + 4 - daynum)\n\n const yearstart = new Date(d.getFullYear(), 0, 1)\n\n return Math.ceil(((d - yearstart) / 86400000 + 1) / 7)\n }\n}\n\n","import DateVersion from './DateVersion.js'\nimport SemanticVersion from './SemanticVersion.js'\nimport ModifierVersion from './ModifierVersion.js'\n\nexport default class Version {\n constructor(version, seperator, date) {\n this.seperator = seperator\n this.versionStringHasModifier = version.versionStringHasModifier\n this.isInitialVersion = version.isInitialVersion\n this.isCalendarLeading = version.isCalendarLeading\n this.datever = null\n this.semanticver = null\n this.modifierver = null\n this.date = date\n\n this.parse(version)\n }\n\n parse(version) {\n if (Object.keys(version.calendar).length > 0) {\n this.datever = new DateVersion(version.calendar, this.seperator, this.isInitialVersion, this.date)\n }\n\n if (Object.keys(version.semantic).length > 0) {\n this.semanticver = new SemanticVersion(version.semantic, this.seperator, this.isInitialVersion)\n }\n\n if (Object.keys(version.modifier).length > 0) {\n this.modifierver = new ModifierVersion(version.modifier, this.seperator, this.isInitialVersion)\n }\n }\n\n inc(levels) {\n const l = levels[0]\n\n const removeModifier = levels.length === 1 \n && ['MAJOR', 'MINOR', 'PATCH', 'CALENDAR'].indexOf(l) !== -1 \n && this.versionStringHasModifier\n if (removeModifier) {\n this.modifierver = null\n\n return this\n }\n\n if (l == 'CALENDAR') this.datever.inc(l)\n if (SemanticVersion.tags.indexOf(l) !== -1) this.semanticver.inc(l)\n if (ModifierVersion.tags.indexOf(l) !== -1) this.modifierver.inc(l)\n\n if (levels.length === 1) {\n if (this.isCalendarLeading && this.datever.hasChanged && this.semanticver) {\n this.semanticver.reset()\n }\n }\n else if (levels.length === 2) {\n const l2 = levels[1]\n\n if (ModifierVersion.tags.indexOf(l2) !== -1 && ModifierVersion.tags.indexOf(l) === -1) {\n this.modifierver.inc(l2)\n if (this.isCalendarLeading && this.datever.hasChanged && this.semanticver) {\n this.semanticver.reset()\n }\n }\n else if (SemanticVersion.tags.indexOf(l2) !== -1) {\n if (this.isCalendarLeading && this.datever.hasChanged) this.semanticver.reset()\n else this.semanticver.inc(l2)\n }\n else {\n throw new Error(`The second tag of the level should be either modifier or semantic tag. You specified \"${l2}\" as the second tag and \"${l}\" as the first tag.`)\n }\n }\n else if (levels.length === 3) {\n const l2 = levels[1]\n const l3 = levels[2]\n\n if (SemanticVersion.tags.indexOf(l2) !== -1) {\n if (this.isCalendarLeading && this.datever.hasChanged) this.semanticver.reset()\n else this.semanticver.inc(l2)\n }\n\n if (ModifierVersion.tags.includes(l3) && !ModifierVersion.tags.includes(l2) && !ModifierVersion.tags.includes(l)) {\n this.modifierver.inc(l3)\n }\n else {\n throw new Error(`The third tag of the level must be a modifier tag. You specified \"${l3}\".`)\n }\n }\n\n return this\n }\n\n asObject() {\n const result = {\n calendar: {},\n semantic: {},\n modifier: {}\n }\n\n if (this.datever) result.calendar = this.datever.asObject()\n if (this.semanticver) result.semantic = this.semanticver.asObject()\n if (this.modifierver) result.modifier = this.modifierver.asObject()\n\n return result\n }\n}\n","import DateVersion from './DateVersion.js'\nimport SemanticVersion from './SemanticVersion.js'\nimport ModifierVersion from './ModifierVersion.js'\nimport UtcDate from './UtcDate.js'\nimport LocalDate from './LocalDate.js'\nimport Version from './Version.js'\n\nclass Calver {\n constructor() {\n this.seperator = '.'\n this.levels = ['CALENDAR', 'MAJOR', 'MINOR', 'PATCH', ...ModifierVersion.tags]\n this._useLocalTime = false\n }\n\n inc(format, version, levels) {\n levels = this.validateLevels(levels)\n format = this.validateFormat(format, levels)\n const parsedVersion = this.parseVersion(version, format, levels)\n const date = this._useLocalTime ? new LocalDate() : new UtcDate()\n\n const obj = (new Version(parsedVersion, this.seperator, date)).inc(levels).asObject()\n\n const result = this.asString(format, obj)\n\n if (version == result) {\n throw new Error('No change happened in the version.')\n }\n\n return result\n }\n\n isValid(format, version) {\n if (!version) return false\n\n try {\n format = this.validateFormat(format, [])\n version = this.parseVersion(version, format, [])\n\n new Version(version, this.seperator)\n\n return true\n } catch (e) {\n return false\n }\n }\n\n getTagType(tag) {\n tag = tag.toUpperCase()\n\n if (DateVersion.tags.indexOf(tag) !== -1) return 'calendar'\n if (SemanticVersion.tags.indexOf(tag) !== -1) return 'semantic'\n if (ModifierVersion.tags.indexOf(tag) !== -1) return 'modifier'\n \n return undefined;\n }\n\n asString(format, obj) {\n const result = []\n\n for (const tag of format.sorted) {\n if (DateVersion.tags.indexOf(tag) !== -1) {\n result.push(obj.calendar[tag])\n }\n if (SemanticVersion.tags.indexOf(tag) !== -1) {\n result.push(obj.semantic[tag])\n }\n if (ModifierVersion.tags.indexOf(tag) !== -1 && obj.modifier) {\n result.push(ModifierVersion.seperator + tag.toLowerCase() + this.seperator + obj.modifier[tag])\n }\n }\n\n return result\n .join(this.seperator)\n .replace(this.seperator + ModifierVersion.seperator, ModifierVersion.seperator)\n }\n\n parseVersion(version, format, levels) {\n const map = {\n isCalendarLeading: format.isCalendarLeading,\n isInitialVersion: !version,\n versionStringHasModifier: /(dev|DEV|alpha|ALPHA|beta|BETA|rc|RC)/.test(version),\n sorted: {},\n calendar: {},\n semantic: {},\n modifier: {}\n }\n\n let startIndex=0, endIndex=0\n for (const tag of format.sorted) {\n endIndex = version.indexOf(this.seperator, startIndex+1)\n if (endIndex === -1) endIndex = undefined\n\n let value = version.slice(startIndex, endIndex)\n\n if (value.indexOf(ModifierVersion.seperator) !== -1) {\n endIndex = version.indexOf(ModifierVersion.seperator, startIndex+1)\n value = version.slice(startIndex, endIndex)\n }\n\n if (ModifierVersion.tags.indexOf(value.toUpperCase()) !== -1) {\n if (value.toUpperCase() != tag) value = '-1'\n else value = version.slice(startIndex + value.length + 1)\n }\n\n if (isNaN(startIndex)) {\n value = ModifierVersion.tags.indexOf(tag) !== -1 ? '-1' : '0'\n }\n\n if (value == '') {\n value = '0'\n }\n\n map.sorted[tag] = value\n if (format.calendar.indexOf(tag) !== -1) map.calendar[tag] = value\n if (format.semantic.indexOf(tag) !== -1) map.semantic[tag] = value\n if (format.modifier.indexOf(tag) !== -1) map.modifier[tag] = value\n\n startIndex = endIndex + 1\n }\n\n return map\n }\n\n validateFormat(format, levels) {\n const result = {\n sorted: [],\n calendar: [],\n semantic: [],\n modifier: []\n }\n\n const tags = format.toUpperCase().split(this.seperator)\n\n for (const tag of tags) {\n if (DateVersion.tags.indexOf(tag) !== -1) result.calendar.push(tag)\n else if (SemanticVersion.tags.indexOf(tag) !== -1) result.semantic.push(tag)\n else throw new Error(`[CALVER]: Invalid format tag \"${tag}\".`)\n\n result.sorted.push(tag)\n }\n\n for (const level of levels) {\n if (ModifierVersion.tags.indexOf(level) !== -1) {\n result.modifier.push(level)\n result.sorted.push(level)\n }\n }\n\n result.isCalendarLeading = DateVersion.tags.indexOf(result.sorted[0]) !== -1\n\n return result\n }\n\n validateLevels(levels) {\n const result = []\n const arr = levels.split('.')\n\n for (const level of arr) {\n const formatted = level.toUpperCase()\n if (this.levels.indexOf(formatted) !== -1) {\n result.push(formatted)\n }\n else {\n throw new Error(`[CALVER]: Invalid level \"${level}\".`)\n }\n }\n\n return result\n }\n\n set useLocalTime(value) {\n this._useLocalTime = value\n }\n}\n\nexport default new Calver()\n"],"names":[],"mappings":"AAAe,MAAM,WAAW,CAAC;AACjC,EAAE,OAAO,IAAI,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;AACxE;AACA,EAAE,QAAQ,GAAG,QAAQ;AACrB;AACA,EAAE,WAAW,CAAC,GAAG,EAAE,eAAe,EAAE,gBAAgB,EAAE,IAAI,EAAE;AAC5D,IAAI,IAAI,CAAC,MAAM,CAAC,GAAG,KAAI;AACvB,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,KAAI;AACrB,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,KAAI;AACrB,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,KAAI;AACrB,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C;AAC9D,OAAO;AACP,KAAK;AACL;AACA,IAAI,OAAO,MAAM;AACjB,GAAG;AACH;AACA,EAAE,IAAI,YAAY,CAAC,KAAK,EAAE;AAC1B,IAAI,IAAI,CAAC,aAAa,GAAG,MAAK;AAC9B,GAAG;AACH,CAAC;AACD;AACA,YAAe,IAAI,MAAM;;;;"} \ No newline at end of file diff --git a/dist/node/lts/cjs/index.js b/dist/node/lts/cjs/index.js index e0d22f9..bbfffe2 100644 --- a/dist/node/lts/cjs/index.js +++ b/dist/node/lts/cjs/index.js @@ -280,15 +280,33 @@ class Version { if (l == 'CALENDAR') this.datever.inc(l); if (SemanticVersion.tags.indexOf(l) !== -1) this.semanticver.inc(l); if (ModifierVersion.tags.indexOf(l) !== -1) this.modifierver.inc(l); - if (levels.length > 1) { + if (levels.length === 1) { + if (this.isCalendarLeading && this.datever.hasChanged && this.semanticver) { + this.semanticver.reset(); + } + } else if (levels.length === 2) { const l2 = levels[1]; if (ModifierVersion.tags.indexOf(l2) !== -1 && ModifierVersion.tags.indexOf(l) === -1) { this.modifierver.inc(l2); + if (this.isCalendarLeading && this.datever.hasChanged && this.semanticver) { + this.semanticver.reset(); + } } else if (SemanticVersion.tags.indexOf(l2) !== -1) { if (this.isCalendarLeading && this.datever.hasChanged) this.semanticver.reset();else this.semanticver.inc(l2); } else { throw new Error(`The second tag of the level should be either modifier or semantic tag. You specified "${l2}" as the second tag and "${l}" as the first tag.`); } + } else if (levels.length === 3) { + const l2 = levels[1]; + const l3 = levels[2]; + if (SemanticVersion.tags.indexOf(l2) !== -1) { + if (this.isCalendarLeading && this.datever.hasChanged) this.semanticver.reset();else this.semanticver.inc(l2); + } + if (ModifierVersion.tags.includes(l3) && !ModifierVersion.tags.includes(l2) && !ModifierVersion.tags.includes(l)) { + this.modifierver.inc(l3); + } else { + throw new Error(`The third tag of the level must be a modifier tag. You specified "${l3}".`); + } } return this; } diff --git a/dist/node/lts/cjs/index.js.map b/dist/node/lts/cjs/index.js.map index b21cf0a..4ce9e24 100644 --- a/dist/node/lts/cjs/index.js.map +++ b/dist/node/lts/cjs/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sources":["../../../../src/DateVersion.js","../../../../src/SemanticVersion.js","../../../../src/ModifierVersion.js","../../../../src/UtcDate.js","../../../../src/LocalDate.js","../../../../src/Version.js","../../../../src/index.js"],"sourcesContent":["export default class DateVersion {\n static tags = ['YYYY', 'YY', '0Y', 'MM', '0M', 'WW', '0W', 'DD', '0D']\n\n reDigits = /[^0-9]/\n\n constructor(obj, parentSeperator, isInitialVersion, date) {\n this['YYYY'] = null\n this['YY'] = null\n this['0Y'] = null\n this['MM'] = null\n this['0M'] = null\n this['WW'] = null\n this['0W'] = null\n this['DD'] = null\n this['0D'] = null\n\n this.hasChanged = false\n this.isInitialVersion = isInitialVersion\n this.parentSeperator = parentSeperator\n this.props = []\n this.date = date\n\n this.parse(obj)\n }\n\n parse(obj) {\n for (const prop in obj) {\n if (!this.isInitialVersion && !this.isValid(prop, obj[prop])) {\n throw new Error(`Calendar tag ${prop} has an invalid value \"${obj[prop]}\"`)\n }\n\n this[prop] = obj[prop]\n this.props.push(prop)\n }\n }\n\n inc(level) {\n const prevValue = this.asString()\n\n const yearstr = this.date.getFullYear().toString()\n this['YYYY'] = yearstr\n this['YY'] = parseInt(yearstr.slice(2)).toString()\n this['0Y'] = this['YY'].padStart(2, '0')\n\n const monthstr = (this.date.getMonth() + 1).toString()\n this['MM'] = monthstr\n this['0M'] = this['MM'].padStart(2, '0')\n\n const weekstr = this.date.getWeek().toString()\n this['WW'] = weekstr\n this['0W'] = this['WW'].padStart(2, '0')\n\n const daystr = this.date.getDate().toString()\n this['DD'] = daystr\n this['0D'] = this['DD'].padStart(2, '0')\n\n const newValue = this.asString()\n\n this.hasChanged = prevValue != newValue\n\n return this\n }\n\n isValid(prop, v) {\n if (!v || typeof v != 'string' || this.reDigits.test(v)) return false\n\n switch (prop) {\n case 'YYYY':\n if (v.slice(0, 1) == '0') return false\n return v.length === 4\n break;\n\n case 'YY':\n if (v.slice(0, 1) == '0') return false\n return v.length === 1 || v.length === 2 || v.length === 3\n break;\n\n case '0Y':\n if ((v.length == 2 || v.length == 3) && v.slice(0, 1) == '0') return false\n return v.length === 2 || v.length === 3\n break;\n\n case 'MM':\n return [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].indexOf(Number(v)) !== -1\n break;\n\n case '0M':\n return ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12']\n .indexOf(v) !== -1\n break;\n\n case 'WW':\n return Number(v) >= 1 && Number(v) <= 52\n break;\n\n case '0W':\n if (v.length != 2) return false\n return Number(v) >= 1 && Number(v) <= 52\n break;\n\n case 'DD':\n return Number(v) >= 1 && Number(v) <= 31\n break;\n\n case '0D':\n if (v.length != 2) return false\n return Number(v) >= 1 && Number(v) <= 31\n break;\n }\n }\n\n asObject() {\n return this.props.reduce((memo, prop) => {\n memo[prop] = this[prop]\n return memo\n }, {})\n }\n\n asString() {\n const result = []\n for (const tag of this.constructor.tags) {\n if (this.props.indexOf(tag) !== -1) result.push(this[tag])\n }\n return result.join(this.parentSeperator)\n }\n}\n","export default class SemanticVersion {\n static tags = ['MAJOR', 'MINOR', 'PATCH']\n\n reDigits = /[^0-9]/\n\n constructor(obj, parentSeperator, isInitialVersion) {\n this.MAJOR = null\n this.MINOR = null\n this.PATCH = null\n\n this.isInitialVersion = isInitialVersion\n this.parentSeperator = parentSeperator\n this.props = []\n\n this.parse(obj)\n }\n\n parse(obj) {\n for (const prop in obj) {\n if (!this.isInitialVersion && !this.isValid(prop, obj[prop])) {\n throw new Error(`Semantic tag ${prop} has an invalid value \"${obj[prop]}\"`)\n }\n\n this[prop] = obj[prop]\n this.props.push(prop)\n }\n }\n\n reset() {\n this.props.map(prop => this[prop] = 0)\n }\n\n inc(level) {\n if (this.props.indexOf(level) === -1) {\n throw new Error(`[CALVER]: You have requested to increment \"${level}\" but your format doesn't have it.`)\n }\n\n if (level == 'MAJOR') {\n this.MAJOR = (parseInt(this.MAJOR) + 1).toString()\n if (this.props.indexOf('MINOR') !== -1) this.MINOR = '0'\n if (this.props.indexOf('PATCH') !== -1) this.PATCH = '0'\n }\n \n if (level == 'MINOR') {\n this.MINOR = (parseInt(this.MINOR) + 1).toString()\n if (this.props.indexOf('PATCH') !== -1) this.PATCH = '0'\n }\n\n if (level == 'PATCH') {\n this.PATCH = (parseInt(this.PATCH) + 1).toString()\n }\n\n return this\n }\n\n isValid(prop, v) {\n if (!v || typeof v != 'string' || this.reDigits.test(v)) return false\n return true\n }\n\n asObject() {\n return this.props.reduce((memo, prop) => {\n memo[prop] = this[prop]\n return memo\n }, {})\n }\n\n asString() {\n const result = []\n for (const tag of this.constructor.tags) {\n if (this.props.indexOf(tag) !== -1) result.push(this[tag])\n }\n return result.join(this.parentSeperator)\n }\n}\n","export default class ModifierVersion {\n static seperator = '-'\n static tags = ['DEV', 'ALPHA', 'BETA', 'RC']\n\n reDigits = /[^0-9\\-]/\n\n constructor(obj, parentSeperator, isInitialVersion) {\n this.DEV = null\n this.ALPHA = null\n this.BETA = null\n this.RC = null\n\n this.isInitialVersion = isInitialVersion\n this.parentSeperator = parentSeperator\n this.prop = null\n\n this.parse(obj)\n }\n\n parse(obj) {\n for (const prop in obj) {\n if (!this.isInitialVersion && !this.isValid(prop, obj[prop])) {\n throw new Error(`Modifier tag ${prop} has an invalid value \"${obj[prop]}\"`)\n }\n\n this.prop = prop\n this[prop] = obj[prop]\n }\n }\n\n inc(level) {\n if (level != this.prop) {\n throw new Error(`[CALVER]: You have requested to increment \"${level}\" but your format doesn't have it.`)\n }\n\n this[this.prop] = (parseInt(this[this.prop]) + 1).toString()\n\n return this\n }\n\n isValid(prop, v) {\n if (!v || typeof v != 'string' || this.reDigits.test(v)) return false\n if (v.indexOf('-') !== -1 && v != '-1') return false\n return true\n }\n\n asObject() {\n const result = {}\n result[this.prop] = this[this.prop]\n return result\n }\n\n asString() {\n return `${this.constructor.seperator}${this.prop}${this.parentSeperator}${this[this.prop]}`\n }\n}\n","export default class UtcDate {\n constructor() {\n this.date = new Date(Date.now())\n }\n\n getFullYear() {\n return this.date.getUTCFullYear()\n }\n\n getMonth() {\n return this.date.getUTCMonth()\n }\n\n getWeek() {\n return this.getUTCWeek()\n }\n\n getDate() {\n return this.date.getUTCDate()\n }\n\n getUTCWeek() {\n const d = new Date(\n Date.UTC(\n this.date.getFullYear(),\n this.date.getMonth(),\n this.date.getDate()\n )\n );\n const daynum = d.getUTCDay() || 7\n\n d.setUTCDate(d.getUTCDate() + 4 - daynum)\n\n const yearstart = new Date(Date.UTC(d.getUTCFullYear(), 0, 1))\n\n return Math.ceil(((d - yearstart) / 86400000 + 1) / 7)\n }\n}\n","export default class LocalDate {\n constructor() {\n this.date = new Date(Date.now())\n }\n\n getFullYear() {\n return this.date.getFullYear()\n }\n\n getMonth() {\n return this.date.getMonth()\n }\n\n getWeek() {\n return this.getWeek()\n }\n\n getDate() {\n return this.date.getDate()\n }\n\n getWeek() {\n const d = new Date(\n this.date.getFullYear(),\n this.date.getMonth(),\n this.date.getDate()\n )\n const daynum = d.getDay() || 7\n\n d.setDate(d.getDate() + 4 - daynum)\n\n const yearstart = new Date(d.getFullYear(), 0, 1)\n\n return Math.ceil(((d - yearstart) / 86400000 + 1) / 7)\n }\n}\n\n","import DateVersion from './DateVersion.js'\nimport SemanticVersion from './SemanticVersion.js'\nimport ModifierVersion from './ModifierVersion.js'\n\nexport default class Version {\n constructor(version, seperator, date) {\n this.seperator = seperator\n this.versionStringHasModifier = version.versionStringHasModifier\n this.isInitialVersion = version.isInitialVersion\n this.isCalendarLeading = version.isCalendarLeading\n this.datever = null\n this.semanticver = null\n this.modifierver = null\n this.date = date\n\n this.parse(version)\n }\n\n parse(version) {\n if (Object.keys(version.calendar).length > 0) {\n this.datever = new DateVersion(version.calendar, this.seperator, this.isInitialVersion, this.date)\n }\n\n if (Object.keys(version.semantic).length > 0) {\n this.semanticver = new SemanticVersion(version.semantic, this.seperator, this.isInitialVersion)\n }\n\n if (Object.keys(version.modifier).length > 0) {\n this.modifierver = new ModifierVersion(version.modifier, this.seperator, this.isInitialVersion)\n }\n }\n\n inc(levels) {\n const l = levels[0]\n\n const removeModifier = levels.length === 1 \n && ['MAJOR', 'MINOR', 'PATCH', 'CALENDAR'].indexOf(l) !== -1 \n && this.versionStringHasModifier\n if (removeModifier) {\n this.modifierver = null\n\n return this\n }\n\n if (l == 'CALENDAR') this.datever.inc(l)\n if (SemanticVersion.tags.indexOf(l) !== -1) this.semanticver.inc(l)\n if (ModifierVersion.tags.indexOf(l) !== -1) this.modifierver.inc(l)\n\n if (levels.length > 1) {\n const l2 = levels[1]\n\n if (ModifierVersion.tags.indexOf(l2) !== -1 && ModifierVersion.tags.indexOf(l) === -1) {\n this.modifierver.inc(l2)\n }\n else if (SemanticVersion.tags.indexOf(l2) !== -1) {\n if (this.isCalendarLeading && this.datever.hasChanged) this.semanticver.reset()\n else this.semanticver.inc(l2)\n }\n else {\n throw new Error(`The second tag of the level should be either modifier or semantic tag. You specified \"${l2}\" as the second tag and \"${l}\" as the first tag.`)\n }\n }\n\n return this\n }\n\n asObject() {\n const result = {\n calendar: {},\n semantic: {},\n modifier: {}\n }\n\n if (this.datever) result.calendar = this.datever.asObject()\n if (this.semanticver) result.semantic = this.semanticver.asObject()\n if (this.modifierver) result.modifier = this.modifierver.asObject()\n\n return result\n }\n}\n","import DateVersion from './DateVersion.js'\nimport SemanticVersion from './SemanticVersion.js'\nimport ModifierVersion from './ModifierVersion.js'\nimport UtcDate from './UtcDate.js'\nimport LocalDate from './LocalDate.js'\nimport Version from './Version.js'\n\nclass Calver {\n constructor() {\n this.seperator = '.'\n this.levels = ['CALENDAR', 'MAJOR', 'MINOR', 'PATCH', ...ModifierVersion.tags]\n this._useLocalTime = false\n }\n\n inc(format, version, levels) {\n levels = this.validateLevels(levels)\n format = this.validateFormat(format, levels)\n const parsedVersion = this.parseVersion(version, format, levels)\n const date = this._useLocalTime ? new LocalDate() : new UtcDate()\n\n const obj = (new Version(parsedVersion, this.seperator, date)).inc(levels).asObject()\n\n const result = this.asString(format, obj)\n\n if (version == result) {\n throw new Error('No change happened in the version.')\n }\n\n return result\n }\n\n isValid(format, version) {\n if (!version) return false\n\n try {\n format = this.validateFormat(format, [])\n version = this.parseVersion(version, format, [])\n\n new Version(version, this.seperator)\n\n return true\n } catch (e) {\n return false\n }\n }\n\n getTagType(tag) {\n tag = tag.toUpperCase()\n\n if (DateVersion.tags.indexOf(tag) !== -1) return 'calendar'\n if (SemanticVersion.tags.indexOf(tag) !== -1) return 'semantic'\n if (ModifierVersion.tags.indexOf(tag) !== -1) return 'modifier'\n \n return undefined;\n }\n\n asString(format, obj) {\n const result = []\n\n for (const tag of format.sorted) {\n if (DateVersion.tags.indexOf(tag) !== -1) {\n result.push(obj.calendar[tag])\n }\n if (SemanticVersion.tags.indexOf(tag) !== -1) {\n result.push(obj.semantic[tag])\n }\n if (ModifierVersion.tags.indexOf(tag) !== -1 && obj.modifier) {\n result.push(ModifierVersion.seperator + tag.toLowerCase() + this.seperator + obj.modifier[tag])\n }\n }\n\n return result\n .join(this.seperator)\n .replace(this.seperator + ModifierVersion.seperator, ModifierVersion.seperator)\n }\n\n parseVersion(version, format, levels) {\n const map = {\n isCalendarLeading: format.isCalendarLeading,\n isInitialVersion: !version,\n versionStringHasModifier: /(dev|DEV|alpha|ALPHA|beta|BETA|rc|RC)/.test(version),\n sorted: {},\n calendar: {},\n semantic: {},\n modifier: {}\n }\n\n let startIndex=0, endIndex=0\n for (const tag of format.sorted) {\n endIndex = version.indexOf(this.seperator, startIndex+1)\n if (endIndex === -1) endIndex = undefined\n\n let value = version.slice(startIndex, endIndex)\n\n if (value.indexOf(ModifierVersion.seperator) !== -1) {\n endIndex = version.indexOf(ModifierVersion.seperator, startIndex+1)\n value = version.slice(startIndex, endIndex)\n }\n\n if (ModifierVersion.tags.indexOf(value.toUpperCase()) !== -1) {\n if (value.toUpperCase() != tag) value = '-1'\n else value = version.slice(startIndex + value.length + 1)\n }\n\n if (isNaN(startIndex)) {\n value = ModifierVersion.tags.indexOf(tag) !== -1 ? '-1' : '0'\n }\n\n if (value == '') {\n value = '0'\n }\n\n map.sorted[tag] = value\n if (format.calendar.indexOf(tag) !== -1) map.calendar[tag] = value\n if (format.semantic.indexOf(tag) !== -1) map.semantic[tag] = value\n if (format.modifier.indexOf(tag) !== -1) map.modifier[tag] = value\n\n startIndex = endIndex + 1\n }\n\n return map\n }\n\n validateFormat(format, levels) {\n const result = {\n sorted: [],\n calendar: [],\n semantic: [],\n modifier: []\n }\n\n const tags = format.toUpperCase().split(this.seperator)\n\n for (const tag of tags) {\n if (DateVersion.tags.indexOf(tag) !== -1) result.calendar.push(tag)\n else if (SemanticVersion.tags.indexOf(tag) !== -1) result.semantic.push(tag)\n else throw new Error(`[CALVER]: Invalid format tag \"${tag}\".`)\n\n result.sorted.push(tag)\n }\n\n for (const level of levels) {\n if (ModifierVersion.tags.indexOf(level) !== -1) {\n result.modifier.push(level)\n result.sorted.push(level)\n }\n }\n\n result.isCalendarLeading = DateVersion.tags.indexOf(result.sorted[0]) !== -1\n\n return result\n }\n\n validateLevels(levels) {\n const result = []\n const arr = levels.split('.')\n\n for (const level of arr) {\n const formatted = level.toUpperCase()\n if (this.levels.indexOf(formatted) !== -1) {\n result.push(formatted)\n }\n else {\n throw new Error(`[CALVER]: Invalid level \"${level}\".`)\n }\n }\n\n return result\n }\n\n set useLocalTime(value) {\n this._useLocalTime = value\n }\n}\n\nexport default new Calver()\n"],"names":["DateVersion","tags","reDigits","constructor","obj","parentSeperator","isInitialVersion","date","hasChanged","props","parse","prop","isValid","Error","push","inc","level","prevValue","asString","yearstr","getFullYear","toString","parseInt","slice","padStart","monthstr","getMonth","weekstr","getWeek","daystr","getDate","newValue","v","test","length","indexOf","Number","asObject","reduce","memo","result","tag","join","SemanticVersion","MAJOR","MINOR","PATCH","reset","map","ModifierVersion","seperator","DEV","ALPHA","BETA","RC","UtcDate","Date","now","getUTCFullYear","getUTCMonth","getUTCWeek","getUTCDate","d","UTC","daynum","getUTCDay","setUTCDate","yearstart","Math","ceil","LocalDate","getDay","setDate","Version","version","versionStringHasModifier","isCalendarLeading","datever","semanticver","modifierver","Object","keys","calendar","semantic","modifier","levels","l","removeModifier","l2","Calver","_useLocalTime","format","validateLevels","validateFormat","parsedVersion","parseVersion","e","getTagType","toUpperCase","undefined","sorted","toLowerCase","replace","startIndex","endIndex","value","isNaN","split","arr","formatted","useLocalTime"],"mappings":";;AAAe,MAAMA,WAAW,CAAC;EAC/B,OAAOC,IAAI,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAA;AAEtEC,EAAAA,QAAQ,GAAG,QAAQ,CAAA;EAEnBC,WAAW,CAACC,GAAG,EAAEC,eAAe,EAAEC,gBAAgB,EAAEC,IAAI,EAAE;AACxD,IAAA,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAA;AACnB,IAAA,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;AACjB,IAAA,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;AACjB,IAAA,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;AACjB,IAAA,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;AACjB,IAAA,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;AACjB,IAAA,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;AACjB,IAAA,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;AACjB,IAAA,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;IAEjB,IAAI,CAACC,UAAU,GAAG,KAAK,CAAA;IACvB,IAAI,CAACF,gBAAgB,GAAGA,gBAAgB,CAAA;IACxC,IAAI,CAACD,eAAe,GAAGA,eAAe,CAAA;IACt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AACf,GAAA;EAEAoD,cAAc,CAACP,MAAM,EAAE;IACrB,MAAM7C,MAAM,GAAG,EAAE,CAAA;AACjB,IAAA,MAAMoE,GAAG,GAAGvB,MAAM,CAACsB,KAAK,CAAC,GAAG,CAAC,CAAA;AAE7B,IAAA,KAAK,MAAM3F,KAAK,IAAI4F,GAAG,EAAE;AACvB,MAAA,MAAMC,SAAS,GAAG7F,KAAK,CAACkF,WAAW,EAAE,CAAA;MACrC,IAAI,IAAI,CAACb,MAAM,CAAClD,OAAO,CAAC0E,SAAS,CAAC,KAAK,CAAC,CAAC,EAAE;AACzCrE,QAAAA,MAAM,CAAC1B,IAAI,CAAC+F,SAAS,CAAC,CAAA;AACxB,OAAC,MACI;AACH,QAAA,MAAM,IAAIhG,KAAK,CAAE,CAA2BG,yBAAAA,EAAAA,KAAM,IAAG,CAAC,CAAA;AACxD,OAAA;AACF,KAAA;AAEA,IAAA,OAAOwB,MAAM,CAAA;AACf,GAAA;EAEA,IAAIsE,YAAY,CAACL,KAAK,EAAE;IACtB,IAAI,CAACf,aAAa,GAAGe,KAAK,CAAA;AAC5B,GAAA;AACF,CAAA;AAEA,YAAe,IAAIhB,MAAM,EAAE;;;;"} \ No newline at end of file +{"version":3,"file":"index.js","sources":["../../../../src/DateVersion.js","../../../../src/SemanticVersion.js","../../../../src/ModifierVersion.js","../../../../src/UtcDate.js","../../../../src/LocalDate.js","../../../../src/Version.js","../../../../src/index.js"],"sourcesContent":["export default class DateVersion {\n static tags = ['YYYY', 'YY', '0Y', 'MM', '0M', 'WW', '0W', 'DD', '0D']\n\n reDigits = /[^0-9]/\n\n constructor(obj, parentSeperator, isInitialVersion, date) {\n this['YYYY'] = null\n this['YY'] = null\n this['0Y'] = null\n this['MM'] = null\n this['0M'] = null\n this['WW'] = null\n this['0W'] = null\n this['DD'] = null\n this['0D'] = null\n\n this.hasChanged = false\n this.isInitialVersion = isInitialVersion\n this.parentSeperator = parentSeperator\n this.props = []\n this.date = date\n\n this.parse(obj)\n }\n\n parse(obj) {\n for (const prop in obj) {\n if (!this.isInitialVersion && !this.isValid(prop, obj[prop])) {\n throw new Error(`Calendar tag ${prop} has an invalid value \"${obj[prop]}\"`)\n }\n\n this[prop] = obj[prop]\n this.props.push(prop)\n }\n }\n\n inc(level) {\n const prevValue = this.asString()\n\n const yearstr = this.date.getFullYear().toString()\n this['YYYY'] = yearstr\n this['YY'] = parseInt(yearstr.slice(2)).toString()\n this['0Y'] = this['YY'].padStart(2, '0')\n\n const monthstr = (this.date.getMonth() + 1).toString()\n this['MM'] = monthstr\n this['0M'] = this['MM'].padStart(2, '0')\n\n const weekstr = this.date.getWeek().toString()\n this['WW'] = weekstr\n this['0W'] = this['WW'].padStart(2, '0')\n\n const daystr = this.date.getDate().toString()\n this['DD'] = daystr\n this['0D'] = this['DD'].padStart(2, '0')\n\n const newValue = this.asString()\n\n this.hasChanged = prevValue != newValue\n\n return this\n }\n\n isValid(prop, v) {\n if (!v || typeof v != 'string' || this.reDigits.test(v)) return false\n\n switch (prop) {\n case 'YYYY':\n if (v.slice(0, 1) == '0') return false\n return v.length === 4\n break;\n\n case 'YY':\n if (v.slice(0, 1) == '0') return false\n return v.length === 1 || v.length === 2 || v.length === 3\n break;\n\n case '0Y':\n if ((v.length == 2 || v.length == 3) && v.slice(0, 1) == '0') return false\n return v.length === 2 || v.length === 3\n break;\n\n case 'MM':\n return [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].indexOf(Number(v)) !== -1\n break;\n\n case '0M':\n return ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12']\n .indexOf(v) !== -1\n break;\n\n case 'WW':\n return Number(v) >= 1 && Number(v) <= 52\n break;\n\n case '0W':\n if (v.length != 2) return false\n return Number(v) >= 1 && Number(v) <= 52\n break;\n\n case 'DD':\n return Number(v) >= 1 && Number(v) <= 31\n break;\n\n case '0D':\n if (v.length != 2) return false\n return Number(v) >= 1 && Number(v) <= 31\n break;\n }\n }\n\n asObject() {\n return this.props.reduce((memo, prop) => {\n memo[prop] = this[prop]\n return memo\n }, {})\n }\n\n asString() {\n const result = []\n for (const tag of this.constructor.tags) {\n if (this.props.indexOf(tag) !== -1) result.push(this[tag])\n }\n return result.join(this.parentSeperator)\n }\n}\n","export default class SemanticVersion {\n static tags = ['MAJOR', 'MINOR', 'PATCH']\n\n reDigits = /[^0-9]/\n\n constructor(obj, parentSeperator, isInitialVersion) {\n this.MAJOR = null\n this.MINOR = null\n this.PATCH = null\n\n this.isInitialVersion = isInitialVersion\n this.parentSeperator = parentSeperator\n this.props = []\n\n this.parse(obj)\n }\n\n parse(obj) {\n for (const prop in obj) {\n if (!this.isInitialVersion && !this.isValid(prop, obj[prop])) {\n throw new Error(`Semantic tag ${prop} has an invalid value \"${obj[prop]}\"`)\n }\n\n this[prop] = obj[prop]\n this.props.push(prop)\n }\n }\n\n reset() {\n this.props.map(prop => this[prop] = 0)\n }\n\n inc(level) {\n if (this.props.indexOf(level) === -1) {\n throw new Error(`[CALVER]: You have requested to increment \"${level}\" but your format doesn't have it.`)\n }\n\n if (level == 'MAJOR') {\n this.MAJOR = (parseInt(this.MAJOR) + 1).toString()\n if (this.props.indexOf('MINOR') !== -1) this.MINOR = '0'\n if (this.props.indexOf('PATCH') !== -1) this.PATCH = '0'\n }\n \n if (level == 'MINOR') {\n this.MINOR = (parseInt(this.MINOR) + 1).toString()\n if (this.props.indexOf('PATCH') !== -1) this.PATCH = '0'\n }\n\n if (level == 'PATCH') {\n this.PATCH = (parseInt(this.PATCH) + 1).toString()\n }\n\n return this\n }\n\n isValid(prop, v) {\n if (!v || typeof v != 'string' || this.reDigits.test(v)) return false\n return true\n }\n\n asObject() {\n return this.props.reduce((memo, prop) => {\n memo[prop] = this[prop]\n return memo\n }, {})\n }\n\n asString() {\n const result = []\n for (const tag of this.constructor.tags) {\n if (this.props.indexOf(tag) !== -1) result.push(this[tag])\n }\n return result.join(this.parentSeperator)\n }\n}\n","export default class ModifierVersion {\n static seperator = '-'\n static tags = ['DEV', 'ALPHA', 'BETA', 'RC']\n\n reDigits = /[^0-9\\-]/\n\n constructor(obj, parentSeperator, isInitialVersion) {\n this.DEV = null\n this.ALPHA = null\n this.BETA = null\n this.RC = null\n\n this.isInitialVersion = isInitialVersion\n this.parentSeperator = parentSeperator\n this.prop = null\n\n this.parse(obj)\n }\n\n parse(obj) {\n for (const prop in obj) {\n if (!this.isInitialVersion && !this.isValid(prop, obj[prop])) {\n throw new Error(`Modifier tag ${prop} has an invalid value \"${obj[prop]}\"`)\n }\n\n this.prop = prop\n this[prop] = obj[prop]\n }\n }\n\n inc(level) {\n if (level != this.prop) {\n throw new Error(`[CALVER]: You have requested to increment \"${level}\" but your format doesn't have it.`)\n }\n\n this[this.prop] = (parseInt(this[this.prop]) + 1).toString()\n\n return this\n }\n\n isValid(prop, v) {\n if (!v || typeof v != 'string' || this.reDigits.test(v)) return false\n if (v.indexOf('-') !== -1 && v != '-1') return false\n return true\n }\n\n asObject() {\n const result = {}\n result[this.prop] = this[this.prop]\n return result\n }\n\n asString() {\n return `${this.constructor.seperator}${this.prop}${this.parentSeperator}${this[this.prop]}`\n }\n}\n","export default class UtcDate {\n constructor() {\n this.date = new Date(Date.now())\n }\n\n getFullYear() {\n return this.date.getUTCFullYear()\n }\n\n getMonth() {\n return this.date.getUTCMonth()\n }\n\n getWeek() {\n return this.getUTCWeek()\n }\n\n getDate() {\n return this.date.getUTCDate()\n }\n\n getUTCWeek() {\n const d = new Date(\n Date.UTC(\n this.date.getFullYear(),\n this.date.getMonth(),\n this.date.getDate()\n )\n );\n const daynum = d.getUTCDay() || 7\n\n d.setUTCDate(d.getUTCDate() + 4 - daynum)\n\n const yearstart = new Date(Date.UTC(d.getUTCFullYear(), 0, 1))\n\n return Math.ceil(((d - yearstart) / 86400000 + 1) / 7)\n }\n}\n","export default class LocalDate {\n constructor() {\n this.date = new Date(Date.now())\n }\n\n getFullYear() {\n return this.date.getFullYear()\n }\n\n getMonth() {\n return this.date.getMonth()\n }\n\n getWeek() {\n return this.getWeek()\n }\n\n getDate() {\n return this.date.getDate()\n }\n\n getWeek() {\n const d = new Date(\n this.date.getFullYear(),\n this.date.getMonth(),\n this.date.getDate()\n )\n const daynum = d.getDay() || 7\n\n d.setDate(d.getDate() + 4 - daynum)\n\n const yearstart = new Date(d.getFullYear(), 0, 1)\n\n return Math.ceil(((d - yearstart) / 86400000 + 1) / 7)\n }\n}\n\n","import DateVersion from './DateVersion.js'\nimport SemanticVersion from './SemanticVersion.js'\nimport ModifierVersion from './ModifierVersion.js'\n\nexport default class Version {\n constructor(version, seperator, date) {\n this.seperator = seperator\n this.versionStringHasModifier = version.versionStringHasModifier\n this.isInitialVersion = version.isInitialVersion\n this.isCalendarLeading = version.isCalendarLeading\n this.datever = null\n this.semanticver = null\n this.modifierver = null\n this.date = date\n\n this.parse(version)\n }\n\n parse(version) {\n if (Object.keys(version.calendar).length > 0) {\n this.datever = new DateVersion(version.calendar, this.seperator, this.isInitialVersion, this.date)\n }\n\n if (Object.keys(version.semantic).length > 0) {\n this.semanticver = new SemanticVersion(version.semantic, this.seperator, this.isInitialVersion)\n }\n\n if (Object.keys(version.modifier).length > 0) {\n this.modifierver = new ModifierVersion(version.modifier, this.seperator, this.isInitialVersion)\n }\n }\n\n inc(levels) {\n const l = levels[0]\n\n const removeModifier = levels.length === 1 \n && ['MAJOR', 'MINOR', 'PATCH', 'CALENDAR'].indexOf(l) !== -1 \n && this.versionStringHasModifier\n if (removeModifier) {\n this.modifierver = null\n\n return this\n }\n\n if (l == 'CALENDAR') this.datever.inc(l)\n if (SemanticVersion.tags.indexOf(l) !== -1) this.semanticver.inc(l)\n if (ModifierVersion.tags.indexOf(l) !== -1) this.modifierver.inc(l)\n\n if (levels.length === 1) {\n if (this.isCalendarLeading && this.datever.hasChanged && this.semanticver) {\n this.semanticver.reset()\n }\n }\n else if (levels.length === 2) {\n const l2 = levels[1]\n\n if (ModifierVersion.tags.indexOf(l2) !== -1 && ModifierVersion.tags.indexOf(l) === -1) {\n this.modifierver.inc(l2)\n if (this.isCalendarLeading && this.datever.hasChanged && this.semanticver) {\n this.semanticver.reset()\n }\n }\n else if (SemanticVersion.tags.indexOf(l2) !== -1) {\n if (this.isCalendarLeading && this.datever.hasChanged) this.semanticver.reset()\n else this.semanticver.inc(l2)\n }\n else {\n throw new Error(`The second tag of the level should be either modifier or semantic tag. You specified \"${l2}\" as the second tag and \"${l}\" as the first tag.`)\n }\n }\n else if (levels.length === 3) {\n const l2 = levels[1]\n const l3 = levels[2]\n\n if (SemanticVersion.tags.indexOf(l2) !== -1) {\n if (this.isCalendarLeading && this.datever.hasChanged) this.semanticver.reset()\n else this.semanticver.inc(l2)\n }\n\n if (ModifierVersion.tags.includes(l3) && !ModifierVersion.tags.includes(l2) && !ModifierVersion.tags.includes(l)) {\n this.modifierver.inc(l3)\n }\n else {\n throw new Error(`The third tag of the level must be a modifier tag. You specified \"${l3}\".`)\n }\n }\n\n return this\n }\n\n asObject() {\n const result = {\n calendar: {},\n semantic: {},\n modifier: {}\n }\n\n if (this.datever) result.calendar = this.datever.asObject()\n if (this.semanticver) result.semantic = this.semanticver.asObject()\n if (this.modifierver) result.modifier = this.modifierver.asObject()\n\n return result\n }\n}\n","import DateVersion from './DateVersion.js'\nimport SemanticVersion from './SemanticVersion.js'\nimport ModifierVersion from './ModifierVersion.js'\nimport UtcDate from './UtcDate.js'\nimport LocalDate from './LocalDate.js'\nimport Version from './Version.js'\n\nclass Calver {\n constructor() {\n this.seperator = '.'\n this.levels = ['CALENDAR', 'MAJOR', 'MINOR', 'PATCH', ...ModifierVersion.tags]\n this._useLocalTime = false\n }\n\n inc(format, version, levels) {\n levels = this.validateLevels(levels)\n format = this.validateFormat(format, levels)\n const parsedVersion = this.parseVersion(version, format, levels)\n const date = this._useLocalTime ? new LocalDate() : new UtcDate()\n\n const obj = (new Version(parsedVersion, this.seperator, date)).inc(levels).asObject()\n\n const result = this.asString(format, obj)\n\n if (version == result) {\n throw new Error('No change happened in the version.')\n }\n\n return result\n }\n\n isValid(format, version) {\n if (!version) return false\n\n try {\n format = this.validateFormat(format, [])\n version = this.parseVersion(version, format, [])\n\n new Version(version, this.seperator)\n\n return true\n } catch (e) {\n return false\n }\n }\n\n getTagType(tag) {\n tag = tag.toUpperCase()\n\n if (DateVersion.tags.indexOf(tag) !== -1) return 'calendar'\n if (SemanticVersion.tags.indexOf(tag) !== -1) return 'semantic'\n if (ModifierVersion.tags.indexOf(tag) !== -1) return 'modifier'\n \n return undefined;\n }\n\n asString(format, obj) {\n const result = []\n\n for (const tag of format.sorted) {\n if (DateVersion.tags.indexOf(tag) !== -1) {\n result.push(obj.calendar[tag])\n }\n if (SemanticVersion.tags.indexOf(tag) !== -1) {\n result.push(obj.semantic[tag])\n }\n if (ModifierVersion.tags.indexOf(tag) !== -1 && obj.modifier) {\n result.push(ModifierVersion.seperator + tag.toLowerCase() + this.seperator + obj.modifier[tag])\n }\n }\n\n return result\n .join(this.seperator)\n .replace(this.seperator + ModifierVersion.seperator, ModifierVersion.seperator)\n }\n\n parseVersion(version, format, levels) {\n const map = {\n isCalendarLeading: format.isCalendarLeading,\n isInitialVersion: !version,\n versionStringHasModifier: /(dev|DEV|alpha|ALPHA|beta|BETA|rc|RC)/.test(version),\n sorted: {},\n calendar: {},\n semantic: {},\n modifier: {}\n }\n\n let startIndex=0, endIndex=0\n for (const tag of format.sorted) {\n endIndex = version.indexOf(this.seperator, startIndex+1)\n if (endIndex === -1) endIndex = undefined\n\n let value = version.slice(startIndex, endIndex)\n\n if (value.indexOf(ModifierVersion.seperator) !== -1) {\n endIndex = version.indexOf(ModifierVersion.seperator, startIndex+1)\n value = version.slice(startIndex, endIndex)\n }\n\n if (ModifierVersion.tags.indexOf(value.toUpperCase()) !== -1) {\n if (value.toUpperCase() != tag) value = '-1'\n else value = version.slice(startIndex + value.length + 1)\n }\n\n if (isNaN(startIndex)) {\n value = ModifierVersion.tags.indexOf(tag) !== -1 ? '-1' : '0'\n }\n\n if (value == '') {\n value = '0'\n }\n\n map.sorted[tag] = value\n if (format.calendar.indexOf(tag) !== -1) map.calendar[tag] = value\n if (format.semantic.indexOf(tag) !== -1) map.semantic[tag] = value\n if (format.modifier.indexOf(tag) !== -1) map.modifier[tag] = value\n\n startIndex = endIndex + 1\n }\n\n return map\n }\n\n validateFormat(format, levels) {\n const result = {\n sorted: [],\n calendar: [],\n semantic: [],\n modifier: []\n }\n\n const tags = format.toUpperCase().split(this.seperator)\n\n for (const tag of tags) {\n if (DateVersion.tags.indexOf(tag) !== -1) result.calendar.push(tag)\n else if (SemanticVersion.tags.indexOf(tag) !== -1) result.semantic.push(tag)\n else throw new Error(`[CALVER]: Invalid format tag \"${tag}\".`)\n\n result.sorted.push(tag)\n }\n\n for (const level of levels) {\n if (ModifierVersion.tags.indexOf(level) !== -1) {\n result.modifier.push(level)\n result.sorted.push(level)\n }\n }\n\n result.isCalendarLeading = DateVersion.tags.indexOf(result.sorted[0]) !== -1\n\n return result\n }\n\n validateLevels(levels) {\n const result = []\n const arr = levels.split('.')\n\n for (const level of arr) {\n const formatted = level.toUpperCase()\n if (this.levels.indexOf(formatted) !== -1) {\n result.push(formatted)\n }\n else {\n throw new Error(`[CALVER]: Invalid level \"${level}\".`)\n }\n }\n\n return result\n }\n\n set useLocalTime(value) {\n this._useLocalTime = value\n }\n}\n\nexport default new Calver()\n"],"names":["DateVersion","tags","reDigits","constructor","obj","parentSeperator","isInitialVersion","date","hasChanged","props","parse","prop","isValid","Error","push","inc","level","prevValue","asString","yearstr","getFullYear","toString","parseInt","slice","padStart","monthstr","getMonth","weekstr","getWeek","daystr","getDate","newValue","v","test","length","indexOf","Number","asObject","reduce","memo","result","tag","join","SemanticVersion","MAJOR","MINOR","PATCH","reset","map","ModifierVersion","seperator","DEV","ALPHA","BETA","RC","UtcDate","Date","now","getUTCFullYear","getUTCMonth","getUTCWeek","getUTCDate","d","UTC","daynum","getUTCDay","setUTCDate","yearstart","Math","ceil","LocalDate","getDay","setDate","Version","version","versionStringHasModifier","isCalendarLeading","datever","semanticver","modifierver","Object","keys","calendar","semantic","modifier","levels","l","removeModifier","l2","l3","includes","Calver","_useLocalTime","format","validateLevels","validateFormat","parsedVersion","parseVersion","e","getTagType","toUpperCase","undefined","sorted","toLowerCase","replace","startIndex","endIndex","value","isNaN","split","arr","formatted","useLocalTime"],"mappings":";;AAAe,MAAMA,WAAW,CAAC;EAC/B,OAAOC,IAAI,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAA;AAEtEC,EAAAA,QAAQ,GAAG,QAAQ,CAAA;EAEnBC,WAAWA,CAACC,GAAG,EAAEC,eAAe,EAAEC,gBAAgB,EAAEC,IAAI,EAAE;AACxD,IAAA,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAA;AACnB,IAAA,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;AACjB,IAAA,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;AACjB,IAAA,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;AACjB,IAAA,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;AACjB,IAAA,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;AACjB,IAAA,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;AACjB,IAAA,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;AACjB,IAAA,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;IAEjB,IAAI,CAACC,UAAU,GAAG,KAAK,CAAA;IACvB,IAAI,CAACF,gBAAgB,GAAGA,gBAAgB,CAAA;IACxC,IAAI,CAACD,eAAe,GAAGA,eAAe,CAAA;IACtC,IAAI,CAACI,KAAK,GAAG,EAAE,CAAA;IACf,IAAI,CAACF,IAAI,GAAGA,IAAI,CAAA;AAEhB,IAAA,IAAI,CAACG,KAA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,GAAA;EAEAsD,cAAcA,CAACT,MAAM,EAAE;IACrB,MAAM7C,MAAM,GAAG,EAAE,CAAA;AACjB,IAAA,MAAMsE,GAAG,GAAGzB,MAAM,CAACwB,KAAK,CAAC,GAAG,CAAC,CAAA;AAE7B,IAAA,KAAK,MAAM7F,KAAK,IAAI8F,GAAG,EAAE;AACvB,MAAA,MAAMC,SAAS,GAAG/F,KAAK,CAACoF,WAAW,EAAE,CAAA;MACrC,IAAI,IAAI,CAACf,MAAM,CAAClD,OAAO,CAAC4E,SAAS,CAAC,KAAK,CAAC,CAAC,EAAE;AACzCvE,QAAAA,MAAM,CAAC1B,IAAI,CAACiG,SAAS,CAAC,CAAA;AACxB,OAAC,MACI;AACH,QAAA,MAAM,IAAIlG,KAAK,CAAE,CAA2BG,yBAAAA,EAAAA,KAAM,IAAG,CAAC,CAAA;AACxD,OAAA;AACF,KAAA;AAEA,IAAA,OAAOwB,MAAM,CAAA;AACf,GAAA;EAEA,IAAIwE,YAAYA,CAACL,KAAK,EAAE;IACtB,IAAI,CAACf,aAAa,GAAGe,KAAK,CAAA;AAC5B,GAAA;AACF,CAAA;AAEA,YAAe,IAAIhB,MAAM,EAAE;;;;"} \ No newline at end of file diff --git a/dist/node/lts/es/index.js b/dist/node/lts/es/index.js index 8ca9224..519aff7 100644 --- a/dist/node/lts/es/index.js +++ b/dist/node/lts/es/index.js @@ -278,15 +278,33 @@ class Version { if (l == 'CALENDAR') this.datever.inc(l); if (SemanticVersion.tags.indexOf(l) !== -1) this.semanticver.inc(l); if (ModifierVersion.tags.indexOf(l) !== -1) this.modifierver.inc(l); - if (levels.length > 1) { + if (levels.length === 1) { + if (this.isCalendarLeading && this.datever.hasChanged && this.semanticver) { + this.semanticver.reset(); + } + } else if (levels.length === 2) { const l2 = levels[1]; if (ModifierVersion.tags.indexOf(l2) !== -1 && ModifierVersion.tags.indexOf(l) === -1) { this.modifierver.inc(l2); + if (this.isCalendarLeading && this.datever.hasChanged && this.semanticver) { + this.semanticver.reset(); + } } else if (SemanticVersion.tags.indexOf(l2) !== -1) { if (this.isCalendarLeading && this.datever.hasChanged) this.semanticver.reset();else this.semanticver.inc(l2); } else { throw new Error(`The second tag of the level should be either modifier or semantic tag. You specified "${l2}" as the second tag and "${l}" as the first tag.`); } + } else if (levels.length === 3) { + const l2 = levels[1]; + const l3 = levels[2]; + if (SemanticVersion.tags.indexOf(l2) !== -1) { + if (this.isCalendarLeading && this.datever.hasChanged) this.semanticver.reset();else this.semanticver.inc(l2); + } + if (ModifierVersion.tags.includes(l3) && !ModifierVersion.tags.includes(l2) && !ModifierVersion.tags.includes(l)) { + this.modifierver.inc(l3); + } else { + throw new Error(`The third tag of the level must be a modifier tag. You specified "${l3}".`); + } } return this; } diff --git a/dist/node/lts/es/index.js.map b/dist/node/lts/es/index.js.map index 26e9d07..f541b10 100644 --- a/dist/node/lts/es/index.js.map +++ b/dist/node/lts/es/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sources":["../../../../src/DateVersion.js","../../../../src/SemanticVersion.js","../../../../src/ModifierVersion.js","../../../../src/UtcDate.js","../../../../src/LocalDate.js","../../../../src/Version.js","../../../../src/index.js"],"sourcesContent":["export default class DateVersion {\n static tags = ['YYYY', 'YY', '0Y', 'MM', '0M', 'WW', '0W', 'DD', '0D']\n\n reDigits = /[^0-9]/\n\n constructor(obj, parentSeperator, isInitialVersion, date) {\n this['YYYY'] = null\n this['YY'] = null\n this['0Y'] = null\n this['MM'] = null\n this['0M'] = null\n this['WW'] = null\n this['0W'] = null\n this['DD'] = null\n this['0D'] = null\n\n this.hasChanged = false\n this.isInitialVersion = isInitialVersion\n this.parentSeperator = parentSeperator\n this.props = []\n this.date = date\n\n this.parse(obj)\n }\n\n parse(obj) {\n for (const prop in obj) {\n if (!this.isInitialVersion && !this.isValid(prop, obj[prop])) {\n throw new Error(`Calendar tag ${prop} has an invalid value \"${obj[prop]}\"`)\n }\n\n this[prop] = obj[prop]\n this.props.push(prop)\n }\n }\n\n inc(level) {\n const prevValue = this.asString()\n\n const yearstr = this.date.getFullYear().toString()\n this['YYYY'] = yearstr\n this['YY'] = parseInt(yearstr.slice(2)).toString()\n this['0Y'] = this['YY'].padStart(2, '0')\n\n const monthstr = (this.date.getMonth() + 1).toString()\n this['MM'] = monthstr\n this['0M'] = this['MM'].padStart(2, '0')\n\n const weekstr = this.date.getWeek().toString()\n this['WW'] = weekstr\n this['0W'] = this['WW'].padStart(2, '0')\n\n const daystr = this.date.getDate().toString()\n this['DD'] = daystr\n this['0D'] = this['DD'].padStart(2, '0')\n\n const newValue = this.asString()\n\n this.hasChanged = prevValue != newValue\n\n return this\n }\n\n isValid(prop, v) {\n if (!v || typeof v != 'string' || this.reDigits.test(v)) return false\n\n switch (prop) {\n case 'YYYY':\n if (v.slice(0, 1) == '0') return false\n return v.length === 4\n break;\n\n case 'YY':\n if (v.slice(0, 1) == '0') return false\n return v.length === 1 || v.length === 2 || v.length === 3\n break;\n\n case '0Y':\n if ((v.length == 2 || v.length == 3) && v.slice(0, 1) == '0') return false\n return v.length === 2 || v.length === 3\n break;\n\n case 'MM':\n return [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].indexOf(Number(v)) !== -1\n break;\n\n case '0M':\n return ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12']\n .indexOf(v) !== -1\n break;\n\n case 'WW':\n return Number(v) >= 1 && Number(v) <= 52\n break;\n\n case '0W':\n if (v.length != 2) return false\n return Number(v) >= 1 && Number(v) <= 52\n break;\n\n case 'DD':\n return Number(v) >= 1 && Number(v) <= 31\n break;\n\n case '0D':\n if (v.length != 2) return false\n return Number(v) >= 1 && Number(v) <= 31\n break;\n }\n }\n\n asObject() {\n return this.props.reduce((memo, prop) => {\n memo[prop] = this[prop]\n return memo\n }, {})\n }\n\n asString() {\n const result = []\n for (const tag of this.constructor.tags) {\n if (this.props.indexOf(tag) !== -1) result.push(this[tag])\n }\n return result.join(this.parentSeperator)\n }\n}\n","export default class SemanticVersion {\n static tags = ['MAJOR', 'MINOR', 'PATCH']\n\n reDigits = /[^0-9]/\n\n constructor(obj, parentSeperator, isInitialVersion) {\n this.MAJOR = null\n this.MINOR = null\n this.PATCH = null\n\n this.isInitialVersion = isInitialVersion\n this.parentSeperator = parentSeperator\n this.props = []\n\n this.parse(obj)\n }\n\n parse(obj) {\n for (const prop in obj) {\n if (!this.isInitialVersion && !this.isValid(prop, obj[prop])) {\n throw new Error(`Semantic tag ${prop} has an invalid value \"${obj[prop]}\"`)\n }\n\n this[prop] = obj[prop]\n this.props.push(prop)\n }\n }\n\n reset() {\n this.props.map(prop => this[prop] = 0)\n }\n\n inc(level) {\n if (this.props.indexOf(level) === -1) {\n throw new Error(`[CALVER]: You have requested to increment \"${level}\" but your format doesn't have it.`)\n }\n\n if (level == 'MAJOR') {\n this.MAJOR = (parseInt(this.MAJOR) + 1).toString()\n if (this.props.indexOf('MINOR') !== -1) this.MINOR = '0'\n if (this.props.indexOf('PATCH') !== -1) this.PATCH = '0'\n }\n \n if (level == 'MINOR') {\n this.MINOR = (parseInt(this.MINOR) + 1).toString()\n if (this.props.indexOf('PATCH') !== -1) this.PATCH = '0'\n }\n\n if (level == 'PATCH') {\n this.PATCH = (parseInt(this.PATCH) + 1).toString()\n }\n\n return this\n }\n\n isValid(prop, v) {\n if (!v || typeof v != 'string' || this.reDigits.test(v)) return false\n return true\n }\n\n asObject() {\n return this.props.reduce((memo, prop) => {\n memo[prop] = this[prop]\n return memo\n }, {})\n }\n\n asString() {\n const result = []\n for (const tag of this.constructor.tags) {\n if (this.props.indexOf(tag) !== -1) result.push(this[tag])\n }\n return result.join(this.parentSeperator)\n }\n}\n","export default class ModifierVersion {\n static seperator = '-'\n static tags = ['DEV', 'ALPHA', 'BETA', 'RC']\n\n reDigits = /[^0-9\\-]/\n\n constructor(obj, parentSeperator, isInitialVersion) {\n this.DEV = null\n this.ALPHA = null\n this.BETA = null\n this.RC = null\n\n this.isInitialVersion = isInitialVersion\n this.parentSeperator = parentSeperator\n this.prop = null\n\n this.parse(obj)\n }\n\n parse(obj) {\n for (const prop in obj) {\n if (!this.isInitialVersion && !this.isValid(prop, obj[prop])) {\n throw new Error(`Modifier tag ${prop} has an invalid value \"${obj[prop]}\"`)\n }\n\n this.prop = prop\n this[prop] = obj[prop]\n }\n }\n\n inc(level) {\n if (level != this.prop) {\n throw new Error(`[CALVER]: You have requested to increment \"${level}\" but your format doesn't have it.`)\n }\n\n this[this.prop] = (parseInt(this[this.prop]) + 1).toString()\n\n return this\n }\n\n isValid(prop, v) {\n if (!v || typeof v != 'string' || this.reDigits.test(v)) return false\n if (v.indexOf('-') !== -1 && v != '-1') return false\n return true\n }\n\n asObject() {\n const result = {}\n result[this.prop] = this[this.prop]\n return result\n }\n\n asString() {\n return `${this.constructor.seperator}${this.prop}${this.parentSeperator}${this[this.prop]}`\n }\n}\n","export default class UtcDate {\n constructor() {\n this.date = new Date(Date.now())\n }\n\n getFullYear() {\n return this.date.getUTCFullYear()\n }\n\n getMonth() {\n return this.date.getUTCMonth()\n }\n\n getWeek() {\n return this.getUTCWeek()\n }\n\n getDate() {\n return this.date.getUTCDate()\n }\n\n getUTCWeek() {\n const d = new Date(\n Date.UTC(\n this.date.getFullYear(),\n this.date.getMonth(),\n this.date.getDate()\n )\n );\n const daynum = d.getUTCDay() || 7\n\n d.setUTCDate(d.getUTCDate() + 4 - daynum)\n\n const yearstart = new Date(Date.UTC(d.getUTCFullYear(), 0, 1))\n\n return Math.ceil(((d - yearstart) / 86400000 + 1) / 7)\n }\n}\n","export default class LocalDate {\n constructor() {\n this.date = new Date(Date.now())\n }\n\n getFullYear() {\n return this.date.getFullYear()\n }\n\n getMonth() {\n return this.date.getMonth()\n }\n\n getWeek() {\n return this.getWeek()\n }\n\n getDate() {\n return this.date.getDate()\n }\n\n getWeek() {\n const d = new Date(\n this.date.getFullYear(),\n this.date.getMonth(),\n this.date.getDate()\n )\n const daynum = d.getDay() || 7\n\n d.setDate(d.getDate() + 4 - daynum)\n\n const yearstart = new Date(d.getFullYear(), 0, 1)\n\n return Math.ceil(((d - yearstart) / 86400000 + 1) / 7)\n }\n}\n\n","import DateVersion from './DateVersion.js'\nimport SemanticVersion from './SemanticVersion.js'\nimport ModifierVersion from './ModifierVersion.js'\n\nexport default class Version {\n constructor(version, seperator, date) {\n this.seperator = seperator\n this.versionStringHasModifier = version.versionStringHasModifier\n this.isInitialVersion = version.isInitialVersion\n this.isCalendarLeading = version.isCalendarLeading\n this.datever = null\n this.semanticver = null\n this.modifierver = null\n this.date = date\n\n this.parse(version)\n }\n\n parse(version) {\n if (Object.keys(version.calendar).length > 0) {\n this.datever = new DateVersion(version.calendar, this.seperator, this.isInitialVersion, this.date)\n }\n\n if (Object.keys(version.semantic).length > 0) {\n this.semanticver = new SemanticVersion(version.semantic, this.seperator, this.isInitialVersion)\n }\n\n if (Object.keys(version.modifier).length > 0) {\n this.modifierver = new ModifierVersion(version.modifier, this.seperator, this.isInitialVersion)\n }\n }\n\n inc(levels) {\n const l = levels[0]\n\n const removeModifier = levels.length === 1 \n && ['MAJOR', 'MINOR', 'PATCH', 'CALENDAR'].indexOf(l) !== -1 \n && this.versionStringHasModifier\n if (removeModifier) {\n this.modifierver = null\n\n return this\n }\n\n if (l == 'CALENDAR') this.datever.inc(l)\n if (SemanticVersion.tags.indexOf(l) !== -1) this.semanticver.inc(l)\n if (ModifierVersion.tags.indexOf(l) !== -1) this.modifierver.inc(l)\n\n if (levels.length > 1) {\n const l2 = levels[1]\n\n if (ModifierVersion.tags.indexOf(l2) !== -1 && ModifierVersion.tags.indexOf(l) === -1) {\n this.modifierver.inc(l2)\n }\n else if (SemanticVersion.tags.indexOf(l2) !== -1) {\n if (this.isCalendarLeading && this.datever.hasChanged) this.semanticver.reset()\n else this.semanticver.inc(l2)\n }\n else {\n throw new Error(`The second tag of the level should be either modifier or semantic tag. You specified \"${l2}\" as the second tag and \"${l}\" as the first tag.`)\n }\n }\n\n return this\n }\n\n asObject() {\n const result = {\n calendar: {},\n semantic: {},\n modifier: {}\n }\n\n if (this.datever) result.calendar = this.datever.asObject()\n if (this.semanticver) result.semantic = this.semanticver.asObject()\n if (this.modifierver) result.modifier = this.modifierver.asObject()\n\n return result\n }\n}\n","import DateVersion from './DateVersion.js'\nimport SemanticVersion from './SemanticVersion.js'\nimport ModifierVersion from './ModifierVersion.js'\nimport UtcDate from './UtcDate.js'\nimport LocalDate from './LocalDate.js'\nimport Version from './Version.js'\n\nclass Calver {\n constructor() {\n this.seperator = '.'\n this.levels = ['CALENDAR', 'MAJOR', 'MINOR', 'PATCH', ...ModifierVersion.tags]\n this._useLocalTime = false\n }\n\n inc(format, version, levels) {\n levels = this.validateLevels(levels)\n format = this.validateFormat(format, levels)\n const parsedVersion = this.parseVersion(version, format, levels)\n const date = this._useLocalTime ? new LocalDate() : new UtcDate()\n\n const obj = (new Version(parsedVersion, this.seperator, date)).inc(levels).asObject()\n\n const result = this.asString(format, obj)\n\n if (version == result) {\n throw new Error('No change happened in the version.')\n }\n\n return result\n }\n\n isValid(format, version) {\n if (!version) return false\n\n try {\n format = this.validateFormat(format, [])\n version = this.parseVersion(version, format, [])\n\n new Version(version, this.seperator)\n\n return true\n } catch (e) {\n return false\n }\n }\n\n getTagType(tag) {\n tag = tag.toUpperCase()\n\n if (DateVersion.tags.indexOf(tag) !== -1) return 'calendar'\n if (SemanticVersion.tags.indexOf(tag) !== -1) return 'semantic'\n if (ModifierVersion.tags.indexOf(tag) !== -1) return 'modifier'\n \n return undefined;\n }\n\n asString(format, obj) {\n const result = []\n\n for (const tag of format.sorted) {\n if (DateVersion.tags.indexOf(tag) !== -1) {\n result.push(obj.calendar[tag])\n }\n if (SemanticVersion.tags.indexOf(tag) !== -1) {\n result.push(obj.semantic[tag])\n }\n if (ModifierVersion.tags.indexOf(tag) !== -1 && obj.modifier) {\n result.push(ModifierVersion.seperator + tag.toLowerCase() + this.seperator + obj.modifier[tag])\n }\n }\n\n return result\n .join(this.seperator)\n .replace(this.seperator + ModifierVersion.seperator, ModifierVersion.seperator)\n }\n\n parseVersion(version, format, levels) {\n const map = {\n isCalendarLeading: format.isCalendarLeading,\n isInitialVersion: !version,\n versionStringHasModifier: /(dev|DEV|alpha|ALPHA|beta|BETA|rc|RC)/.test(version),\n sorted: {},\n calendar: {},\n semantic: {},\n modifier: {}\n }\n\n let startIndex=0, endIndex=0\n for (const tag of format.sorted) {\n endIndex = version.indexOf(this.seperator, startIndex+1)\n if (endIndex === -1) endIndex = undefined\n\n let value = version.slice(startIndex, endIndex)\n\n if (value.indexOf(ModifierVersion.seperator) !== -1) {\n endIndex = version.indexOf(ModifierVersion.seperator, startIndex+1)\n value = version.slice(startIndex, endIndex)\n }\n\n if (ModifierVersion.tags.indexOf(value.toUpperCase()) !== -1) {\n if (value.toUpperCase() != tag) value = '-1'\n else value = version.slice(startIndex + value.length + 1)\n }\n\n if (isNaN(startIndex)) {\n value = ModifierVersion.tags.indexOf(tag) !== -1 ? '-1' : '0'\n }\n\n if (value == '') {\n value = '0'\n }\n\n map.sorted[tag] = value\n if (format.calendar.indexOf(tag) !== -1) map.calendar[tag] = value\n if (format.semantic.indexOf(tag) !== -1) map.semantic[tag] = value\n if (format.modifier.indexOf(tag) !== -1) map.modifier[tag] = value\n\n startIndex = endIndex + 1\n }\n\n return map\n }\n\n validateFormat(format, levels) {\n const result = {\n sorted: [],\n calendar: [],\n semantic: [],\n modifier: []\n }\n\n const tags = format.toUpperCase().split(this.seperator)\n\n for (const tag of tags) {\n if (DateVersion.tags.indexOf(tag) !== -1) result.calendar.push(tag)\n else if (SemanticVersion.tags.indexOf(tag) !== -1) result.semantic.push(tag)\n else throw new Error(`[CALVER]: Invalid format tag \"${tag}\".`)\n\n result.sorted.push(tag)\n }\n\n for (const level of levels) {\n if (ModifierVersion.tags.indexOf(level) !== -1) {\n result.modifier.push(level)\n result.sorted.push(level)\n }\n }\n\n result.isCalendarLeading = DateVersion.tags.indexOf(result.sorted[0]) !== -1\n\n return result\n }\n\n validateLevels(levels) {\n const result = []\n const arr = levels.split('.')\n\n for (const level of arr) {\n const formatted = level.toUpperCase()\n if (this.levels.indexOf(formatted) !== -1) {\n result.push(formatted)\n }\n else {\n throw new Error(`[CALVER]: Invalid level \"${level}\".`)\n }\n }\n\n return result\n }\n\n set useLocalTime(value) {\n this._useLocalTime = value\n }\n}\n\nexport default new Calver()\n"],"names":["DateVersion","tags","reDigits","constructor","obj","parentSeperator","isInitialVersion","date","hasChanged","props","parse","prop","isValid","Error","push","inc","level","prevValue","asString","yearstr","getFullYear","toString","parseInt","slice","padStart","monthstr","getMonth","weekstr","getWeek","daystr","getDate","newValue","v","test","length","indexOf","Number","asObject","reduce","memo","result","tag","join","SemanticVersion","MAJOR","MINOR","PATCH","reset","map","ModifierVersion","seperator","DEV","ALPHA","BETA","RC","UtcDate","Date","now","getUTCFullYear","getUTCMonth","getUTCWeek","getUTCDate","d","UTC","daynum","getUTCDay","setUTCDate","yearstart","Math","ceil","LocalDate","getDay","setDate","Version","version","versionStringHasModifier","isCalendarLeading","datever","semanticver","modifierver","Object","keys","calendar","semantic","modifier","levels","l","removeModifier","l2","Calver","_useLocalTime","format","validateLevels","validateFormat","parsedVersion","parseVersion","e","getTagType","toUpperCase","undefined","sorted","toLowerCase","replace","startIndex","endIndex","value","isNaN","split","arr","formatted","useLocalTime"],"mappings":"AAAe,MAAMA,WAAW,CAAC;EAC/B,OAAOC,IAAI,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAA;AAEtEC,EAAAA,QAAQ,GAAG,QAAQ,CAAA;EAEnBC,WAAW,CAACC,GAAG,EAAEC,eAAe,EAAEC,gBAAgB,EAAEC,IAAI,EAAE;AACxD,IAAA,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAA;AACnB,IAAA,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;AACjB,IAAA,IAA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EAAE;;;;"} \ No newline at end of file +{"version":3,"file":"index.js","sources":["../../../../src/DateVersion.js","../../../../src/SemanticVersion.js","../../../../src/ModifierVersion.js","../../../../src/UtcDate.js","../../../../src/LocalDate.js","../../../../src/Version.js","../../../../src/index.js"],"sourcesContent":["export default class DateVersion {\n static tags = ['YYYY', 'YY', '0Y', 'MM', '0M', 'WW', '0W', 'DD', '0D']\n\n reDigits = /[^0-9]/\n\n constructor(obj, parentSeperator, isInitialVersion, date) {\n this['YYYY'] = null\n this['YY'] = null\n this['0Y'] = null\n this['MM'] = null\n this['0M'] = null\n this['WW'] = null\n this['0W'] = null\n this['DD'] = null\n this['0D'] = null\n\n this.hasChanged = false\n this.isInitialVersion = isInitialVersion\n this.parentSeperator = parentSeperator\n this.props = []\n this.date = date\n\n this.parse(obj)\n }\n\n parse(obj) {\n for (const prop in obj) {\n if (!this.isInitialVersion && !this.isValid(prop, obj[prop])) {\n throw new Error(`Calendar tag ${prop} has an invalid value \"${obj[prop]}\"`)\n }\n\n this[prop] = obj[prop]\n this.props.push(prop)\n }\n }\n\n inc(level) {\n const prevValue = this.asString()\n\n const yearstr = this.date.getFullYear().toString()\n this['YYYY'] = yearstr\n this['YY'] = parseInt(yearstr.slice(2)).toString()\n this['0Y'] = this['YY'].padStart(2, '0')\n\n const monthstr = (this.date.getMonth() + 1).toString()\n this['MM'] = monthstr\n this['0M'] = this['MM'].padStart(2, '0')\n\n const weekstr = this.date.getWeek().toString()\n this['WW'] = weekstr\n this['0W'] = this['WW'].padStart(2, '0')\n\n const daystr = this.date.getDate().toString()\n this['DD'] = daystr\n this['0D'] = this['DD'].padStart(2, '0')\n\n const newValue = this.asString()\n\n this.hasChanged = prevValue != newValue\n\n return this\n }\n\n isValid(prop, v) {\n if (!v || typeof v != 'string' || this.reDigits.test(v)) return false\n\n switch (prop) {\n case 'YYYY':\n if (v.slice(0, 1) == '0') return false\n return v.length === 4\n break;\n\n case 'YY':\n if (v.slice(0, 1) == '0') return false\n return v.length === 1 || v.length === 2 || v.length === 3\n break;\n\n case '0Y':\n if ((v.length == 2 || v.length == 3) && v.slice(0, 1) == '0') return false\n return v.length === 2 || v.length === 3\n break;\n\n case 'MM':\n return [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].indexOf(Number(v)) !== -1\n break;\n\n case '0M':\n return ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12']\n .indexOf(v) !== -1\n break;\n\n case 'WW':\n return Number(v) >= 1 && Number(v) <= 52\n break;\n\n case '0W':\n if (v.length != 2) return false\n return Number(v) >= 1 && Number(v) <= 52\n break;\n\n case 'DD':\n return Number(v) >= 1 && Number(v) <= 31\n break;\n\n case '0D':\n if (v.length != 2) return false\n return Number(v) >= 1 && Number(v) <= 31\n break;\n }\n }\n\n asObject() {\n return this.props.reduce((memo, prop) => {\n memo[prop] = this[prop]\n return memo\n }, {})\n }\n\n asString() {\n const result = []\n for (const tag of this.constructor.tags) {\n if (this.props.indexOf(tag) !== -1) result.push(this[tag])\n }\n return result.join(this.parentSeperator)\n }\n}\n","export default class SemanticVersion {\n static tags = ['MAJOR', 'MINOR', 'PATCH']\n\n reDigits = /[^0-9]/\n\n constructor(obj, parentSeperator, isInitialVersion) {\n this.MAJOR = null\n this.MINOR = null\n this.PATCH = null\n\n this.isInitialVersion = isInitialVersion\n this.parentSeperator = parentSeperator\n this.props = []\n\n this.parse(obj)\n }\n\n parse(obj) {\n for (const prop in obj) {\n if (!this.isInitialVersion && !this.isValid(prop, obj[prop])) {\n throw new Error(`Semantic tag ${prop} has an invalid value \"${obj[prop]}\"`)\n }\n\n this[prop] = obj[prop]\n this.props.push(prop)\n }\n }\n\n reset() {\n this.props.map(prop => this[prop] = 0)\n }\n\n inc(level) {\n if (this.props.indexOf(level) === -1) {\n throw new Error(`[CALVER]: You have requested to increment \"${level}\" but your format doesn't have it.`)\n }\n\n if (level == 'MAJOR') {\n this.MAJOR = (parseInt(this.MAJOR) + 1).toString()\n if (this.props.indexOf('MINOR') !== -1) this.MINOR = '0'\n if (this.props.indexOf('PATCH') !== -1) this.PATCH = '0'\n }\n \n if (level == 'MINOR') {\n this.MINOR = (parseInt(this.MINOR) + 1).toString()\n if (this.props.indexOf('PATCH') !== -1) this.PATCH = '0'\n }\n\n if (level == 'PATCH') {\n this.PATCH = (parseInt(this.PATCH) + 1).toString()\n }\n\n return this\n }\n\n isValid(prop, v) {\n if (!v || typeof v != 'string' || this.reDigits.test(v)) return false\n return true\n }\n\n asObject() {\n return this.props.reduce((memo, prop) => {\n memo[prop] = this[prop]\n return memo\n }, {})\n }\n\n asString() {\n const result = []\n for (const tag of this.constructor.tags) {\n if (this.props.indexOf(tag) !== -1) result.push(this[tag])\n }\n return result.join(this.parentSeperator)\n }\n}\n","export default class ModifierVersion {\n static seperator = '-'\n static tags = ['DEV', 'ALPHA', 'BETA', 'RC']\n\n reDigits = /[^0-9\\-]/\n\n constructor(obj, parentSeperator, isInitialVersion) {\n this.DEV = null\n this.ALPHA = null\n this.BETA = null\n this.RC = null\n\n this.isInitialVersion = isInitialVersion\n this.parentSeperator = parentSeperator\n this.prop = null\n\n this.parse(obj)\n }\n\n parse(obj) {\n for (const prop in obj) {\n if (!this.isInitialVersion && !this.isValid(prop, obj[prop])) {\n throw new Error(`Modifier tag ${prop} has an invalid value \"${obj[prop]}\"`)\n }\n\n this.prop = prop\n this[prop] = obj[prop]\n }\n }\n\n inc(level) {\n if (level != this.prop) {\n throw new Error(`[CALVER]: You have requested to increment \"${level}\" but your format doesn't have it.`)\n }\n\n this[this.prop] = (parseInt(this[this.prop]) + 1).toString()\n\n return this\n }\n\n isValid(prop, v) {\n if (!v || typeof v != 'string' || this.reDigits.test(v)) return false\n if (v.indexOf('-') !== -1 && v != '-1') return false\n return true\n }\n\n asObject() {\n const result = {}\n result[this.prop] = this[this.prop]\n return result\n }\n\n asString() {\n return `${this.constructor.seperator}${this.prop}${this.parentSeperator}${this[this.prop]}`\n }\n}\n","export default class UtcDate {\n constructor() {\n this.date = new Date(Date.now())\n }\n\n getFullYear() {\n return this.date.getUTCFullYear()\n }\n\n getMonth() {\n return this.date.getUTCMonth()\n }\n\n getWeek() {\n return this.getUTCWeek()\n }\n\n getDate() {\n return this.date.getUTCDate()\n }\n\n getUTCWeek() {\n const d = new Date(\n Date.UTC(\n this.date.getFullYear(),\n this.date.getMonth(),\n this.date.getDate()\n )\n );\n const daynum = d.getUTCDay() || 7\n\n d.setUTCDate(d.getUTCDate() + 4 - daynum)\n\n const yearstart = new Date(Date.UTC(d.getUTCFullYear(), 0, 1))\n\n return Math.ceil(((d - yearstart) / 86400000 + 1) / 7)\n }\n}\n","export default class LocalDate {\n constructor() {\n this.date = new Date(Date.now())\n }\n\n getFullYear() {\n return this.date.getFullYear()\n }\n\n getMonth() {\n return this.date.getMonth()\n }\n\n getWeek() {\n return this.getWeek()\n }\n\n getDate() {\n return this.date.getDate()\n }\n\n getWeek() {\n const d = new Date(\n this.date.getFullYear(),\n this.date.getMonth(),\n this.date.getDate()\n )\n const daynum = d.getDay() || 7\n\n d.setDate(d.getDate() + 4 - daynum)\n\n const yearstart = new Date(d.getFullYear(), 0, 1)\n\n return Math.ceil(((d - yearstart) / 86400000 + 1) / 7)\n }\n}\n\n","import DateVersion from './DateVersion.js'\nimport SemanticVersion from './SemanticVersion.js'\nimport ModifierVersion from './ModifierVersion.js'\n\nexport default class Version {\n constructor(version, seperator, date) {\n this.seperator = seperator\n this.versionStringHasModifier = version.versionStringHasModifier\n this.isInitialVersion = version.isInitialVersion\n this.isCalendarLeading = version.isCalendarLeading\n this.datever = null\n this.semanticver = null\n this.modifierver = null\n this.date = date\n\n this.parse(version)\n }\n\n parse(version) {\n if (Object.keys(version.calendar).length > 0) {\n this.datever = new DateVersion(version.calendar, this.seperator, this.isInitialVersion, this.date)\n }\n\n if (Object.keys(version.semantic).length > 0) {\n this.semanticver = new SemanticVersion(version.semantic, this.seperator, this.isInitialVersion)\n }\n\n if (Object.keys(version.modifier).length > 0) {\n this.modifierver = new ModifierVersion(version.modifier, this.seperator, this.isInitialVersion)\n }\n }\n\n inc(levels) {\n const l = levels[0]\n\n const removeModifier = levels.length === 1 \n && ['MAJOR', 'MINOR', 'PATCH', 'CALENDAR'].indexOf(l) !== -1 \n && this.versionStringHasModifier\n if (removeModifier) {\n this.modifierver = null\n\n return this\n }\n\n if (l == 'CALENDAR') this.datever.inc(l)\n if (SemanticVersion.tags.indexOf(l) !== -1) this.semanticver.inc(l)\n if (ModifierVersion.tags.indexOf(l) !== -1) this.modifierver.inc(l)\n\n if (levels.length === 1) {\n if (this.isCalendarLeading && this.datever.hasChanged && this.semanticver) {\n this.semanticver.reset()\n }\n }\n else if (levels.length === 2) {\n const l2 = levels[1]\n\n if (ModifierVersion.tags.indexOf(l2) !== -1 && ModifierVersion.tags.indexOf(l) === -1) {\n this.modifierver.inc(l2)\n if (this.isCalendarLeading && this.datever.hasChanged && this.semanticver) {\n this.semanticver.reset()\n }\n }\n else if (SemanticVersion.tags.indexOf(l2) !== -1) {\n if (this.isCalendarLeading && this.datever.hasChanged) this.semanticver.reset()\n else this.semanticver.inc(l2)\n }\n else {\n throw new Error(`The second tag of the level should be either modifier or semantic tag. You specified \"${l2}\" as the second tag and \"${l}\" as the first tag.`)\n }\n }\n else if (levels.length === 3) {\n const l2 = levels[1]\n const l3 = levels[2]\n\n if (SemanticVersion.tags.indexOf(l2) !== -1) {\n if (this.isCalendarLeading && this.datever.hasChanged) this.semanticver.reset()\n else this.semanticver.inc(l2)\n }\n\n if (ModifierVersion.tags.includes(l3) && !ModifierVersion.tags.includes(l2) && !ModifierVersion.tags.includes(l)) {\n this.modifierver.inc(l3)\n }\n else {\n throw new Error(`The third tag of the level must be a modifier tag. You specified \"${l3}\".`)\n }\n }\n\n return this\n }\n\n asObject() {\n const result = {\n calendar: {},\n semantic: {},\n modifier: {}\n }\n\n if (this.datever) result.calendar = this.datever.asObject()\n if (this.semanticver) result.semantic = this.semanticver.asObject()\n if (this.modifierver) result.modifier = this.modifierver.asObject()\n\n return result\n }\n}\n","import DateVersion from './DateVersion.js'\nimport SemanticVersion from './SemanticVersion.js'\nimport ModifierVersion from './ModifierVersion.js'\nimport UtcDate from './UtcDate.js'\nimport LocalDate from './LocalDate.js'\nimport Version from './Version.js'\n\nclass Calver {\n constructor() {\n this.seperator = '.'\n this.levels = ['CALENDAR', 'MAJOR', 'MINOR', 'PATCH', ...ModifierVersion.tags]\n this._useLocalTime = false\n }\n\n inc(format, version, levels) {\n levels = this.validateLevels(levels)\n format = this.validateFormat(format, levels)\n const parsedVersion = this.parseVersion(version, format, levels)\n const date = this._useLocalTime ? new LocalDate() : new UtcDate()\n\n const obj = (new Version(parsedVersion, this.seperator, date)).inc(levels).asObject()\n\n const result = this.asString(format, obj)\n\n if (version == result) {\n throw new Error('No change happened in the version.')\n }\n\n return result\n }\n\n isValid(format, version) {\n if (!version) return false\n\n try {\n format = this.validateFormat(format, [])\n version = this.parseVersion(version, format, [])\n\n new Version(version, this.seperator)\n\n return true\n } catch (e) {\n return false\n }\n }\n\n getTagType(tag) {\n tag = tag.toUpperCase()\n\n if (DateVersion.tags.indexOf(tag) !== -1) return 'calendar'\n if (SemanticVersion.tags.indexOf(tag) !== -1) return 'semantic'\n if (ModifierVersion.tags.indexOf(tag) !== -1) return 'modifier'\n \n return undefined;\n }\n\n asString(format, obj) {\n const result = []\n\n for (const tag of format.sorted) {\n if (DateVersion.tags.indexOf(tag) !== -1) {\n result.push(obj.calendar[tag])\n }\n if (SemanticVersion.tags.indexOf(tag) !== -1) {\n result.push(obj.semantic[tag])\n }\n if (ModifierVersion.tags.indexOf(tag) !== -1 && obj.modifier) {\n result.push(ModifierVersion.seperator + tag.toLowerCase() + this.seperator + obj.modifier[tag])\n }\n }\n\n return result\n .join(this.seperator)\n .replace(this.seperator + ModifierVersion.seperator, ModifierVersion.seperator)\n }\n\n parseVersion(version, format, levels) {\n const map = {\n isCalendarLeading: format.isCalendarLeading,\n isInitialVersion: !version,\n versionStringHasModifier: /(dev|DEV|alpha|ALPHA|beta|BETA|rc|RC)/.test(version),\n sorted: {},\n calendar: {},\n semantic: {},\n modifier: {}\n }\n\n let startIndex=0, endIndex=0\n for (const tag of format.sorted) {\n endIndex = version.indexOf(this.seperator, startIndex+1)\n if (endIndex === -1) endIndex = undefined\n\n let value = version.slice(startIndex, endIndex)\n\n if (value.indexOf(ModifierVersion.seperator) !== -1) {\n endIndex = version.indexOf(ModifierVersion.seperator, startIndex+1)\n value = version.slice(startIndex, endIndex)\n }\n\n if (ModifierVersion.tags.indexOf(value.toUpperCase()) !== -1) {\n if (value.toUpperCase() != tag) value = '-1'\n else value = version.slice(startIndex + value.length + 1)\n }\n\n if (isNaN(startIndex)) {\n value = ModifierVersion.tags.indexOf(tag) !== -1 ? '-1' : '0'\n }\n\n if (value == '') {\n value = '0'\n }\n\n map.sorted[tag] = value\n if (format.calendar.indexOf(tag) !== -1) map.calendar[tag] = value\n if (format.semantic.indexOf(tag) !== -1) map.semantic[tag] = value\n if (format.modifier.indexOf(tag) !== -1) map.modifier[tag] = value\n\n startIndex = endIndex + 1\n }\n\n return map\n }\n\n validateFormat(format, levels) {\n const result = {\n sorted: [],\n calendar: [],\n semantic: [],\n modifier: []\n }\n\n const tags = format.toUpperCase().split(this.seperator)\n\n for (const tag of tags) {\n if (DateVersion.tags.indexOf(tag) !== -1) result.calendar.push(tag)\n else if (SemanticVersion.tags.indexOf(tag) !== -1) result.semantic.push(tag)\n else throw new Error(`[CALVER]: Invalid format tag \"${tag}\".`)\n\n result.sorted.push(tag)\n }\n\n for (const level of levels) {\n if (ModifierVersion.tags.indexOf(level) !== -1) {\n result.modifier.push(level)\n result.sorted.push(level)\n }\n }\n\n result.isCalendarLeading = DateVersion.tags.indexOf(result.sorted[0]) !== -1\n\n return result\n }\n\n validateLevels(levels) {\n const result = []\n const arr = levels.split('.')\n\n for (const level of arr) {\n const formatted = level.toUpperCase()\n if (this.levels.indexOf(formatted) !== -1) {\n result.push(formatted)\n }\n else {\n throw new Error(`[CALVER]: Invalid level \"${level}\".`)\n }\n }\n\n return result\n }\n\n set useLocalTime(value) {\n this._useLocalTime = value\n }\n}\n\nexport default new Calver()\n"],"names":["DateVersion","tags","reDigits","constructor","obj","parentSeperator","isInitialVersion","date","hasChanged","props","parse","prop","isValid","Error","push","inc","level","prevValue","asString","yearstr","getFullYear","toString","parseInt","slice","padStart","monthstr","getMonth","weekstr","getWeek","daystr","getDate","newValue","v","test","length","indexOf","Number","asObject","reduce","memo","result","tag","join","SemanticVersion","MAJOR","MINOR","PATCH","reset","map","ModifierVersion","seperator","DEV","ALPHA","BETA","RC","UtcDate","Date","now","getUTCFullYear","getUTCMonth","getUTCWeek","getUTCDate","d","UTC","daynum","getUTCDay","setUTCDate","yearstart","Math","ceil","LocalDate","getDay","setDate","Version","version","versionStringHasModifier","isCalendarLeading","datever","semanticver","modifierver","Object","keys","calendar","semantic","modifier","levels","l","removeModifier","l2","l3","includes","Calver","_useLocalTime","format","validateLevels","validateFormat","parsedVersion","parseVersion","e","getTagType","toUpperCase","undefined","sorted","toLowerCase","replace","startIndex","endIndex","value","isNaN","split","arr","formatted","useLocalTime"],"mappings":"AAAe,MAAMA,WAAW,CAAC;EAC/B,OAAOC,IAAI,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAA;AAEtEC,EAAAA,QAAQ,GAAG,QAAQ,CAAA;EAEnBC,WAAWA,CAACC,GAAG,EAAEC,eAAe,EAAEC,gBAAgB,EAAEC,IAAI,EAAE;AACxD,IAAA,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAA;AACnB,IAAA,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;AACjB,IAAA,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;AACjB,IAAA,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;AACjB,IAAA,IAAI,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E;;;;"} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 1f6857b..d9f5892 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,7 @@ "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^13.0.5", "core-js": "^3.18.3", - "node-releaser": "^1.0.1", + "node-releaser": "^2.0.0-beta.4", "rollup": "^2.57.0", "rollup-plugin-terser": "^7.0.2" }, @@ -45,12 +45,12 @@ } }, "node_modules/@babel/cli": { - "version": "7.19.3", - "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.19.3.tgz", - "integrity": "sha512-643/TybmaCAe101m2tSVHi9UKpETXP9c/Ff4mD2tAwkdP6esKIfaauZFc67vGEM6r9fekbEGid+sZhbEnSe3dg==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.21.0.tgz", + "integrity": "sha512-xi7CxyS8XjSyiwUGCfwf+brtJxjW1/ZTcBUkP10xawIEXLX5HzLn+3aXkgxozcP2UhRhtKTmQurw9Uaes7jZrA==", "dev": true, "dependencies": { - "@jridgewell/trace-mapping": "^0.3.8", + "@jridgewell/trace-mapping": "^0.3.17", "commander": "^4.0.1", "convert-source-map": "^1.1.0", "fs-readdir-recursive": "^1.1.0", @@ -74,9 +74,9 @@ } }, "node_modules/@babel/code-frame": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", - "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", + "version": "7.21.4", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.21.4.tgz", + "integrity": "sha512-LYvhNKfwWSPpocw8GI7gpK2nq3HSDuEPC/uSYaALSJu9xjsalaaYFOq0Pwt5KmVqwEbZlDu81aLXwBOmD/Fv9g==", "dev": true, "dependencies": { "@babel/highlight": "^7.18.6" @@ -86,34 +86,34 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.19.4.tgz", - "integrity": "sha512-CHIGpJcUQ5lU9KrPHTjBMhVwQG6CQjxfg36fGXl3qk/Gik1WwWachaXFuo0uCWJT/mStOKtcbFJCaVLihC1CMw==", + "version": "7.21.4", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.21.4.tgz", + "integrity": "sha512-/DYyDpeCfaVinT40FPGdkkb+lYSKvsVuMjDAG7jPOWWiM1ibOaB9CXJAlc4d1QpP/U2q2P9jbrSlClKSErd55g==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { - "version": "7.19.6", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.19.6.tgz", - "integrity": "sha512-D2Ue4KHpc6Ys2+AxpIx1BZ8+UegLLLE2p3KJEuJRKmokHOtl49jQ5ny1773KsGLZs8MQvBidAF6yWUJxRqtKtg==", - "dev": true, - "dependencies": { - "@ampproject/remapping": "^2.1.0", - "@babel/code-frame": "^7.18.6", - "@babel/generator": "^7.19.6", - "@babel/helper-compilation-targets": "^7.19.3", - "@babel/helper-module-transforms": "^7.19.6", - "@babel/helpers": "^7.19.4", - "@babel/parser": "^7.19.6", - "@babel/template": "^7.18.10", - "@babel/traverse": "^7.19.6", - "@babel/types": "^7.19.4", + "version": "7.21.4", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.21.4.tgz", + "integrity": "sha512-qt/YV149Jman/6AfmlxJ04LMIu8bMoyl3RB91yTFrxQmgbrSvQMy7cI8Q62FHx1t8wJ8B5fu0UDoLwHAhUo1QA==", + "dev": true, + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.21.4", + "@babel/generator": "^7.21.4", + "@babel/helper-compilation-targets": "^7.21.4", + "@babel/helper-module-transforms": "^7.21.2", + "@babel/helpers": "^7.21.0", + "@babel/parser": "^7.21.4", + "@babel/template": "^7.20.7", + "@babel/traverse": "^7.21.4", + "@babel/types": "^7.21.4", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", - "json5": "^2.2.1", + "json5": "^2.2.2", "semver": "^6.3.0" }, "engines": { @@ -125,13 +125,14 @@ } }, "node_modules/@babel/generator": { - "version": "7.19.6", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.19.6.tgz", - "integrity": "sha512-oHGRUQeoX1QrKeJIKVe0hwjGqNnVYsM5Nep5zo0uE0m42sLH+Fsd2pStJ5sRM1bNyTUUoz0pe2lTeMJrb/taTA==", + "version": "7.21.4", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.21.4.tgz", + "integrity": "sha512-NieM3pVIYW2SwGzKoqfPrQsf4xGs9M9AIG3ThppsSRmO+m7eQhmI6amajKMUeIO37wFfsvnvcxQFx6x6iqxDnA==", "dev": true, "dependencies": { - "@babel/types": "^7.19.4", + "@babel/types": "^7.21.4", "@jridgewell/gen-mapping": "^0.3.2", + "@jridgewell/trace-mapping": "^0.3.17", "jsesc": "^2.5.1" }, "engines": { @@ -178,14 +179,15 @@ } }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.19.3", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.19.3.tgz", - "integrity": "sha512-65ESqLGyGmLvgR0mst5AdW1FkNlj9rQsCKduzEoEPhBCDFGXvz2jW6bXFG6i0/MrV2s7hhXjjb2yAzcPuQlLwg==", + "version": "7.21.4", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.21.4.tgz", + "integrity": "sha512-Fa0tTuOXZ1iL8IeDFUWCzjZcn+sJGd9RZdH9esYVjEejGmzf+FFYQpMi/kZUk2kPy/q1H3/GPw7np8qar/stfg==", "dev": true, "dependencies": { - "@babel/compat-data": "^7.19.3", - "@babel/helper-validator-option": "^7.18.6", + "@babel/compat-data": "^7.21.4", + "@babel/helper-validator-option": "^7.21.0", "browserslist": "^4.21.3", + "lru-cache": "^5.1.1", "semver": "^6.3.0" }, "engines": { @@ -196,17 +198,18 @@ } }, "node_modules/@babel/helper-create-class-features-plugin": { - "version": "7.19.0", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.19.0.tgz", - "integrity": "sha512-NRz8DwF4jT3UfrmUoZjd0Uph9HQnP30t7Ash+weACcyNkiYTywpIjDBgReJMKgr+n86sn2nPVVmJ28Dm053Kqw==", + "version": "7.21.4", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.21.4.tgz", + "integrity": "sha512-46QrX2CQlaFRF4TkwfTt6nJD7IHq8539cCL7SDpqWSDeJKY1xylKKY5F/33mJhLZ3mFvKv2gGrVS6NkyF6qs+Q==", "dev": true, "dependencies": { "@babel/helper-annotate-as-pure": "^7.18.6", "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-function-name": "^7.19.0", - "@babel/helper-member-expression-to-functions": "^7.18.9", + "@babel/helper-function-name": "^7.21.0", + "@babel/helper-member-expression-to-functions": "^7.21.0", "@babel/helper-optimise-call-expression": "^7.18.6", - "@babel/helper-replace-supers": "^7.18.9", + "@babel/helper-replace-supers": "^7.20.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.20.0", "@babel/helper-split-export-declaration": "^7.18.6" }, "engines": { @@ -217,13 +220,13 @@ } }, "node_modules/@babel/helper-create-regexp-features-plugin": { - "version": "7.19.0", - "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.19.0.tgz", - "integrity": "sha512-htnV+mHX32DF81amCDrwIDr8nrp1PTm+3wfBN9/v8QJOLEioOCOG7qNyq0nHeFiWbT3Eb7gsPwEmV64UCQ1jzw==", + "version": "7.21.4", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.21.4.tgz", + "integrity": "sha512-M00OuhU+0GyZ5iBBN9czjugzWrEq2vDpf/zCYHxxf93ul/Q5rv+a5h+/+0WnI1AebHNVtl5bFV0qsJoH23DbfA==", "dev": true, "dependencies": { "@babel/helper-annotate-as-pure": "^7.18.6", - "regexpu-core": "^5.1.0" + "regexpu-core": "^5.3.1" }, "engines": { "node": ">=6.9.0" @@ -271,13 +274,13 @@ } }, "node_modules/@babel/helper-function-name": { - "version": "7.19.0", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz", - "integrity": "sha512-WAwHBINyrpqywkUH0nTnNgI5ina5TFn85HKS0pbPDfxFfhyR/aNQEn4hGi1P1JyT//I0t4OgXUlofzWILRvS5w==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.21.0.tgz", + "integrity": "sha512-HfK1aMRanKHpxemaY2gqBmL04iAPOPRj7DxtNbiDOrJK+gdwkiNRVpCpUJYbUT+aZyemKN8brqTOxzCaG6ExRg==", "dev": true, "dependencies": { - "@babel/template": "^7.18.10", - "@babel/types": "^7.19.0" + "@babel/template": "^7.20.7", + "@babel/types": "^7.21.0" }, "engines": { "node": ">=6.9.0" @@ -296,43 +299,43 @@ } }, "node_modules/@babel/helper-member-expression-to-functions": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.18.9.tgz", - "integrity": "sha512-RxifAh2ZoVU67PyKIO4AMi1wTenGfMR/O/ae0CCRqwgBAt5v7xjdtRw7UoSbsreKrQn5t7r89eruK/9JjYHuDg==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.21.0.tgz", + "integrity": "sha512-Muu8cdZwNN6mRRNG6lAYErJ5X3bRevgYR2O8wN0yn7jJSnGDu6eG59RfT29JHxGUovyfrh6Pj0XzmR7drNVL3Q==", "dev": true, "dependencies": { - "@babel/types": "^7.18.9" + "@babel/types": "^7.21.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-imports": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz", - "integrity": "sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==", + "version": "7.21.4", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.21.4.tgz", + "integrity": "sha512-orajc5T2PsRYUN3ZryCEFeMDYwyw09c/pZeaQEZPH0MpKzSvn3e0uXsDBu3k03VI+9DBiRo+l22BfKTpKwa/Wg==", "dev": true, "dependencies": { - "@babel/types": "^7.18.6" + "@babel/types": "^7.21.4" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.19.6", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.19.6.tgz", - "integrity": "sha512-fCmcfQo/KYr/VXXDIyd3CBGZ6AFhPFy1TfSEJ+PilGVlQT6jcbqtHAM4C1EciRqMza7/TpOUZliuSH+U6HAhJw==", + "version": "7.21.2", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.21.2.tgz", + "integrity": "sha512-79yj2AR4U/Oqq/WOV7Lx6hUjau1Zfo4cI+JLAVYeMV5XIlbOhmjEk5ulbTc9fMpmlojzZHkUUxAiK+UKn+hNQQ==", "dev": true, "dependencies": { "@babel/helper-environment-visitor": "^7.18.9", "@babel/helper-module-imports": "^7.18.6", - "@babel/helper-simple-access": "^7.19.4", + "@babel/helper-simple-access": "^7.20.2", "@babel/helper-split-export-declaration": "^7.18.6", "@babel/helper-validator-identifier": "^7.19.1", - "@babel/template": "^7.18.10", - "@babel/traverse": "^7.19.6", - "@babel/types": "^7.19.4" + "@babel/template": "^7.20.7", + "@babel/traverse": "^7.21.2", + "@babel/types": "^7.21.2" }, "engines": { "node": ">=6.9.0" @@ -351,9 +354,9 @@ } }, "node_modules/@babel/helper-plugin-utils": { - "version": "7.19.0", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.19.0.tgz", - "integrity": "sha512-40Ryx7I8mT+0gaNxm8JGTZFUITNqdLAgdg0hXzeVZxVD6nFsdhQvip6v8dqkRHzsz1VFpFAaOCHNn0vKBL7Czw==", + "version": "7.20.2", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.20.2.tgz", + "integrity": "sha512-8RvlJG2mj4huQ4pZ+rU9lqKi9ZKiRmuvGuM2HlWmkmgOhbs6zEAw6IEiJ5cQqGbDzGZOhwuOQNtZMi/ENLjZoQ==", "dev": true, "engines": { "node": ">=6.9.0" @@ -378,40 +381,41 @@ } }, "node_modules/@babel/helper-replace-supers": { - "version": "7.19.1", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.19.1.tgz", - "integrity": "sha512-T7ahH7wV0Hfs46SFh5Jz3s0B6+o8g3c+7TMxu7xKfmHikg7EAZ3I2Qk9LFhjxXq8sL7UkP5JflezNwoZa8WvWw==", + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.20.7.tgz", + "integrity": "sha512-vujDMtB6LVfNW13jhlCrp48QNslK6JXi7lQG736HVbHz/mbf4Dc7tIRh1Xf5C0rF7BP8iiSxGMCmY6Ci1ven3A==", "dev": true, "dependencies": { "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-member-expression-to-functions": "^7.18.9", + "@babel/helper-member-expression-to-functions": "^7.20.7", "@babel/helper-optimise-call-expression": "^7.18.6", - "@babel/traverse": "^7.19.1", - "@babel/types": "^7.19.0" + "@babel/template": "^7.20.7", + "@babel/traverse": "^7.20.7", + "@babel/types": "^7.20.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-simple-access": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.19.4.tgz", - "integrity": "sha512-f9Xq6WqBFqaDfbCzn2w85hwklswz5qsKlh7f08w4Y9yhJHpnNC0QemtSkK5YyOY8kPGvyiwdzZksGUhnGdaUIg==", + "version": "7.20.2", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.20.2.tgz", + "integrity": "sha512-+0woI/WPq59IrqDYbVGfshjT5Dmk/nnbdpcF8SnMhhXObpTq2KNBdLFRFrkVdbDOyUmHBCxzm5FHV1rACIkIbA==", "dev": true, "dependencies": { - "@babel/types": "^7.19.4" + "@babel/types": "^7.20.2" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-skip-transparent-expression-wrappers": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.18.9.tgz", - "integrity": "sha512-imytd2gHi3cJPsybLRbmFrF7u5BIEuI2cNheyKi3/iOBC63kNn3q8Crn2xVuESli0aM4KYsyEqKyS7lFL8YVtw==", + "version": "7.20.0", + "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.20.0.tgz", + "integrity": "sha512-5y1JYeNKfvnT8sZcK9DVRtpTbGiomYIHviSP3OQWmDPU3DeH4a1ZlT/N2lyQ5P8egjcRaT/Y9aNqUxK0WsnIIg==", "dev": true, "dependencies": { - "@babel/types": "^7.18.9" + "@babel/types": "^7.20.0" }, "engines": { "node": ">=6.9.0" @@ -448,38 +452,38 @@ } }, "node_modules/@babel/helper-validator-option": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz", - "integrity": "sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.21.0.tgz", + "integrity": "sha512-rmL/B8/f0mKS2baE9ZpyTcTavvEuWhTTW8amjzXNvYG4AwBsqTLikfXsEofsJEfKHf+HQVQbFOHy6o+4cnC/fQ==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-wrap-function": { - "version": "7.19.0", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.19.0.tgz", - "integrity": "sha512-txX8aN8CZyYGTwcLhlk87KRqncAzhh5TpQamZUa0/u3an36NtDpUP6bQgBCBcLeBs09R/OwQu3OjK0k/HwfNDg==", + "version": "7.20.5", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.20.5.tgz", + "integrity": "sha512-bYMxIWK5mh+TgXGVqAtnu5Yn1un+v8DDZtqyzKRLUzrh70Eal2O3aZ7aPYiMADO4uKlkzOiRiZ6GX5q3qxvW9Q==", "dev": true, "dependencies": { "@babel/helper-function-name": "^7.19.0", "@babel/template": "^7.18.10", - "@babel/traverse": "^7.19.0", - "@babel/types": "^7.19.0" + "@babel/traverse": "^7.20.5", + "@babel/types": "^7.20.5" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helpers": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.19.4.tgz", - "integrity": "sha512-G+z3aOx2nfDHwX/kyVii5fJq+bgscg89/dJNWpYeKeBv3v9xX8EIabmx1k6u9LS04H7nROFVRVK+e3k0VHp+sw==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.21.0.tgz", + "integrity": "sha512-XXve0CBtOW0pd7MRzzmoyuSj0e3SEzj8pgyFxnTT1NJZL38BD1MK7yYrm8yefRPIDvNNe14xR4FdbHwpInD4rA==", "dev": true, "dependencies": { - "@babel/template": "^7.18.10", - "@babel/traverse": "^7.19.4", - "@babel/types": "^7.19.4" + "@babel/template": "^7.20.7", + "@babel/traverse": "^7.21.0", + "@babel/types": "^7.21.0" }, "engines": { "node": ">=6.9.0" @@ -500,9 +504,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.19.6", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.19.6.tgz", - "integrity": "sha512-h1IUp81s2JYJ3mRkdxJgs4UvmSsRvDrx5ICSJbPvtWYv5i1nTBGcBpnog+89rAFMwvvru6E5NUHdBe01UeSzYA==", + "version": "7.21.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.21.4.tgz", + "integrity": "sha512-alVJj7k7zIxqBZ7BTRhz0IqJFxW1VJbm6N8JbcYhQ186df9ZBPbZBmWSqAMXwHGsCJdYks7z/voa3ibiS5bCIw==", "dev": true, "bin": { "parser": "bin/babel-parser.js" @@ -527,14 +531,14 @@ } }, "node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.18.9.tgz", - "integrity": "sha512-AHrP9jadvH7qlOj6PINbgSuphjQUAK7AOT7DPjBo9EHoLhQTnnK5u45e1Hd4DbSQEO9nqPWtQ89r+XEOWFScKg==", + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.20.7.tgz", + "integrity": "sha512-sbr9+wNE5aXMBBFBICk01tt7sBf2Oc9ikRFEcem/ZORup9IMUdNhW7/wVLEbbtlWOsEubJet46mHAL2C8+2jKQ==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.18.9", - "@babel/helper-skip-transparent-expression-wrappers": "^7.18.9", - "@babel/plugin-proposal-optional-chaining": "^7.18.9" + "@babel/helper-plugin-utils": "^7.20.2", + "@babel/helper-skip-transparent-expression-wrappers": "^7.20.0", + "@babel/plugin-proposal-optional-chaining": "^7.20.7" }, "engines": { "node": ">=6.9.0" @@ -544,13 +548,13 @@ } }, "node_modules/@babel/plugin-proposal-async-generator-functions": { - "version": "7.19.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.19.1.tgz", - "integrity": "sha512-0yu8vNATgLy4ivqMNBIwb1HebCelqN7YX8SL3FDXORv/RqT0zEEWUCH4GH44JsSrvCu6GqnAdR5EBFAPeNBB4Q==", + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.20.7.tgz", + "integrity": "sha512-xMbiLsn/8RK7Wq7VeVytytS2L6qE69bXPB10YCmMdDZbKF4okCqY74pI/jJQ/8U0b/F6NrT2+14b8/P9/3AMGA==", "dev": true, "dependencies": { "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-plugin-utils": "^7.19.0", + "@babel/helper-plugin-utils": "^7.20.2", "@babel/helper-remap-async-to-generator": "^7.18.9", "@babel/plugin-syntax-async-generators": "^7.8.4" }, @@ -578,13 +582,13 @@ } }, "node_modules/@babel/plugin-proposal-class-static-block": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.18.6.tgz", - "integrity": "sha512-+I3oIiNxrCpup3Gi8n5IGMwj0gOCAjcJUSQEcotNnCCPMEnixawOQ+KeJPlgfjzx+FKQ1QSyZOWe7wmoJp7vhw==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.21.0.tgz", + "integrity": "sha512-XP5G9MWNUskFuP30IfFSEFB0Z6HzLIUcjYM4bYOPHXl7eiJ9HFv8tWj6TXTN5QODiEhDZAeI4hLok2iHFFV4hw==", "dev": true, "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.18.6", - "@babel/helper-plugin-utils": "^7.18.6", + "@babel/helper-create-class-features-plugin": "^7.21.0", + "@babel/helper-plugin-utils": "^7.20.2", "@babel/plugin-syntax-class-static-block": "^7.14.5" }, "engines": { @@ -643,12 +647,12 @@ } }, "node_modules/@babel/plugin-proposal-logical-assignment-operators": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.18.9.tgz", - "integrity": "sha512-128YbMpjCrP35IOExw2Fq+x55LMP42DzhOhX2aNNIdI9avSWl2PI0yuBWarr3RYpZBSPtabfadkH2yeRiMD61Q==", + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.20.7.tgz", + "integrity": "sha512-y7C7cZgpMIjWlKE5T7eJwp+tnRYM89HmRvWM5EQuB5BoHEONjmQ8lSNmBUwOyy/GFRsohJED51YBF79hE1djug==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.18.9", + "@babel/helper-plugin-utils": "^7.20.2", "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" }, "engines": { @@ -691,16 +695,16 @@ } }, "node_modules/@babel/plugin-proposal-object-rest-spread": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.19.4.tgz", - "integrity": "sha512-wHmj6LDxVDnL+3WhXteUBaoM1aVILZODAUjg11kHqG4cOlfgMQGxw6aCgvrXrmaJR3Bn14oZhImyCPZzRpC93Q==", + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.20.7.tgz", + "integrity": "sha512-d2S98yCiLxDVmBmE8UjGcfPvNEUbA1U5q5WxaWFUGRzJSVAZqm5W6MbPct0jxnegUZ0niLeNX+IOzEs7wYg9Dg==", "dev": true, "dependencies": { - "@babel/compat-data": "^7.19.4", - "@babel/helper-compilation-targets": "^7.19.3", - "@babel/helper-plugin-utils": "^7.19.0", + "@babel/compat-data": "^7.20.5", + "@babel/helper-compilation-targets": "^7.20.7", + "@babel/helper-plugin-utils": "^7.20.2", "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-transform-parameters": "^7.18.8" + "@babel/plugin-transform-parameters": "^7.20.7" }, "engines": { "node": ">=6.9.0" @@ -726,13 +730,13 @@ } }, "node_modules/@babel/plugin-proposal-optional-chaining": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.18.9.tgz", - "integrity": "sha512-v5nwt4IqBXihxGsW2QmCWMDS3B3bzGIk/EQVZz2ei7f3NJl8NzAJVvUmpDW5q1CRNY+Beb/k58UAH1Km1N411w==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.21.0.tgz", + "integrity": "sha512-p4zeefM72gpmEe2fkUr/OnOXpWEf8nAgk7ZYVqqfFiyIG7oFfVZcCrU64hWn5xp4tQ9LkV4bTIa5rD0KANpKNA==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.18.9", - "@babel/helper-skip-transparent-expression-wrappers": "^7.18.9", + "@babel/helper-plugin-utils": "^7.20.2", + "@babel/helper-skip-transparent-expression-wrappers": "^7.20.0", "@babel/plugin-syntax-optional-chaining": "^7.8.3" }, "engines": { @@ -759,14 +763,14 @@ } }, "node_modules/@babel/plugin-proposal-private-property-in-object": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.18.6.tgz", - "integrity": "sha512-9Rysx7FOctvT5ouj5JODjAFAkgGoudQuLPamZb0v1TGLpapdNaftzifU8NTWQm0IRjqoYypdrSmyWgkocDQ8Dw==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.0.tgz", + "integrity": "sha512-ha4zfehbJjc5MmXBlHec1igel5TJXXLDDRbuJ4+XT2TJcyD9/V1919BA8gMvsdHcNMBy4WBUBiRb3nw/EQUtBw==", "dev": true, "dependencies": { "@babel/helper-annotate-as-pure": "^7.18.6", - "@babel/helper-create-class-features-plugin": "^7.18.6", - "@babel/helper-plugin-utils": "^7.18.6", + "@babel/helper-create-class-features-plugin": "^7.21.0", + "@babel/helper-plugin-utils": "^7.20.2", "@babel/plugin-syntax-private-property-in-object": "^7.14.5" }, "engines": { @@ -856,12 +860,12 @@ } }, "node_modules/@babel/plugin-syntax-import-assertions": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.18.6.tgz", - "integrity": "sha512-/DU3RXad9+bZwrgWJQKbr39gYbJpLJHezqEzRzi/BHRlJ9zsQb4CK2CA/5apllXNomwA1qHwzvHl+AdEmC5krQ==", + "version": "7.20.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.20.0.tgz", + "integrity": "sha512-IUh1vakzNoWalR8ch/areW7qFopR2AEw03JlG7BbrDqmQ4X3q9uuipQwSGrUn7oGiemKjtSLDhNtQHzMHr1JdQ==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.18.6" + "@babel/helper-plugin-utils": "^7.19.0" }, "engines": { "node": ">=6.9.0" @@ -985,12 +989,12 @@ } }, "node_modules/@babel/plugin-transform-arrow-functions": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.18.6.tgz", - "integrity": "sha512-9S9X9RUefzrsHZmKMbDXxweEH+YlE8JJEuat9FdvW9Qh1cw7W64jELCtWNkPBPX5En45uy28KGvA/AySqUh8CQ==", + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.20.7.tgz", + "integrity": "sha512-3poA5E7dzDomxj9WXWwuD6A5F3kc7VXwIJO+E+J8qtDtS+pXPAhrgEyh+9GBwBgPq1Z+bB+/JD60lp5jsN7JPQ==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.18.6" + "@babel/helper-plugin-utils": "^7.20.2" }, "engines": { "node": ">=6.9.0" @@ -1000,14 +1004,14 @@ } }, "node_modules/@babel/plugin-transform-async-to-generator": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.18.6.tgz", - "integrity": "sha512-ARE5wZLKnTgPW7/1ftQmSi1CmkqqHo2DNmtztFhvgtOWSDfq0Cq9/9L+KnZNYSNrydBekhW3rwShduf59RoXag==", + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.20.7.tgz", + "integrity": "sha512-Uo5gwHPT9vgnSXQxqGtpdufUiWp96gk7yiP4Mp5bm1QMkEmLXBO7PAGYbKoJ6DhAwiNkcHFBol/x5zZZkL/t0Q==", "dev": true, "dependencies": { "@babel/helper-module-imports": "^7.18.6", - "@babel/helper-plugin-utils": "^7.18.6", - "@babel/helper-remap-async-to-generator": "^7.18.6" + "@babel/helper-plugin-utils": "^7.20.2", + "@babel/helper-remap-async-to-generator": "^7.18.9" }, "engines": { "node": ">=6.9.0" @@ -1032,12 +1036,12 @@ } }, "node_modules/@babel/plugin-transform-block-scoping": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.19.4.tgz", - "integrity": "sha512-934S2VLLlt2hRJwPf4MczaOr4hYF0z+VKPwqTNxyKX7NthTiPfhuKFWQZHXRM0vh/wo/VyXB3s4bZUNA08l+tQ==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.21.0.tgz", + "integrity": "sha512-Mdrbunoh9SxwFZapeHVrwFmri16+oYotcZysSzhNIVDwIAb1UV+kvnxULSYq9J3/q5MDG+4X6w8QVgD1zhBXNQ==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.19.0" + "@babel/helper-plugin-utils": "^7.20.2" }, "engines": { "node": ">=6.9.0" @@ -1047,18 +1051,18 @@ } }, "node_modules/@babel/plugin-transform-classes": { - "version": "7.19.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.19.0.tgz", - "integrity": "sha512-YfeEE9kCjqTS9IitkgfJuxjcEtLUHMqa8yUJ6zdz8vR7hKuo6mOy2C05P0F1tdMmDCeuyidKnlrw/iTppHcr2A==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.21.0.tgz", + "integrity": "sha512-RZhbYTCEUAe6ntPehC4hlslPWosNHDox+vAs4On/mCLRLfoDVHf6hVEd7kuxr1RnHwJmxFfUM3cZiZRmPxJPXQ==", "dev": true, "dependencies": { "@babel/helper-annotate-as-pure": "^7.18.6", - "@babel/helper-compilation-targets": "^7.19.0", + "@babel/helper-compilation-targets": "^7.20.7", "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-function-name": "^7.19.0", + "@babel/helper-function-name": "^7.21.0", "@babel/helper-optimise-call-expression": "^7.18.6", - "@babel/helper-plugin-utils": "^7.19.0", - "@babel/helper-replace-supers": "^7.18.9", + "@babel/helper-plugin-utils": "^7.20.2", + "@babel/helper-replace-supers": "^7.20.7", "@babel/helper-split-export-declaration": "^7.18.6", "globals": "^11.1.0" }, @@ -1070,12 +1074,13 @@ } }, "node_modules/@babel/plugin-transform-computed-properties": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.18.9.tgz", - "integrity": "sha512-+i0ZU1bCDymKakLxn5srGHrsAPRELC2WIbzwjLhHW9SIE1cPYkLCL0NlnXMZaM1vhfgA2+M7hySk42VBvrkBRw==", + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.20.7.tgz", + "integrity": "sha512-Lz7MvBK6DTjElHAmfu6bfANzKcxpyNPeYBGEafyA6E5HtRpjpZwU+u7Qrgz/2OR0z+5TvKYbPdphfSaAcZBrYQ==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.18.9" + "@babel/helper-plugin-utils": "^7.20.2", + "@babel/template": "^7.20.7" }, "engines": { "node": ">=6.9.0" @@ -1085,12 +1090,12 @@ } }, "node_modules/@babel/plugin-transform-destructuring": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.19.4.tgz", - "integrity": "sha512-t0j0Hgidqf0aM86dF8U+vXYReUgJnlv4bZLsyoPnwZNrGY+7/38o8YjaELrvHeVfTZao15kjR0PVv0nju2iduA==", + "version": "7.21.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.21.3.tgz", + "integrity": "sha512-bp6hwMFzuiE4HqYEyoGJ/V2LeIWn+hLVKc4pnj++E5XQptwhtcGmSayM029d/j2X1bPKGTlsyPwAubuU22KhMA==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.19.0" + "@babel/helper-plugin-utils": "^7.20.2" }, "engines": { "node": ">=6.9.0" @@ -1147,12 +1152,12 @@ } }, "node_modules/@babel/plugin-transform-for-of": { - "version": "7.18.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.18.8.tgz", - "integrity": "sha512-yEfTRnjuskWYo0k1mHUqrVWaZwrdq8AYbfrpqULOJOaucGSp4mNMVps+YtA8byoevxS/urwU75vyhQIxcCgiBQ==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.21.0.tgz", + "integrity": "sha512-LlUYlydgDkKpIY7mcBWvyPPmMcOphEyYA27Ef4xpbh1IiDNLr0kZsos2nf92vz3IccvJI25QUwp86Eo5s6HmBQ==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.18.6" + "@babel/helper-plugin-utils": "^7.20.2" }, "engines": { "node": ">=6.9.0" @@ -1209,13 +1214,13 @@ } }, "node_modules/@babel/plugin-transform-modules-amd": { - "version": "7.19.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.19.6.tgz", - "integrity": "sha512-uG3od2mXvAtIFQIh0xrpLH6r5fpSQN04gIVovl+ODLdUMANokxQLZnPBHcjmv3GxRjnqwLuHvppjjcelqUFZvg==", + "version": "7.20.11", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.20.11.tgz", + "integrity": "sha512-NuzCt5IIYOW0O30UvqktzHYR2ud5bOWbY0yaxWZ6G+aFzOMJvrs5YHNikrbdaT15+KNO31nPOy5Fim3ku6Zb5g==", "dev": true, "dependencies": { - "@babel/helper-module-transforms": "^7.19.6", - "@babel/helper-plugin-utils": "^7.19.0" + "@babel/helper-module-transforms": "^7.20.11", + "@babel/helper-plugin-utils": "^7.20.2" }, "engines": { "node": ">=6.9.0" @@ -1225,14 +1230,14 @@ } }, "node_modules/@babel/plugin-transform-modules-commonjs": { - "version": "7.19.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.19.6.tgz", - "integrity": "sha512-8PIa1ym4XRTKuSsOUXqDG0YaOlEuTVvHMe5JCfgBMOtHvJKw/4NGovEGN33viISshG/rZNVrACiBmPQLvWN8xQ==", + "version": "7.21.2", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.21.2.tgz", + "integrity": "sha512-Cln+Yy04Gxua7iPdj6nOV96smLGjpElir5YwzF0LBPKoPlLDNJePNlrGGaybAJkd0zKRnOVXOgizSqPYMNYkzA==", "dev": true, "dependencies": { - "@babel/helper-module-transforms": "^7.19.6", - "@babel/helper-plugin-utils": "^7.19.0", - "@babel/helper-simple-access": "^7.19.4" + "@babel/helper-module-transforms": "^7.21.2", + "@babel/helper-plugin-utils": "^7.20.2", + "@babel/helper-simple-access": "^7.20.2" }, "engines": { "node": ">=6.9.0" @@ -1242,14 +1247,14 @@ } }, "node_modules/@babel/plugin-transform-modules-systemjs": { - "version": "7.19.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.19.6.tgz", - "integrity": "sha512-fqGLBepcc3kErfR9R3DnVpURmckXP7gj7bAlrTQyBxrigFqszZCkFkcoxzCp2v32XmwXLvbw+8Yq9/b+QqksjQ==", + "version": "7.20.11", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.20.11.tgz", + "integrity": "sha512-vVu5g9BPQKSFEmvt2TA4Da5N+QVS66EX21d8uoOihC+OCpUoGvzVsXeqFdtAEfVa5BILAeFt+U7yVmLbQnAJmw==", "dev": true, "dependencies": { "@babel/helper-hoist-variables": "^7.18.6", - "@babel/helper-module-transforms": "^7.19.6", - "@babel/helper-plugin-utils": "^7.19.0", + "@babel/helper-module-transforms": "^7.20.11", + "@babel/helper-plugin-utils": "^7.20.2", "@babel/helper-validator-identifier": "^7.19.1" }, "engines": { @@ -1276,13 +1281,13 @@ } }, "node_modules/@babel/plugin-transform-named-capturing-groups-regex": { - "version": "7.19.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.19.1.tgz", - "integrity": "sha512-oWk9l9WItWBQYS4FgXD4Uyy5kq898lvkXpXQxoJEY1RnvPk4R/Dvu2ebXU9q8lP+rlMwUQTFf2Ok6d78ODa0kw==", + "version": "7.20.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.20.5.tgz", + "integrity": "sha512-mOW4tTzi5iTLnw+78iEq3gr8Aoq4WNRGpmSlrogqaiCBoR1HFhpU4JkpQFOHfeYx3ReVIFWOQJS4aZBRvuZ6mA==", "dev": true, "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.19.0", - "@babel/helper-plugin-utils": "^7.19.0" + "@babel/helper-create-regexp-features-plugin": "^7.20.5", + "@babel/helper-plugin-utils": "^7.20.2" }, "engines": { "node": ">=6.9.0" @@ -1323,12 +1328,12 @@ } }, "node_modules/@babel/plugin-transform-parameters": { - "version": "7.18.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.18.8.tgz", - "integrity": "sha512-ivfbE3X2Ss+Fj8nnXvKJS6sjRG4gzwPMsP+taZC+ZzEGjAYlvENixmt1sZ5Ca6tWls+BlKSGKPJ6OOXvXCbkFg==", + "version": "7.21.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.21.3.tgz", + "integrity": "sha512-Wxc+TvppQG9xWFYatvCGPvZ6+SIUxQ2ZdiBP+PHYMIjnPXD+uThCshaz4NZOnODAtBjjcVQQ/3OKs9LW28purQ==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.18.6" + "@babel/helper-plugin-utils": "^7.20.2" }, "engines": { "node": ">=6.9.0" @@ -1353,13 +1358,13 @@ } }, "node_modules/@babel/plugin-transform-regenerator": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.18.6.tgz", - "integrity": "sha512-poqRI2+qiSdeldcz4wTSTXBRryoq3Gc70ye7m7UD5Ww0nE29IXqMl6r7Nd15WBgRd74vloEMlShtH6CKxVzfmQ==", + "version": "7.20.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.20.5.tgz", + "integrity": "sha512-kW/oO7HPBtntbsahzQ0qSE3tFvkFwnbozz3NWFhLGqH75vLEg+sCGngLlhVkePlCs3Jv0dBBHDzCHxNiFAQKCQ==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.18.6", - "regenerator-transform": "^0.15.0" + "@babel/helper-plugin-utils": "^7.20.2", + "regenerator-transform": "^0.15.1" }, "engines": { "node": ">=6.9.0" @@ -1384,13 +1389,13 @@ } }, "node_modules/@babel/plugin-transform-runtime": { - "version": "7.19.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.19.6.tgz", - "integrity": "sha512-PRH37lz4JU156lYFW1p8OxE5i7d6Sl/zV58ooyr+q1J1lnQPyg5tIiXlIwNVhJaY4W3TmOtdc8jqdXQcB1v5Yw==", + "version": "7.21.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.21.4.tgz", + "integrity": "sha512-1J4dhrw1h1PqnNNpzwxQ2UBymJUF8KuPjAAnlLwZcGhHAIqUigFW7cdK6GHoB64ubY4qXQNYknoUeks4Wz7CUA==", "dev": true, "dependencies": { - "@babel/helper-module-imports": "^7.18.6", - "@babel/helper-plugin-utils": "^7.19.0", + "@babel/helper-module-imports": "^7.21.4", + "@babel/helper-plugin-utils": "^7.20.2", "babel-plugin-polyfill-corejs2": "^0.3.3", "babel-plugin-polyfill-corejs3": "^0.6.0", "babel-plugin-polyfill-regenerator": "^0.4.1", @@ -1419,13 +1424,13 @@ } }, "node_modules/@babel/plugin-transform-spread": { - "version": "7.19.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.19.0.tgz", - "integrity": "sha512-RsuMk7j6n+r752EtzyScnWkQyuJdli6LdO5Klv8Yx0OfPVTcQkIUfS8clx5e9yHXzlnhOZF3CbQ8C2uP5j074w==", + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.20.7.tgz", + "integrity": "sha512-ewBbHQ+1U/VnH1fxltbJqDeWBU1oNLG8Dj11uIv3xVf7nrQu0bPGe5Rf716r7K5Qz+SqtAOVswoVunoiBtGhxw==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.19.0", - "@babel/helper-skip-transparent-expression-wrappers": "^7.18.9" + "@babel/helper-plugin-utils": "^7.20.2", + "@babel/helper-skip-transparent-expression-wrappers": "^7.20.0" }, "engines": { "node": ">=6.9.0" @@ -1511,38 +1516,38 @@ } }, "node_modules/@babel/preset-env": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.19.4.tgz", - "integrity": "sha512-5QVOTXUdqTCjQuh2GGtdd7YEhoRXBMVGROAtsBeLGIbIz3obCBIfRMT1I3ZKkMgNzwkyCkftDXSSkHxnfVf4qg==", + "version": "7.21.4", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.21.4.tgz", + "integrity": "sha512-2W57zHs2yDLm6GD5ZpvNn71lZ0B/iypSdIeq25OurDKji6AdzV07qp4s3n1/x5BqtiGaTrPN3nerlSCaC5qNTw==", "dev": true, "dependencies": { - "@babel/compat-data": "^7.19.4", - "@babel/helper-compilation-targets": "^7.19.3", - "@babel/helper-plugin-utils": "^7.19.0", - "@babel/helper-validator-option": "^7.18.6", + "@babel/compat-data": "^7.21.4", + "@babel/helper-compilation-targets": "^7.21.4", + "@babel/helper-plugin-utils": "^7.20.2", + "@babel/helper-validator-option": "^7.21.0", "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.18.6", - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.18.9", - "@babel/plugin-proposal-async-generator-functions": "^7.19.1", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.20.7", + "@babel/plugin-proposal-async-generator-functions": "^7.20.7", "@babel/plugin-proposal-class-properties": "^7.18.6", - "@babel/plugin-proposal-class-static-block": "^7.18.6", + "@babel/plugin-proposal-class-static-block": "^7.21.0", "@babel/plugin-proposal-dynamic-import": "^7.18.6", "@babel/plugin-proposal-export-namespace-from": "^7.18.9", "@babel/plugin-proposal-json-strings": "^7.18.6", - "@babel/plugin-proposal-logical-assignment-operators": "^7.18.9", + "@babel/plugin-proposal-logical-assignment-operators": "^7.20.7", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6", "@babel/plugin-proposal-numeric-separator": "^7.18.6", - "@babel/plugin-proposal-object-rest-spread": "^7.19.4", + "@babel/plugin-proposal-object-rest-spread": "^7.20.7", "@babel/plugin-proposal-optional-catch-binding": "^7.18.6", - "@babel/plugin-proposal-optional-chaining": "^7.18.9", + "@babel/plugin-proposal-optional-chaining": "^7.21.0", "@babel/plugin-proposal-private-methods": "^7.18.6", - "@babel/plugin-proposal-private-property-in-object": "^7.18.6", + "@babel/plugin-proposal-private-property-in-object": "^7.21.0", "@babel/plugin-proposal-unicode-property-regex": "^7.18.6", "@babel/plugin-syntax-async-generators": "^7.8.4", "@babel/plugin-syntax-class-properties": "^7.12.13", "@babel/plugin-syntax-class-static-block": "^7.14.5", "@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/plugin-syntax-export-namespace-from": "^7.8.3", - "@babel/plugin-syntax-import-assertions": "^7.18.6", + "@babel/plugin-syntax-import-assertions": "^7.20.0", "@babel/plugin-syntax-json-strings": "^7.8.3", "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", @@ -1552,40 +1557,40 @@ "@babel/plugin-syntax-optional-chaining": "^7.8.3", "@babel/plugin-syntax-private-property-in-object": "^7.14.5", "@babel/plugin-syntax-top-level-await": "^7.14.5", - "@babel/plugin-transform-arrow-functions": "^7.18.6", - "@babel/plugin-transform-async-to-generator": "^7.18.6", + "@babel/plugin-transform-arrow-functions": "^7.20.7", + "@babel/plugin-transform-async-to-generator": "^7.20.7", "@babel/plugin-transform-block-scoped-functions": "^7.18.6", - "@babel/plugin-transform-block-scoping": "^7.19.4", - "@babel/plugin-transform-classes": "^7.19.0", - "@babel/plugin-transform-computed-properties": "^7.18.9", - "@babel/plugin-transform-destructuring": "^7.19.4", + "@babel/plugin-transform-block-scoping": "^7.21.0", + "@babel/plugin-transform-classes": "^7.21.0", + "@babel/plugin-transform-computed-properties": "^7.20.7", + "@babel/plugin-transform-destructuring": "^7.21.3", "@babel/plugin-transform-dotall-regex": "^7.18.6", "@babel/plugin-transform-duplicate-keys": "^7.18.9", "@babel/plugin-transform-exponentiation-operator": "^7.18.6", - "@babel/plugin-transform-for-of": "^7.18.8", + "@babel/plugin-transform-for-of": "^7.21.0", "@babel/plugin-transform-function-name": "^7.18.9", "@babel/plugin-transform-literals": "^7.18.9", "@babel/plugin-transform-member-expression-literals": "^7.18.6", - "@babel/plugin-transform-modules-amd": "^7.18.6", - "@babel/plugin-transform-modules-commonjs": "^7.18.6", - "@babel/plugin-transform-modules-systemjs": "^7.19.0", + "@babel/plugin-transform-modules-amd": "^7.20.11", + "@babel/plugin-transform-modules-commonjs": "^7.21.2", + "@babel/plugin-transform-modules-systemjs": "^7.20.11", "@babel/plugin-transform-modules-umd": "^7.18.6", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.19.1", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.20.5", "@babel/plugin-transform-new-target": "^7.18.6", "@babel/plugin-transform-object-super": "^7.18.6", - "@babel/plugin-transform-parameters": "^7.18.8", + "@babel/plugin-transform-parameters": "^7.21.3", "@babel/plugin-transform-property-literals": "^7.18.6", - "@babel/plugin-transform-regenerator": "^7.18.6", + "@babel/plugin-transform-regenerator": "^7.20.5", "@babel/plugin-transform-reserved-words": "^7.18.6", "@babel/plugin-transform-shorthand-properties": "^7.18.6", - "@babel/plugin-transform-spread": "^7.19.0", + "@babel/plugin-transform-spread": "^7.20.7", "@babel/plugin-transform-sticky-regex": "^7.18.6", "@babel/plugin-transform-template-literals": "^7.18.9", "@babel/plugin-transform-typeof-symbol": "^7.18.9", "@babel/plugin-transform-unicode-escapes": "^7.18.10", "@babel/plugin-transform-unicode-regex": "^7.18.6", "@babel/preset-modules": "^0.1.5", - "@babel/types": "^7.19.4", + "@babel/types": "^7.21.4", "babel-plugin-polyfill-corejs2": "^0.3.3", "babel-plugin-polyfill-corejs3": "^0.6.0", "babel-plugin-polyfill-regenerator": "^0.4.1", @@ -1615,57 +1620,63 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/regjsgen": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@babel/regjsgen/-/regjsgen-0.8.0.tgz", + "integrity": "sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==", + "dev": true + }, "node_modules/@babel/runtime": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.4.tgz", - "integrity": "sha512-EXpLCrk55f+cYqmHsSR+yD/0gAIMxxA9QK9lnQWzhMCvt+YmoBN7Zx94s++Kv0+unHk39vxNO8t+CMA2WSS3wA==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.21.0.tgz", + "integrity": "sha512-xwII0//EObnq89Ji5AKYQaRYiW/nZ3llSv29d49IuxPhKbtJoLP+9QUUZ4nVragQVtaVGeZrpB+ZtG/Pdy/POw==", "dependencies": { - "regenerator-runtime": "^0.13.4" + "regenerator-runtime": "^0.13.11" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/runtime-corejs3": { - "version": "7.19.6", - "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.19.6.tgz", - "integrity": "sha512-oWNn1ZlGde7b4i/3tnixpH9qI0bOAACiUs+KEES4UUCnsPjVWFlWdLV/iwJuPC2qp3EowbAqsm+0XqNwnwYhxA==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.21.0.tgz", + "integrity": "sha512-TDD4UJzos3JJtM+tHX+w2Uc+KWj7GV+VKKFdMVd2Rx8sdA19hcc3P3AHFYd5LVOw+pYuSd5lICC3gm52B6Rwxw==", "dependencies": { "core-js-pure": "^3.25.1", - "regenerator-runtime": "^0.13.4" + "regenerator-runtime": "^0.13.11" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/template": { - "version": "7.18.10", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.18.10.tgz", - "integrity": "sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA==", + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.20.7.tgz", + "integrity": "sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw==", "dev": true, "dependencies": { "@babel/code-frame": "^7.18.6", - "@babel/parser": "^7.18.10", - "@babel/types": "^7.18.10" + "@babel/parser": "^7.20.7", + "@babel/types": "^7.20.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/traverse": { - "version": "7.19.6", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.19.6.tgz", - "integrity": "sha512-6l5HrUCzFM04mfbG09AagtYyR2P0B71B1wN7PfSPiksDPz2k5H9CBC1tcZpz2M8OxbKTPccByoOJ22rUKbpmQQ==", + "version": "7.21.4", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.21.4.tgz", + "integrity": "sha512-eyKrRHKdyZxqDm+fV1iqL9UAHMoIg0nDaGqfIOd8rKH17m5snv7Gn4qgjBoFfLz9APvjFU/ICT00NVCv1Epp8Q==", "dev": true, "dependencies": { - "@babel/code-frame": "^7.18.6", - "@babel/generator": "^7.19.6", + "@babel/code-frame": "^7.21.4", + "@babel/generator": "^7.21.4", "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-function-name": "^7.19.0", + "@babel/helper-function-name": "^7.21.0", "@babel/helper-hoist-variables": "^7.18.6", "@babel/helper-split-export-declaration": "^7.18.6", - "@babel/parser": "^7.19.6", - "@babel/types": "^7.19.4", + "@babel/parser": "^7.21.4", + "@babel/types": "^7.21.4", "debug": "^4.1.0", "globals": "^11.1.0" }, @@ -1674,9 +1685,9 @@ } }, "node_modules/@babel/types": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.19.4.tgz", - "integrity": "sha512-M5LK7nAeS6+9j7hAq+b3fQs+pNfUtTGq+yFFfHnauFA8zQtLRfmuipmsKDKKLuyG+wC8ABW43A153YNawNTEtw==", + "version": "7.21.4", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.4.tgz", + "integrity": "sha512-rU2oY501qDxE8Pyo7i/Orqma4ziCOrby0/9mvbDUGEfvZjb279Nk9k19e2fiCxHbRRpY2ZyrgW1eq22mvmOIzA==", "dev": true, "dependencies": { "@babel/helper-string-parser": "^7.19.4", @@ -1766,17 +1777,17 @@ "optional": true }, "node_modules/@octokit/app": { - "version": "13.0.11", - "resolved": "https://registry.npmjs.org/@octokit/app/-/app-13.0.11.tgz", - "integrity": "sha512-qlUynCN1+BNYQ6VaJOMCqDdCo/2yzPixuoFnbcUThakRV+5969Tp+LTAtsZWjjb/tUHfutaAYOnsia1EGTAzfA==", + "version": "13.1.2", + "resolved": "https://registry.npmjs.org/@octokit/app/-/app-13.1.2.tgz", + "integrity": "sha512-Kf+h5sa1SOI33hFsuHvTsWj1jUrjp1x4MuiJBq7U/NicfEGa6nArPUoDnyfP/YTmcQ5cQ5yvOgoIBkbwPg6kzQ==", "dev": true, "dependencies": { - "@octokit/auth-app": "^4.0.0", + "@octokit/auth-app": "^4.0.8", "@octokit/auth-unauthenticated": "^3.0.0", "@octokit/core": "^4.0.0", "@octokit/oauth-app": "^4.0.7", - "@octokit/plugin-paginate-rest": "^5.0.0", - "@octokit/types": "^8.0.0", + "@octokit/plugin-paginate-rest": "^6.0.0", + "@octokit/types": "^9.0.0", "@octokit/webhooks": "^10.0.0" }, "engines": { @@ -1784,36 +1795,54 @@ } }, "node_modules/@octokit/auth-app": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/@octokit/auth-app/-/auth-app-4.0.7.tgz", - "integrity": "sha512-hjjVCoI/+1oLminVHJPPexguYb9FP4Q60hEHExgy1uAKMMJ5Zf8iJIeRJlIIqneTb4vt7NvUTEj4YDxBLZ1FLg==", + "version": "4.0.9", + "resolved": "https://registry.npmjs.org/@octokit/auth-app/-/auth-app-4.0.9.tgz", + "integrity": "sha512-VFpKIXhHO+kVJtane5cEvdYPtjDKCOI0uKsRrsZfJP+uEu7rcPbQCLCcRKgyT+mUIzGr1IIOmwP/lFqSip1dXA==", "dev": true, "dependencies": { "@octokit/auth-oauth-app": "^5.0.0", "@octokit/auth-oauth-user": "^2.0.0", "@octokit/request": "^6.0.0", "@octokit/request-error": "^3.0.0", - "@octokit/types": "^8.0.0", + "@octokit/types": "^9.0.0", "@types/lru-cache": "^5.1.0", "deprecation": "^2.3.1", "lru-cache": "^6.0.0", - "universal-github-app-jwt": "^1.0.1", + "universal-github-app-jwt": "^1.1.1", "universal-user-agent": "^6.0.0" }, "engines": { "node": ">= 14" } }, + "node_modules/@octokit/auth-app/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@octokit/auth-app/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, "node_modules/@octokit/auth-oauth-app": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-app/-/auth-oauth-app-5.0.4.tgz", - "integrity": "sha512-zlWuii5hAN50vsV6SJC+uIJ7SMhyWjQMEmKJQxkmNDlieE9LjnkZnbOjqRsfcG7VO7WTl4K8ccpo/3A7Kdpmrw==", + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-app/-/auth-oauth-app-5.0.5.tgz", + "integrity": "sha512-UPX1su6XpseaeLVCi78s9droxpGtBWIgz9XhXAx9VXabksoF0MyI5vaa1zo1njyYt6VaAjFisC2A2Wchcu2WmQ==", "dev": true, "dependencies": { "@octokit/auth-oauth-device": "^4.0.0", "@octokit/auth-oauth-user": "^2.0.0", "@octokit/request": "^6.0.0", - "@octokit/types": "^8.0.0", + "@octokit/types": "^9.0.0", "@types/btoa-lite": "^1.0.0", "btoa-lite": "^1.0.0", "universal-user-agent": "^6.0.0" @@ -1823,14 +1852,14 @@ } }, "node_modules/@octokit/auth-oauth-device": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-device/-/auth-oauth-device-4.0.3.tgz", - "integrity": "sha512-KPTx5nMntKjNZzzltO3X4T68v22rd7Cp/TcLJXQE2U8aXPcZ9LFuww9q9Q5WUNSu3jwi3lRwzfkPguRfz1R8Vg==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-device/-/auth-oauth-device-4.0.4.tgz", + "integrity": "sha512-Xl85BZYfqCMv+Uvz33nVVUjE7I/PVySNaK6dRRqlkvYcArSr9vRcZC9KVjXYObGRTCN6mISeYdakAZvWEN4+Jw==", "dev": true, "dependencies": { "@octokit/oauth-methods": "^2.0.0", "@octokit/request": "^6.0.0", - "@octokit/types": "^8.0.0", + "@octokit/types": "^9.0.0", "universal-user-agent": "^6.0.0" }, "engines": { @@ -1838,15 +1867,15 @@ } }, "node_modules/@octokit/auth-oauth-user": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-user/-/auth-oauth-user-2.0.4.tgz", - "integrity": "sha512-HrbDzTPqz6GcGSOUkR+wSeF3vEqsb9NMsmPja/qqqdiGmlk/Czkxctc3KeWYogHonp62Ml4kjz2VxKawrFsadQ==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-user/-/auth-oauth-user-2.1.1.tgz", + "integrity": "sha512-JgqnNNPf9CaWLxWm9uh2WgxcaVYhxBR09NVIPTiMU2dVZ3FObOHs3njBiLNw+zq84k+rEdm5Y7AsiASrZ84Apg==", "dev": true, "dependencies": { "@octokit/auth-oauth-device": "^4.0.0", "@octokit/oauth-methods": "^2.0.0", "@octokit/request": "^6.0.0", - "@octokit/types": "^8.0.0", + "@octokit/types": "^9.0.0", "btoa-lite": "^1.0.0", "universal-user-agent": "^6.0.0" }, @@ -1855,41 +1884,41 @@ } }, "node_modules/@octokit/auth-token": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-3.0.2.tgz", - "integrity": "sha512-pq7CwIMV1kmzkFTimdwjAINCXKTajZErLB4wMLYapR2nuB/Jpr66+05wOTZMSCBXP6n4DdDWT2W19Bm17vU69Q==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-3.0.3.tgz", + "integrity": "sha512-/aFM2M4HVDBT/jjDBa84sJniv1t9Gm/rLkalaz9htOm+L+8JMj1k9w0CkUdcxNyNxZPlTxKPVko+m1VlM58ZVA==", "dev": true, "dependencies": { - "@octokit/types": "^8.0.0" + "@octokit/types": "^9.0.0" }, "engines": { "node": ">= 14" } }, "node_modules/@octokit/auth-unauthenticated": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@octokit/auth-unauthenticated/-/auth-unauthenticated-3.0.3.tgz", - "integrity": "sha512-IyfLo1T5GmIC9+07hHGlD3gHtZI1Bona8PLhHXUnwcYDuZt0BhjlNJDYMoPG21C4r7v7+ZSxQHBKrGgkxpYb7A==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@octokit/auth-unauthenticated/-/auth-unauthenticated-3.0.4.tgz", + "integrity": "sha512-AT74XGBylcLr4lmUp1s6mjSUgphGdlse21Qjtv5DzpX1YOl5FXKwvNcZWESdhyBbpDT8VkVyLFqa/7a7eqpPNw==", "dev": true, "dependencies": { "@octokit/request-error": "^3.0.0", - "@octokit/types": "^8.0.0" + "@octokit/types": "^9.0.0" }, "engines": { "node": ">= 14" } }, "node_modules/@octokit/core": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/@octokit/core/-/core-4.1.0.tgz", - "integrity": "sha512-Czz/59VefU+kKDy+ZfDwtOIYIkFjExOKf+HA92aiTZJ6EfWpFzYQWw0l54ji8bVmyhc+mGaLUbSUmXazG7z5OQ==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@octokit/core/-/core-4.2.0.tgz", + "integrity": "sha512-AgvDRUg3COpR82P7PBdGZF/NNqGmtMq2NiPqeSsDIeCfYFOZ9gddqWNQHnFdEUf+YwOj4aZYmJnlPp7OXmDIDg==", "dev": true, "dependencies": { "@octokit/auth-token": "^3.0.0", "@octokit/graphql": "^5.0.0", "@octokit/request": "^6.0.0", "@octokit/request-error": "^3.0.0", - "@octokit/types": "^8.0.0", + "@octokit/types": "^9.0.0", "before-after-hook": "^2.2.0", "universal-user-agent": "^6.0.0" }, @@ -1898,12 +1927,12 @@ } }, "node_modules/@octokit/endpoint": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-7.0.3.tgz", - "integrity": "sha512-57gRlb28bwTsdNXq+O3JTQ7ERmBTuik9+LelgcLIVfYwf235VHbN9QNo4kXExtp/h8T423cR5iJThKtFYxC7Lw==", + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-7.0.5.tgz", + "integrity": "sha512-LG4o4HMY1Xoaec87IqQ41TQ+glvIeTKqfjkCEmt5AIwDZJwQeVZFIEYXrYY6yLwK+pAScb9Gj4q+Nz2qSw1roA==", "dev": true, "dependencies": { - "@octokit/types": "^8.0.0", + "@octokit/types": "^9.0.0", "is-plain-object": "^5.0.0", "universal-user-agent": "^6.0.0" }, @@ -1912,13 +1941,13 @@ } }, "node_modules/@octokit/graphql": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-5.0.4.tgz", - "integrity": "sha512-amO1M5QUQgYQo09aStR/XO7KAl13xpigcy/kI8/N1PnZYSS69fgte+xA4+c2DISKqUZfsh0wwjc2FaCt99L41A==", + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-5.0.5.tgz", + "integrity": "sha512-Qwfvh3xdqKtIznjX9lz2D458r7dJPP8l6r4GQkIdWQouZwHQK0mVT88uwiU2bdTU2OtT1uOlKpRciUWldpG0yQ==", "dev": true, "dependencies": { "@octokit/request": "^6.0.0", - "@octokit/types": "^8.0.0", + "@octokit/types": "^9.0.0", "universal-user-agent": "^6.0.0" }, "engines": { @@ -1926,9 +1955,9 @@ } }, "node_modules/@octokit/oauth-app": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/@octokit/oauth-app/-/oauth-app-4.1.0.tgz", - "integrity": "sha512-dGZcfmwPkS3VZ9CNnvNszp6mlnbOZh9+/uPNiK/AkvSUJGXTbUVIZTkMvAjbyIFw2WlIx++hhtrTeKNJq6uMbw==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@octokit/oauth-app/-/oauth-app-4.2.0.tgz", + "integrity": "sha512-gyGclT77RQMkVUEW3YBeAKY+LBSc5u3eC9Wn/Uwt3WhuKuu9mrV18EnNpDqmeNll+mdV02yyBROU29Tlili6gg==", "dev": true, "dependencies": { "@octokit/auth-oauth-app": "^5.0.0", @@ -1955,15 +1984,15 @@ } }, "node_modules/@octokit/oauth-methods": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@octokit/oauth-methods/-/oauth-methods-2.0.4.tgz", - "integrity": "sha512-RDSa6XL+5waUVrYSmOlYROtPq0+cfwppP4VaQY/iIei3xlFb0expH6YNsxNrZktcLhJWSpm9uzeom+dQrXlS3A==", + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@octokit/oauth-methods/-/oauth-methods-2.0.5.tgz", + "integrity": "sha512-yQP6B5gE3axNxuM3U9KqWs/ErAQ+WLPaPgC/7EjsZsQibkf8sjdAfF8/y/EJW+Dd05XQvadX4WhQZPMnO1SE1A==", "dev": true, "dependencies": { "@octokit/oauth-authorization-url": "^5.0.0", - "@octokit/request": "^6.0.0", - "@octokit/request-error": "^3.0.0", - "@octokit/types": "^8.0.0", + "@octokit/request": "^6.2.3", + "@octokit/request-error": "^3.0.3", + "@octokit/types": "^9.0.0", "btoa-lite": "^1.0.0" }, "engines": { @@ -1971,18 +2000,18 @@ } }, "node_modules/@octokit/openapi-types": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-14.0.0.tgz", - "integrity": "sha512-HNWisMYlR8VCnNurDU6os2ikx0s0VyEjDYHNS/h4cgb8DeOxQ0n72HyinUtdDVxJhFy3FWLGl0DJhfEWk3P5Iw==", + "version": "16.0.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-16.0.0.tgz", + "integrity": "sha512-JbFWOqTJVLHZSUUoF4FzAZKYtqdxWu9Z5m2QQnOyEa04fOFljvyh7D3GYKbfuaSWisqehImiVIMG4eyJeP5VEA==", "dev": true }, "node_modules/@octokit/plugin-paginate-rest": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-5.0.1.tgz", - "integrity": "sha512-7A+rEkS70pH36Z6JivSlR7Zqepz3KVucEFVDnSrgHXzG7WLAzYwcHZbKdfTXHwuTHbkT1vKvz7dHl1+HNf6Qyw==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-6.0.0.tgz", + "integrity": "sha512-Sq5VU1PfT6/JyuXPyt04KZNVsFOSBaYOAq2QRZUwzVlI10KFvcbUo8lR258AAQL1Et60b0WuVik+zOWKLuDZxw==", "dev": true, "dependencies": { - "@octokit/types": "^8.0.0" + "@octokit/types": "^9.0.0" }, "engines": { "node": ">= 14" @@ -1992,12 +2021,12 @@ } }, "node_modules/@octokit/plugin-rest-endpoint-methods": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-6.7.0.tgz", - "integrity": "sha512-orxQ0fAHA7IpYhG2flD2AygztPlGYNAdlzYz8yrD8NDgelPfOYoRPROfEyIe035PlxvbYrgkfUZIhSBKju/Cvw==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-7.0.1.tgz", + "integrity": "sha512-pnCaLwZBudK5xCdrR823xHGNgqOzRnJ/mpC/76YPpNP7DybdsJtP7mdOwh+wYZxK5jqeQuhu59ogMI4NRlBUvA==", "dev": true, "dependencies": { - "@octokit/types": "^8.0.0", + "@octokit/types": "^9.0.0", "deprecation": "^2.3.1" }, "engines": { @@ -2008,37 +2037,28 @@ } }, "node_modules/@octokit/plugin-retry": { - "version": "3.0.9", - "resolved": "https://registry.npmjs.org/@octokit/plugin-retry/-/plugin-retry-3.0.9.tgz", - "integrity": "sha512-r+fArdP5+TG6l1Rv/C9hVoty6tldw6cE2pRHNGmFPdyfrc696R6JjrQ3d7HdVqGwuzfyrcaLAKD7K8TX8aehUQ==", + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/@octokit/plugin-retry/-/plugin-retry-4.1.3.tgz", + "integrity": "sha512-3YKBj7d0J/4mpEc4xzMociWsMNl5lZqrpAnYcW6mqiSGF3wFjU+c6GHih6GLClk31JNvKDr0x9jc5cfm7evkZg==", "dev": true, "dependencies": { - "@octokit/types": "^6.0.3", + "@octokit/types": "^9.0.0", "bottleneck": "^2.15.3" - } - }, - "node_modules/@octokit/plugin-retry/node_modules/@octokit/openapi-types": { - "version": "12.11.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-12.11.0.tgz", - "integrity": "sha512-VsXyi8peyRq9PqIz/tpqiL2w3w80OgVMwBHltTml3LmVvXiphgeqmY9mvBw9Wu7e0QWk/fqD37ux8yP5uVekyQ==", - "dev": true - }, - "node_modules/@octokit/plugin-retry/node_modules/@octokit/types": { - "version": "6.41.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.41.0.tgz", - "integrity": "sha512-eJ2jbzjdijiL3B4PrSQaSjuF2sPEQPVCPzBvTHJD9Nz+9dw2SGH4K4xeQJ77YfTq5bRQ+bD8wT11JbeDPmxmGg==", - "dev": true, - "dependencies": { - "@octokit/openapi-types": "^12.11.0" + }, + "engines": { + "node": ">= 14" + }, + "peerDependencies": { + "@octokit/core": ">=3" } }, "node_modules/@octokit/plugin-throttling": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/@octokit/plugin-throttling/-/plugin-throttling-4.3.1.tgz", - "integrity": "sha512-ga+sUf99rY94QA1BvZdhBCDfNqSZc+6u7h7uI/13jWHh77SuJVmHYWpPuISEH01fRf8wWkKH4liMI3SUwTizxQ==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@octokit/plugin-throttling/-/plugin-throttling-5.0.1.tgz", + "integrity": "sha512-I4qxs7wYvYlFuY3PAUGWAVPhFXG3RwnvTiSr5Fu/Auz7bYhDLnzS2MjwV8nGLq/FPrWwYiweeZrI5yjs1YG4tQ==", "dev": true, "dependencies": { - "@octokit/types": "^8.0.0", + "@octokit/types": "^9.0.0", "bottleneck": "^2.15.3" }, "engines": { @@ -2049,14 +2069,14 @@ } }, "node_modules/@octokit/request": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-6.2.2.tgz", - "integrity": "sha512-6VDqgj0HMc2FUX2awIs+sM6OwLgwHvAi4KCK3mT2H2IKRt6oH9d0fej5LluF5mck1lRR/rFWN0YIDSYXYSylbw==", + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-6.2.3.tgz", + "integrity": "sha512-TNAodj5yNzrrZ/VxP+H5HiYaZep0H3GU0O7PaF+fhDrt8FPrnkei9Aal/txsN/1P7V3CPiThG0tIvpPDYUsyAA==", "dev": true, "dependencies": { "@octokit/endpoint": "^7.0.0", "@octokit/request-error": "^3.0.0", - "@octokit/types": "^8.0.0", + "@octokit/types": "^9.0.0", "is-plain-object": "^5.0.0", "node-fetch": "^2.6.7", "universal-user-agent": "^6.0.0" @@ -2066,12 +2086,12 @@ } }, "node_modules/@octokit/request-error": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-3.0.2.tgz", - "integrity": "sha512-WMNOFYrSaX8zXWoJg9u/pKgWPo94JXilMLb2VManNOby9EZxrQaBe/QSC4a1TzpAlpxofg2X/jMnCyZgL6y7eg==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-3.0.3.tgz", + "integrity": "sha512-crqw3V5Iy2uOU5Np+8M/YexTlT8zxCfI+qu+LxUB7SZpje4Qmx3mub5DfEKSO8Ylyk0aogi6TYdf6kxzh2BguQ==", "dev": true, "dependencies": { - "@octokit/types": "^8.0.0", + "@octokit/types": "^9.0.0", "deprecation": "^2.0.0", "once": "^1.4.0" }, @@ -2080,23 +2100,23 @@ } }, "node_modules/@octokit/types": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-8.0.0.tgz", - "integrity": "sha512-65/TPpOJP1i3K4lBJMnWqPUJ6zuOtzhtagDvydAWbEXpbFYA0oMKKyLb95NFZZP0lSh/4b6K+DQlzvYQJQQePg==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-9.0.0.tgz", + "integrity": "sha512-LUewfj94xCMH2rbD5YJ+6AQ4AVjFYTgpp6rboWM5T7N3IsIF65SBEOVcYMGAEzO/kKNiNaW4LoWtoThOhH06gw==", "dev": true, "dependencies": { - "@octokit/openapi-types": "^14.0.0" + "@octokit/openapi-types": "^16.0.0" } }, "node_modules/@octokit/webhooks": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/@octokit/webhooks/-/webhooks-10.3.0.tgz", - "integrity": "sha512-6k4dNsTjNhoJNJ56RKkWCMXEj32Cgvy4hIsV3fhK60hKbEfI1/rkx7tF87Gqtf1Xg5UVQfFmYygaBPGQCr0TmQ==", + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/@octokit/webhooks/-/webhooks-10.7.0.tgz", + "integrity": "sha512-zZBbQMpXXnK/ki/utrFG/TuWv9545XCSLibfDTxrYqR1PmU6zel02ebTOrA7t5XIGHzlEOc/NgISUIBUe7pMFA==", "dev": true, "dependencies": { "@octokit/request-error": "^3.0.0", "@octokit/webhooks-methods": "^3.0.0", - "@octokit/webhooks-types": "6.5.0", + "@octokit/webhooks-types": "6.10.0", "aggregate-error": "^3.1.0" }, "engines": { @@ -2104,18 +2124,18 @@ } }, "node_modules/@octokit/webhooks-methods": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@octokit/webhooks-methods/-/webhooks-methods-3.0.1.tgz", - "integrity": "sha512-XftYVcBxtzC2G05kdBNn9IYLtQ+Cz6ufKkjZd0DU/qGaZEFTPzM2OabXAWG5tvL0q/I+Exio1JnRiPfetiMSEw==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@octokit/webhooks-methods/-/webhooks-methods-3.0.2.tgz", + "integrity": "sha512-Vlnv5WBscf07tyAvfDbp7pTkMZUwk7z7VwEF32x6HqI+55QRwBTcT+D7DDjZXtad/1dU9E32x0HmtDlF9VIRaQ==", "dev": true, "engines": { "node": ">= 14" } }, "node_modules/@octokit/webhooks-types": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/@octokit/webhooks-types/-/webhooks-types-6.5.0.tgz", - "integrity": "sha512-SNx1YKBvi9IQvXo/SQ0p+9OKO2HMdzpCWcKsYxpGW1tlkE9TojYiGnFfxcXddyrsK4mC1UiyXY8+NYjWjtkVmA==", + "version": "6.10.0", + "resolved": "https://registry.npmjs.org/@octokit/webhooks-types/-/webhooks-types-6.10.0.tgz", + "integrity": "sha512-lDNv83BeEyxxukdQ0UttiUXawk9+6DkdjjFtm2GFED+24IQhTVaoSbwV9vWWKONyGLzRmCQqZmoEWkDhkEmPlw==", "dev": true }, "node_modules/@rollup/plugin-babel": { @@ -2242,9 +2262,9 @@ } }, "node_modules/@types/aws-lambda": { - "version": "8.10.108", - "resolved": "https://registry.npmjs.org/@types/aws-lambda/-/aws-lambda-8.10.108.tgz", - "integrity": "sha512-1yh1W1WoqK3lGHy+V/Fi55zobxrDHUUsluCWdMlOXkCvtsCmHPXOG+CQ2STIL4B1g6xi6I6XzxaF8V9+zeIFLA==", + "version": "8.10.114", + "resolved": "https://registry.npmjs.org/@types/aws-lambda/-/aws-lambda-8.10.114.tgz", + "integrity": "sha512-M8WpEGfC9iQ6V2Ccq6nGIXoQgeVc6z0Ngk8yCOL5V/TYIxshvb0MWQYLFFTZDesL0zmsoBc4OBjG9DB/4rei6w==", "dev": true }, "node_modules/@types/btoa-lite": { @@ -2266,9 +2286,9 @@ "dev": true }, "node_modules/@types/jsonwebtoken": { - "version": "8.5.9", - "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.9.tgz", - "integrity": "sha512-272FMnFGzAVMGtu9tkr29hRL6bZj4Zs1KZNeHLnKqAvp06tAIcarTMwOh8/8bz4FmKRcMxZhZNeUAQsNLoiPhg==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-9.0.1.tgz", + "integrity": "sha512-c5ltxazpWabia/4UzhIoaDcIza4KViOQhdbjRlfcIGVnsE3c3brkz9Z+F/EeJIECOQP7W7US2hNE930cWWkPiw==", "dev": true, "dependencies": { "@types/node": "*" @@ -2281,9 +2301,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "18.11.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.2.tgz", - "integrity": "sha512-BWN3M23gLO2jVG8g/XHIRFWiiV4/GckeFIqbU/C4V3xpoBBWSMk4OZomouN0wCkfQFPqgZikyLr7DOYDysIkkw==", + "version": "18.15.11", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.11.tgz", + "integrity": "sha512-E5Kwq2n4SbMzQOn6wnmBjuK9ouqlURrcZDVfbo9ftDDTFt3nk7ZKK4GMOzoYgnpQJKcxwQw+lGaBvvlMo0qN/Q==", "dev": true }, "node_modules/@types/resolve": { @@ -2296,9 +2316,9 @@ } }, "node_modules/acorn": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz", - "integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==", + "version": "8.8.2", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz", + "integrity": "sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==", "dev": true, "bin": { "acorn": "bin/acorn" @@ -2320,13 +2340,32 @@ "node": ">=8" } }, + "node_modules/ajv": { + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", "dev": true, "engines": { - "node": ">=8" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" } }, "node_modules/ansi-styles": { @@ -2342,9 +2381,9 @@ } }, "node_modules/anymatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", - "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", "dev": true, "optional": true, "dependencies": { @@ -2400,6 +2439,26 @@ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "dev": true }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, "node_modules/before-after-hook": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.3.tgz", @@ -2416,6 +2475,17 @@ "node": ">=8" } }, + "node_modules/bl": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/bl/-/bl-5.1.0.tgz", + "integrity": "sha512-tv1ZJHLfTDnXE6tMHv73YgSJaWR2AFuPwMntBe7XL/GBFHnT0CLnsHMogfk5+GzCDC5ZWarSCYaIGATZt9dNsQ==", + "dev": true, + "dependencies": { + "buffer": "^6.0.3", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, "node_modules/bottleneck": { "version": "2.19.5", "resolved": "https://registry.npmjs.org/bottleneck/-/bottleneck-2.19.5.tgz", @@ -2446,9 +2516,9 @@ } }, "node_modules/browserslist": { - "version": "4.21.4", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.4.tgz", - "integrity": "sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw==", + "version": "4.21.5", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.5.tgz", + "integrity": "sha512-tUkiguQGW7S3IhB7N+c2MV/HZPSCPAAiYBZXLsBhFB/PCy6ZKKsZrmBayHV9fdGV/ARIfJ14NkxKzRDjvp7L6w==", "dev": true, "funding": [ { @@ -2461,10 +2531,10 @@ } ], "dependencies": { - "caniuse-lite": "^1.0.30001400", - "electron-to-chromium": "^1.4.251", - "node-releases": "^2.0.6", - "update-browserslist-db": "^1.0.9" + "caniuse-lite": "^1.0.30001449", + "electron-to-chromium": "^1.4.284", + "node-releases": "^2.0.8", + "update-browserslist-db": "^1.0.10" }, "bin": { "browserslist": "cli.js" @@ -2479,6 +2549,30 @@ "integrity": "sha512-gvW7InbIyF8AicrqWoptdW08pUxuhq8BEgowNajy9RhiE86fmGAGl+bLKo6oB8QP0CkqHLowfN0oJdKC/J6LbA==", "dev": true }, + "node_modules/buffer": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", + "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, "node_modules/buffer-equal-constant-time": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", @@ -2513,17 +2607,17 @@ } }, "node_modules/cacheable-request": { - "version": "10.2.2", - "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-10.2.2.tgz", - "integrity": "sha512-KxjQZM3UIo7/J6W4sLpwFvu1GB3Whv8NtZ8ZrUL284eiQjiXeeqWTdhixNrp/NLZ/JNuFBo6BD4ZaO8ZJ5BN8Q==", + "version": "10.2.9", + "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-10.2.9.tgz", + "integrity": "sha512-CaAMr53AS1Tb9evO1BIWFnZjSr8A4pbXofpsNVWPMDZZj3ZQKHwsQG9BrTqQ4x5ZYJXz1T2b8LLtTZODxSpzbg==", "dev": true, "dependencies": { "@types/http-cache-semantics": "^4.0.1", "get-stream": "^6.0.1", - "http-cache-semantics": "^4.1.0", - "keyv": "^4.5.0", + "http-cache-semantics": "^4.1.1", + "keyv": "^4.5.2", "mimic-response": "^4.0.0", - "normalize-url": "^7.2.0", + "normalize-url": "^8.0.0", "responselike": "^3.0.0" }, "engines": { @@ -2545,9 +2639,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001422", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001422.tgz", - "integrity": "sha512-hSesn02u1QacQHhaxl/kNMZwqVG35Sz/8DgvmgedxSH8z9UUpcDYSPYgsj3x5dQNRcNp6BwpSfQfVzYUTm+fog==", + "version": "1.0.30001473", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001473.tgz", + "integrity": "sha512-ewDad7+D2vlyy+E4UJuVfiBsU69IL+8oVmTuZnH5Q6CIUbxNfI50uVpRHbUPDD6SUaN2o0Lh4DhTrvLG/Tn1yg==", "dev": true, "funding": [ { @@ -2557,6 +2651,10 @@ { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } ] }, @@ -2611,18 +2709,40 @@ "node": ">=6" } }, - "node_modules/cliui": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "node_modules/cli-cursor": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-4.0.0.tgz", + "integrity": "sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==", "dev": true, "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" + "restore-cursor": "^4.0.0" }, "engines": { - "node": ">=12" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cli-spinners": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.7.0.tgz", + "integrity": "sha512-qu3pN8Y3qHNgE2AFweciB1IfMnmZ/fsNTEE+NOFjmGB2F/7rLhnhzppvpCnN4FovtP26k8lHyy9ptEbNwWFLzw==", + "dev": true, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/clone": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", + "integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==", + "dev": true, + "engines": { + "node": ">=0.8" } }, "node_modules/color-convert": { @@ -2640,15 +2760,6 @@ "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", "dev": true }, - "node_modules/colors": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", - "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==", - "dev": true, - "engines": { - "node": ">=0.1.90" - } - }, "node_modules/commander": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", @@ -2677,9 +2788,9 @@ "dev": true }, "node_modules/convict": { - "version": "6.2.3", - "resolved": "https://registry.npmjs.org/convict/-/convict-6.2.3.tgz", - "integrity": "sha512-mTY04Qr7WrqiXifdeUYXr4/+Te4hPFWDvz6J2FVIKCLc2XBhq63VOSSYAKJ+unhZAYOAjmEdNswTOeHt7s++pQ==", + "version": "6.2.4", + "resolved": "https://registry.npmjs.org/convict/-/convict-6.2.4.tgz", + "integrity": "sha512-qN60BAwdMVdofckX7AlohVJ2x9UvjTNoKVXCL2LxFk1l7757EJqf1nySdMkPQer0bt8kQ5lQiyZ9/2NvrFBuwQ==", "dev": true, "dependencies": { "lodash.clonedeep": "^4.5.0", @@ -2690,9 +2801,9 @@ } }, "node_modules/core-js": { - "version": "3.25.5", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.25.5.tgz", - "integrity": "sha512-nbm6eZSjm+ZuBQxCUPQKQCoUEfFOXjUZ8dTTyikyKaWrTYmAVbykQfwsKE5dBK88u3QCkCrzsx/PPlKfhsvgpw==", + "version": "3.29.1", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.29.1.tgz", + "integrity": "sha512-+jwgnhg6cQxKYIIjGtAHq2nwUOolo9eoFZ4sHfUH09BLXBgxnH4gA0zEd+t+BO2cNB8idaBtZFcFTRjQJRJmAw==", "dev": true, "hasInstallScript": true, "funding": { @@ -2701,12 +2812,12 @@ } }, "node_modules/core-js-compat": { - "version": "3.25.5", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.25.5.tgz", - "integrity": "sha512-ovcyhs2DEBUIE0MGEKHP4olCUW/XYte3Vroyxuh38rD1wAO4dHohsovUC4eAOuzFxE6b+RXvBU3UZ9o0YhUTkA==", + "version": "3.29.1", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.29.1.tgz", + "integrity": "sha512-QmchCua884D8wWskMX8tW5ydINzd8oSJVx38lx/pVkFGqztxt73GYre3pm/hyYq8bPf+MW5In4I/uRShFDsbrA==", "dev": true, "dependencies": { - "browserslist": "^4.21.4" + "browserslist": "^4.21.5" }, "funding": { "type": "opencollective", @@ -2714,9 +2825,9 @@ } }, "node_modules/core-js-pure": { - "version": "3.25.5", - "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.25.5.tgz", - "integrity": "sha512-oml3M22pHM+igfWHDfdLVq2ShWmjM2V4L+dQEBs0DWVIqEm9WHCwGAlZ6BmyBQGy5sFrJmcx+856D9lVKyGWYg==", + "version": "3.29.1", + "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.29.1.tgz", + "integrity": "sha512-4En6zYVi0i0XlXHVz/bi6l1XDjCqkKRq765NXuX+SnaIatlE96Odt5lMLjdxUiNI1v9OXI5DSLWYPlmTfkTktg==", "hasInstallScript": true, "funding": { "type": "opencollective", @@ -2768,14 +2879,26 @@ } }, "node_modules/deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", + "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", "dev": true, "engines": { "node": ">=0.10.0" } }, + "node_modules/defaults": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz", + "integrity": "sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==", + "dev": true, + "dependencies": { + "clone": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/defer-to-connect": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-2.0.1.tgz", @@ -2801,15 +2924,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.284", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.284.tgz", - "integrity": "sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA==", - "dev": true - }, - "node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "version": "1.4.348", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.348.tgz", + "integrity": "sha512-gM7TdwuG3amns/1rlgxMbeeyNoBFPa+4Uu0c7FeROWh4qWmvSOnvcslKmWy51ggLKZ2n/F/4i2HJ+PVNxH9uCQ==", "dev": true }, "node_modules/escalade": { @@ -2845,6 +2962,12 @@ "node": ">=0.10.0" } }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, "node_modules/fill-range": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", @@ -2859,9 +2982,9 @@ } }, "node_modules/form-data-encoder": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/form-data-encoder/-/form-data-encoder-2.1.3.tgz", - "integrity": "sha512-KqU0nnPMgIJcCOFTNJFEA8epcseEaoox4XZffTgy8jlI6pL/5EFyR54NRG7CnCJN0biY7q52DO3MH6/sJ/TKlQ==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/form-data-encoder/-/form-data-encoder-2.1.4.tgz", + "integrity": "sha512-yDYSgNMraqvnxiEXO4hi88+YZxaHC6QKzb5N84iRCTDeRO7ZALpir/lVmf/uXUhnwUr2O4HU8s/n6x+yNjQkHw==", "dev": true, "engines": { "node": ">= 14.17" @@ -2928,15 +3051,6 @@ "node": ">=6.9.0" } }, - "node_modules/get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "dev": true, - "engines": { - "node": "6.* || 8.* || >= 10.*" - } - }, "node_modules/get-stream": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", @@ -2992,15 +3106,15 @@ } }, "node_modules/got": { - "version": "12.5.2", - "resolved": "https://registry.npmjs.org/got/-/got-12.5.2.tgz", - "integrity": "sha512-guHGMSEcsA5m1oPRweXUJnug0vuvlkX9wx5hzOka+ZBrBUOJHU0Z1JcNu3QE5IPGnA5aXUsQHdWOD4eJg9/v3A==", + "version": "12.6.0", + "resolved": "https://registry.npmjs.org/got/-/got-12.6.0.tgz", + "integrity": "sha512-WTcaQ963xV97MN3x0/CbAriXFZcXCfgxVp91I+Ze6pawQOa7SgzwSx2zIJJsX+kTajMnVs0xcFD1TxZKFqhdnQ==", "dev": true, "dependencies": { "@sindresorhus/is": "^5.2.0", "@szmarczak/http-timer": "^5.0.1", "cacheable-lookup": "^7.0.0", - "cacheable-request": "^10.2.1", + "cacheable-request": "^10.2.8", "decompress-response": "^6.0.0", "form-data-encoder": "^2.1.2", "get-stream": "^6.0.1", @@ -3038,15 +3152,15 @@ } }, "node_modules/http-cache-semantics": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", - "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", + "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==", "dev": true }, "node_modules/http2-wrapper": { - "version": "2.1.11", - "resolved": "https://registry.npmjs.org/http2-wrapper/-/http2-wrapper-2.1.11.tgz", - "integrity": "sha512-aNAk5JzLturWEUiuhAN73Jcbq96R7rTitAoXV54FYMatvihnpD2+6PUgU4ce3D/m5VDbw+F5CsyKSF176ptitQ==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/http2-wrapper/-/http2-wrapper-2.2.0.tgz", + "integrity": "sha512-kZB0wxMo0sh1PehyjJUWRFEd99KC5TLjZ2cULC4f9iqJBAmKQQXEICjxl5iPJRwP40dpeHFqqhm7tYCvODpqpQ==", "dev": true, "dependencies": { "quick-lru": "^5.1.1", @@ -3056,6 +3170,26 @@ "node": ">=10.19.0" } }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, "node_modules/indent-string": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", @@ -3095,9 +3229,9 @@ } }, "node_modules/is-builtin-module": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-3.2.0.tgz", - "integrity": "sha512-phDA4oSGt7vl1n5tJvTWooWWAsXLY+2xCnxNqvKhGEzujg+A43wPlPOyDg3C8XQHN+6k/JTQWJ/j0dQh/qr+Hw==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-3.2.1.tgz", + "integrity": "sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==", "dev": true, "dependencies": { "builtin-modules": "^3.3.0" @@ -3131,15 +3265,6 @@ "node": ">=0.10.0" } }, - "node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/is-glob": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", @@ -3153,6 +3278,18 @@ "node": ">=0.10.0" } }, + "node_modules/is-interactive": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-2.0.0.tgz", + "integrity": "sha512-qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/is-module": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", @@ -3187,6 +3324,18 @@ "@types/estree": "*" } }, + "node_modules/is-unicode-supported": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-1.3.0.tgz", + "integrity": "sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/jest-worker": { "version": "26.6.2", "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz", @@ -3246,10 +3395,16 @@ "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", "dev": true }, + "node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true + }, "node_modules/json5": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz", - "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", "dev": true, "bin": { "json5": "lib/cli.js" @@ -3259,36 +3414,54 @@ } }, "node_modules/jsonwebtoken": { - "version": "8.5.1", - "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", - "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-9.0.0.tgz", + "integrity": "sha512-tuGfYXxkQGDPnLJ7SibiQgVgeDgfbPq2k2ICcbgqW8WxWLBAxKQM/ZCu/IT8SOSwmaYl4dpTFCW5xZv7YbbWUw==", "dev": true, "dependencies": { "jws": "^3.2.2", - "lodash.includes": "^4.3.0", - "lodash.isboolean": "^3.0.3", - "lodash.isinteger": "^4.0.4", - "lodash.isnumber": "^3.0.3", - "lodash.isplainobject": "^4.0.6", - "lodash.isstring": "^4.0.1", - "lodash.once": "^4.0.0", + "lodash": "^4.17.21", "ms": "^2.1.1", - "semver": "^5.6.0" + "semver": "^7.3.8" + }, + "engines": { + "node": ">=12", + "npm": ">=6" + } + }, + "node_modules/jsonwebtoken/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" }, "engines": { - "node": ">=4", - "npm": ">=1.4.28" + "node": ">=10" } }, "node_modules/jsonwebtoken/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "version": "7.3.8", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", + "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, "bin": { - "semver": "bin/semver" + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" } }, + "node_modules/jsonwebtoken/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, "node_modules/jwa": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", @@ -3311,14 +3484,29 @@ } }, "node_modules/keyv": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.0.tgz", - "integrity": "sha512-2YvuMsA+jnFGtBareKqgANOEKe1mk3HKiXu2fRmAfyxG0MJAywNhi5ttWA3PMjl4NmpyjZNbFifR2vNjW1znfA==", + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.2.tgz", + "integrity": "sha512-5MHbFaKn8cNSmVW7BYnijeAVlE4cYA/SVkifVgrh7yotnfhKmjuXpDKjrABLnT0SfHWV21P8ow07OGfRrNDg8g==", "dev": true, "dependencies": { "json-buffer": "3.0.1" } }, + "node_modules/kleur": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", + "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true + }, "node_modules/lodash.clonedeep": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", @@ -3331,47 +3519,33 @@ "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==", "dev": true }, - "node_modules/lodash.includes": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", - "integrity": "sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==", - "dev": true - }, - "node_modules/lodash.isboolean": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", - "integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==", - "dev": true - }, - "node_modules/lodash.isinteger": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", - "integrity": "sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA==", - "dev": true - }, - "node_modules/lodash.isnumber": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", - "integrity": "sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw==", - "dev": true - }, - "node_modules/lodash.isplainobject": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", - "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==", - "dev": true - }, - "node_modules/lodash.isstring": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", - "integrity": "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==", - "dev": true + "node_modules/log-symbols": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-5.1.0.tgz", + "integrity": "sha512-l0x2DvrW294C9uDCoQe1VSU4gf529FkSZ6leBl4TiqZH/e+0R7hSfHQBNut2mNygDgHwvYHfFLn6Oxb3VWj2rA==", + "dev": true, + "dependencies": { + "chalk": "^5.0.0", + "is-unicode-supported": "^1.1.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, - "node_modules/lodash.once": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", - "integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==", - "dev": true + "node_modules/log-symbols/node_modules/chalk": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.2.0.tgz", + "integrity": "sha512-ree3Gqw/nazQAPuJJEy+avdl7QfZMcUvmHIKgEZkGL+xOBzRvup5Hxo6LHuMceSxOabuJLJm5Yp/92R9eMmMvA==", + "dev": true, + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } }, "node_modules/lowercase-keys": { "version": "3.0.0", @@ -3386,15 +3560,12 @@ } }, "node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", "dev": true, "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" + "yallist": "^3.0.2" } }, "node_modules/magic-string": { @@ -3434,6 +3605,15 @@ "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", "dev": true }, + "node_modules/mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, "node_modules/mimic-response": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-4.0.0.tgz", @@ -3465,9 +3645,9 @@ "dev": true }, "node_modules/node-fetch": { - "version": "2.6.7", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", - "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.9.tgz", + "integrity": "sha512-DJm/CJkZkRjKKj4Zi4BsKVZh3ValV5IR5s7LVZnW+6YMh0W1BfNA8XSs6DLMGYlId5F3KnA70uu2qepcR08Qqg==", "dev": true, "dependencies": { "whatwg-url": "^5.0.0" @@ -3485,27 +3665,64 @@ } }, "node_modules/node-releaser": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/node-releaser/-/node-releaser-1.0.2.tgz", - "integrity": "sha512-pcJqas8cjcOcVRcYaHEM5IsRYQA9AlmM4hYmo7c7yP/dnUDUa2zYHyeYnZ2EICthR367di894YC7kAmEpKYppA==", + "version": "2.0.0-beta.4", + "resolved": "https://registry.npmjs.org/node-releaser/-/node-releaser-2.0.0-beta.4.tgz", + "integrity": "sha512-2Ab+K9WhgmAAvlmUTlGICZgedlILE+XwsODnwsIFQNkH3C6RSGz+MUGe3vFSuDp12s/gYX7Q98knSdozxuLPAw==", "dev": true, "dependencies": { + "ajv": "^8.11.0", "calver": "^22.8.3", - "colors": "^1.4.0", + "chalk": "^5.1.2", + "commander": "^9.4.1", "convict": "^6.2.1", "got": "^12.5.2", + "lodash": "^4.17.21", "octokit": "^2.0.9", - "semver": "^7.3.5", - "yargs": "^17.1.1" + "ora": "^6.1.2", + "prompts": "^2.4.2", + "semver": "^7.3.5" }, "bin": { - "releaser": "src/cli.js" + "releaser": "cli/index.js" }, "funding": { "type": "ko-fi", "url": "https://ko-fi.com/muratgozel" } }, + "node_modules/node-releaser/node_modules/chalk": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.2.0.tgz", + "integrity": "sha512-ree3Gqw/nazQAPuJJEy+avdl7QfZMcUvmHIKgEZkGL+xOBzRvup5Hxo6LHuMceSxOabuJLJm5Yp/92R9eMmMvA==", + "dev": true, + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/node-releaser/node_modules/commander": { + "version": "9.5.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-9.5.0.tgz", + "integrity": "sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==", + "dev": true, + "engines": { + "node": "^12.20.0 || >=14" + } + }, + "node_modules/node-releaser/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/node-releaser/node_modules/semver": { "version": "7.3.8", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", @@ -3521,10 +3738,16 @@ "node": ">=10" } }, + "node_modules/node-releaser/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, "node_modules/node-releases": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz", - "integrity": "sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==", + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.10.tgz", + "integrity": "sha512-5GFldHPXVG/YZmFzJvKK2zDSzPKhEp0+ZR5SVaoSag9fsL5YgHbUHDfnG5494ISANDcK4KwPXAx2xqVEydmd7w==", "dev": true }, "node_modules/normalize-path": { @@ -3538,31 +3761,31 @@ } }, "node_modules/normalize-url": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-7.2.0.tgz", - "integrity": "sha512-uhXOdZry0L6M2UIo9BTt7FdpBDiAGN/7oItedQwPKh8jh31ZlvC8U9Xl/EJ3aijDHaywXTW3QbZ6LuCocur1YA==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-8.0.0.tgz", + "integrity": "sha512-uVFpKhj5MheNBJRTiMZ9pE/7hD1QTeEvugSJW/OmLzAp78PB5O6adfMNTvmfKhXBkvCzC+rqifWcVYpGFwTjnw==", "dev": true, "engines": { - "node": ">=12.20" + "node": ">=14.16" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/octokit": { - "version": "2.0.9", - "resolved": "https://registry.npmjs.org/octokit/-/octokit-2.0.9.tgz", - "integrity": "sha512-+4XOeV1pvr5aVdlrj/WGl8VE6yJHt/XAPr/x4+gRQFp1p8l0Wu/w3ZIvlIpnPJFx5yiHrVWHd5syPLWOip89LQ==", + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/octokit/-/octokit-2.0.14.tgz", + "integrity": "sha512-z6cgZBFxirpFEQ1La8Lg83GCs5hOV2EPpkYYdjsGNbfQMv8qUGjq294MiRBCbZqLufviakGsPUxaNKe3JrPmsA==", "dev": true, "dependencies": { - "@octokit/app": "^13.0.5", + "@octokit/app": "^13.1.1", "@octokit/core": "^4.0.4", "@octokit/oauth-app": "^4.0.6", - "@octokit/plugin-paginate-rest": "^5.0.0", - "@octokit/plugin-rest-endpoint-methods": "^6.0.0", - "@octokit/plugin-retry": "^3.0.9", - "@octokit/plugin-throttling": "^4.0.1", - "@octokit/types": "^8.0.0" + "@octokit/plugin-paginate-rest": "^6.0.0", + "@octokit/plugin-rest-endpoint-methods": "^7.0.0", + "@octokit/plugin-retry": "^4.0.3", + "@octokit/plugin-throttling": "^5.0.0", + "@octokit/types": "^9.0.0" }, "engines": { "node": ">= 14" @@ -3577,6 +3800,56 @@ "wrappy": "1" } }, + "node_modules/onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ora": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/ora/-/ora-6.3.0.tgz", + "integrity": "sha512-1/D8uRFY0ay2kgBpmAwmSA404w4OoPVhHMqRqtjvrcK/dnzcEZxMJ+V4DUbyICu8IIVRclHcOf5wlD1tMY4GUQ==", + "dev": true, + "dependencies": { + "chalk": "^5.0.0", + "cli-cursor": "^4.0.0", + "cli-spinners": "^2.6.1", + "is-interactive": "^2.0.0", + "is-unicode-supported": "^1.1.0", + "log-symbols": "^5.1.0", + "stdin-discarder": "^0.1.0", + "strip-ansi": "^7.0.1", + "wcwidth": "^1.0.1" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ora/node_modules/chalk": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.2.0.tgz", + "integrity": "sha512-ree3Gqw/nazQAPuJJEy+avdl7QfZMcUvmHIKgEZkGL+xOBzRvup5Hxo6LHuMceSxOabuJLJm5Yp/92R9eMmMvA==", + "dev": true, + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, "node_modules/p-cancelable": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-3.0.0.tgz", @@ -3628,6 +3901,28 @@ "node": ">=6" } }, + "node_modules/prompts": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", + "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", + "dev": true, + "dependencies": { + "kleur": "^3.0.3", + "sisteransi": "^1.0.5" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/punycode": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", + "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, "node_modules/quick-lru": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz", @@ -3649,6 +3944,20 @@ "safe-buffer": "^5.1.0" } }, + "node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dev": true, + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/readdirp": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", @@ -3681,42 +3990,36 @@ } }, "node_modules/regenerator-runtime": { - "version": "0.13.10", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.10.tgz", - "integrity": "sha512-KepLsg4dU12hryUO7bp/axHAKvwGOCV0sGloQtpagJ12ai+ojVDqkeGSiRX1zlq+kjIMZ1t7gpze+26QqtdGqw==" + "version": "0.13.11", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", + "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==" }, "node_modules/regenerator-transform": { - "version": "0.15.0", - "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.0.tgz", - "integrity": "sha512-LsrGtPmbYg19bcPHwdtmXwbW+TqNvtY4riE3P83foeHRroMbH6/2ddFBfab3t7kbzc7v7p4wbkIecHImqt0QNg==", + "version": "0.15.1", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.1.tgz", + "integrity": "sha512-knzmNAcuyxV+gQCufkYcvOqX/qIIfHLv0u5x79kRxuGojfYVky1f15TzZEu2Avte8QGepvUNTnLskf8E6X6Vyg==", "dev": true, "dependencies": { "@babel/runtime": "^7.8.4" } }, "node_modules/regexpu-core": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.2.1.tgz", - "integrity": "sha512-HrnlNtpvqP1Xkb28tMhBUO2EbyUHdQlsnlAhzWcwHy8WJR53UWr7/MAvqrsQKMbV4qdpv03oTMG8iIhfsPFktQ==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.3.2.tgz", + "integrity": "sha512-RAM5FlZz+Lhmo7db9L298p2vHP5ZywrVXmVXpmAD9GuL5MPH6t9ROw1iA/wfHkQ76Qe7AaPF0nGuim96/IrQMQ==", "dev": true, "dependencies": { + "@babel/regjsgen": "^0.8.0", "regenerate": "^1.4.2", "regenerate-unicode-properties": "^10.1.0", - "regjsgen": "^0.7.1", "regjsparser": "^0.9.1", "unicode-match-property-ecmascript": "^2.0.0", - "unicode-match-property-value-ecmascript": "^2.0.0" + "unicode-match-property-value-ecmascript": "^2.1.0" }, "engines": { "node": ">=4" } }, - "node_modules/regjsgen": { - "version": "0.7.1", - "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.7.1.tgz", - "integrity": "sha512-RAt+8H2ZEzHeYWxZ3H2z6tF18zyyOnlcdaafLrm21Bguj7uZy6ULibiAFdXEtKQY4Sy7wDTwDiOazasMLc4KPA==", - "dev": true - }, "node_modules/regjsparser": { "version": "0.9.1", "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.9.1.tgz", @@ -3738,10 +4041,10 @@ "jsesc": "bin/jsesc" } }, - "node_modules/require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", "dev": true, "engines": { "node": ">=0.10.0" @@ -3785,6 +4088,22 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/restore-cursor": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-4.0.0.tgz", + "integrity": "sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==", + "dev": true, + "dependencies": { + "onetime": "^5.1.0", + "signal-exit": "^3.0.2" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/rollup": { "version": "2.79.1", "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.79.1.tgz", @@ -3804,6 +4123,7 @@ "version": "7.0.2", "resolved": "https://registry.npmjs.org/rollup-plugin-terser/-/rollup-plugin-terser-7.0.2.tgz", "integrity": "sha512-w3iIaU4OxcF52UUXiZNsNeuXIMDvFrr+ZXK6bFZ0Q60qyVfq4uLptoS4bbq3paG3x216eQllFZX7zt6TIImguQ==", + "deprecated": "This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser", "dev": true, "dependencies": { "@babel/code-frame": "^7.10.4", @@ -3853,6 +4173,18 @@ "randombytes": "^2.1.0" } }, + "node_modules/signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true + }, + "node_modules/sisteransi": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", + "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", + "dev": true + }, "node_modules/slash": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", @@ -3885,32 +4217,46 @@ "version": "1.4.8", "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", + "deprecated": "Please use @jridgewell/sourcemap-codec instead", "dev": true }, - "node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "node_modules/stdin-discarder": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/stdin-discarder/-/stdin-discarder-0.1.0.tgz", + "integrity": "sha512-xhV7w8S+bUwlPTb4bAOUQhv8/cSS5offJuX8GQGq32ONF0ZtDWKfkdomM3HMRA+LhX6um/FZ0COqlwsjD53LeQ==", "dev": true, "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" + "bl": "^5.0.0" }, "engines": { - "node": ">=8" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "dev": true, + "dependencies": { + "safe-buffer": "~5.2.0" } }, "node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.0.1.tgz", + "integrity": "sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw==", "dev": true, "dependencies": { - "ansi-regex": "^5.0.1" + "ansi-regex": "^6.0.1" }, "engines": { - "node": ">=8" + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, "node_modules/supports-color": { @@ -3938,9 +4284,9 @@ } }, "node_modules/terser": { - "version": "5.15.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.15.1.tgz", - "integrity": "sha512-K1faMUvpm/FBxjBXud0LWVAGxmvoPbZbfTCYbSgaaYQaIXI3/TdI7a7ZGA73Zrou6Q8Zmz3oeUTsp/dj+ag2Xw==", + "version": "5.16.8", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.16.8.tgz", + "integrity": "sha512-QI5g1E/ef7d+PsDifb+a6nnVgC4F22Bg6T0xrBrz6iloVB4PUkkunp6V8nzoOOZJIzjWVdAGqCdlKlhLq/TbIA==", "dev": true, "dependencies": { "@jridgewell/source-map": "^0.3.2", @@ -4012,9 +4358,9 @@ } }, "node_modules/unicode-match-property-value-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz", - "integrity": "sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.1.0.tgz", + "integrity": "sha512-qxkjQt6qjg/mYscYMC0XKRn3Rh0wFPlfxB0xkt9CfyTvpX1Ra0+rAmdX2QyAobptSEvuy4RtpPRui6XkV+8wjA==", "dev": true, "engines": { "node": ">=4" @@ -4030,13 +4376,13 @@ } }, "node_modules/universal-github-app-jwt": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/universal-github-app-jwt/-/universal-github-app-jwt-1.1.0.tgz", - "integrity": "sha512-3b+ocAjjz4JTyqaOT+NNBd5BtTuvJTxWElIoeHSVelUV9J3Jp7avmQTdLKCaoqi/5Ox2o/q+VK19TJ233rVXVQ==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/universal-github-app-jwt/-/universal-github-app-jwt-1.1.1.tgz", + "integrity": "sha512-G33RTLrIBMFmlDV4u4CBF7dh71eWwykck4XgaxaIVeZKOYZRAAxvcGMRFTUclVY6xoUPQvO4Ne5wKGxYm/Yy9w==", "dev": true, "dependencies": { - "@types/jsonwebtoken": "^8.3.3", - "jsonwebtoken": "^8.5.1" + "@types/jsonwebtoken": "^9.0.0", + "jsonwebtoken": "^9.0.0" } }, "node_modules/universal-user-agent": { @@ -4071,6 +4417,30 @@ "browserslist": ">= 4.21.0" } }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "dev": true + }, + "node_modules/wcwidth": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", + "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", + "dev": true, + "dependencies": { + "defaults": "^1.0.3" + } + }, "node_modules/webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", @@ -4087,95 +4457,18 @@ "webidl-conversions": "^3.0.0" } }, - "node_modules/wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/wrap-ansi/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/wrap-ansi/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/wrap-ansi/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", "dev": true }, - "node_modules/y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "dev": true, - "engines": { - "node": ">=10" - } - }, "node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", "dev": true }, - "node_modules/yargs": { - "version": "17.6.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.6.0.tgz", - "integrity": "sha512-8H/wTDqlSwoSnScvV2N/JHfLWOKuh5MVla9hqLjK3nsfyy6Y4kDSYSvkU5YCUEPOSnRXfIyx3Sq+B/IWudTo4g==", - "dev": true, - "dependencies": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.0.0" - }, - "engines": { - "node": ">=12" - } - }, "node_modules/yargs-parser": { "version": "20.2.9", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", @@ -4184,15 +4477,6 @@ "engines": { "node": ">=10" } - }, - "node_modules/yargs/node_modules/yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", - "dev": true, - "engines": { - "node": ">=12" - } } }, "dependencies": { @@ -4207,12 +4491,12 @@ } }, "@babel/cli": { - "version": "7.19.3", - "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.19.3.tgz", - "integrity": "sha512-643/TybmaCAe101m2tSVHi9UKpETXP9c/Ff4mD2tAwkdP6esKIfaauZFc67vGEM6r9fekbEGid+sZhbEnSe3dg==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.21.0.tgz", + "integrity": "sha512-xi7CxyS8XjSyiwUGCfwf+brtJxjW1/ZTcBUkP10xawIEXLX5HzLn+3aXkgxozcP2UhRhtKTmQurw9Uaes7jZrA==", "dev": true, "requires": { - "@jridgewell/trace-mapping": "^0.3.8", + "@jridgewell/trace-mapping": "^0.3.17", "@nicolo-ribaudo/chokidar-2": "2.1.8-no-fsevents.3", "chokidar": "^3.4.0", "commander": "^4.0.1", @@ -4224,51 +4508,52 @@ } }, "@babel/code-frame": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", - "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", + "version": "7.21.4", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.21.4.tgz", + "integrity": "sha512-LYvhNKfwWSPpocw8GI7gpK2nq3HSDuEPC/uSYaALSJu9xjsalaaYFOq0Pwt5KmVqwEbZlDu81aLXwBOmD/Fv9g==", "dev": true, "requires": { "@babel/highlight": "^7.18.6" } }, "@babel/compat-data": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.19.4.tgz", - "integrity": "sha512-CHIGpJcUQ5lU9KrPHTjBMhVwQG6CQjxfg36fGXl3qk/Gik1WwWachaXFuo0uCWJT/mStOKtcbFJCaVLihC1CMw==", + "version": "7.21.4", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.21.4.tgz", + "integrity": "sha512-/DYyDpeCfaVinT40FPGdkkb+lYSKvsVuMjDAG7jPOWWiM1ibOaB9CXJAlc4d1QpP/U2q2P9jbrSlClKSErd55g==", "dev": true }, "@babel/core": { - "version": "7.19.6", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.19.6.tgz", - "integrity": "sha512-D2Ue4KHpc6Ys2+AxpIx1BZ8+UegLLLE2p3KJEuJRKmokHOtl49jQ5ny1773KsGLZs8MQvBidAF6yWUJxRqtKtg==", - "dev": true, - "requires": { - "@ampproject/remapping": "^2.1.0", - "@babel/code-frame": "^7.18.6", - "@babel/generator": "^7.19.6", - "@babel/helper-compilation-targets": "^7.19.3", - "@babel/helper-module-transforms": "^7.19.6", - "@babel/helpers": "^7.19.4", - "@babel/parser": "^7.19.6", - "@babel/template": "^7.18.10", - "@babel/traverse": "^7.19.6", - "@babel/types": "^7.19.4", + "version": "7.21.4", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.21.4.tgz", + "integrity": "sha512-qt/YV149Jman/6AfmlxJ04LMIu8bMoyl3RB91yTFrxQmgbrSvQMy7cI8Q62FHx1t8wJ8B5fu0UDoLwHAhUo1QA==", + "dev": true, + "requires": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.21.4", + "@babel/generator": "^7.21.4", + "@babel/helper-compilation-targets": "^7.21.4", + "@babel/helper-module-transforms": "^7.21.2", + "@babel/helpers": "^7.21.0", + "@babel/parser": "^7.21.4", + "@babel/template": "^7.20.7", + "@babel/traverse": "^7.21.4", + "@babel/types": "^7.21.4", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", - "json5": "^2.2.1", + "json5": "^2.2.2", "semver": "^6.3.0" } }, "@babel/generator": { - "version": "7.19.6", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.19.6.tgz", - "integrity": "sha512-oHGRUQeoX1QrKeJIKVe0hwjGqNnVYsM5Nep5zo0uE0m42sLH+Fsd2pStJ5sRM1bNyTUUoz0pe2lTeMJrb/taTA==", + "version": "7.21.4", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.21.4.tgz", + "integrity": "sha512-NieM3pVIYW2SwGzKoqfPrQsf4xGs9M9AIG3ThppsSRmO+m7eQhmI6amajKMUeIO37wFfsvnvcxQFx6x6iqxDnA==", "dev": true, "requires": { - "@babel/types": "^7.19.4", + "@babel/types": "^7.21.4", "@jridgewell/gen-mapping": "^0.3.2", + "@jridgewell/trace-mapping": "^0.3.17", "jsesc": "^2.5.1" }, "dependencies": { @@ -4305,40 +4590,42 @@ } }, "@babel/helper-compilation-targets": { - "version": "7.19.3", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.19.3.tgz", - "integrity": "sha512-65ESqLGyGmLvgR0mst5AdW1FkNlj9rQsCKduzEoEPhBCDFGXvz2jW6bXFG6i0/MrV2s7hhXjjb2yAzcPuQlLwg==", + "version": "7.21.4", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.21.4.tgz", + "integrity": "sha512-Fa0tTuOXZ1iL8IeDFUWCzjZcn+sJGd9RZdH9esYVjEejGmzf+FFYQpMi/kZUk2kPy/q1H3/GPw7np8qar/stfg==", "dev": true, "requires": { - "@babel/compat-data": "^7.19.3", - "@babel/helper-validator-option": "^7.18.6", + "@babel/compat-data": "^7.21.4", + "@babel/helper-validator-option": "^7.21.0", "browserslist": "^4.21.3", + "lru-cache": "^5.1.1", "semver": "^6.3.0" } }, "@babel/helper-create-class-features-plugin": { - "version": "7.19.0", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.19.0.tgz", - "integrity": "sha512-NRz8DwF4jT3UfrmUoZjd0Uph9HQnP30t7Ash+weACcyNkiYTywpIjDBgReJMKgr+n86sn2nPVVmJ28Dm053Kqw==", + "version": "7.21.4", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.21.4.tgz", + "integrity": "sha512-46QrX2CQlaFRF4TkwfTt6nJD7IHq8539cCL7SDpqWSDeJKY1xylKKY5F/33mJhLZ3mFvKv2gGrVS6NkyF6qs+Q==", "dev": true, "requires": { "@babel/helper-annotate-as-pure": "^7.18.6", "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-function-name": "^7.19.0", - "@babel/helper-member-expression-to-functions": "^7.18.9", + "@babel/helper-function-name": "^7.21.0", + "@babel/helper-member-expression-to-functions": "^7.21.0", "@babel/helper-optimise-call-expression": "^7.18.6", - "@babel/helper-replace-supers": "^7.18.9", + "@babel/helper-replace-supers": "^7.20.7", + "@babel/helper-skip-transparent-expression-wrappers": "^7.20.0", "@babel/helper-split-export-declaration": "^7.18.6" } }, "@babel/helper-create-regexp-features-plugin": { - "version": "7.19.0", - "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.19.0.tgz", - "integrity": "sha512-htnV+mHX32DF81amCDrwIDr8nrp1PTm+3wfBN9/v8QJOLEioOCOG7qNyq0nHeFiWbT3Eb7gsPwEmV64UCQ1jzw==", + "version": "7.21.4", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.21.4.tgz", + "integrity": "sha512-M00OuhU+0GyZ5iBBN9czjugzWrEq2vDpf/zCYHxxf93ul/Q5rv+a5h+/+0WnI1AebHNVtl5bFV0qsJoH23DbfA==", "dev": true, "requires": { "@babel/helper-annotate-as-pure": "^7.18.6", - "regexpu-core": "^5.1.0" + "regexpu-core": "^5.3.1" } }, "@babel/helper-define-polyfill-provider": { @@ -4371,13 +4658,13 @@ } }, "@babel/helper-function-name": { - "version": "7.19.0", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz", - "integrity": "sha512-WAwHBINyrpqywkUH0nTnNgI5ina5TFn85HKS0pbPDfxFfhyR/aNQEn4hGi1P1JyT//I0t4OgXUlofzWILRvS5w==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.21.0.tgz", + "integrity": "sha512-HfK1aMRanKHpxemaY2gqBmL04iAPOPRj7DxtNbiDOrJK+gdwkiNRVpCpUJYbUT+aZyemKN8brqTOxzCaG6ExRg==", "dev": true, "requires": { - "@babel/template": "^7.18.10", - "@babel/types": "^7.19.0" + "@babel/template": "^7.20.7", + "@babel/types": "^7.21.0" } }, "@babel/helper-hoist-variables": { @@ -4390,37 +4677,37 @@ } }, "@babel/helper-member-expression-to-functions": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.18.9.tgz", - "integrity": "sha512-RxifAh2ZoVU67PyKIO4AMi1wTenGfMR/O/ae0CCRqwgBAt5v7xjdtRw7UoSbsreKrQn5t7r89eruK/9JjYHuDg==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.21.0.tgz", + "integrity": "sha512-Muu8cdZwNN6mRRNG6lAYErJ5X3bRevgYR2O8wN0yn7jJSnGDu6eG59RfT29JHxGUovyfrh6Pj0XzmR7drNVL3Q==", "dev": true, "requires": { - "@babel/types": "^7.18.9" + "@babel/types": "^7.21.0" } }, "@babel/helper-module-imports": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz", - "integrity": "sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==", + "version": "7.21.4", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.21.4.tgz", + "integrity": "sha512-orajc5T2PsRYUN3ZryCEFeMDYwyw09c/pZeaQEZPH0MpKzSvn3e0uXsDBu3k03VI+9DBiRo+l22BfKTpKwa/Wg==", "dev": true, "requires": { - "@babel/types": "^7.18.6" + "@babel/types": "^7.21.4" } }, "@babel/helper-module-transforms": { - "version": "7.19.6", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.19.6.tgz", - "integrity": "sha512-fCmcfQo/KYr/VXXDIyd3CBGZ6AFhPFy1TfSEJ+PilGVlQT6jcbqtHAM4C1EciRqMza7/TpOUZliuSH+U6HAhJw==", + "version": "7.21.2", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.21.2.tgz", + "integrity": "sha512-79yj2AR4U/Oqq/WOV7Lx6hUjau1Zfo4cI+JLAVYeMV5XIlbOhmjEk5ulbTc9fMpmlojzZHkUUxAiK+UKn+hNQQ==", "dev": true, "requires": { "@babel/helper-environment-visitor": "^7.18.9", "@babel/helper-module-imports": "^7.18.6", - "@babel/helper-simple-access": "^7.19.4", + "@babel/helper-simple-access": "^7.20.2", "@babel/helper-split-export-declaration": "^7.18.6", "@babel/helper-validator-identifier": "^7.19.1", - "@babel/template": "^7.18.10", - "@babel/traverse": "^7.19.6", - "@babel/types": "^7.19.4" + "@babel/template": "^7.20.7", + "@babel/traverse": "^7.21.2", + "@babel/types": "^7.21.2" } }, "@babel/helper-optimise-call-expression": { @@ -4433,9 +4720,9 @@ } }, "@babel/helper-plugin-utils": { - "version": "7.19.0", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.19.0.tgz", - "integrity": "sha512-40Ryx7I8mT+0gaNxm8JGTZFUITNqdLAgdg0hXzeVZxVD6nFsdhQvip6v8dqkRHzsz1VFpFAaOCHNn0vKBL7Czw==", + "version": "7.20.2", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.20.2.tgz", + "integrity": "sha512-8RvlJG2mj4huQ4pZ+rU9lqKi9ZKiRmuvGuM2HlWmkmgOhbs6zEAw6IEiJ5cQqGbDzGZOhwuOQNtZMi/ENLjZoQ==", "dev": true }, "@babel/helper-remap-async-to-generator": { @@ -4451,34 +4738,35 @@ } }, "@babel/helper-replace-supers": { - "version": "7.19.1", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.19.1.tgz", - "integrity": "sha512-T7ahH7wV0Hfs46SFh5Jz3s0B6+o8g3c+7TMxu7xKfmHikg7EAZ3I2Qk9LFhjxXq8sL7UkP5JflezNwoZa8WvWw==", + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.20.7.tgz", + "integrity": "sha512-vujDMtB6LVfNW13jhlCrp48QNslK6JXi7lQG736HVbHz/mbf4Dc7tIRh1Xf5C0rF7BP8iiSxGMCmY6Ci1ven3A==", "dev": true, "requires": { "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-member-expression-to-functions": "^7.18.9", + "@babel/helper-member-expression-to-functions": "^7.20.7", "@babel/helper-optimise-call-expression": "^7.18.6", - "@babel/traverse": "^7.19.1", - "@babel/types": "^7.19.0" + "@babel/template": "^7.20.7", + "@babel/traverse": "^7.20.7", + "@babel/types": "^7.20.7" } }, "@babel/helper-simple-access": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.19.4.tgz", - "integrity": "sha512-f9Xq6WqBFqaDfbCzn2w85hwklswz5qsKlh7f08w4Y9yhJHpnNC0QemtSkK5YyOY8kPGvyiwdzZksGUhnGdaUIg==", + "version": "7.20.2", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.20.2.tgz", + "integrity": "sha512-+0woI/WPq59IrqDYbVGfshjT5Dmk/nnbdpcF8SnMhhXObpTq2KNBdLFRFrkVdbDOyUmHBCxzm5FHV1rACIkIbA==", "dev": true, "requires": { - "@babel/types": "^7.19.4" + "@babel/types": "^7.20.2" } }, "@babel/helper-skip-transparent-expression-wrappers": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.18.9.tgz", - "integrity": "sha512-imytd2gHi3cJPsybLRbmFrF7u5BIEuI2cNheyKi3/iOBC63kNn3q8Crn2xVuESli0aM4KYsyEqKyS7lFL8YVtw==", + "version": "7.20.0", + "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.20.0.tgz", + "integrity": "sha512-5y1JYeNKfvnT8sZcK9DVRtpTbGiomYIHviSP3OQWmDPU3DeH4a1ZlT/N2lyQ5P8egjcRaT/Y9aNqUxK0WsnIIg==", "dev": true, "requires": { - "@babel/types": "^7.18.9" + "@babel/types": "^7.20.0" } }, "@babel/helper-split-export-declaration": { @@ -4503,32 +4791,32 @@ "dev": true }, "@babel/helper-validator-option": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz", - "integrity": "sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.21.0.tgz", + "integrity": "sha512-rmL/B8/f0mKS2baE9ZpyTcTavvEuWhTTW8amjzXNvYG4AwBsqTLikfXsEofsJEfKHf+HQVQbFOHy6o+4cnC/fQ==", "dev": true }, "@babel/helper-wrap-function": { - "version": "7.19.0", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.19.0.tgz", - "integrity": "sha512-txX8aN8CZyYGTwcLhlk87KRqncAzhh5TpQamZUa0/u3an36NtDpUP6bQgBCBcLeBs09R/OwQu3OjK0k/HwfNDg==", + "version": "7.20.5", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.20.5.tgz", + "integrity": "sha512-bYMxIWK5mh+TgXGVqAtnu5Yn1un+v8DDZtqyzKRLUzrh70Eal2O3aZ7aPYiMADO4uKlkzOiRiZ6GX5q3qxvW9Q==", "dev": true, "requires": { "@babel/helper-function-name": "^7.19.0", "@babel/template": "^7.18.10", - "@babel/traverse": "^7.19.0", - "@babel/types": "^7.19.0" + "@babel/traverse": "^7.20.5", + "@babel/types": "^7.20.5" } }, "@babel/helpers": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.19.4.tgz", - "integrity": "sha512-G+z3aOx2nfDHwX/kyVii5fJq+bgscg89/dJNWpYeKeBv3v9xX8EIabmx1k6u9LS04H7nROFVRVK+e3k0VHp+sw==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.21.0.tgz", + "integrity": "sha512-XXve0CBtOW0pd7MRzzmoyuSj0e3SEzj8pgyFxnTT1NJZL38BD1MK7yYrm8yefRPIDvNNe14xR4FdbHwpInD4rA==", "dev": true, "requires": { - "@babel/template": "^7.18.10", - "@babel/traverse": "^7.19.4", - "@babel/types": "^7.19.4" + "@babel/template": "^7.20.7", + "@babel/traverse": "^7.21.0", + "@babel/types": "^7.21.0" } }, "@babel/highlight": { @@ -4543,9 +4831,9 @@ } }, "@babel/parser": { - "version": "7.19.6", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.19.6.tgz", - "integrity": "sha512-h1IUp81s2JYJ3mRkdxJgs4UvmSsRvDrx5ICSJbPvtWYv5i1nTBGcBpnog+89rAFMwvvru6E5NUHdBe01UeSzYA==", + "version": "7.21.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.21.4.tgz", + "integrity": "sha512-alVJj7k7zIxqBZ7BTRhz0IqJFxW1VJbm6N8JbcYhQ186df9ZBPbZBmWSqAMXwHGsCJdYks7z/voa3ibiS5bCIw==", "dev": true }, "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { @@ -4558,24 +4846,24 @@ } }, "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.18.9.tgz", - "integrity": "sha512-AHrP9jadvH7qlOj6PINbgSuphjQUAK7AOT7DPjBo9EHoLhQTnnK5u45e1Hd4DbSQEO9nqPWtQ89r+XEOWFScKg==", + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.20.7.tgz", + "integrity": "sha512-sbr9+wNE5aXMBBFBICk01tt7sBf2Oc9ikRFEcem/ZORup9IMUdNhW7/wVLEbbtlWOsEubJet46mHAL2C8+2jKQ==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.18.9", - "@babel/helper-skip-transparent-expression-wrappers": "^7.18.9", - "@babel/plugin-proposal-optional-chaining": "^7.18.9" + "@babel/helper-plugin-utils": "^7.20.2", + "@babel/helper-skip-transparent-expression-wrappers": "^7.20.0", + "@babel/plugin-proposal-optional-chaining": "^7.20.7" } }, "@babel/plugin-proposal-async-generator-functions": { - "version": "7.19.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.19.1.tgz", - "integrity": "sha512-0yu8vNATgLy4ivqMNBIwb1HebCelqN7YX8SL3FDXORv/RqT0zEEWUCH4GH44JsSrvCu6GqnAdR5EBFAPeNBB4Q==", + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.20.7.tgz", + "integrity": "sha512-xMbiLsn/8RK7Wq7VeVytytS2L6qE69bXPB10YCmMdDZbKF4okCqY74pI/jJQ/8U0b/F6NrT2+14b8/P9/3AMGA==", "dev": true, "requires": { "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-plugin-utils": "^7.19.0", + "@babel/helper-plugin-utils": "^7.20.2", "@babel/helper-remap-async-to-generator": "^7.18.9", "@babel/plugin-syntax-async-generators": "^7.8.4" } @@ -4591,13 +4879,13 @@ } }, "@babel/plugin-proposal-class-static-block": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.18.6.tgz", - "integrity": "sha512-+I3oIiNxrCpup3Gi8n5IGMwj0gOCAjcJUSQEcotNnCCPMEnixawOQ+KeJPlgfjzx+FKQ1QSyZOWe7wmoJp7vhw==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.21.0.tgz", + "integrity": "sha512-XP5G9MWNUskFuP30IfFSEFB0Z6HzLIUcjYM4bYOPHXl7eiJ9HFv8tWj6TXTN5QODiEhDZAeI4hLok2iHFFV4hw==", "dev": true, "requires": { - "@babel/helper-create-class-features-plugin": "^7.18.6", - "@babel/helper-plugin-utils": "^7.18.6", + "@babel/helper-create-class-features-plugin": "^7.21.0", + "@babel/helper-plugin-utils": "^7.20.2", "@babel/plugin-syntax-class-static-block": "^7.14.5" } }, @@ -4632,12 +4920,12 @@ } }, "@babel/plugin-proposal-logical-assignment-operators": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.18.9.tgz", - "integrity": "sha512-128YbMpjCrP35IOExw2Fq+x55LMP42DzhOhX2aNNIdI9avSWl2PI0yuBWarr3RYpZBSPtabfadkH2yeRiMD61Q==", + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.20.7.tgz", + "integrity": "sha512-y7C7cZgpMIjWlKE5T7eJwp+tnRYM89HmRvWM5EQuB5BoHEONjmQ8lSNmBUwOyy/GFRsohJED51YBF79hE1djug==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.18.9", + "@babel/helper-plugin-utils": "^7.20.2", "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" } }, @@ -4662,16 +4950,16 @@ } }, "@babel/plugin-proposal-object-rest-spread": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.19.4.tgz", - "integrity": "sha512-wHmj6LDxVDnL+3WhXteUBaoM1aVILZODAUjg11kHqG4cOlfgMQGxw6aCgvrXrmaJR3Bn14oZhImyCPZzRpC93Q==", + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.20.7.tgz", + "integrity": "sha512-d2S98yCiLxDVmBmE8UjGcfPvNEUbA1U5q5WxaWFUGRzJSVAZqm5W6MbPct0jxnegUZ0niLeNX+IOzEs7wYg9Dg==", "dev": true, "requires": { - "@babel/compat-data": "^7.19.4", - "@babel/helper-compilation-targets": "^7.19.3", - "@babel/helper-plugin-utils": "^7.19.0", + "@babel/compat-data": "^7.20.5", + "@babel/helper-compilation-targets": "^7.20.7", + "@babel/helper-plugin-utils": "^7.20.2", "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-transform-parameters": "^7.18.8" + "@babel/plugin-transform-parameters": "^7.20.7" } }, "@babel/plugin-proposal-optional-catch-binding": { @@ -4685,13 +4973,13 @@ } }, "@babel/plugin-proposal-optional-chaining": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.18.9.tgz", - "integrity": "sha512-v5nwt4IqBXihxGsW2QmCWMDS3B3bzGIk/EQVZz2ei7f3NJl8NzAJVvUmpDW5q1CRNY+Beb/k58UAH1Km1N411w==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.21.0.tgz", + "integrity": "sha512-p4zeefM72gpmEe2fkUr/OnOXpWEf8nAgk7ZYVqqfFiyIG7oFfVZcCrU64hWn5xp4tQ9LkV4bTIa5rD0KANpKNA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.18.9", - "@babel/helper-skip-transparent-expression-wrappers": "^7.18.9", + "@babel/helper-plugin-utils": "^7.20.2", + "@babel/helper-skip-transparent-expression-wrappers": "^7.20.0", "@babel/plugin-syntax-optional-chaining": "^7.8.3" } }, @@ -4706,14 +4994,14 @@ } }, "@babel/plugin-proposal-private-property-in-object": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.18.6.tgz", - "integrity": "sha512-9Rysx7FOctvT5ouj5JODjAFAkgGoudQuLPamZb0v1TGLpapdNaftzifU8NTWQm0IRjqoYypdrSmyWgkocDQ8Dw==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.0.tgz", + "integrity": "sha512-ha4zfehbJjc5MmXBlHec1igel5TJXXLDDRbuJ4+XT2TJcyD9/V1919BA8gMvsdHcNMBy4WBUBiRb3nw/EQUtBw==", "dev": true, "requires": { "@babel/helper-annotate-as-pure": "^7.18.6", - "@babel/helper-create-class-features-plugin": "^7.18.6", - "@babel/helper-plugin-utils": "^7.18.6", + "@babel/helper-create-class-features-plugin": "^7.21.0", + "@babel/helper-plugin-utils": "^7.20.2", "@babel/plugin-syntax-private-property-in-object": "^7.14.5" } }, @@ -4773,12 +5061,12 @@ } }, "@babel/plugin-syntax-import-assertions": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.18.6.tgz", - "integrity": "sha512-/DU3RXad9+bZwrgWJQKbr39gYbJpLJHezqEzRzi/BHRlJ9zsQb4CK2CA/5apllXNomwA1qHwzvHl+AdEmC5krQ==", + "version": "7.20.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.20.0.tgz", + "integrity": "sha512-IUh1vakzNoWalR8ch/areW7qFopR2AEw03JlG7BbrDqmQ4X3q9uuipQwSGrUn7oGiemKjtSLDhNtQHzMHr1JdQ==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.18.6" + "@babel/helper-plugin-utils": "^7.19.0" } }, "@babel/plugin-syntax-json-strings": { @@ -4863,23 +5151,23 @@ } }, "@babel/plugin-transform-arrow-functions": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.18.6.tgz", - "integrity": "sha512-9S9X9RUefzrsHZmKMbDXxweEH+YlE8JJEuat9FdvW9Qh1cw7W64jELCtWNkPBPX5En45uy28KGvA/AySqUh8CQ==", + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.20.7.tgz", + "integrity": "sha512-3poA5E7dzDomxj9WXWwuD6A5F3kc7VXwIJO+E+J8qtDtS+pXPAhrgEyh+9GBwBgPq1Z+bB+/JD60lp5jsN7JPQ==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.18.6" + "@babel/helper-plugin-utils": "^7.20.2" } }, "@babel/plugin-transform-async-to-generator": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.18.6.tgz", - "integrity": "sha512-ARE5wZLKnTgPW7/1ftQmSi1CmkqqHo2DNmtztFhvgtOWSDfq0Cq9/9L+KnZNYSNrydBekhW3rwShduf59RoXag==", + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.20.7.tgz", + "integrity": "sha512-Uo5gwHPT9vgnSXQxqGtpdufUiWp96gk7yiP4Mp5bm1QMkEmLXBO7PAGYbKoJ6DhAwiNkcHFBol/x5zZZkL/t0Q==", "dev": true, "requires": { "@babel/helper-module-imports": "^7.18.6", - "@babel/helper-plugin-utils": "^7.18.6", - "@babel/helper-remap-async-to-generator": "^7.18.6" + "@babel/helper-plugin-utils": "^7.20.2", + "@babel/helper-remap-async-to-generator": "^7.18.9" } }, "@babel/plugin-transform-block-scoped-functions": { @@ -4892,47 +5180,48 @@ } }, "@babel/plugin-transform-block-scoping": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.19.4.tgz", - "integrity": "sha512-934S2VLLlt2hRJwPf4MczaOr4hYF0z+VKPwqTNxyKX7NthTiPfhuKFWQZHXRM0vh/wo/VyXB3s4bZUNA08l+tQ==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.21.0.tgz", + "integrity": "sha512-Mdrbunoh9SxwFZapeHVrwFmri16+oYotcZysSzhNIVDwIAb1UV+kvnxULSYq9J3/q5MDG+4X6w8QVgD1zhBXNQ==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.19.0" + "@babel/helper-plugin-utils": "^7.20.2" } }, "@babel/plugin-transform-classes": { - "version": "7.19.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.19.0.tgz", - "integrity": "sha512-YfeEE9kCjqTS9IitkgfJuxjcEtLUHMqa8yUJ6zdz8vR7hKuo6mOy2C05P0F1tdMmDCeuyidKnlrw/iTppHcr2A==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.21.0.tgz", + "integrity": "sha512-RZhbYTCEUAe6ntPehC4hlslPWosNHDox+vAs4On/mCLRLfoDVHf6hVEd7kuxr1RnHwJmxFfUM3cZiZRmPxJPXQ==", "dev": true, "requires": { "@babel/helper-annotate-as-pure": "^7.18.6", - "@babel/helper-compilation-targets": "^7.19.0", + "@babel/helper-compilation-targets": "^7.20.7", "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-function-name": "^7.19.0", + "@babel/helper-function-name": "^7.21.0", "@babel/helper-optimise-call-expression": "^7.18.6", - "@babel/helper-plugin-utils": "^7.19.0", - "@babel/helper-replace-supers": "^7.18.9", + "@babel/helper-plugin-utils": "^7.20.2", + "@babel/helper-replace-supers": "^7.20.7", "@babel/helper-split-export-declaration": "^7.18.6", "globals": "^11.1.0" } }, "@babel/plugin-transform-computed-properties": { - "version": "7.18.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.18.9.tgz", - "integrity": "sha512-+i0ZU1bCDymKakLxn5srGHrsAPRELC2WIbzwjLhHW9SIE1cPYkLCL0NlnXMZaM1vhfgA2+M7hySk42VBvrkBRw==", + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.20.7.tgz", + "integrity": "sha512-Lz7MvBK6DTjElHAmfu6bfANzKcxpyNPeYBGEafyA6E5HtRpjpZwU+u7Qrgz/2OR0z+5TvKYbPdphfSaAcZBrYQ==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.18.9" + "@babel/helper-plugin-utils": "^7.20.2", + "@babel/template": "^7.20.7" } }, "@babel/plugin-transform-destructuring": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.19.4.tgz", - "integrity": "sha512-t0j0Hgidqf0aM86dF8U+vXYReUgJnlv4bZLsyoPnwZNrGY+7/38o8YjaELrvHeVfTZao15kjR0PVv0nju2iduA==", + "version": "7.21.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.21.3.tgz", + "integrity": "sha512-bp6hwMFzuiE4HqYEyoGJ/V2LeIWn+hLVKc4pnj++E5XQptwhtcGmSayM029d/j2X1bPKGTlsyPwAubuU22KhMA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.19.0" + "@babel/helper-plugin-utils": "^7.20.2" } }, "@babel/plugin-transform-dotall-regex": { @@ -4965,12 +5254,12 @@ } }, "@babel/plugin-transform-for-of": { - "version": "7.18.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.18.8.tgz", - "integrity": "sha512-yEfTRnjuskWYo0k1mHUqrVWaZwrdq8AYbfrpqULOJOaucGSp4mNMVps+YtA8byoevxS/urwU75vyhQIxcCgiBQ==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.21.0.tgz", + "integrity": "sha512-LlUYlydgDkKpIY7mcBWvyPPmMcOphEyYA27Ef4xpbh1IiDNLr0kZsos2nf92vz3IccvJI25QUwp86Eo5s6HmBQ==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.18.6" + "@babel/helper-plugin-utils": "^7.20.2" } }, "@babel/plugin-transform-function-name": { @@ -5003,35 +5292,35 @@ } }, "@babel/plugin-transform-modules-amd": { - "version": "7.19.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.19.6.tgz", - "integrity": "sha512-uG3od2mXvAtIFQIh0xrpLH6r5fpSQN04gIVovl+ODLdUMANokxQLZnPBHcjmv3GxRjnqwLuHvppjjcelqUFZvg==", + "version": "7.20.11", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.20.11.tgz", + "integrity": "sha512-NuzCt5IIYOW0O30UvqktzHYR2ud5bOWbY0yaxWZ6G+aFzOMJvrs5YHNikrbdaT15+KNO31nPOy5Fim3ku6Zb5g==", "dev": true, "requires": { - "@babel/helper-module-transforms": "^7.19.6", - "@babel/helper-plugin-utils": "^7.19.0" + "@babel/helper-module-transforms": "^7.20.11", + "@babel/helper-plugin-utils": "^7.20.2" } }, "@babel/plugin-transform-modules-commonjs": { - "version": "7.19.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.19.6.tgz", - "integrity": "sha512-8PIa1ym4XRTKuSsOUXqDG0YaOlEuTVvHMe5JCfgBMOtHvJKw/4NGovEGN33viISshG/rZNVrACiBmPQLvWN8xQ==", + "version": "7.21.2", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.21.2.tgz", + "integrity": "sha512-Cln+Yy04Gxua7iPdj6nOV96smLGjpElir5YwzF0LBPKoPlLDNJePNlrGGaybAJkd0zKRnOVXOgizSqPYMNYkzA==", "dev": true, "requires": { - "@babel/helper-module-transforms": "^7.19.6", - "@babel/helper-plugin-utils": "^7.19.0", - "@babel/helper-simple-access": "^7.19.4" + "@babel/helper-module-transforms": "^7.21.2", + "@babel/helper-plugin-utils": "^7.20.2", + "@babel/helper-simple-access": "^7.20.2" } }, "@babel/plugin-transform-modules-systemjs": { - "version": "7.19.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.19.6.tgz", - "integrity": "sha512-fqGLBepcc3kErfR9R3DnVpURmckXP7gj7bAlrTQyBxrigFqszZCkFkcoxzCp2v32XmwXLvbw+8Yq9/b+QqksjQ==", + "version": "7.20.11", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.20.11.tgz", + "integrity": "sha512-vVu5g9BPQKSFEmvt2TA4Da5N+QVS66EX21d8uoOihC+OCpUoGvzVsXeqFdtAEfVa5BILAeFt+U7yVmLbQnAJmw==", "dev": true, "requires": { "@babel/helper-hoist-variables": "^7.18.6", - "@babel/helper-module-transforms": "^7.19.6", - "@babel/helper-plugin-utils": "^7.19.0", + "@babel/helper-module-transforms": "^7.20.11", + "@babel/helper-plugin-utils": "^7.20.2", "@babel/helper-validator-identifier": "^7.19.1" } }, @@ -5046,13 +5335,13 @@ } }, "@babel/plugin-transform-named-capturing-groups-regex": { - "version": "7.19.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.19.1.tgz", - "integrity": "sha512-oWk9l9WItWBQYS4FgXD4Uyy5kq898lvkXpXQxoJEY1RnvPk4R/Dvu2ebXU9q8lP+rlMwUQTFf2Ok6d78ODa0kw==", + "version": "7.20.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.20.5.tgz", + "integrity": "sha512-mOW4tTzi5iTLnw+78iEq3gr8Aoq4WNRGpmSlrogqaiCBoR1HFhpU4JkpQFOHfeYx3ReVIFWOQJS4aZBRvuZ6mA==", "dev": true, "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.19.0", - "@babel/helper-plugin-utils": "^7.19.0" + "@babel/helper-create-regexp-features-plugin": "^7.20.5", + "@babel/helper-plugin-utils": "^7.20.2" } }, "@babel/plugin-transform-new-target": { @@ -5075,12 +5364,12 @@ } }, "@babel/plugin-transform-parameters": { - "version": "7.18.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.18.8.tgz", - "integrity": "sha512-ivfbE3X2Ss+Fj8nnXvKJS6sjRG4gzwPMsP+taZC+ZzEGjAYlvENixmt1sZ5Ca6tWls+BlKSGKPJ6OOXvXCbkFg==", + "version": "7.21.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.21.3.tgz", + "integrity": "sha512-Wxc+TvppQG9xWFYatvCGPvZ6+SIUxQ2ZdiBP+PHYMIjnPXD+uThCshaz4NZOnODAtBjjcVQQ/3OKs9LW28purQ==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.18.6" + "@babel/helper-plugin-utils": "^7.20.2" } }, "@babel/plugin-transform-property-literals": { @@ -5093,13 +5382,13 @@ } }, "@babel/plugin-transform-regenerator": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.18.6.tgz", - "integrity": "sha512-poqRI2+qiSdeldcz4wTSTXBRryoq3Gc70ye7m7UD5Ww0nE29IXqMl6r7Nd15WBgRd74vloEMlShtH6CKxVzfmQ==", + "version": "7.20.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.20.5.tgz", + "integrity": "sha512-kW/oO7HPBtntbsahzQ0qSE3tFvkFwnbozz3NWFhLGqH75vLEg+sCGngLlhVkePlCs3Jv0dBBHDzCHxNiFAQKCQ==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.18.6", - "regenerator-transform": "^0.15.0" + "@babel/helper-plugin-utils": "^7.20.2", + "regenerator-transform": "^0.15.1" } }, "@babel/plugin-transform-reserved-words": { @@ -5112,13 +5401,13 @@ } }, "@babel/plugin-transform-runtime": { - "version": "7.19.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.19.6.tgz", - "integrity": "sha512-PRH37lz4JU156lYFW1p8OxE5i7d6Sl/zV58ooyr+q1J1lnQPyg5tIiXlIwNVhJaY4W3TmOtdc8jqdXQcB1v5Yw==", + "version": "7.21.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.21.4.tgz", + "integrity": "sha512-1J4dhrw1h1PqnNNpzwxQ2UBymJUF8KuPjAAnlLwZcGhHAIqUigFW7cdK6GHoB64ubY4qXQNYknoUeks4Wz7CUA==", "dev": true, "requires": { - "@babel/helper-module-imports": "^7.18.6", - "@babel/helper-plugin-utils": "^7.19.0", + "@babel/helper-module-imports": "^7.21.4", + "@babel/helper-plugin-utils": "^7.20.2", "babel-plugin-polyfill-corejs2": "^0.3.3", "babel-plugin-polyfill-corejs3": "^0.6.0", "babel-plugin-polyfill-regenerator": "^0.4.1", @@ -5135,13 +5424,13 @@ } }, "@babel/plugin-transform-spread": { - "version": "7.19.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.19.0.tgz", - "integrity": "sha512-RsuMk7j6n+r752EtzyScnWkQyuJdli6LdO5Klv8Yx0OfPVTcQkIUfS8clx5e9yHXzlnhOZF3CbQ8C2uP5j074w==", + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.20.7.tgz", + "integrity": "sha512-ewBbHQ+1U/VnH1fxltbJqDeWBU1oNLG8Dj11uIv3xVf7nrQu0bPGe5Rf716r7K5Qz+SqtAOVswoVunoiBtGhxw==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.19.0", - "@babel/helper-skip-transparent-expression-wrappers": "^7.18.9" + "@babel/helper-plugin-utils": "^7.20.2", + "@babel/helper-skip-transparent-expression-wrappers": "^7.20.0" } }, "@babel/plugin-transform-sticky-regex": { @@ -5191,38 +5480,38 @@ } }, "@babel/preset-env": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.19.4.tgz", - "integrity": "sha512-5QVOTXUdqTCjQuh2GGtdd7YEhoRXBMVGROAtsBeLGIbIz3obCBIfRMT1I3ZKkMgNzwkyCkftDXSSkHxnfVf4qg==", + "version": "7.21.4", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.21.4.tgz", + "integrity": "sha512-2W57zHs2yDLm6GD5ZpvNn71lZ0B/iypSdIeq25OurDKji6AdzV07qp4s3n1/x5BqtiGaTrPN3nerlSCaC5qNTw==", "dev": true, "requires": { - "@babel/compat-data": "^7.19.4", - "@babel/helper-compilation-targets": "^7.19.3", - "@babel/helper-plugin-utils": "^7.19.0", - "@babel/helper-validator-option": "^7.18.6", + "@babel/compat-data": "^7.21.4", + "@babel/helper-compilation-targets": "^7.21.4", + "@babel/helper-plugin-utils": "^7.20.2", + "@babel/helper-validator-option": "^7.21.0", "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.18.6", - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.18.9", - "@babel/plugin-proposal-async-generator-functions": "^7.19.1", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.20.7", + "@babel/plugin-proposal-async-generator-functions": "^7.20.7", "@babel/plugin-proposal-class-properties": "^7.18.6", - "@babel/plugin-proposal-class-static-block": "^7.18.6", + "@babel/plugin-proposal-class-static-block": "^7.21.0", "@babel/plugin-proposal-dynamic-import": "^7.18.6", "@babel/plugin-proposal-export-namespace-from": "^7.18.9", "@babel/plugin-proposal-json-strings": "^7.18.6", - "@babel/plugin-proposal-logical-assignment-operators": "^7.18.9", + "@babel/plugin-proposal-logical-assignment-operators": "^7.20.7", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6", "@babel/plugin-proposal-numeric-separator": "^7.18.6", - "@babel/plugin-proposal-object-rest-spread": "^7.19.4", + "@babel/plugin-proposal-object-rest-spread": "^7.20.7", "@babel/plugin-proposal-optional-catch-binding": "^7.18.6", - "@babel/plugin-proposal-optional-chaining": "^7.18.9", + "@babel/plugin-proposal-optional-chaining": "^7.21.0", "@babel/plugin-proposal-private-methods": "^7.18.6", - "@babel/plugin-proposal-private-property-in-object": "^7.18.6", + "@babel/plugin-proposal-private-property-in-object": "^7.21.0", "@babel/plugin-proposal-unicode-property-regex": "^7.18.6", "@babel/plugin-syntax-async-generators": "^7.8.4", "@babel/plugin-syntax-class-properties": "^7.12.13", "@babel/plugin-syntax-class-static-block": "^7.14.5", "@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/plugin-syntax-export-namespace-from": "^7.8.3", - "@babel/plugin-syntax-import-assertions": "^7.18.6", + "@babel/plugin-syntax-import-assertions": "^7.20.0", "@babel/plugin-syntax-json-strings": "^7.8.3", "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", @@ -5232,40 +5521,40 @@ "@babel/plugin-syntax-optional-chaining": "^7.8.3", "@babel/plugin-syntax-private-property-in-object": "^7.14.5", "@babel/plugin-syntax-top-level-await": "^7.14.5", - "@babel/plugin-transform-arrow-functions": "^7.18.6", - "@babel/plugin-transform-async-to-generator": "^7.18.6", + "@babel/plugin-transform-arrow-functions": "^7.20.7", + "@babel/plugin-transform-async-to-generator": "^7.20.7", "@babel/plugin-transform-block-scoped-functions": "^7.18.6", - "@babel/plugin-transform-block-scoping": "^7.19.4", - "@babel/plugin-transform-classes": "^7.19.0", - "@babel/plugin-transform-computed-properties": "^7.18.9", - "@babel/plugin-transform-destructuring": "^7.19.4", + "@babel/plugin-transform-block-scoping": "^7.21.0", + "@babel/plugin-transform-classes": "^7.21.0", + "@babel/plugin-transform-computed-properties": "^7.20.7", + "@babel/plugin-transform-destructuring": "^7.21.3", "@babel/plugin-transform-dotall-regex": "^7.18.6", "@babel/plugin-transform-duplicate-keys": "^7.18.9", "@babel/plugin-transform-exponentiation-operator": "^7.18.6", - "@babel/plugin-transform-for-of": "^7.18.8", + "@babel/plugin-transform-for-of": "^7.21.0", "@babel/plugin-transform-function-name": "^7.18.9", "@babel/plugin-transform-literals": "^7.18.9", "@babel/plugin-transform-member-expression-literals": "^7.18.6", - "@babel/plugin-transform-modules-amd": "^7.18.6", - "@babel/plugin-transform-modules-commonjs": "^7.18.6", - "@babel/plugin-transform-modules-systemjs": "^7.19.0", + "@babel/plugin-transform-modules-amd": "^7.20.11", + "@babel/plugin-transform-modules-commonjs": "^7.21.2", + "@babel/plugin-transform-modules-systemjs": "^7.20.11", "@babel/plugin-transform-modules-umd": "^7.18.6", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.19.1", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.20.5", "@babel/plugin-transform-new-target": "^7.18.6", "@babel/plugin-transform-object-super": "^7.18.6", - "@babel/plugin-transform-parameters": "^7.18.8", + "@babel/plugin-transform-parameters": "^7.21.3", "@babel/plugin-transform-property-literals": "^7.18.6", - "@babel/plugin-transform-regenerator": "^7.18.6", + "@babel/plugin-transform-regenerator": "^7.20.5", "@babel/plugin-transform-reserved-words": "^7.18.6", "@babel/plugin-transform-shorthand-properties": "^7.18.6", - "@babel/plugin-transform-spread": "^7.19.0", + "@babel/plugin-transform-spread": "^7.20.7", "@babel/plugin-transform-sticky-regex": "^7.18.6", "@babel/plugin-transform-template-literals": "^7.18.9", "@babel/plugin-transform-typeof-symbol": "^7.18.9", "@babel/plugin-transform-unicode-escapes": "^7.18.10", "@babel/plugin-transform-unicode-regex": "^7.18.6", "@babel/preset-modules": "^0.1.5", - "@babel/types": "^7.19.4", + "@babel/types": "^7.21.4", "babel-plugin-polyfill-corejs2": "^0.3.3", "babel-plugin-polyfill-corejs3": "^0.6.0", "babel-plugin-polyfill-regenerator": "^0.4.1", @@ -5286,56 +5575,62 @@ "esutils": "^2.0.2" } }, + "@babel/regjsgen": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@babel/regjsgen/-/regjsgen-0.8.0.tgz", + "integrity": "sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==", + "dev": true + }, "@babel/runtime": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.4.tgz", - "integrity": "sha512-EXpLCrk55f+cYqmHsSR+yD/0gAIMxxA9QK9lnQWzhMCvt+YmoBN7Zx94s++Kv0+unHk39vxNO8t+CMA2WSS3wA==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.21.0.tgz", + "integrity": "sha512-xwII0//EObnq89Ji5AKYQaRYiW/nZ3llSv29d49IuxPhKbtJoLP+9QUUZ4nVragQVtaVGeZrpB+ZtG/Pdy/POw==", "requires": { - "regenerator-runtime": "^0.13.4" + "regenerator-runtime": "^0.13.11" } }, "@babel/runtime-corejs3": { - "version": "7.19.6", - "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.19.6.tgz", - "integrity": "sha512-oWNn1ZlGde7b4i/3tnixpH9qI0bOAACiUs+KEES4UUCnsPjVWFlWdLV/iwJuPC2qp3EowbAqsm+0XqNwnwYhxA==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.21.0.tgz", + "integrity": "sha512-TDD4UJzos3JJtM+tHX+w2Uc+KWj7GV+VKKFdMVd2Rx8sdA19hcc3P3AHFYd5LVOw+pYuSd5lICC3gm52B6Rwxw==", "requires": { "core-js-pure": "^3.25.1", - "regenerator-runtime": "^0.13.4" + "regenerator-runtime": "^0.13.11" } }, "@babel/template": { - "version": "7.18.10", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.18.10.tgz", - "integrity": "sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA==", + "version": "7.20.7", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.20.7.tgz", + "integrity": "sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw==", "dev": true, "requires": { "@babel/code-frame": "^7.18.6", - "@babel/parser": "^7.18.10", - "@babel/types": "^7.18.10" + "@babel/parser": "^7.20.7", + "@babel/types": "^7.20.7" } }, "@babel/traverse": { - "version": "7.19.6", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.19.6.tgz", - "integrity": "sha512-6l5HrUCzFM04mfbG09AagtYyR2P0B71B1wN7PfSPiksDPz2k5H9CBC1tcZpz2M8OxbKTPccByoOJ22rUKbpmQQ==", + "version": "7.21.4", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.21.4.tgz", + "integrity": "sha512-eyKrRHKdyZxqDm+fV1iqL9UAHMoIg0nDaGqfIOd8rKH17m5snv7Gn4qgjBoFfLz9APvjFU/ICT00NVCv1Epp8Q==", "dev": true, "requires": { - "@babel/code-frame": "^7.18.6", - "@babel/generator": "^7.19.6", + "@babel/code-frame": "^7.21.4", + "@babel/generator": "^7.21.4", "@babel/helper-environment-visitor": "^7.18.9", - "@babel/helper-function-name": "^7.19.0", + "@babel/helper-function-name": "^7.21.0", "@babel/helper-hoist-variables": "^7.18.6", "@babel/helper-split-export-declaration": "^7.18.6", - "@babel/parser": "^7.19.6", - "@babel/types": "^7.19.4", + "@babel/parser": "^7.21.4", + "@babel/types": "^7.21.4", "debug": "^4.1.0", "globals": "^11.1.0" } }, "@babel/types": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.19.4.tgz", - "integrity": "sha512-M5LK7nAeS6+9j7hAq+b3fQs+pNfUtTGq+yFFfHnauFA8zQtLRfmuipmsKDKKLuyG+wC8ABW43A153YNawNTEtw==", + "version": "7.21.4", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.21.4.tgz", + "integrity": "sha512-rU2oY501qDxE8Pyo7i/Orqma4ziCOrby0/9mvbDUGEfvZjb279Nk9k19e2fiCxHbRRpY2ZyrgW1eq22mvmOIzA==", "dev": true, "requires": { "@babel/helper-string-parser": "^7.19.4", @@ -5412,139 +5707,156 @@ "optional": true }, "@octokit/app": { - "version": "13.0.11", - "resolved": "https://registry.npmjs.org/@octokit/app/-/app-13.0.11.tgz", - "integrity": "sha512-qlUynCN1+BNYQ6VaJOMCqDdCo/2yzPixuoFnbcUThakRV+5969Tp+LTAtsZWjjb/tUHfutaAYOnsia1EGTAzfA==", + "version": "13.1.2", + "resolved": "https://registry.npmjs.org/@octokit/app/-/app-13.1.2.tgz", + "integrity": "sha512-Kf+h5sa1SOI33hFsuHvTsWj1jUrjp1x4MuiJBq7U/NicfEGa6nArPUoDnyfP/YTmcQ5cQ5yvOgoIBkbwPg6kzQ==", "dev": true, "requires": { - "@octokit/auth-app": "^4.0.0", + "@octokit/auth-app": "^4.0.8", "@octokit/auth-unauthenticated": "^3.0.0", "@octokit/core": "^4.0.0", "@octokit/oauth-app": "^4.0.7", - "@octokit/plugin-paginate-rest": "^5.0.0", - "@octokit/types": "^8.0.0", + "@octokit/plugin-paginate-rest": "^6.0.0", + "@octokit/types": "^9.0.0", "@octokit/webhooks": "^10.0.0" } }, "@octokit/auth-app": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/@octokit/auth-app/-/auth-app-4.0.7.tgz", - "integrity": "sha512-hjjVCoI/+1oLminVHJPPexguYb9FP4Q60hEHExgy1uAKMMJ5Zf8iJIeRJlIIqneTb4vt7NvUTEj4YDxBLZ1FLg==", + "version": "4.0.9", + "resolved": "https://registry.npmjs.org/@octokit/auth-app/-/auth-app-4.0.9.tgz", + "integrity": "sha512-VFpKIXhHO+kVJtane5cEvdYPtjDKCOI0uKsRrsZfJP+uEu7rcPbQCLCcRKgyT+mUIzGr1IIOmwP/lFqSip1dXA==", "dev": true, "requires": { "@octokit/auth-oauth-app": "^5.0.0", "@octokit/auth-oauth-user": "^2.0.0", "@octokit/request": "^6.0.0", "@octokit/request-error": "^3.0.0", - "@octokit/types": "^8.0.0", + "@octokit/types": "^9.0.0", "@types/lru-cache": "^5.1.0", "deprecation": "^2.3.1", "lru-cache": "^6.0.0", - "universal-github-app-jwt": "^1.0.1", + "universal-github-app-jwt": "^1.1.1", "universal-user-agent": "^6.0.0" + }, + "dependencies": { + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "requires": { + "yallist": "^4.0.0" + } + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + } } }, "@octokit/auth-oauth-app": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-app/-/auth-oauth-app-5.0.4.tgz", - "integrity": "sha512-zlWuii5hAN50vsV6SJC+uIJ7SMhyWjQMEmKJQxkmNDlieE9LjnkZnbOjqRsfcG7VO7WTl4K8ccpo/3A7Kdpmrw==", + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-app/-/auth-oauth-app-5.0.5.tgz", + "integrity": "sha512-UPX1su6XpseaeLVCi78s9droxpGtBWIgz9XhXAx9VXabksoF0MyI5vaa1zo1njyYt6VaAjFisC2A2Wchcu2WmQ==", "dev": true, "requires": { "@octokit/auth-oauth-device": "^4.0.0", "@octokit/auth-oauth-user": "^2.0.0", "@octokit/request": "^6.0.0", - "@octokit/types": "^8.0.0", + "@octokit/types": "^9.0.0", "@types/btoa-lite": "^1.0.0", "btoa-lite": "^1.0.0", "universal-user-agent": "^6.0.0" } }, "@octokit/auth-oauth-device": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-device/-/auth-oauth-device-4.0.3.tgz", - "integrity": "sha512-KPTx5nMntKjNZzzltO3X4T68v22rd7Cp/TcLJXQE2U8aXPcZ9LFuww9q9Q5WUNSu3jwi3lRwzfkPguRfz1R8Vg==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-device/-/auth-oauth-device-4.0.4.tgz", + "integrity": "sha512-Xl85BZYfqCMv+Uvz33nVVUjE7I/PVySNaK6dRRqlkvYcArSr9vRcZC9KVjXYObGRTCN6mISeYdakAZvWEN4+Jw==", "dev": true, "requires": { "@octokit/oauth-methods": "^2.0.0", "@octokit/request": "^6.0.0", - "@octokit/types": "^8.0.0", + "@octokit/types": "^9.0.0", "universal-user-agent": "^6.0.0" } }, "@octokit/auth-oauth-user": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-user/-/auth-oauth-user-2.0.4.tgz", - "integrity": "sha512-HrbDzTPqz6GcGSOUkR+wSeF3vEqsb9NMsmPja/qqqdiGmlk/Czkxctc3KeWYogHonp62Ml4kjz2VxKawrFsadQ==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-user/-/auth-oauth-user-2.1.1.tgz", + "integrity": "sha512-JgqnNNPf9CaWLxWm9uh2WgxcaVYhxBR09NVIPTiMU2dVZ3FObOHs3njBiLNw+zq84k+rEdm5Y7AsiASrZ84Apg==", "dev": true, "requires": { "@octokit/auth-oauth-device": "^4.0.0", "@octokit/oauth-methods": "^2.0.0", "@octokit/request": "^6.0.0", - "@octokit/types": "^8.0.0", + "@octokit/types": "^9.0.0", "btoa-lite": "^1.0.0", "universal-user-agent": "^6.0.0" } }, "@octokit/auth-token": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-3.0.2.tgz", - "integrity": "sha512-pq7CwIMV1kmzkFTimdwjAINCXKTajZErLB4wMLYapR2nuB/Jpr66+05wOTZMSCBXP6n4DdDWT2W19Bm17vU69Q==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-3.0.3.tgz", + "integrity": "sha512-/aFM2M4HVDBT/jjDBa84sJniv1t9Gm/rLkalaz9htOm+L+8JMj1k9w0CkUdcxNyNxZPlTxKPVko+m1VlM58ZVA==", "dev": true, "requires": { - "@octokit/types": "^8.0.0" + "@octokit/types": "^9.0.0" } }, "@octokit/auth-unauthenticated": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@octokit/auth-unauthenticated/-/auth-unauthenticated-3.0.3.tgz", - "integrity": "sha512-IyfLo1T5GmIC9+07hHGlD3gHtZI1Bona8PLhHXUnwcYDuZt0BhjlNJDYMoPG21C4r7v7+ZSxQHBKrGgkxpYb7A==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@octokit/auth-unauthenticated/-/auth-unauthenticated-3.0.4.tgz", + "integrity": "sha512-AT74XGBylcLr4lmUp1s6mjSUgphGdlse21Qjtv5DzpX1YOl5FXKwvNcZWESdhyBbpDT8VkVyLFqa/7a7eqpPNw==", "dev": true, "requires": { "@octokit/request-error": "^3.0.0", - "@octokit/types": "^8.0.0" + "@octokit/types": "^9.0.0" } }, "@octokit/core": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/@octokit/core/-/core-4.1.0.tgz", - "integrity": "sha512-Czz/59VefU+kKDy+ZfDwtOIYIkFjExOKf+HA92aiTZJ6EfWpFzYQWw0l54ji8bVmyhc+mGaLUbSUmXazG7z5OQ==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@octokit/core/-/core-4.2.0.tgz", + "integrity": "sha512-AgvDRUg3COpR82P7PBdGZF/NNqGmtMq2NiPqeSsDIeCfYFOZ9gddqWNQHnFdEUf+YwOj4aZYmJnlPp7OXmDIDg==", "dev": true, "requires": { "@octokit/auth-token": "^3.0.0", "@octokit/graphql": "^5.0.0", "@octokit/request": "^6.0.0", "@octokit/request-error": "^3.0.0", - "@octokit/types": "^8.0.0", + "@octokit/types": "^9.0.0", "before-after-hook": "^2.2.0", "universal-user-agent": "^6.0.0" } }, "@octokit/endpoint": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-7.0.3.tgz", - "integrity": "sha512-57gRlb28bwTsdNXq+O3JTQ7ERmBTuik9+LelgcLIVfYwf235VHbN9QNo4kXExtp/h8T423cR5iJThKtFYxC7Lw==", + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-7.0.5.tgz", + "integrity": "sha512-LG4o4HMY1Xoaec87IqQ41TQ+glvIeTKqfjkCEmt5AIwDZJwQeVZFIEYXrYY6yLwK+pAScb9Gj4q+Nz2qSw1roA==", "dev": true, "requires": { - "@octokit/types": "^8.0.0", + "@octokit/types": "^9.0.0", "is-plain-object": "^5.0.0", "universal-user-agent": "^6.0.0" } }, "@octokit/graphql": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-5.0.4.tgz", - "integrity": "sha512-amO1M5QUQgYQo09aStR/XO7KAl13xpigcy/kI8/N1PnZYSS69fgte+xA4+c2DISKqUZfsh0wwjc2FaCt99L41A==", + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-5.0.5.tgz", + "integrity": "sha512-Qwfvh3xdqKtIznjX9lz2D458r7dJPP8l6r4GQkIdWQouZwHQK0mVT88uwiU2bdTU2OtT1uOlKpRciUWldpG0yQ==", "dev": true, "requires": { "@octokit/request": "^6.0.0", - "@octokit/types": "^8.0.0", + "@octokit/types": "^9.0.0", "universal-user-agent": "^6.0.0" } }, "@octokit/oauth-app": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/@octokit/oauth-app/-/oauth-app-4.1.0.tgz", - "integrity": "sha512-dGZcfmwPkS3VZ9CNnvNszp6mlnbOZh9+/uPNiK/AkvSUJGXTbUVIZTkMvAjbyIFw2WlIx++hhtrTeKNJq6uMbw==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@octokit/oauth-app/-/oauth-app-4.2.0.tgz", + "integrity": "sha512-gyGclT77RQMkVUEW3YBeAKY+LBSc5u3eC9Wn/Uwt3WhuKuu9mrV18EnNpDqmeNll+mdV02yyBROU29Tlili6gg==", "dev": true, "requires": { "@octokit/auth-oauth-app": "^5.0.0", @@ -5565,136 +5877,119 @@ "dev": true }, "@octokit/oauth-methods": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@octokit/oauth-methods/-/oauth-methods-2.0.4.tgz", - "integrity": "sha512-RDSa6XL+5waUVrYSmOlYROtPq0+cfwppP4VaQY/iIei3xlFb0expH6YNsxNrZktcLhJWSpm9uzeom+dQrXlS3A==", + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@octokit/oauth-methods/-/oauth-methods-2.0.5.tgz", + "integrity": "sha512-yQP6B5gE3axNxuM3U9KqWs/ErAQ+WLPaPgC/7EjsZsQibkf8sjdAfF8/y/EJW+Dd05XQvadX4WhQZPMnO1SE1A==", "dev": true, "requires": { "@octokit/oauth-authorization-url": "^5.0.0", - "@octokit/request": "^6.0.0", - "@octokit/request-error": "^3.0.0", - "@octokit/types": "^8.0.0", + "@octokit/request": "^6.2.3", + "@octokit/request-error": "^3.0.3", + "@octokit/types": "^9.0.0", "btoa-lite": "^1.0.0" } }, "@octokit/openapi-types": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-14.0.0.tgz", - "integrity": "sha512-HNWisMYlR8VCnNurDU6os2ikx0s0VyEjDYHNS/h4cgb8DeOxQ0n72HyinUtdDVxJhFy3FWLGl0DJhfEWk3P5Iw==", + "version": "16.0.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-16.0.0.tgz", + "integrity": "sha512-JbFWOqTJVLHZSUUoF4FzAZKYtqdxWu9Z5m2QQnOyEa04fOFljvyh7D3GYKbfuaSWisqehImiVIMG4eyJeP5VEA==", "dev": true }, "@octokit/plugin-paginate-rest": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-5.0.1.tgz", - "integrity": "sha512-7A+rEkS70pH36Z6JivSlR7Zqepz3KVucEFVDnSrgHXzG7WLAzYwcHZbKdfTXHwuTHbkT1vKvz7dHl1+HNf6Qyw==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-6.0.0.tgz", + "integrity": "sha512-Sq5VU1PfT6/JyuXPyt04KZNVsFOSBaYOAq2QRZUwzVlI10KFvcbUo8lR258AAQL1Et60b0WuVik+zOWKLuDZxw==", "dev": true, "requires": { - "@octokit/types": "^8.0.0" + "@octokit/types": "^9.0.0" } }, "@octokit/plugin-rest-endpoint-methods": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-6.7.0.tgz", - "integrity": "sha512-orxQ0fAHA7IpYhG2flD2AygztPlGYNAdlzYz8yrD8NDgelPfOYoRPROfEyIe035PlxvbYrgkfUZIhSBKju/Cvw==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-7.0.1.tgz", + "integrity": "sha512-pnCaLwZBudK5xCdrR823xHGNgqOzRnJ/mpC/76YPpNP7DybdsJtP7mdOwh+wYZxK5jqeQuhu59ogMI4NRlBUvA==", "dev": true, "requires": { - "@octokit/types": "^8.0.0", + "@octokit/types": "^9.0.0", "deprecation": "^2.3.1" } }, "@octokit/plugin-retry": { - "version": "3.0.9", - "resolved": "https://registry.npmjs.org/@octokit/plugin-retry/-/plugin-retry-3.0.9.tgz", - "integrity": "sha512-r+fArdP5+TG6l1Rv/C9hVoty6tldw6cE2pRHNGmFPdyfrc696R6JjrQ3d7HdVqGwuzfyrcaLAKD7K8TX8aehUQ==", + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/@octokit/plugin-retry/-/plugin-retry-4.1.3.tgz", + "integrity": "sha512-3YKBj7d0J/4mpEc4xzMociWsMNl5lZqrpAnYcW6mqiSGF3wFjU+c6GHih6GLClk31JNvKDr0x9jc5cfm7evkZg==", "dev": true, "requires": { - "@octokit/types": "^6.0.3", + "@octokit/types": "^9.0.0", "bottleneck": "^2.15.3" - }, - "dependencies": { - "@octokit/openapi-types": { - "version": "12.11.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-12.11.0.tgz", - "integrity": "sha512-VsXyi8peyRq9PqIz/tpqiL2w3w80OgVMwBHltTml3LmVvXiphgeqmY9mvBw9Wu7e0QWk/fqD37ux8yP5uVekyQ==", - "dev": true - }, - "@octokit/types": { - "version": "6.41.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.41.0.tgz", - "integrity": "sha512-eJ2jbzjdijiL3B4PrSQaSjuF2sPEQPVCPzBvTHJD9Nz+9dw2SGH4K4xeQJ77YfTq5bRQ+bD8wT11JbeDPmxmGg==", - "dev": true, - "requires": { - "@octokit/openapi-types": "^12.11.0" - } - } } }, "@octokit/plugin-throttling": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/@octokit/plugin-throttling/-/plugin-throttling-4.3.1.tgz", - "integrity": "sha512-ga+sUf99rY94QA1BvZdhBCDfNqSZc+6u7h7uI/13jWHh77SuJVmHYWpPuISEH01fRf8wWkKH4liMI3SUwTizxQ==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@octokit/plugin-throttling/-/plugin-throttling-5.0.1.tgz", + "integrity": "sha512-I4qxs7wYvYlFuY3PAUGWAVPhFXG3RwnvTiSr5Fu/Auz7bYhDLnzS2MjwV8nGLq/FPrWwYiweeZrI5yjs1YG4tQ==", "dev": true, "requires": { - "@octokit/types": "^8.0.0", + "@octokit/types": "^9.0.0", "bottleneck": "^2.15.3" } }, "@octokit/request": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-6.2.2.tgz", - "integrity": "sha512-6VDqgj0HMc2FUX2awIs+sM6OwLgwHvAi4KCK3mT2H2IKRt6oH9d0fej5LluF5mck1lRR/rFWN0YIDSYXYSylbw==", + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-6.2.3.tgz", + "integrity": "sha512-TNAodj5yNzrrZ/VxP+H5HiYaZep0H3GU0O7PaF+fhDrt8FPrnkei9Aal/txsN/1P7V3CPiThG0tIvpPDYUsyAA==", "dev": true, "requires": { "@octokit/endpoint": "^7.0.0", "@octokit/request-error": "^3.0.0", - "@octokit/types": "^8.0.0", + "@octokit/types": "^9.0.0", "is-plain-object": "^5.0.0", "node-fetch": "^2.6.7", "universal-user-agent": "^6.0.0" } }, "@octokit/request-error": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-3.0.2.tgz", - "integrity": "sha512-WMNOFYrSaX8zXWoJg9u/pKgWPo94JXilMLb2VManNOby9EZxrQaBe/QSC4a1TzpAlpxofg2X/jMnCyZgL6y7eg==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-3.0.3.tgz", + "integrity": "sha512-crqw3V5Iy2uOU5Np+8M/YexTlT8zxCfI+qu+LxUB7SZpje4Qmx3mub5DfEKSO8Ylyk0aogi6TYdf6kxzh2BguQ==", "dev": true, "requires": { - "@octokit/types": "^8.0.0", + "@octokit/types": "^9.0.0", "deprecation": "^2.0.0", "once": "^1.4.0" } }, "@octokit/types": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-8.0.0.tgz", - "integrity": "sha512-65/TPpOJP1i3K4lBJMnWqPUJ6zuOtzhtagDvydAWbEXpbFYA0oMKKyLb95NFZZP0lSh/4b6K+DQlzvYQJQQePg==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-9.0.0.tgz", + "integrity": "sha512-LUewfj94xCMH2rbD5YJ+6AQ4AVjFYTgpp6rboWM5T7N3IsIF65SBEOVcYMGAEzO/kKNiNaW4LoWtoThOhH06gw==", "dev": true, "requires": { - "@octokit/openapi-types": "^14.0.0" + "@octokit/openapi-types": "^16.0.0" } }, "@octokit/webhooks": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/@octokit/webhooks/-/webhooks-10.3.0.tgz", - "integrity": "sha512-6k4dNsTjNhoJNJ56RKkWCMXEj32Cgvy4hIsV3fhK60hKbEfI1/rkx7tF87Gqtf1Xg5UVQfFmYygaBPGQCr0TmQ==", + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/@octokit/webhooks/-/webhooks-10.7.0.tgz", + "integrity": "sha512-zZBbQMpXXnK/ki/utrFG/TuWv9545XCSLibfDTxrYqR1PmU6zel02ebTOrA7t5XIGHzlEOc/NgISUIBUe7pMFA==", "dev": true, "requires": { "@octokit/request-error": "^3.0.0", "@octokit/webhooks-methods": "^3.0.0", - "@octokit/webhooks-types": "6.5.0", + "@octokit/webhooks-types": "6.10.0", "aggregate-error": "^3.1.0" } }, "@octokit/webhooks-methods": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@octokit/webhooks-methods/-/webhooks-methods-3.0.1.tgz", - "integrity": "sha512-XftYVcBxtzC2G05kdBNn9IYLtQ+Cz6ufKkjZd0DU/qGaZEFTPzM2OabXAWG5tvL0q/I+Exio1JnRiPfetiMSEw==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@octokit/webhooks-methods/-/webhooks-methods-3.0.2.tgz", + "integrity": "sha512-Vlnv5WBscf07tyAvfDbp7pTkMZUwk7z7VwEF32x6HqI+55QRwBTcT+D7DDjZXtad/1dU9E32x0HmtDlF9VIRaQ==", "dev": true }, "@octokit/webhooks-types": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/@octokit/webhooks-types/-/webhooks-types-6.5.0.tgz", - "integrity": "sha512-SNx1YKBvi9IQvXo/SQ0p+9OKO2HMdzpCWcKsYxpGW1tlkE9TojYiGnFfxcXddyrsK4mC1UiyXY8+NYjWjtkVmA==", + "version": "6.10.0", + "resolved": "https://registry.npmjs.org/@octokit/webhooks-types/-/webhooks-types-6.10.0.tgz", + "integrity": "sha512-lDNv83BeEyxxukdQ0UttiUXawk9+6DkdjjFtm2GFED+24IQhTVaoSbwV9vWWKONyGLzRmCQqZmoEWkDhkEmPlw==", "dev": true }, "@rollup/plugin-babel": { @@ -5780,9 +6075,9 @@ } }, "@types/aws-lambda": { - "version": "8.10.108", - "resolved": "https://registry.npmjs.org/@types/aws-lambda/-/aws-lambda-8.10.108.tgz", - "integrity": "sha512-1yh1W1WoqK3lGHy+V/Fi55zobxrDHUUsluCWdMlOXkCvtsCmHPXOG+CQ2STIL4B1g6xi6I6XzxaF8V9+zeIFLA==", + "version": "8.10.114", + "resolved": "https://registry.npmjs.org/@types/aws-lambda/-/aws-lambda-8.10.114.tgz", + "integrity": "sha512-M8WpEGfC9iQ6V2Ccq6nGIXoQgeVc6z0Ngk8yCOL5V/TYIxshvb0MWQYLFFTZDesL0zmsoBc4OBjG9DB/4rei6w==", "dev": true }, "@types/btoa-lite": { @@ -5804,9 +6099,9 @@ "dev": true }, "@types/jsonwebtoken": { - "version": "8.5.9", - "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.9.tgz", - "integrity": "sha512-272FMnFGzAVMGtu9tkr29hRL6bZj4Zs1KZNeHLnKqAvp06tAIcarTMwOh8/8bz4FmKRcMxZhZNeUAQsNLoiPhg==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-9.0.1.tgz", + "integrity": "sha512-c5ltxazpWabia/4UzhIoaDcIza4KViOQhdbjRlfcIGVnsE3c3brkz9Z+F/EeJIECOQP7W7US2hNE930cWWkPiw==", "dev": true, "requires": { "@types/node": "*" @@ -5819,9 +6114,9 @@ "dev": true }, "@types/node": { - "version": "18.11.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.2.tgz", - "integrity": "sha512-BWN3M23gLO2jVG8g/XHIRFWiiV4/GckeFIqbU/C4V3xpoBBWSMk4OZomouN0wCkfQFPqgZikyLr7DOYDysIkkw==", + "version": "18.15.11", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.11.tgz", + "integrity": "sha512-E5Kwq2n4SbMzQOn6wnmBjuK9ouqlURrcZDVfbo9ftDDTFt3nk7ZKK4GMOzoYgnpQJKcxwQw+lGaBvvlMo0qN/Q==", "dev": true }, "@types/resolve": { @@ -5834,9 +6129,9 @@ } }, "acorn": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz", - "integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==", + "version": "8.8.2", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz", + "integrity": "sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==", "dev": true }, "aggregate-error": { @@ -5849,10 +6144,22 @@ "indent-string": "^4.0.0" } }, + "ajv": { + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + } + }, "ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", "dev": true }, "ansi-styles": { @@ -5865,9 +6172,9 @@ } }, "anymatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", - "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", "dev": true, "optional": true, "requires": { @@ -5911,6 +6218,12 @@ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "dev": true }, + "base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "dev": true + }, "before-after-hook": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.3.tgz", @@ -5924,6 +6237,17 @@ "dev": true, "optional": true }, + "bl": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/bl/-/bl-5.1.0.tgz", + "integrity": "sha512-tv1ZJHLfTDnXE6tMHv73YgSJaWR2AFuPwMntBe7XL/GBFHnT0CLnsHMogfk5+GzCDC5ZWarSCYaIGATZt9dNsQ==", + "dev": true, + "requires": { + "buffer": "^6.0.3", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, "bottleneck": { "version": "2.19.5", "resolved": "https://registry.npmjs.org/bottleneck/-/bottleneck-2.19.5.tgz", @@ -5951,15 +6275,15 @@ } }, "browserslist": { - "version": "4.21.4", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.4.tgz", - "integrity": "sha512-CBHJJdDmgjl3daYjN5Cp5kbTf1mUhZoS+beLklHIvkOWscs83YAhLlF3Wsh/lciQYAcbBJgTOD44VtG31ZM4Hw==", + "version": "4.21.5", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.5.tgz", + "integrity": "sha512-tUkiguQGW7S3IhB7N+c2MV/HZPSCPAAiYBZXLsBhFB/PCy6ZKKsZrmBayHV9fdGV/ARIfJ14NkxKzRDjvp7L6w==", "dev": true, "requires": { - "caniuse-lite": "^1.0.30001400", - "electron-to-chromium": "^1.4.251", - "node-releases": "^2.0.6", - "update-browserslist-db": "^1.0.9" + "caniuse-lite": "^1.0.30001449", + "electron-to-chromium": "^1.4.284", + "node-releases": "^2.0.8", + "update-browserslist-db": "^1.0.10" } }, "btoa-lite": { @@ -5968,6 +6292,16 @@ "integrity": "sha512-gvW7InbIyF8AicrqWoptdW08pUxuhq8BEgowNajy9RhiE86fmGAGl+bLKo6oB8QP0CkqHLowfN0oJdKC/J6LbA==", "dev": true }, + "buffer": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", + "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", + "dev": true, + "requires": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, "buffer-equal-constant-time": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", @@ -5993,17 +6327,17 @@ "dev": true }, "cacheable-request": { - "version": "10.2.2", - "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-10.2.2.tgz", - "integrity": "sha512-KxjQZM3UIo7/J6W4sLpwFvu1GB3Whv8NtZ8ZrUL284eiQjiXeeqWTdhixNrp/NLZ/JNuFBo6BD4ZaO8ZJ5BN8Q==", + "version": "10.2.9", + "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-10.2.9.tgz", + "integrity": "sha512-CaAMr53AS1Tb9evO1BIWFnZjSr8A4pbXofpsNVWPMDZZj3ZQKHwsQG9BrTqQ4x5ZYJXz1T2b8LLtTZODxSpzbg==", "dev": true, "requires": { "@types/http-cache-semantics": "^4.0.1", "get-stream": "^6.0.1", - "http-cache-semantics": "^4.1.0", - "keyv": "^4.5.0", + "http-cache-semantics": "^4.1.1", + "keyv": "^4.5.2", "mimic-response": "^4.0.0", - "normalize-url": "^7.2.0", + "normalize-url": "^8.0.0", "responselike": "^3.0.0" } }, @@ -6018,9 +6352,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001422", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001422.tgz", - "integrity": "sha512-hSesn02u1QacQHhaxl/kNMZwqVG35Sz/8DgvmgedxSH8z9UUpcDYSPYgsj3x5dQNRcNp6BwpSfQfVzYUTm+fog==", + "version": "1.0.30001473", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001473.tgz", + "integrity": "sha512-ewDad7+D2vlyy+E4UJuVfiBsU69IL+8oVmTuZnH5Q6CIUbxNfI50uVpRHbUPDD6SUaN2o0Lh4DhTrvLG/Tn1yg==", "dev": true }, "chalk": { @@ -6057,17 +6391,27 @@ "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", "dev": true }, - "cliui": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "cli-cursor": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-4.0.0.tgz", + "integrity": "sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==", "dev": true, "requires": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" + "restore-cursor": "^4.0.0" } }, + "cli-spinners": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.7.0.tgz", + "integrity": "sha512-qu3pN8Y3qHNgE2AFweciB1IfMnmZ/fsNTEE+NOFjmGB2F/7rLhnhzppvpCnN4FovtP26k8lHyy9ptEbNwWFLzw==", + "dev": true + }, + "clone": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", + "integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==", + "dev": true + }, "color-convert": { "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", @@ -6083,12 +6427,6 @@ "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", "dev": true }, - "colors": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", - "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==", - "dev": true - }, "commander": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", @@ -6114,9 +6452,9 @@ "dev": true }, "convict": { - "version": "6.2.3", - "resolved": "https://registry.npmjs.org/convict/-/convict-6.2.3.tgz", - "integrity": "sha512-mTY04Qr7WrqiXifdeUYXr4/+Te4hPFWDvz6J2FVIKCLc2XBhq63VOSSYAKJ+unhZAYOAjmEdNswTOeHt7s++pQ==", + "version": "6.2.4", + "resolved": "https://registry.npmjs.org/convict/-/convict-6.2.4.tgz", + "integrity": "sha512-qN60BAwdMVdofckX7AlohVJ2x9UvjTNoKVXCL2LxFk1l7757EJqf1nySdMkPQer0bt8kQ5lQiyZ9/2NvrFBuwQ==", "dev": true, "requires": { "lodash.clonedeep": "^4.5.0", @@ -6124,24 +6462,24 @@ } }, "core-js": { - "version": "3.25.5", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.25.5.tgz", - "integrity": "sha512-nbm6eZSjm+ZuBQxCUPQKQCoUEfFOXjUZ8dTTyikyKaWrTYmAVbykQfwsKE5dBK88u3QCkCrzsx/PPlKfhsvgpw==", + "version": "3.29.1", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.29.1.tgz", + "integrity": "sha512-+jwgnhg6cQxKYIIjGtAHq2nwUOolo9eoFZ4sHfUH09BLXBgxnH4gA0zEd+t+BO2cNB8idaBtZFcFTRjQJRJmAw==", "dev": true }, "core-js-compat": { - "version": "3.25.5", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.25.5.tgz", - "integrity": "sha512-ovcyhs2DEBUIE0MGEKHP4olCUW/XYte3Vroyxuh38rD1wAO4dHohsovUC4eAOuzFxE6b+RXvBU3UZ9o0YhUTkA==", + "version": "3.29.1", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.29.1.tgz", + "integrity": "sha512-QmchCua884D8wWskMX8tW5ydINzd8oSJVx38lx/pVkFGqztxt73GYre3pm/hyYq8bPf+MW5In4I/uRShFDsbrA==", "dev": true, "requires": { - "browserslist": "^4.21.4" + "browserslist": "^4.21.5" } }, "core-js-pure": { - "version": "3.25.5", - "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.25.5.tgz", - "integrity": "sha512-oml3M22pHM+igfWHDfdLVq2ShWmjM2V4L+dQEBs0DWVIqEm9WHCwGAlZ6BmyBQGy5sFrJmcx+856D9lVKyGWYg==" + "version": "3.29.1", + "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.29.1.tgz", + "integrity": "sha512-4En6zYVi0i0XlXHVz/bi6l1XDjCqkKRq765NXuX+SnaIatlE96Odt5lMLjdxUiNI1v9OXI5DSLWYPlmTfkTktg==" }, "debug": { "version": "4.3.4", @@ -6170,11 +6508,20 @@ } }, "deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", + "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", "dev": true }, + "defaults": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz", + "integrity": "sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==", + "dev": true, + "requires": { + "clone": "^1.0.2" + } + }, "defer-to-connect": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-2.0.1.tgz", @@ -6197,15 +6544,9 @@ } }, "electron-to-chromium": { - "version": "1.4.284", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.284.tgz", - "integrity": "sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA==", - "dev": true - }, - "emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "version": "1.4.348", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.348.tgz", + "integrity": "sha512-gM7TdwuG3amns/1rlgxMbeeyNoBFPa+4Uu0c7FeROWh4qWmvSOnvcslKmWy51ggLKZ2n/F/4i2HJ+PVNxH9uCQ==", "dev": true }, "escalade": { @@ -6232,6 +6573,12 @@ "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", "dev": true }, + "fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, "fill-range": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", @@ -6243,9 +6590,9 @@ } }, "form-data-encoder": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/form-data-encoder/-/form-data-encoder-2.1.3.tgz", - "integrity": "sha512-KqU0nnPMgIJcCOFTNJFEA8epcseEaoox4XZffTgy8jlI6pL/5EFyR54NRG7CnCJN0biY7q52DO3MH6/sJ/TKlQ==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/form-data-encoder/-/form-data-encoder-2.1.4.tgz", + "integrity": "sha512-yDYSgNMraqvnxiEXO4hi88+YZxaHC6QKzb5N84iRCTDeRO7ZALpir/lVmf/uXUhnwUr2O4HU8s/n6x+yNjQkHw==", "dev": true }, "fromentries": { @@ -6285,12 +6632,6 @@ "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", "dev": true }, - "get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "dev": true - }, "get-stream": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", @@ -6328,15 +6669,15 @@ "dev": true }, "got": { - "version": "12.5.2", - "resolved": "https://registry.npmjs.org/got/-/got-12.5.2.tgz", - "integrity": "sha512-guHGMSEcsA5m1oPRweXUJnug0vuvlkX9wx5hzOka+ZBrBUOJHU0Z1JcNu3QE5IPGnA5aXUsQHdWOD4eJg9/v3A==", + "version": "12.6.0", + "resolved": "https://registry.npmjs.org/got/-/got-12.6.0.tgz", + "integrity": "sha512-WTcaQ963xV97MN3x0/CbAriXFZcXCfgxVp91I+Ze6pawQOa7SgzwSx2zIJJsX+kTajMnVs0xcFD1TxZKFqhdnQ==", "dev": true, "requires": { "@sindresorhus/is": "^5.2.0", "@szmarczak/http-timer": "^5.0.1", "cacheable-lookup": "^7.0.0", - "cacheable-request": "^10.2.1", + "cacheable-request": "^10.2.8", "decompress-response": "^6.0.0", "form-data-encoder": "^2.1.2", "get-stream": "^6.0.1", @@ -6362,21 +6703,27 @@ "dev": true }, "http-cache-semantics": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", - "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", + "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==", "dev": true }, "http2-wrapper": { - "version": "2.1.11", - "resolved": "https://registry.npmjs.org/http2-wrapper/-/http2-wrapper-2.1.11.tgz", - "integrity": "sha512-aNAk5JzLturWEUiuhAN73Jcbq96R7rTitAoXV54FYMatvihnpD2+6PUgU4ce3D/m5VDbw+F5CsyKSF176ptitQ==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/http2-wrapper/-/http2-wrapper-2.2.0.tgz", + "integrity": "sha512-kZB0wxMo0sh1PehyjJUWRFEd99KC5TLjZ2cULC4f9iqJBAmKQQXEICjxl5iPJRwP40dpeHFqqhm7tYCvODpqpQ==", "dev": true, "requires": { "quick-lru": "^5.1.1", "resolve-alpn": "^1.2.0" } }, + "ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "dev": true + }, "indent-string": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", @@ -6410,9 +6757,9 @@ } }, "is-builtin-module": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-3.2.0.tgz", - "integrity": "sha512-phDA4oSGt7vl1n5tJvTWooWWAsXLY+2xCnxNqvKhGEzujg+A43wPlPOyDg3C8XQHN+6k/JTQWJ/j0dQh/qr+Hw==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-3.2.1.tgz", + "integrity": "sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==", "dev": true, "requires": { "builtin-modules": "^3.3.0" @@ -6434,12 +6781,6 @@ "dev": true, "optional": true }, - "is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true - }, "is-glob": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", @@ -6450,6 +6791,12 @@ "is-extglob": "^2.1.1" } }, + "is-interactive": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-2.0.0.tgz", + "integrity": "sha512-qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ==", + "dev": true + }, "is-module": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", @@ -6478,6 +6825,12 @@ "@types/estree": "*" } }, + "is-unicode-supported": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-1.3.0.tgz", + "integrity": "sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==", + "dev": true + }, "jest-worker": { "version": "26.6.2", "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz", @@ -6524,34 +6877,52 @@ "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", "dev": true }, + "json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true + }, "json5": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz", - "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==", + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", "dev": true }, "jsonwebtoken": { - "version": "8.5.1", - "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz", - "integrity": "sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-9.0.0.tgz", + "integrity": "sha512-tuGfYXxkQGDPnLJ7SibiQgVgeDgfbPq2k2ICcbgqW8WxWLBAxKQM/ZCu/IT8SOSwmaYl4dpTFCW5xZv7YbbWUw==", "dev": true, "requires": { "jws": "^3.2.2", - "lodash.includes": "^4.3.0", - "lodash.isboolean": "^3.0.3", - "lodash.isinteger": "^4.0.4", - "lodash.isnumber": "^3.0.3", - "lodash.isplainobject": "^4.0.6", - "lodash.isstring": "^4.0.1", - "lodash.once": "^4.0.0", + "lodash": "^4.17.21", "ms": "^2.1.1", - "semver": "^5.6.0" + "semver": "^7.3.8" }, "dependencies": { + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "requires": { + "yallist": "^4.0.0" + } + }, "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "version": "7.3.8", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", + "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "dev": true, + "requires": { + "lru-cache": "^6.0.0" + } + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", "dev": true } } @@ -6578,14 +6949,26 @@ } }, "keyv": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.0.tgz", - "integrity": "sha512-2YvuMsA+jnFGtBareKqgANOEKe1mk3HKiXu2fRmAfyxG0MJAywNhi5ttWA3PMjl4NmpyjZNbFifR2vNjW1znfA==", + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.2.tgz", + "integrity": "sha512-5MHbFaKn8cNSmVW7BYnijeAVlE4cYA/SVkifVgrh7yotnfhKmjuXpDKjrABLnT0SfHWV21P8ow07OGfRrNDg8g==", "dev": true, "requires": { "json-buffer": "3.0.1" } }, + "kleur": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", + "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", + "dev": true + }, + "lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true + }, "lodash.clonedeep": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", @@ -6598,47 +6981,23 @@ "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==", "dev": true }, - "lodash.includes": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", - "integrity": "sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==", - "dev": true - }, - "lodash.isboolean": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", - "integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==", - "dev": true - }, - "lodash.isinteger": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", - "integrity": "sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA==", - "dev": true - }, - "lodash.isnumber": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", - "integrity": "sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw==", - "dev": true - }, - "lodash.isplainobject": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", - "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==", - "dev": true - }, - "lodash.isstring": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", - "integrity": "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==", - "dev": true - }, - "lodash.once": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", - "integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==", - "dev": true + "log-symbols": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-5.1.0.tgz", + "integrity": "sha512-l0x2DvrW294C9uDCoQe1VSU4gf529FkSZ6leBl4TiqZH/e+0R7hSfHQBNut2mNygDgHwvYHfFLn6Oxb3VWj2rA==", + "dev": true, + "requires": { + "chalk": "^5.0.0", + "is-unicode-supported": "^1.1.0" + }, + "dependencies": { + "chalk": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.2.0.tgz", + "integrity": "sha512-ree3Gqw/nazQAPuJJEy+avdl7QfZMcUvmHIKgEZkGL+xOBzRvup5Hxo6LHuMceSxOabuJLJm5Yp/92R9eMmMvA==", + "dev": true + } + } }, "lowercase-keys": { "version": "3.0.0", @@ -6647,12 +7006,12 @@ "dev": true }, "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", "dev": true, "requires": { - "yallist": "^4.0.0" + "yallist": "^3.0.2" } }, "magic-string": { @@ -6688,6 +7047,12 @@ "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", "dev": true }, + "mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true + }, "mimic-response": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-4.0.0.tgz", @@ -6710,29 +7075,54 @@ "dev": true }, "node-fetch": { - "version": "2.6.7", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", - "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.9.tgz", + "integrity": "sha512-DJm/CJkZkRjKKj4Zi4BsKVZh3ValV5IR5s7LVZnW+6YMh0W1BfNA8XSs6DLMGYlId5F3KnA70uu2qepcR08Qqg==", "dev": true, "requires": { "whatwg-url": "^5.0.0" } }, "node-releaser": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/node-releaser/-/node-releaser-1.0.2.tgz", - "integrity": "sha512-pcJqas8cjcOcVRcYaHEM5IsRYQA9AlmM4hYmo7c7yP/dnUDUa2zYHyeYnZ2EICthR367di894YC7kAmEpKYppA==", + "version": "2.0.0-beta.4", + "resolved": "https://registry.npmjs.org/node-releaser/-/node-releaser-2.0.0-beta.4.tgz", + "integrity": "sha512-2Ab+K9WhgmAAvlmUTlGICZgedlILE+XwsODnwsIFQNkH3C6RSGz+MUGe3vFSuDp12s/gYX7Q98knSdozxuLPAw==", "dev": true, "requires": { + "ajv": "^8.11.0", "calver": "^22.8.3", - "colors": "^1.4.0", + "chalk": "^5.1.2", + "commander": "^9.4.1", "convict": "^6.2.1", "got": "^12.5.2", + "lodash": "^4.17.21", "octokit": "^2.0.9", - "semver": "^7.3.5", - "yargs": "^17.1.1" + "ora": "^6.1.2", + "prompts": "^2.4.2", + "semver": "^7.3.5" }, "dependencies": { + "chalk": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.2.0.tgz", + "integrity": "sha512-ree3Gqw/nazQAPuJJEy+avdl7QfZMcUvmHIKgEZkGL+xOBzRvup5Hxo6LHuMceSxOabuJLJm5Yp/92R9eMmMvA==", + "dev": true + }, + "commander": { + "version": "9.5.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-9.5.0.tgz", + "integrity": "sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==", + "dev": true + }, + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "requires": { + "yallist": "^4.0.0" + } + }, "semver": { "version": "7.3.8", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", @@ -6741,13 +7131,19 @@ "requires": { "lru-cache": "^6.0.0" } + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true } } }, "node-releases": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.6.tgz", - "integrity": "sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg==", + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.10.tgz", + "integrity": "sha512-5GFldHPXVG/YZmFzJvKK2zDSzPKhEp0+ZR5SVaoSag9fsL5YgHbUHDfnG5494ISANDcK4KwPXAx2xqVEydmd7w==", "dev": true }, "normalize-path": { @@ -6758,25 +7154,25 @@ "optional": true }, "normalize-url": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-7.2.0.tgz", - "integrity": "sha512-uhXOdZry0L6M2UIo9BTt7FdpBDiAGN/7oItedQwPKh8jh31ZlvC8U9Xl/EJ3aijDHaywXTW3QbZ6LuCocur1YA==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-8.0.0.tgz", + "integrity": "sha512-uVFpKhj5MheNBJRTiMZ9pE/7hD1QTeEvugSJW/OmLzAp78PB5O6adfMNTvmfKhXBkvCzC+rqifWcVYpGFwTjnw==", "dev": true }, "octokit": { - "version": "2.0.9", - "resolved": "https://registry.npmjs.org/octokit/-/octokit-2.0.9.tgz", - "integrity": "sha512-+4XOeV1pvr5aVdlrj/WGl8VE6yJHt/XAPr/x4+gRQFp1p8l0Wu/w3ZIvlIpnPJFx5yiHrVWHd5syPLWOip89LQ==", + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/octokit/-/octokit-2.0.14.tgz", + "integrity": "sha512-z6cgZBFxirpFEQ1La8Lg83GCs5hOV2EPpkYYdjsGNbfQMv8qUGjq294MiRBCbZqLufviakGsPUxaNKe3JrPmsA==", "dev": true, "requires": { - "@octokit/app": "^13.0.5", + "@octokit/app": "^13.1.1", "@octokit/core": "^4.0.4", "@octokit/oauth-app": "^4.0.6", - "@octokit/plugin-paginate-rest": "^5.0.0", - "@octokit/plugin-rest-endpoint-methods": "^6.0.0", - "@octokit/plugin-retry": "^3.0.9", - "@octokit/plugin-throttling": "^4.0.1", - "@octokit/types": "^8.0.0" + "@octokit/plugin-paginate-rest": "^6.0.0", + "@octokit/plugin-rest-endpoint-methods": "^7.0.0", + "@octokit/plugin-retry": "^4.0.3", + "@octokit/plugin-throttling": "^5.0.0", + "@octokit/types": "^9.0.0" } }, "once": { @@ -6788,6 +7184,40 @@ "wrappy": "1" } }, + "onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, + "requires": { + "mimic-fn": "^2.1.0" + } + }, + "ora": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/ora/-/ora-6.3.0.tgz", + "integrity": "sha512-1/D8uRFY0ay2kgBpmAwmSA404w4OoPVhHMqRqtjvrcK/dnzcEZxMJ+V4DUbyICu8IIVRclHcOf5wlD1tMY4GUQ==", + "dev": true, + "requires": { + "chalk": "^5.0.0", + "cli-cursor": "^4.0.0", + "cli-spinners": "^2.6.1", + "is-interactive": "^2.0.0", + "is-unicode-supported": "^1.1.0", + "log-symbols": "^5.1.0", + "stdin-discarder": "^0.1.0", + "strip-ansi": "^7.0.1", + "wcwidth": "^1.0.1" + }, + "dependencies": { + "chalk": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.2.0.tgz", + "integrity": "sha512-ree3Gqw/nazQAPuJJEy+avdl7QfZMcUvmHIKgEZkGL+xOBzRvup5Hxo6LHuMceSxOabuJLJm5Yp/92R9eMmMvA==", + "dev": true + } + } + }, "p-cancelable": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-3.0.0.tgz", @@ -6824,6 +7254,22 @@ "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", "dev": true }, + "prompts": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", + "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", + "dev": true, + "requires": { + "kleur": "^3.0.3", + "sisteransi": "^1.0.5" + } + }, + "punycode": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", + "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", + "dev": true + }, "quick-lru": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz", @@ -6839,6 +7285,17 @@ "safe-buffer": "^5.1.0" } }, + "readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, "readdirp": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", @@ -6865,39 +7322,33 @@ } }, "regenerator-runtime": { - "version": "0.13.10", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.10.tgz", - "integrity": "sha512-KepLsg4dU12hryUO7bp/axHAKvwGOCV0sGloQtpagJ12ai+ojVDqkeGSiRX1zlq+kjIMZ1t7gpze+26QqtdGqw==" + "version": "0.13.11", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", + "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==" }, "regenerator-transform": { - "version": "0.15.0", - "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.0.tgz", - "integrity": "sha512-LsrGtPmbYg19bcPHwdtmXwbW+TqNvtY4riE3P83foeHRroMbH6/2ddFBfab3t7kbzc7v7p4wbkIecHImqt0QNg==", + "version": "0.15.1", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.1.tgz", + "integrity": "sha512-knzmNAcuyxV+gQCufkYcvOqX/qIIfHLv0u5x79kRxuGojfYVky1f15TzZEu2Avte8QGepvUNTnLskf8E6X6Vyg==", "dev": true, "requires": { "@babel/runtime": "^7.8.4" } }, "regexpu-core": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.2.1.tgz", - "integrity": "sha512-HrnlNtpvqP1Xkb28tMhBUO2EbyUHdQlsnlAhzWcwHy8WJR53UWr7/MAvqrsQKMbV4qdpv03oTMG8iIhfsPFktQ==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.3.2.tgz", + "integrity": "sha512-RAM5FlZz+Lhmo7db9L298p2vHP5ZywrVXmVXpmAD9GuL5MPH6t9ROw1iA/wfHkQ76Qe7AaPF0nGuim96/IrQMQ==", "dev": true, "requires": { + "@babel/regjsgen": "^0.8.0", "regenerate": "^1.4.2", "regenerate-unicode-properties": "^10.1.0", - "regjsgen": "^0.7.1", "regjsparser": "^0.9.1", "unicode-match-property-ecmascript": "^2.0.0", - "unicode-match-property-value-ecmascript": "^2.0.0" + "unicode-match-property-value-ecmascript": "^2.1.0" } }, - "regjsgen": { - "version": "0.7.1", - "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.7.1.tgz", - "integrity": "sha512-RAt+8H2ZEzHeYWxZ3H2z6tF18zyyOnlcdaafLrm21Bguj7uZy6ULibiAFdXEtKQY4Sy7wDTwDiOazasMLc4KPA==", - "dev": true - }, "regjsparser": { "version": "0.9.1", "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.9.1.tgz", @@ -6915,10 +7366,10 @@ } } }, - "require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", "dev": true }, "resolve": { @@ -6947,6 +7398,16 @@ "lowercase-keys": "^3.0.0" } }, + "restore-cursor": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-4.0.0.tgz", + "integrity": "sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==", + "dev": true, + "requires": { + "onetime": "^5.1.0", + "signal-exit": "^3.0.2" + } + }, "rollup": { "version": "2.79.1", "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.79.1.tgz", @@ -6989,6 +7450,18 @@ "randombytes": "^2.1.0" } }, + "signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true + }, + "sisteransi": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", + "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", + "dev": true + }, "slash": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", @@ -7017,24 +7490,31 @@ "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", "dev": true }, - "string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "stdin-discarder": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/stdin-discarder/-/stdin-discarder-0.1.0.tgz", + "integrity": "sha512-xhV7w8S+bUwlPTb4bAOUQhv8/cSS5offJuX8GQGq32ONF0ZtDWKfkdomM3HMRA+LhX6um/FZ0COqlwsjD53LeQ==", + "dev": true, + "requires": { + "bl": "^5.0.0" + } + }, + "string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", "dev": true, "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" + "safe-buffer": "~5.2.0" } }, "strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.0.1.tgz", + "integrity": "sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw==", "dev": true, "requires": { - "ansi-regex": "^5.0.1" + "ansi-regex": "^6.0.1" } }, "supports-color": { @@ -7053,9 +7533,9 @@ "dev": true }, "terser": { - "version": "5.15.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.15.1.tgz", - "integrity": "sha512-K1faMUvpm/FBxjBXud0LWVAGxmvoPbZbfTCYbSgaaYQaIXI3/TdI7a7ZGA73Zrou6Q8Zmz3oeUTsp/dj+ag2Xw==", + "version": "5.16.8", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.16.8.tgz", + "integrity": "sha512-QI5g1E/ef7d+PsDifb+a6nnVgC4F22Bg6T0xrBrz6iloVB4PUkkunp6V8nzoOOZJIzjWVdAGqCdlKlhLq/TbIA==", "dev": true, "requires": { "@jridgewell/source-map": "^0.3.2", @@ -7111,9 +7591,9 @@ } }, "unicode-match-property-value-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz", - "integrity": "sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.1.0.tgz", + "integrity": "sha512-qxkjQt6qjg/mYscYMC0XKRn3Rh0wFPlfxB0xkt9CfyTvpX1Ra0+rAmdX2QyAobptSEvuy4RtpPRui6XkV+8wjA==", "dev": true }, "unicode-property-aliases-ecmascript": { @@ -7123,13 +7603,13 @@ "dev": true }, "universal-github-app-jwt": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/universal-github-app-jwt/-/universal-github-app-jwt-1.1.0.tgz", - "integrity": "sha512-3b+ocAjjz4JTyqaOT+NNBd5BtTuvJTxWElIoeHSVelUV9J3Jp7avmQTdLKCaoqi/5Ox2o/q+VK19TJ233rVXVQ==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/universal-github-app-jwt/-/universal-github-app-jwt-1.1.1.tgz", + "integrity": "sha512-G33RTLrIBMFmlDV4u4CBF7dh71eWwykck4XgaxaIVeZKOYZRAAxvcGMRFTUclVY6xoUPQvO4Ne5wKGxYm/Yy9w==", "dev": true, "requires": { - "@types/jsonwebtoken": "^8.3.3", - "jsonwebtoken": "^8.5.1" + "@types/jsonwebtoken": "^9.0.0", + "jsonwebtoken": "^9.0.0" } }, "universal-user-agent": { @@ -7148,6 +7628,30 @@ "picocolors": "^1.0.0" } }, + "uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "requires": { + "punycode": "^2.1.0" + } + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "dev": true + }, + "wcwidth": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", + "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", + "dev": true, + "requires": { + "defaults": "^1.0.3" + } + }, "webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", @@ -7164,84 +7668,18 @@ "webidl-conversions": "^3.0.0" } }, - "wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dev": true, - "requires": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "requires": { - "color-convert": "^2.0.1" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - } - } - }, "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", "dev": true }, - "y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "dev": true - }, "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", "dev": true }, - "yargs": { - "version": "17.6.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.6.0.tgz", - "integrity": "sha512-8H/wTDqlSwoSnScvV2N/JHfLWOKuh5MVla9hqLjK3nsfyy6Y4kDSYSvkU5YCUEPOSnRXfIyx3Sq+B/IWudTo4g==", - "dev": true, - "requires": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.0.0" - }, - "dependencies": { - "yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", - "dev": true - } - } - }, "yargs-parser": { "version": "20.2.9", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", diff --git a/package.json b/package.json index b45ba23..db6c1d3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "calver", - "version": "22.8.4", + "version": "v22.9.1", "description": "The calver parser for node. 📆 🚀", "main": "./dist/node/lts/cjs/index.js", "module": "./dist/node/lts/es/index.js", @@ -23,22 +23,6 @@ "type": "git", "url": "git+https://github.com/muratgozel/node-calver.git" }, - "releaser": { - "versioning": { - "scheme": "calver", - "format": "yy.mm.minor" - }, - "npm": { - "enable": true, - "updatePkgJson": true, - "publish": true, - "publishCmdSuffix": "--access public" - }, - "github": { - "enable": true, - "release": true - } - }, "keywords": [ "calver", "calendar", @@ -72,7 +56,7 @@ "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^13.0.5", "core-js": "^3.18.3", - "node-releaser": "^1.0.1", + "node-releaser": "^2.0.0-beta.4", "rollup": "^2.57.0", "rollup-plugin-terser": "^7.0.2" }, @@ -80,4 +64,4 @@ "@babel/runtime": "^7.15.4", "@babel/runtime-corejs3": "^7.15.4" } -} +} \ No newline at end of file diff --git a/src/Version.js b/src/Version.js index e54aa6e..dbdf1af 100644 --- a/src/Version.js +++ b/src/Version.js @@ -46,11 +46,19 @@ export default class Version { if (SemanticVersion.tags.indexOf(l) !== -1) this.semanticver.inc(l) if (ModifierVersion.tags.indexOf(l) !== -1) this.modifierver.inc(l) - if (levels.length > 1) { + if (levels.length === 1) { + if (this.isCalendarLeading && this.datever.hasChanged && this.semanticver) { + this.semanticver.reset() + } + } + else if (levels.length === 2) { const l2 = levels[1] if (ModifierVersion.tags.indexOf(l2) !== -1 && ModifierVersion.tags.indexOf(l) === -1) { this.modifierver.inc(l2) + if (this.isCalendarLeading && this.datever.hasChanged && this.semanticver) { + this.semanticver.reset() + } } else if (SemanticVersion.tags.indexOf(l2) !== -1) { if (this.isCalendarLeading && this.datever.hasChanged) this.semanticver.reset() @@ -60,6 +68,22 @@ export default class Version { throw new Error(`The second tag of the level should be either modifier or semantic tag. You specified "${l2}" as the second tag and "${l}" as the first tag.`) } } + else if (levels.length === 3) { + const l2 = levels[1] + const l3 = levels[2] + + if (SemanticVersion.tags.indexOf(l2) !== -1) { + if (this.isCalendarLeading && this.datever.hasChanged) this.semanticver.reset() + else this.semanticver.inc(l2) + } + + if (ModifierVersion.tags.includes(l3) && !ModifierVersion.tags.includes(l2) && !ModifierVersion.tags.includes(l)) { + this.modifierver.inc(l3) + } + else { + throw new Error(`The third tag of the level must be a modifier tag. You specified "${l3}".`) + } + } return this } diff --git a/tests/index.js b/tests/index.js index 577bd68..a821a28 100644 --- a/tests/index.js +++ b/tests/index.js @@ -8,7 +8,7 @@ Date.now = function now() { } // fixed current timezone for test environment. -// calver respects UTC as a default timezone unless explicitly set useLocalTime as true. +// calver respects UTC as a default timezone unless useLocalTime set to true. process.env.TZ = 'Asia/Tokyo' assert.strictEqual(calver.isValid('yyyy.mm.0w', '2020.6.1'), false) @@ -24,11 +24,11 @@ assert.strictEqual(calver.inc('yyyy.mm.ww', '2020.6.1-alpha.1', 'alpha'), '2020. assert.strictEqual(calver.inc('yyyy.mm.ww', '2020.6.1-alpha.2', 'calendar'), '2020.6.1') assert.strictEqual(calver.inc('yyyy.mm.0w', '2020.6.01', 'calendar'), '2021.1.03') -assert.strictEqual(calver.inc('yyyy.mm.major.minor', '2020.6.30.40', 'calendar'), '2021.1.30.40') -assert.strictEqual(calver.inc('yyyy.0m.major.minor', '2020.06.30.40', 'calendar'), '2021.01.30.40') -assert.strictEqual(calver.inc('yyyy.mm.major.minor', '2020.6.30.40', 'calendar.dev'), '2021.1.30.40-dev.0') -assert.strictEqual(calver.inc('yyyy.0m.major.minor', '2020.06.30.40-dev.0', 'calendar.dev'), '2021.01.30.40-dev.1') -assert.strictEqual(calver.inc('yyyy.0m.major.minor', '2020.06.30.40-dev.22', 'calendar.dev'), '2021.01.30.40-dev.23') +assert.strictEqual(calver.inc('yyyy.mm.major.minor', '2020.6.30.40', 'calendar'), '2021.1.0.0') +assert.strictEqual(calver.inc('yyyy.0m.major.minor', '2020.06.30.40', 'calendar'), '2021.01.0.0') +assert.strictEqual(calver.inc('yyyy.mm.major.minor', '2020.6.30.40', 'calendar.dev'), '2021.1.0.0-dev.0') +assert.strictEqual(calver.inc('yyyy.0m.major.minor', '2020.06.30.40-dev.0', 'calendar.dev'), '2021.01.0.0-dev.1') +assert.strictEqual(calver.inc('yyyy.0m.major.minor', '2020.06.30.40-dev.22', 'calendar.dev'), '2021.01.0.0-dev.23') assert.strictEqual(calver.inc('yyyy.0m.major.minor', '2020.06.30.40-dev.23', 'calendar'), '2020.06.30.40') assert.strictEqual(calver.inc('yyyy.mm.minor', '2020.6.38', 'minor'), '2020.6.39') @@ -57,7 +57,7 @@ assert.strictEqual(calver.inc('yyyy.mm.major.minor.patch', '', 'minor'), '0.0.0. assert.throws(() => calver.inc('yyyy.mm.major.minor.patch', '0.0.0.1.0', 'calendar')) assert.strictEqual(calver.inc('yyyy.mm.major.minor.patch', '', 'calendar.dev'), '2021.1.0.0.0-dev.0') -assert.strictEqual(calver.inc('yyyy.mm.minor', '2020.6.38', 'calendar'), '2021.1.38') +assert.strictEqual(calver.inc('yyyy.mm.minor', '2020.6.38', 'calendar'), '2021.1.0') assert.throws(() => calver.inc('yyyy.mm.minor', '2021.1.38', 'calendar')) assert.strictEqual(calver.inc('minor.yyyy.mm', '38.2020.6', 'calendar'), '38.2021.1') assert.throws(() => calver.inc('minor.yyyy.mm', '38.2021.1', 'calendar')) @@ -75,3 +75,6 @@ assert.strictEqual(calver.inc('yyyy.mm.minor.patch', '', 'calendar.minor'), '202 calver.useLocalTime = true assert.strictEqual(calver.inc('yyyy.mm.dd.minor.patch', '', 'calendar'), '2021.1.20.0.0') + +assert.strictEqual(calver.inc('yyyy.mm.minor', '2020.12.2', 'calendar.minor.rc'), '2021.1.0-rc.0') +assert.strictEqual(calver.inc('yyyy.mm.minor', '2020.12.2', 'calendar.rc'), '2021.1.0-rc.0') \ No newline at end of file