profile
viewpoint
遗忘
Nicolas Carlo nicoespeon Busbud Montréal https://nicoespeon.com Web Developer, Legacy Code sanitizer, Dad

nicoespeon/gitgraph.js 2054

👋 [Looking for maintainers] - A JavaScript library to draw pretty git graphs in the browser

nicoespeon/abracadabra 136

Automated refactorings for VS Code (JS & TS) ✨ It's magic ✨

fabien0102/git2json 17

Simple tool to get a JSON from your git log.

cyclejs-community/built-with-cycle 10

A website to showcase the cool projects built with Cycle.js

nicoespeon/jest-extended-snapshot 9

Additional Jest matchers for snapshot testing.

fabien0102/trelloblog 8

Use Trello as a database and back-office for a blogging system.

nicoespeon/hocus-pocus 8

VS Code extension that makes useful things appear out of the void (JS & TS) 🔮

nicoespeon/design-patterns 4

Implementation of Design Patterns in JS

nicoespeon/inuit.css-web-template 4

Web template for housing the inuit.css framework as submodule

nicoespeon/inuit.css 1

inuit.css—cooler than a polar bear’s toenails

push eventnicoespeon/understandlegacycode.com

Nicolas Carlo

commit sha 15cd197d2118ee1e615256fac232b9652a1d1331

New blog post

view details

Nicolas Carlo

commit sha 4ef7dfbdd7746a1c7aecaa0b1c378b6dc171e839

Merge pull request #12 from nicoespeon/knowledge-map New blog post

view details

push time in 2 days

delete branch nicoespeon/understandlegacycode.com

delete branch : knowledge-map

delete time in 2 days

PR merged nicoespeon/understandlegacycode.com

New blog post

To be released on July 15

+173 -0

0 comment

11 changed files

nicoespeon

pr closed time in 2 days

push eventnicoespeon/abracadabra

Nicolas Carlo

commit sha 1695f6a00b78b8aea25aa862e3c3205148dcfde0

Update test case

view details

Nicolas Carlo

commit sha 0da7b92b473137e6d739931e9a09e403b809375b

Improve Flip If/Else to generate guard clauses

view details

Nicolas Carlo

commit sha 7a40ffe79a5c4b211b082e63472fc625c3324de2

Refactor duplication

view details

Nicolas Carlo

commit sha 24edb69c8b0484837654db0dc460e640ae2340b0

Move logic to AST module

view details

Nicolas Carlo

commit sha 67a15c38833cec5684f5a8970948e0d4cc13c9a7

Refactor duplication

view details

push time in 5 days

push eventnicoespeon/abracadabra

Nicolas Carlo

commit sha 79e6df705ad4169f40d0308f5a6feb3c4fb7421b

Handle more complex assignments

view details

Nicolas Carlo

commit sha 93e7fc799e7485c47178184179508fdabd1a5e35

Remove unnecessary parenthesis for catch blocks

view details

Nicolas Carlo

commit sha 522781e282b7342c27786738532aa0750e6e1930

Add hint for future improvement

view details

Nicolas Carlo

commit sha 3e107e5442da93efdb7c0961abb8896363c68f33

Stop visiting AST on Negate Expression code update

view details

Nicolas Carlo

commit sha ad9e41e2be680fcf1e97b55b2d5b1bfdda8da6f8

Fix Negate Expression Quick Fix

view details

Nicolas Carlo

commit sha 1843ef7b92ace7e7bbbef3ea5f91bd7d3b52490b

Stop visiting AST on code update, not on match Otherwise, matching Quick Fixes would stop the visit of the AST, causing other potential Quick Fixes to not show (e.g. Negate Expression)

view details

Nicolas Carlo

commit sha a2e7900e02df36bdc0d52be1c76c9ea61261ddbe

Use default syntax

view details

Nicolas Carlo

commit sha 94bced6d5848e07b416dd54befc1a8589943e053

Remove unnecessary cursors

view details

Nicolas Carlo

commit sha efc766bea251a7b879db63efb2256229b8cf471b

Simplify Negate Expression results

view details

Nicolas Carlo

commit sha 620eaf1f1ab00d689da0753560f7572f2d185308

Refactor duplication & simplify

view details

push time in 5 days

push eventnicoespeon/nicoespeon

Nicolas Carlo

commit sha 0d3a08724c84e022ca2d2181ee80c3b6377f2372

Update README.md

view details

push time in 6 days

create barnchnicoespeon/nicoespeon

branch : master

created branch time in 6 days

created repositorynicoespeon/nicoespeon

created time in 6 days

push eventnicoespeon/abracadabra

Nicolas Carlo

commit sha d3cd81654e2db6dcaa1f357551f2ec4c88107606

Fix link to contributors section in README

view details

push time in 6 days

created tagnicoespeon/abracadabra

tag4.5.0

Automated refactorings for VS Code (JS & TS) ✨ It's magic ✨

created time in 6 days

release nicoespeon/abracadabra

4.5.0

released time in 6 days

push eventnicoespeon/abracadabra

Nicolas Carlo

commit sha 5c0c22b0df0ecd0bd4323c0d7ce1bfb92117e8a4

Bump version (v4.5.0)

view details

push time in 6 days

issue openednicoespeon/abracadabra

[Extract Variable] Name may shadow existing variable

Describe the bug

A gif's worth a thousand words:

2020-07-10 Screenshot-A5X0OIqK

This case is broken because:

  • if variable isn't renamed, it's invalid to redeclare hello like this
  • if variable is renamed, it will rename the other variable, which is unexpected and produce broken code

How to reproduce

function brokenScenario(hello) {
  if (item.name == "hello") {}

  console.log(hello);
}

Put your cursor on "hello", extract variable and rename it into something.

Resulting code will be this broken one:

function brokenScenario(something) {
  const hello = "hello";
  if (item.name == something) {}

  console.log(something);
}

Expected behavior

In this case, produced code should be:

function brokenScenario(hello) {
  const something = "hello";
  if (item.name == something) {}

  console.log(hello);
}

Now, is variable isn't renamed, we should have:

function brokenScenario(hello) {
  const hello1 = "hello";
  if (item.name == hello1) {}

  console.log(hello);
}

This is for inferred name, but the logic should stand for any produced name, including the default one: extracted.

If extracted is taken, we'd use extracted1. If it's also taken, we'd use extracted2 and increment until the variable name isn't taken.

Additional information

Variable name are determined here: https://github.com/nicoespeon/abracadabra/blob/master/src/refactorings/extract/extract-variable/variable.ts

There's a function in AST module that's related to scope & shadowing: https://github.com/nicoespeon/abracadabra/blob/c32c4b92c89bd70e8cd5f5c13d8a5407013790fd/src/ast/scope.ts#L44-L47

But it might not be enough because the code is not yet inserted.

created time in 6 days

push eventnicoespeon/abracadabra

Nicolas Carlo

commit sha 62f46e9bd3a2d688e84a019b6744b99b68a4e311

Re-order CHANGELOG and run Prettier on it

view details

Nicolas Carlo

commit sha 7e1b78c0c3aae49db26d2369012f4b9fb1245997

POC solution to extract code at correct position

view details

Nicolas Carlo

commit sha 74520960bae4d15217d0382894471c99bcea562c

Rename variables and introduce cursorAtPosition()

view details

Nicolas Carlo

commit sha 6468386dfca4484a42d43b5dc738ad77bf9da0bc

Move logic back into Occurrence

view details

Nicolas Carlo

commit sha d60edf775a921eabc8ac23b4ec32f77ac248bd9c

Encapsulate logic in AST to fix type

view details

Nicolas Carlo

commit sha 99dbe4cd077fb9699d01614c477d6b0d19bc3a86

Introduce VariableDeclarationModification

view details

Nicolas Carlo

commit sha 37d416e0ec930150e73e5709dba58c864f36f4c8

Move logic into VariableDeclarationModification

view details

Nicolas Carlo

commit sha 88296d86285e260a53f06ea75cf1d61bf48c206d

Move cursorOnCommonAncestor()

view details

Nicolas Carlo

commit sha 719fe30964ccd47aa7e2ac7850407c2a812895cf

Fix indentation

view details

Nicolas Carlo

commit sha b2225d1c48d42ea17f552a6bbf86a287f30edbac

Move parent scope position back to Occurrence

view details

Nicolas Carlo

commit sha 70bbff2669d0d3abf54049054c35d0e2d3939849

Extract VariableDeclarationModification in its file

view details

Nicolas Carlo

commit sha b0fe352735f849a8ed90eb68afb5c185c7c5db2a

Select common ancestor that can host variable

view details

Nicolas Carlo

commit sha 09b7e10afee17556b8724891708481c83fe4d03e

Update CHANGELOG

view details

Nicolas Carlo

commit sha c32c4b92c89bd70e8cd5f5c13d8a5407013790fd

Merge pull request #131 from nicoespeon/extract-variable/fix-occurrences-scope Extract variable/fix occurrences scope

view details

push time in 6 days

delete branch nicoespeon/abracadabra

delete branch : extract-variable/fix-occurrences-scope

delete time in 6 days

PR merged nicoespeon/abracadabra

Extract variable/fix occurrences scope

Fixes #97

Consider:

function brokenScenario() {
  if (isValid) {
    if (item.name == "sulfuras") {
    }
  }

  console.log("sulfuras");
}

Trying to extract "sulfuras" before:

function brokenScenario() {
  if (isValid) {
    const sulfuras = "sulfuras";
    if (item.name == sulfuras) {
    }
  }

  console.log(sulfuras);
}

Trying to do it now:

function brokenScenario() {
  const sulfuras = "sulfuras";
  if (isValid) {
    if (item.name == sulfuras) {
    }
  }

  console.log(sulfuras);
}

🎉

+227 -61

0 comment

7 changed files

nicoespeon

pr closed time in 6 days

issue closednicoespeon/abracadabra

Extract Variable declaration should be accessible by all occurrences

Describe the bug

When extracting a variable, Abracadabra proposes to replace all occurrences. When doing so, it's possible to generate invalid code because the variable declaration will not be placed in a scope that's accessible by all occurrences.

How to reproduce

function brokenScenario() {
  if (isValid) {
    if (item.name == "sulfuras") {
    }
  }

  console.log("sulfuras");
}

Put your cursor on any "sulfuras" and extract the variable. Select to replace the 2 occurrences.

Here's the resulting code:

function brokenScenario() {
  if (isValid) {
    const sulfuras = "sulfuras";
    if (item.name == sulfuras) {
    }
  }

  console.log(sulfuras);
}

The second occurrence can't access the variable.

The declaration is placed before the top-most occurrence: https://github.com/nicoespeon/abracadabra/blob/2abc82f9e86fdb36c59e3bf5ffa62f125a2e8b39/src/refactorings/extract-variable/extract-variable.ts#L32-L41

It doesn't take the scope of all occurrences into account.

Expected behavior

The declaration should be put in the closest common ancestor of all occurrences.

function brokenScenario() {
  const sulfuras = "sulfuras";

  if (isValid) {
    if (item.name == sulfuras) {
    }
  }

  console.log(sulfuras);
}

closed time in 6 days

nicoespeon

PR opened nicoespeon/abracadabra

Extract variable/fix occurrences scope

Fixes #97

Consider:

function brokenScenario() {
  if (isValid) {
    if (item.name == "sulfuras") {
    }
  }

  console.log("sulfuras");
}

Trying to extract "sulfuras" before:

function brokenScenario() {
  if (isValid) {
    const sulfuras = "sulfuras";
    if (item.name == sulfuras) {
    }
  }

  console.log(sulfuras);
}

Trying to do it now:

function brokenScenario() {
  const sulfuras = "sulfuras";
  if (isValid) {
    if (item.name == sulfuras) {
    }
  }

  console.log(sulfuras);
}

🎉

+227 -61

0 comment

7 changed files

pr created time in 6 days

push eventnicoespeon/abracadabra

Nicolas Carlo

commit sha 74520960bae4d15217d0382894471c99bcea562c

Rename variables and introduce cursorAtPosition()

view details

Nicolas Carlo

commit sha 6468386dfca4484a42d43b5dc738ad77bf9da0bc

Move logic back into Occurrence

view details

Nicolas Carlo

commit sha d60edf775a921eabc8ac23b4ec32f77ac248bd9c

Encapsulate logic in AST to fix type

view details

Nicolas Carlo

commit sha 99dbe4cd077fb9699d01614c477d6b0d19bc3a86

Introduce VariableDeclarationModification

view details

Nicolas Carlo

commit sha 37d416e0ec930150e73e5709dba58c864f36f4c8

Move logic into VariableDeclarationModification

view details

Nicolas Carlo

commit sha 88296d86285e260a53f06ea75cf1d61bf48c206d

Move cursorOnCommonAncestor()

view details

Nicolas Carlo

commit sha 719fe30964ccd47aa7e2ac7850407c2a812895cf

Fix indentation

view details

Nicolas Carlo

commit sha b2225d1c48d42ea17f552a6bbf86a287f30edbac

Move parent scope position back to Occurrence

view details

Nicolas Carlo

commit sha 70bbff2669d0d3abf54049054c35d0e2d3939849

Extract VariableDeclarationModification in its file

view details

Nicolas Carlo

commit sha b0fe352735f849a8ed90eb68afb5c185c7c5db2a

Select common ancestor that can host variable

view details

Nicolas Carlo

commit sha 09b7e10afee17556b8724891708481c83fe4d03e

Update CHANGELOG

view details

push time in 6 days

PR opened nicoespeon/understandlegacycode.com

New blog post

To be released on July 15

+173 -0

0 comment

11 changed files

pr created time in 6 days

create barnchnicoespeon/understandlegacycode.com

branch : knowledge-map

created branch time in 6 days

create barnchnicoespeon/abracadabra

branch : extract-variable/fix-occurrences-scope

created branch time in 7 days

issue openednicoespeon/abracadabra

Split into multiple declarations

Is this request related to a problem? Please describe.

It can happen to have many declarations made together, and we may want to split them so we can treat them individually.

Describe the solution you'd like

const firstName = "Jane", lastName = "Doe";

Should become

const firstName = "Jane";
const lastName = "Doe";

Same for var and let keywords.

Additional context

This seems to be an easy refactoring to do: convert an existing Variable Declarator into multiple ones, one per declaration.

created time in 7 days

delete branch nicoespeon/abracadabra

delete branch : dependabot/npm_and_yarn/types/babel__traverse-7.0.12

delete time in 8 days

PR closed nicoespeon/abracadabra

Reviewers
Bump @types/babel__traverse from 7.0.9 to 7.0.12 dependencies

Bumps @types/babel__traverse from 7.0.9 to 7.0.12. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/babel__traverse">compare view</a></li> </ul> </details> <br />

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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

<details> <summary>Dependabot commands and options</summary> <br />

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 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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

</details>

+7 -7

1 comment

2 changed files

dependabot-preview[bot]

pr closed time in 8 days

pull request commentnicoespeon/abracadabra

Bump @types/babel__traverse from 7.0.9 to 7.0.12

Closing this one as we'll do that together with https://github.com/nicoespeon/abracadabra/pull/123

dependabot-preview[bot]

comment created time in 8 days

pull request commentnicoespeon/abracadabra

Bump @babel/traverse from 7.9.0 to 7.10.4

This one will be needed at some point if we want to keep upgrading parser versions. But it's tricky.

There's a type conflict that seems hard to resolve. For some reason, the latest types don't play well with current signatures.

There are a few valid type checks that can be solved with guard clauses, but the rest looks mostly like type issues.

The complex part is that we depend on @babel/traverse for the traversal, which depends on @babel/types itself. But we also depend on @babel/types. I made both of them in sync. On top of that, @babel/traverse doesn't have types so we get them from @types/babel__traverse, so that's another potential source of bad typings.

I spent a 30min timebox to resolve type issues without much luck. For some reason I don't understand, it doesn't appreciate we write NodePath alone anymore. It complains when we try to narrow down NodePath to SelectablePath<T>, although the type definition looks good to me. It's not a TS problem since the version didn't change. It's really about type definitions.

dependabot-preview[bot]

comment created time in 8 days

push eventnicoespeon/abracadabra

Nicolas Carlo

commit sha fe039e2179cead2862919f518f815b3cf583f87d

Upgrade @babel/types and type definitions They should be in sync if we want to have a chance to resolve conflicts

view details

push time in 8 days

push eventnicoespeon/abracadabra

dependabot-preview[bot]

commit sha ac66688e1b8e9d36167c361aa5e4d8f5bb7cb2ca

Bump husky from 2.3.0 to 4.2.5 Bumps [husky](https://github.com/typicode/husky) from 2.3.0 to 4.2.5. - [Release notes](https://github.com/typicode/husky/releases) - [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md) - [Commits](https://github.com/typicode/husky/compare/v2.3.0...v4.2.5) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

view details

Nicolas Carlo

commit sha 0e55d1553efc35b4ab074296f667ee3c42ae5753

Merge pull request #128 from nicoespeon/dependabot/npm_and_yarn/husky-4.2.5 Bump husky from 2.3.0 to 4.2.5

view details

push time in 8 days

delete branch nicoespeon/abracadabra

delete branch : dependabot/npm_and_yarn/husky-4.2.5

delete time in 8 days

PR merged nicoespeon/abracadabra

Reviewers
Bump husky from 2.3.0 to 4.2.5 dependencies

⚠️ Dependabot is rebasing this PR ⚠️

If you make any changes to it yourself then they will take precedence over the rebase.


Bumps husky from 2.3.0 to 4.2.5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/typicode/husky/releases">husky's releases</a>.</em></p> <blockquote> <h2>v4.2.5</h2> <ul> <li>Fix wrong error message <a href="https://github-redirect.dependabot.com/typicode/husky/issues/709">#709</a></li> <li>Update dependencies <a href="https://github-redirect.dependabot.com/typicode/husky/issues/710">#710</a></li> </ul> <h2>v4.2.4</h2> <ul> <li>When Node version is unsupported, log actual version in addition to the error message <a href="https://github-redirect.dependabot.com/typicode/husky/issues/701">#701</a></li> <li>Fix: support <code>cnpm</code> package manager <a href="https://github-redirect.dependabot.com/typicode/husky/issues/687">#687</a></li> <li>Fix: always use <code>sh</code> to run scripts and avoid inconsistencies <a href="https://github-redirect.dependabot.com/typicode/husky/issues/707">#707</a></li> <li>Fix: don't throw error if files are already removed during uninstall <a href="https://github-redirect.dependabot.com/typicode/husky/issues/708">#708</a></li> </ul> <h2>v4.2.3</h2> <ul> <li>Fix: check for <code>husky.config.js</code> not <code>.huskyrc.config.js</code> <a href="https://github-redirect.dependabot.com/typicode/husky/issues/669">#669</a></li> </ul> <h2>v4.2.2</h2> <ul> <li>Fix <a href="https://github-redirect.dependabot.com/typicode/husky/issues/662">#662</a> disable fast-skip heuristic for <code>.husky.js</code> and <code>.husky.config.js</code></li> <li>Fix do not install <code>update</code>, <code>pre/post-receive</code> hooks</li> </ul> <h2>v4.2.1</h2> <ul> <li>Fix: support spaces in path to husky.local.sh <a href="https://github-redirect.dependabot.com/typicode/husky/issues/658">#658</a></li> </ul> <h2>v4.2.0</h2> <ul> <li>Check Git version during install and log an error if it's <code><2.13.0</code></li> </ul> <h2>v4.1.0</h2> <ul> <li>Improve speed and refactor hooks</li> </ul> <h2>v4.0.9</h2> <ul> <li>Fix: read stdin from hook script (<a href="https://github-redirect.dependabot.com/typicode/husky/issues/645">#645</a>)</li> </ul> <h2>v4.0.7</h2> <ul> <li>Fix: Yarn when running inside <code>winpty</code> (<a href="https://github-redirect.dependabot.com/typicode/husky/issues/634">#634</a>)</li> </ul> <h2>v4.0.6</h2> <ul> <li>Revert change in v4.0.5</li> </ul> <h2>v4.0.5</h2> <ul> <li>Fix: use process.exit if install fails <a href="https://github-redirect.dependabot.com/typicode/husky/issues/633">#633</a></li> </ul> <h2>v4.0.4</h2> <ul> <li>Fix: npm ignore <code>.eslintrc.js</code> (<a href="https://github-redirect.dependabot.com/typicode/husky/issues/627">#627</a>)</li> </ul> <h2>v4.0.3</h2> <ul> <li>Fix: error message if trying to install in a non-git repo (<a href="https://github-redirect.dependabot.com/typicode/husky/issues/627">#627</a>)</li> </ul> <h2>v4.0.2</h2> <ul> <li>Fix: show error message when hook fails</li> </ul> <h2>v4.0.1</h2> <ul> <li>Fix: make Yarn silent. When Husky was installed with Yarn 1.21.1, hooks output was too verbose (<a href="https://github-redirect.dependabot.com/typicode/husky/issues/626">#626</a>).</li> </ul> <!-- raw HTML omitted --> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/typicode/husky/blob/master/CHANGELOG.md">husky's changelog</a>.</em></p> <blockquote> <h1>CHANGELOG</h1> <p>⚠️ <strong>Changes for <code>>=3</code> can now be found in <a href="https://github.com/typicode/husky/releases">https://github.com/typicode/husky/releases</a></strong></p> <h2>3.0.0</h2> <ul> <li>Fix HUSKY_SKIP_INSTALL=1 not skipping install</li> <li><strong>Breaking change</strong> husky requires now Git <code>>= 2.13.2</code>. If you're already using husky <code>v2</code> and don't use an old version of Git, you can safely upgrade.</li> </ul> <h2>2.7.0</h2> <p>Due to issues with Git <code>< 2.13.2</code>, this version is a rollback and is the same as husky <code>v2.4.1</code>. Changes introduced in <code>v2.5.0</code> and <code>v2.6.0</code> will be published in <code>v3.0.0</code>.</p> <h2>2.6.0</h2> <ul> <li>Optional <code>HUSKY_USE_YARN</code> setting to use Yarn to run Husky</li> <li>Add more debug information</li> <li>Show a warning for Node <code><= 8.6.0</code></li> </ul> <p><strong>Deprecated</strong></p> <h2>2.5.0</h2> <ul> <li>Use more accurate git hooks directory resolution</li> <li>Add <code>CWD</code> in debug messages</li> </ul> <p><strong>Deprecated</strong></p> <h2>2.4.1</h2> <ul> <li>Fix husky crash on install/uninstall with very old Node versions</li> </ul> <h2>2.4.0</h2> <ul> <li>Add <code>HUSKY_SKIP_HOOKS</code> to skip all hooks</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/typicode/husky/commit/85a47046c5cf1ae26072fbf39f5f01fdde1cae34"><code>85a4704</code></a> 4.2.5</li> <li><a href="https://github.com/typicode/husky/commit/5baf3d27fece8742df0fa4cb7461013a3752dbcd"><code>5baf3d2</code></a> lint fix</li> <li><a href="https://github.com/typicode/husky/commit/81f7d05b8a6325a5b84231f21d9fad76a9bb4ebe"><code>81f7d05</code></a> Prettier and deps update (<a href="https://github-redirect.dependabot.com/typicode/husky/issues/710">#710</a>)</li> <li><a href="https://github.com/typicode/husky/commit/a403be46e494a4dba61d826d291efff3f045cc60"><code>a403be4</code></a> fix wrong error message (<a href="https://github-redirect.dependabot.com/typicode/husky/issues/709">#709</a>)</li> <li><a href="https://github.com/typicode/husky/commit/17c012d0ac11210f0ab52b2ef62fdb0a77de3620"><code>17c012d</code></a> 4.2.4</li> <li><a href="https://github.com/typicode/husky/commit/b1d4c320751c1e02bef3c118b2df19a56f5d1696"><code>b1d4c32</code></a> Don't throw error during uninstall if file doesn't exist (<a href="https://github-redirect.dependabot.com/typicode/husky/issues/708">#708</a>)</li> <li><a href="https://github.com/typicode/husky/commit/4e1d440be7e3058036d24e7c5558c09448772af2"><code>4e1d440</code></a> fix: cnpm fails due to $packgeManager not matched (<a href="https://github-redirect.dependabot.com/typicode/husky/issues/687">#687</a>)</li> <li><a href="https://github.com/typicode/husky/commit/56c611d4a97f59e39aa574be8494e61d2bd6187a"><code>56c611d</code></a> Fix usage of SHELL environment variable can cause unexpected behavior <a href="https://github-redirect.dependabot.com/typicode/husky/issues/683">#683</a></li> <li><a href="https://github.com/typicode/husky/commit/cbacd2e85c4cbdbf0632997e9c771eabcea40456"><code>cbacd2e</code></a> npm audit fix</li> <li><a href="https://github.com/typicode/husky/commit/8bb9911ef64776b0df34621c6a893f6781e9ec8c"><code>8bb9911</code></a> Show runtime node version when exit (<a href="https://github-redirect.dependabot.com/typicode/husky/issues/701">#701</a>)</li> <li>Additional commits viewable in <a href="https://github.com/typicode/husky/compare/v2.3.0...v4.2.5">compare view</a></li> </ul> </details> <br />

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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

<details> <summary>Dependabot commands and options</summary> <br />

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 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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

</details>

+80 -84

0 comment

2 changed files

dependabot-preview[bot]

pr closed time in 8 days

push eventnicoespeon/abracadabra

dependabot-preview[bot]

commit sha 2bf67767341c3ad29e417f5007f481f726a375f2

Bump prettier from 1.17.1 to 2.0.5 Bumps [prettier](https://github.com/prettier/prettier) from 1.17.1 to 2.0.5. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/1.17.1...2.0.5) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

view details

Nicolas Carlo

commit sha 379813fffd14ff32551303f4b3c673d6c7dea77e

Run prettier over the project

view details

Nicolas Carlo

commit sha 47b7049892c82ecbf82390a93414979357859e1b

Merge pull request #129 from nicoespeon/dependabot/npm_and_yarn/prettier-2.0.5 Bump prettier from 1.17.1 to 2.0.5

view details

push time in 8 days

delete branch nicoespeon/abracadabra

delete branch : dependabot/npm_and_yarn/prettier-2.0.5

delete time in 8 days

PR merged nicoespeon/abracadabra

Reviewers
Bump prettier from 1.17.1 to 2.0.5 dependencies

Bumps prettier from 1.17.1 to 2.0.5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/prettier/prettier/releases">prettier's releases</a>.</em></p> <blockquote> <h2>2.0.5</h2> <p><a href="https://github.com/prettier/prettier/blob/master/CHANGELOG.md#205">🔗 Changelog</a></p> <h2>2.0.4</h2> <p><a href="https://github.com/prettier/prettier/blob/master/CHANGELOG.md#204">🔗 Changelog</a></p> <h2>2.0.3</h2> <p><a href="https://github.com/prettier/prettier/blob/master/CHANGELOG.md#203">🔗 Changelog</a></p> <h2>2.0.2</h2> <p><a href="https://github.com/prettier/prettier/blob/master/CHANGELOG.md#202">🔗 Changelog</a></p> <h2>2.0.1</h2> <p><a href="https://github.com/prettier/prettier/blob/master/CHANGELOG.md#201">🔗 Changelog</a></p> <h2>2.0.0</h2> <p><a href="https://github.com/prettier/prettier/compare/1.19.1...2.0.0">diff</a></p> <p>🔗 <a href="https://prettier.io/blog/2020/03/21/2.0.0.html">Release Notes</a></p> <h2>1.19.1</h2> <p><a href="https://github.com/prettier/prettier/blob/master/CHANGELOG.md#1191">🔗 Changelog</a></p> <h2>Prettier 1.19: Long awaited Vue option, TypeScript 3.7 and new JavaScript features</h2> <p>🔗 <a href="https://prettier.io/blog/2019/11/09/1.19.0.html">Release Notes</a></p> <h2>1.18.2</h2> <p><a href="https://github.com/prettier/prettier/blob/master/CHANGELOG.md#1182">🔗 Changelog</a></p> <h2>1.18.1</h2> <p><a href="https://github.com/prettier/prettier/blob/master/CHANGELOG.md#1181">🔗 Changelog</a></p> <h2>Prettier 1.18.0</h2> <p>🔗 <a href="https://prettier.io/blog/2019/06/06/1.18.0.html">Release Notes</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/prettier/prettier/blob/master/CHANGELOG.md">prettier's changelog</a>.</em></p> <blockquote> <h1>2.0.5</h1> <p><a href="https://github.com/prettier/prettier/compare/2.0.4...2.0.5">diff</a></p> <h4>Less: Fix formatting of <code>:extend</code> (<a href="https://github-redirect.dependabot.com/prettier/prettier/pull/7984">#7984</a> by <a href="https://github.com/fisker">@fisker</a>)</h4> <!-- raw HTML omitted --> <pre lang="less"><code>// Input .class { &:extend(.some-class .some-other-class .some-very-loooooooooooooong-class all); } <p>// Prettier 2.0.4 .class { &:extend( .some-class .some-other-class .some-very-loooooooooooooong-class all ); }</p> <p>// Prettier 2.0.4 (Second format) .class { &: extend( .some-class .some-other-class .some-very-loooooooooooooong-class all ); }</p> <p>// Prettier 2.0.5 .class { &:extend( .some-class .some-other-class .some-very-loooooooooooooong-class all ); } </code></pre></p> <h4>Editor integration: Use <a href="https://www.npmjs.com/package/resolve"><code>resolve</code></a> if builtin <code>require.resolve</code> is overridden (<a href="https://github-redirect.dependabot.com/prettier/prettier/pull/8072">#8072</a> by <a href="https://github.com/fisker">@fisker</a>)</h4> <p>This fixes issues that the users of Atom and WebStorm faced with 2.0.4.</p> <p>Prettier now switches to using the <code>resolve</code> module for resolving configuration files and plugins if it detects that <code>require.resolve</code> isn't Node's builtin function (doesn't support the second argument), which happens in environments like editor extensions. To force the fallback, set the <code>PRETTIER_FALLBACK_RESOLVE</code> environment variable to <code>true</code>.</p> <h1>2.0.4</h1> <p><a href="https://github.com/prettier/prettier/compare/2.0.3...2.0.4">diff</a></p> <h4>Revert <a href="https://github-redirect.dependabot.com/prettier/prettier/pull/7869">#7869</a>, "[TypeScript] format TSAsExpression with same logic as BinaryExpression" (<a href="https://github-redirect.dependabot.com/prettier/prettier/pull/7958">#7958</a>)</h4> <h1>2.0.3</h1> <p><a href="https://github.com/prettier/prettier/compare/2.0.2...2.0.3">diff</a></p> <!-- raw HTML omitted --> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/prettier/prettier/commit/6b22977cb56127cc10e04425b0eca7c5eb304e6e"><code>6b22977</code></a> Release 2.0.5</li> <li><a href="https://github.com/prettier/prettier/commit/c65606f0a389d01180ee83b421d60d43a509bbb8"><code>c65606f</code></a> Bump resolve from 1.16.0 to 1.16.1 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/8099">#8099</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/6ad8a7fef31c77bc167077750e072ab992937a2e"><code>6ad8a7f</code></a> Use <code>resolve</code> if <code>require.resolve</code> is overridden (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/8072">#8072</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/3ce819d72f5ab80be8c85f1956c66caae9a1a385"><code>3ce819d</code></a> chore: ignore test*.js in eslint and ts configs</li> <li><a href="https://github.com/prettier/prettier/commit/eaca5dbe2683d0eca21e6ac57c42cd57f4085397"><code>eaca5db</code></a> Correct <code>standalone test</code> environment variable (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/8080">#8080</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/fc5f5462eaa2cb4bec49e6fb44ba1c48b071afaf"><code>fc5f546</code></a> Simplify production tests (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/8075">#8075</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/71fbd6149a00c304202c2f29937fffceaf06eb56"><code>71fbd61</code></a> Refactor production tests (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/8073">#8073</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/58905cdf579bde69610c45d4b3cfaf939c664d47"><code>58905cd</code></a> chore: update .gitignore and tsconfig.json</li> <li><a href="https://github.com/prettier/prettier/commit/1bfef8120622bf64ee8cce12e087a91303133a83"><code>1bfef81</code></a> Fix unexpected GitHub Actions failures (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/7980">#7980</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/2a9f65104d0800e9c1222471b7f5cb2391ac1f49"><code>2a9f651</code></a> Enable GitHub Actions for a patch-release branch (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/8024">#8024</a>)</li> <li>Additional commits viewable in <a href="https://github.com/prettier/prettier/compare/1.17.1...2.0.5">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~thorn0">thorn0</a>, a new releaser for prettier since your current version.</p> </details> <br />

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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

<details> <summary>Dependabot commands and options</summary> <br />

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 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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

</details>

+91 -91

0 comment

34 changed files

dependabot-preview[bot]

pr closed time in 8 days

push eventnicoespeon/abracadabra

Nicolas Carlo

commit sha 379813fffd14ff32551303f4b3c673d6c7dea77e

Run prettier over the project

view details

push time in 8 days

issue commentnicoespeon/gitgraph.js

Black arrow was rendered incorrectly when created branch from another branch

Thanks @S1ngS1ng 👍

I won't have time to dig into this personally but that surely will be helpful. The arrow path calculation seems to be the culprit indeed.

longgt

comment created time in 8 days

push eventnicoespeon/understandlegacycode.com

Nicolas Carlo

commit sha 0609ad0f5b2861a76c663319b19393d2f8cb461c

Add .nvmrc

view details

Nicolas Carlo

commit sha e43326a07b6b62ea92fe7dab6abdfdaa8d43b997

New blog post

view details

push time in 8 days

issue commentnicoespeon/sass-graph-viz

how to eliminate the overlapping of file nodes on the tree? tried to pull aways, but bounce back to overlap

That's amazing, thank you @kerryj89 for sharing ❤️

SueCheng

comment created time in 10 days

issue closednicoespeon/abracadabra

Upgrade Recast and other dependencies to fix bugs

I ran into a bug that happened to be due to Recast. It's fixed in a newer version.

https://github.com/facebook/jscodeshift/issues/330 https://github.com/benjamn/recast/pull/613

It might also be worth upgrading other dependencies. I'm still running into that export default bug 😒 .

I had a go at doing it myself but ran into loads of type errors which I'm not sure how to fix.

closed time in 10 days

OliverJAsh

issue commentnicoespeon/abracadabra

Upgrade Recast and other dependencies to fix bugs

This has been fixed by #122 (thank you Dependabot!)

There were no failing test, everything looks good on master 👍

OliverJAsh

comment created time in 10 days

issue commentnicoespeon/abracadabra

Emojis in code fixes menu hurt accessibility

TIL you could do that! Thank you @OliverJAsh 👍

I put the emoji at the end. FYI, I use an emoji so it's easy to distinct Abracadabra Quick Fixes vs. others that could eventually be provided by other extensions (I used to have others installed and the emojis were handy).

OliverJAsh

comment created time in 10 days

push eventnicoespeon/abracadabra

Nicolas Carlo

commit sha fb3b851b558c9dce0101a99ba6fb816bdff05450

Put ✨ at the end of Quick Fix label Fixes #117

view details

Nicolas Carlo

commit sha 9152793f334355c5c814949153a50844b8277170

Update VS Code settings for editor colors

view details

push time in 10 days

issue closednicoespeon/abracadabra

Emojis in code fixes menu hurt accessibility

Describe the bug

A clear and concise description of what the bug is.

How to reproduce

  1. Open a code fix menu with multiple suggestions, e..g
  2. Type a letter

image

Expected behavior

Focus should move to the first entry beginning with that letter. In this case, if we type "a", it should focus "Add braces to arrow function".

This doesn't happen because all of the menu items begin with an emoji rather than a letter.

Screenshots

See above.

Additional information

This is standard OS behaviour for filtering dropdown menus.

closed time in 10 days

OliverJAsh

issue commentnicoespeon/abracadabra

New refactoring: Convert function reference to arrow function

From the identifier we might be able to get the type indeed. We can get this with TS for example.

automatensalat

comment created time in 13 days

issue commentnicoespeon/abracadabra

Upgrade Recast and other dependencies to fix bugs

Sure thing. I just installed dependabot to start keeping the dependencies up-to-date.

Of course, some upgrades might break code and we'll have to adapt to the breaking changes to make it work. But we can totally do 👍

OliverJAsh

comment created time in 13 days

push eventnicoespeon/abracadabra

dependabot-preview[bot]

commit sha 729ad2302107bf3986484cb71f31571895b5a76c

Bump tslint from 5.12.1 to 6.1.2 Bumps [tslint](https://github.com/palantir/tslint) from 5.12.1 to 6.1.2. - [Release notes](https://github.com/palantir/tslint/releases) - [Changelog](https://github.com/palantir/tslint/blob/master/CHANGELOG.md) - [Commits](https://github.com/palantir/tslint/compare/5.12.1...6.1.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

view details

Nicolas Carlo

commit sha c12ce6f6c725c36f631ecac6adda2e8cca760c45

Merge pull request #124 from nicoespeon/dependabot/npm_and_yarn/tslint-6.1.2 Bump tslint from 5.12.1 to 6.1.2

view details

push time in 13 days

delete branch nicoespeon/abracadabra

delete branch : dependabot/npm_and_yarn/tslint-6.1.2

delete time in 13 days

PR merged nicoespeon/abracadabra

Reviewers
Bump tslint from 5.12.1 to 6.1.2 dependencies

Bumps tslint from 5.12.1 to 6.1.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/palantir/tslint/releases">tslint's releases</a>.</em></p> <blockquote> <h2>v6.1.2</h2> <ul> <li>[bugfix] restore typings compatibility with TS < 3.8 (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4933">#4933</a>)</li> </ul> <h2>v6.1.1</h2> <ul> <li>[bugfix] upgrade mkdirp dependency to <code>^0.5.3</code> (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4918">#4918</a>)</li> </ul> <h2>v6.1.0</h2> <ul> <li>[enhancement] Upgrade to TypeScript 3.8, support new syntax (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4915">#4915</a>)</li> <li>[docs] <a href="https://palantir.github.io/tslint/rules/no-object-literal-type-assertion/"><code>no-object-literal-type-assertion</code></a> fix typo in rule description (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4911">#4911</a>)</li> </ul> <p>Thanks to our contributors!</p> <ul> <li>Daniel Zwelling</li> <li>Ryan Delaney</li> </ul> <h2>v6.0.0</h2> <p>⚠️ <em>Note</em>: This version has been marked as deprecated on NPM to encourage users to migrate to ESLint.</p> <ul> <li>[bugfix] fix <code>enforce-trailing-newline</code> option in <a href="https://palantir.github.io/tslint/rules/file-header/"><code>file-header</code></a> rule (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4890">#4890</a>)</li> <li>[bugfix] avoid writing to temp files with <code>writeFileSync</code> on macOS 10.15 (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4887">#4887</a>)</li> <li>[bugfix] fix crash in <a href="https://palantir.github.io/tslint/rules/completed/"><code>completed-docs</code></a> rule when tag contents are undefined (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4895">#4895</a>)</li> <li>[docs] fix example code of Radix rule (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4892">#4892</a>)</li> <li>[docs] Add missing colon after <code>[error]</code> in testing rules documentation (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4903">#4903</a>)</li> </ul> <p>Thanks to our contributors!</p> <ul> <li>Ivan Sorokin</li> <li>Tanmoy Bhowmik</li> <li>Meng Wang</li> <li>Jay Bhagat</li> <li>Aman Sharma</li> <li>Josh Goldberg</li> </ul> <h2>v6.0.0-beta1</h2> <p>No changes from v6.0.0-beta0, just re-released to correctly mark with the <code>beta</code> dist-tags on NPM.</p> <h2>v6.0.0-beta0</h2> <ul> <li>:fire: BREAKING CHANGES :fire: <ul> <li>[api] Changed default formatter to stylish (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4872">#4872</a>)</li> <li>[enhancement] Removed formatting and whitespace rules from <code>tslint:recommended</code> configuration (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4871">#4871</a>)</li> <li>[enhancement] Removed pedantic rules from <code>tslint:recommended</code> configuration (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4312">#4312</a>)</li> <li>[enhancement] <code>vso</code> formatter now reports severity of rule failures (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4286">#4286</a>)</li> <li>[enhancement] <a href="https://palantir.github.io/tslint/rules/typedef/"><code>typedef</code></a> rule <code>arrow-call-signature</code> option is more consistent in reporting errors on lambdas and will flag more violations that were missed in the previous rule implementation (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4533">#4533</a>)</li> <li>[bugfix] <a href="https://palantir.github.io/tslint/rules/ordered-imports/"><code>ordered-imports</code></a> is now consistent with TypeScript's Organise Imports ordering (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4064">#4064</a>)</li> <li>[bugfix] <a href="https://palantir.github.io/tslint/rules/member-ordering/"><code>member-ordering</code></a> now checks property accessors (getters and setters) (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/3984">#3984</a>)</li> </ul> </li> <li>Other changes <ul> <li>[bugfix] Removed deprecated rules from <code>tslint:all</code> configuration (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4862">#4862</a>)</li> <li>[bugfix] Preserve significant zeros in fixer for number-literal-format (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4856">#4856</a>)</li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/palantir/tslint/blob/master/CHANGELOG.md">tslint's changelog</a>.</em></p> <blockquote> <h2>v6.1.2</h2> <ul> <li>[bugfix] restore typings compatibility with TS < 3.8 (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4933">#4933</a>)</li> </ul> <h2>v6.1.1</h2> <ul> <li>[bugfix] upgrade mkdirp dependency to <code>^0.5.3</code> (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4918">#4918</a>)</li> </ul> <h2>v6.1.0</h2> <ul> <li>[enhancement] Upgrade to TypeScript 3.8, support new syntax (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4915">#4915</a>)</li> <li>[docs]<a href="https://palantir.github.io/tslint/rules/no-object-literal-type-assertion/"><code>no-object-literal-type-assertion</code></a> fix typo in rule description (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4911">#4911</a>)</li> </ul> <p>Thanks to our contributors!</p> <ul> <li>Daniel Zwelling</li> <li>Ryan Delaney</li> </ul> <h2>v6.0.0</h2> <p>This version has been marked as deprecated on NPM to encourage users to migrate to ESLint.</p> <ul> <li>[bugfix] fix <code>enforce-trailing-newline</code> option in <a href="https://palantir.github.io/tslint/rules/file-header/"><code>file-header</code></a> rule (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4890">#4890</a>)</li> <li>[bugfix] avoid writing to temp files with <code>writeFileSync</code> on macOS 10.15 (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4887">#4887</a>)</li> <li>[bugfix] fix crash in <a href="https://palantir.github.io/tslint/rules/completed/"><code>completed-docs</code></a> rule when tag contents are undefined (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4895">#4895</a>)</li> <li>[docs] fix example code of Radix rule (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4892">#4892</a>)</li> <li>[docs] Add missing colon after <code>[error]</code> in testing rules documentation (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4903">#4903</a>)</li> </ul> <p>Thanks to our contributors!</p> <ul> <li>Ivan Sorokin</li> <li>Tanmoy Bhowmik</li> <li>Meng Wang</li> <li>Jay Bhagat</li> <li>Aman Sharma</li> <li>Josh Goldberg</li> </ul> <h2>v6.0.0-beta1</h2> <p>No changes from v6.0.0-beta0, just re-released to correctly mark with the <code>beta</code> and <code>next</code> dist-tags on NPM.</p> <h2>v6.0.0-beta0</h2> <ul> <li>:fire: BREAKING CHANGES :fire: <ul> <li>[api] Changed default formatter to stylish (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4872">#4872</a>)</li> <li>[enhancement] Removed formatting and whitespace rules from <code>tslint:recommended</code> configuration (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4871">#4871</a>)</li> <li>[enhancement] Removed pedantic rules from <code>tslint:recommended</code> configuration (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4312">#4312</a>)</li> <li>[enhancement] <code>vso</code> formatter now reports severity of rule failures (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4286">#4286</a>)</li> <li>[enhancement]<a href="https://palantir.github.io/tslint/rules/typedef/"><code>typedef</code></a> rule <code>arrow-call-signature</code> option is more consistent in reporting errors on lambdas and will flag more violations that were missed in the previous rule implementation (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4533">#4533</a>)</li> <li>[bugfix]<a href="https://palantir.github.io/tslint/rules/ordered-imports/"><code>ordered-imports</code></a> is now consistent with TypeScript's Organise Imports ordering (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4064">#4064</a>)</li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/palantir/tslint/commit/24d29e421828348f616bf761adb3892bcdf51662"><code>24d29e4</code></a> Prepare release v6.1.2</li> <li><a href="https://github.com/palantir/tslint/commit/4218876008f45892ed5707ca3c74148c8b55384d"><code>4218876</code></a> chore: format changelog with prettier</li> <li><a href="https://github.com/palantir/tslint/commit/700f2238ad4e69c0f6515bcf9d29f7407c18e260"><code>700f223</code></a> fix(typings): restore compatibility with TS<3.8 (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4933">#4933</a>)</li> <li><a href="https://github.com/palantir/tslint/commit/a66f3b3430b4d3f03ff93fcef94609b88809d4e1"><code>a66f3b3</code></a> chore: use bug report template for all issues (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4927">#4927</a>)</li> <li><a href="https://github.com/palantir/tslint/commit/8efa78e35a88b62775ce3c9bf0fa00586b0d34e1"><code>8efa78e</code></a> Prepare release v6.1.1</li> <li><a href="https://github.com/palantir/tslint/commit/ead6583da98a8a6d3eba4e27793bef02e4c30a99"><code>ead6583</code></a> Bump mkdirp dependency to 0.5.3 (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4918">#4918</a>)</li> <li><a href="https://github.com/palantir/tslint/commit/0ebda9b11a4fe7f27f6eb25aedc552960ca584c6"><code>0ebda9b</code></a> Prepare release v6.1.0</li> <li><a href="https://github.com/palantir/tslint/commit/cf2f4544c4f47654ffa03df25a4ce4b314867dcb"><code>cf2f454</code></a> Upgrade to TypeScript 3.8 (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4915">#4915</a>)</li> <li><a href="https://github.com/palantir/tslint/commit/51db50e58036757fd8ad3dd50904871873e65407"><code>51db50e</code></a> chore: bump supported versions of Node and TypeScript in CI (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4916">#4916</a>)</li> <li><a href="https://github.com/palantir/tslint/commit/541bfed1b4597cf7e8e21b435c6889276ac2f17d"><code>541bfed</code></a> fix(no-object-literal-type-assertion): typo in rule description (<a href="https://github-redirect.dependabot.com/palantir/tslint/issues/4911">#4911</a>)</li> <li>Additional commits viewable in <a href="https://github.com/palantir/tslint/compare/5.12.1...6.1.2">compare view</a></li> </ul> </details> <br />

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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

<details> <summary>Dependabot commands and options</summary> <br />

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 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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

</details>

+35 -76

0 comment

2 changed files

dependabot-preview[bot]

pr closed time in 13 days

push eventnicoespeon/abracadabra

dependabot-preview[bot]

commit sha 6683c09470a3f021a4bb741a8867c4d6e4dbe5f4

Bump recast from 0.18.1 to 0.19.1 Bumps [recast](https://github.com/benjamn/recast) from 0.18.1 to 0.19.1. - [Release notes](https://github.com/benjamn/recast/releases) - [Commits](https://github.com/benjamn/recast/compare/v0.18.1...v0.19.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

view details

Nicolas Carlo

commit sha 74389763e19070d0a26fe37efd6256231b7633e6

Merge pull request #122 from nicoespeon/dependabot/npm_and_yarn/recast-0.19.1 Bump recast from 0.18.1 to 0.19.1

view details

push time in 14 days

delete branch nicoespeon/abracadabra

delete branch : dependabot/npm_and_yarn/recast-0.19.1

delete time in 14 days

PR merged nicoespeon/abracadabra

Reviewers
Bump recast from 0.18.1 to 0.19.1 dependencies

Bumps recast from 0.18.1 to 0.19.1. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/benjamn/recast/commit/83a8f83703f0739e6105389a64d318fdff6534ef"><code>83a8f83</code></a> 0.19.1</li> <li><a href="https://github.com/benjamn/recast/commit/4dc53b7c9e2d4eacdb799133214b219470a581c4"><code>4dc53b7</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/benjamn/recast/issues/709">#709</a> from benjamn/fix/account-for-invalid-shorthand-proper...</li> <li><a href="https://github.com/benjamn/recast/commit/fc2fe3e984c2e98bd95ed3b4729c94eed275daf2"><code>fc2fe3e</code></a> fix: account for invalid shorthand properties</li> <li><a href="https://github.com/benjamn/recast/commit/620021f4126b006c847cf6af8eae39029c9e68f4"><code>620021f</code></a> 0.19.0</li> <li><a href="https://github.com/benjamn/recast/commit/e35691972f7436705e84cfaa0b89e1af025a7c71"><code>e356919</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/benjamn/recast/issues/676">#676</a> from shuerguo999/master</li> <li><a href="https://github.com/benjamn/recast/commit/15d7cd6f6e1ee9acf5247676b9e4e9801dac7e4d"><code>15d7cd6</code></a> test: expand testing of JSX to esprima</li> <li><a href="https://github.com/benjamn/recast/commit/bdc0d811406818d67609709cc895d16a34c0147f"><code>bdc0d81</code></a> feat: recast:esprima supports jsx</li> <li><a href="https://github.com/benjamn/recast/commit/9a96434758a0094feb50c3b61b0c56c648ec807a"><code>9a96434</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/benjamn/recast/issues/695">#695</a> from zxbodya/babel-7.9</li> <li><a href="https://github.com/benjamn/recast/commit/851be95e212be54d396c6112fde4da030bb53dc4"><code>851be95</code></a> 0.18.10</li> <li><a href="https://github.com/benjamn/recast/commit/dca933f257e654e2f9ac2f2a03a31eb583bc89c0"><code>dca933f</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/benjamn/recast/issues/694">#694</a> from zxbodya/add-missing-parentheses-in-arrow-fusion-...</li> <li>Additional commits viewable in <a href="https://github.com/benjamn/recast/compare/v0.18.1...v0.19.1">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~eventualbuddha">eventualbuddha</a>, a new releaser for recast since your current version.</p> </details> <br />

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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

<details> <summary>Dependabot commands and options</summary> <br />

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 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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

</details>

+10 -10

0 comment

2 changed files

dependabot-preview[bot]

pr closed time in 14 days

push eventnicoespeon/abracadabra

dependabot-preview[bot]

commit sha bc46776155a292dbb5ff0961239c724928305351

Bump @babel/parser from 7.9.4 to 7.10.4 Bumps [@babel/parser](https://github.com/babel/babel/tree/HEAD/packages/babel-parser) from 7.9.4 to 7.10.4. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.10.4/packages/babel-parser) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

view details

Nicolas Carlo

commit sha 7b000ef22424a05b3f060e5949837bdfbf666604

Merge pull request #125 from nicoespeon/dependabot/npm_and_yarn/babel/parser-7.10.4 Bump @babel/parser from 7.9.4 to 7.10.4

view details

push time in 14 days

delete branch nicoespeon/abracadabra

delete branch : dependabot/npm_and_yarn/babel/parser-7.10.4

delete time in 14 days

PR merged nicoespeon/abracadabra

Reviewers
Bump @babel/parser from 7.9.4 to 7.10.4 dependencies

Bumps @babel/parser from 7.9.4 to 7.10.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/babel/babel/releases">@babel/parser's releases</a>.</em></p> <blockquote> <h2>v7.10.4 (2020-06-30)</h2> <p>Thanks <a href="https://github.com/penguingovernor">@penguingovernor</a>, <a href="https://github.com/sajadtorkamani">@sajadtorkamani</a> and <a href="https://github.com/wojtekmaj">@wojtekmaj</a> for their first PRs!</p> <h4>:eyeglasses: Spec Compliance</h4> <ul> <li><code>babel-helper-member-expression-to-functions</code>, <code>babel-plugin-proposal-class-properties</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11669">#11669</a> Add <code>delete obj?.#x.a</code> support (<a href="https://github.com/JLHwung">@JLHwung</a>)</li> </ul> </li> <li><code>babel-parser</code>, <code>babel-types</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11652">#11652</a> fix: implement early errors for record and tuple (<a href="https://github.com/JLHwung">@JLHwung</a>)</li> </ul> </li> </ul> <h4>:bug: Bug Fix</h4> <ul> <li><code>babel-types</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11752">#11752</a> [regression] Don't validate file.comments in <code>@babel/types</code> (<a href="https://github.com/nicolo-ribaudo">@nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-plugin-proposal-do-expressions</code>, <code>babel-types</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11724">#11724</a> fix: do-statementlist behavior (<a href="https://github.com/wlawt">@wlawt</a>)</li> </ul> </li> </ul> <h4>:nail_care: Polish</h4> <ul> <li><code>babel-parser</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11722">#11722</a> Add better parser error when using jsx (<a href="https://github.com/penguingovernor">@penguingovernor</a>)</li> </ul> </li> <li><code>babel-core</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11544">#11544</a> Refine babel core types (<a href="https://github.com/JLHwung">@JLHwung</a>)</li> </ul> </li> </ul> <h4>:house: Internal</h4> <ul> <li><code>babel-core</code>, <code>babel-helper-fixtures</code>, <code>babel-standalone</code>, <code>babel-traverse</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11758">#11758</a> Replace non-inclusive "whitelist" and "blacklist" terms with "allowlist" etc. (<a href="https://github.com/wojtekmaj">@wojtekmaj</a>)</li> </ul> </li> <li><code>babel-parser</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11376">#11376</a> Add @babel/eslint-plugin-development-internal (<a href="https://github.com/kaicataldo">@kaicataldo</a>)</li> </ul> </li> <li><code>babel-core</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11544">#11544</a> Refine babel core types (<a href="https://github.com/JLHwung">@JLHwung</a>)</li> </ul> </li> </ul> <h4>Committers: 7</h4> <ul> <li>Huáng Jùnliàng (<a href="https://github.com/JLHwung">@JLHwung</a>)</li> <li>Jorge Henriquez (<a href="https://github.com/penguingovernor">@penguingovernor</a>)</li> <li>Kai Cataldo (<a href="https://github.com/kaicataldo">@kaicataldo</a>)</li> <li>Nicolò Ribaudo (<a href="https://github.com/nicolo-ribaudo">@nicolo-ribaudo</a>)</li> <li>Simon Kotwicz (<a href="https://github.com/simonkotwicz">@simonkotwicz</a>)</li> <li>William Law (<a href="https://github.com/wlawt">@wlawt</a>)</li> <li>Wojciech Maj (<a href="https://github.com/wojtekmaj">@wojtekmaj</a>)</li> </ul> <h2>v7.10.3 (2020-06-19)</h2> <p>Thanks <a href="https://github.com/AjayPoshak">@AjayPoshak</a>, <a href="https://github.com/jessethomson">@jessethomson</a>, <a href="https://github.com/sajadtorkamani">@sajadtorkamani</a>, <a href="https://github.com/shaodahong">@shaodahong</a> and <a href="https://github.com/wlawt">@wlawt</a> for their first PRs!</p> <h4>:eyeglasses: Spec Compliance</h4> <ul> <li><code>babel-parser</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11676">#11676</a> Properly parse <code>export default from</code> when <code>exportDefaultFrom</code> is not enabled (<a href="https://github.com/JLHwung">@JLHwung</a>)</li> </ul> </li> <li><code>babel-helper-member-expression-to-functions</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-proposal-optional-chaining</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11662">#11662</a> refactor: do not rely on AST extra properties in plugins (<a href="https://github.com/JLHwung">@JLHwung</a>)</li> </ul> </li> <li><code>babel-plugin-proposal-logical-assignment-operators</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11658">#11658</a> Perform NamedEvaluation of Anonymous Functions in Logical Assignment (<a href="https://github.com/jridgewell">@jridgewell</a>)</li> </ul> </li> <li><code>babel-helper-create-class-features-plugin</code>, <code>babel-helper-member-expression-to-functions</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-proposal-optional-chaining</code></li> </ul> <!-- raw HTML omitted --> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/babel/babel/blob/main/CHANGELOG.md">@babel/parser's changelog</a>.</em></p> <blockquote> <h2>v7.10.4 (2020-06-30)</h2> <h4>:eyeglasses: Spec Compliance</h4> <ul> <li><code>babel-helper-member-expression-to-functions</code>, <code>babel-plugin-proposal-class-properties</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11669">#11669</a> Add <code>delete obj?.#x.a</code> support (<a href="https://github.com/JLHwung">@JLHwung</a>)</li> </ul> </li> <li><code>babel-parser</code>, <code>babel-types</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11652">#11652</a> fix: implement early errors for record and tuple (<a href="https://github.com/JLHwung">@JLHwung</a>)</li> </ul> </li> </ul> <h4>:bug: Bug Fix</h4> <ul> <li><code>babel-types</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11752">#11752</a> [regression] Don't validate file.comments in <code>@babel/types</code> (<a href="https://github.com/nicolo-ribaudo">@nicolo-ribaudo</a>)</li> </ul> </li> <li><code>babel-plugin-proposal-do-expressions</code>, <code>babel-types</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11724">#11724</a> fix: do-statementlist behavior (<a href="https://github.com/wlawt">@wlawt</a>)</li> </ul> </li> </ul> <h4>:nail_care: Polish</h4> <ul> <li><code>babel-parser</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11722">#11722</a> Add better parser error when using jsx (<a href="https://github.com/penguingovernor">@penguingovernor</a>)</li> </ul> </li> <li><code>babel-core</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11544">#11544</a> Refine babel core types (<a href="https://github.com/JLHwung">@JLHwung</a>)</li> </ul> </li> </ul> <h4>:house: Internal</h4> <ul> <li><code>babel-core</code>, <code>babel-helper-fixtures</code>, <code>babel-standalone</code>, <code>babel-traverse</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11758">#11758</a> Replace non-inclusive "whitelist" and "blacklist" terms with "allowlist" etc. (<a href="https://github.com/wojtekmaj">@wojtekmaj</a>)</li> </ul> </li> <li><code>babel-parser</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11376">#11376</a> Add @babel/eslint-plugin-development-internal (<a href="https://github.com/kaicataldo">@kaicataldo</a>)</li> </ul> </li> <li><code>babel-core</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11544">#11544</a> Refine babel core types (<a href="https://github.com/JLHwung">@JLHwung</a>)</li> </ul> </li> </ul> <h2>v7.10.3 (2020-06-19)</h2> <h4>:eyeglasses: Spec Compliance</h4> <ul> <li><code>babel-parser</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11676">#11676</a> Properly parse <code>export default from</code> when <code>exportDefaultFrom</code> is not enabled (<a href="https://github.com/JLHwung">@JLHwung</a>)</li> </ul> </li> <li><code>babel-helper-member-expression-to-functions</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-proposal-optional-chaining</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11662">#11662</a> refactor: do not rely on AST extra properties in plugins (<a href="https://github.com/JLHwung">@JLHwung</a>)</li> </ul> </li> <li><code>babel-plugin-proposal-logical-assignment-operators</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11658">#11658</a> Perform NamedEvaluation of Anonymous Functions in Logical Assignment (<a href="https://github.com/jridgewell">@jridgewell</a>)</li> </ul> </li> <li><code>babel-helper-create-class-features-plugin</code>, <code>babel-helper-member-expression-to-functions</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-proposal-optional-chaining</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11623">#11623</a> fix: ensure (a?.b)() has proper this (<a href="https://github.com/JLHwung">@JLHwung</a>)</li> </ul> </li> </ul> <h4>:bug: Bug Fix</h4> <ul> <li><code>babel-parser</code>, <code>babel-plugin-transform-flow-comments</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11697">#11697</a> Fix innercomments (<a href="https://github.com/shaodahong">@shaodahong</a>)</li> </ul> </li> <li><code>babel-helper-member-expression-to-functions</code>, <code>babel-plugin-proposal-class-properties</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11703">#11703</a> fix:added check for forXstatement pattern (<a href="https://github.com/wlawt">@wlawt</a>)</li> </ul> </li> <li><code>babel-template</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11695">#11695</a> Allow templates to parse v8intrinsics (<a href="https://github.com/jridgewell">@jridgewell</a>)</li> </ul> </li> <li><code>babel-types</code> <ul> <li><a href="https://github-redirect.dependabot.com/babel/babel/pull/11687">#11687</a> improve node type definitions to avoid any's in generated types (<a href="https://github.com/zxbodya">@zxbodya</a>)</li> </ul> </li> <li><code>babel-plugin-transform-react-pure-annotations</code></li> </ul> <!-- raw HTML omitted --> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/babel/babel/commit/7fd40d86a0d03ff0e9c3ea16b29689945433d4df"><code>7fd40d8</code></a> v7.10.4</li> <li><a href="https://github.com/babel/babel/commit/75c2300c28618f8378ff07ef2800c6f24c11c451"><code>75c2300</code></a> Add @babel/eslint-plugin-development-internal (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-parser/issues/11376">#11376</a>)</li> <li><a href="https://github.com/babel/babel/commit/beca7e2d8e664ec681fcc7481daec171d962cae2"><code>beca7e2</code></a> Add better parser error when using jsx (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-parser/issues/11722">#11722</a>)</li> <li><a href="https://github.com/babel/babel/commit/30835f14db118209f0c1294ce4647a571bd5a8a8"><code>30835f1</code></a> fix: implement early errors for record and tuple (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-parser/issues/11652">#11652</a>)</li> <li><a href="https://github.com/babel/babel/commit/2787ee2f967b6d8e1121fca00a8d578d75449a53"><code>2787ee2</code></a> v7.10.3</li> <li><a href="https://github.com/babel/babel/commit/eea156b2cb8deecfcf82d52aa1b71ba4995c7d68"><code>eea156b</code></a> Migrate from "master" branch to "main" (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-parser/issues/11715">#11715</a>)</li> <li><a href="https://github.com/babel/babel/commit/e15a5c75090bbca24d280f135a0a30443d69601b"><code>e15a5c7</code></a> Fix innercomments (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-parser/issues/11697">#11697</a>)</li> <li><a href="https://github.com/babel/babel/commit/b27abd39a8b07f751eaf405244cfe9edbea3771d"><code>b27abd3</code></a> fix: add optional: false to MemberExpression (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-parser/issues/11709">#11709</a>)</li> <li><a href="https://github.com/babel/babel/commit/41085248560b1403b8d0f99f108491e679531c6c"><code>4108524</code></a> Update prettier to v2 (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-parser/issues/11579">#11579</a>)</li> <li><a href="https://github.com/babel/babel/commit/71d3527ef580d63a2764a2a96b0072b23195df4f"><code>71d3527</code></a> Properly parse <code>export default from</code> when <code>exportDefaultFrom</code> is not enabled ...</li> <li>Additional commits viewable in <a href="https://github.com/babel/babel/commits/v7.10.4/packages/babel-parser">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~jlhwung">jlhwung</a>, a new releaser for @babel/parser since your current version.</p> </details> <br />

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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

<details> <summary>Dependabot commands and options</summary> <br />

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 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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

</details>

+5 -5

0 comment

2 changed files

dependabot-preview[bot]

pr closed time in 14 days

push eventnicoespeon/abracadabra

dependabot-preview[bot]

commit sha 74a4dd324acc61b130eee22b4d5b104556bacfb4

Bump ts-jest from 25.2.1 to 25.5.1 Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 25.2.1 to 25.5.1. - [Release notes](https://github.com/kulshekhar/ts-jest/releases) - [Changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md) - [Commits](https://github.com/kulshekhar/ts-jest/compare/25.2.1...v25.5.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

view details

Nicolas Carlo

commit sha 431b372c190e7963fe7659689093010e6752c758

Merge pull request #126 from nicoespeon/dependabot/npm_and_yarn/ts-jest-25.5.1 Bump ts-jest from 25.2.1 to 25.5.1

view details

push time in 14 days

delete branch nicoespeon/abracadabra

delete branch : dependabot/npm_and_yarn/ts-jest-25.5.1

delete time in 14 days

PR merged nicoespeon/abracadabra

Reviewers
Bump ts-jest from 25.2.1 to 25.5.1 dependencies

Bumps ts-jest from 25.2.1 to 25.5.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md">ts-jest's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/kulshekhar/ts-jest/compare/v25.5.0...v25.5.1">25.5.1</a> (2020-05-09)</h2> <h3>Bug Fixes</h3> <ul> <li><strong>compiler:</strong> don't resolve files from build folder for <code>projectReferences</code> (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1614">#1614</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/74b92d3">74b92d3</a>)</li> <li><strong>config:</strong> don't set <code>include</code> value of <code>tsconfig</code> to empty array (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1606">#1606</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/8a29aaa">8a29aaa</a>)</li> </ul> <p><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h1><a href="https://github.com/kulshekhar/ts-jest/compare/v25.4.0...v25.5.0">25.5.0</a> (2020-05-05)</h1> <h3>Bug Fixes</h3> <ul> <li><strong>compiler:</strong> make <code>projectReferences</code> work with <code>isolatedModules: false</code> (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1541">#1541</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/3e8efbe">3e8efbe</a>)</li> <li><strong>compiler:</strong> allow using <code>files</code> provided by <code>tsconfig</code> (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1562">#1562</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/a9f02bd">a9f02bd</a>)</li> <li><strong>config:</strong> verify <code>testMatchPatterns</code> contain RegExp instance or string type values (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1569">#1569</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/7f85bab">7f85bab</a>)</li> </ul> <h3>Features</h3> <ul> <li><strong>config:</strong> add <code>tsconfig</code> alias to <code>tsConfig</code> option (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1565">#1565</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/c10eb6d">c10eb6d</a>)</li> <li><strong>config:</strong> define 'ts-jest' on <code>ConfigGlobals</code> interface of <code>@jest/types</code> (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1592">#1592</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/4526392">4526392</a>)</li> </ul> <h3>Performance Improvements</h3> <ul> <li><strong>compiler:</strong> don’t write compile output to file system but rely on jest cache (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1561">#1561</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/d11a4ea">d11a4ea</a>)</li> <li><strong>compiler:</strong> improve performance for <code>isolatedModules: false</code> (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1558">#1558</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/85c09e3">85c09e3</a>)</li> </ul> <h3>BREAKING CHANGES</h3> <ul> <li>Any custom typing files or files which are needed to be compiled and intended to use with <code>jest</code> need to be defined in <code>files</code> option of <code>tsconfig</code>.</li> </ul> <p>For example:</p> <pre><code>// tsconfig.json { // ...other configs "files": [ "my-custom-typings.d.ts", "my-global-module.ts" ] } </code></pre> <ul> <li><strong>compiler:</strong> <code>incremental</code> and <code>compilerHost</code> options are no longer available. Please remove it from your <code>ts-jest</code> config.</li> </ul> <!-- raw HTML omitted --> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/kulshekhar/ts-jest/commit/4d4850e638d4b6354a4f0aeb2521a7c05548aa04"><code>4d4850e</code></a> chore(release): 25.5.1 (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1611">#1611</a>)</li> <li><a href="https://github.com/kulshekhar/ts-jest/commit/74b92d3ad5d6bd1dcd01a49e7dec2c22517bbcb2"><code>74b92d3</code></a> fix(compiler): don't resolve files from build folder for <code>projectReferences</code> ...</li> <li><a href="https://github.com/kulshekhar/ts-jest/commit/8a29aaa3b1f30cd51cd2507f236b314a966baa29"><code>8a29aaa</code></a> fix(config): don't set include to empty array (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1606">#1606</a>)</li> <li><a href="https://github.com/kulshekhar/ts-jest/commit/5cdbabbff9d5db032368a594cbe9c1481554580e"><code>5cdbabb</code></a> chore(release): prepare 25.5.0 release</li> <li><a href="https://github.com/kulshekhar/ts-jest/commit/45502b692da2d6c6d4a720a2a51f3aad23419b91"><code>45502b6</code></a> chore(release): update CHANGELOG and version for 25.5.0</li> <li><a href="https://github.com/kulshekhar/ts-jest/commit/b032d5d85a99718f5eb78806ad00ace45df4d9e1"><code>b032d5d</code></a> build(deps-dev): organize dependencies' versions consistently (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1596">#1596</a>)</li> <li><a href="https://github.com/kulshekhar/ts-jest/commit/452639242d7f59502bda7aa94b81735f9c9ad203"><code>4526392</code></a> feat(config): define 'ts-jest' on <code>ConfigGlobals</code> interface of <code>@jest/types</code> ...</li> <li><a href="https://github.com/kulshekhar/ts-jest/commit/526265da0737b3a7e7cfcb6abd69197ea34c49fa"><code>526265d</code></a> chore: migrate tslint to eslint (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1590">#1590</a>)</li> <li><a href="https://github.com/kulshekhar/ts-jest/commit/720c8546578bdbb3d6525581fbeffce82016dba5"><code>720c854</code></a> chore: remove unused variable <code>input</code> in <code>readTsConfig</code> of <code>ConfigSet</code> (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1584">#1584</a>)</li> <li><a href="https://github.com/kulshekhar/ts-jest/commit/de59e3f1f26ff37869d33ec74f104b5ea31a5c1b"><code>de59e3f</code></a> test: correct unit tests and e2e tests for language service (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1579">#1579</a>)</li> <li>Additional commits viewable in <a href="https://github.com/kulshekhar/ts-jest/compare/25.2.1...v25.5.1">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~tsjest">tsjest</a>, a new releaser for ts-jest since your current version.</p> </details> <br />

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.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

<details> <summary>Dependabot commands and options</summary> <br />

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 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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

</details>

+31 -47

0 comment

2 changed files

dependabot-preview[bot]

pr closed time in 14 days

push eventnicoespeon/understandlegacycode.com

Nicolas Carlo

commit sha f0ade313a08bb799f63ef19972438e7b3ac31668

Upgrade gatsby-remark-vscode

view details

Nicolas Carlo

commit sha 355925ce3cf91fdd9eea1e38dfd9cf6264c7eaee

Highlight lines of code

view details

Nicolas Carlo

commit sha 5bf8fa0ff5f8a4be9107a0c75cd40ae24d0a7fdd

Add lines count to code blocks

view details

Nicolas Carlo

commit sha ff74a74ee7b412ff9a9676267bf5cb16ba2d514b

POC of CopyCode button

view details

Nicolas Carlo

commit sha 758f61c0515957f111f41c7001770d0c33812481

Fix language to have syntax highlighting

view details

Nicolas Carlo

commit sha 17afc9f1d9c78b2107232fe7a5b98172f3a91b95

Add code label

view details

Nicolas Carlo

commit sha 8acc5b66f0d98f530f64d6ef090686488dfc6bb9

Handle edge case

view details

Nicolas Carlo

commit sha 2d48cd58981999548776d3348f25623303a5fbca

Remove console.log()

view details

Nicolas Carlo

commit sha 4a2384eb2aee0767a912bc435b4e81eb19a47db5

Use function declaration

view details

push time in 14 days

push eventnicoespeon/understandlegacycode.com

Nicolas Carlo

commit sha 8b6e147ad305d195afdb13125c7c7b5dcae81c9f

Tag posts

view details

Nicolas Carlo

commit sha 8bde0761914e244a5c783d34c46799c943358e8a

Update links

view details

Nicolas Carlo

commit sha b4797fcd6eb26853e5a0dcb5f535f88c5edc9cae

Add Behavioral Analysis page

view details

push time in 15 days

push eventnicoespeon/understandlegacycode.com

Nicolas Carlo

commit sha 7c9db8f5e9c1178ca5fa7ad8f1292e38c3fdbc7f

New blog post

view details

push time in 16 days

push eventnicoespeon/abracadabra

Nicolas Carlo

commit sha 14fc6f675ba07ac89c32fe24a2466184faacca47

Add badge template to fix contributors anchor link

view details

push time in 16 days

push eventnicoespeon/abracadabra

Oliver Joseph Ash

commit sha fd19ad33ec8161b0fc680b9da065c7fb8790f402

Update contributing guide

view details

Nicolas Carlo

commit sha 6447f0597a543151d9970663c901e87b7cede8a4

Merge pull request #116 from OliverJAsh/fix/contributing-guide Update contributing guide

view details

push time in 16 days

push eventnicoespeon/abracadabra

allcontributors[bot]

commit sha 3936b84d855c08edcd13c52416d4dbff32f5e666

docs: update README.md [skip ci]

view details

allcontributors[bot]

commit sha 06445138a6b8cb2ec7d6aac9317bd745fe9bf402

docs: update .all-contributorsrc [skip ci]

view details

Nicolas Carlo

commit sha 56364ff0fb19a9b1b038e34e4864e18036364a21

Merge pull request #119 from nicoespeon/all-contributors/add-OliverJAsh docs: add OliverJAsh as a contributor

view details

push time in 16 days

delete branch nicoespeon/abracadabra

delete branch : all-contributors/add-OliverJAsh

delete time in 16 days

PR merged nicoespeon/abracadabra

docs: add OliverJAsh as a contributor

Adds @OliverJAsh as a contributor for ideas, bug, code, doc.

This was requested by nicoespeon in this comment

+26 -14

0 comment

2 changed files

allcontributors[bot]

pr closed time in 16 days

pull request commentnicoespeon/abracadabra

Upgrade Babel parser to 7.9.4

@all-contributors please add OliverJAsh for ideas, bug, code and doc

OliverJAsh

comment created time in 16 days

pull request commentnicoespeon/abracadabra

Upgrade Babel parser to 7.9.4

@all-contributors add OliverJAsh for ideas,bug,code,doc

OliverJAsh

comment created time in 16 days

push eventnicoespeon/abracadabra

Nicolas Carlo

commit sha 49084fe8d59670a727557815c58300d9da472d25

Install all-contributors-cli

view details

Nicolas Carlo

commit sha c56bbb0a52ef25c7d741faae5e41bb8c4fd29e83

Reset all-contributors to make bot work on PRs

view details

push time in 16 days

Pull request review commentnicoespeon/abracadabra

Upgrade Babel parser to 7.9.4

   dependencies:     "@babel/types" "^7.8.3" +"@babel/helper-validator-identifier@^7.10.4", "@babel/helper-validator-identifier@^7.9.0":+  version "7.10.4"

No idea! As long as tests are green and bug is fixed, that's legit to me.

OliverJAsh

comment created time in 16 days

push eventnicoespeon/abracadabra

Oliver Joseph Ash

commit sha f8fe6dcb0e9cbea26f5739ad9e26121741ac9d02

yarn upgrade add @babel/parser@7.9.4 @babel/traverse@7.9.0 @babel/types@7.9.0

view details

Oliver Joseph Ash

commit sha ef237df16df1ddc778ff6104b17ff219951f74ca

yarn-deduplicate && yarn

view details

Oliver Joseph Ash

commit sha 6ccc2db4b6d424dc7b317c863b910d43e836764e

Dedupe

view details

Nicolas Carlo

commit sha 82df32fdf11b2983219c3e3b2035b6faa99dc175

Merge pull request #118 from OliverJAsh/maintenance/upgrade-babel Upgrade Babel parser to 7.9.4

view details

push time in 16 days

PR merged nicoespeon/abracadabra

Upgrade Babel parser to 7.9.4

This seemed to fix the bug I mentioned over Twitter DMs, whereby loc was null for the call expression in export default a(1);.

I chose 7.9.4 because:

  • that's the version used on AST explorer and I wasn't able to reproduce the bug there
  • I had type errors when I tried to upgrade to the latest versions (7.10.x)
+38 -24

3 comments

2 changed files

OliverJAsh

pr closed time in 16 days

pull request commentnicoespeon/abracadabra

Upgrade Babel parser to 7.9.4

@all-contributors add OliverJAsh for ideas,bug,code,doc

(I'm sure it won't work, I'll fix this so it works again)

OliverJAsh

comment created time in 16 days

pull request commentnicoespeon/abracadabra

Upgrade Babel parser to 7.9.4

I hoped that was a bug with the parser and that an upgrade would fix it. Thanks for doing that 👍

I can merge confidently since CI is all green 👌

OliverJAsh

comment created time in 16 days

pull request commentnicoespeon/abracadabra

Refactor idea and proof of concept: "Wrap (expression) in function call"

I love this proposition ❤️

That would be so convenient! Thanks for pushing this.

Of course, as you mentioned, I don't think this should be in Abracadabra. The reason is that Abracadabra focuses on a clear definition of refactorings, so we don't start adding too many things inside the extension. Also, it's easy to tell if something is a bug or not (= if it changes code behavior).

However, I have good news. There was a couple of code transformations I wanted to perform but didn't fit Abracadabra scope. So I created a different extension which focuses on creating things that don't exist yet (= generate code for you, quickly). This is Hocus Pocus.

The codebase is younger and has a bit less tooling than Abracadabra, but the approach is similar and there's probably enough. I'd suggest to port your POC to this extension instead because it perfectly fits the scope 👌

Would you mind replicate your change here? Let me know if you have any blocker with the tooling being different (maybe things would be missing).

OliverJAsh

comment created time in 16 days

pull request commentnicoespeon/abracadabra

Convert function declaration to arrow function

Figured it out, the import in extension.ts was missing. Perhaps this should be part of the code generation?

Good point, that's something missing.

Actually, I didn't put it in the code generation because I order the imports in extension.ts alphabetically. So I do that by hand.

There's also the package.json that should be configured. For this, at some point, I think I'll make it generate automatically so there's less manual work and potential errors. Maybe we could even make the extension.ts smarter so we don't really have to touch it again and it's all about configuration in each individual refactoring 🌈 ☀️

I think the simplest way to solve this today is to mention it in the contributing guide, to explain the need for import + order alphabetically. That will at least help future contributors waste less time.

OliverJAsh

comment created time in 16 days

issue commentnicoespeon/abracadabra

"Convert function declaration to expression or arrow function" (and vice versa)

function a() {
  doSomething();
}

function doSomething() {}

a();

Good point, I didn't thought about this one.

At this point, I hope there's something present in the AST that would help. If not, we might have to implement the logic that tells if the code is problematic or not.

I have some hope on the TS side because they do detect when there's a problem:

image

So there's probably something that could help. Although we might have to introduce TS parser here to analyze the code for this one.

Thanks for the PR, I'll have a look at it this week 👍

OliverJAsh

comment created time in 16 days

issue commentnicoespeon/abracadabra

New refactoring: Convert function reference to arrow function

Yep, this would be useful, but it's tricky.

Ideally, the refactoring would detect the problematic cases and won't execute the refactoring in these cases:

  • function calls this and is not bound to the scope of the arrow function that would be generated
  • function would receive different arguments that it expects (the case of parseInt)

In these cases, we wouldn't propose the Quick Fix and show an explicit error message if the user tries to execute the refactoring. We may even show a warning to explain why the Quick Fix is not proposed.

Now, that would be The Ideal Case™.

As a first iteration, maybe it would be OK to show a warning when the refactoring is executed to tell the user to verify the result because code can be broken + document the known issues. I think that, in most cases, code won't be broken. But it's important for people to trust the safety of automated refactorings when they're touching Legacy Code (especially when there's no test yet and they try to get there).

Do you have an alternative suggestion that would make a first iteration not too hard to implement to get the value of this refactoring without risking to break people code without notice?

automatensalat

comment created time in 16 days

push eventnicoespeon/understandlegacycode.com

Nicolas Carlo

commit sha cc6a4c126b8be51cfa93f3f259890d959818f4f5

First draft

view details

Nicolas Carlo

commit sha 3adff9108828126ef2c0719b4bd83f45f257fe87

Add ComingSoon text

view details

Nicolas Carlo

commit sha 5be016bf20be91a17cff90ac99561c4be3f284d4

Comment out the Landing Page content

view details

Nicolas Carlo

commit sha ee05f9a1ba28b50c74a09cab1b44ee82ac1bbe3e

Make emojis accessible

view details

Nicolas Carlo

commit sha 9e9f8dfe43f87ceca21221b07aabe8a45cc0dac0

Add link to ComingSoon page

view details

push time in 17 days

issue commentnicoespeon/abracadabra

"Convert function declaration to expression or arrow function" (and vice versa)

In case it's not clear: I think this would be a nice refactoring.

We just need to do a good job with the edge case I mentioned so we don't break people code 👍

OliverJAsh

comment created time in 18 days

issue commentnicoespeon/abracadabra

"Convert function declaration to expression or arrow function" (and vice versa)

Hey @OliverJAsh 👋

Thanks for the kind words! And yes, that's funny I presented an example that's not even in the extension 😉

That's totally do-able with Abracadabra. It's not hard to preserve types, we already have some TS-specific refactorings so there's tooling to deal with types.

The only gotcha I can think of is hoisting. This is valid:

doSomething();

function doSomething() {}

This is not, because the function declaration isn't hoisted anymore, so it's used before it's declared:

doSomething();

const doSomething = () => {};

The refactoring should check that there's no usage of the function above the function declaration, at least. If refactoring can't be made safely, it shouldn't be proposed (this is the way it works today, although in the future we could let the user know and deal with it instead).

For the record, Webstorm warns the user when the refactoring would be invalid:

image

OliverJAsh

comment created time in 18 days

issue commentnicoespeon/abracadabra

New refactoring: Convert function reference to arrow function

@OliverJAsh yep, you're right.

There's something I missed with this suggestion that makes me think we can't easily do this. Regardless of the arguments, there's the notion of binding that is different.

beforeEach(jest.clearAllMocks);

And

beforeEach(() => {
  jest.clearAllMocks();
});

May not behave the same at runtime, it depends if jest.clearAllMocks() refers to this or not.

That makes this refactoring much more complex to perform safely. Hence, I'm not sure that would be a reasonable one to do. Open to discussions though 👐

automatensalat

comment created time in 18 days

push eventnicoespeon/gitgraph.js

Nicolas Carlo

commit sha ca85bbc3c6f24ef85c2c262986a14c751edb66a6

Update lockfile

view details

push time in 19 days

push eventnicoespeon/gitgraph.js

Nicolas Carlo

commit sha 8f373de6c01a826a0127ee2d187781361e602b93

Use fixed dependencies

view details

push time in 19 days

push eventnicoespeon/gitgraph.js

allcontributors[bot]

commit sha f5bf39eba6a52b916a656640172a51d627212696

docs: update README.md [skip ci]

view details

allcontributors[bot]

commit sha d60ea4e49246791d0224e92714f0662ccf628046

docs: update .all-contributorsrc [skip ci]

view details

Nicolas Carlo

commit sha cac4ed02825c1d95fda084093446184c29d49912

Merge pull request #368 from nicoespeon/all-contributors/add-Nebula83 docs: add Nebula83 as a contributor

view details

push time in 19 days

delete branch nicoespeon/gitgraph.js

delete branch : all-contributors/add-Nebula83

delete time in 19 days

PR merged nicoespeon/gitgraph.js

docs: add Nebula83 as a contributor

Adds @Nebula83 as a contributor for code.

This was requested by nicoespeon in this comment

+39 -29

0 comment

2 changed files

allcontributors[bot]

pr closed time in 19 days

push eventnicoespeon/gitgraph.js

Gitlab server

commit sha ae66957e638562cef9597b6bc3c4031b382c9d21

fix: replace 'transparent' with 'none'

view details

Nicolas Carlo

commit sha 87ef2d26b3dd7f703c663c69e5395083225e8736

Merge pull request #366 from Nebula83/replace-transparent fix: replace 'transparent' with 'none'

view details

push time in 19 days

PR merged nicoespeon/gitgraph.js

fix: replace 'transparent' with 'none'

The code contains a couple of references to "transparent" as value for fill. When copying the svg data to file and opening with an SVG editor (for instance, inkscape, but every other converter I tried too) it causes misrendering by using the default black per SVG file standards. Probably because the keyword "transparent" is not supported. "none" seems to yield the same effect and is probably more in line with what you want to express. This PR fixes that.

References: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill

+4 -4

2 comments

4 changed files

Nebula83

pr closed time in 19 days

pull request commentnicoespeon/gitgraph.js

fix: replace 'transparent' with 'none'

@all-contributors please add Nebula83 for code

Nebula83

comment created time in 19 days

issue commentnicoespeon/gitgraph.js

👋 Looking for maintainers

@marekyggdrasil you are right. I took the time to do it since it required me to install the app on the repo and I'm the only one who could do that. I also fixed PRs CI with Chromatic QA, so visual regression tests run again.

The repo is ready to handle & acknowledge contributors 👌

nicoespeon

comment created time in 19 days

push eventnicoespeon/gitgraph.js

Nicolas Carlo

commit sha 87e1c204cdeb8fffea6a15bf7553ab3f38c01c2a

Update fabien0102 contributions He also came up with the logo!

view details

push time in 19 days

push eventnicoespeon/gitgraph.js

Nicolas Carlo

commit sha eb87c4637dd608629192d3093ae19666032bc85e

Update CONTRIBUTING.md

view details

push time in 19 days

issue commentnicoespeon/gitgraph.js

Better tribute to contributors with all-contributors

Done. I backfilled with contributors since GitGraph v2. That was a lot of people so I may have missed someone. Don't hesitate to use the all-contributors bot for this, it has been installed on this repo 👍

nicoespeon

comment created time in 19 days

push eventnicoespeon/gitgraph.js

Nicolas Carlo

commit sha c69644e90e471c489c9efe0f149e5f8e3d58b519

Add missing config

view details

Nicolas Carlo

commit sha a6a17421560649ad1d7b665ed6c4b0681349c598

Add authors following all-contributors format

view details

Nicolas Carlo

commit sha 90d72819cf0d4e44e0e5002b795775e48e854436

Backfill with contributors since GitGraph v2 Closes #296

view details

push time in 19 days

issue closednicoespeon/gitgraph.js

Better tribute to contributors with all-contributors

We currently use sourcerer to generate the list of contributors in the README

image

While the result looks good and all, I find it falls short on few aspects:

  • it doesn't convey that many kind of contributions are possible, especially what's related to docs & the like
  • it usually doesn't show up new contributors… because I would usually do more commits the same week

I think all-contributors would acknowledge the work of all our contributors more accurately.

This is a beginner-friendly issue as there's nothing much to do with the inner details of the lib 😉

closed time in 19 days

nicoespeon

push eventnicoespeon/gitgraph.js

Nicolas Carlo

commit sha 68e6aee3036ed338314a4b3a2d5c49ce3c2109ec

Add all-contributors config file

view details

Nicolas Carlo

commit sha be97d99ed6410390c819fdf3ad65bc5105f6b62c

Init all-contributors

view details

Nicolas Carlo

commit sha 78b7633b13ee37ca0c51d32b79257f4d95f6d7c2

Add all-contributors CLI and script

view details

push time in 20 days

push eventnicoespeon/gitgraph.js

dependabot[bot]

commit sha 9439df28f702b0c32613fe9492c50612f38aabec

Bump websocket-extensions from 0.1.3 to 0.1.4 Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4. - [Release notes](https://github.com/faye/websocket-extensions-node/releases) - [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md) - [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4) Signed-off-by: dependabot[bot] <support@github.com>

view details

Nicolas Carlo

commit sha f05ec002f77a1729f88b69956ca1a4e35848dae0

Trigger CI

view details

Nicolas Carlo

commit sha fd740edaaee83b468a9190ef03b5cbc7cf164994

Merge pull request #362 from nicoespeon/dependabot/npm_and_yarn/websocket-extensions-0.1.4 Bump websocket-extensions from 0.1.3 to 0.1.4

view details

push time in 20 days

delete branch nicoespeon/gitgraph.js

delete branch : dependabot/npm_and_yarn/websocket-extensions-0.1.4

delete time in 20 days

PR merged nicoespeon/gitgraph.js

Bump websocket-extensions from 0.1.3 to 0.1.4 dependencies

Bumps websocket-extensions from 0.1.3 to 0.1.4. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md">websocket-extensions's changelog</a>.</em></p> <blockquote> <h3>0.1.4 / 2020-06-02</h3> <ul> <li>Remove a ReDoS vulnerability in the header parser (CVE-2020-7662, reported by Robert McLaughlin)</li> <li>Change license from MIT to Apache 2.0</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/faye/websocket-extensions-node/commit/8efd0cd6e35faf9bb9cb08759be1e27082177d43"><code>8efd0cd</code></a> Bump version to 0.1.4</li> <li><a href="https://github.com/faye/websocket-extensions-node/commit/3dad4ad44a8c5f74d4f8f4efd3f9d6e0b5df3051"><code>3dad4ad</code></a> Remove ReDoS vulnerability in the Sec-WebSocket-Extensions header parser</li> <li><a href="https://github.com/faye/websocket-extensions-node/commit/4a76c75efb1c5d6a2f60550e9501757458d19533"><code>4a76c75</code></a> Add Node versions 13 and 14 on Travis</li> <li><a href="https://github.com/faye/websocket-extensions-node/commit/44a677a9c0631daed0b0f4a4b68c095b624183b8"><code>44a677a</code></a> Formatting change: {...} should have spaces inside the braces</li> <li><a href="https://github.com/faye/websocket-extensions-node/commit/f6c50aba0c20ff45b0f87cea33babec1217ec3f5"><code>f6c50ab</code></a> Let npm reformat package.json</li> <li><a href="https://github.com/faye/websocket-extensions-node/commit/2d211f3705d52d9efb4f01daf5a253adf828592e"><code>2d211f3</code></a> Change markdown formatting of docs.</li> <li><a href="https://github.com/faye/websocket-extensions-node/commit/0b620834cc1e1f2eace1d55ab17f71d90d88271d"><code>0b62083</code></a> Update Travis target versions.</li> <li><a href="https://github.com/faye/websocket-extensions-node/commit/729a4653073fa8dd020561113513bfa2e2119415"><code>729a465</code></a> Switch license to Apache 2.0.</li> <li>See full diff in <a href="https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4">compare view</a></li> </ul> </details> <br />

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.


<details> <summary>Dependabot commands and options</summary> <br />

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 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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+3 -2

0 comment

1 changed file

dependabot[bot]

pr closed time in 20 days

more