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

Bump the effect group across 1 directory with 3 updates #213

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 5, 2024

Bumps the effect group with 3 updates in the / directory: @effect/platform, @effect/schema and effect.

Updates @effect/platform from 0.49.3 to 0.55.6

Release notes

Sourced from @​effect/platform's releases.

@​effect/platform@​0.55.6

Patch Changes

  • #2903 799aa20 Thanks @​rocwang! - # Make baseUrl() more defensive in @​effect/platform

    Sometimes, third party code may patch a missing global location to accommodate for non-browser JavaScript runtimes, e.g. Cloudflare Workers, Deno. Such patch might not yield a fully valid location. This could break baseUrl(), which is called by makeUrl().

    For example, the following code would log Invalid URL: '/api/v1/users' with base 'NaN'.

    import { makeUrl } from "@effect/platform/Http/UrlParams";
    globalThis.location = { href: "" };
    const url = makeUrl("/api/v1/users", []);
    // This would log "Invalid URL: '/api/v1/users' with base 'NaN'",
    // because location.origin + location.pathname return NaN in baseUrl()
    console.log(url.left.message);

    Arguably, this is not an issue of Effect per se, but it's better to be defensive and handle such cases gracefully. So this change does that by checking if location.orign and location.pathname are available before accessing them.

  • Updated dependencies [8c5d280, 6ba6d26, cd7496b, 3f28bf2, 5817820, 349a036]:

@​effect/platform-node@​0.51.5

Patch Changes

  • Updated dependencies []:
    • @​effect/platform@​0.55.5
    • @​effect/platform-node-shared@​0.6.5

@​effect/platform@​0.55.5

Patch Changes

  • Updated dependencies [a0dd1c1]:
    • @​effect/schema@​0.67.18

@​effect/platform-node@​0.51.4

Patch Changes

... (truncated)

Changelog

Sourced from @​effect/platform's changelog.

0.55.6

Patch Changes

  • #2903 799aa20 Thanks @​rocwang! - # Make baseUrl() more defensive in @​effect/platform

    Sometimes, third party code may patch a missing global location to accommodate for non-browser JavaScript runtimes, e.g. Cloudflare Workers, Deno. Such patch might not yield a fully valid location. This could break baseUrl(), which is called by makeUrl().

    For example, the following code would log Invalid URL: '/api/v1/users' with base 'NaN'.

    import { makeUrl } from "@effect/platform/Http/UrlParams";
    globalThis.location = { href: "" };
    const url = makeUrl("/api/v1/users", []);
    // This would log "Invalid URL: '/api/v1/users' with base 'NaN'",
    // because location.origin + location.pathname return NaN in baseUrl()
    console.log(url.left.message);

    Arguably, this is not an issue of Effect per se, but it's better to be defensive and handle such cases gracefully. So this change does that by checking if location.orign and location.pathname are available before accessing them.

  • Updated dependencies [8c5d280, 6ba6d26, cd7496b, 3f28bf2, 5817820, 349a036]:

0.55.5

Patch Changes

  • Updated dependencies [a0dd1c1]:
    • @​effect/schema@​0.67.18

0.55.4

Patch Changes

0.55.3

... (truncated)

Commits

Updates @effect/schema from 0.66.1 to 0.67.19

Release notes

Sourced from @​effect/schema's releases.

@​effect/schema@​0.67.19

Patch Changes

  • #2916 cd7496b Thanks @​gcanti! - Add support for AST.Literal in Schema.TemplateLiteral, closes #2913

  • #2915 349a036 Thanks @​gcanti! - Align constructors arguments:

    • Refactor Class interface to accept options for disabling validation
    • Refactor TypeLiteral interface to accept options for disabling validation
    • Refactor refine interface to accept options for disabling validation
    • Refactor BrandSchema interface to accept options for disabling validation

    Example

    import { Schema } from "@effect/schema";
    const BrandedNumberSchema = Schema.Number.pipe(
    Schema.between(1, 10),
    Schema.brand("MyNumber"),
    );
    BrandedNumberSchema.make(20, { disableValidation: true }); // Bypasses validation and creates the instance without errors

  • Updated dependencies [8c5d280, 6ba6d26, 3f28bf2, 5817820]:

@​effect/schema@​0.67.18

Patch Changes

@​effect/schema@​0.67.17

Patch Changes

  • #2892 d9d22e7 Thanks @​gcanti! - Schema

    • add propertySignature API interface (with a from property)
    • extend optional API interface with a from property
    • extend optionalWithOptions API interface with a from property
  • #2901 3c080f7 Thanks @​gcanti! - make the AST.TemplateLiteral constructor public

  • #2901 3c080f7 Thanks @​gcanti! - add support for string literals to Schema.TemplateLiteral and TemplateLiteral API interface.

    Before

    import { Schema } from "@effect/schema";

... (truncated)

Changelog

Sourced from @​effect/schema's changelog.

0.67.19

Patch Changes

  • #2916 cd7496b Thanks @​gcanti! - Add support for AST.Literal in Schema.TemplateLiteral, closes #2913

  • #2915 349a036 Thanks @​gcanti! - Align constructors arguments:

    • Refactor Class interface to accept options for disabling validation
    • Refactor TypeLiteral interface to accept options for disabling validation
    • Refactor refine interface to accept options for disabling validation
    • Refactor BrandSchema interface to accept options for disabling validation

    Example

    import { Schema } from "@effect/schema";
    const BrandedNumberSchema = Schema.Number.pipe(
    Schema.between(1, 10),
    Schema.brand("MyNumber"),
    );
    BrandedNumberSchema.make(20, { disableValidation: true }); // Bypasses validation and creates the instance without errors

  • Updated dependencies [8c5d280, 6ba6d26, 3f28bf2, 5817820]:

0.67.18

Patch Changes

0.67.17

Patch Changes

  • #2892 d9d22e7 Thanks @​gcanti! - Schema

    • add propertySignature API interface (with a from property)
    • extend optional API interface with a from property
    • extend optionalWithOptions API interface with a from property
  • #2901 3c080f7 Thanks @​gcanti! - make the AST.TemplateLiteral constructor public

  • #2901 3c080f7 Thanks @​gcanti! - add support for string literals to Schema.TemplateLiteral and TemplateLiteral API interface.

    Before

... (truncated)

Commits

Updates effect from 3.0.1 to 3.2.9

Release notes

Sourced from effect's releases.

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

Changelog

Sourced from effect's changelog.

3.2.9

Patch Changes

3.2.8

Patch Changes

3.2.7

Patch Changes

3.2.6

Patch Changes

3.2.5

Patch Changes

3.2.4

Patch Changes

3.2.3

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the effect group with 3 updates in the / directory: [@effect/platform](https://github.com/Effect-TS/effect/tree/HEAD/packages/platform), [@effect/schema](https://github.com/Effect-TS/effect/tree/HEAD/packages/schema) and [effect](https://github.com/Effect-TS/effect/tree/HEAD/packages/effect).


Updates `@effect/platform` from 0.49.3 to 0.55.6
- [Release notes](https://github.com/Effect-TS/effect/releases)
- [Changelog](https://github.com/Effect-TS/effect/blob/main/packages/platform/CHANGELOG.md)
- [Commits](https://github.com/Effect-TS/effect/commits/@effect/[email protected]/packages/platform)

Updates `@effect/schema` from 0.66.1 to 0.67.19
- [Release notes](https://github.com/Effect-TS/effect/releases)
- [Changelog](https://github.com/Effect-TS/effect/blob/main/packages/schema/CHANGELOG.md)
- [Commits](https://github.com/Effect-TS/effect/commits/@effect/[email protected]/packages/schema)

Updates `effect` from 3.0.1 to 3.2.9
- [Release notes](https://github.com/Effect-TS/effect/releases)
- [Changelog](https://github.com/Effect-TS/effect/blob/main/packages/effect/CHANGELOG.md)
- [Commits](https://github.com/Effect-TS/effect/commits/[email protected]/packages/effect)

---
updated-dependencies:
- dependency-name: "@effect/platform"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: effect
- dependency-name: "@effect/schema"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: effect
- dependency-name: effect
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: effect
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 5, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 6, 2024

Superseded by #215.

@dependabot dependabot bot closed this Jun 6, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/effect-89eeca9104 branch June 6, 2024 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants