Skip to content

chore(deps): update dependency prettier to v2.3.1#38

Merged
KovacZan merged 1 commit into
developfrom
renovate/prettier-2.x
Jun 5, 2021
Merged

chore(deps): update dependency prettier to v2.3.1#38
KovacZan merged 1 commit into
developfrom
renovate/prettier-2.x

Conversation

@renovate

@renovate renovate Bot commented Jun 5, 2021

Copy link
Copy Markdown
Contributor

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
prettier (source) 2.3.0 -> 2.3.1 age adoption passing confidence

Release Notes

prettier/prettier

v2.3.1

Compare Source

diff

Support TypeScript 4.3 (#​10945 by @​sosukesuzuki)
override modifiers in class elements
class Foo extends  {
  override method() {}
}
static index signatures ([key: KeyType]: ValueType) in classes
class Foo {
  static [key: string]: Bar;
}
get / set in type declarations
interface Foo {
  set foo(value);
  get foo(): string;
}
Preserve attributes order for element node (#​10958 by @​dcyriller)
{{!-- Input --}}
<MyComponent
  {{! this is a comment for arg 1}}
  @&#8203;arg1="hello"
  {{on "clik" this.modify}}
  @&#8203;arg2="hello"
  {{! this is a comment for arg 3}}
  @&#8203;arg3="hello"
  @&#8203;arg4="hello"
  {{! this is a comment for arg 5}}
  @&#8203;arg5="hello"
  ...arguments
/>
{{!-- Prettier stable --}}
<MyComponent
  @&#8203;arg1="hello"
  @&#8203;arg2="hello"
  @&#8203;arg3="hello"
  @&#8203;arg4="hello"
  @&#8203;arg5="hello"
  ...arguments
  {{on "clik" this.modify}}
  {{! this is a comment for arg 1}}
  {{! this is a comment for arg 3}}
  {{! this is a comment for arg 5}}
/>
{{!-- Prettier main --}}
<MyComponent
  {{! this is a comment for arg 1}}
  @&#8203;arg1="hello"
  {{on "clik" this.modify}}
  @&#8203;arg2="hello"
  {{! this is a comment for arg 3}}
  @&#8203;arg3="hello"
  @&#8203;arg4="hello"
  {{! this is a comment for arg 5}}
  @&#8203;arg5="hello"
  ...arguments
/>
Track cursor position properly when it’s at the end of the range to format (#​10938 by @​j-f1)

Previously, if the cursor was at the end of the range to format, it would simply be placed back at the end of the updated range.
Now, it will be repositioned if Prettier decides to add additional code to the end of the range (such as a semicolon).

// Input (<|> represents the cursor)
const someVariable = myOtherVariable<|>
// range to format:  ^^^^^^^^^^^^^^^

// Prettier stable
const someVariable = myOtherVariable;<|>
// range to format:  ^^^^^^^^^^^^^^^

// Prettier main
const someVariable = myOtherVariable<|>;
// range to format:  ^^^^^^^^^^^^^^^
Break the LHS of type alias that has complex type parameters (#​10901 by @​sosukesusuzki)
// Input
type FieldLayoutWith<
  T extends string,
  S extends unknown = { width: string }
> = {
  type: T;
  code: string;
  size: S;
};

// Prettier stable
type FieldLayoutWith<T extends string, S extends unknown = { width: string }> =
  {
    type: T;
    code: string;
    size: S;
  };

// Prettier main
type FieldLayoutWith<
  T extends string,
  S extends unknown = { width: string }
> = {
  type: T;
  code: string;
  size: S;
};
Break the LHS of assignments that has complex type parameters (#​10916 by @​sosukesuzuki)
// Input
const map: Map<
  Function,
  Map<string | void, { value: UnloadedDescriptor }>
> = new Map();

// Prettier stable
const map: Map<Function, Map<string | void, { value: UnloadedDescriptor }>> =
  new Map();

// Prettier main
const map: Map<
  Function,
  Map<string | void, { value: UnloadedDescriptor }>
> = new Map();
Fix incorrectly wrapped arrow functions with return types (#​10940 by @​thorn0)
// Input
longfunctionWithCall12("bla", foo, (thing: string): complex<type<something>> => {
  code();
});

// Prettier stable
longfunctionWithCall12("bla", foo, (thing: string): complex<
  type<something>
> => {
  code();
});

// Prettier main
longfunctionWithCall12(
  "bla",
  foo,
  (thing: string): complex<type<something>> => {
    code();
  }
);
Avoid breaking call expressions after assignments with complex type arguments (#​10949 by @​sosukesuzuki)
// Input
const foo = call<{
  prop1: string;
  prop2: string;
  prop3: string;
}>();

// Prettier stable
const foo =
  call<{
    prop1: string;
    prop2: string;
    prop3: string;
  }>();

// Prettier main
const foo = call<{
  prop1: string;
  prop2: string;
  prop3: string;
}>();
Fix order of override modifiers (#​10961 by @​sosukesuzuki)
// Input
class Foo extends Bar {
  abstract override foo: string;
}

// Prettier stable
class Foo extends Bar {
  abstract override foo: string;
}

// Prettier main
class Foo extends Bar {
  abstract override foo: string;
}

Configuration

📅 Schedule: 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.

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


  • If you want to rebase/retry this PR, check this box.

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

@renovate renovate Bot requested review from KovacZan, amacar and kristjank as code owners June 5, 2021 10:45
@KovacZan KovacZan merged commit b19bc9d into develop Jun 5, 2021
@KovacZan KovacZan deleted the renovate/prettier-2.x branch June 5, 2021 14:04
KovacZan added a commit that referenced this pull request Sep 24, 2021
* feat(nameservice): implemented nameservice-crypto, nameservice-transactions and nameservice-api (#4)

* feat: nameservice-crypto implementation

* feat: implement nameservice-transactions

* test: nameservice-crypto

* test: nameservice unit tests

* test: functional tests - transaction forging

* chore: setup github actions

* fix: functional test name

* fix: functional test names

* feat: implement nameservice api

* test: unit tests for nameservice-api

* test: integration tests for nameservice-api

* chore: setup unit and integration tests for nameservice-api

* fix: nameservice-api test scripts

* chore(nameservice-crypto): update @protokol/utils

* fix(nameservice-crypto): fix typo

* fix(nameservice-crypto): fix typo

* chore(nameservice-api): reduce amount of data in transformer

* chore(deps): update dependency typescript to ~4.2.0 (#3)

* chore(deps): update dependency typescript to ~4.2.0

* chore: set latest yarn version

* chore: update to latest typescript version

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: KovacZan <zan@protokol.com>

* chore(deps): update dependency eslint to v7.22.0 (#7)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency npm-check-updates to ~11.3.0 (#6)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency eslint to v7.23.0 (#8)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency @sindresorhus/tsconfig to v1 (#9)

* chore(deps): update dependency @sindresorhus/tsconfig to v1

* chore: set noPropertyAccessFromIndexSignature to false in tsconfig

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: KovacZan <zan@protokol.com>

* feat(crypto): strict checks and improved serialization (#10)

* feat(nameservice-crypto): add pattern check for nameservice

* test(nameservice-crypto): add test for pattern name check

* chore(crypto): set readonly to some static properties

* fix(crypto): uptade serialization

* chore(crypto): set readonly defaultStaticFee

* chore: format, changelog and bump version (#11)

* chore: format, changelog and bump version

* chore: remove failed deps

* fix: changelog

* chore: update local development setup (#12)

* chore: add nameservice plugin to local testnet

* chore: remove unused jest setting

* chore(deps): update dependency npm-check-updates to ~11.4.0 (#13)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* feat: log plugin info on load and add configurations endpoint (#14)

* feat: log plugin info on load

* feat(nameservice-api): add configurations endpoint

* chore(deps): update dependency eslint to v7.24.0 (#15)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency @types/node to ^14.14.31 (#17)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency @types/jest to v26.0.22 (#16)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency eslint to ^7.21.0 (#19)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency @types/prettier to ^2.2.1 (#18)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency eslint-config-prettier to ^8.1.0 (#20)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency eslint-plugin-jest to ^24.1.5 (#21)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency npm-check-updates to ~11.5.0 (#24)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency eslint to v7.25.0 (#25)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency @types/semver to v7.3.5 (#26)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency bip39 to v3.0.4 (#27)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore: update ark deps + adjust code to core changes (#28)

* chore: update deps

* feat: use wallet repository methods to interact with indexes

* chore(deps): update dependency eslint to v7.26.0 (#29)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency prettier to v2.3.0 (#30)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* release: 1.0.0 beta.2 (#31)

* release: 1.0.0-beta.2

* chore: update changelog

* chore(deps): update dependency eslint to v7.27.0 (#32)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency jest to v27 (#33)

* chore(deps): update dependency jest to v27

* chore: update deps

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Amadej Pevec <amadej.pevec@gmail.com>

* chore(deps): update dependency npm-check-updates to ~11.6.0 (#36)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency prettier to v2.3.1 (#38)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency eslint to v7.28.0 (#37)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency typescript to ~4.3.0 (#35)

* chore(deps): update dependency typescript to ~4.3.0

* chore: update yarn

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Amadej Pevec <amadej.pevec@gmail.com>

* chore(deps): update dependency eslint to v7.29.0 (#41)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency npm-check-updates to ~11.7.0 (#39)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency typedoc to ~0.21.0 (#40)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency prettier to v2.3.2 (#42)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency npm-check-updates to ~11.8.0 (#43)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency eslint to v7.30.0 (#44)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency eslint to v7.31.0 (#46)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update yarn to v3 (#49)

* chore(deps): update yarn to v3

* chore: update yarn

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Amadej Pevec <amadej.pevec@gmail.com>

* chore: update yarn sdks (#50)

* chore(deps): update dependency eslint to v7.32.0 (#51)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore: updated deps and added prettier (#52)

* chore: fix readme (#53)

* fix(nameservice-crypto): fix warning in getSchema (#54)

* fix(nameservice-crypto): add additional check to nameservice builder (#55)

* fix(nameservice-crypto): add additional check to nameservice builder

* fix(nameservice-crypto): fix check

* fix(nameservice-crypto): fix check

* ci: setup codecov coverage and badges (#56)

* ci: test codecov coverage

* ci: setup codecov

* fix: codecov ci

* fix: codecov ci

* ci: setup flags

* fix: coverage

* ci: setup directory

* ci: setup correct directory

* ci: setup correct directory

* ci: setup coverage badges

* chore(deps): update dependency @types/jest to v27 (#57)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency @yarnpkg/pnpify to v3 (#58)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* fix: read coverage from develop (#59)

* refactor(nameservice-api): refactor configurations endpoint (#60)

* refactor(nameservice-api): refactor configurations endpoint

* test(nameservice-api): fix configurations unit tests

* test(nameservice-api): fix configurations integration tests

* test(nameservice-api): fix configurations integration tests

* feat(nameservice-examples): setup examples for nameservice transaction (#61)

* feat(nameserivce-examples): setup examples module

* deps(nameservice-examples): remove unused deps

* fix(nameservice-examples): fix package.json description

* chore: version automation commands (#62)

* chore: added changelog command (#63)

* chore: add auto-changelog

* chore: added changelog library

* feat: add insomnia api file (#64)

* chore: setup banners (#65)

* chore: setup banners

* chore: setup banner for nameservice-api

* chore(deps): update dependency @sindresorhus/tsconfig to v2 (#66)

* chore(deps): update dependency @sindresorhus/tsconfig to v2

* fix: latest eslint changes

* fix(nameservice-transactions): change override in transaction factory

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: KovacZan <zan@protokol.com>

* chore(deps): update dependency jest to ~27.1.0 (#68)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency eslint-plugin-prettier to v4 (#70)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency typescript to ~4.4.0 (#67)

* chore(deps): update dependency typescript to ~4.4.0

* deps: upgrade yarn berry

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: KovacZan <zan@protokol.com>

* chore(deps): update dependency prettier to v2.4.0 (#71)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency typedoc to ~0.22.0 (#72)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency jest to ~27.2.0 (#73)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* chore(deps): update dependency prettier to v2.4.1 (#74)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* deps: update dependencies to corev3  (#75)

* deps: update corev3 dependencies

* deps: remove core-manager

* fix(nameservice-transactions): fix unit tests

* fix(nameservice-api): remove core-manager from app.json

* fix(nameservice-transactions): fix functional tests setup

* fix(nameservice-api): fix unit test support

* fix(nameservice-api): fix setup

* release: 1.0.0 (#76)

* chore: bump versions

* chore: changelog

* fix: command and version bump (#77)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Amadej Pevec <amadej.pevec@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants