diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c18ff3776..32bbc1fee 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -33,6 +33,74 @@ importers: specifier: ^1.10.14 version: 1.10.14 + common/bundestagio: + dependencies: + '@democracy-deutschland/bundestag.io-definitions': + specifier: ^1.0.2 + version: 1.0.2 + '@types/cron': + specifier: ^1.7.2 + version: 1.7.3 + cron: + specifier: ^1.8.2 + version: 1.8.3 + jsonwebtoken: + specifier: ^8.5.1 + version: 8.5.1 + mongoosastic: + specifier: ^4.6.0 + version: 4.6.0 + mongoose: + specifier: ^6.0.12 + version: 6.12.0 + mongoose-diff-history: + specifier: mimani/mongoose-diff-history#master + version: github.com/mimani/mongoose-diff-history/1fb081a4308d3745ebb2646f2faeaa7ce867ca86 + omit-deep: + specifier: ^0.3.0 + version: 0.3.0 + ts-mongoose: + specifier: ^0.0.24 + version: 0.0.24(@types/mongoose@5.11.97)(mongoose@6.12.0) + devDependencies: + '@types/jsonwebtoken': + specifier: ^8.5.0 + version: 8.5.9 + ts-unused-exports: + specifier: ^7.0.3 + version: 7.0.3(typescript@4.9.5) + typescript: + specifier: ^4.4.4 + version: 4.9.5 + + common/democracy: + dependencies: + '@democracy-deutschland/bundestag.io-definitions': + specifier: ^1.0.2 + version: 1.0.2 + '@types/cron': + specifier: ^1.7.2 + version: 1.7.3 + '@types/mongoose': + specifier: ^5.7.30 + version: 5.11.97 + cron: + specifier: ^1.8.2 + version: 1.8.3 + mongoose: + specifier: ^5.9.22 + version: 5.13.20 + ts-mongoose: + specifier: ^0.0.21 + version: 0.0.21(@types/mongoose@5.11.97)(mongoose@5.13.20) + ts-unused-exports: + specifier: ^6.2.1 + version: 6.3.0 + devDependencies: + typescript: + specifier: ^3.9.6 + version: 3.9.10 + packages/tsup-config: devDependencies: tsup: @@ -42,8 +110,8 @@ importers: services/cron-jobs/cleanup-push-queue: dependencies: '@democracy-deutschland/democracy-common': - specifier: ^0.2.7 - version: 0.2.12 + specifier: '*' + version: link:../../../common/democracy devDependencies: '@types/node': specifier: ^15.6.0 @@ -68,7 +136,7 @@ importers: version: 1.0.2 '@democracy-deutschland/bundestagio-common': specifier: 0.1.16 - version: 0.1.16(@types/mongoose@5.11.97) + version: link:../../../common/bundestagio debug: specifier: ^4.3.1 version: 4.3.4(supports-color@8.1.1) @@ -129,7 +197,7 @@ importers: version: 1.0.2 '@democracy-deutschland/bundestagio-common': specifier: 0.1.16 - version: 0.1.16(@types/mongoose@5.11.97) + version: link:../../../common/bundestagio '@democracy-deutschland/scapacra': specifier: ^1.0.6 version: 1.0.6 @@ -160,7 +228,7 @@ importers: version: 1.0.2 '@democracy-deutschland/bundestagio-common': specifier: 0.1.16 - version: 0.1.16(@types/mongoose@5.11.97) + version: link:../../../common/bundestagio http2: specifier: ^3.3.7 version: 3.3.7 @@ -188,7 +256,7 @@ importers: version: 1.0.2 '@democracy-deutschland/bundestagio-common': specifier: 0.1.16 - version: 0.1.16(@types/mongoose@5.11.97) + version: link:../../../common/bundestagio '@democracy-deutschland/scapacra': specifier: ^1.0.6 version: 1.0.6 @@ -253,7 +321,7 @@ importers: dependencies: '@democracy-deutschland/bundestagio-common': specifier: 0.1.16 - version: 0.1.16(@types/mongoose@5.11.97) + version: link:../../../common/bundestagio axios: specifier: ^0.19.2 version: 0.19.2 @@ -287,7 +355,7 @@ importers: dependencies: '@democracy-deutschland/bundestagio-common': specifier: 0.1.16 - version: 0.1.16(@types/mongoose@5.11.97) + version: link:../../../common/bundestagio devDependencies: ts-node-dev: specifier: ^1.1.8 @@ -302,8 +370,8 @@ importers: services/cron-jobs/index-sync-democracy: dependencies: '@democracy-deutschland/democracy-common': - specifier: ^0.2.8 - version: 0.2.12 + specifier: '*' + version: link:../../../common/democracy devDependencies: ts-node-dev: specifier: ^1.0.0-pre.50 @@ -318,8 +386,8 @@ importers: services/cron-jobs/push-send-queued: dependencies: '@democracy-deutschland/democracy-common': - specifier: ^0.2.7 - version: 0.2.12 + specifier: '*' + version: link:../../../common/democracy apn: specifier: ^2.2.0 version: 2.2.0 @@ -361,8 +429,8 @@ importers: services/cron-jobs/queue-pushs-conference-week: dependencies: '@democracy-deutschland/democracy-common': - specifier: ^0.2.7 - version: 0.2.12 + specifier: '*' + version: link:../../../common/democracy moment: specifier: ^2.27.0 version: 2.29.4 @@ -383,8 +451,8 @@ importers: services/cron-jobs/queue-pushs-vote-conference-week: dependencies: '@democracy-deutschland/democracy-common': - specifier: ^0.2.7 - version: 0.2.12 + specifier: '*' + version: link:../../../common/democracy moment: specifier: ^2.27.0 version: 2.29.4 @@ -408,8 +476,8 @@ importers: services/cron-jobs/queue-pushs-vote-top-100: dependencies: '@democracy-deutschland/democracy-common': - specifier: 0.2.12 - version: 0.2.12 + specifier: '*' + version: link:../../../common/democracy moment: specifier: ^2.27.0 version: 2.29.4 @@ -434,7 +502,7 @@ importers: dependencies: '@democracy-deutschland/democracy-common': specifier: ^0.2.7 - version: 0.2.12 + version: link:../../../common/democracy devDependencies: dotenv: specifier: ^10.0.0 @@ -455,8 +523,8 @@ importers: specifier: ^1.0.2 version: 1.0.2 '@democracy-deutschland/democracy-common': - specifier: 0.2.12 - version: 0.2.12 + specifier: '*' + version: link:../../../common/democracy apollo-cache-inmemory: specifier: ^1.6.6 version: 1.6.6(graphql@15.8.0) @@ -510,8 +578,8 @@ importers: specifier: ^1.0.2 version: 1.0.2 '@democracy-deutschland/democracy-common': - specifier: ^0.2.7 - version: 0.2.12 + specifier: '*' + version: link:../../../common/democracy apollo-cache-inmemory: specifier: ^1.6.6 version: 1.6.6(graphql@15.8.0) @@ -562,8 +630,8 @@ importers: specifier: ^1.0.2 version: 1.0.2 '@democracy-deutschland/democracy-common': - specifier: ^0.2.9 - version: 0.2.12 + specifier: '*' + version: link:../../../common/democracy apollo-cache-inmemory: specifier: ^1.6.6 version: 1.6.6(graphql@15.8.0) @@ -971,7 +1039,7 @@ packages: dependencies: '@aws-sdk/client-cognito-identity': 3.428.0 '@aws-sdk/types': 3.428.0 - '@smithy/property-provider': 2.0.10 + '@smithy/property-provider': 2.0.12 '@smithy/types': 2.3.5 tslib: 2.6.2 transitivePeerDependencies: @@ -985,7 +1053,7 @@ packages: requiresBuild: true dependencies: '@aws-sdk/types': 3.428.0 - '@smithy/property-provider': 2.0.10 + '@smithy/property-provider': 2.0.12 '@smithy/types': 2.3.5 tslib: 2.6.2 dev: false @@ -999,7 +1067,7 @@ packages: '@aws-sdk/types': 3.428.0 '@smithy/fetch-http-handler': 2.2.3 '@smithy/node-http-handler': 2.1.7 - '@smithy/property-provider': 2.0.10 + '@smithy/property-provider': 2.0.12 '@smithy/protocol-http': 3.0.7 '@smithy/types': 2.3.5 tslib: 2.6.2 @@ -1016,8 +1084,8 @@ packages: '@aws-sdk/credential-provider-sso': 3.428.0 '@aws-sdk/credential-provider-web-identity': 3.428.0 '@aws-sdk/types': 3.428.0 - '@smithy/credential-provider-imds': 2.0.12 - '@smithy/property-provider': 2.0.10 + '@smithy/credential-provider-imds': 2.0.16 + '@smithy/property-provider': 2.0.12 '@smithy/shared-ini-file-loader': 2.2.0 '@smithy/types': 2.3.5 tslib: 2.6.2 @@ -1037,8 +1105,8 @@ packages: '@aws-sdk/credential-provider-sso': 3.428.0 '@aws-sdk/credential-provider-web-identity': 3.428.0 '@aws-sdk/types': 3.428.0 - '@smithy/credential-provider-imds': 2.0.12 - '@smithy/property-provider': 2.0.10 + '@smithy/credential-provider-imds': 2.0.16 + '@smithy/property-provider': 2.0.12 '@smithy/shared-ini-file-loader': 2.2.0 '@smithy/types': 2.3.5 tslib: 2.6.2 @@ -1053,7 +1121,7 @@ packages: requiresBuild: true dependencies: '@aws-sdk/types': 3.428.0 - '@smithy/property-provider': 2.0.10 + '@smithy/property-provider': 2.0.12 '@smithy/shared-ini-file-loader': 2.2.0 '@smithy/types': 2.3.5 tslib: 2.6.2 @@ -1068,7 +1136,7 @@ packages: '@aws-sdk/client-sso': 3.428.0 '@aws-sdk/token-providers': 3.428.0 '@aws-sdk/types': 3.428.0 - '@smithy/property-provider': 2.0.10 + '@smithy/property-provider': 2.0.12 '@smithy/shared-ini-file-loader': 2.2.0 '@smithy/types': 2.3.5 tslib: 2.6.2 @@ -1083,7 +1151,7 @@ packages: requiresBuild: true dependencies: '@aws-sdk/types': 3.428.0 - '@smithy/property-provider': 2.0.10 + '@smithy/property-provider': 2.0.12 '@smithy/types': 2.3.5 tslib: 2.6.2 dev: false @@ -1106,8 +1174,8 @@ packages: '@aws-sdk/credential-provider-sso': 3.428.0 '@aws-sdk/credential-provider-web-identity': 3.428.0 '@aws-sdk/types': 3.428.0 - '@smithy/credential-provider-imds': 2.0.12 - '@smithy/property-provider': 2.0.10 + '@smithy/credential-provider-imds': 2.0.16 + '@smithy/property-provider': 2.0.12 '@smithy/types': 2.3.5 tslib: 2.6.2 transitivePeerDependencies: @@ -1168,7 +1236,7 @@ packages: requiresBuild: true dependencies: '@aws-sdk/types': 3.428.0 - '@smithy/property-provider': 2.0.10 + '@smithy/property-provider': 2.0.12 '@smithy/protocol-http': 3.0.7 '@smithy/signature-v4': 2.0.11 '@smithy/types': 2.3.5 @@ -1229,7 +1297,7 @@ packages: '@smithy/middleware-stack': 2.0.5 '@smithy/node-config-provider': 2.1.1 '@smithy/node-http-handler': 2.1.7 - '@smithy/property-provider': 2.0.10 + '@smithy/property-provider': 2.0.12 '@smithy/protocol-http': 3.0.7 '@smithy/shared-ini-file-loader': 2.2.0 '@smithy/smithy-client': 2.1.11 @@ -1930,24 +1998,6 @@ packages: typescript: 3.9.10 dev: false - /@democracy-deutschland/bundestagio-common@0.1.16(@types/mongoose@5.11.97): - resolution: {integrity: sha512-nLVqzShop/rE0leGdqSWqeXllIcrL3Epeh18BfnNqTMBd1hXj/axsmmo/jjn7mnPTvrZFuWZireelnapa4ejFA==} - dependencies: - '@democracy-deutschland/bundestag.io-definitions': 1.0.2 - '@types/cron': 1.7.3 - cron: 1.8.3 - jsonwebtoken: 8.5.1 - mongoosastic: 4.6.0 - mongoose: 6.12.0 - mongoose-diff-history: github.com/mimani/mongoose-diff-history/1fb081a4308d3745ebb2646f2faeaa7ce867ca86 - omit-deep: 0.3.0 - ts-mongoose: 0.0.24(@types/mongoose@5.11.97)(mongoose@6.12.0) - transitivePeerDependencies: - - '@types/mongoose' - - aws-crt - - supports-color - dev: false - /@democracy-deutschland/bundestagio-common@0.1.20(@types/mongoose@5.11.97): resolution: {integrity: sha512-PZEXAXtp2sWyki1mm2RRoF4hpl1u6ob8IoAljTaY4bAnBS8mP565bj+ZbFjlJzEI94LZBAqU0t1F69TTOjkPLQ==} dependencies: @@ -1965,26 +2015,6 @@ packages: - supports-color dev: false - /@democracy-deutschland/democracy-common@0.2.12: - resolution: {integrity: sha512-oeNiDFCRaaEnRk92R/COEz4kr0ShgPixOK6P496orJFOHVgNWKPkHwS6f4yPZBytGz1kj/UiQbf0qrgle1RxVA==} - dependencies: - '@democracy-deutschland/bundestag.io-definitions': 1.0.2 - '@types/cron': 1.7.3 - '@types/mongoose': 5.11.97 - cron: 1.8.3 - mongoose: 5.13.20 - ts-mongoose: 0.0.21(@types/mongoose@5.11.97)(mongoose@5.13.20) - ts-unused-exports: 6.3.0 - transitivePeerDependencies: - - aws4 - - bson-ext - - kerberos - - mongodb-client-encryption - - mongodb-extjson - - snappy - - supports-color - dev: false - /@democracy-deutschland/scapacra-bt@1.0.32: resolution: {integrity: sha512-B0wAw7ffkSHaI+qF5XYyJWKoxiDwwDQGFBjZ1RCtwoJmiXECrXjUxrFdLTd9c0sbhE43siPFWes3ehHv7nBJag==} dependencies: @@ -2450,7 +2480,7 @@ packages: requiresBuild: true dependencies: '@grpc/proto-loader': 0.7.10 - '@types/node': 20.6.4 + '@types/node': 20.8.6 dev: false optional: true @@ -2519,7 +2549,7 @@ packages: engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} dependencies: '@jest/types': 27.5.1 - '@types/node': 20.6.4 + '@types/node': 20.8.6 chalk: 4.1.2 jest-message-util: 27.5.1 jest-util: 27.5.1 @@ -2577,7 +2607,7 @@ packages: dependencies: '@jest/fake-timers': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.6.4 + '@types/node': 20.8.6 jest-mock: 27.5.1 dev: true @@ -2587,7 +2617,7 @@ packages: dependencies: '@jest/types': 27.5.1 '@sinonjs/fake-timers': 8.1.0 - '@types/node': 20.6.4 + '@types/node': 20.8.6 jest-message-util: 27.5.1 jest-mock: 27.5.1 jest-util: 27.5.1 @@ -2616,7 +2646,7 @@ packages: '@jest/test-result': 27.5.1 '@jest/transform': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.6.4 + '@types/node': 20.8.6 chalk: 4.1.2 collect-v8-coverage: 1.0.2 exit: 0.1.2 @@ -2700,7 +2730,7 @@ packages: dependencies: '@types/istanbul-lib-coverage': 2.0.4 '@types/istanbul-reports': 3.0.1 - '@types/node': 20.6.4 + '@types/node': 20.8.6 '@types/yargs': 15.0.15 chalk: 4.1.2 dev: true @@ -2711,7 +2741,7 @@ packages: dependencies: '@types/istanbul-lib-coverage': 2.0.4 '@types/istanbul-reports': 3.0.1 - '@types/node': 20.6.4 + '@types/node': 20.8.6 '@types/yargs': 16.0.5 chalk: 4.1.2 dev: true @@ -3174,19 +3204,6 @@ packages: dev: false optional: true - /@smithy/credential-provider-imds@2.0.12: - resolution: {integrity: sha512-S3lUNe+2fEFwKcmiQniXGPXt69vaHvQCw8kYQOBL4OvJsgwfpkIYDZdroHbTshYi0M6WaKL26Mw+hvgma6dZqA==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@smithy/node-config-provider': 2.0.12 - '@smithy/property-provider': 2.0.10 - '@smithy/types': 2.3.5 - '@smithy/url-parser': 2.0.9 - tslib: 2.6.2 - dev: false - optional: true - /@smithy/credential-provider-imds@2.0.16: resolution: {integrity: sha512-tKa2xF+69TvGxJT+lnJpGrKxUuAZDLYXFhqnPEgnHz+psTpkpcB4QRjHj63+uj83KaeFJdTfW201eLZeRn6FfA==} engines: {node: '>=14.0.0'} @@ -3315,18 +3332,6 @@ packages: dev: false optional: true - /@smithy/node-config-provider@2.0.12: - resolution: {integrity: sha512-df9y9ywv+JmS40Y60ZqJ4jfZiTCmyHQffwzIqjBjLJLJl0imf9F6DWBd+jiEWHvlohR+sFhyY+KL/qzKgnAq1A==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@smithy/property-provider': 2.0.10 - '@smithy/shared-ini-file-loader': 2.0.11 - '@smithy/types': 2.3.5 - tslib: 2.6.2 - dev: false - optional: true - /@smithy/node-config-provider@2.1.1: resolution: {integrity: sha512-1lF6s1YWBi1LBu2O30tD3jyTgMtuvk/Z1twzXM4GPYe4dmZix4nNREPJIPOcfFikNU2o0eTYP80+izx5F2jIJA==} engines: {node: '>=14.0.0'} @@ -3352,16 +3357,6 @@ packages: dev: false optional: true - /@smithy/property-provider@2.0.10: - resolution: {integrity: sha512-YMBVfh0ZMmJtbsUn+WfSwR32iRljZPdRN0Tn2GAcdJ+ejX8WrBXD7Z0jIkQDrQZr8fEuuv5x8WxMIj+qVbsPQw==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@smithy/types': 2.3.5 - tslib: 2.6.2 - dev: false - optional: true - /@smithy/property-provider@2.0.12: resolution: {integrity: sha512-Un/OvvuQ1Kg8WYtoMCicfsFFuHb/TKL3pCA6ZIo/WvNTJTR94RtoRnL7mY4XkkUAoFMyf6KjcQJ76y1FX7S5rw==} engines: {node: '>=14.0.0'} @@ -3403,16 +3398,6 @@ packages: dev: false optional: true - /@smithy/querystring-parser@2.0.9: - resolution: {integrity: sha512-U6z4N743s4vrcxPW8p8+reLV0PjMCYEyb1/wtMVvv3VnbJ74gshdI8SR1sBnEh95cF8TxonmX5IxY25tS9qGfg==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@smithy/types': 2.3.5 - tslib: 2.6.2 - dev: false - optional: true - /@smithy/service-error-classification@2.0.4: resolution: {integrity: sha512-77506l12I5gxTZqBkx3Wb0RqMG81bMYLaVQ+EqIWFwQDJRs5UFeXogKxSKojCmz1wLUziHZQXm03MBzPQiumQw==} engines: {node: '>=14.0.0'} @@ -3422,16 +3407,6 @@ packages: dev: false optional: true - /@smithy/shared-ini-file-loader@2.0.11: - resolution: {integrity: sha512-Sf0u5C5px6eykXi6jImDTp+edvG3REtPjXnFWU/J+b7S2wkXwUqFXqBL5DdM4zC1F+M8u57ZT7NRqDwMOw7/Tw==} - engines: {node: '>=14.0.0'} - requiresBuild: true - dependencies: - '@smithy/types': 2.3.5 - tslib: 2.6.2 - dev: false - optional: true - /@smithy/shared-ini-file-loader@2.2.0: resolution: {integrity: sha512-xFXqs4vAb5BdkzHSRrTapFoaqS4/3m/CGZzdw46fBjYZ0paYuLAoMY60ICCn1FfGirG+PiJ3eWcqJNe4/SkfyA==} engines: {node: '>=14.0.0'} @@ -3489,16 +3464,6 @@ packages: dev: false optional: true - /@smithy/url-parser@2.0.9: - resolution: {integrity: sha512-NBnJ0NiY8z6E82Xd5VYUFQfKwK/wA/+QkKmpYUYP+cpH3aCzE6g2gvixd9vQKYjsIdRfNPCf+SFAozt8ljozOw==} - requiresBuild: true - dependencies: - '@smithy/querystring-parser': 2.0.9 - '@smithy/types': 2.3.5 - tslib: 2.6.2 - dev: false - optional: true - /@smithy/util-base64@2.0.0: resolution: {integrity: sha512-Zb1E4xx+m5Lud8bbeYi5FkcMJMnn+1WUnJF3qD7rAdXpaL7UjkFQLdmW5fHadoKbdHpwH9vSR8EyTJFHJs++tA==} engines: {node: '>=14.0.0'} @@ -3835,12 +3800,12 @@ packages: resolution: {integrity: sha512-oyl4jvAfTGX9Bt6Or4H9ni1Z447/tQuxnZsytsCaExKlmJiU8sFgnIBRzJUpKwB5eWn9HuBYlUlVA74q/yN0eQ==} dependencies: '@types/connect': 3.4.36 - '@types/node': 20.6.4 + '@types/node': 20.8.6 /@types/bson@4.0.5: resolution: {integrity: sha512-vVLwMUqhYJSQ/WKcE60eFqcyuWse5fGH+NMAXHuKrUAPoryq3ATxk5o4bgYNtg5aOM4APVg7Hnb3ASqUYG0PKg==} dependencies: - '@types/node': 20.6.4 + '@types/node': 20.8.6 /@types/bson@4.2.0: resolution: {integrity: sha512-ELCPqAdroMdcuxqwMgUpifQyRoTpyYCNr1V9xKyF40VsBobsj+BbWNRvwGchMgBPGqkw655ypkjj2MEF5ywVwg==} @@ -3856,7 +3821,7 @@ packages: /@types/connect@3.4.36: resolution: {integrity: sha512-P63Zd/JUGq+PdrM1lv0Wv5SBYeA2+CORvbrXbngriYY0jzLUWfQMQQxOhjONEz/wlHOAxOdY7CY65rgQdTjq2w==} dependencies: - '@types/node': 20.6.4 + '@types/node': 20.8.6 /@types/content-type@1.1.6: resolution: {integrity: sha512-WFHg/KFLCdUQl3m27WSQu0NEaLzoHGmgZHlsSYr0Y0iIvItMcBq7opZc6AGXPXqf+btIM6vTBJyLvuDAihB+zQ==} @@ -3865,7 +3830,7 @@ packages: /@types/cron@1.7.3: resolution: {integrity: sha512-iPmUXyIJG1Js+ldPYhOQcYU3kCAQ2FWrSkm1FJPoii2eYSn6wEW6onPukNTT0bfiflexNSRPl6KWmAIqS+36YA==} dependencies: - '@types/node': 20.6.4 + '@types/node': 20.8.6 moment: 2.29.4 dev: false @@ -3885,7 +3850,7 @@ packages: /@types/express-serve-static-core@4.17.37: resolution: {integrity: sha512-ZohaCYTgGFcOP7u6aJOhY9uIZQgZ2vxC2yWoArY+FeDXlqeH66ZVBjgvg+RLVAS/DWNq4Ap9ZXu1+SUQiiWYMg==} dependencies: - '@types/node': 20.6.4 + '@types/node': 20.8.6 '@types/qs': 6.9.8 '@types/range-parser': 1.2.4 '@types/send': 0.17.1 @@ -3903,14 +3868,14 @@ packages: requiresBuild: true dependencies: '@types/minimatch': 5.1.2 - '@types/node': 20.6.4 + '@types/node': 20.8.6 dev: false optional: true /@types/graceful-fs@4.1.7: resolution: {integrity: sha512-MhzcwU8aUygZroVwL2jeYk6JisJrPl/oov/gsgGCue9mkgl9wjGbzReYQClxiUgFDnib9FuHqTndccKeZKxTRw==} dependencies: - '@types/node': 20.6.4 + '@types/node': 20.8.6 dev: true /@types/http-errors@2.0.2: @@ -3942,7 +3907,7 @@ packages: /@types/jsdom@21.1.3: resolution: {integrity: sha512-1zzqSP+iHJYV4lB3lZhNBa012pubABkj9yG/GuXuf6LZH1cSPIJBqFDrm5JX65HHt6VOnNYdTui/0ySerRbMgA==} dependencies: - '@types/node': 20.6.4 + '@types/node': 20.8.6 '@types/tough-cookie': 4.0.3 parse5: 7.1.2 dev: false @@ -3954,10 +3919,16 @@ packages: /@types/json5@0.0.29: resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==} + /@types/jsonwebtoken@8.5.9: + resolution: {integrity: sha512-272FMnFGzAVMGtu9tkr29hRL6bZj4Zs1KZNeHLnKqAvp06tAIcarTMwOh8/8bz4FmKRcMxZhZNeUAQsNLoiPhg==} + dependencies: + '@types/node': 20.8.6 + dev: true + /@types/jsonwebtoken@9.0.3: resolution: {integrity: sha512-b0jGiOgHtZ2jqdPgPnP6WLCXZk1T8p06A/vPGzUvxpFGgKMbjXJDjC5m52ErqBnIuWZFgGoIJyRdeG5AyreJjA==} dependencies: - '@types/node': 20.6.4 + '@types/node': 20.8.6 dev: false /@types/linkify-it@3.0.3: @@ -4007,7 +3978,7 @@ packages: resolution: {integrity: sha512-WcdpPJCakFzcWWD9juKoZbRtQxKIMYF/JIAM4JrNHrMcnJL6/a2NWjXxW7fo9hxboxxkg+icff8d7+WIEvKgYQ==} dependencies: '@types/bson': 4.2.0 - '@types/node': 20.6.4 + '@types/node': 20.8.6 /@types/mongoose@5.11.97: resolution: {integrity: sha512-cqwOVYT3qXyLiGw7ueU2kX9noE8DPGRY6z8eUxudhXY8NZ7DMKYAxyZkLSevGfhCX3dO/AoX5/SO9lAzfjon0Q==} @@ -4030,7 +4001,7 @@ packages: /@types/node-fetch@2.6.6: resolution: {integrity: sha512-95X8guJYhfqiuVVhRFxVQcf4hW/2bCuoPwDasMf/531STFoNoWTT7YDnWdXHEZKqAGUigmpG31r2FE70LwnzJw==} dependencies: - '@types/node': 20.6.4 + '@types/node': 20.8.6 form-data: 4.0.0 dev: true @@ -4049,7 +4020,6 @@ packages: resolution: {integrity: sha512-eWO4K2Ji70QzKUqRy6oyJWUeB7+g2cRagT3T/nxYibYcT4y2BDL8lqolRXjTHmkZCdJfIPaY73KbJAZmcryxTQ==} dependencies: undici-types: 5.25.3 - dev: true /@types/parse-json@4.0.0: resolution: {integrity: sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==} @@ -4068,7 +4038,7 @@ packages: /@types/responselike@1.0.0: resolution: {integrity: sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA==} dependencies: - '@types/node': 20.6.4 + '@types/node': 20.8.6 dev: false /@types/rimraf@3.0.2: @@ -4076,7 +4046,7 @@ packages: requiresBuild: true dependencies: '@types/glob': 8.1.0 - '@types/node': 20.6.4 + '@types/node': 20.8.6 dev: false optional: true @@ -4088,14 +4058,14 @@ packages: resolution: {integrity: sha512-Cwo8LE/0rnvX7kIIa3QHCkcuF21c05Ayb0ZfxPiv0W8VRiZiNW/WuRupHKpqqGVGf7SUA44QSOUKaEd9lIrd/Q==} dependencies: '@types/mime': 1.3.2 - '@types/node': 20.6.4 + '@types/node': 20.8.6 /@types/serve-static@1.15.2: resolution: {integrity: sha512-J2LqtvFYCzaj8pVYKw8klQXrLLk7TBZmQ4ShlcdkELFKGwGMfevMLneMMRkMgZxotOD9wg497LpC7O8PcvAmfw==} dependencies: '@types/http-errors': 2.0.2 '@types/mime': 3.0.1 - '@types/node': 20.6.4 + '@types/node': 20.8.6 /@types/stack-utils@2.0.1: resolution: {integrity: sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==} @@ -4120,14 +4090,14 @@ packages: /@types/whatwg-url@8.2.2: resolution: {integrity: sha512-FtQu10RWgn3D9U4aazdwIE2yzphmTJREDqNdODHrbrZmmMqI0vMheC/6NE/J1Yveaj8H+ela+YwWTjq5PGmuhA==} dependencies: - '@types/node': 20.6.4 + '@types/node': 20.8.6 '@types/webidl-conversions': 7.0.0 dev: false /@types/xml2js@0.4.12: resolution: {integrity: sha512-CZPpQKBZ8db66EP5hCjwvYrLThgZvnyZrPXK2W+UI1oOaWezGt34iOaUCX4Jah2X8+rQqjvl9VKEIT8TR1I0rA==} dependencies: - '@types/node': 20.6.4 + '@types/node': 20.8.6 dev: false /@types/xmldom@0.1.32: @@ -4504,7 +4474,7 @@ packages: /@wry/context@0.4.4: resolution: {integrity: sha512-LrKVLove/zw6h2Md/KZyWxIkFM6AoyKp71OqpH9Hiip1csjPVoD3tPxlbQUNxEnHENks3UGgNpSBCAfq9KWuag==} dependencies: - '@types/node': 20.6.4 + '@types/node': 20.8.6 tslib: 1.14.1 dev: false @@ -8680,7 +8650,7 @@ packages: '@jest/environment': 27.5.1 '@jest/test-result': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.6.4 + '@types/node': 20.8.6 chalk: 4.1.2 co: 4.6.0 dedent: 0.7.0 @@ -8815,7 +8785,7 @@ packages: '@jest/environment': 27.5.1 '@jest/fake-timers': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.6.4 + '@types/node': 20.8.6 jest-mock: 27.5.1 jest-util: 27.5.1 jsdom: 16.7.0 @@ -8833,7 +8803,7 @@ packages: '@jest/environment': 27.5.1 '@jest/fake-timers': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.6.4 + '@types/node': 20.8.6 jest-mock: 27.5.1 jest-util: 27.5.1 dev: true @@ -8854,7 +8824,7 @@ packages: dependencies: '@jest/types': 27.5.1 '@types/graceful-fs': 4.1.7 - '@types/node': 20.6.4 + '@types/node': 20.8.6 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -8876,7 +8846,7 @@ packages: '@jest/source-map': 27.5.1 '@jest/test-result': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.6.4 + '@types/node': 20.8.6 chalk: 4.1.2 co: 4.6.0 expect: 27.5.1 @@ -8931,7 +8901,7 @@ packages: engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} dependencies: '@jest/types': 27.5.1 - '@types/node': 20.6.4 + '@types/node': 20.8.6 dev: true /jest-pnp-resolver@1.2.3(jest-resolve@27.5.1): @@ -8987,7 +8957,7 @@ packages: '@jest/test-result': 27.5.1 '@jest/transform': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.6.4 + '@types/node': 20.8.6 chalk: 4.1.2 emittery: 0.8.1 graceful-fs: 4.2.11 @@ -9044,7 +9014,7 @@ packages: resolution: {integrity: sha512-jZCyo6iIxO1aqUxpuBlwTDMkzOAJS4a3eYz3YzgxxVQFwLeSA7Jfq5cbqCY+JLvTDrWirgusI/0KwxKMgrdf7w==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} dependencies: - '@types/node': 20.6.4 + '@types/node': 20.8.6 graceful-fs: 4.2.11 dev: true @@ -9108,7 +9078,7 @@ packages: dependencies: '@jest/test-result': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 20.6.4 + '@types/node': 20.8.6 ansi-escapes: 4.3.2 chalk: 4.1.2 jest-util: 27.5.1 @@ -9119,7 +9089,7 @@ packages: resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==} engines: {node: '>= 10.13.0'} dependencies: - '@types/node': 20.6.4 + '@types/node': 20.8.6 merge-stream: 2.0.0 supports-color: 8.1.1 dev: true @@ -9379,6 +9349,7 @@ packages: dependencies: chalk: 0.5.1 dev: false + bundledDependencies: [] /jsonfile@4.0.0: resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==} @@ -10859,7 +10830,7 @@ packages: '@protobufjs/path': 1.1.2 '@protobufjs/pool': 1.1.0 '@protobufjs/utf8': 1.1.0 - '@types/node': 20.6.4 + '@types/node': 20.8.6 long: 5.2.3 dev: false optional: true @@ -10879,7 +10850,7 @@ packages: '@protobufjs/path': 1.1.2 '@protobufjs/pool': 1.1.0 '@protobufjs/utf8': 1.1.0 - '@types/node': 20.6.4 + '@types/node': 20.8.6 long: 5.2.3 dev: false optional: true @@ -12384,6 +12355,17 @@ packages: tsconfig-paths: 3.14.2 typescript: 3.9.10 + /ts-unused-exports@7.0.3(typescript@4.9.5): + resolution: {integrity: sha512-D0VdTiTfrmZM7tViQEMuzG0+giU5z5crn4vjK+f1dnxTKcNx23Vc2lpMgd1vP3lYrwnvJofZmCnvEuJ7XUeV2Q==} + hasBin: true + peerDependencies: + typescript: '>=3.8.3' + dependencies: + chalk: 4.1.2 + tsconfig-paths: 3.14.2 + typescript: 4.9.5 + dev: true + /ts-unused-exports@7.0.3(typescript@5.2.2): resolution: {integrity: sha512-D0VdTiTfrmZM7tViQEMuzG0+giU5z5crn4vjK+f1dnxTKcNx23Vc2lpMgd1vP3lYrwnvJofZmCnvEuJ7XUeV2Q==} hasBin: true @@ -12664,6 +12646,12 @@ packages: engines: {node: '>=4.2.0'} hasBin: true + /typescript@4.9.5: + resolution: {integrity: sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==} + engines: {node: '>=4.2.0'} + hasBin: true + dev: true + /typescript@5.2.2: resolution: {integrity: sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==} engines: {node: '>=14.17'} @@ -12718,7 +12706,6 @@ packages: /undici-types@5.25.3: resolution: {integrity: sha512-Ga1jfYwRn7+cP9v8auvEXN1rX3sWqlayd4HP7OKk4mZWylEmu3KzXDUGrQUN6Ol7qo1gPvB2e5gX6udnyEPgdA==} - dev: true /universalify@0.1.2: resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 4b613ed93..cd53ee1a9 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,3 +1,4 @@ packages: - 'services/**/*' - 'packages/**/*' + - 'common/**/*' diff --git a/services/cron-jobs/cleanup-push-queue/package.json b/services/cron-jobs/cleanup-push-queue/package.json index 83a3d5dbe..94b85d726 100644 --- a/services/cron-jobs/cleanup-push-queue/package.json +++ b/services/cron-jobs/cleanup-push-queue/package.json @@ -12,7 +12,7 @@ "start": "node ./build/index.js" }, "dependencies": { - "@democracy-deutschland/democracy-common": "^0.2.7" + "@democracy-deutschland/democracy-common": "*" }, "devDependencies": { "@types/node": "^15.6.0", diff --git a/services/cron-jobs/index-sync-democracy/package.json b/services/cron-jobs/index-sync-democracy/package.json index 035377628..b3753f539 100644 --- a/services/cron-jobs/index-sync-democracy/package.json +++ b/services/cron-jobs/index-sync-democracy/package.json @@ -12,7 +12,7 @@ "start": "node ./build/index.js" }, "dependencies": { - "@democracy-deutschland/democracy-common": "^0.2.8" + "@democracy-deutschland/democracy-common": "*" }, "devDependencies": { "ts-node-dev": "^1.0.0-pre.50", diff --git a/services/cron-jobs/push-send-queued/package.json b/services/cron-jobs/push-send-queued/package.json index aa3f77325..f3876c31b 100644 --- a/services/cron-jobs/push-send-queued/package.json +++ b/services/cron-jobs/push-send-queued/package.json @@ -13,7 +13,7 @@ "apollo:codegen": "apollo client:codegen --target typescript --globalTypesFile=./src/__generated__/globalTypes.ts" }, "dependencies": { - "@democracy-deutschland/democracy-common": "^0.2.7", + "@democracy-deutschland/democracy-common": "*", "apn": "^2.2.0", "axios": "^1.2.3", "firebase-admin": "^11.5.0", diff --git a/services/cron-jobs/queue-pushs-conference-week/package.json b/services/cron-jobs/queue-pushs-conference-week/package.json index 78552d4c3..6bfab6e37 100644 --- a/services/cron-jobs/queue-pushs-conference-week/package.json +++ b/services/cron-jobs/queue-pushs-conference-week/package.json @@ -12,7 +12,7 @@ "start": "node ./build/index.js" }, "dependencies": { - "@democracy-deutschland/democracy-common": "^0.2.7", + "@democracy-deutschland/democracy-common": "*", "moment": "^2.27.0" }, "devDependencies": { diff --git a/services/cron-jobs/queue-pushs-vote-conference-week/package.json b/services/cron-jobs/queue-pushs-vote-conference-week/package.json index 709c1ad0e..c64e4edb0 100644 --- a/services/cron-jobs/queue-pushs-vote-conference-week/package.json +++ b/services/cron-jobs/queue-pushs-vote-conference-week/package.json @@ -12,7 +12,7 @@ "start": "node ./build/index.js" }, "dependencies": { - "@democracy-deutschland/democracy-common": "^0.2.7", + "@democracy-deutschland/democracy-common": "*", "moment": "^2.27.0", "p-iteration": "^1.1.8" }, diff --git a/services/cron-jobs/queue-pushs-vote-top-100/package.json b/services/cron-jobs/queue-pushs-vote-top-100/package.json index 88dc715c5..5f71340d3 100644 --- a/services/cron-jobs/queue-pushs-vote-top-100/package.json +++ b/services/cron-jobs/queue-pushs-vote-top-100/package.json @@ -12,7 +12,7 @@ "start": "node ./build/index.js" }, "dependencies": { - "@democracy-deutschland/democracy-common": "0.2.12", + "@democracy-deutschland/democracy-common": "*", "moment": "^2.27.0", "p-iteration": "^1.1.8" }, diff --git a/services/cron-jobs/sync-deputy-profiles/package.json b/services/cron-jobs/sync-deputy-profiles/package.json index 3ff9702d2..10dda5402 100644 --- a/services/cron-jobs/sync-deputy-profiles/package.json +++ b/services/cron-jobs/sync-deputy-profiles/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@democracy-deutschland/bundestag.io-definitions": "^1.0.2", - "@democracy-deutschland/democracy-common": "0.2.12", + "@democracy-deutschland/democracy-common": "*", "apollo-cache-inmemory": "^1.6.6", "apollo-client": "^2.6.10", "apollo-link-http": "^1.5.17", diff --git a/services/cron-jobs/sync-named-polls/package.json b/services/cron-jobs/sync-named-polls/package.json index 37f71f9ab..23f0ce9e7 100644 --- a/services/cron-jobs/sync-named-polls/package.json +++ b/services/cron-jobs/sync-named-polls/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@democracy-deutschland/bundestag.io-definitions": "^1.0.2", - "@democracy-deutschland/democracy-common": "^0.2.7", + "@democracy-deutschland/democracy-common": "*", "apollo-cache-inmemory": "^1.6.6", "apollo-client": "^2.6.10", "apollo-link-http": "^1.5.17", diff --git a/services/cron-jobs/sync-procedures/package.json b/services/cron-jobs/sync-procedures/package.json index 039441053..2c93598f4 100644 --- a/services/cron-jobs/sync-procedures/package.json +++ b/services/cron-jobs/sync-procedures/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@democracy-deutschland/bundestag.io-definitions": "^1.0.2", - "@democracy-deutschland/democracy-common": "^0.2.9", + "@democracy-deutschland/democracy-common": "*", "apollo-cache-inmemory": "^1.6.6", "apollo-client": "^2.6.10", "apollo-link-http": "^1.5.17",