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 dependencies #24

Merged
merged 1 commit into from
Dec 2, 2023
Merged

chore(deps): update dependencies #24

merged 1 commit into from
Dec 2, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 1, 2023

Mend Renovate logo banner

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@changesets/changelog-github (source) ^0.4.8 -> ^0.5.0 age adoption passing confidence
@changesets/cli (source) ^2.26.2 -> ^2.27.1 age adoption passing confidence
find-workspaces ^0.2.0 -> ^0.3.0 age adoption passing confidence
fs-extra ^11.1.1 -> ^11.2.0 age adoption passing confidence
valibot (source) ^0.20.1 -> ^0.21.0 age adoption passing confidence

Release Notes

changesets/changesets (@​changesets/changelog-github)

v0.5.0

Compare Source

Minor Changes
  • #​1185 a971652 Thanks @​Andarist! - package.json#exports have been added to limit what (and how) code might be imported from the package.
Patch Changes
joshuajaco/find-workspaces (find-workspaces)

v0.3.0

Compare Source

  • Updated to new Lerna defaults, see Lerna v7 changelog
  • Optimized caching by ignoring nested workspace roots.
    Most tools already error when trying to use a nested workspace root, so this should not be a breaking change.
jprichardson/node-fs-extra (fs-extra)

v11.2.0

Compare Source

  • Copy directory contents in parallel for better performance (#​1026)
  • Refactor internal code to use async/await (#​1020)
fabian-hiller/valibot (valibot)

v0.21.0

Compare Source

Many thanks to @​Saeris, @​lo1tuma, @​david-plugge, @​ciscoheat, @​kazizi55 and @​BastiDood for contributing to this release.

  • Change structure of schemas, validations and transformations to make properties accessible (pull request #​211)
  • Fix errors in JSDoc comments and add JSDoc ESLint plugin (pull request #​205)
  • Fix missing file extension for Deno (pull request #​249)

Migration guide

The internal structure of schema and pipeline functions has changed as a result of #​211. These changes affect people who have created their own schema, validation, or transformation functions.

import { type BaseValidation, type ErrorMessage, getOutput, getPipeIssues } from 'valibot';

// Change this

export function minLength<TInput extends string | any[]>(
  requirement: number,
  error?: ErrorMessage
) {
  return (input: TInput): PipeResult<TInput> =>
    input.length < requirement
      ? getPipeIssues('min_length', error || 'Invalid length', input)
      : getOutput(input);
}

// To that

export type MinLengthValidation<
  TInput extends string | any[],
  TRequirement extends number
> = BaseValidation<TInput> & {
  type: 'min_length';
  requirement: TRequirement;
};

export function minLength<
  TInput extends string | any[],
  TRequirement extends number
>(
  requirement: TRequirement,
  message: ErrorMessage = 'Invalid length'
): MinLengthValidation<TInput, TRequirement> {
  return {
    type: 'min_length',
    async: false,
    message,
    requirement,
    _parse(input) {
      return input.length < this.requirement
        ? getPipeIssues(this.type, this.message, input, this.requirement)
        : getOutput(input);
    },
  };
}

If you have any questions or problems, please have a look at the source code or create an issue. I usually respond within 24 hours.


Configuration

📅 Schedule: Branch creation - "before 10am on the first day of the month" in timezone GMT, 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. View repository job log here.

@renovate renovate bot added the renovate label Dec 1, 2023
Copy link

changeset-bot bot commented Dec 1, 2023

⚠️ No Changeset found

Latest commit: 8f346fc

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

netlify bot commented Dec 1, 2023

Deploy Preview for secco-cli canceled.

Name Link
🔨 Latest commit 8f346fc
🔍 Latest deploy log https://app.netlify.com/sites/secco-cli/deploys/65697b7f4dc18a00083b9dbb

Copy link
Contributor

github-actions bot commented Dec 1, 2023

Size Change: 0 B 🆕

Total Size: 0 B

compressed-size-action

@renovate renovate bot force-pushed the renovate/dependencies branch from 7337b62 to 8f346fc Compare December 1, 2023 06:21
@LekoArts LekoArts merged commit f14d3f2 into main Dec 2, 2023
7 checks passed
@LekoArts LekoArts deleted the renovate/dependencies branch December 2, 2023 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant