shiftcode / dynamo-easy

DynamoDB client for NodeJS and browser with a fluent api to build requests. We take care of the type mapping between JS and DynamoDB, customizable trough typescript decorators.
https://shiftcode.github.io/dynamo-easy/
MIT License
204 stars 27 forks source link

chore(deps): update dependency prettier to v2 #284

Closed renovate[bot] closed 4 years ago

renovate[bot] commented 4 years ago

This PR contains the following updates:

Package Type Update Change
prettier (source) devDependencies major ^1.18.2 -> ^2.0.0

Release Notes

prettier/prettier ### [`v2.0.2`](https://togithub.com/prettier/prettier/blob/master/CHANGELOG.md#​202) [Compare Source](https://togithub.com/prettier/prettier/compare/2.0.1...2.0.2) [diff](https://togithub.com/prettier/prettier/compare/2.0.1...2.0.2) ##### 2.0 regressions ##### JavaScript: Fix formatting of pseudo-elements and pseudo-classes in styled-components template literals ([#​7842](https://togithub.com/prettier/prettier/pull/7842) by [@​thorn0](https://togithub.com/thorn0)) ```jsx // Input const Foo = styled.div` ${media.smallDown}::before {} `; // Prettier 2.0.0 const Foo = styled.div` ${media.smallDown}: : before{ } `; // Prettier 2.0.2 const Foo = styled.div` ${media.smallDown}::before { } `; ``` ##### TypeScript: Avoid trailing commas on index signatures with only one parameter ([#​7836](https://togithub.com/prettier/prettier/pull/7836) by [@​bakkot](https://togithub.com/bakkot)) TypeScript index signatures technically allow multiple parameters and trailing commas, but it's an error to have multiple parameters there, and Babel's TypeScript parser does not accept them. So Prettier now avoids putting a trailing comma there when you have only one parameter. ```ts // Input export type A = { a?: { [ x: string ]: typeof SomeLongLongLongTypeName[keyof typeof SomeLongLongLongTypeName]; } | null; }; // Prettier 2.0.0 export type A = { a?: { [ x: string, ]: typeof SomeLongLongLongTypeName[keyof typeof SomeLongLongLongTypeName]; } | null; }; // Prettier 2.0.2 export type A = { a?: { [ x: string ]: typeof SomeLongLongLongTypeName[keyof typeof SomeLongLongLongTypeName]; } | null; }; ``` ##### Revert "markdown: fix redundant leading spaces in markdown list" ([#​7847](https://togithub.com/prettier/prettier/pull/7847)) See [#​7846](https://togithub.com/prettier/prettier/issues/7846) ##### Other changes ##### TypeScript: Fix `prettier-ignore` in union types ([#​7798](https://togithub.com/prettier/prettier/pull/7798) by [@​thorn0](https://togithub.com/thorn0)) ```ts // Input export type a = // foo | foo1&foo2 // prettier-ignore | bar1&bar2 // baz | baz1&baz2; // Prettier 2.0.0 export type a = // foo | foo1&foo2 // prettier-ignore // prettier-ignore | (bar1 & bar2) // baz | (baz1 & baz2); // Prettier 2.0.2 export type a = // foo | (foo1 & foo2) // prettier-ignore | bar1&bar2 // baz | (baz1 & baz2); ``` ### [`v2.0.1`](https://togithub.com/prettier/prettier/blob/master/CHANGELOG.md#​201) [Compare Source](https://togithub.com/prettier/prettier/compare/2.0.0...2.0.1) [diff](https://togithub.com/prettier/prettier/compare/2.0.0...2.0.1) ##### API: Fix build script to not corrupt `import-fresh` module ([#​7820](https://togithub.com/prettier/prettier/pull/7820) by [@​thorn0](https://togithub.com/thorn0)) ### [`v2.0.0`](https://togithub.com/prettier/prettier/blob/master/CHANGELOG.md#​200) [Compare Source](https://togithub.com/prettier/prettier/compare/1.19.1...2.0.0) [diff](https://togithub.com/prettier/prettier/compare/1.19.1...2.0.0) 🔗 [Release Notes](https://prettier.io/blog/2020/03/21/2.0.0.html)

Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 95.61% when pulling c2f589fdcd498efc5ea04eaf6583878205da1b38 on renovate/prettier-2.x into 7b6c4776a1b104c7fcea9774777fc387ca6d23b8 on master.

renovate[bot] commented 4 years ago

PR has been edited

:construction_worker: This PR has received other commits, so Renovate will stop updating it to avoid conflicts or other problems. If you wish to abandon your changes and have Renovate start over you may click the "rebase" checkbox in the PR body/description.

michaelwittwer commented 4 years ago

:tada: This PR is included in version 5.7.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] commented 4 years ago

:tada: This PR is included in version 5.7.0-pr278.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] commented 4 years ago

:tada: This PR is included in version 6.0.0-pr91.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] commented 3 years ago

:tada: This PR is included in version 6.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: