Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency esbuild to v0.20.0 #233

Merged
merged 1 commit into from
Feb 4, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 3, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
esbuild 0.19.12 -> 0.20.0 age adoption passing confidence

Release Notes

evanw/esbuild (esbuild)

v0.20.0

Compare Source

This release deliberately contains backwards-incompatible changes. To avoid automatically picking up releases like this, you should either be pinning the exact version of esbuild in your package.json file (recommended) or be using a version range syntax that only accepts patch upgrades such as ^0.19.0 or ~0.19.0. See npm's documentation about semver for more information.

This time there is only one breaking change, and it only matters for people using Deno. Deno tests that use esbuild will now fail unless you make the change described below.

  • Work around API deprecations in Deno 1.40.x (#​3609, #​3611)

    Deno 1.40.0 was just released and introduced run-time warnings about certain APIs that esbuild uses. With this release, esbuild will work around these run-time warnings by using newer APIs if they are present and falling back to the original APIs otherwise. This should avoid the warnings without breaking compatibility with older versions of Deno.

    Unfortunately, doing this introduces a breaking change. The newer child process APIs lack a way to synchronously terminate esbuild's child process, so calling esbuild.stop() from within a Deno test is no longer sufficient to prevent Deno from failing a test that uses esbuild's API (Deno fails tests that create a child process without killing it before the test ends). To work around this, esbuild's stop() function has been changed to return a promise, and you now have to change esbuild.stop() to await esbuild.stop() in all of your Deno tests.

  • Reorder implicit file extensions within node_modules (#​3341, #​3608)

    In version 0.18.0, esbuild changed the behavior of implicit file extensions within node_modules directories (i.e. in published packages) to prefer .js over .ts even when the --resolve-extensions= order prefers .ts over .js (which it does by default). However, doing that also accidentally made esbuild prefer .css over .ts, which caused problems for people that published packages containing both TypeScript and CSS in files with the same name.

    With this release, esbuild will reorder TypeScript file extensions immediately after the last JavaScript file extensions in the implicit file extension order instead of putting them at the end of the order. Specifically the default implicit file extension order is .tsx,.ts,.jsx,.js,.css,.json which used to become .jsx,.js,.css,.json,.tsx,.ts in node_modules directories. With this release it will now become .jsx,.js,.tsx,.ts,.css,.json instead.

    Why even rewrite the implicit file extension order at all? One reason is because the .js file is more likely to behave correctly than the .ts file. The behavior of the .ts file may depend on tsconfig.json and the tsconfig.json file may not even be published, or may use extends to refer to a base tsconfig.json file that wasn't published. People can get into this situation when they forget to add all .ts files to their .npmignore file before publishing to npm. Picking .js over .ts helps make it more likely that resulting bundle will behave correctly.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Copy link

vercel bot commented Feb 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
sinister-incorporated ⬜️ Ignored (Inspect) Feb 3, 2024 9:59pm

Copy link

sonarcloud bot commented Feb 3, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

github-actions bot commented Feb 3, 2024

Terraform Plan 📖 success

Show Plan

module.email_function.data.external.main: Reading...
module.email_function.data.archive_file.main: Reading...
module.email_function.data.external.main: Read complete after 0s [id=-]
module.email_function.data.archive_file.main: Read complete after 0s [id=52ef41af56c2198af0e8e0bdc9e212927a01ed97]
module.email_function.terraform_data.commit_sha: Refreshing state... [id=55b14766-c338-9dbe-f41f-ff46e2dfefcf]
data.aws_cloudfront_origin_request_policy.managed_cors_s3_origin: Reading...
data.aws_iam_openid_connect_provider.github: Reading...
data.aws_caller_identity.current: Reading...
module.email_function.data.aws_kms_alias.ssm: Reading...
module.email_function.data.aws_ssm_parameter.custom[0]: Reading...
data.aws_cloudfront_cache_policy.managed_caching_optimized: Reading...
aws_s3_account_public_access_block.main: Refreshing state... [id=220746603587]
aws_cloudfront_origin_access_control.care_bear_shooter_build_bucket: Refreshing state... [id=E9UD6HRKKYL4H]
aws_cloudwatch_metric_alarm.lambda_throttles: Refreshing state... [id=lambda-throttles]
aws_api_gateway_rest_api.main: Refreshing state... [id=xguhlotnsl]
data.aws_caller_identity.current: Read complete after 0s [id=220746603587]
aws_s3_bucket.aws_config: Refreshing state... [id=config-bucket-220746603587]
aws_iam_role.api_gateway_cloudwatch: Refreshing state... [id=api-gateway]
data.aws_iam_openid_connect_provider.github: Read complete after 0s [id=arn:aws:iam::220746603587:oidc-provider/token.actions.githubusercontent.com]
data.aws_cloudfront_origin_request_policy.managed_cors_s3_origin: Read complete after 0s [id=88a5eaf4-2fd4-4709-b370-b4c650ea3fcf]
aws_s3_bucket.care_bear_shooter_build: Refreshing state... [id=care-bear-shooter-build-220746603587]
data.aws_cloudfront_cache_policy.managed_caching_optimized: Read complete after 0s [id=b2884449-e4de-46a7-ac36-70bc7f1ddd6d]
aws_api_gateway_account.main: Refreshing state... [id=api-gateway-account]
module.email_function.data.aws_ssm_parameter.custom[0]: Read complete after 1s [id=/email-function/mailgun-api-key]
module.email_function.data.aws_kms_alias.ssm: Read complete after 1s [id=arn:aws:kms:eu-central-1:220746603587:alias/aws/ssm]
module.email_function.aws_iam_role.main: Refreshing state... [id=email-function]
aws_api_gateway_request_validator.validate_request_body: Refreshing state... [id=aijdpj]
aws_api_gateway_resource.email_function: Refreshing state... [id=7af8s0]
module.email_function.aws_api_gateway_model.request_body: Refreshing state... [id=q0wrck]
aws_cloudwatch_log_group.api_gateway_stage_default: Refreshing state... [id=API-Gateway-Execution-Logs_xguhlotnsl/default]
aws_cloudwatch_metric_alarm.api_gateway_5xx_error: Refreshing state... [id=api-gateway-5xx-error]
module.email_function.aws_api_gateway_method.main: Refreshing state... [id=agm-xguhlotnsl-7af8s0-POST]
module.email_function.aws_lambda_function.main: Refreshing state... [id=email-function]
module.email_function.aws_lambda_permission.api_gateway: Refreshing state... [id=terraform-20231211130114409100000001]
module.email_function.aws_api_gateway_integration.main: Refreshing state... [id=agi-xguhlotnsl-7af8s0-POST]
aws_api_gateway_deployment.main: Refreshing state... [id=j28544]
aws_api_gateway_stage.default: Refreshing state... [id=ags-xguhlotnsl-default]
aws_api_gateway_method_settings.all: Refreshing state... [id=xguhlotnsl-default-*/*]
aws_iam_role.aws_config: Refreshing state... [id=aws-config]
aws_s3_bucket_lifecycle_configuration.aws_config: Refreshing state... [id=config-bucket-220746603587]
aws_s3_bucket_cors_configuration.care_bear_shooter_build: Refreshing state... [id=care-bear-shooter-build-220746603587]
aws_iam_role.care_bear_shooter_build_uploader: Refreshing state... [id=care-bear-shooter-build-uploader]
aws_cloudfront_distribution.care_bear_shooter_build: Refreshing state... [id=E3GY8A42OQ8RFW]
aws_config_configuration_recorder.default: Refreshing state... [id=default]
aws_s3_bucket_policy.care_bear_shooter_build_cloudfront: Refreshing state... [id=care-bear-shooter-build-220746603587]
aws_config_delivery_channel.default: Refreshing state... [id=default]
aws_config_configuration_recorder_status.default: Refreshing state... [id=default]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place
+/- create replacement and then destroy

Terraform will perform the following actions:

  # module.email_function.aws_lambda_function.main will be updated in-place
  ~ resource "aws_lambda_function" "main" {
        id                             = "email-function"
      ~ last_modified                  = "2024-01-14T09:53:51.000+0000" -> (known after apply)
      ~ source_code_hash               = "VPYjvQ9hI+d7Qdl7fTs7Wf6elAhZEGR9dUU4i+PODtg=" -> "+8jgLTTqkXN2XeYq7wmfzDUDLFWbrdNv+OiXUzn62wc="
        tags                           = {}
        # (20 unchanged attributes hidden)

      ~ environment {
          ~ variables = {
              - "COMMIT_SHA" = "60319815536282c683b2a6dddd580a3acbb553fc"
            } -> (known after apply)
        }

        # (3 unchanged blocks hidden)
    }

  # module.email_function.terraform_data.commit_sha must be replaced
+/- resource "terraform_data" "commit_sha" {
      ~ id               = "55b14766-c338-9dbe-f41f-ff46e2dfefcf" -> (known after apply)
      ~ input            = "60319815536282c683b2a6dddd580a3acbb553fc" -> "91b0e22721f3a957184418c7e483124747a47243"
      ~ output           = "60319815536282c683b2a6dddd580a3acbb553fc" -> (known after apply)
      ~ triggers_replace = "VPYjvQ9hI+d7Qdl7fTs7Wf6elAhZEGR9dUU4i+PODtg=" -> "+8jgLTTqkXN2XeYq7wmfzDUDLFWbrdNv+OiXUzn62wc="
    }

Plan: 1 to add, 1 to change, 1 to destroy.

─────────────────────────────────────────────────────────────────────────────

Note: You didn't use the -out option to save this plan, so Terraform can't
guarantee to take exactly these actions if you run "terraform apply" now.

@renovate renovate bot merged commit 1cd5c58 into develop Feb 4, 2024
7 checks passed
@renovate renovate bot deleted the renovate/esbuild-0.x branch February 4, 2024 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants