Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: compatibility with Node 10 #149

Merged
merged 3 commits into from
Oct 20, 2021
Merged

fix: compatibility with Node 10 #149

merged 3 commits into from
Oct 20, 2021

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 20, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
xo 0.28.3 -> 0.45.0 age adoption passing confidence

Release Notes

xojs/xo

v0.45.0

Compare Source

New rules
Improvements
  • Replace Prettier's jsxBracketSameLine option with bracketSameLine (#​609) 506c151
  • Enable import/named rule for JavaScript (#​601) 623f259

v0.44.0

Compare Source

New rules
Improvements
Fixes

v0.43.0

Compare Source

Improvements
  • Enforce importing process and Buffer in Node.js explicitly 9f40074
    • This is the recommendation in the Node.js docs.
  • Upgrade dependencies f2c5041
Fixes
  • Make cache directory be relative to cwd (#​582) 512291b
    • This fixes editor integration.

v0.42.0

Compare Source

New rules
Improvements

v0.41.0

Compare Source

Breaking

  • XO can no longer be installed globally.
    • It caused too many problems. Instead, you can run the local XO binary with $ npx xo.
  • XO now enforces trailing comma in multiline statements.
  • Change operator-linebreak rule to enforce operators before.
    • This way is more readable.

New rules

v0.40.3

Compare Source

v0.40.2

Compare Source

v0.40.1

Compare Source

v0.40.0

Compare Source

Breaking
  • XO now enforces that your project is ESM
    If you cannot yet move to ESM, I recommend staying on XO 0.39 for now.
  • Require Node.js 12.20 cc06c3c
New rules
Meta
  • Move from deprecated ESLint.CLIEngine to ESLint (#​534) 0480d80
    This should hopefully resolve a bunch of issues.

v0.39.1

Compare Source

  • Fix a problem with using XO with Prettier fa34c74

v0.39.0

Compare Source

New rules
Breaking
Improvements
  • Add --print-config flag (#​529) 7b8dc70
  • Disable the import/default rule for TypeScript files e3c511b
  • Disable the import/export rule for TypeScript files b385bee

v0.38.2

Compare Source

  • Disable the node/file-extension-in-import rule for TypeScript projects (#​523) 1eb8230
    It doesn't work properly with TypeScript projects.

v0.38.1

Compare Source

v0.38.0

Compare Source

New rules
Improvements
  • Add auto-fix for fixing file extensions in imports f4f6b39
  • Add .mjs and .cjs as default extensions (#​521) 2e05c81
  • Allow file extension for import/no-unassigned-import allow list 8156d42
Fixes
  • Fix ignored package.json config when using the CLI (#​520) 32bd3b8

v0.37.1

Compare Source

  • Fix TypeScript not supporting extensions f56d90d

v0.37.0

Compare Source

New rules
Renamed rules

Only affects you if you had any of these rules disabled.

  • unicorn/no-fn-reference-in-iteratorunicorn/no-array-callback-reference
  • unicorn/no-array-instanceofunicorn/no-instanceof-array
  • unicorn/no-reduceunicorn/no-array-reduce
  • unicorn/prefer-datasetunicorn/prefer-dom-node-dataset
  • unicorn/prefer-flat-mapunicorn/prefer-array-flat-map
  • unicorn/prefer-replace-allunicorn/prefer-string-replace-all
  • unicorn/prefer-starts-ends-withunicorn/prefer-string-starts-ends-with
  • unicorn/prefer-text-contentunicorn/prefer-dom-node-text-content
  • unicorn/prefer-trim-start-endunicorn/prefer-string-trim-start-end
  • unicorn/prefer-event-keyunicorn/prefer-keyboard-event-key
  • unicorn/prefer-node-appendunicorn/prefer-dom-node-append
  • unicorn/prefer-node-removeunicorn/prefer-dom-node-remove
Improvements
  • Improve ESM compatibility 211f295
  • Enforce errerror for variable names d801095
  • Enforce some inclusive wording 0ec4b8c

v0.36.1

Compare Source

v0.36.0

Compare Source

v0.35.0

Compare Source

New rules
Improvements

v0.34.2

Compare Source

v0.34.1

Compare Source

  • Disable the unicorn/import-style rule for TypeScript projects 77716e2
    It wants to use import path from 'path'; which is not always possible.

v0.34.0

Compare Source

New rules
Improvements

v0.33.1

Compare Source

  • Fix setting multiple of some CLI flags ead63be

v0.33.0

Compare Source

New rules
Improvements

v0.32.1

Compare Source

  • Dependency updates

v0.32.0

Compare Source

v0.31.0

Compare Source

New rules
Improvements

v0.30.0

Compare Source

New rules
Fixes
  • Lock prettier dependency at 2.0.4 until we can resolve #​466
  • Prevent extraneous newline from --stdin --fix (#​460) 07e2762

v0.29.1

Compare Source

v0.29.0

Compare Source

New rules
Improvements

Configuration

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

🚦 Automerge: Enabled.

Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

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


  • If you want to rebase/retry this PR, click this checkbox.

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

@renovate renovate bot force-pushed the renovate/xo-0.x branch from 86d1f4d to 2c48f75 Compare October 20, 2021 17:43
@gr2m gr2m added this to the v6.0.0 milestone Oct 20, 2021
@renovate renovate bot force-pushed the renovate/xo-0.x branch from 2c48f75 to f99d0f4 Compare October 20, 2021 19:38
@gr2m gr2m changed the title chore(deps): update dependency xo to v0.45.0 fix: compatibility with Node 10 Oct 20, 2021
@gr2m gr2m enabled auto-merge (squash) October 20, 2021 19:53
@gr2m gr2m merged commit 55c7b44 into master Oct 20, 2021
@gr2m gr2m deleted the renovate/xo-0.x branch October 20, 2021 19:55
@github-actions
Copy link

🎉 This PR is included in version 5.3.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants