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

Update all dependencies #172

Merged
merged 1 commit into from
Jan 17, 2023
Merged

Update all dependencies #172

merged 1 commit into from
Jan 17, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 16, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sentry/browser (source) 7.30.0 -> 7.31.0 age adoption passing confidence
@sentry/tracing (source) 7.30.0 -> 7.31.0 age adoption passing confidence
@typescript-eslint/eslint-plugin 5.48.1 -> 5.48.2 age adoption passing confidence
@typescript-eslint/parser 5.48.1 -> 5.48.2 age adoption passing confidence
esbuild 0.17.0 -> 0.17.1 age adoption passing confidence

Release Notes

getsentry/sentry-javascript

v7.31.0

Compare Source

The Next.js SDK now supports error and performance monitoring for Next.js middleware and Edge API routes.
To set it up, add a sentry.edge.config.js or sentry.edge.config.ts file to the root of your project and initialize the SDK:

// sentry.edge.config.js or sentry.edge.config.ts

import * as Sentry from "@​sentry/nextjs";

const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN;

Sentry.init({
  dsn: SENTRY_DSN || "YOUR DSN HERE",
  tracesSampleRate: 1.0,
});

The Next.js will automatically instrument Edge API routes and middleware.
If you want to opt out of automatic instrumentation of middleware can use the autoInstrumentMiddleware option in the sentry object of your Next.js configuration:

const moduleExports = {
  sentry: {
    autoInstrumentMiddleware: false,
  },
};

Middleware can be manually instrumented by using the wrapMiddlewareWithSentry function.

  • feat(nextjs): Add Edge Runtime SDK (#​6752)
  • feat(nextjs): Add optional options argument to withSentryConfig as an alternative to the sentry property (#​6721)
  • feat(nextjs): Add edge route and middleware wrappers (#​6771)
  • feat(nextjs): Auto-wrap edge-routes and middleware (#​6746)
  • feat(replay): Update rrweb & rrweb-snapshot (#​6749)
  • feat(replay): Stop recording when retry fails (#​6765)
  • feat(replay): Stop without retry when receiving bad API response (#​6773)
  • feat(types): Add Trace Context type (#​6714)
  • fix(nextjs): Export isomorphic data fetching wrappers from client SDK (#​6790)
  • fix(nextjs): Make Next.js types isomorphic (#​6707)
  • fix(node): Handle node build without inspector in LocalVariables integration (#​6780)
  • fix(otel): Set trace context via Otel Span instead of Sentry span (#​6724)
  • fix(otel): Prevent baggage from being overwritten (#​6709)
  • fix(otel): Make sure we handle when sentry-trace is an empty array (#​6781)
  • fix(remix): Make remix SDK type exports isomorphic (#​6715)
  • fix(replay): Fix checkoutEveryNms (#​6722)
  • fix(replay): Fix incorrect uncompressed recording size due to encoding (#​6740)
  • fix(tracing): Attach request instrumentation span to active span instead of current transaction (#​6778)
  • ref(nextjs): Deprecate isBuild() and IS_BUILD (#​6727)
typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin)

v5.48.2

Compare Source

Note: Version bump only for package @​typescript-eslint/eslint-plugin

typescript-eslint/typescript-eslint (@​typescript-eslint/parser)

v5.48.2

Compare Source

Note: Version bump only for package @​typescript-eslint/parser

evanw/esbuild

v0.17.1

Compare Source

  • Make it possible to cancel a build (#​2725)

    The context object introduced in version 0.17.0 has a new cancel() method. You can use it to cancel a long-running build so that you can start a new one without needing to wait for the previous one to finish. When this happens, the previous build should always have at least one error and have no output files (i.e. it will be a failed build).

    Using it might look something like this:

    • JS:

      let ctx = await esbuild.context({
        // ...
      })
      
      let rebuildWithTimeLimit = timeLimit => {
        let timeout = setTimeout(() => ctx.cancel(), timeLimit)
        return ctx.rebuild().finally(() => clearTimeout(timeout))
      }
      
      let build = await rebuildWithTimeLimit(500)
    • Go:

      ctx, err := api.Context(api.BuildOptions{
        // ...
      })
      if err != nil {
        return
      }
      
      rebuildWithTimeLimit := func(timeLimit time.Duration) api.BuildResult {
        t := time.NewTimer(timeLimit)
        go func() {
          <-t.C
          ctx.Cancel()
        }()
        result := ctx.Rebuild()
        t.Stop()
        return result
      }
      
      build := rebuildWithTimeLimit(500 * time.Millisecond)

    This API is a quick implementation and isn't maximally efficient, so the build may continue to do some work for a little bit before stopping. For example, I have added stop points between each top-level phase of the bundler and in the main module graph traversal loop, but I haven't added fine-grained stop points within the internals of the linker. How quickly esbuild stops can be improved in future releases. This means you'll want to wait for cancel() and/or the previous rebuild() to finish (i.e. await the returned promise in JavaScript) before starting a new build, otherwise rebuild() will give you the just-canceled build that still hasn't ended yet. Note that onEnd callbacks will still be run regardless of whether or not the build was canceled.

  • Fix server-sent events without servedir (#​2827)

    The server-sent events for live reload were incorrectly using servedir to calculate the path to modified output files. This means events couldn't be sent when servedir wasn't specified. This release uses the internal output directory (which is always present) instead of servedir (which might be omitted), so live reload should now work when servedir is not specified.

  • Custom entry point output paths now work with the copy loader (#​2828)

    Entry points can optionally provide custom output paths to change the path of the generated output file. For example, esbuild foo=abc.js bar=xyz.js --outdir=out generates the files out/foo.js and out/bar.js. However, this previously didn't work when using the copy loader due to an oversight. This bug has been fixed. For example, you can now do esbuild foo=abc.html bar=xyz.html --outdir=out --loader:.html=copy to generate the files out/foo.html and out/bar.html.

  • The JS API can now take an array of objects (#​2828)

    Previously it was not possible to specify two entry points with the same custom output path using the JS API, although it was possible to do this with the Go API and the CLI. This will not cause a collision if both entry points use different extensions (e.g. if one uses .js and the other uses .css). You can now pass the JS API an array of objects to work around this API limitation:

    // The previous API didn't let you specify duplicate output paths
    let result = await esbuild.build({
      entryPoints: {
        // This object literal contains a duplicate key, so one is ignored
        'dist': 'foo.js',
        'dist': 'bar.css',
      },
    })
    
    // You can now specify duplicate output paths as an array of objects
    let result = await esbuild.build({
      entryPoints: [
        { in: 'foo.js', out: 'dist' },
        { in: 'bar.css', out: 'dist' },
      ],
    })

Configuration

📅 Schedule: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

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

@renovate renovate bot merged commit c536a55 into main Jan 17, 2023
@renovate renovate bot deleted the renovate/all branch January 17, 2023 02:31
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.

None yet

0 participants