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 non major NPM dependencies #602

Merged
merged 2 commits into from
Sep 19, 2023
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 11, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@aws-sdk/client-s3 (source) ^3.408.0 -> ^3.414.0 age adoption passing confidence
@sentry/node (source) ^7.68.0 -> ^7.69.0 age adoption passing confidence
@tsconfig/node18 ^18.2.1 -> ^18.2.2 age adoption passing confidence
@types/bunyan (source) ^1.8.8 -> ^1.8.9 age adoption passing confidence
@types/bunyan-format (source) ^0.2.5 -> ^0.2.6 age adoption passing confidence
@types/jest (source) ^29.5.4 -> ^29.5.5 age adoption passing confidence
@types/jquery (source) ^3.5.18 -> ^3.5.19 age adoption passing confidence
@types/jsdom (source) ^21.1.2 -> ^21.1.3 age adoption passing confidence
@types/jsonwebtoken (source) ^9.0.2 -> ^9.0.3 age adoption passing confidence
@types/node (source) ^18.17.14 -> ^18.17.16 age adoption passing confidence
@types/uuid (source) ^9.0.3 -> ^9.0.4 age adoption passing confidence
@typescript-eslint/eslint-plugin ^6.6.0 -> ^6.7.0 age adoption passing confidence
@typescript-eslint/parser ^6.6.0 -> ^6.7.0 age adoption passing confidence
cypress ^13.1.0 -> ^13.2.0 age adoption passing confidence
eslint (source) ^8.48.0 -> ^8.49.0 age adoption passing confidence
jest (source) ^29.6.4 -> ^29.7.0 age adoption passing confidence
sass ^1.66.1 -> ^1.67.0 age adoption passing confidence
typescript (source) ~5.1.6 -> ~5.2.2 age adoption passing confidence
uuid ^9.0.0 -> ^9.0.1 age adoption passing confidence

Release Notes

aws/aws-sdk-js-v3 (@​aws-sdk/client-s3)

v3.414.0

Compare Source

Features
  • region-config: add aws region runtime extension codegen (#​5157) (b9d59e8)

v3.413.0

Note: Version bump only for package @​aws-sdk/client-s3

v3.412.0

Compare Source

Note: Version bump only for package @​aws-sdk/client-s3

v3.410.0

Compare Source

Note: Version bump only for package @​aws-sdk/client-s3

getsentry/sentry-javascript (@​sentry/node)

v7.69.0

Compare Source

Important Changes
  • New Performance APIs
    • feat: Update span performance API names (#​8971)
    • feat(core): Introduce startSpanManual (#​8913)

This release introduces a new set of top level APIs for the Performance Monitoring SDKs. These aim to simplify creating spans and reduce the boilerplate needed for performance instrumentation. The three new methods introduced are Sentry.startSpan, Sentry.startInactiveSpan, and Sentry.startSpanManual. These methods are available in the browser and node SDKs.

Sentry.startSpan wraps a callback in a span. The span is automatically finished when the callback returns. This is the recommended way to create spans.

// Start a span that tracks the duration of expensiveFunction
const result = Sentry.startSpan({ name: 'important function' }, () => {
  return expensiveFunction();
});

// You can also mutate the span wrapping the callback to set data or status
Sentry.startSpan({ name: 'important function' }, (span) => {
  // span is undefined if performance monitoring is turned off or if
  // the span was not sampled. This is done to reduce overhead.
  span?.setData('version', '1.0.0');
  return expensiveFunction();
});

If you don't want the span to finish when the callback returns, use Sentry.startSpanManual to control when the span is finished. This is useful for event emitters or similar.

// Start a span that tracks the duration of middleware
function middleware(_req, res, next) {
  return Sentry.startSpanManual({ name: 'middleware' }, (span, finish) => {
    res.once('finish', () => {
      span?.setHttpStatus(res.status);
      finish();
    });
    return next();
  });
}

Sentry.startSpan and Sentry.startSpanManual create a span and make it active for the duration of the callback. Any spans created while this active span is running will be added as a child span to it. If you want to create a span without making it active, use Sentry.startInactiveSpan. This is useful for creating parallel spans that are not related to each other.

const span1 = Sentry.startInactiveSpan({ name: 'span1' });

someWork();

const span2 = Sentry.startInactiveSpan({ name: 'span2' });

moreWork();

const span3 = Sentry.startInactiveSpan({ name: 'span3' });

evenMoreWork();

span1?.finish();
span2?.finish();
span3?.finish();
Other Changes
  • feat(core): Export BeforeFinishCallback type (#​8999)
  • build(eslint): Enforce that ts-expect-error is used (#​8987)
  • feat(integration): Ensure LinkedErrors integration runs before all event processors (#​8956)
  • feat(node-experimental): Keep breadcrumbs on transaction (#​8967)
  • feat(redux): Add 'attachReduxState' option (#​8953)
  • feat(remix): Accept org, project and url as args to upload script (#​8985)
  • fix(utils): Prevent iterating over VueViewModel (#​8981)
  • fix(utils): uuidv4 fix for cloudflare (#​8968)
  • fix(core): Always use event message and exception values for ignoreErrors (#​8986)
  • fix(nextjs): Add new potential location for Next.js request AsyncLocalStorage (#​9006)
  • fix(node-experimental): Ensure we only create HTTP spans when outgoing (#​8966)
  • fix(node-experimental): Ignore OPTIONS & HEAD requests (#​9001)
  • fix(node-experimental): Ignore outgoing Sentry requests (#​8994)
  • fix(node-experimental): Require parent span for pg spans (#​8993)
  • fix(node-experimental): Use Sentry logger as Otel logger (#​8960)
  • fix(node-otel): Refactor OTEL span reference cleanup (#​9000)
  • fix(react): Switch to props in useRoutes (#​8998)
  • fix(remix): Add glob to Remix SDK dependencies. (#​8963)
  • fix(replay): Ensure handleRecordingEmit aborts when event is not added (#​8938)
  • fix(replay): Fully stop & restart session when it expires (#​8834)

Work in this release contributed by @​Duncanxyz and @​malay44. Thank you for your contributions!

tsconfig/bases (@​tsconfig/node18)

v18.2.2

Compare Source

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

v6.7.0

Compare Source

Bug Fixes
  • eslint-plugin: [no-restricted-imports] disallow side effect imports when allowTypeImports is enabled (#​7560) (4908905)
Features
  • eslint-plugin: [await-thenable] added suggestion fixer (#​7437) (b284370)

You can read about our versioning strategy and releases on our website.

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

v6.7.0

Compare Source

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

You can read about our versioning strategy and releases on our website.

cypress-io/cypress (cypress)

v13.2.0

Changelog: https://docs.cypress.io/guides/references/changelog#13-2-0

eslint/eslint (eslint)

v8.49.0

Compare Source

Features

  • da09f4e feat: Implement onUnreachableCodePathStart/End (#​17511) (Nicholas C. Zakas)
  • 32b2327 feat: Emit deprecation warnings in RuleTester (#​17527) (Nicholas C. Zakas)
  • acb7df3 feat: add new enforce option to lines-between-class-members (#​17462) (Nitin Kumar)

Documentation

  • ecfb54f docs: Update README (GitHub Actions Bot)
  • de86b3b docs: update no-promise-executor-return examples (#​17529) (Nitin Kumar)
  • 032c4b1 docs: add typescript template (#​17500) (James)
  • cd7da5c docs: Update README (GitHub Actions Bot)

Chores

jestjs/jest (jest)

v29.7.0

Compare Source

Features
  • [create-jest] Add npm init / yarn create initialiser for Jest projects (#​14465)
  • [jest-validate] Allow deprecation warnings for unknown options (#​14499)
Fixes
  • [jest-resolver] Replace unmatched capture groups in moduleNameMapper with empty string instead of undefined (#​14507)
  • [jest-snapshot] Allow for strings as well as template literals in inline snapshots (#​14465)
  • [@jest/test-sequencer] Calculate test runtime if perStats.duration is missing (#​14473)
Performance
  • [@jest/create-cache-key-function] Cache access of NODE_ENV and BABEL_ENV (#​14455)
Chore & Maintenance
  • [jest-cli] Move internal config initialisation logic to the create-jest package (#​14465)
sass/dart-sass (sass)

v1.67.0

Compare Source

  • All functions defined in CSS Values and Units 4 are now once again parsed as
    calculation objects: round(), mod(), rem(), sin(), cos(), tan(),
    asin(), acos(), atan(), atan2(), pow(), sqrt(), hypot(),
    log(), exp(), abs(), and sign().

    Unlike in 1.65.0, function calls are not locked into being parsed as
    calculations or plain Sass functions at parse-time. This means that
    user-defined functions will take precedence over CSS calculations of the same
    name. Although the function names calc() and clamp() are still forbidden,
    users may continue to freely define functions whose names overlap with other
    CSS calculations (including abs(), min(), max(), and round() whose
    names overlap with global Sass functions).

  • Breaking change: As a consequence of the change in calculation parsing
    described above, calculation functions containing interpolation are now parsed
    more strictly than before. However, almost all interpolations that would
    have produced valid CSS will continue to work. The only exception is
    #{$variable}% which is not valid in Sass and is no longer valid in
    calculations. Instead of this, either use $variable directly and ensure it
    already has the % unit, or write ($variable * 1%).

  • Potentially breaking bug fix: The importer used to load a given file is no
    longer used to load absolute URLs that appear in that file. This was
    unintented behavior that contradicted the Sass specification. Absolute URLs
    will now correctly be loaded only from the global importer list. This applies
    to the modern JS API, the Dart API, and the embedded protocol.

Embedded Sass
  • Substantially improve the embedded compiler's performance when compiling many
    files or files that require many importer or function call round-trips with
    the embedded host.
Microsoft/TypeScript (typescript)

v5.2.2: TypeScript 5.2

Compare Source

For release notes, check out the release announcement.

For the complete list of fixed issues, check out the

Downloads are available on:

uuidjs/uuid (uuid)

v9.0.1

Compare Source

build
  • Fix CI to work with Node.js 20.x

Configuration

📅 Schedule: Branch creation - "after 9am every weekday,before 5pm every weekday" in timezone Europe/London, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, 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 requested a review from a team as a code owner September 11, 2023 14:47
@renovate renovate bot force-pushed the renovate-all-npm-minor-patch branch from 5e7c238 to b2ddd4b Compare September 11, 2023 22:07
@renovate renovate bot changed the title Update dependency typescript to ~5.2.2 Update all non major NPM dependencies Sep 11, 2023
@renovate renovate bot force-pushed the renovate-all-npm-minor-patch branch 9 times, most recently from 571c179 to a3e8360 Compare September 17, 2023 22:39
@xoen
Copy link
Contributor

xoen commented Sep 18, 2023

Looks like tests fail with a bunch of the following error:

error TS5110: Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.

May be something wrong with Jest or to do with the new version of TS.

I played with this locally and it looks explicitly set module/moduleResolution as follow in the tsconfig.json solves the issue:

    "module": "CommonJS",
    "moduleResolution": "Node",

I don't think this changes anything in practice as at the moment it's a node app using CommonJS modules but do we think there is any drawback of adding these to the tsconfig.json?

@renovate renovate bot force-pushed the renovate-all-npm-minor-patch branch 2 times, most recently from 8052423 to 976e8c5 Compare September 18, 2023 20:50
@renovate renovate bot force-pushed the renovate-all-npm-minor-patch branch from 976e8c5 to 1e45211 Compare September 18, 2023 21:16
Setting these explicitly avoids these errors:

```
Option 'module' must be set to 'Node16' when option 'moduleResolution' is set to 'Node16'.
```
@xoen xoen merged commit c4bb978 into main Sep 19, 2023
2 checks passed
@xoen xoen deleted the renovate-all-npm-minor-patch branch September 19, 2023 11: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.

1 participant