diff --git a/package.json b/package.json index 701c3fb..64f1119 100644 --- a/package.json +++ b/package.json @@ -34,11 +34,11 @@ "@babel/eslint-parser": "^7.18.9", "@babel/eslint-plugin": "^7.18.10", "@sucrase/jest-plugin": "^2.2.1", - "@types/inflection": "^1.13.1", + "@types/inflection": "^1.13.2", "@types/jest": "^29.0.0", - "@types/node": "^18.7.14", - "@typescript-eslint/eslint-plugin": "^5.36.1", - "@typescript-eslint/parser": "^5.36.1", + "@types/node": "^18.18.13", + "@typescript-eslint/eslint-plugin": "^5.62.0", + "@typescript-eslint/parser": "^5.62.0", "eslint": "^8.23.0", "eslint-config-prettier": "^8.8.0", "eslint-config-transloadit": "^2.0.0", @@ -58,6 +58,6 @@ "prettier": "^2.8.6", "replace-require-with-import": "^2.1.0", "sucrase": "^3.25.0", - "typescript": "^4.8.2" + "typescript": "^5.3.2" } } diff --git a/packages/abbr/package.json b/packages/abbr/package.json index ff813e0..c6a34b5 100644 --- a/packages/abbr/package.json +++ b/packages/abbr/package.json @@ -10,7 +10,7 @@ "directory": "packages/abbr" }, "main": "dist/abbr.js", - "typings": "dist/abbr.d.ts", + "types": "dist/abbr.d.ts", "files": [ "dist" ], diff --git a/packages/analyze-step/package.json b/packages/analyze-step/package.json index 154a218..c838a5e 100644 --- a/packages/analyze-step/package.json +++ b/packages/analyze-step/package.json @@ -10,7 +10,7 @@ "directory": "packages/analyze-step" }, "main": "dist/analyzeStep.js", - "typings": "dist/analyzeStep.d.ts", + "types": "dist/analyzeStep.d.ts", "files": [ "dist" ], @@ -32,7 +32,7 @@ "version": "0.1.3", "gitHead": "b73ab4880b9c4c48db32f249f776974a137510c4", "devDependencies": { - "@types/jsonpath": "^0.2.0", - "@types/lodash": "^4" + "@types/jsonpath": "^0.2.4", + "@types/lodash": "^4.14.202" } } diff --git a/packages/analyze-step/src/analyzeStep.ts b/packages/analyze-step/src/analyzeStep.ts index c4b9c02..b325e6b 100644 --- a/packages/analyze-step/src/analyzeStep.ts +++ b/packages/analyze-step/src/analyzeStep.ts @@ -21,7 +21,7 @@ function humanJoin(array: string[], reduce = true, glueword = 'and'): string { } } - if (countedArray.length === 1) { + if (countedArray.length === 1 && typeof countedArray[0] === 'string') { return countedArray[0] } @@ -67,9 +67,9 @@ function humanFilter(step: FileFilterStep): string { for (const type of types) { collection[type] = collection[type] || [] if (typeof step[type] === 'string') { - collection[type].push(`Filter by code evaluation`) + collection[type]?.push(`Filter by code evaluation`) } else if (step[type] && Array.isArray(step[type])) { - for (const [key, operator, val] of Object.values(step[type])) { + for (const [key, operator, val] of Object.values(step[type]!)) { const template = clone(templates[operator]) if (!template) { throw new Error( @@ -145,7 +145,7 @@ function humanFilter(step: FileFilterStep): string { humanDescr = humanDescr.replace('wi2th', 'with') } - collection[type].push(humanDescr) + collection[type]?.push(humanDescr) lastTemplate = template } } @@ -211,11 +211,11 @@ function humanDimensions(step: StepWithDimensions): string { if ('width' in step && 'height' in step) { str += ` to ${step.width}×${step.height}` - } else if ('width' in step) { + } else if (step.width) { str += ` to ${step.width} pixels wide` - } else if ('height' in step) { + } else if (step.height) { str += ` to ${step.height} pixels high` - } else if ('crop' in step) { + } else if (step.crop) { str += ` to ${step.crop.x2 - step.crop.x1}×${step.crop.y2 - step.crop.y1} starting at ${ step.crop.x1 }×${step.crop.y1} from the top left` @@ -233,6 +233,8 @@ type ExtraMeta = { } function humanPreset(step: PresetStep, extrameta: ExtraMeta = {}): string { + if (!step.preset) return '' + let str = inflect.humanize(step.preset.replace(/[-_]/g, ' ')) if (str.match(/^ipad/i)) { @@ -278,6 +280,8 @@ type FormatStep = { } function humanFormat(step: FormatStep): string { + if (!step.format) return '' + let str = inflect.humanize(step.format.replace(/[-_]/g, ' ')) if (str.match(/^webp/i)) { @@ -309,9 +313,9 @@ export default function humanize(step: Step, robots: Robots, extrameta: ExtraMet let str = `` const robot = robots[step.robot] - str = robot.purpose_words + str = robot?.purpose_words ?? '' - if (robot.rname === '/video/encode') { + if (robot?.rname === '/video/encode') { if (JSON.stringify(step).match(/watermark/)) { str = `Watermark videos` } else if (get(step, 'ffmpeg.t') && get(step, 'ffmpeg.ss')) { @@ -358,7 +362,7 @@ export default function humanize(step: Step, robots: Robots, extrameta: ExtraMet } } - if (robot.rname === '/audio/encode') { + if (robot?.rname === '/audio/encode') { if (has(step, 'ffmpeg.ss') && has(step, 'ffmpeg.t')) { str = `Take a ${get(step, 'ffmpeg.t')}s clip out of audio at a specified offset` } else if ( @@ -382,7 +386,7 @@ export default function humanize(step: Step, robots: Robots, extrameta: ExtraMet } } - if (robot.rname === '/video/adaptive') { + if (robot?.rname === '/video/adaptive') { if (step.technique === 'hls') { str = `Convert videos to HLS` } else if (step.technique === 'dash') { @@ -390,7 +394,7 @@ export default function humanize(step: Step, robots: Robots, extrameta: ExtraMet } } - if (robot.rname === '/video/merge') { + if (robot?.rname === '/video/merge') { const types = JSONPath({ path: '$..as', json: step }) if (types.length) { str = `Merge ${humanJoin(types)} to create a new video` @@ -399,11 +403,11 @@ export default function humanize(step: Step, robots: Robots, extrameta: ExtraMet } } - if (robot.rname === '/file/filter') { + if (robot?.rname === '/file/filter') { str = humanFilter(step as FileFilterStep) } - if (robot.rname === '/audio/artwork') { + if (robot?.rname === '/audio/artwork') { if (get(step, 'method') === 'insert') { str = `Insert audio artwork` } else { @@ -411,7 +415,7 @@ export default function humanize(step: Step, robots: Robots, extrameta: ExtraMet } } - if (robot.rname === '/image/resize') { + if (robot?.rname === '/image/resize') { if ('watermark_url' in step) { str = `Watermark images` } else if ('sepia' in step) { diff --git a/packages/enrich-tweet/package.json b/packages/enrich-tweet/package.json index 252a9c9..bbab565 100644 --- a/packages/enrich-tweet/package.json +++ b/packages/enrich-tweet/package.json @@ -11,7 +11,7 @@ "directory": "packages/enrich-tweet" }, "main": "dist/enrichTweet.js", - "typings": "dist/enrichTweet.d.ts", + "types": "dist/enrichTweet.d.ts", "files": [ "dist" ], @@ -31,6 +31,6 @@ "twitter-text": "^3.1.0" }, "devDependencies": { - "@types/twitter-text": "^3.1.2" + "@types/twitter-text": "^3.1.9" } } diff --git a/packages/enrich-tweet/src/enrichTweet.ts b/packages/enrich-tweet/src/enrichTweet.ts index f9151e8..6ded8dd 100644 --- a/packages/enrich-tweet/src/enrichTweet.ts +++ b/packages/enrich-tweet/src/enrichTweet.ts @@ -38,7 +38,7 @@ export default async function enrichTweet( ): Promise { if (!tweet) return - let text = tweet.full_text + let text = tweet.full_text ?? '' // Expand URLs if (tweet.entities && tweet.entities.urls.length) { diff --git a/packages/file-exists/package.json b/packages/file-exists/package.json index a8c35ae..5a59520 100644 --- a/packages/file-exists/package.json +++ b/packages/file-exists/package.json @@ -11,7 +11,7 @@ "directory": "packages/file-exists" }, "main": "dist/fileExists.js", - "typings": "dist/fileExists.d.ts", + "types": "dist/fileExists.d.ts", "files": [ "dist" ], diff --git a/packages/format-duration-ms/package.json b/packages/format-duration-ms/package.json index 9241830..869c979 100644 --- a/packages/format-duration-ms/package.json +++ b/packages/format-duration-ms/package.json @@ -10,7 +10,7 @@ "directory": "packages/format-duration-ms" }, "main": "dist/formatDurationMs.js", - "typings": "dist/formatDurationMs.d.ts", + "types": "dist/formatDurationMs.d.ts", "files": [ "dist" ], diff --git a/packages/has-property/package.json b/packages/has-property/package.json index 08c819c..1a0c030 100644 --- a/packages/has-property/package.json +++ b/packages/has-property/package.json @@ -11,7 +11,7 @@ "directory": "packages/has-property" }, "main": "dist/has-property.js", - "typings": "dist/has-property.d.ts", + "types": "dist/has-property.d.ts", "files": [ "dist" ], diff --git a/packages/post/package.json b/packages/post/package.json index 596e188..834f4c4 100644 --- a/packages/post/package.json +++ b/packages/post/package.json @@ -10,7 +10,7 @@ "directory": "packages/post" }, "bin": "./post.js", - "typings": "dist/post.d.ts", + "types": "dist/post.d.ts", "files": [ "dist" ], @@ -32,7 +32,7 @@ "version": "0.1.3", "gitHead": "b73ab4880b9c4c48db32f249f776974a137510c4", "devDependencies": { - "@types/inquirer": "^8.2.1", - "@types/title": "^3.4.1" + "@types/inquirer": "^8.2.10", + "@types/title": "^3.4.3" } } diff --git a/packages/post/src/post.ts b/packages/post/src/post.ts index 633916a..7468a2c 100644 --- a/packages/post/src/post.ts +++ b/packages/post/src/post.ts @@ -18,7 +18,9 @@ async function post(): Promise { throw new Error(`Dir does not exist: '${postDir.replace(process.cwd(), '.')}'`) } - const mysqlNow = new Date().toISOString().replace('T', ' ').split('.')[0].split(' ')[0] + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + const mysqlNow = new Date().toISOString().replace('T', ' ').split('.')[0]!.split(' ')[0]! + // eslint-disable-next-line no-unused-vars const [dateY, datem] = mysqlNow.split('-') const answers = await inquirer.prompt([ diff --git a/packages/pr/package.json b/packages/pr/package.json index 5f5cc74..f67d813 100644 --- a/packages/pr/package.json +++ b/packages/pr/package.json @@ -11,7 +11,7 @@ "directory": "packages/pr" }, "main": "dist/pr.js", - "typings": "dist/pr.d.ts", + "types": "dist/pr.d.ts", "files": [ "dist" ], diff --git a/packages/prd/package.json b/packages/prd/package.json index aa5b426..d9f4455 100644 --- a/packages/prd/package.json +++ b/packages/prd/package.json @@ -11,7 +11,7 @@ "directory": "packages/prd" }, "main": "dist/prd.js", - "typings": "dist/prd.d.ts", + "types": "dist/prd.d.ts", "files": [ "dist" ], diff --git a/packages/prettier-bytes/package.json b/packages/prettier-bytes/package.json index a03c0d1..5647922 100644 --- a/packages/prettier-bytes/package.json +++ b/packages/prettier-bytes/package.json @@ -11,7 +11,7 @@ "directory": "packages/prettier-bytes" }, "main": "dist/prettierBytes.js", - "typings": "dist/prettierBytes.d.ts", + "types": "dist/prettierBytes.d.ts", "files": [ "dist" ], diff --git a/packages/slugify/package.json b/packages/slugify/package.json index d240804..61bb3d4 100644 --- a/packages/slugify/package.json +++ b/packages/slugify/package.json @@ -11,7 +11,7 @@ "directory": "packages/slugify" }, "main": "dist/slugify.js", - "typings": "dist/slugify.d.ts", + "types": "dist/slugify.d.ts", "files": [ "dist" ], diff --git a/packages/sort-assembly/package.json b/packages/sort-assembly/package.json index 9347b81..d78d519 100644 --- a/packages/sort-assembly/package.json +++ b/packages/sort-assembly/package.json @@ -11,7 +11,7 @@ "directory": "packages/sort-assembly" }, "main": "dist/sortAssembly.js", - "typings": "dist/sortAssembly.d.ts", + "types": "dist/sortAssembly.d.ts", "files": [ "dist" ], diff --git a/packages/sort-assembly/src/sortAssembly.ts b/packages/sort-assembly/src/sortAssembly.ts index 4909544..76c4b2c 100644 --- a/packages/sort-assembly/src/sortAssembly.ts +++ b/packages/sort-assembly/src/sortAssembly.ts @@ -8,21 +8,26 @@ export default function sortAssembly>(assembly z: ['uploads', 'results'], }) - if ('results' in sorted && typeof sorted.results === 'object') { + if (sorted.results && typeof sorted.results === 'object') { for (const stepName of Object.keys(sorted.results)) { if (!hasProperty(sorted.results, stepName)) continue const result = sorted.results[stepName] + if (!result || typeof result !== 'object') continue for (const i of Object.keys(result)) { if (!hasProperty(result, i)) continue - result[i] = sortResult(result[i]) + const value = result[i] + if (!value || typeof value !== 'object') continue + result[i] = sortResult(value) } } } - if ('uploads' in sorted) { + if (sorted.uploads) { for (const i of Object.keys(sorted.uploads)) { if (!hasProperty(sorted.uploads, i)) continue - sorted.uploads[i] = sortResult(sorted.uploads[i]) + const upload = sorted.uploads[i] + if (!upload || typeof upload !== 'object') continue + sorted.uploads[i] = sortResult(upload) } } diff --git a/packages/sort-object-by-prio/package.json b/packages/sort-object-by-prio/package.json index d326afd..514eafa 100644 --- a/packages/sort-object-by-prio/package.json +++ b/packages/sort-object-by-prio/package.json @@ -11,7 +11,7 @@ "directory": "packages/sort-object-by-prio" }, "main": "dist/sortObjectByPrio.js", - "typings": "dist/sortObjectByPrio.d.ts", + "types": "dist/sortObjectByPrio.d.ts", "files": [ "dist" ], diff --git a/packages/sort-object-by-prio/src/sortObjectByPrio.ts b/packages/sort-object-by-prio/src/sortObjectByPrio.ts index 318d186..47d0bd0 100644 --- a/packages/sort-object-by-prio/src/sortObjectByPrio.ts +++ b/packages/sort-object-by-prio/src/sortObjectByPrio.ts @@ -14,7 +14,8 @@ export default function sortObjectByPrio>( for (const [prefix, items] of Object.entries(prefixes)) { let i = 0 for (const matcher of items) { - const modifier = parseInt(String(prefix === '_' ? prefixes[prefix].length - i : i), 10) + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + const modifier = parseInt(String(prefix === '_' ? prefixes[prefix]!.length - i : i), 10) const numOfPrefix = 3 + modifier const strPref = new Array(numOfPrefix).join(prefix) diff --git a/packages/sort-object/package.json b/packages/sort-object/package.json index aa5971f..e84bbb5 100644 --- a/packages/sort-object/package.json +++ b/packages/sort-object/package.json @@ -11,7 +11,7 @@ "directory": "packages/sort-object" }, "main": "dist/sortObject.js", - "typings": "dist/sortObject.d.ts", + "types": "dist/sortObject.d.ts", "files": [ "dist" ], diff --git a/packages/sort-result-meta/package.json b/packages/sort-result-meta/package.json index 2ca9d64..ad85fa1 100644 --- a/packages/sort-result-meta/package.json +++ b/packages/sort-result-meta/package.json @@ -11,7 +11,7 @@ "directory": "packages/sort-result-meta" }, "main": "dist/sortResultMeta.js", - "typings": "dist/sortResultMeta.d.ts", + "types": "dist/sortResultMeta.d.ts", "files": [ "dist" ], diff --git a/packages/sort-result-meta/src/sortResultMeta.ts b/packages/sort-result-meta/src/sortResultMeta.ts index 1020b60..7298f12 100644 --- a/packages/sort-result-meta/src/sortResultMeta.ts +++ b/packages/sort-result-meta/src/sortResultMeta.ts @@ -12,7 +12,7 @@ function isObject(obj: unknown): obj is Record { } export default function sortResultMeta(meta: T): T { - if (hasProperty(meta, 'faces')) { + if (meta.faces) { for (const key of Object.keys(meta.faces)) { if (!hasProperty(meta.faces, key)) continue diff --git a/packages/sort-result/package.json b/packages/sort-result/package.json index 11db160..c80c65d 100644 --- a/packages/sort-result/package.json +++ b/packages/sort-result/package.json @@ -11,7 +11,7 @@ "directory": "packages/sort-result" }, "main": "dist/sortResult.js", - "typings": "dist/sortResult.d.ts", + "types": "dist/sortResult.d.ts", "files": [ "dist" ], diff --git a/packages/sort-result/src/sortResult.ts b/packages/sort-result/src/sortResult.ts index a86af29..e0ed9b2 100644 --- a/packages/sort-result/src/sortResult.ts +++ b/packages/sort-result/src/sortResult.ts @@ -1,4 +1,3 @@ -import { hasProperty } from '@transloadit/has-property' import sortObjectByPrio from '@transloadit/sort-object-by-prio' import sortResultMeta from '@transloadit/sort-result-meta' @@ -8,7 +7,7 @@ export default function sortResult(result: T): T { z: ['meta'], }) - if (hasProperty(sorted, 'meta')) { + if (sorted.meta && typeof sorted.meta === 'object') { sorted.meta = sortResultMeta(sorted.meta) } diff --git a/packages/trigger-pager/package.json b/packages/trigger-pager/package.json index 305c47b..3622e78 100644 --- a/packages/trigger-pager/package.json +++ b/packages/trigger-pager/package.json @@ -11,7 +11,7 @@ "directory": "packages/trigger-pager" }, "main": "dist/triggerPager.js", - "typings": "dist/triggerPager.d.ts", + "types": "dist/triggerPager.d.ts", "files": [ "dist" ], diff --git a/packages/trigger-pager/src/triggerPager.ts b/packages/trigger-pager/src/triggerPager.ts index 1c03cf1..5b3d5f6 100644 --- a/packages/trigger-pager/src/triggerPager.ts +++ b/packages/trigger-pager/src/triggerPager.ts @@ -1,5 +1,4 @@ -// eslint-disable-next-line @typescript-eslint/no-var-requires -const { api } = require('@pagerduty/pdjs') +import { api } from '@pagerduty/pdjs' const PRIORITY_P1 = 'PUTY3A1' const DUPLICATE_INCIDENT_MESSAGE = 'matching dedup key already exists' @@ -7,7 +6,7 @@ const DUPLICATE_INCIDENT_MESSAGE = 'matching dedup key already exists' export type TriggerPagerOptions = { description: string from?: string - incidentKey?: string + incidentKey: string serviceId?: string title: string token?: string @@ -15,13 +14,13 @@ export type TriggerPagerOptions = { } const triggerPager = async ({ - token, - serviceId, - incidentKey, - urgency = 'high', + description, from = 'tim.koschuetzki@transloadit.com', + incidentKey, + serviceId, title = incidentKey, - description, + token, + urgency = 'high', }: TriggerPagerOptions): Promise => { const res = await api({ token }).post('/incidents', { headers: { diff --git a/tsconfig.json b/tsconfig.json index 7a4614f..844a7a9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,18 +1,18 @@ { "compilerOptions": { - "module": "commonjs", - "declaration": true, - "noImplicitAny": true, - "removeComments": true, - "noLib": false, - "emitDecoratorMetadata": true, "esModuleInterop": true, - "experimentalDecorators": true, - "target": "es6", - "sourceMap": true, - "skipLibCheck": true, "lib": ["es2022"], + "target": "es2022", + "module": "commonjs", + + "forceConsistentCasingInFileNames": true, + "skipLibCheck": true, + "strict": true, + "noUncheckedIndexedAccess": true, + "sourceMap": true, "types": ["node", "jest"], + + "declaration": true, "composite": true, "incremental": true }, diff --git a/yarn.lock b/yarn.lock index d09616d..422214b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1434,8 +1434,8 @@ __metadata: dependencies: "@transloadit/format-duration-ms": "npm:^0.1.3" "@transloadit/prettier-bytes": "npm:^0.1.3" - "@types/jsonpath": "npm:^0.2.0" - "@types/lodash": "npm:^4" + "@types/jsonpath": "npm:^0.2.4" + "@types/lodash": "npm:^4.14.202" inflection: "npm:^3.0.0" jsonpath-plus: "npm:^7.2.0" lodash: "npm:^4.17.21" @@ -1446,7 +1446,7 @@ __metadata: version: 0.0.0-use.local resolution: "@transloadit/enrich-tweet@workspace:packages/enrich-tweet" dependencies: - "@types/twitter-text": "npm:^3.1.2" + "@types/twitter-text": "npm:^3.1.9" get-urls: "npm:10" nan: "npm:^2.17.0" re2: "npm:^1.18.0" @@ -1481,8 +1481,8 @@ __metadata: dependencies: "@transloadit/file-exists": "npm:^0.1.3" "@transloadit/slugify": "npm:^0.1.3" - "@types/inquirer": "npm:^8.2.1" - "@types/title": "npm:^3.4.1" + "@types/inquirer": "npm:^8.2.10" + "@types/title": "npm:^3.4.3" inquirer: "npm:7.0.5" open-in-editor: "npm:^2.2.0" title: "npm:^3.4.2" @@ -1637,20 +1637,20 @@ __metadata: languageName: node linkType: hard -"@types/inflection@npm:^1.13.1": - version: 1.13.1 - resolution: "@types/inflection@npm:1.13.1" - checksum: 7f6e667f470e70a9ebcde58fad1d376319ec32dcaada466b3d4108ffd300a0fc167aacf714907309588673b53fd4a1d1a6b4101e24e0c973fc7ec6c0a612088b +"@types/inflection@npm:^1.13.2": + version: 1.13.2 + resolution: "@types/inflection@npm:1.13.2" + checksum: 61780b1e93dc0fc8016420e7453070840ed53e7070aaa3714f2079801dbae779eb1284f6996c1d2c15ca4969ff2e11b2eca684c0726a4dccd698a023c785062e languageName: node linkType: hard -"@types/inquirer@npm:^8.2.1": - version: 8.2.9 - resolution: "@types/inquirer@npm:8.2.9" +"@types/inquirer@npm:^8.2.10": + version: 8.2.10 + resolution: "@types/inquirer@npm:8.2.10" dependencies: "@types/through": "npm:*" rxjs: "npm:^7.2.0" - checksum: 5ca11784bd79c529bcfb2408bed2dee4d99a2c23f61cdde96592f91aa5e4353e929e7b4c048fac35b5841094e8ae2219626c285e9eacd315010fed4e29c89daf + checksum: c39c3a792b5f95727842277c25ca4b2ce3f3f8e7897e51c571ba919ea35587fce81f2b0d1d75747f6f54a7d79b0efe95430fd1fe7f5b81d07af81b2c2fc1fb5d languageName: node linkType: hard @@ -1703,17 +1703,17 @@ __metadata: languageName: node linkType: hard -"@types/jsonpath@npm:^0.2.0": - version: 0.2.2 - resolution: "@types/jsonpath@npm:0.2.2" - checksum: f764bd7b465801f37fd90818b5e2586084e304dde2363aacf57adc89a50899781de0030f81a8a206b9694b2d345e8ca966495a8bd22bcec2af464acfb9eafda5 +"@types/jsonpath@npm:^0.2.4": + version: 0.2.4 + resolution: "@types/jsonpath@npm:0.2.4" + checksum: 3fdf725e5db61a0abb0afa95667e561a0e5f3604f30b609497af135606f4721449d7235ca8304da4984fb2ac4f6d290ad49de5ad6878740555542ddd28ee0b69 languageName: node linkType: hard -"@types/lodash@npm:^4": - version: 4.14.200 - resolution: "@types/lodash@npm:4.14.200" - checksum: 7a8dac6dc866f10d1888846d6189d1faeb4f65adb139f0837a005fd1adcde62e60d7e7abb1a2733d13fc57bebb337d74182d8ad3dbd1d211dcd0c310c47e81bc +"@types/lodash@npm:^4.14.202": + version: 4.14.202 + resolution: "@types/lodash@npm:4.14.202" + checksum: 6064d43c8f454170841bd67c8266cc9069d9e570a72ca63f06bceb484cb4a3ee60c9c1f305c1b9e3a87826049fd41124b8ef265c4dd08b00f6766609c7fe9973 languageName: node linkType: hard @@ -1740,12 +1740,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^18.7.14": - version: 18.18.8 - resolution: "@types/node@npm:18.18.8" +"@types/node@npm:^18.18.13": + version: 18.18.13 + resolution: "@types/node@npm:18.18.13" dependencies: undici-types: "npm:~5.26.4" - checksum: 6a8592675bfc0895c0a3ed1b942344d56538c178c0acab8fcbaf069a6bdeef6f8a416d5aa297a8ced34232919caf7658a4dd4eabf33a9ae1a755eeef9ea8e681 + checksum: 5f1840f26b4c00e6b4945be678644a46e6689ef10d9d7795d587b76059045b99a14ca6075264296e6e91d73e098fe83df9580881278d9a6ce394b368d9c76700 languageName: node linkType: hard @@ -1779,17 +1779,17 @@ __metadata: languageName: node linkType: hard -"@types/title@npm:^3.4.1": - version: 3.4.2 - resolution: "@types/title@npm:3.4.2" - checksum: 52804b06debc560600c79f7f9678ff6036bac519191ae1d5f59b1bc4591d1e06a0794cf3591316a2ebf81cb98b69c47779c4dd6e7ef16b6997fd91ee56edc998 +"@types/title@npm:^3.4.3": + version: 3.4.3 + resolution: "@types/title@npm:3.4.3" + checksum: 8b3acd1e8dc9a2857b829393f94b6fd3be5c2e4ee80b72c763d2667e66cc60b4ceb583d496d50df84ada080684bf30eed1bc9c98fb4f311961ab9f327e5f8d72 languageName: node linkType: hard -"@types/twitter-text@npm:^3.1.2": - version: 3.1.7 - resolution: "@types/twitter-text@npm:3.1.7" - checksum: d94ba0ddc81ccd2aefcedf922dd84bb64347f361bbfc9f4dcbdead99b06311850b332c1ddedbfe25fbca16673852b31de0a77e59313c80b41e74618a11e8a768 +"@types/twitter-text@npm:^3.1.9": + version: 3.1.9 + resolution: "@types/twitter-text@npm:3.1.9" + checksum: 4caef3db240f0b8eb524b419d37a9296ef98087707ec71b440b84ab1e99ed5476cbbd6e401cb11aabf88599559c8c2b88dd40199e6db83adf123440985de8f66 languageName: node linkType: hard @@ -1809,7 +1809,7 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^5.36.1": +"@typescript-eslint/eslint-plugin@npm:^5.62.0": version: 5.62.0 resolution: "@typescript-eslint/eslint-plugin@npm:5.62.0" dependencies: @@ -1833,7 +1833,7 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/parser@npm:^5.36.1": +"@typescript-eslint/parser@npm:^5.62.0": version: 5.62.0 resolution: "@typescript-eslint/parser@npm:5.62.0" dependencies: @@ -7214,11 +7214,11 @@ __metadata: "@babel/eslint-parser": "npm:^7.18.9" "@babel/eslint-plugin": "npm:^7.18.10" "@sucrase/jest-plugin": "npm:^2.2.1" - "@types/inflection": "npm:^1.13.1" + "@types/inflection": "npm:^1.13.2" "@types/jest": "npm:^29.0.0" - "@types/node": "npm:^18.7.14" - "@typescript-eslint/eslint-plugin": "npm:^5.36.1" - "@typescript-eslint/parser": "npm:^5.36.1" + "@types/node": "npm:^18.18.13" + "@typescript-eslint/eslint-plugin": "npm:^5.62.0" + "@typescript-eslint/parser": "npm:^5.62.0" eslint: "npm:^8.23.0" eslint-config-prettier: "npm:^8.8.0" eslint-config-transloadit: "npm:^2.0.0" @@ -7242,7 +7242,7 @@ __metadata: replace: "npm:1.2.1" replace-require-with-import: "npm:^2.1.0" sucrase: "npm:^3.25.0" - typescript: "npm:^4.8.2" + typescript: "npm:^5.3.2" languageName: unknown linkType: soft @@ -9914,13 +9914,13 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^4.8.2": - version: 4.9.5 - resolution: "typescript@npm:4.9.5" +"typescript@npm:^5.3.2": + version: 5.3.2 + resolution: "typescript@npm:5.3.2" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 5f6cad2e728a8a063521328e612d7876e12f0d8a8390d3b3aaa452a6a65e24e9ac8ea22beb72a924fd96ea0a49ea63bb4e251fb922b12eedfb7f7a26475e5c56 + checksum: d7dbe1fbe19039e36a65468ea64b5d338c976550394ba576b7af9c68ed40c0bc5d12ecce390e4b94b287a09a71bd3229f19c2d5680611f35b7c53a3898791159 languageName: node linkType: hard @@ -9934,13 +9934,13 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^4.8.2#optional!builtin": - version: 4.9.5 - resolution: "typescript@patch:typescript@npm%3A4.9.5#optional!builtin::version=4.9.5&hash=289587" +"typescript@patch:typescript@npm%3A^5.3.2#optional!builtin": + version: 5.3.2 + resolution: "typescript@patch:typescript@npm%3A5.3.2#optional!builtin::version=5.3.2&hash=29ae49" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: e3333f887c6829dfe0ab6c1dbe0dd1e3e2aeb56c66460cb85c5440c566f900c833d370ca34eb47558c0c69e78ced4bfe09b8f4f98b6de7afed9b84b8d1dd06a1 + checksum: c81b9bd20c6dbe90fa43e876c586021447f2b47baede9fa542b1f56715835c043e23b2eaf19c42c067cc6f5ae512bd9a9be28a67b3a1d9807f8c9cfb1269875e languageName: node linkType: hard