@transcend-io/cli 8.36.0 → 8.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -0
- package/dist/{api-keys-C3yVviFj.cjs → api-keys-eh_rPCV_.cjs} +2 -2
- package/dist/{api-keys-C3yVviFj.cjs.map → api-keys-eh_rPCV_.cjs.map} +1 -1
- package/dist/app-D0ewaGAn.cjs +131 -0
- package/dist/app-D0ewaGAn.cjs.map +1 -0
- package/dist/bin/bash-complete.cjs +1 -1
- package/dist/bin/bash-complete.cjs.map +1 -1
- package/dist/bin/cli.cjs +1 -1
- package/dist/bin/cli.cjs.map +1 -1
- package/dist/bin/deprecated-command.cjs +1 -1
- package/dist/bin/deprecated-command.cjs.map +1 -1
- package/dist/buildAIIntegrationType-BwuCYR-o.cjs +2 -0
- package/dist/{buildAIIntegrationType-n_Qlv8wG.cjs.map → buildAIIntegrationType-BwuCYR-o.cjs.map} +1 -1
- package/dist/chunk-Bmb41Sf3.cjs +1 -0
- package/dist/{code-scanning-Cp3rJ0-7.cjs → code-scanning-BB6Ncuzh.cjs} +2 -2
- package/dist/{code-scanning-Cp3rJ0-7.cjs.map → code-scanning-BB6Ncuzh.cjs.map} +1 -1
- package/dist/codecs-Bvmb8o9R.cjs +2 -0
- package/dist/{codecs-JSDJgtyL.cjs.map → codecs-Bvmb8o9R.cjs.map} +1 -1
- package/dist/command-BUkTNNIa.cjs +9 -0
- package/dist/{command-FrwAB8R3.cjs.map → command-BUkTNNIa.cjs.map} +1 -1
- package/dist/{consent-manager-Dpgb-BKQ.cjs → consent-manager-Df8gw2Qh.cjs} +2 -2
- package/dist/{consent-manager-Dpgb-BKQ.cjs.map → consent-manager-Df8gw2Qh.cjs.map} +1 -1
- package/dist/constants-7qBywLgI.cjs +2 -0
- package/dist/{constants-CmHjougS.cjs.map → constants-7qBywLgI.cjs.map} +1 -1
- package/dist/context-_8xfl0dt.cjs +2 -0
- package/dist/{context-Bw1xk9Q_.cjs.map → context-_8xfl0dt.cjs.map} +1 -1
- package/dist/{cron-Cug8byEO.cjs → cron-BhfbISdy.cjs} +2 -2
- package/dist/{cron-Cug8byEO.cjs.map → cron-BhfbISdy.cjs.map} +1 -1
- package/dist/{data-inventory-oLLOqkbm.cjs → data-inventory-D36n1YAJ.cjs} +2 -2
- package/dist/{data-inventory-oLLOqkbm.cjs.map → data-inventory-D36n1YAJ.cjs.map} +1 -1
- package/dist/{dataFlowsToDataSilos-BjIfea8i.cjs → dataFlowsToDataSilos-BLNhWeOw.cjs} +2 -2
- package/dist/{dataFlowsToDataSilos-BjIfea8i.cjs.map → dataFlowsToDataSilos-BLNhWeOw.cjs.map} +1 -1
- package/dist/{done-input-validation-Cgk5kNBs.cjs → done-input-validation-DGckEJ5a.cjs} +1 -1
- package/dist/{done-input-validation-Cgk5kNBs.cjs.map → done-input-validation-DGckEJ5a.cjs.map} +1 -1
- package/dist/enums-BZulhPFa.cjs +2 -0
- package/dist/{enums-CBXlBJii.cjs.map → enums-BZulhPFa.cjs.map} +1 -1
- package/dist/impl--CgaKM4x.cjs +2 -0
- package/dist/{impl-C4VIGK1G.cjs.map → impl--CgaKM4x.cjs.map} +1 -1
- package/dist/impl--PmMYd1g.cjs +2 -0
- package/dist/{impl-cFJaGYul.cjs.map → impl--PmMYd1g.cjs.map} +1 -1
- package/dist/impl-47WGWxyj.cjs +2 -0
- package/dist/{impl-CKCV2er8.cjs.map → impl-47WGWxyj.cjs.map} +1 -1
- package/dist/impl-4NCrJ_Y6.cjs +2 -0
- package/dist/{impl-Dwd8vWoq.cjs.map → impl-4NCrJ_Y6.cjs.map} +1 -1
- package/dist/impl-5AfPlpzA.cjs +2 -0
- package/dist/{impl-Emn0jZNk.cjs.map → impl-5AfPlpzA.cjs.map} +1 -1
- package/dist/impl-73q3K0b_.cjs +2 -0
- package/dist/{impl-BN61r-PG.cjs.map → impl-73q3K0b_.cjs.map} +1 -1
- package/dist/impl-8Basu9U-.cjs +2 -0
- package/dist/{impl-Ij4ebiVO.cjs.map → impl-8Basu9U-.cjs.map} +1 -1
- package/dist/impl-BC1mCUl1.cjs +2 -0
- package/dist/{impl-C1jpyDxO.cjs.map → impl-BC1mCUl1.cjs.map} +1 -1
- package/dist/impl-BNEgHNz7.cjs +4 -0
- package/dist/{impl-B4f6W0BP.cjs.map → impl-BNEgHNz7.cjs.map} +1 -1
- package/dist/impl-BPq8EyHn.cjs +2 -0
- package/dist/{impl-BABdXCjW.cjs.map → impl-BPq8EyHn.cjs.map} +1 -1
- package/dist/impl-BfN9XMNM.cjs +2 -0
- package/dist/{impl-BqwFuOOo.cjs.map → impl-BfN9XMNM.cjs.map} +1 -1
- package/dist/impl-Boa1Uuzk.cjs +2 -0
- package/dist/{impl-DuVC84LE.cjs.map → impl-Boa1Uuzk.cjs.map} +1 -1
- package/dist/impl-Bv2mYf1w.cjs +2 -0
- package/dist/{impl-CCPd6sqk.cjs.map → impl-Bv2mYf1w.cjs.map} +1 -1
- package/dist/impl-BxOeeF35.cjs +2 -0
- package/dist/{impl-TTDhp7Hu.cjs.map → impl-BxOeeF35.cjs.map} +1 -1
- package/dist/impl-ByQI5s4b.cjs +2 -0
- package/dist/{impl-D9_MKLLL.cjs.map → impl-ByQI5s4b.cjs.map} +1 -1
- package/dist/impl-C1IjDv1N.cjs +2 -0
- package/dist/{impl-Bm8T2x0z.cjs.map → impl-C1IjDv1N.cjs.map} +1 -1
- package/dist/impl-CVsXgVaf.cjs +2 -0
- package/dist/{impl-DLeBB5Zk.cjs.map → impl-CVsXgVaf.cjs.map} +1 -1
- package/dist/impl-CdXk78ar.cjs +2 -0
- package/dist/{impl-CXnE8Ev7.cjs.map → impl-CdXk78ar.cjs.map} +1 -1
- package/dist/impl-CfsKuglq.cjs +2 -0
- package/dist/{impl-BtfHdJB-.cjs.map → impl-CfsKuglq.cjs.map} +1 -1
- package/dist/impl-CkkD_smS.cjs +2 -0
- package/dist/{impl-D1MnxAqp.cjs.map → impl-CkkD_smS.cjs.map} +1 -1
- package/dist/impl-Cotrjytz.cjs +2 -0
- package/dist/{impl-TDjUVCrV.cjs.map → impl-Cotrjytz.cjs.map} +1 -1
- package/dist/impl-Crhm9eFe.cjs +2 -0
- package/dist/{impl-CeoJtFk7.cjs.map → impl-Crhm9eFe.cjs.map} +1 -1
- package/dist/impl-Cru4riTc.cjs +5 -0
- package/dist/impl-Cru4riTc.cjs.map +1 -0
- package/dist/impl-D2P_gDE8.cjs +2 -0
- package/dist/{impl-JkokB3Un.cjs.map → impl-D2P_gDE8.cjs.map} +1 -1
- package/dist/{impl-BnkpDlXg.cjs → impl-DDHduv-X.cjs} +2 -2
- package/dist/{impl-BnkpDlXg.cjs.map → impl-DDHduv-X.cjs.map} +1 -1
- package/dist/impl-DEULjxRp.cjs +2 -0
- package/dist/{impl-Dsj6D_fG.cjs.map → impl-DEULjxRp.cjs.map} +1 -1
- package/dist/impl-DHUnZ-Qx.cjs +2 -0
- package/dist/{impl-Ym65hOwf.cjs.map → impl-DHUnZ-Qx.cjs.map} +1 -1
- package/dist/impl-DI3lTLCy.cjs +2 -0
- package/dist/{impl-DJMqsQ7L.cjs.map → impl-DI3lTLCy.cjs.map} +1 -1
- package/dist/impl-DKMxd5Wy.cjs +2 -0
- package/dist/{impl-DEsdC5Z4.cjs.map → impl-DKMxd5Wy.cjs.map} +1 -1
- package/dist/impl-DNDs3FFG.cjs +2 -0
- package/dist/{impl-rYMBoT4c.cjs.map → impl-DNDs3FFG.cjs.map} +1 -1
- package/dist/impl-DQTfX_qq.cjs +4 -0
- package/dist/{impl-Cq9g8eCi.cjs.map → impl-DQTfX_qq.cjs.map} +1 -1
- package/dist/impl-DS2IlxS3.cjs +2 -0
- package/dist/{impl-BYBww_ic.cjs.map → impl-DS2IlxS3.cjs.map} +1 -1
- package/dist/impl-DVCUGrVY.cjs +2 -0
- package/dist/{impl-CA649Byw.cjs.map → impl-DVCUGrVY.cjs.map} +1 -1
- package/dist/{impl-B19iyoiR.cjs → impl-DZbi3AkB.cjs} +2 -2
- package/dist/{impl-B19iyoiR.cjs.map → impl-DZbi3AkB.cjs.map} +1 -1
- package/dist/impl-DcMkDhXY.cjs +2 -0
- package/dist/{impl-9qObj_On.cjs.map → impl-DcMkDhXY.cjs.map} +1 -1
- package/dist/impl-DlB56v12.cjs +2 -0
- package/dist/{impl--0AUtPOO.cjs.map → impl-DlB56v12.cjs.map} +1 -1
- package/dist/impl-Du1Ty4JE.cjs +2 -0
- package/dist/{impl-CWLtV0NB.cjs.map → impl-Du1Ty4JE.cjs.map} +1 -1
- package/dist/{impl-BzfO2Fr-.cjs → impl-DxDGyjMI.cjs} +2 -2
- package/dist/{impl-BzfO2Fr-.cjs.map → impl-DxDGyjMI.cjs.map} +1 -1
- package/dist/impl-Dxgw6Xfk.cjs +2 -0
- package/dist/{impl-3XEvFo-7.cjs.map → impl-Dxgw6Xfk.cjs.map} +1 -1
- package/dist/impl-IQ7JOZxt.cjs +2 -0
- package/dist/{impl-DbD3dI7B.cjs.map → impl-IQ7JOZxt.cjs.map} +1 -1
- package/dist/impl-bgI-lF8x.cjs +2 -0
- package/dist/{impl-1ibTRBn4.cjs.map → impl-bgI-lF8x.cjs.map} +1 -1
- package/dist/impl-feFIqpBO.cjs +2 -0
- package/dist/{impl-CCuP7d9d.cjs.map → impl-feFIqpBO.cjs.map} +1 -1
- package/dist/impl-orpaJd8b.cjs +12 -0
- package/dist/{impl-CKASqgZA.cjs.map → impl-orpaJd8b.cjs.map} +1 -1
- package/dist/{impl-Bd239j4R.cjs → impl-xUzH7vUF.cjs} +2 -2
- package/dist/{impl-Bd239j4R.cjs.map → impl-xUzH7vUF.cjs.map} +1 -1
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -9
- package/dist/{logger-BaHHbWVd.cjs → logger-DQwEYtSS.cjs} +2 -2
- package/dist/{logger-BaHHbWVd.cjs.map → logger-DQwEYtSS.cjs.map} +1 -1
- package/dist/{manual-enrichment-Cz9Cb_fJ.cjs → manual-enrichment-CzRiIFev.cjs} +2 -2
- package/dist/{manual-enrichment-Cz9Cb_fJ.cjs.map → manual-enrichment-CzRiIFev.cjs.map} +1 -1
- package/dist/{mergeTranscendInputs-PPpGbYgG.cjs → mergeTranscendInputs-BIBCYbug.cjs} +2 -2
- package/dist/{mergeTranscendInputs-PPpGbYgG.cjs.map → mergeTranscendInputs-BIBCYbug.cjs.map} +1 -1
- package/dist/{pooling-C9Q0E6d3.cjs → pooling-BJAPXDiq.cjs} +2 -2
- package/dist/{pooling-C9Q0E6d3.cjs.map → pooling-BJAPXDiq.cjs.map} +1 -1
- package/dist/{preference-management-DhMwul_r.cjs → preference-management-DV6NIcXt.cjs} +4 -4
- package/dist/preference-management-DV6NIcXt.cjs.map +1 -0
- package/dist/{readTranscendYaml-CL9nujUr.cjs → readTranscendYaml-Cycz6RxW.cjs} +2 -2
- package/dist/{readTranscendYaml-CL9nujUr.cjs.map → readTranscendYaml-Cycz6RxW.cjs.map} +1 -1
- package/dist/syncConfigurationToTranscend-Bd0ZTIm1.cjs +2994 -0
- package/dist/{syncConfigurationToTranscend-Drb8I8lD.cjs.map → syncConfigurationToTranscend-Bd0ZTIm1.cjs.map} +1 -1
- package/dist/{uploadConsents-Y2WZFgxP.cjs → uploadConsents-XYRco1_L.cjs} +2 -2
- package/dist/{uploadConsents-Y2WZFgxP.cjs.map → uploadConsents-XYRco1_L.cjs.map} +1 -1
- package/package.json +1 -1
- package/dist/app-CnSMU1Jq.cjs +0 -118
- package/dist/app-CnSMU1Jq.cjs.map +0 -1
- package/dist/buildAIIntegrationType-n_Qlv8wG.cjs +0 -2
- package/dist/codecs-JSDJgtyL.cjs +0 -2
- package/dist/command-FrwAB8R3.cjs +0 -9
- package/dist/constants-CmHjougS.cjs +0 -2
- package/dist/context-Bw1xk9Q_.cjs +0 -2
- package/dist/enums-CBXlBJii.cjs +0 -2
- package/dist/impl--0AUtPOO.cjs +0 -2
- package/dist/impl-1ibTRBn4.cjs +0 -2
- package/dist/impl-3XEvFo-7.cjs +0 -2
- package/dist/impl-9qObj_On.cjs +0 -2
- package/dist/impl-B4f6W0BP.cjs +0 -4
- package/dist/impl-BABdXCjW.cjs +0 -2
- package/dist/impl-BN61r-PG.cjs +0 -2
- package/dist/impl-BYBww_ic.cjs +0 -2
- package/dist/impl-Bm8T2x0z.cjs +0 -2
- package/dist/impl-BqwFuOOo.cjs +0 -2
- package/dist/impl-BtfHdJB-.cjs +0 -2
- package/dist/impl-C1jpyDxO.cjs +0 -2
- package/dist/impl-C4VIGK1G.cjs +0 -2
- package/dist/impl-CA649Byw.cjs +0 -2
- package/dist/impl-CCPd6sqk.cjs +0 -2
- package/dist/impl-CCuP7d9d.cjs +0 -2
- package/dist/impl-CKASqgZA.cjs +0 -12
- package/dist/impl-CKCV2er8.cjs +0 -2
- package/dist/impl-CWLtV0NB.cjs +0 -2
- package/dist/impl-CXnE8Ev7.cjs +0 -2
- package/dist/impl-CeoJtFk7.cjs +0 -2
- package/dist/impl-Cq9g8eCi.cjs +0 -4
- package/dist/impl-D1MnxAqp.cjs +0 -2
- package/dist/impl-D9_MKLLL.cjs +0 -2
- package/dist/impl-DEsdC5Z4.cjs +0 -2
- package/dist/impl-DJMqsQ7L.cjs +0 -2
- package/dist/impl-DLeBB5Zk.cjs +0 -2
- package/dist/impl-DbD3dI7B.cjs +0 -2
- package/dist/impl-Dsj6D_fG.cjs +0 -2
- package/dist/impl-DuVC84LE.cjs +0 -2
- package/dist/impl-Dwd8vWoq.cjs +0 -2
- package/dist/impl-Emn0jZNk.cjs +0 -2
- package/dist/impl-Ij4ebiVO.cjs +0 -2
- package/dist/impl-JkokB3Un.cjs +0 -2
- package/dist/impl-TDjUVCrV.cjs +0 -2
- package/dist/impl-TTDhp7Hu.cjs +0 -2
- package/dist/impl-Ym65hOwf.cjs +0 -2
- package/dist/impl-cFJaGYul.cjs +0 -2
- package/dist/impl-rYMBoT4c.cjs +0 -2
- package/dist/preference-management-DhMwul_r.cjs.map +0 -1
- package/dist/syncConfigurationToTranscend-Drb8I8lD.cjs +0 -2994
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-scanning-Cp3rJ0-7.cjs","names":["CodePackageType","name","listFiles","CodePackageType","listFiles","CodePackageType","yaml","CodePackageType","name","name","t","CodePackageType","CodePackageType"],"sources":["../src/lib/code-scanning/integrations/cocoaPods.ts","../src/lib/code-scanning/integrations/gradle.ts","../src/lib/code-scanning/integrations/javascriptPackageJson.ts","../src/lib/code-scanning/integrations/pythonRequirementsTxt.ts","../src/lib/code-scanning/integrations/gemfile.ts","../src/lib/code-scanning/integrations/pubspec.ts","../src/lib/code-scanning/integrations/composerJson.ts","../src/lib/code-scanning/integrations/swift.ts","../src/lib/code-scanning/integrations/kotlin.ts","../src/lib/code-scanning/constants.ts","../src/lib/code-scanning/findCodePackagesInFolder.ts"],"sourcesContent":["import { readFileSync } from 'node:fs';\nimport { CodeScanningConfig } from '../types';\nimport { CodePackageSdk } from '../../../codecs';\nimport { findAllWithRegex } from '@transcend-io/type-utils';\nimport { CodePackageType } from '@transcend-io/privacy-types';\n\nconst POD_TARGET_REGEX = /target ('|\")(.*?)('|\")/;\nconst POD_PACKAGE_REGEX = /pod ('|\")(.*?)('|\")(, ('|\")~> (.+?)('|\")|)/;\n\nexport const cocoaPods: CodeScanningConfig = {\n supportedFiles: ['Podfile'],\n ignoreDirs: ['Pods', 'Build'],\n scanFunction: (filePath) => {\n const fileContents = readFileSync(filePath, 'utf-8');\n\n const targets = findAllWithRegex(\n {\n value: new RegExp(POD_TARGET_REGEX, 'g'),\n matches: ['quote1', 'name', 'quote2'],\n },\n fileContents,\n );\n const packages = findAllWithRegex(\n {\n value: new RegExp(POD_PACKAGE_REGEX, 'g'),\n matches: [\n 'quote1',\n 'name',\n 'quote2',\n 'extra',\n 'quote3',\n 'version',\n 'quote4',\n ],\n },\n fileContents,\n );\n\n const deps: CodePackageSdk[] = targets.map((target, ind) => ({\n name: target.name,\n type: CodePackageType.CocoaPods,\n softwareDevelopmentKits: packages\n .filter(\n (pkg) =>\n pkg.matchIndex > target.matchIndex &&\n (!targets[ind + 1] || pkg.matchIndex < targets[ind + 1].matchIndex),\n )\n .map((pkg) => ({\n name: pkg.name,\n version: pkg.version,\n })),\n }));\n\n return deps;\n },\n};\n","import { readFileSync } from 'node:fs';\nimport { CodeScanningConfig } from '../types';\nimport { findAllWithRegex } from '@transcend-io/type-utils';\nimport { dirname } from 'node:path';\n\nconst GRADLE_IMPLEMENTATION_REGEX =\n /implementation( *)('|\")(.+?):(.+?):(.+?|)('|\")/;\nconst GRADLE_PLUGIN_REGEX = /apply plugin: *('|\")(.+?)(:(.+?)|)('|\")/;\nconst GRADLE_IMPLEMENTATION_GROUP_REGEX =\n /implementation group:( *)('|\")(.+?)('|\"),( *)name:( *)('|\")(.+?)('|\"),( *)version:( *)('|\")(.+?)('|\")/;\nconst GRADLE_APPLICATION_NAME_REGEX = /applicationId( *)\"(.+?)\"/;\n\n/**\n * So far, there are three ways of defining dependencies that is supported\n * implementation group: 'org.eclipse.jdt', name: 'org.eclipse.jdt.core', version: '3.28.0'\n * or\n * implementation 'com.google.firebase:firebase-analytics:18.0.0'\n * or\n * apply plugin: 'com.google.gms.google-services'\n *\n * single and double quotes are both recognized\n */\nexport const gradle: CodeScanningConfig = {\n supportedFiles: ['build.gradle**'],\n ignoreDirs: [\n 'gradle-app.setting',\n 'gradle-wrapper.jar',\n 'gradle-wrapper.properties',\n ],\n scanFunction: (filePath) => {\n const fileContents = readFileSync(filePath, 'utf-8');\n const directory = dirname(filePath);\n\n const targets = findAllWithRegex(\n {\n value: new RegExp(GRADLE_IMPLEMENTATION_REGEX, 'g'),\n matches: ['space', 'quote1', 'name', 'path', 'version', 'quote2'],\n },\n fileContents,\n );\n const targetPlugins = findAllWithRegex(\n {\n value: new RegExp(GRADLE_PLUGIN_REGEX, 'g'),\n matches: ['quote1', 'name', 'group', 'version', 'quote2'],\n },\n fileContents,\n );\n const targetGroups = findAllWithRegex(\n {\n value: new RegExp(GRADLE_IMPLEMENTATION_GROUP_REGEX, 'g'),\n matches: [\n 'space1',\n 'quote1',\n 'group',\n 'quote2',\n 'space2',\n 'space3',\n 'quote3',\n 'name',\n 'quote4',\n 'space4',\n 'space5',\n 'quote5',\n 'version',\n 'quote6',\n ],\n },\n fileContents,\n );\n const applications = findAllWithRegex(\n {\n value: new RegExp(GRADLE_APPLICATION_NAME_REGEX, 'g'),\n matches: ['space', 'name'],\n },\n fileContents,\n );\n if (applications.length > 1) {\n throw new Error(`Expected only one applicationId per file: ${filePath}`);\n }\n\n return [\n {\n name: applications[0]?.name || directory.split('/').pop()!,\n softwareDevelopmentKits: [\n ...targets,\n ...targetGroups,\n ...targetPlugins,\n ].map((target) => ({\n name: target.name,\n version: target.version || undefined,\n })),\n },\n ];\n },\n};\n","import { readFileSync } from 'node:fs';\nimport { CodeScanningConfig } from '../types';\nimport { CodePackageSdk } from '../../../codecs';\nimport { dirname } from 'node:path';\n\nexport const javascriptPackageJson: CodeScanningConfig = {\n supportedFiles: ['package.json'],\n ignoreDirs: ['node_modules', 'serverless-build', 'lambda-build'],\n scanFunction: (filePath) => {\n const file = readFileSync(filePath, 'utf-8');\n const directory = dirname(filePath);\n const asJson = JSON.parse(file);\n const {\n name,\n description,\n dependencies = {},\n devDependencies = {},\n optionalDependencies = {},\n } = asJson;\n return [\n {\n // name of the package\n name: name || directory.split('/').pop()!,\n description,\n softwareDevelopmentKits: [\n ...Object.entries(dependencies).map(\n ([name, version]): CodePackageSdk => ({\n name,\n version: typeof version === 'string' ? version : undefined,\n }),\n ),\n ...Object.entries(devDependencies).map(\n ([name, version]): CodePackageSdk => ({\n name,\n version: typeof version === 'string' ? version : undefined,\n isDevDependency: true,\n }),\n ),\n ...Object.entries(optionalDependencies).map(\n ([name, version]): CodePackageSdk => ({\n name,\n version: typeof version === 'string' ? version : undefined,\n }),\n ),\n ],\n },\n ];\n },\n};\n","import { readFileSync } from 'node:fs';\nimport { CodeScanningConfig } from '../types';\nimport { findAllWithRegex } from '@transcend-io/type-utils';\nimport { listFiles } from '../../api-keys';\nimport { dirname, join } from 'node:path';\nimport { CodePackageType } from '@transcend-io/privacy-types';\n\nconst REQUIREMENTS_PACKAGE_MATCH = /(.+?)(=+)(.+)/;\nconst PACKAGE_NAME = /name *= *('|\")(.+?)('|\")/;\nconst PACKAGE_DESCRIPTION = /description *= *('|\")(.+?)('|\")/;\n\nexport const pythonRequirementsTxt: CodeScanningConfig = {\n supportedFiles: ['requirements.txt'],\n ignoreDirs: ['build', 'lib', 'lib64'],\n scanFunction: (filePath) => {\n const fileContents = readFileSync(filePath, 'utf-8');\n const directory = dirname(filePath);\n const filesInFolder = listFiles(directory);\n\n // parse setup file for name\n const setupFile = filesInFolder.find((file) => file === 'setup.py');\n const setupFileContents = setupFile\n ? readFileSync(join(directory, setupFile), 'utf-8')\n : undefined;\n const packageName = setupFileContents\n ? (PACKAGE_NAME.exec(setupFileContents) || [])[2]\n : undefined;\n const packageDescription = setupFileContents\n ? (PACKAGE_DESCRIPTION.exec(setupFileContents) || [])[2]\n : undefined;\n\n const targets = findAllWithRegex(\n {\n value: new RegExp(REQUIREMENTS_PACKAGE_MATCH, 'g'),\n matches: ['name', 'equals', 'version'],\n },\n fileContents,\n );\n\n return [\n {\n name: packageName || directory.split('/').pop()!,\n description: packageDescription || undefined,\n type: CodePackageType.RequirementsTxt,\n softwareDevelopmentKits: targets.map((pkg) => ({\n name: pkg.name,\n version: pkg.version,\n })),\n },\n ];\n },\n};\n","import { readFileSync } from 'node:fs';\nimport { CodeScanningConfig } from '../types';\nimport { findAllWithRegex } from '@transcend-io/type-utils';\nimport { listFiles } from '../../api-keys';\nimport { dirname } from 'node:path';\nimport { CodePackageType } from '@transcend-io/privacy-types';\n\nconst GEM_PACKAGE_REGEX = /gem *('|\")(.+?)('|\")(, *('|\")(.+?)('|\")|)/;\nconst GEMFILE_PACKAGE_NAME_REGEX = /spec\\.name *= *('|\")(.+?)('|\")/;\nconst GEMFILE_PACKAGE_DESCRIPTION_REGEX =\n /spec\\.description *= *('|\")(.+?)('|\")/;\nconst GEMFILE_PACKAGE_SUMMARY_REGEX = /spec\\.summary *= *('|\")(.+?)('|\")/;\n\nexport const gemfile: CodeScanningConfig = {\n supportedFiles: ['Gemfile'],\n ignoreDirs: ['bin'],\n scanFunction: (filePath) => {\n const fileContents = readFileSync(filePath, 'utf-8');\n const directory = dirname(filePath);\n const filesInFolder = listFiles(directory);\n\n // parse gemspec file for name\n const gemspec = filesInFolder.find((file) => file === '.gemspec');\n const gemspecContents = gemspec\n ? readFileSync(gemspec, 'utf-8')\n : undefined;\n const gemfileName = gemspecContents\n ? (GEMFILE_PACKAGE_NAME_REGEX.exec(gemspecContents) || [])[2]\n : undefined;\n const gemfileDescription = gemspecContents\n ? (GEMFILE_PACKAGE_DESCRIPTION_REGEX.exec(gemspecContents) ||\n GEMFILE_PACKAGE_SUMMARY_REGEX.exec(gemspecContents) ||\n [])[1]\n : undefined;\n\n const targets = findAllWithRegex(\n {\n value: new RegExp(GEM_PACKAGE_REGEX, 'g'),\n matches: [\n 'quote1',\n 'name',\n 'quote2',\n 'hasVersion',\n 'quote3',\n 'version',\n 'quote4',\n ],\n },\n fileContents,\n );\n\n return [\n {\n name: gemfileName || directory.split('/').pop()!,\n description: gemfileDescription || undefined,\n type: CodePackageType.RequirementsTxt,\n softwareDevelopmentKits: targets.map((pkg) => ({\n name: pkg.name,\n version: pkg.version,\n })),\n },\n ];\n },\n};\n","import { readFileSync } from 'node:fs';\nimport { CodeScanningConfig } from '../types';\nimport { CodePackageType } from '@transcend-io/privacy-types';\nimport yaml from 'js-yaml';\nimport { dirname } from 'node:path';\n\n/**\n * Remove YAML comments from a string\n *\n * @param yamlString - YAML string\n * @returns String without comments\n */\nfunction removeYAMLComments(yamlString: string): string {\n return yamlString\n .split('\\n')\n .map((line) => {\n // Remove inline comments\n const commentIndex = line.indexOf('#');\n if (commentIndex > -1) {\n // Check if '#' is not inside a string\n if (\n !line.substring(0, commentIndex).includes('\"') &&\n !line.substring(0, commentIndex).includes(\"'\")\n ) {\n return line.substring(0, commentIndex).trim();\n }\n }\n return line;\n })\n .filter((line) => line.length > 0)\n .join('\\n');\n}\n\nexport const pubspec: CodeScanningConfig = {\n supportedFiles: ['pubspec.yml'],\n ignoreDirs: ['build'],\n scanFunction: (filePath) => {\n const directory = dirname(filePath);\n const fileContents = readFileSync(filePath, 'utf-8');\n const {\n name,\n description,\n dev_dependencies = {},\n dependencies = {},\n } = yaml.load(removeYAMLComments(fileContents)) as {\n /** Name */\n name?: string;\n /** Description */\n description?: string;\n /** Dev dependencies */\n dev_dependencies?: { [k in string]: number | Record<string, string> };\n /** Dependencies */\n dependencies?: { [k in string]: number | Record<string, string> };\n };\n return [\n {\n name: name || directory.split('/').pop()!,\n description,\n type: CodePackageType.RequirementsTxt,\n softwareDevelopmentKits: [\n ...Object.entries(dependencies).map(([name, version]) => ({\n name,\n version:\n typeof version === 'string'\n ? version\n : typeof version === 'number'\n ? version.toString()\n : version?.sdk,\n })),\n ...Object.entries(dev_dependencies).map(([name, version]) => ({\n name,\n version:\n typeof version === 'string'\n ? version\n : typeof version === 'number'\n ? version.toString()\n : version?.sdk,\n isDevDependency: true,\n })),\n ],\n },\n ];\n },\n};\n","import { readFileSync } from 'node:fs';\nimport { CodeScanningConfig } from '../types';\nimport { CodePackageSdk } from '../../../codecs';\nimport { dirname } from 'node:path';\n\nexport const composerJson: CodeScanningConfig = {\n supportedFiles: ['composer.json'],\n ignoreDirs: ['vendor', 'node_modules', 'cache', 'build', 'dist'],\n scanFunction: (filePath) => {\n const file = readFileSync(filePath, 'utf-8');\n const directory = dirname(filePath);\n const asJson = JSON.parse(file);\n const {\n name,\n description,\n require: requireDependencies = {},\n 'require-dev': requiredDevDependencies = {},\n } = asJson;\n return [\n {\n // name of the package\n name: name || directory.split('/').pop()!,\n description,\n softwareDevelopmentKits: [\n ...Object.entries(requireDependencies).map(\n ([name, version]): CodePackageSdk => ({\n name,\n version: typeof version === 'string' ? version : undefined,\n }),\n ),\n ...Object.entries(requiredDevDependencies).map(\n ([name, version]): CodePackageSdk => ({\n name,\n version: typeof version === 'string' ? version : undefined,\n isDevDependency: true,\n }),\n ),\n ],\n },\n ];\n },\n};\n","import { readFileSync } from 'node:fs';\nimport { CodeScanningConfig } from '../types';\nimport { CodePackageType } from '@transcend-io/privacy-types';\nimport { decodeCodec } from '@transcend-io/type-utils';\nimport * as t from 'io-ts';\nimport { dirname } from 'node:path';\n\nconst SwiftPackage = t.type({\n pins: t.array(\n t.type({\n identity: t.string,\n kind: t.string,\n location: t.string,\n state: t.intersection([\n t.type({\n revision: t.string,\n }),\n t.partial({\n version: t.union([t.string, t.undefined, t.null]),\n }),\n ]),\n }),\n ),\n version: t.number,\n});\n\nconst SwiftPackageV1 = t.type({\n object: t.type({\n pins: t.array(\n t.type({\n package: t.string,\n repositoryURL: t.string,\n state: t.intersection([\n t.type({\n branch: t.union([t.string, t.undefined, t.null]),\n revision: t.string,\n }),\n t.partial({\n version: t.union([t.string, t.undefined, t.null]),\n }),\n ]),\n }),\n ),\n }),\n version: t.number,\n});\n\nexport const swift: CodeScanningConfig = {\n supportedFiles: ['Package.resolved'],\n ignoreDirs: [],\n scanFunction: (filePath) => {\n const fileContents = readFileSync(filePath, 'utf-8');\n\n // Attempt latest version first\n try {\n const parsed = decodeCodec(SwiftPackage, fileContents);\n const splitPath = dirname(filePath).split('/');\n const originalName = splitPath[splitPath.length - 1];\n let name = originalName;\n if (name === 'swiftpm') {\n name = splitPath[splitPath.length - 2];\n if (name === 'xcshareddata') {\n name = splitPath[splitPath.length - 3];\n } else if (!name) {\n name = originalName;\n }\n if (name === 'project.xcworkspace') {\n name = splitPath[splitPath.length - 4];\n }\n }\n return [\n {\n name,\n type: CodePackageType.Swift,\n softwareDevelopmentKits: parsed.pins.map((target) => ({\n name: target.identity,\n version: target.state.version || undefined,\n })),\n },\n ];\n } catch (e) {\n // Throw non codec errors\n if (!e?.message?.includes('Failed to decode codec')) {\n throw e;\n }\n\n // Attempt v1\n try {\n const parsed = decodeCodec(SwiftPackageV1, fileContents);\n return [\n {\n name: dirname(filePath).split('/').pop() || '', // TODO pull from Package.swift ->> name if possible\n type: CodePackageType.Swift,\n softwareDevelopmentKits: parsed.object.pins.map((target) => ({\n name: target.package,\n version: target.state.version || undefined,\n })),\n },\n ];\n } catch (e2) {\n if (!e2?.message?.includes('Failed to decode codec')) {\n throw e2;\n }\n throw e;\n }\n }\n },\n};\n","import { readFileSync } from 'node:fs';\nimport { dirname } from 'node:path';\nimport { CodeScanningConfig } from '../types';\nimport { findAllWithRegex } from '@transcend-io/type-utils';\n\n/**\n * Kotlin DSL (build.gradle.kts) dependency & plugin parsing\n */\n\nconst KTS_DEP_CONFIGS =\n // eslint-disable-next-line max-len\n '(implementation|api|kapt|ksp|debugImplementation|releaseImplementation|androidTestImplementation|testImplementation|compileOnly|runtimeOnly)';\n\n// e.g. implementation(\"com.google.firebase:firebase-analytics:18.0.0\")\nconst KTS_DEP_STRING_COORDS_REGEX = new RegExp(\n `${KTS_DEP_CONFIGS}\\\\s*\\\\(\\\\s*[\"']([^\"':\\\\s]+):([^\"':\\\\s]+):?([^\"']*)[\"']\\\\s*\\\\)`,\n 'g',\n);\n// captures: [1]=config, [2]=group, [3]=artifact, [4]=version (may be '')\n\n// e.g. implementation(platform(\"com.google.firebase:firebase-bom:33.1.2\"))\nconst KTS_DEP_PLATFORM_REGEX = new RegExp(\n `${KTS_DEP_CONFIGS}\\\\s*\\\\(\\\\s*platform\\\\(\\\\s*[\"']([^\"':\\\\s]+):([^\"':\\\\s]+):?([^\"']*)[\"']\\\\s*\\\\)\\\\s*\\\\)`,\n 'g',\n);\n\n// e.g. implementation(libs.androidx.appcompat) / implementation(libs[\"androidx-core-ktx\"])\nconst KTS_DEP_LIBS_ALIAS_REGEX = new RegExp(\n `${KTS_DEP_CONFIGS}\\\\s*\\\\(\\\\s*libs(?:\\\\.[\\\\w\\\\-\\\\.]+|\\\\[[\"'][^\"']+[\"']\\\\])\\\\s*\\\\)`,\n 'g',\n);\n\n// Plugins:\n// plugins { id(\"com.google.gms.google-services\") version \"4.4.2\" apply false }\n// plugins { id(\"org.jetbrains.kotlin.android\") }\n// apply(plugin = \"newrelic\")\n// plugins { alias(libs.plugins.kotlin.android) }\nconst KTS_PLUGIN_ID_REGEX =\n /id\\s*\\(\\s*[\"']([^\"']+)[\"']\\s*\\)(?:\\s*version\\s*[\"']([^\"']+)[\"'])?/g;\nconst KTS_PLUGIN_APPLY_REGEX =\n /apply\\s*\\(\\s*plugin\\s*=\\s*[\"']([^\"']+)[\"']\\s*\\)/g;\nconst KTS_PLUGIN_ALIAS_REGEX =\n /plugins\\s*\\{[^}]*alias\\s*\\(\\s*libs(?:\\.plugins)?(?:\\.[\\w\\-.]+|\\[[\"'][^\"']+[\"']\\])\\s*\\)[^}]*\\}/g;\n\n// applicationId in Kotlin DSL:\n// applicationId = \"com.foo.bar\"\n// applicationId(\"com.foo.bar\")\nconst KTS_APPLICATION_ID_EQ_REGEX = /applicationId\\s*=\\s*[\"']([^\"']+)[\"']/g;\nconst KTS_APPLICATION_ID_CALL_REGEX =\n /applicationId\\s*\\(\\s*[\"']([^\"']+)[\"']\\s*\\)/g;\n\n/**\n * Input dep entry (partial)\n */\ntype DepInput = {\n /** Name of the dependency */\n name: string;\n /** Version of the dependency */\n version?: string;\n};\n\n/**\n * Helper to normalize a parsed dep entry\n *\n * @param name - name\n * @param version - version\n * @returns normalized entry\n */\nfunction depEntry(name: string, version?: string): DepInput {\n const v =\n version && version.trim().length > 0 && version !== '_'\n ? version.trim()\n : undefined;\n return { name, version: v };\n}\n\nexport const kotlin: CodeScanningConfig = {\n supportedFiles: ['**/build.gradle.kts', '**/*.gradle.kts'],\n ignoreDirs: [\n 'gradle-app.setting',\n 'gradle-wrapper.jar',\n 'gradle-wrapper.properties',\n ],\n scanFunction: (filePath) => {\n const fileContents = readFileSync(filePath, 'utf-8');\n const directory = dirname(filePath);\n\n // ---------- applicationId ----------\n const appIds = [\n ...findAllWithRegex(\n { value: KTS_APPLICATION_ID_EQ_REGEX, matches: ['name'] },\n fileContents,\n ),\n ...findAllWithRegex(\n { value: KTS_APPLICATION_ID_CALL_REGEX, matches: ['name'] },\n fileContents,\n ),\n ];\n if (appIds.length > 1) {\n throw new Error(`Expected only one applicationId per file: ${filePath}`);\n }\n const appName = appIds[0]?.name || directory.split('/').pop()!;\n\n // ---------- dependencies ----------\n const deps: Array<DepInput> = [];\n\n // \"group:artifact:version\"\n for (const m of fileContents.matchAll(KTS_DEP_STRING_COORDS_REGEX)) {\n const [, , group, artifact, version] = m;\n deps.push(depEntry(`${group}:${artifact}`, version));\n }\n\n // platform(\"group:artifact:version\")\n for (const m of fileContents.matchAll(KTS_DEP_PLATFORM_REGEX)) {\n const [, , group, artifact, version] = m;\n // Record as regular coord (you may prefer to tag as BoM separately)\n deps.push(depEntry(`${group}:${artifact}`, version));\n }\n\n // libs aliases (version catalogs) — keep alias as name, unknown version\n for (const m of fileContents.matchAll(KTS_DEP_LIBS_ALIAS_REGEX)) {\n // Grab the exact token as name (best-effort)\n const token = m[0]\n .replace(/^[^(]+\\(\\s*/, '')\n .replace(/\\)\\s*$/, '')\n .trim(); // e.g., libs.androidx.appcompat or libs[\"androidx-core-ktx\"]\n deps.push(depEntry(token));\n }\n\n // ---------- plugins ----------\n const plugins: Array<DepInput> = [];\n\n for (const m of fileContents.matchAll(KTS_PLUGIN_ID_REGEX)) {\n const [, pid, pver] = m;\n plugins.push(depEntry(pid, pver));\n }\n\n for (const m of fileContents.matchAll(KTS_PLUGIN_APPLY_REGEX)) {\n const [, pid] = m;\n plugins.push(depEntry(pid));\n }\n\n // alias(libs.plugins...) — keep alias token (no version)\n if (KTS_PLUGIN_ALIAS_REGEX.test(fileContents)) {\n // Collect all alias lines to preserve identifiers; light parse:\n const aliasMatches = fileContents.matchAll(\n /alias\\s*\\(\\s*(libs(?:\\.plugins)?(?:\\.[\\w\\-.]+|\\[[\"'][^\"']+[\"']\\]))\\s*\\)/g,\n );\n for (const m of aliasMatches) {\n plugins.push(depEntry(m[1]));\n }\n }\n\n // ---------- compose final list ----------\n // Merge deps + plugins as \"softwareDevelopmentKits\"\n const softwareDevelopmentKits = [...deps, ...plugins]\n // de-dup by name+version\n .reduce(\n (acc, cur) => {\n const key = `${cur.name}@@${cur.version || ''}`;\n if (!acc.map.has(key)) {\n acc.map.set(key, cur);\n acc.list.push(cur);\n }\n return acc;\n },\n {\n map: new Map<string, DepInput>(),\n list: [] as Array<DepInput>,\n },\n ).list;\n\n return [\n {\n name: appName,\n softwareDevelopmentKits,\n },\n ];\n },\n};\n","import { CodeScanningConfig } from './types';\nimport {\n cocoaPods,\n gradle,\n javascriptPackageJson,\n gemfile,\n composerJson,\n pubspec,\n swift,\n kotlin,\n pythonRequirementsTxt,\n} from './integrations';\nimport { CodePackageType } from '@transcend-io/privacy-types';\n\n/**\n * @deprecated TODO: https://transcend.height.app/T-32325 - use code scanning instead\n */\nexport const SILO_DISCOVERY_CONFIGS: {\n [k in string]: CodeScanningConfig;\n} = {\n cocoaPods,\n gradle,\n javascriptPackageJson,\n pythonRequirementsTxt,\n gemfile,\n pubspec,\n swift,\n};\n\nexport const CODE_SCANNING_CONFIGS: {\n [k in CodePackageType]: CodeScanningConfig;\n} = {\n [CodePackageType.CocoaPods]: cocoaPods,\n [CodePackageType.Gradle]: gradle,\n [CodePackageType.PackageJson]: javascriptPackageJson,\n [CodePackageType.RequirementsTxt]: pythonRequirementsTxt,\n [CodePackageType.Gemfile]: gemfile,\n [CodePackageType.Pubspec]: pubspec,\n [CodePackageType.ComposerJson]: composerJson,\n [CodePackageType.Swift]: swift,\n [CodePackageType.Kotlin]: kotlin,\n};\n","import fastGlob from 'fast-glob';\nimport colors from 'colors';\nimport { CodePackageInput } from '../../codecs';\nimport { getEntries } from '@transcend-io/type-utils';\nimport { CODE_SCANNING_CONFIGS } from './constants';\nimport { logger } from '../../logger';\n\n/**\n * Helper to scan and discovery all of the code packages within a folder\n *\n * @param options - Options\n * @returns the list of integrations\n */\nexport async function findCodePackagesInFolder({\n scanPath,\n ignoreDirs = [],\n repositoryName,\n}: {\n /** The name of the github repository reporting packages for */\n repositoryName: string;\n /** Where to look for package.json files */\n scanPath: string;\n /** The directories to ignore (excludes node_modules and serverless-build) */\n ignoreDirs?: string[];\n}): Promise<CodePackageInput[]> {\n const allCodePackages = await Promise.all(\n getEntries(CODE_SCANNING_CONFIGS).map(async ([codePackageType, config]) => {\n const {\n ignoreDirs: configIgnoreDirs,\n supportedFiles,\n scanFunction,\n } = config;\n const dirsToIgnore = [...ignoreDirs, ...configIgnoreDirs].filter(\n (dir) => dir.length > 0,\n );\n try {\n const filesToScan: string[] = await fastGlob(\n `${scanPath}/**/${supportedFiles.join('|')}`,\n {\n ignore: dirsToIgnore.map((dir: string) => `${scanPath}/**/${dir}`),\n unique: true,\n onlyFiles: true,\n },\n );\n logger.info(\n colors.magenta(\n `Scanning: ${filesToScan.length} files of type ${codePackageType}`,\n ),\n );\n const allPackages = filesToScan\n .map((filePath) =>\n scanFunction(filePath).map((result) => ({\n ...result,\n relativePath: filePath.replace(`${scanPath}/`, ''),\n })),\n )\n .flat();\n logger.info(\n colors.green(\n `Found: ${allPackages.length} packages and ${\n allPackages\n .map(\n ({ softwareDevelopmentKits = [] }) => softwareDevelopmentKits,\n )\n .flat().length\n } sdks`,\n ),\n );\n\n return allPackages.map(\n (pkg): CodePackageInput => ({\n ...pkg,\n type: codePackageType,\n repositoryName,\n }),\n );\n } catch (error) {\n throw new Error(\n `Error scanning globs ${supportedFiles} with error: ${error}`,\n );\n }\n }),\n );\n\n return allCodePackages.flat();\n}\n"],"mappings":"kXAMA,MAAM,EAAmB,yBACnB,EAAoB,6CAEb,EAAgC,CAC3C,eAAgB,CAAC,UAAU,CAC3B,WAAY,CAAC,OAAQ,QAAQ,CAC7B,aAAe,GAAa,CAC1B,IAAM,GAAA,EAAA,EAAA,cAA4B,EAAU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,CACd,MAAU,MACR,wBAAwB,EAAe,eAAe,IACvD,GAEH,CACH,EAEsB,MAAM"}
|
|
1
|
+
{"version":3,"file":"code-scanning-BB6Ncuzh.cjs","names":["CodePackageType","name","listFiles","CodePackageType","listFiles","CodePackageType","yaml","CodePackageType","name","name","t","CodePackageType","CodePackageType"],"sources":["../src/lib/code-scanning/integrations/cocoaPods.ts","../src/lib/code-scanning/integrations/gradle.ts","../src/lib/code-scanning/integrations/javascriptPackageJson.ts","../src/lib/code-scanning/integrations/pythonRequirementsTxt.ts","../src/lib/code-scanning/integrations/gemfile.ts","../src/lib/code-scanning/integrations/pubspec.ts","../src/lib/code-scanning/integrations/composerJson.ts","../src/lib/code-scanning/integrations/swift.ts","../src/lib/code-scanning/integrations/kotlin.ts","../src/lib/code-scanning/constants.ts","../src/lib/code-scanning/findCodePackagesInFolder.ts"],"sourcesContent":["import { readFileSync } from 'node:fs';\nimport { CodeScanningConfig } from '../types';\nimport { CodePackageSdk } from '../../../codecs';\nimport { findAllWithRegex } from '@transcend-io/type-utils';\nimport { CodePackageType } from '@transcend-io/privacy-types';\n\nconst POD_TARGET_REGEX = /target ('|\")(.*?)('|\")/;\nconst POD_PACKAGE_REGEX = /pod ('|\")(.*?)('|\")(, ('|\")~> (.+?)('|\")|)/;\n\nexport const cocoaPods: CodeScanningConfig = {\n supportedFiles: ['Podfile'],\n ignoreDirs: ['Pods', 'Build'],\n scanFunction: (filePath) => {\n const fileContents = readFileSync(filePath, 'utf-8');\n\n const targets = findAllWithRegex(\n {\n value: new RegExp(POD_TARGET_REGEX, 'g'),\n matches: ['quote1', 'name', 'quote2'],\n },\n fileContents,\n );\n const packages = findAllWithRegex(\n {\n value: new RegExp(POD_PACKAGE_REGEX, 'g'),\n matches: [\n 'quote1',\n 'name',\n 'quote2',\n 'extra',\n 'quote3',\n 'version',\n 'quote4',\n ],\n },\n fileContents,\n );\n\n const deps: CodePackageSdk[] = targets.map((target, ind) => ({\n name: target.name,\n type: CodePackageType.CocoaPods,\n softwareDevelopmentKits: packages\n .filter(\n (pkg) =>\n pkg.matchIndex > target.matchIndex &&\n (!targets[ind + 1] || pkg.matchIndex < targets[ind + 1].matchIndex),\n )\n .map((pkg) => ({\n name: pkg.name,\n version: pkg.version,\n })),\n }));\n\n return deps;\n },\n};\n","import { readFileSync } from 'node:fs';\nimport { CodeScanningConfig } from '../types';\nimport { findAllWithRegex } from '@transcend-io/type-utils';\nimport { dirname } from 'node:path';\n\nconst GRADLE_IMPLEMENTATION_REGEX =\n /implementation( *)('|\")(.+?):(.+?):(.+?|)('|\")/;\nconst GRADLE_PLUGIN_REGEX = /apply plugin: *('|\")(.+?)(:(.+?)|)('|\")/;\nconst GRADLE_IMPLEMENTATION_GROUP_REGEX =\n /implementation group:( *)('|\")(.+?)('|\"),( *)name:( *)('|\")(.+?)('|\"),( *)version:( *)('|\")(.+?)('|\")/;\nconst GRADLE_APPLICATION_NAME_REGEX = /applicationId( *)\"(.+?)\"/;\n\n/**\n * So far, there are three ways of defining dependencies that is supported\n * implementation group: 'org.eclipse.jdt', name: 'org.eclipse.jdt.core', version: '3.28.0'\n * or\n * implementation 'com.google.firebase:firebase-analytics:18.0.0'\n * or\n * apply plugin: 'com.google.gms.google-services'\n *\n * single and double quotes are both recognized\n */\nexport const gradle: CodeScanningConfig = {\n supportedFiles: ['build.gradle**'],\n ignoreDirs: [\n 'gradle-app.setting',\n 'gradle-wrapper.jar',\n 'gradle-wrapper.properties',\n ],\n scanFunction: (filePath) => {\n const fileContents = readFileSync(filePath, 'utf-8');\n const directory = dirname(filePath);\n\n const targets = findAllWithRegex(\n {\n value: new RegExp(GRADLE_IMPLEMENTATION_REGEX, 'g'),\n matches: ['space', 'quote1', 'name', 'path', 'version', 'quote2'],\n },\n fileContents,\n );\n const targetPlugins = findAllWithRegex(\n {\n value: new RegExp(GRADLE_PLUGIN_REGEX, 'g'),\n matches: ['quote1', 'name', 'group', 'version', 'quote2'],\n },\n fileContents,\n );\n const targetGroups = findAllWithRegex(\n {\n value: new RegExp(GRADLE_IMPLEMENTATION_GROUP_REGEX, 'g'),\n matches: [\n 'space1',\n 'quote1',\n 'group',\n 'quote2',\n 'space2',\n 'space3',\n 'quote3',\n 'name',\n 'quote4',\n 'space4',\n 'space5',\n 'quote5',\n 'version',\n 'quote6',\n ],\n },\n fileContents,\n );\n const applications = findAllWithRegex(\n {\n value: new RegExp(GRADLE_APPLICATION_NAME_REGEX, 'g'),\n matches: ['space', 'name'],\n },\n fileContents,\n );\n if (applications.length > 1) {\n throw new Error(`Expected only one applicationId per file: ${filePath}`);\n }\n\n return [\n {\n name: applications[0]?.name || directory.split('/').pop()!,\n softwareDevelopmentKits: [\n ...targets,\n ...targetGroups,\n ...targetPlugins,\n ].map((target) => ({\n name: target.name,\n version: target.version || undefined,\n })),\n },\n ];\n },\n};\n","import { readFileSync } from 'node:fs';\nimport { CodeScanningConfig } from '../types';\nimport { CodePackageSdk } from '../../../codecs';\nimport { dirname } from 'node:path';\n\nexport const javascriptPackageJson: CodeScanningConfig = {\n supportedFiles: ['package.json'],\n ignoreDirs: ['node_modules', 'serverless-build', 'lambda-build'],\n scanFunction: (filePath) => {\n const file = readFileSync(filePath, 'utf-8');\n const directory = dirname(filePath);\n const asJson = JSON.parse(file);\n const {\n name,\n description,\n dependencies = {},\n devDependencies = {},\n optionalDependencies = {},\n } = asJson;\n return [\n {\n // name of the package\n name: name || directory.split('/').pop()!,\n description,\n softwareDevelopmentKits: [\n ...Object.entries(dependencies).map(\n ([name, version]): CodePackageSdk => ({\n name,\n version: typeof version === 'string' ? version : undefined,\n }),\n ),\n ...Object.entries(devDependencies).map(\n ([name, version]): CodePackageSdk => ({\n name,\n version: typeof version === 'string' ? version : undefined,\n isDevDependency: true,\n }),\n ),\n ...Object.entries(optionalDependencies).map(\n ([name, version]): CodePackageSdk => ({\n name,\n version: typeof version === 'string' ? version : undefined,\n }),\n ),\n ],\n },\n ];\n },\n};\n","import { readFileSync } from 'node:fs';\nimport { CodeScanningConfig } from '../types';\nimport { findAllWithRegex } from '@transcend-io/type-utils';\nimport { listFiles } from '../../api-keys';\nimport { dirname, join } from 'node:path';\nimport { CodePackageType } from '@transcend-io/privacy-types';\n\nconst REQUIREMENTS_PACKAGE_MATCH = /(.+?)(=+)(.+)/;\nconst PACKAGE_NAME = /name *= *('|\")(.+?)('|\")/;\nconst PACKAGE_DESCRIPTION = /description *= *('|\")(.+?)('|\")/;\n\nexport const pythonRequirementsTxt: CodeScanningConfig = {\n supportedFiles: ['requirements.txt'],\n ignoreDirs: ['build', 'lib', 'lib64'],\n scanFunction: (filePath) => {\n const fileContents = readFileSync(filePath, 'utf-8');\n const directory = dirname(filePath);\n const filesInFolder = listFiles(directory);\n\n // parse setup file for name\n const setupFile = filesInFolder.find((file) => file === 'setup.py');\n const setupFileContents = setupFile\n ? readFileSync(join(directory, setupFile), 'utf-8')\n : undefined;\n const packageName = setupFileContents\n ? (PACKAGE_NAME.exec(setupFileContents) || [])[2]\n : undefined;\n const packageDescription = setupFileContents\n ? (PACKAGE_DESCRIPTION.exec(setupFileContents) || [])[2]\n : undefined;\n\n const targets = findAllWithRegex(\n {\n value: new RegExp(REQUIREMENTS_PACKAGE_MATCH, 'g'),\n matches: ['name', 'equals', 'version'],\n },\n fileContents,\n );\n\n return [\n {\n name: packageName || directory.split('/').pop()!,\n description: packageDescription || undefined,\n type: CodePackageType.RequirementsTxt,\n softwareDevelopmentKits: targets.map((pkg) => ({\n name: pkg.name,\n version: pkg.version,\n })),\n },\n ];\n },\n};\n","import { readFileSync } from 'node:fs';\nimport { CodeScanningConfig } from '../types';\nimport { findAllWithRegex } from '@transcend-io/type-utils';\nimport { listFiles } from '../../api-keys';\nimport { dirname } from 'node:path';\nimport { CodePackageType } from '@transcend-io/privacy-types';\n\nconst GEM_PACKAGE_REGEX = /gem *('|\")(.+?)('|\")(, *('|\")(.+?)('|\")|)/;\nconst GEMFILE_PACKAGE_NAME_REGEX = /spec\\.name *= *('|\")(.+?)('|\")/;\nconst GEMFILE_PACKAGE_DESCRIPTION_REGEX =\n /spec\\.description *= *('|\")(.+?)('|\")/;\nconst GEMFILE_PACKAGE_SUMMARY_REGEX = /spec\\.summary *= *('|\")(.+?)('|\")/;\n\nexport const gemfile: CodeScanningConfig = {\n supportedFiles: ['Gemfile'],\n ignoreDirs: ['bin'],\n scanFunction: (filePath) => {\n const fileContents = readFileSync(filePath, 'utf-8');\n const directory = dirname(filePath);\n const filesInFolder = listFiles(directory);\n\n // parse gemspec file for name\n const gemspec = filesInFolder.find((file) => file === '.gemspec');\n const gemspecContents = gemspec\n ? readFileSync(gemspec, 'utf-8')\n : undefined;\n const gemfileName = gemspecContents\n ? (GEMFILE_PACKAGE_NAME_REGEX.exec(gemspecContents) || [])[2]\n : undefined;\n const gemfileDescription = gemspecContents\n ? (GEMFILE_PACKAGE_DESCRIPTION_REGEX.exec(gemspecContents) ||\n GEMFILE_PACKAGE_SUMMARY_REGEX.exec(gemspecContents) ||\n [])[1]\n : undefined;\n\n const targets = findAllWithRegex(\n {\n value: new RegExp(GEM_PACKAGE_REGEX, 'g'),\n matches: [\n 'quote1',\n 'name',\n 'quote2',\n 'hasVersion',\n 'quote3',\n 'version',\n 'quote4',\n ],\n },\n fileContents,\n );\n\n return [\n {\n name: gemfileName || directory.split('/').pop()!,\n description: gemfileDescription || undefined,\n type: CodePackageType.RequirementsTxt,\n softwareDevelopmentKits: targets.map((pkg) => ({\n name: pkg.name,\n version: pkg.version,\n })),\n },\n ];\n },\n};\n","import { readFileSync } from 'node:fs';\nimport { CodeScanningConfig } from '../types';\nimport { CodePackageType } from '@transcend-io/privacy-types';\nimport yaml from 'js-yaml';\nimport { dirname } from 'node:path';\n\n/**\n * Remove YAML comments from a string\n *\n * @param yamlString - YAML string\n * @returns String without comments\n */\nfunction removeYAMLComments(yamlString: string): string {\n return yamlString\n .split('\\n')\n .map((line) => {\n // Remove inline comments\n const commentIndex = line.indexOf('#');\n if (commentIndex > -1) {\n // Check if '#' is not inside a string\n if (\n !line.substring(0, commentIndex).includes('\"') &&\n !line.substring(0, commentIndex).includes(\"'\")\n ) {\n return line.substring(0, commentIndex).trim();\n }\n }\n return line;\n })\n .filter((line) => line.length > 0)\n .join('\\n');\n}\n\nexport const pubspec: CodeScanningConfig = {\n supportedFiles: ['pubspec.yml'],\n ignoreDirs: ['build'],\n scanFunction: (filePath) => {\n const directory = dirname(filePath);\n const fileContents = readFileSync(filePath, 'utf-8');\n const {\n name,\n description,\n dev_dependencies = {},\n dependencies = {},\n } = yaml.load(removeYAMLComments(fileContents)) as {\n /** Name */\n name?: string;\n /** Description */\n description?: string;\n /** Dev dependencies */\n dev_dependencies?: { [k in string]: number | Record<string, string> };\n /** Dependencies */\n dependencies?: { [k in string]: number | Record<string, string> };\n };\n return [\n {\n name: name || directory.split('/').pop()!,\n description,\n type: CodePackageType.RequirementsTxt,\n softwareDevelopmentKits: [\n ...Object.entries(dependencies).map(([name, version]) => ({\n name,\n version:\n typeof version === 'string'\n ? version\n : typeof version === 'number'\n ? version.toString()\n : version?.sdk,\n })),\n ...Object.entries(dev_dependencies).map(([name, version]) => ({\n name,\n version:\n typeof version === 'string'\n ? version\n : typeof version === 'number'\n ? version.toString()\n : version?.sdk,\n isDevDependency: true,\n })),\n ],\n },\n ];\n },\n};\n","import { readFileSync } from 'node:fs';\nimport { CodeScanningConfig } from '../types';\nimport { CodePackageSdk } from '../../../codecs';\nimport { dirname } from 'node:path';\n\nexport const composerJson: CodeScanningConfig = {\n supportedFiles: ['composer.json'],\n ignoreDirs: ['vendor', 'node_modules', 'cache', 'build', 'dist'],\n scanFunction: (filePath) => {\n const file = readFileSync(filePath, 'utf-8');\n const directory = dirname(filePath);\n const asJson = JSON.parse(file);\n const {\n name,\n description,\n require: requireDependencies = {},\n 'require-dev': requiredDevDependencies = {},\n } = asJson;\n return [\n {\n // name of the package\n name: name || directory.split('/').pop()!,\n description,\n softwareDevelopmentKits: [\n ...Object.entries(requireDependencies).map(\n ([name, version]): CodePackageSdk => ({\n name,\n version: typeof version === 'string' ? version : undefined,\n }),\n ),\n ...Object.entries(requiredDevDependencies).map(\n ([name, version]): CodePackageSdk => ({\n name,\n version: typeof version === 'string' ? version : undefined,\n isDevDependency: true,\n }),\n ),\n ],\n },\n ];\n },\n};\n","import { readFileSync } from 'node:fs';\nimport { CodeScanningConfig } from '../types';\nimport { CodePackageType } from '@transcend-io/privacy-types';\nimport { decodeCodec } from '@transcend-io/type-utils';\nimport * as t from 'io-ts';\nimport { dirname } from 'node:path';\n\nconst SwiftPackage = t.type({\n pins: t.array(\n t.type({\n identity: t.string,\n kind: t.string,\n location: t.string,\n state: t.intersection([\n t.type({\n revision: t.string,\n }),\n t.partial({\n version: t.union([t.string, t.undefined, t.null]),\n }),\n ]),\n }),\n ),\n version: t.number,\n});\n\nconst SwiftPackageV1 = t.type({\n object: t.type({\n pins: t.array(\n t.type({\n package: t.string,\n repositoryURL: t.string,\n state: t.intersection([\n t.type({\n branch: t.union([t.string, t.undefined, t.null]),\n revision: t.string,\n }),\n t.partial({\n version: t.union([t.string, t.undefined, t.null]),\n }),\n ]),\n }),\n ),\n }),\n version: t.number,\n});\n\nexport const swift: CodeScanningConfig = {\n supportedFiles: ['Package.resolved'],\n ignoreDirs: [],\n scanFunction: (filePath) => {\n const fileContents = readFileSync(filePath, 'utf-8');\n\n // Attempt latest version first\n try {\n const parsed = decodeCodec(SwiftPackage, fileContents);\n const splitPath = dirname(filePath).split('/');\n const originalName = splitPath[splitPath.length - 1];\n let name = originalName;\n if (name === 'swiftpm') {\n name = splitPath[splitPath.length - 2];\n if (name === 'xcshareddata') {\n name = splitPath[splitPath.length - 3];\n } else if (!name) {\n name = originalName;\n }\n if (name === 'project.xcworkspace') {\n name = splitPath[splitPath.length - 4];\n }\n }\n return [\n {\n name,\n type: CodePackageType.Swift,\n softwareDevelopmentKits: parsed.pins.map((target) => ({\n name: target.identity,\n version: target.state.version || undefined,\n })),\n },\n ];\n } catch (e) {\n // Throw non codec errors\n if (!e?.message?.includes('Failed to decode codec')) {\n throw e;\n }\n\n // Attempt v1\n try {\n const parsed = decodeCodec(SwiftPackageV1, fileContents);\n return [\n {\n name: dirname(filePath).split('/').pop() || '', // TODO pull from Package.swift ->> name if possible\n type: CodePackageType.Swift,\n softwareDevelopmentKits: parsed.object.pins.map((target) => ({\n name: target.package,\n version: target.state.version || undefined,\n })),\n },\n ];\n } catch (e2) {\n if (!e2?.message?.includes('Failed to decode codec')) {\n throw e2;\n }\n throw e;\n }\n }\n },\n};\n","import { readFileSync } from 'node:fs';\nimport { dirname } from 'node:path';\nimport { CodeScanningConfig } from '../types';\nimport { findAllWithRegex } from '@transcend-io/type-utils';\n\n/**\n * Kotlin DSL (build.gradle.kts) dependency & plugin parsing\n */\n\nconst KTS_DEP_CONFIGS =\n // eslint-disable-next-line max-len\n '(implementation|api|kapt|ksp|debugImplementation|releaseImplementation|androidTestImplementation|testImplementation|compileOnly|runtimeOnly)';\n\n// e.g. implementation(\"com.google.firebase:firebase-analytics:18.0.0\")\nconst KTS_DEP_STRING_COORDS_REGEX = new RegExp(\n `${KTS_DEP_CONFIGS}\\\\s*\\\\(\\\\s*[\"']([^\"':\\\\s]+):([^\"':\\\\s]+):?([^\"']*)[\"']\\\\s*\\\\)`,\n 'g',\n);\n// captures: [1]=config, [2]=group, [3]=artifact, [4]=version (may be '')\n\n// e.g. implementation(platform(\"com.google.firebase:firebase-bom:33.1.2\"))\nconst KTS_DEP_PLATFORM_REGEX = new RegExp(\n `${KTS_DEP_CONFIGS}\\\\s*\\\\(\\\\s*platform\\\\(\\\\s*[\"']([^\"':\\\\s]+):([^\"':\\\\s]+):?([^\"']*)[\"']\\\\s*\\\\)\\\\s*\\\\)`,\n 'g',\n);\n\n// e.g. implementation(libs.androidx.appcompat) / implementation(libs[\"androidx-core-ktx\"])\nconst KTS_DEP_LIBS_ALIAS_REGEX = new RegExp(\n `${KTS_DEP_CONFIGS}\\\\s*\\\\(\\\\s*libs(?:\\\\.[\\\\w\\\\-\\\\.]+|\\\\[[\"'][^\"']+[\"']\\\\])\\\\s*\\\\)`,\n 'g',\n);\n\n// Plugins:\n// plugins { id(\"com.google.gms.google-services\") version \"4.4.2\" apply false }\n// plugins { id(\"org.jetbrains.kotlin.android\") }\n// apply(plugin = \"newrelic\")\n// plugins { alias(libs.plugins.kotlin.android) }\nconst KTS_PLUGIN_ID_REGEX =\n /id\\s*\\(\\s*[\"']([^\"']+)[\"']\\s*\\)(?:\\s*version\\s*[\"']([^\"']+)[\"'])?/g;\nconst KTS_PLUGIN_APPLY_REGEX =\n /apply\\s*\\(\\s*plugin\\s*=\\s*[\"']([^\"']+)[\"']\\s*\\)/g;\nconst KTS_PLUGIN_ALIAS_REGEX =\n /plugins\\s*\\{[^}]*alias\\s*\\(\\s*libs(?:\\.plugins)?(?:\\.[\\w\\-.]+|\\[[\"'][^\"']+[\"']\\])\\s*\\)[^}]*\\}/g;\n\n// applicationId in Kotlin DSL:\n// applicationId = \"com.foo.bar\"\n// applicationId(\"com.foo.bar\")\nconst KTS_APPLICATION_ID_EQ_REGEX = /applicationId\\s*=\\s*[\"']([^\"']+)[\"']/g;\nconst KTS_APPLICATION_ID_CALL_REGEX =\n /applicationId\\s*\\(\\s*[\"']([^\"']+)[\"']\\s*\\)/g;\n\n/**\n * Input dep entry (partial)\n */\ntype DepInput = {\n /** Name of the dependency */\n name: string;\n /** Version of the dependency */\n version?: string;\n};\n\n/**\n * Helper to normalize a parsed dep entry\n *\n * @param name - name\n * @param version - version\n * @returns normalized entry\n */\nfunction depEntry(name: string, version?: string): DepInput {\n const v =\n version && version.trim().length > 0 && version !== '_'\n ? version.trim()\n : undefined;\n return { name, version: v };\n}\n\nexport const kotlin: CodeScanningConfig = {\n supportedFiles: ['**/build.gradle.kts', '**/*.gradle.kts'],\n ignoreDirs: [\n 'gradle-app.setting',\n 'gradle-wrapper.jar',\n 'gradle-wrapper.properties',\n ],\n scanFunction: (filePath) => {\n const fileContents = readFileSync(filePath, 'utf-8');\n const directory = dirname(filePath);\n\n // ---------- applicationId ----------\n const appIds = [\n ...findAllWithRegex(\n { value: KTS_APPLICATION_ID_EQ_REGEX, matches: ['name'] },\n fileContents,\n ),\n ...findAllWithRegex(\n { value: KTS_APPLICATION_ID_CALL_REGEX, matches: ['name'] },\n fileContents,\n ),\n ];\n if (appIds.length > 1) {\n throw new Error(`Expected only one applicationId per file: ${filePath}`);\n }\n const appName = appIds[0]?.name || directory.split('/').pop()!;\n\n // ---------- dependencies ----------\n const deps: Array<DepInput> = [];\n\n // \"group:artifact:version\"\n for (const m of fileContents.matchAll(KTS_DEP_STRING_COORDS_REGEX)) {\n const [, , group, artifact, version] = m;\n deps.push(depEntry(`${group}:${artifact}`, version));\n }\n\n // platform(\"group:artifact:version\")\n for (const m of fileContents.matchAll(KTS_DEP_PLATFORM_REGEX)) {\n const [, , group, artifact, version] = m;\n // Record as regular coord (you may prefer to tag as BoM separately)\n deps.push(depEntry(`${group}:${artifact}`, version));\n }\n\n // libs aliases (version catalogs) — keep alias as name, unknown version\n for (const m of fileContents.matchAll(KTS_DEP_LIBS_ALIAS_REGEX)) {\n // Grab the exact token as name (best-effort)\n const token = m[0]\n .replace(/^[^(]+\\(\\s*/, '')\n .replace(/\\)\\s*$/, '')\n .trim(); // e.g., libs.androidx.appcompat or libs[\"androidx-core-ktx\"]\n deps.push(depEntry(token));\n }\n\n // ---------- plugins ----------\n const plugins: Array<DepInput> = [];\n\n for (const m of fileContents.matchAll(KTS_PLUGIN_ID_REGEX)) {\n const [, pid, pver] = m;\n plugins.push(depEntry(pid, pver));\n }\n\n for (const m of fileContents.matchAll(KTS_PLUGIN_APPLY_REGEX)) {\n const [, pid] = m;\n plugins.push(depEntry(pid));\n }\n\n // alias(libs.plugins...) — keep alias token (no version)\n if (KTS_PLUGIN_ALIAS_REGEX.test(fileContents)) {\n // Collect all alias lines to preserve identifiers; light parse:\n const aliasMatches = fileContents.matchAll(\n /alias\\s*\\(\\s*(libs(?:\\.plugins)?(?:\\.[\\w\\-.]+|\\[[\"'][^\"']+[\"']\\]))\\s*\\)/g,\n );\n for (const m of aliasMatches) {\n plugins.push(depEntry(m[1]));\n }\n }\n\n // ---------- compose final list ----------\n // Merge deps + plugins as \"softwareDevelopmentKits\"\n const softwareDevelopmentKits = [...deps, ...plugins]\n // de-dup by name+version\n .reduce(\n (acc, cur) => {\n const key = `${cur.name}@@${cur.version || ''}`;\n if (!acc.map.has(key)) {\n acc.map.set(key, cur);\n acc.list.push(cur);\n }\n return acc;\n },\n {\n map: new Map<string, DepInput>(),\n list: [] as Array<DepInput>,\n },\n ).list;\n\n return [\n {\n name: appName,\n softwareDevelopmentKits,\n },\n ];\n },\n};\n","import { CodeScanningConfig } from './types';\nimport {\n cocoaPods,\n gradle,\n javascriptPackageJson,\n gemfile,\n composerJson,\n pubspec,\n swift,\n kotlin,\n pythonRequirementsTxt,\n} from './integrations';\nimport { CodePackageType } from '@transcend-io/privacy-types';\n\n/**\n * @deprecated TODO: https://transcend.height.app/T-32325 - use code scanning instead\n */\nexport const SILO_DISCOVERY_CONFIGS: {\n [k in string]: CodeScanningConfig;\n} = {\n cocoaPods,\n gradle,\n javascriptPackageJson,\n pythonRequirementsTxt,\n gemfile,\n pubspec,\n swift,\n};\n\nexport const CODE_SCANNING_CONFIGS: {\n [k in CodePackageType]: CodeScanningConfig;\n} = {\n [CodePackageType.CocoaPods]: cocoaPods,\n [CodePackageType.Gradle]: gradle,\n [CodePackageType.PackageJson]: javascriptPackageJson,\n [CodePackageType.RequirementsTxt]: pythonRequirementsTxt,\n [CodePackageType.Gemfile]: gemfile,\n [CodePackageType.Pubspec]: pubspec,\n [CodePackageType.ComposerJson]: composerJson,\n [CodePackageType.Swift]: swift,\n [CodePackageType.Kotlin]: kotlin,\n};\n","import fastGlob from 'fast-glob';\nimport colors from 'colors';\nimport { CodePackageInput } from '../../codecs';\nimport { getEntries } from '@transcend-io/type-utils';\nimport { CODE_SCANNING_CONFIGS } from './constants';\nimport { logger } from '../../logger';\n\n/**\n * Helper to scan and discovery all of the code packages within a folder\n *\n * @param options - Options\n * @returns the list of integrations\n */\nexport async function findCodePackagesInFolder({\n scanPath,\n ignoreDirs = [],\n repositoryName,\n}: {\n /** The name of the github repository reporting packages for */\n repositoryName: string;\n /** Where to look for package.json files */\n scanPath: string;\n /** The directories to ignore (excludes node_modules and serverless-build) */\n ignoreDirs?: string[];\n}): Promise<CodePackageInput[]> {\n const allCodePackages = await Promise.all(\n getEntries(CODE_SCANNING_CONFIGS).map(async ([codePackageType, config]) => {\n const {\n ignoreDirs: configIgnoreDirs,\n supportedFiles,\n scanFunction,\n } = config;\n const dirsToIgnore = [...ignoreDirs, ...configIgnoreDirs].filter(\n (dir) => dir.length > 0,\n );\n try {\n const filesToScan: string[] = await fastGlob(\n `${scanPath}/**/${supportedFiles.join('|')}`,\n {\n ignore: dirsToIgnore.map((dir: string) => `${scanPath}/**/${dir}`),\n unique: true,\n onlyFiles: true,\n },\n );\n logger.info(\n colors.magenta(\n `Scanning: ${filesToScan.length} files of type ${codePackageType}`,\n ),\n );\n const allPackages = filesToScan\n .map((filePath) =>\n scanFunction(filePath).map((result) => ({\n ...result,\n relativePath: filePath.replace(`${scanPath}/`, ''),\n })),\n )\n .flat();\n logger.info(\n colors.green(\n `Found: ${allPackages.length} packages and ${\n allPackages\n .map(\n ({ softwareDevelopmentKits = [] }) => softwareDevelopmentKits,\n )\n .flat().length\n } sdks`,\n ),\n );\n\n return allPackages.map(\n (pkg): CodePackageInput => ({\n ...pkg,\n type: codePackageType,\n repositoryName,\n }),\n );\n } catch (error) {\n throw new Error(\n `Error scanning globs ${supportedFiles} with error: ${error}`,\n );\n }\n }),\n );\n\n return allCodePackages.flat();\n}\n"],"mappings":"kXAMA,MAAM,EAAmB,yBACnB,EAAoB,6CAEb,EAAgC,CAC3C,eAAgB,CAAC,UAAU,CAC3B,WAAY,CAAC,OAAQ,QAAQ,CAC7B,aAAe,GAAa,CAC1B,IAAM,GAAA,EAAA,EAAA,cAA4B,EAAU,QAA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,MAAU,MACR,wBAAwB,EAAe,eAAe,IACvD,GAEH,CACH,EAEsB,MAAM"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const e=require(`./chunk-Bmb41Sf3.cjs`),t=require(`./enums-BZulhPFa.cjs`),ee=require(`./buildAIIntegrationType-BwuCYR-o.cjs`);let n=require(`@transcend-io/privacy-types`),r=require(`@transcend-io/type-utils`),i=require(`io-ts`);i=e.t(i);let a=require(`@transcend-io/airgap.js-types`),o=require(`@transcend-io/internationalization`);const te=i.type({title:i.string}),s=i.intersection([i.type({name:i.string,value:i.string}),i.partial({isSecret:i.boolean})]),c=i.type({title:i.string}),l=i.intersection([i.type({name:i.string,description:i.string}),i.partial({"sso-department":i.string,"sso-group":i.string,"sso-title":i.string,users:i.array(i.string),scopes:i.array((0,r.valuesOf)(n.ScopeName))})]),u=i.intersection([i.type({title:i.string,"output-identifiers":i.array(i.string)}),i.partial({description:i.string,url:i.string,type:(0,r.valuesOf)(n.EnricherType),"input-identifier":i.string,testRegex:i.string,lookerQueryTitle:i.string,expirationDuration:i.number,transitionRequestStatus:(0,r.valuesOf)(n.PreflightRequestStatus),phoneNumbers:i.array(i.string),regionList:i.array((0,r.valuesOf)({...n.IsoCountryCode,...n.IsoCountrySubdivisionCode})),"data-subjects":i.array(i.string),headers:i.array(s),"privacy-actions":i.array((0,r.valuesOf)(n.RequestAction))})]),d=i.intersection([i.type({purpose:(0,r.valuesOf)(n.ProcessingPurpose)}),i.partial({name:i.string})]),f=i.intersection([i.type({category:(0,r.valuesOf)(n.DataCategoryType)}),i.partial({name:i.string})]),ne=i.intersection([i.type({category:f,status:(0,r.valuesOf)(n.SubDataPointDataSubCategoryGuessStatus),confidence:i.number}),i.partial({classifierVersion:i.number})]),re=i.intersection([i.type({category:f,status:(0,r.valuesOf)(n.UnstructuredSubDataPointRecommendationStatus),confidence:i.number}),i.partial({classifierVersion:i.number})]),p=i.intersection([i.type({name:i.string}),i.partial({description:i.string,color:i.string})]),m=i.intersection([i.type({name:i.string,type:(0,r.valuesOf)(n.AttributeKeyType)}),i.partial({description:i.string,resources:i.array((0,r.valuesOf)(n.AttributeSupportedResourceType)),values:i.array(p)})]),h=i.type({key:i.string,values:i.array(i.string)}),ie=i.intersection([i.type({name:i.string,instructions:i.string,agentId:i.string,codeInterpreterEnabled:i.boolean,retrievalEnabled:i.boolean,"large-language-model":i.type({name:i.string,client:(0,r.valuesOf)(n.LargeLanguageModelClient)})}),i.partial({description:i.string,prompt:i.string,owners:i.array(i.string),teams:i.array(i.string),"agent-functions":i.array(i.string),"agent-files":i.array(i.string)})]),g=i.type({name:i.string,description:i.string,parameters:i.string}),_=i.intersection([i.type({name:i.string,fileId:i.string,size:i.number,purpose:(0,r.valuesOf)(n.PromptFilePurpose)}),i.partial({description:i.string})]),v=i.intersection([i.type({title:i.string}),i.partial({description:i.string,dataProcessingAgreementLink:i.string,contactName:i.string,contactPhone:i.string,address:i.string,headquarterCountry:(0,r.valuesOf)(n.IsoCountryCode),headquarterSubDivision:(0,r.valuesOf)(n.IsoCountrySubdivisionCode),websiteUrl:i.string,businessEntity:i.string,owners:i.array(i.string),teams:i.array(i.string),attributes:i.array(h)})]),y=i.intersection([i.type({name:i.string,category:(0,r.valuesOf)(n.DataCategoryType)}),i.partial({description:i.string,regex:i.string,owners:i.array(i.string),teams:i.array(i.string),attributes:i.array(h)})]),b=i.intersection([i.type({name:i.string,purpose:(0,r.valuesOf)(n.ProcessingPurpose)}),i.partial({description:i.string,owners:i.array(i.string),teams:i.array(i.string),attributes:i.array(h)})]),x=i.type({title:i.string,content:i.string}),S=i.type({title:i.string,content:i.string}),C=i.type({title:i.string,description:i.string,prompts:i.array(i.string)}),w=i.intersection([i.type({key:i.string}),i.partial({title:i.string,description:i.union([i.string,i.null]),purposes:i.array(d),categories:i.array(f),"guessed-categories":i.array(ne),"access-request-visibility-enabled":i.boolean,"erasure-request-redaction-enabled":i.boolean,attributes:i.array(h)})]),T=i.intersection([i.type({key:i.string}),i.partial({path:i.array(i.string),title:i.string,description:i.string,"data-collection-tag":i.string,"privacy-action-queries":i.partial((0,r.applyEnum)(n.RequestActionObjectResolver,()=>i.string)),"privacy-actions":i.array((0,r.valuesOf)(n.RequestActionObjectResolver)),fields:i.array(w),owners:i.array(i.string),teams:i.array(i.string)})]),E=i.partial({"notify-email-address":i.string,"send-frequency":i.number,"send-type":(0,r.valuesOf)(n.PromptAVendorEmailSendType),"include-identifiers-attachment":i.boolean,"completion-link-type":(0,r.valuesOf)(n.PromptAVendorEmailCompletionLinkType),"manual-work-retry-frequency":i.string}),D=i.intersection([i.type({title:i.string}),i.partial({description:i.string,address:i.string,headquarterCountry:(0,r.valuesOf)(n.IsoCountryCode),headquarterSubDivision:(0,r.valuesOf)(n.IsoCountrySubdivisionCode),dataProtectionOfficerName:i.string,dataProtectionOfficerEmail:i.string,attributes:i.array(h),owners:i.array(i.string),teams:i.array(i.string)})]),O=i.partial({country:(0,r.valuesOf)(n.IsoCountryCode),countrySubDivision:(0,r.valuesOf)(n.IsoCountrySubdivisionCode)}),k=i.intersection([i.type({title:i.string}),i.partial({description:i.string,securityMeasureDetails:i.string,controllerships:i.array((0,r.valuesOf)(n.Controllership)),storageRegions:i.array(O),transferRegions:i.array(O),retentionType:(0,r.valuesOf)(n.RetentionType),retentionPeriod:i.number,dataProtectionImpactAssessmentLink:i.string,dataProtectionImpactAssessmentStatus:(0,r.valuesOf)(n.DataProtectionImpactAssessmentStatus),attributes:i.array(h),dataSiloTitles:i.array(i.string),dataSubjectTypes:i.array(i.string),teamNames:i.array(i.string),ownerEmails:i.array(i.string),processingSubPurposes:i.array(d),dataSubCategories:i.array(f),saaSCategories:i.array(i.string)})]),ae=i.intersection([i.type({name:i.string,codePackageType:(0,r.valuesOf)(n.CodePackageType)}),i.partial({description:i.string,repositoryUrl:i.string,catalogIntegrationName:i.string,documentationLinks:i.array(i.string),ownerEmails:i.array(i.string),teamNames:i.array(i.string)})]),A=i.intersection([i.type({name:i.string}),i.partial({version:i.string,isDevDependency:i.boolean})]),oe=i.intersection([i.type({name:i.string,type:(0,r.valuesOf)(n.CodePackageType),relativePath:i.string,repositoryName:i.string}),i.partial({description:i.string,softwareDevelopmentKits:i.array(A),teamNames:i.array(i.string),ownerEmails:i.array(i.string)})]),se=i.intersection([i.type({name:i.string,url:i.string}),i.partial({description:i.string,teamNames:i.array(i.string),ownerEmails:i.array(i.string)})]),j=i.intersection([i.type({type:i.string}),i.partial({active:i.boolean,title:i.string,adminDashboardDefaultSilentMode:i.boolean,actions:i.array((0,r.valuesOf)(n.RequestAction))})]),M=i.intersection([i.type({type:(0,r.valuesOf)(n.RequestAction)}),i.partial({skipSecondaryIfNoFiles:i.boolean,skipDownloadableStep:i.boolean,requiresReview:i.boolean,waitingPeriod:i.number,regionDetectionMethod:(0,r.valuesOf)(n.RegionDetectionMethod),regionList:i.array((0,r.valuesOf)({...n.IsoCountryCode,...n.IsoCountrySubdivisionCode})),regionBlockList:i.array((0,r.valuesOf)({...n.IsoCountryCode,...n.IsoCountrySubdivisionCode}))})]),N=i.intersection([i.type({name:i.string,type:i.string}),i.partial({regex:i.string,selectOptions:i.array(i.string),privacyCenterVisibility:i.array((0,r.valuesOf)(n.RequestAction)),dataSubjects:i.array(i.string),isRequiredInForm:i.boolean,placeholder:i.string,displayTitle:i.string,displayDescription:i.string,displayOrder:i.number,isUniqueOnPreferenceStore:i.boolean})]),P=i.intersection([i.type({value:i.string,type:(0,r.valuesOf)(n.DataFlowScope)}),i.partial({description:i.string,trackingPurposes:i.array(i.string),service:i.string,status:(0,r.valuesOf)(n.ConsentTrackerStatus),owners:i.array(i.string),teams:i.array(i.string),attributes:i.array(h)})]),F=i.intersection([i.type({name:i.string}),i.partial({isRegex:i.boolean,description:i.string,trackingPurposes:i.array(i.string),service:i.string,status:(0,r.valuesOf)(n.ConsentTrackerStatus),owners:i.array(i.string),teams:i.array(i.string),attributes:i.array(h)})]),I=i.intersection([i.type({name:i.string}),i.partial({displayName:i.string,regions:i.array(O),onConsentExpiry:(0,r.valuesOf)(a.OnConsentExpiry),consentExpiry:i.number,operator:(0,r.valuesOf)(n.RegionsOperator),displayPriority:i.number,viewState:(0,r.valuesOf)(a.InitialViewState),purposes:i.array(i.type({trackingType:i.string})),optedOutPurposes:i.array(i.type({trackingType:i.string})),browserLanguages:i.array((0,r.valuesOf)(a.BrowserLanguage)),browserTimeZones:i.array((0,r.valuesOf)(n.BrowserTimeZone))})]),L=i.intersection([i.type({name:i.string}),i.partial({partition:i.string})]),R=i.partial({version:i.string,bundleUrls:i.record((0,r.valuesOf)(n.ConsentBundleType),i.string),domains:i.array(i.string),partition:i.string,consentPrecedence:(0,r.valuesOf)(n.ConsentPrecedenceOption),unknownRequestPolicy:(0,r.valuesOf)(n.UnknownRequestPolicy),unknownCookiePolicy:(0,r.valuesOf)(n.UnknownRequestPolicy),syncEndpoint:i.string,telemetryPartitioning:(0,r.valuesOf)(n.TelemetryPartitionStrategy),signedIabAgreement:(0,r.valuesOf)(n.SignedIabAgreementOption),experiences:i.array(I),theme:i.partial({primaryColor:i.string,fontColor:i.string,privacyPolicy:i.string,prompt:i.number}),syncGroups:i.string}),z=i.partial({isDisabled:i.boolean,showPrivacyRequestButton:i.boolean,showDataPractices:i.boolean,showPolicies:i.boolean,showTrackingTechnologies:i.boolean,showCookies:i.boolean,showDataFlows:i.boolean,showConsentManager:i.boolean,showManageYourPrivacy:i.boolean,showMarketingPreferences:i.boolean,locales:i.array((0,r.valuesOf)(o.LOCALE_KEY)),defaultLocale:(0,r.valuesOf)(o.LOCALE_KEY),preferBrowserDefaultLocale:i.boolean,supportEmail:i.string,replyToEmail:i.string,useNoReplyEmailAddress:i.boolean,useCustomEmailDomain:i.boolean,transformAccessReportJsonToCsv:i.boolean,theme:i.partial({colors:i.partial((0,r.applyEnum)(n.ConfigurableColorPaletteColor,()=>i.string)),componentStyles:n.PrivacyCenterComponentStyles,textStyles:n.PrivacyCenterTextStyles})}),B=i.intersection([i.type({title:i.string}),i.partial({effectiveOn:i.string,disableEffectiveOn:i.boolean,content:i.string,disabledLocales:i.array((0,r.valuesOf)(o.LOCALE_KEY))})]),V=i.intersection([i.type({id:i.string}),i.partial({targetReactIntlId:i.string,description:i.string,defaultMessage:i.string,translations:i.partial((0,r.applyEnum)(o.LOCALE_KEY,()=>i.string))})]),H=i.intersection([i.type({title:i.string,integrationName:i.string}),i.partial({"outer-type":i.string,description:i.string,url:i.string,"api-key-title":i.string,headers:i.array(s),"data-subjects":i.array(i.string),"identity-keys":i.array(i.string),"deletion-dependencies":i.array(i.string),owners:i.array(i.string),teams:i.array(i.string),disabled:i.boolean,datapoints:i.array(T),"email-settings":E,country:(0,r.valuesOf)(n.IsoCountryCode),countrySubDivision:(0,r.valuesOf)(n.IsoCountrySubdivisionCode),attributes:i.array(h),businessEntityTitles:i.array(i.string)})]),U=i.intersection([i.type({title:i.string,productLine:(0,r.valuesOf)(n.TranscendProduct)}),i.partial({description:i.string,hidden:i.boolean})]),W=i.intersection([i.type({title:i.string,type:(0,r.valuesOf)(n.ActionItemCode),collections:i.array(i.string)}),i.partial({priority:(0,r.valuesOf)(n.ActionItemPriorityOverride),customerExperienceActionItemId:i.string,dueDate:i.string,resolved:i.boolean,notes:i.string,link:i.string,users:i.array(i.string),teams:i.array(i.string),attributes:i.array(h)})]),G=i.intersection([i.type({"depends-on-question-reference-id":i.string,"comparison-operator":(0,r.valuesOf)(n.ComparisonOperator)}),i.partial({"comparison-operands":i.array(i.string)})]),K=i.recursion(`AssessmentNestedRuleInput`,e=>i.intersection([i.type({"logic-operator":(0,r.valuesOf)(n.LogicOperator)}),i.partial({rules:i.array(G),"nested-rules":i.array(e)})])),q=i.intersection([i.type({action:(0,r.valuesOf)(n.AssessmentsDisplayLogicAction)}),i.partial({rule:G,"nested-rule":K})]),ce=i.partial({"risk-level":i.string,"risk-matrix-column":i.string,"risk-matrix-row":i.string}),J=i.intersection([i.type({"comparison-operands":i.array(i.string),"comparison-operator":(0,r.valuesOf)(n.ComparisonOperator)}),i.partial({"risk-level":i.string,"risk-matrix-column":i.string,"risk-matrix-row":i.string})]),Y=i.type({value:i.string}),X=i.intersection([i.type({title:i.string,type:(0,r.valuesOf)(n.AssessmentQuestionType)}),i.partial({"sub-type":(0,r.valuesOf)(n.AssessmentQuestionSubType),placeholder:i.string,description:i.string,"is-required":i.boolean,"reference-id":i.string,"display-logic":q,"risk-logic":i.array(J),"risk-categories":i.array(i.string),"risk-framework":i.string,"answer-options":i.array(Y),"selected-answers":i.array(i.string),"allowed-mime-types":i.array(i.string),"allow-select-other":i.boolean,"sync-model":(0,r.valuesOf)(n.AssessmentSyncModel),"sync-column":(0,r.valuesOf)(n.AssessmentSyncColumn),"attribute-key":i.string,"require-risk-evaluation":i.boolean,"require-risk-matrix-evaluation":i.boolean})]),Z=i.intersection([i.type({title:i.string,questions:i.array(X)}),i.partial({assignees:i.array(i.string),"external-assignees":i.array(i.string),status:i.string,"is-reviewed":i.boolean})]),Q=i.type({type:(0,r.valuesOf)(n.RetentionScheduleType),"duration-days":i.number,operand:(0,r.valuesOf)(n.RetentionScheduleOperation)}),le=i.intersection([i.type({title:i.string}),i.partial({sections:i.array(Z),description:i.string,status:(0,r.valuesOf)(n.AssessmentFormTemplateStatus),source:(0,r.valuesOf)(n.AssessmentFormTemplateSource),creator:i.string,locked:i.boolean,"parent-id":i.string,archived:i.boolean,"created-at":i.string,"attribute-keys":i.array(i.string),"retention-schedule":Q,templates:i.array(i.string)})]),$=i.type({title:i.string,type:(0,r.valuesOf)(n.AttributeSupportedResourceType)}),ue=i.intersection([i.type({title:i.string,group:i.string}),i.partial({sections:i.array(Z),creator:i.string,description:i.string,status:(0,r.valuesOf)(n.AssessmentFormStatus),assignees:i.array(i.string),"external-assignees":i.array(i.string),reviewers:i.array(i.string),locked:i.boolean,archived:i.boolean,external:i.boolean,"title-is-internal":i.boolean,"due-date":i.string,"created-at":i.string,"assigned-at":i.string,"submitted-at":i.string,"approved-at":i.string,"rejected-at":i.string,resources:i.array($),rows:i.array($),"retention-schedule":Q,attributes:i.array(h)})]),de=i.type({title:i.string,slug:i.string}),fe=i.intersection([i.type({type:(0,r.valuesOf)(n.PreferenceTopicType),title:i.string,description:i.string}),i.partial({"default-configuration":i.string,"show-in-privacy-center":i.boolean,options:i.array(de)})]),pe=i.intersection([i.type({trackingType:i.string,title:i.string,name:i.string}),i.partial({description:i.string,"is-active":i.boolean,configurable:i.boolean,"display-order":i.number,"show-in-privacy-center":i.boolean,"show-in-consent-manager":i.boolean,"preference-topics":i.array(fe),"auth-level":(0,r.valuesOf)(n.PreferenceStoreAuthLevel),"opt-out-signals":i.array((0,r.valuesOf)(a.UserPrivacySignalEnum)),"default-consent":(0,r.valuesOf)(n.DefaultConsentOption)})]),me=i.intersection([i.type({resourceId:i.string,plugin:i.string,suggestedCatalog:i.string,containsSensitiveData:i.string,status:i.string}),i.partial({country:(0,r.valuesOf)(n.IsoCountryCode),countrySubDivision:(0,r.valuesOf)(n.IsoCountrySubdivisionCode),plaintextContext:i.string,title:i.union([i.string,i.null])})]),he=i.partial({"action-items":i.array(W),"action-item-collections":i.array(U),"api-keys":i.array(c),teams:i.array(l),templates:i.array(te),enrichers:i.array(u),attributes:i.array(m),"business-entities":i.array(D),vendors:i.array(v),"data-categories":i.array(y),"processing-purposes":i.array(b),"data-subjects":i.array(j),actions:i.array(M),identifiers:i.array(N),"data-silos":i.array(H),"data-flows":i.array(P),cookies:i.array(F),"consent-manager":R,prompts:i.array(x),"prompt-partials":i.array(S),"prompt-groups":i.array(C),agents:i.array(ie),"agent-functions":i.array(g),"agent-files":i.array(_),"privacy-center":z,policies:i.array(B),messages:i.array(V),partitions:i.array(L),"assessment-templates":i.array(le),assessments:i.array(ue),"processing-activities":i.array(k),purposes:i.array(pe),"system-discovery":i.array(me)}),ge=i.type({organizationName:i.string,apiKey:i.string,organizationId:i.string}),_e=i.intersection([i.type({"Connections Made To":i.string,Type:(0,r.valuesOf)(n.DataFlowScope),Purpose:i.string}),i.partial({Service:i.string,Notes:i.string,Owners:i.string,Teams:i.string,Status:(0,r.valuesOf)(n.ConsentTrackerStatus)}),i.record(i.string,i.string)]),ve=i.intersection([i.type({Name:i.string,Purpose:i.string}),i.partial({Service:i.string,Notes:i.string,Owners:i.string,Teams:i.string,Status:(0,r.valuesOf)(n.ConsentTrackerStatus)}),i.record(i.string,i.string)]),ye=i.type({title:i.string,description:i.string,cookies:i.array(i.type({name:i.string,trackingPurposes:i.array(i.string)})),dataFlows:i.array(i.type({value:i.string,type:(0,r.valuesOf)(n.DataFlowScope),trackingPurposes:i.array(i.string)}))}),be=(0,r.valuesOf)(t.a),xe=ee.n({TRouteName:(0,r.valuesOf)(t.i)});(0,r.valuesOf)(t.i);const Se=i.array(xe),Ce=ee.t({TEnabledRoutes:Se}),we=i.partial({enabledIntegrations:i.partial({openAI:Ce})}),Te=i.partial({promptRunName:i.string,promptId:i.string,promptTitle:i.string,promptGroupId:i.string,promptGroupTitle:i.string,runByEmployeeEmail:i.string,applicationId:i.string,applicationName:i.string,codePackageName:i.string,repositoryName:i.string,applicationUserCoreIdentifier:i.string,applicationUserName:i.string,slackMessageTs:i.string,slackTeamId:i.string,slackChannelId:i.string,slackChannelName:i.string}),Ee=i.intersection([i.type({title:i.string}),i.partial({value:i.string})]),De=i.type({columns:i.array(Ee)}),Oe=i.partial({rows:i.array(De),json:i.string});Object.defineProperty(exports,`$`,{enumerable:!0,get:function(){return B}}),Object.defineProperty(exports,`A`,{enumerable:!0,get:function(){return ve}}),Object.defineProperty(exports,`B`,{enumerable:!0,get:function(){return T}}),Object.defineProperty(exports,`C`,{enumerable:!0,get:function(){return A}}),Object.defineProperty(exports,`D`,{enumerable:!0,get:function(){return fe}}),Object.defineProperty(exports,`E`,{enumerable:!0,get:function(){return ye}}),Object.defineProperty(exports,`F`,{enumerable:!0,get:function(){return re}}),Object.defineProperty(exports,`G`,{enumerable:!0,get:function(){return V}}),Object.defineProperty(exports,`H`,{enumerable:!0,get:function(){return w}}),Object.defineProperty(exports,`I`,{enumerable:!0,get:function(){return _e}}),Object.defineProperty(exports,`J`,{enumerable:!0,get:function(){return Ce}}),Object.defineProperty(exports,`K`,{enumerable:!0,get:function(){return xe}}),Object.defineProperty(exports,`L`,{enumerable:!0,get:function(){return P}}),Object.defineProperty(exports,`M`,{enumerable:!0,get:function(){return ne}}),Object.defineProperty(exports,`N`,{enumerable:!0,get:function(){return y}}),Object.defineProperty(exports,`O`,{enumerable:!0,get:function(){return de}}),Object.defineProperty(exports,`P`,{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,`Q`,{enumerable:!0,get:function(){return Te}}),Object.defineProperty(exports,`R`,{enumerable:!0,get:function(){return H}}),Object.defineProperty(exports,`S`,{enumerable:!0,get:function(){return oe}}),Object.defineProperty(exports,`T`,{enumerable:!0,get:function(){return R}}),Object.defineProperty(exports,`U`,{enumerable:!0,get:function(){return N}}),Object.defineProperty(exports,`V`,{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,`W`,{enumerable:!0,get:function(){return Oe}}),Object.defineProperty(exports,`X`,{enumerable:!0,get:function(){return we}}),Object.defineProperty(exports,`Y`,{enumerable:!0,get:function(){return L}}),Object.defineProperty(exports,`Z`,{enumerable:!0,get:function(){return be}}),Object.defineProperty(exports,`_`,{enumerable:!0,get:function(){return le}}),Object.defineProperty(exports,`_t`,{enumerable:!0,get:function(){return he}}),Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return g}}),Object.defineProperty(exports,`at`,{enumerable:!0,get:function(){return C}}),Object.defineProperty(exports,`b`,{enumerable:!0,get:function(){return p}}),Object.defineProperty(exports,`c`,{enumerable:!0,get:function(){return Y}}),Object.defineProperty(exports,`ct`,{enumerable:!0,get:function(){return O}}),Object.defineProperty(exports,`d`,{enumerable:!0,get:function(){return K}}),Object.defineProperty(exports,`dt`,{enumerable:!0,get:function(){return J}}),Object.defineProperty(exports,`et`,{enumerable:!0,get:function(){return z}}),Object.defineProperty(exports,`f`,{enumerable:!0,get:function(){return $}}),Object.defineProperty(exports,`ft`,{enumerable:!0,get:function(){return me}}),Object.defineProperty(exports,`g`,{enumerable:!0,get:function(){return X}}),Object.defineProperty(exports,`gt`,{enumerable:!0,get:function(){return te}}),Object.defineProperty(exports,`h`,{enumerable:!0,get:function(){return Z}}),Object.defineProperty(exports,`ht`,{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return _}}),Object.defineProperty(exports,`it`,{enumerable:!0,get:function(){return E}}),Object.defineProperty(exports,`j`,{enumerable:!0,get:function(){return F}}),Object.defineProperty(exports,`k`,{enumerable:!0,get:function(){return pe}}),Object.defineProperty(exports,`l`,{enumerable:!0,get:function(){return q}}),Object.defineProperty(exports,`lt`,{enumerable:!0,get:function(){return se}}),Object.defineProperty(exports,`m`,{enumerable:!0,get:function(){return G}}),Object.defineProperty(exports,`mt`,{enumerable:!0,get:function(){return ge}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return U}}),Object.defineProperty(exports,`nt`,{enumerable:!0,get:function(){return b}}),Object.defineProperty(exports,`o`,{enumerable:!0,get:function(){return ie}}),Object.defineProperty(exports,`ot`,{enumerable:!0,get:function(){return x}}),Object.defineProperty(exports,`p`,{enumerable:!0,get:function(){return Q}}),Object.defineProperty(exports,`pt`,{enumerable:!0,get:function(){return ae}}),Object.defineProperty(exports,`q`,{enumerable:!0,get:function(){return Se}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return W}}),Object.defineProperty(exports,`rt`,{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,`s`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`st`,{enumerable:!0,get:function(){return S}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return M}}),Object.defineProperty(exports,`tt`,{enumerable:!0,get:function(){return k}}),Object.defineProperty(exports,`u`,{enumerable:!0,get:function(){return ue}}),Object.defineProperty(exports,`ut`,{enumerable:!0,get:function(){return ce}}),Object.defineProperty(exports,`v`,{enumerable:!0,get:function(){return m}}),Object.defineProperty(exports,`vt`,{enumerable:!0,get:function(){return v}}),Object.defineProperty(exports,`w`,{enumerable:!0,get:function(){return I}}),Object.defineProperty(exports,`x`,{enumerable:!0,get:function(){return D}}),Object.defineProperty(exports,`y`,{enumerable:!0,get:function(){return h}}),Object.defineProperty(exports,`yt`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`z`,{enumerable:!0,get:function(){return j}});
|
|
2
|
+
//# sourceMappingURL=codecs-Bvmb8o9R.cjs.map
|