diff --git a/.eslintrc.json b/.eslintrc.json index e13cf0e..6a12ba0 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,6 +1,6 @@ { "root": true, - "ignorePatterns": ["**/*"], + "ignorePatterns": ["**/*", "node_modules/**"], "plugins": ["@nrwl/nx"], "overrides": [ { diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 390d346..f4cfa8f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -94,7 +94,7 @@ jobs: run: pnpm run build-tsc - name: Lint types and code - run: pnpm run lint + run: pnpm run lint --quiet - name: Run tests run: pnpm test diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 8314ba4..98e05c1 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -16,12 +16,23 @@ jobs: uses: actions/setup-node@master with: node-version: 16.x + registry-url: 'https://registry.npmjs.org' + scope: '@wanews' + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - name: Cache .pnpm-store - uses: actions/cache@v1 + - name: Install Pulumi CLI + uses: pulumi/action-install-pulumi-cli@v1 + + - name: Configure AWS Credentials + uses: aws-actions/configure-aws-credentials@v1 with: - path: ~/.pnpm-store - key: ${{ runner.os }}-node${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }} + aws-access-key-id: ${{ secrets.AWS_ACCESS_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_KEY }} + aws-region: ap-southeast-2 + role-to-assume: ${{ secrets.AWS_DEV_ACCOUNT_ROLE }} + role-skip-session-tagging: true + role-duration-seconds: 3600 - name: Install pnpm run: | @@ -36,4 +47,10 @@ jobs: run: pnpm run build-tsc - name: Lint types and code - run: pnpm run lint + run: pnpm run lint --quiet + + - name: Run tests + run: pnpm test + + - name: Package + run: pnpm package diff --git a/libs/certificate-validation/.eslintrc.json b/libs/certificate-validation/.eslintrc.json index 5626944..88eebb2 100644 --- a/libs/certificate-validation/.eslintrc.json +++ b/libs/certificate-validation/.eslintrc.json @@ -1,6 +1,6 @@ { "extends": ["../../.eslintrc.json"], - "ignorePatterns": ["!**/*"], + "ignorePatterns": ["!**/*", "node_modules/**"], "overrides": [ { "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], diff --git a/libs/invoke-step-function/.eslintrc.json b/libs/invoke-step-function/.eslintrc.json index 99758c6..cb97024 100644 --- a/libs/invoke-step-function/.eslintrc.json +++ b/libs/invoke-step-function/.eslintrc.json @@ -1,6 +1,6 @@ { "extends": ["../../.eslintrc.json"], - "ignorePatterns": ["!**/*"], + "ignorePatterns": ["!**/*", "node_modules/**"], "overrides": [ { "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], diff --git a/libs/pulumi-lambda/.eslintrc.json b/libs/pulumi-lambda/.eslintrc.json index 5626944..88eebb2 100644 --- a/libs/pulumi-lambda/.eslintrc.json +++ b/libs/pulumi-lambda/.eslintrc.json @@ -1,6 +1,6 @@ { "extends": ["../../.eslintrc.json"], - "ignorePatterns": ["!**/*"], + "ignorePatterns": ["!**/*", "node_modules/**"], "overrides": [ { "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], diff --git a/libs/pulumi-lambda/src/lib/lambda-function.ts b/libs/pulumi-lambda/src/lib/lambda-function.ts index c8b1b73..5e6e4cb 100644 --- a/libs/pulumi-lambda/src/lib/lambda-function.ts +++ b/libs/pulumi-lambda/src/lib/lambda-function.ts @@ -41,35 +41,35 @@ export class LambdaFunction extends pulumi.ComponentResource { }, opts?: | (pulumi.ComponentResourceOptions & { - /** - * Some versions of pulumi and/or aws-sdk are unable to delete log groups D:< - * This provides a way to alias them, so they don't need to be deleted & - * recreated. More info: - * https://www.pulumi.com/docs/intro/concepts/resources/#aliases - */ - logGroupAliases?: pulumi.ComponentResourceOptions['aliases'] - - /** - * Allow an existing aws.iam.Role resource to be migrated into this module, - * without module without being deleted & recreated. More info: - * https://www.pulumi.com/docs/intro/concepts/resources/#aliases - */ - executionRoleAliases?: pulumi.ComponentResourceOptions['aliases'] - - /** - * Allow an existing aws.iam.RolePolicyAttachment resource to be migrated - * into this module without being deleted & recreated. More info: - * https://www.pulumi.com/docs/intro/concepts/resources/#aliases - */ - rolePolicyAttachmentAliases?: pulumi.ComponentResourceOptions['aliases'] - - /** - * Allow an existing aws.lambda.Function resource to be migrated - * into this module without being deleted & recreated. More info: - * https://www.pulumi.com/docs/intro/concepts/resources/#aliases - */ - functionAliases?: pulumi.ComponentResourceOptions['aliases'] - }) + /** + * Some versions of pulumi and/or aws-sdk are unable to delete log groups D:< + * This provides a way to alias them, so they don't need to be deleted & + * recreated. More info: + * https://www.pulumi.com/docs/intro/concepts/resources/#aliases + */ + logGroupAliases?: pulumi.ComponentResourceOptions['aliases'] + + /** + * Allow an existing aws.iam.Role resource to be migrated into this module, + * without module without being deleted & recreated. More info: + * https://www.pulumi.com/docs/intro/concepts/resources/#aliases + */ + executionRoleAliases?: pulumi.ComponentResourceOptions['aliases'] + + /** + * Allow an existing aws.iam.RolePolicyAttachment resource to be migrated + * into this module without being deleted & recreated. More info: + * https://www.pulumi.com/docs/intro/concepts/resources/#aliases + */ + rolePolicyAttachmentAliases?: pulumi.ComponentResourceOptions['aliases'] + + /** + * Allow an existing aws.lambda.Function resource to be migrated + * into this module without being deleted & recreated. More info: + * https://www.pulumi.com/docs/intro/concepts/resources/#aliases + */ + functionAliases?: pulumi.ComponentResourceOptions['aliases'] + }) | undefined, ) { super('wanews:lambda', name, {}, opts) @@ -111,47 +111,47 @@ export class LambdaFunction extends pulumi.ComponentResource { this.executionRole = args.executionRoleName ? pulumi - .output(args.executionRoleName) - .apply((role) => - aws.iam.getRole( - { name: role }, - { - parent: this, - async: true, - }, - ), - ) - .apply((result) => - aws.iam.Role.get(result.name, result.id, undefined, { - parent: this, - }), - ) + .output(args.executionRoleName) + .apply((role) => + aws.iam.getRole( + { name: role }, + { + parent: this, + async: true, + }, + ), + ) + .apply((result) => + aws.iam.Role.get(result.name, result.id, undefined, { + parent: this, + }), + ) : args.executionRole - ? pulumi.output(args.executionRole) - : pulumi.output( - new aws.iam.Role( - roleName, - { - assumeRolePolicy: { - Version: '2012-10-17', - Statement: [ - { - Action: 'sts:AssumeRole', - Principal: { - Service: 'lambda.amazonaws.com', - }, - Effect: 'Allow', - }, - ], - }, - tags: args.getTags(name), - }, - { - parent: this, - aliases: opts?.executionRoleAliases, - }, - ), - ) + ? pulumi.output(args.executionRole) + : pulumi.output( + new aws.iam.Role( + roleName, + { + assumeRolePolicy: { + Version: '2012-10-17', + Statement: [ + { + Action: 'sts:AssumeRole', + Principal: { + Service: 'lambda.amazonaws.com', + }, + Effect: 'Allow', + }, + ], + }, + tags: args.getTags(name), + }, + { + parent: this, + aliases: opts?.executionRoleAliases, + }, + ), + ) new aws.iam.RolePolicyAttachment( `${name}-attach-execution-policy`, @@ -166,7 +166,7 @@ export class LambdaFunction extends pulumi.ComponentResource { name, { name, - runtime: 'nodejs14.x', + runtime: 'nodejs16.x', role: this.executionRole.arn.apply(async (arn) => { if (args.delayLambdaDeployment) { console.log('waiting for IAM changes to propagate') diff --git a/package.json b/package.json index 246d420..891d97a 100644 --- a/package.json +++ b/package.json @@ -41,9 +41,9 @@ "@nrwl/jest": "13.10.2", "@nrwl/linter": "13.10.2", "@nrwl/workspace": "13.10.2", - "@pulumi/aws": "^5.1.3", + "@pulumi/aws": "^5.43.0", "@pulumi/pagerduty": "^3.4.0", - "@pulumi/pulumi": "^3.29.1", + "@pulumi/pulumi": "^3.35.0", "@pulumi/random": "^4.4.2", "@types/debug": "^4.1.7", "@types/jest": "27.4.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3502c8f..2ab58d0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -42,14 +42,14 @@ importers: specifier: 13.10.2 version: 13.10.2(eslint@8.13.0)(prettier@2.6.2)(ts-node@10.7.0)(typescript@4.6.3) '@pulumi/aws': - specifier: ^5.1.3 - version: 5.1.3 + specifier: ^5.43.0 + version: 5.43.0 '@pulumi/pagerduty': specifier: ^3.4.0 version: 3.4.0 '@pulumi/pulumi': - specifier: ^3.29.1 - version: 3.29.1 + specifier: ^3.35.0 + version: 3.35.0 '@pulumi/random': specifier: ^4.4.2 version: 4.4.2 @@ -145,10 +145,10 @@ importers: dependencies: '@pulumi/aws': specifier: ^5.0.0 - version: 5.1.3 + version: 5.43.0 '@pulumi/pulumi': specifier: ^3.0.0 - version: 3.29.1 + version: 3.35.0 '@wanews/pulumi-lambda': specifier: workspace:0.11.1 version: link:../pulumi-lambda @@ -157,22 +157,22 @@ importers: dependencies: '@pulumi/pulumi': specifier: ^3.0.0 - version: 3.29.1 + version: 3.35.0 libs/certificate-validation: dependencies: '@pulumi/aws': specifier: ^5.0.0 - version: 5.1.3 + version: 5.43.0 '@pulumi/pulumi': specifier: ^3.0.0 - version: 3.29.1 + version: 3.35.0 libs/invoke-lamda: dependencies: '@pulumi/pulumi': specifier: ^3.0.0 - version: 3.29.1 + version: 3.35.0 aws-sdk: specifier: ^2.800.0 version: 2.1116.0 @@ -181,7 +181,7 @@ importers: dependencies: '@pulumi/pulumi': specifier: ^3.0.0 - version: 3.29.1 + version: 3.35.0 aws-sdk: specifier: ^2.800.0 version: 2.1116.0 @@ -190,31 +190,31 @@ importers: dependencies: '@pulumi/aws': specifier: ^5.0.0 - version: 5.1.3 + version: 5.43.0 '@pulumi/pulumi': specifier: ^3.0.0 - version: 3.29.1 + version: 3.35.0 libs/pulumi-pagerduty: dependencies: '@pulumi/aws': specifier: ^5.0.0 - version: 5.1.3 + version: 5.43.0 '@pulumi/pagerduty': specifier: ^3.0.0 version: 3.4.0 '@pulumi/pulumi': specifier: ^3.3.0 - version: 3.29.1 + version: 3.35.0 libs/pulumi-static-site: dependencies: '@pulumi/aws': specifier: ^5.0.0 - version: 5.1.3 + version: 5.43.0 '@pulumi/pulumi': specifier: ^3.0.0 - version: 3.29.1 + version: 3.35.0 '@pulumi/random': specifier: ^4.0.0 version: 4.4.2 @@ -226,10 +226,10 @@ importers: dependencies: '@pulumi/aws': specifier: ^5.0.0 - version: 5.1.3 + version: 5.43.0 '@pulumi/pulumi': specifier: ^3.0.0 - version: 3.29.1 + version: 3.35.0 '@pulumi/random': specifier: ^4.0.0 version: 4.4.2 @@ -244,10 +244,10 @@ importers: dependencies: '@pulumi/aws': specifier: ^5.0.0 - version: 5.1.3 + version: 5.43.0 '@pulumi/pulumi': specifier: ^3.0.0 - version: 3.29.1 + version: 3.35.0 aws-sdk: specifier: ^2.800.0 version: 2.1116.0 @@ -2842,58 +2842,25 @@ packages: typescript: 4.6.3 dev: true - /@protobufjs/aspromise@1.1.2: - resolution: {integrity: sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==} - - /@protobufjs/base64@1.1.2: - resolution: {integrity: sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==} - - /@protobufjs/codegen@2.0.4: - resolution: {integrity: sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==} - - /@protobufjs/eventemitter@1.1.0: - resolution: {integrity: sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==} - - /@protobufjs/fetch@1.1.0: - resolution: {integrity: sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==} - dependencies: - '@protobufjs/aspromise': 1.1.2 - '@protobufjs/inquire': 1.1.0 - - /@protobufjs/float@1.0.2: - resolution: {integrity: sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==} - - /@protobufjs/inquire@1.1.0: - resolution: {integrity: sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==} - - /@protobufjs/path@1.1.2: - resolution: {integrity: sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==} - - /@protobufjs/pool@1.1.0: - resolution: {integrity: sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==} - - /@protobufjs/utf8@1.1.0: - resolution: {integrity: sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==} - - /@pulumi/aws@5.1.3: - resolution: {integrity: sha512-robbHH3APrIBCsJ7MK3xbIedZhteNvSr1TBezwrI7qWvMmFy+VDE5uavFr0RgwyLeHKOWD0F5mBlma/1In13jg==} + /@pulumi/aws@5.43.0: + resolution: {integrity: sha512-ZWI+QvEaFy27wUW8j8EVadgvl6u3926AAgpghflSPxF/9mG5XoDy0rqkRZOgO13ZJinC1qkQDzoMz0ACgmwTiw==} requiresBuild: true dependencies: - '@pulumi/pulumi': 3.29.1 + '@pulumi/pulumi': 3.35.0 aws-sdk: 2.1441.0 builtin-modules: 3.0.0 mime: 2.6.0 read-package-tree: 5.3.1 - resolve: 1.22.0 + resolve: 1.22.8 /@pulumi/pagerduty@3.4.0: resolution: {integrity: sha512-ZCVTh2iRQq4a55y3DuN0d5I7C4KuK5AxclHCelEZhRpuoSwDDhx4uvmRyikSaIlpEAu0hGeMznktI/32e61L1Q==} requiresBuild: true dependencies: - '@pulumi/pulumi': 3.29.1 + '@pulumi/pulumi': 3.35.0 - /@pulumi/pulumi@3.29.1: - resolution: {integrity: sha512-30eVU6aPyUr9pTXzkgv+IwZVkaDCGt6JG+H3OFcBVGMd0OXZDjB6A0akR+PwXa3Gl9x7vyp9GCCfZwQHVuvSJg==} + /@pulumi/pulumi@3.35.0: + resolution: {integrity: sha512-PJ8pBumk41Iauyf+n64nEJxECS0chreV21m21yUjAz8hnyFkZ0li606melnNWptozxzvaa/wFz1b8wPSw4NxmQ==} engines: {node: '>=8.13.0 || >=10.10.0'} dependencies: '@grpc/grpc-js': 1.3.8 @@ -2904,7 +2871,6 @@ packages: js-yaml: 3.14.1 minimist: 1.2.6 normalize-package-data: 2.5.0 - protobufjs: 6.11.4 read-package-tree: 5.3.1 require-from-string: 2.0.2 semver: 6.3.1 @@ -2920,7 +2886,7 @@ packages: resolution: {integrity: sha512-piw7awXl9TO2WLLOL5BqOxUDcPOtVnClf6ok9d90bMUjGuXivt9QG+py1Jp7rmwuoEBYZ8lfjIAepOHfoLrBcQ==} requiresBuild: true dependencies: - '@pulumi/pulumi': 3.29.1 + '@pulumi/pulumi': 3.35.0 /@sinonjs/commons@1.8.3: resolution: {integrity: sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ==} @@ -3615,9 +3581,6 @@ packages: resolution: {integrity: sha1-7ihweulOEdK4J7y+UnC86n8+ce4=} dev: true - /@types/long@4.0.1: - resolution: {integrity: sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==} - /@types/mime@2.0.3: resolution: {integrity: sha512-Jus9s4CDbqwocc5pOAnh8ShfrnMcPHuJYzVcSUU7lrh8Ni5HuIqX3oilL86p3dlTrk0LzHRCgA/GQ7uNCw6l2Q==} dev: true @@ -4026,7 +3989,6 @@ packages: dependencies: call-bind: 1.0.2 is-array-buffer: 3.0.2 - dev: true /array-union@2.1.0: resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} @@ -4053,7 +4015,6 @@ packages: get-intrinsic: 1.2.1 is-array-buffer: 3.0.2 is-shared-array-buffer: 1.0.2 - dev: true /arrify@1.0.1: resolution: {integrity: sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==} @@ -4672,6 +4633,7 @@ packages: dependencies: has-property-descriptors: 1.0.0 object-keys: 1.1.1 + dev: true /define-properties@1.2.0: resolution: {integrity: sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==} @@ -4679,7 +4641,6 @@ packages: dependencies: has-property-descriptors: 1.0.0 object-keys: 1.1.1 - dev: true /delayed-stream@1.0.0: resolution: {integrity: sha1-3zrhmayt+31ECqrgsp4icrJOxhk=} @@ -4787,31 +4748,6 @@ packages: is-arrayish: 0.2.1 dev: true - /es-abstract@1.19.5: - resolution: {integrity: sha512-Aa2G2+Rd3b6kxEUKTF4TaW67czBLyAv3z7VOhYRU50YBx+bbsYZ9xQP4lMNazePuFlybXI0V4MruPos7qUo5fA==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.2 - es-to-primitive: 1.2.1 - function-bind: 1.1.1 - get-intrinsic: 1.2.1 - get-symbol-description: 1.0.0 - has: 1.0.3 - has-symbols: 1.0.3 - internal-slot: 1.0.3 - is-callable: 1.2.7 - is-negative-zero: 2.0.2 - is-regex: 1.1.4 - is-shared-array-buffer: 1.0.2 - is-string: 1.0.7 - is-weakref: 1.0.2 - object-inspect: 1.12.0 - object-keys: 1.1.1 - object.assign: 4.1.2 - string.prototype.trimend: 1.0.4 - string.prototype.trimstart: 1.0.4 - unbox-primitive: 1.0.1 - /es-abstract@1.22.1: resolution: {integrity: sha512-ioRRcXMO6OFyRpyzV3kE1IIBd4WG5/kltnzdxSCqoP8CMGs/Li+M1uF5o7lOkZVFjDs+NLesthnF66Pg/0q0Lw==} engines: {node: '>= 0.4'} @@ -4855,7 +4791,6 @@ packages: typed-array-length: 1.0.4 unbox-primitive: 1.0.2 which-typed-array: 1.1.11 - dev: true /es-set-tostringtag@2.0.1: resolution: {integrity: sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==} @@ -4864,7 +4799,6 @@ packages: get-intrinsic: 1.2.1 has: 1.0.3 has-tostringtag: 1.0.0 - dev: true /es-shim-unscopables@1.0.0: resolution: {integrity: sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==} @@ -5480,6 +5414,9 @@ packages: /function-bind@1.1.1: resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==} + /function-bind@1.1.2: + resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} + /function.prototype.name@1.1.5: resolution: {integrity: sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==} engines: {node: '>= 0.4'} @@ -5488,7 +5425,6 @@ packages: define-properties: 1.2.0 es-abstract: 1.22.1 functions-have-names: 1.2.3 - dev: true /functional-red-black-tree@1.0.1: resolution: {integrity: sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g==} @@ -5496,7 +5432,6 @@ packages: /functions-have-names@1.2.3: resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==} - dev: true /gensync@1.0.0-beta.2: resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} @@ -5596,7 +5531,6 @@ packages: engines: {node: '>= 0.4'} dependencies: define-properties: 1.2.0 - dev: true /globby@11.1.0: resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} @@ -5639,7 +5573,6 @@ packages: /has-bigints@1.0.2: resolution: {integrity: sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==} - dev: true /has-flag@3.0.0: resolution: {integrity: sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==} @@ -5676,6 +5609,12 @@ packages: dependencies: function-bind: 1.1.1 + /hasown@2.0.2: + resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} + engines: {node: '>= 0.4'} + dependencies: + function-bind: 1.1.2 + /hosted-git-info@2.8.9: resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} @@ -5785,14 +5724,6 @@ packages: resolution: {integrity: sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==} engines: {node: '>=10'} - /internal-slot@1.0.3: - resolution: {integrity: sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==} - engines: {node: '>= 0.4'} - dependencies: - get-intrinsic: 1.2.1 - has: 1.0.3 - side-channel: 1.0.4 - /internal-slot@1.0.5: resolution: {integrity: sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==} engines: {node: '>= 0.4'} @@ -5800,7 +5731,6 @@ packages: get-intrinsic: 1.2.1 has: 1.0.3 side-channel: 1.0.4 - dev: true /is-arguments@1.1.1: resolution: {integrity: sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==} @@ -5815,7 +5745,6 @@ packages: call-bind: 1.0.2 get-intrinsic: 1.2.1 is-typed-array: 1.1.12 - dev: true /is-arrayish@0.2.1: resolution: {integrity: sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=} @@ -5851,10 +5780,17 @@ packages: ci-info: 3.3.0 dev: true + /is-core-module@2.15.1: + resolution: {integrity: sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==} + engines: {node: '>= 0.4'} + dependencies: + hasown: 2.0.2 + /is-core-module@2.8.1: resolution: {integrity: sha512-SdNCUs284hr40hFTFP6l0IfZ/RSrMXF3qgoRHd3/79unUTvrFO/JoXwkGm+5J/Oe3E/b5GsnG330uUNgRpu1PA==} dependencies: has: 1.0.3 + dev: true /is-date-object@1.0.5: resolution: {integrity: sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==} @@ -5988,7 +5924,6 @@ packages: /isarray@2.0.5: resolution: {integrity: sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==} - dev: true /isexe@2.0.0: resolution: {integrity: sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=} @@ -6828,9 +6763,6 @@ packages: resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} dev: true - /long@4.0.0: - resolution: {integrity: sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==} - /lru-cache@4.1.5: resolution: {integrity: sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==} dependencies: @@ -7028,7 +6960,7 @@ packages: resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} dependencies: hosted-git-info: 2.8.9 - resolve: 1.22.0 + resolve: 1.22.8 semver: 5.7.2 validate-npm-package-license: 3.0.4 @@ -7101,7 +7033,6 @@ packages: /object-inspect@1.12.3: resolution: {integrity: sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==} - dev: true /object-keys@1.1.1: resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==} @@ -7115,6 +7046,7 @@ packages: define-properties: 1.1.4 has-symbols: 1.0.3 object-keys: 1.1.1 + dev: true /object.assign@4.1.4: resolution: {integrity: sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==} @@ -7124,15 +7056,14 @@ packages: define-properties: 1.2.0 has-symbols: 1.0.3 object-keys: 1.1.1 - dev: true /object.getownpropertydescriptors@2.1.3: resolution: {integrity: sha512-VdDoCwvJI4QdC6ndjpqFmoL3/+HxffFBbcJzKi5hwLLqqx3mdbedRpfZDdK0SrOSauj8X4GzBvnDZl4vTN7dOw==} engines: {node: '>= 0.8'} dependencies: call-bind: 1.0.2 - define-properties: 1.1.4 - es-abstract: 1.19.5 + define-properties: 1.2.0 + es-abstract: 1.22.1 /once@1.4.0: resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} @@ -7368,25 +7299,6 @@ packages: sisteransi: 1.0.5 dev: true - /protobufjs@6.11.4: - resolution: {integrity: sha512-5kQWPaJHi1WoCpjTGszzQ32PG2F4+wRY6BmAT4Vfw56Q2FZ4YZzK20xUYQH4YkfehY1e6QSICrJquM6xXZNcrw==} - hasBin: true - requiresBuild: true - dependencies: - '@protobufjs/aspromise': 1.1.2 - '@protobufjs/base64': 1.1.2 - '@protobufjs/codegen': 2.0.4 - '@protobufjs/eventemitter': 1.1.0 - '@protobufjs/fetch': 1.1.0 - '@protobufjs/float': 1.0.2 - '@protobufjs/inquire': 1.1.0 - '@protobufjs/path': 1.1.2 - '@protobufjs/pool': 1.1.0 - '@protobufjs/utf8': 1.1.0 - '@types/long': 4.0.1 - '@types/node': 17.0.24 - long: 4.0.0 - /pseudomap@1.0.2: resolution: {integrity: sha1-8FKijacOYYkX7wqKw0wa5aaChrM=} dev: true @@ -7427,6 +7339,7 @@ packages: /read-package-json@2.1.2: resolution: {integrity: sha512-D1KmuLQr6ZSJS0tW8hf3WGpRlwszJOXZ3E8Yd/DNRaM5d+1wVRZdHlpGBLAuovjr28LbWvjpWkBHMxpRGGjzNA==} + deprecated: This package is no longer supported. Please use @npmcli/package-json instead. dependencies: glob: 7.2.0 json-parse-even-better-errors: 2.3.1 @@ -7535,7 +7448,6 @@ packages: call-bind: 1.0.2 define-properties: 1.2.0 functions-have-names: 1.2.3 - dev: true /regexpp@3.2.0: resolution: {integrity: sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==} @@ -7611,6 +7523,15 @@ packages: is-core-module: 2.8.1 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 + dev: true + + /resolve@1.22.8: + resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==} + hasBin: true + dependencies: + is-core-module: 2.15.1 + path-parse: 1.0.7 + supports-preserve-symlinks-flag: 1.0.0 /restore-cursor@3.1.0: resolution: {integrity: sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==} @@ -7677,7 +7598,6 @@ packages: get-intrinsic: 1.2.1 has-symbols: 1.0.3 isarray: 2.0.5 - dev: true /safe-buffer@5.1.2: resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==} @@ -7693,7 +7613,6 @@ packages: call-bind: 1.0.2 get-intrinsic: 1.2.1 is-regex: 1.1.4 - dev: true /safer-buffer@2.1.2: resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} @@ -7895,13 +7814,6 @@ packages: call-bind: 1.0.2 define-properties: 1.2.0 es-abstract: 1.22.1 - dev: true - - /string.prototype.trimend@1.0.4: - resolution: {integrity: sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==} - dependencies: - call-bind: 1.0.2 - define-properties: 1.1.4 /string.prototype.trimend@1.0.6: resolution: {integrity: sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==} @@ -7909,13 +7821,6 @@ packages: call-bind: 1.0.2 define-properties: 1.2.0 es-abstract: 1.22.1 - dev: true - - /string.prototype.trimstart@1.0.4: - resolution: {integrity: sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==} - dependencies: - call-bind: 1.0.2 - define-properties: 1.1.4 /string.prototype.trimstart@1.0.6: resolution: {integrity: sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA==} @@ -7923,7 +7828,6 @@ packages: call-bind: 1.0.2 define-properties: 1.2.0 es-abstract: 1.22.1 - dev: true /string_decoder@1.3.0: resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} @@ -8392,7 +8296,6 @@ packages: call-bind: 1.0.2 get-intrinsic: 1.2.1 is-typed-array: 1.1.12 - dev: true /typed-array-byte-length@1.0.0: resolution: {integrity: sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA==} @@ -8402,7 +8305,6 @@ packages: for-each: 0.3.3 has-proto: 1.0.1 is-typed-array: 1.1.12 - dev: true /typed-array-byte-offset@1.0.0: resolution: {integrity: sha512-RD97prjEt9EL8YgAgpOkf3O4IF9lhJFr9g0htQkm0rchFp/Vx7LW5Q8fSXXub7BXAODyUQohRMyOc3faCPd0hg==} @@ -8413,7 +8315,6 @@ packages: for-each: 0.3.3 has-proto: 1.0.1 is-typed-array: 1.1.12 - dev: true /typed-array-length@1.0.4: resolution: {integrity: sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==} @@ -8421,7 +8322,6 @@ packages: call-bind: 1.0.2 for-each: 0.3.3 is-typed-array: 1.1.12 - dev: true /typedarray-to-buffer@3.1.5: resolution: {integrity: sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==} @@ -8440,14 +8340,6 @@ packages: hasBin: true dev: true - /unbox-primitive@1.0.1: - resolution: {integrity: sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==} - dependencies: - function-bind: 1.1.1 - has-bigints: 1.0.1 - has-symbols: 1.0.3 - which-boxed-primitive: 1.0.2 - /unbox-primitive@1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} dependencies: @@ -8455,7 +8347,6 @@ packages: has-bigints: 1.0.2 has-symbols: 1.0.3 which-boxed-primitive: 1.0.2 - dev: true /unicode-canonical-property-names-ecmascript@2.0.0: resolution: {integrity: sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==}