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): bump @nestia/core from 1.6.7 to 2.0.2 #251

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Sep 11, 2023

Bumps @nestia/core from 1.6.7 to 2.0.2.

Release notes

Sourced from @​nestia/core's releases.

v2.0.1

From typia v5 update

https://typia.io/docs/validators/tags/#type-tags

typia v5 version has been newly released, and it has started supporting type tags.

import { tags } from "typia";
type X = number & tags.Type<"uint32"> & tags.Minimum<3>;

From now on, nestia also supports the type tags, and TypedParam() has been concised especially by those type tags.

import { TypedParam } from "@nestia/core";
import { Controller, Get } from "@nestjs/common";
import { tags } from "typia";
@​Controller("parameters")
export class ParametersController {
@​Get("uint32/:value")
public async uint32(
@​TypedParam("value") value: (number & tags.Type<"uint32">) | null,
): Promise<(number & tags.Type<"uint32">) | null> {
return value;
}
@Get(&quot;string/:value&quot;)
public async string(
    @TypedParam(&quot;value&quot;) value: string,
): Promise&lt;string&gt; {
    return value;
}
@Get(&quot;uuid/:value&quot;)
public async uuid(
@TypedParam(&quot;value&quot;) value: string &amp; tags.Format&lt;&quot;uuid&quot;&gt;,
): Promise&lt;string&gt; {
return value;
}

}

Propagation mode

https://nestia.io/docs/sdk/sdk/#propagation-mode

Returns IPropagation typed instance instead of throwing exception.

When you configure propagate property of nestia.config.ts file, all of SDK functions generated by @nestia/sdk will perform propagation mode. The propagation mode means that never throwing exception (HttpError) even when response status code is not (or 201), but just returning the IPropagation typed object, which can specify its body data type through discriminated union determined by status code.

... (truncated)

Commits

Dependabot compatibility score

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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 11, 2023
@socket-security
Copy link

socket-security bot commented Sep 11, 2023

No top level dependency changes detected. Learn more about Socket for GitHub ↗︎

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/nestia/core-2.0.2 branch 27 times, most recently from d0818e2 to fa72bde Compare September 15, 2023 04:22
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/nestia/core-2.0.2 branch 3 times, most recently from 1bcbebc to 81264e5 Compare September 15, 2023 04:36
Bumps [@nestia/core](https://github.com/samchon/nestia) from 1.6.7 to 2.0.2.
- [Release notes](https://github.com/samchon/nestia/releases)
- [Commits](https://github.com/samchon/nestia/commits)

---
updated-dependencies:
- dependency-name: "@nestia/core"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/nestia/core-2.0.2 branch from 81264e5 to f2b2e5e Compare September 15, 2023 04:43
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Sep 18, 2023

Superseded by #281.

@dependabot dependabot bot closed this Sep 18, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/nestia/core-2.0.2 branch September 18, 2023 03:51
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 javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants