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 non-major #169

Merged
merged 1 commit into from
May 28, 2024
Merged

chore(deps): update non-major #169

merged 1 commit into from
May 28, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 28, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
@commitlint/cli (source) ^19.2.1 -> ^19.3.0 age adoption passing confidence devDependencies minor
@commitlint/config-conventional (source) ^19.1.0 -> ^19.2.2 age adoption passing confidence devDependencies minor
@sanity/pkg-utils ^6.4.1 -> ^6.8.18 age adoption passing confidence devDependencies minor
@sanity/ui (source) ^2.1.2 -> ^2.1.13 age adoption passing confidence devDependencies patch
@types/leaflet (source) ^1.9.9 -> ^1.9.12 age adoption passing confidence devDependencies patch
@types/react (source) ^18.2.75 -> ^18.3.3 age adoption passing confidence devDependencies minor
@types/react-dom (source) ^18.2.24 -> ^18.3.0 age adoption passing confidence devDependencies minor
@typescript-eslint/eslint-plugin (source) ^7.6.0 -> ^7.11.0 age adoption passing confidence devDependencies minor
@typescript-eslint/parser (source) ^7.6.0 -> ^7.11.0 age adoption passing confidence devDependencies minor
@vitejs/plugin-react (source) ^4.2.1 -> ^4.3.0 age adoption passing confidence devDependencies minor
esbuild ^0.20.2 -> ^0.21.4 age adoption passing confidence devDependencies minor
eslint-plugin-react ^7.34.1 -> ^7.34.2 age adoption passing confidence devDependencies patch
eslint-plugin-react-hooks (source) ^4.6.0 -> ^4.6.2 age adoption passing confidence devDependencies patch
peter-evans/create-pull-request 70a41ab -> 6d6857d action digest
prettier-plugin-packagejson ^2.4.14 -> ^2.5.0 age adoption passing confidence devDependencies minor
react (source) ^18.2.0 -> ^18.3.1 age adoption passing confidence devDependencies minor
react-dom (source) ^18.2.0 -> ^18.3.1 age adoption passing confidence devDependencies minor
react-is (source) ^18.2.0 -> ^18.3.1 age adoption passing confidence devDependencies minor
react-refractor ^2.1.7 -> ^2.2.0 age adoption passing confidence devDependencies minor
styled-components (source) ^6.1.8 -> ^6.1.11 age adoption passing confidence devDependencies patch
vite (source) ^5.2.8 -> ^5.2.11 age adoption passing confidence devDependencies patch
vitest (source) ^1.4.0 -> ^1.6.0 age adoption passing confidence devDependencies minor

Release Notes

conventional-changelog/commitlint (@​commitlint/cli)

v19.3.0

Compare Source

Note: Version bump only for package @​commitlint/cli

19.2.2 (2024-04-14)

Note: Version bump only for package @​commitlint/cli

19.2.1 (2024-03-19)

Note: Version bump only for package @​commitlint/cli

v19.2.2

Compare Source

Note: Version bump only for package @​commitlint/cli

conventional-changelog/commitlint (@​commitlint/config-conventional)

v19.2.2

Compare Source

Note: Version bump only for package @​commitlint/config-conventional

sanity-io/pkg-utils (@​sanity/pkg-utils)

v6.8.18

Compare Source

Bug Fixes

v6.8.17

Compare Source

Bug Fixes

v6.8.16

Compare Source

Bug Fixes

v6.8.15

Compare Source

Bug Fixes
  • only enable minifyInternalExports by default when minify: true (#​878) (ee50f48)

v6.8.14

Compare Source

Bug Fixes

v6.8.13

Compare Source

Bug Fixes

v6.8.12

Compare Source

Bug Fixes

v6.8.11

Compare Source

Bug Fixes

v6.8.10

Compare Source

Bug Fixes
  • @sanity/prettier-config is used in the init command (#​834) (7903bf3)
  • update init template to current best practices (#​835) (9acc566)

v6.8.9

Compare Source

Bug Fixes

v6.8.8

Compare Source

Bug Fixes

v6.8.7

Compare Source

Bug Fixes

v6.8.6

Compare Source

Bug Fixes
  • skip export conditions without a source (20612e7)

v6.8.4

Compare Source

Bug Fixes

v6.8.3

Compare Source

Bug Fixes

v6.8.2

Compare Source

Bug Fixes

v6.8.1

Compare Source

Bug Fixes

v6.8.0

Compare Source

Features
  • use @sanity/prettier-config (c9b1cc8)

v6.7.2

Compare Source

Bug Fixes
  • add shorter tsconfig preset paths (d67abcc)
  • allow export conditions that resolve to .json (3c677bc)

v6.7.1

Compare Source

Bug Fixes
  • recommended: add dom and dom.iterable to lib (d7be3bf)
  • strictest: add noImplicitOverride (4ee2f52)

v6.7.0

Compare Source

Features

v6.6.7

Compare Source

Bug Fixes

v6.6.6

Compare Source

Bug Fixes

v6.6.5

Compare Source

Bug Fixes
  • always fail the build on errors, not just on --strict (#​746) (aa601dc)

v6.6.4

Compare Source

Bug Fixes

v6.6.3

Compare Source

Bug Fixes

v6.6.2

Compare Source

Bug Fixes

v6.6.1

Compare Source

Bug Fixes

v6.6.0

Compare Source

Features

v6.5.0

Compare Source

Features
  • add strictOptions to config to toggle --strict checks (#​724) (396ce6c)
Bug Fixes
  • deps: Update dependency prettier-plugin-packagejson to ^2.5.0 (#​722) (1c5f7d3)
sanity-io/ui (@​sanity/ui)

v2.1.13

Compare Source

Bug Fixes

v2.1.12

Compare Source

Bug Fixes

v2.1.11

Compare Source

Bug Fixes

v2.1.10

Compare Source

Bug Fixes

v2.1.9

Compare Source

Bug Fixes

v2.1.8

Compare Source

Bug Fixes

v2.1.7

Compare Source

Bug Fixes
  • menu: remove use of isElement (68f9620)

v2.1.6

Compare Source

Bug Fixes

v2.1.5

Compare Source

Bug Fixes
  • theme: align disabled input colors with button colors (98710cc)
  • theme: improve avatar colors (4bbb42a)
  • theme: improve code and muted colors (1e33341)
  • theme: use correct base bg for avatar (618c194)

v2.1.4

Compare Source

Bug Fixes
  • build: add aliases for named exports (767b7a7)
  • docs: refer to existing type (06ddbf2)

v2.1.3

Compare Source

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

v7.11.0

Compare Source

🚀 Features
  • eslint-plugin: deprecate prefer-ts-expect-error in favor of ban-ts-comment
🩹 Fixes
  • eslint-plugin: [consistent-type-assertions] prevent syntax errors on arrow functions
❤️ Thank You
  • Abraham Guo
  • auvred
  • Dom Armstrong
  • Kirk Waiblinger

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

v7.10.0

Compare Source

🚀 Features
  • eslint-plugin: [sort-type-constituents] support case sensitive sorting
🩹 Fixes
  • eslint-plugin: [prefer-regexp-exec] fix heuristic to check whether regex may contain global flag
❤️ Thank You
  • auvred
  • Emanuel Hoogeveen
  • jsfm01
  • Kirk Waiblinger

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

v7.9.0

Compare Source

🩹 Fixes
  • eslint-plugin: [explicit-function-return-types] fix false positive on default parameters
❤️ Thank You
  • Kirk Waiblinger
  • Sheetal Nandi
  • Vinccool96

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

v7.8.0

Compare Source

🩹 Fixes
  • eslint-plugin: [no-unsafe-argument] handle tagged templates

  • eslint-plugin: [prefer-optional-chain] suggests optional chaining during strict null equality check

  • eslint-plugin: [consistent-type-assertions] handle tagged templates

  • eslint-plugin: [no-unsafe-return] handle union types

  • eslint-plugin: [no-unused-vars] clear error report range

❤️ Thank You
  • auvred
  • Josh Goldberg ✨
  • jsfm01
  • Kim Sang Du
  • YeonJuan

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

v7.7.1

Compare Source

🩹 Fixes
  • eslint-plugin: [no-unsafe-assignment] handle shorthand property assignment

  • eslint-plugin: [explicit-function-return-type] fix checking wrong ancestor's return type

  • eslint-plugin: [prefer-optional-chain] only look at left operand for requireNullish

  • eslint-plugin: [no-for-in-array] refine report location

  • eslint-plugin: [no-unnecessary-type-assertion] allow non-null assertion for void type

❤️ Thank You
  • Abraham Guo
  • Kirk Waiblinger
  • YeonJuan

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

v7.7.0

Compare Source

🚀 Features
  • eslint-plugin: replace no-new-symbol with no-new-native-nonconstructor
❤️ Thank You
  • Dave
  • Josh Goldberg ✨

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

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

v7.11.0

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

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

v7.10.0

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

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

v7.9.0

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

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

v7.8.0

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

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

v7.7.1

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

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

v7.7.0

Compare Source

This was a version bump only for parser to align it with other projects, there were no code changes.

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

vitejs/vite-plugin-react (@​vitejs/plugin-react)

v4.3.0

Compare Source

Fix support for React compiler

Don't set retainLines: true when the React compiler is used. This creates whitespace issues and the compiler is modifying the JSX too much to get correct line numbers after that. If you want to use the React compiler and get back correct line numbers for tools like vite-plugin-react-click-to-component to work, you should update your config to something like:

export default defineConfig(({ command }) => {
  const babelPlugins = [['babel-plugin-react-compiler', {}]]
  if (command === 'serve') {
    babelPlugins.push(['@​babel/plugin-transform-react-jsx-development', {}])
  }

  return {
    plugins: [react({ babel: { plugins: babelPlugins } })],
  }
})
Support HMR for class components

This is a long overdue and should fix some issues people had with HMR when migrating from CRA.

evanw/esbuild (esbuild)

v0.21.4

Compare Source

  • Update support for import assertions and import attributes in node (#​3778)

    Import assertions (the assert keyword) have been removed from node starting in v22.0.0. So esbuild will now strip them and generate a warning with --target=node22 or above:

    ▲ [WARNING] The "assert" keyword is not supported in the configured target environment ("node22") [assert-to-with]
    
        example.mjs:1:40:
          1 │ import json from "esbuild/package.json" assert { type: "json" }
            │                                         ~~~~~~
            ╵                                         with
    
      Did you mean to use "with" instead of "assert"?
    

    Import attributes (the with keyword) have been backported to node 18 starting in v18.20.0. So esbuild will no longer strip them with --target=node18.N if N is 20 or greater.

  • Fix for await transform when a label is present

    This release fixes a bug where the for await transform, which wraps the loop in a try statement, previously failed to also move the loop's label into the try statement. This bug only affects code that uses both of these features in combination. Here's an example of some affected code:

    // Original code
    async function test() {
      outer: for await (const x of [Promise.resolve([0, 1])]) {
        for (const y of x) if (y) break outer
        throw 'fail'
      }
    }
    
    // Old output (with --target=es6)
    function test() {
      return __async(this, null, function* () {
        outer: try {
          for (var iter = __forAwait([Promise.resolve([0, 1])]), more, temp, error; more = !(temp = yield iter.next()).done; more = false) {
            const x = temp.value;
            for (const y of x) if (y) break outer;
            throw "fail";
          }
        } catch (temp) {
          error = [temp];
        } finally {
          try {
            more && (temp = iter.return) && (yield temp.call(iter));
          } finally {
            if (error)
              throw error[0];
          }
        }
      });
    }
    
    // New output (with --target=es6)
    function test() {
      return __async(this, null, function* () {
        try {
          outer: for (var iter = __forAwait([Promise.resolve([0, 1])]), more, temp, error; more = !(temp = yield iter.next()).done; more = false) {
            const x = temp.value;
            for (const y of x) if (y) break outer;
            throw "fail";
          }
        } catch (temp) {
          error = [temp];
        } finally {
          try {
            more && (temp = iter.return) && (yield temp.call(iter));
          } finally {
            if (error)
              throw error[0];
          }
        }
      });
    }
  • Do additional constant folding after cross-module enum inlining (#​3416, #​3425)

    This release adds a few more cases where esbuild does constant folding after cross-module enum inlining.

    // Original code: enum.ts
    export enum Platform {
      WINDOWS = 'windows',
      MACOS = 'macos',
      LINUX = 'linux',
    }
    
    // Original code: main.ts
    import { Platform } from './enum';
    declare const PLATFORM: string;
    export function logPlatform() {
      if (PLATFORM == Platform.WINDOWS) console.log('Windows');
      else if (PLATFORM == Platform.MACOS) console.log('macOS');
      else if (PLATFORM == Platform.LINUX) console.log('Linux');
      else console.log('Other');
    }
    
    // Old output (with --bundle '--define:PLATFORM="macos"' --minify --format=esm)
    function n(){"windows"=="macos"?console.log("Windows"):"macos"=="macos"?console.log("macOS"):"linux"=="macos"?console.log("Linux"):console.log("Other")}export{n as logPlatform};
    
    // New output (with --bundle '--define:PLATFORM="macos"' --minify --format=esm)
    function n(){console.log("macOS")}export{n as logPlatform};
  • Pass import attributes to on-resolve plugins (#​3384, #​3639, #​3646)

    With this release, on-resolve plugins will now have access to the import attributes on the import via the with property of the arguments object. This mirrors the with property of the arguments object that's already passed to on-load plugins. In addition, you can now pass with to the resolve() API call which will then forward that value on to all relevant plugins. Here's an example of a plugin that can now be written:

    const examplePlugin = {
      name: 'Example plugin',
      setup(build) {
        build.onResolve({ filter: /.*/ }, args => {
          if (args.with.type === 'external')
            return { external: true }
        })
      }
    }
    
    require('esbuild').build({
      stdin: {
        contents: `
          import foo from "./foo" with { type: "external" }
          foo()
        `,
      },
      bundle: true,
      format: 'esm',
      write: false,
      plugins: [examplePlugin],
    }).then(result => {
      console.log(result.outputFiles[0].text)
    })
  • Formatting support for the @position-try rule (#​3773)

    Chrome shipped this new CSS at-rule in version 125 as part of the CSS anchor positioning API. With this release, esbuild now knows to expect a declaration list inside of the @position-try body block and will format it appropriately.

  • Always allow internal string import and export aliases (#​3343)

    Import and export names can be string literals in ES2022+. Previously esbuild forbid any usage of these aliases when the target was below ES2022. Starting with this release, esbuild will only forbid such usage when the alias would otherwise end up in output as a string literal. String literal aliases that are only used internally in the bundle and are "compiled away" are no longer errors. This makes it possible to use string literal aliases with esbuil


Configuration

📅 Schedule: Branch creation - "before 3am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

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

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 using a curated preset maintained by Sanity. View repository job log here

@stipsan stipsan added this pull request to the merge queue May 28, 2024
Merged via the queue into main with commit e7b658c May 28, 2024
7 checks passed
@stipsan stipsan deleted the renovate/non-major branch May 28, 2024 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant