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(deps): update all dependencies j:cdx-227 (major) #560

Merged
merged 8 commits into from
Nov 29, 2021

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 25, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
chalk ^4.1.1 -> ^5.0.0 age adoption passing confidence
netlify-cli ^6.14.25 -> 8.0.4 age adoption passing confidence
plop (source) 2.7.6 -> 3.0.0 age adoption passing confidence
puppeteer 11.0.0 -> 12.0.0 age adoption passing confidence

Release Notes

chalk/chalk

v5.0.0

Compare Source

Breaking
  • This package is now pure ESM. Please read this.
    • If you use TypeScript, you will want to stay on Chalk 4 until TypeScript 4.6 is out. Why.
    • If you use a bundler, make sure it supports ESM and that you have correctly configured it for ESM.
    • The Chalk issue tracker is not a support channel for your favorite build/bundler tool.
  • Require Node.js 12.20 fa16f4e
  • Move some properties off the default export to individual named exports:
    • chalk.InstanceChalk
    • chalk.supportsColorsupportsColor
    • chalk.stderrchalkStderr
    • chalk.stderr.supportsColorsupportsColorStderr
  • Remove .keyword(), .hsl(), .hsv(), .hwb(), and .ansi() coloring methods (#​433) 4cf2e40
    • These were not commonly used and added a lot of bloat to Chalk. You can achieve the same by using the color-convert package.
  • The tagged template literal support moved into a separate package: chalk-template (#​524) c987c61
-import chalk from 'chalk';
+import chalkTemplate from 'chalk-template';

-chalk`2 + 3 = {bold ${2 + 3}}`;
+chalkTemplate`2 + 3 = {bold ${2 + 3}}`;
Improvements
netlify/cli

v8.0.4

Compare Source

v8.0.3

Compare Source

v8.0.2

Compare Source

v8.0.1

Compare Source

v8.0.0

Compare Source

⚠ BREAKING CHANGES
  • drop support for Node 13, 14.0.0-14.13.1 and 15 (#​3691)
Miscellaneous Chores

v7.1.0

Compare Source

Features
  • dev: enable the usage of the command property without port (#​3662) (ba154f6)
7.0.5 (2021-11-23)
Bug Fixes
7.0.4 (2021-11-22)
Bug Fixes
7.0.3 (2021-11-22)
Bug Fixes
7.0.2 (2021-11-19)
Bug Fixes
7.0.1 (2021-11-19)
Bug Fixes

v7.0.5

Compare Source

v7.0.4

Compare Source

v7.0.3

Compare Source

v7.0.2

Compare Source

v7.0.1

Compare Source

v7.0.0

Compare Source

⚠ BREAKING CHANGES
Miscellaneous Chores

v6.15.0

Compare Source

Features
Bug Fixes
6.14.25 (2021-11-15)
Bug Fixes
  • resemble Netlify Production logic for base64 encoding more closely (#​3631) (efc0b48)
6.14.24 (2021-11-15)
Bug Fixes
6.14.23 (2021-11-12)
Bug Fixes
6.14.22 (2021-11-12)
Bug Fixes
  • dev: fix wrong rawUrl in the dev command on redirect (#​3620) (581078c)
6.14.21 (2021-11-11)
Bug Fixes
6.14.20 (2021-11-11)
Bug Fixes
6.14.19 (2021-11-09)
Bug Fixes
  • show Background Function plan warning only if site is connected (#​3615) (1622898)
6.14.18 (2021-11-08)
Bug Fixes
6.14.17 (2021-11-08)
Bug Fixes
6.14.16 (2021-11-04)
Bug Fixes
6.14.15 (2021-11-04)
Bug Fixes
6.14.14 (2021-11-04)
Bug Fixes
6.14.13 (2021-11-04)
Bug Fixes
6.14.12 (2021-11-03)
Bug Fixes
6.14.11 (2021-11-03)
Bug Fixes
6.14.10 (2021-11-02)
Bug Fixes
6.14.9 (2021-11-02)
Bug Fixes
6.14.8 (2021-11-01)
Bug Fixes
6.14.7 (2021-10-29)
Bug Fixes
6.14.6 (2021-10-28)
Bug Fixes
6.14.5 (2021-10-27)
Bug Fixes
6.14.4 (2021-10-25)
Bug Fixes
6.14.3 (2021-10-25)
Bug Fixes
6.14.2 (2021-10-25)
Bug Fixes
6.14.1 (2021-10-22)
Bug Fixes
plopjs/plop

v3.0.0

Compare Source

The first major release of plop since 2018 is here!

We've got a massive feature in this release: ESM Support. Read further to find out more!

Breaking Changes

  • Node 8 and 10 support has been dropped
    • Node 12 and 14 must be match ^12.20.0 and ^14.13.1 respectively
Wrapper CLI Breaking Changes

This section doesn't apply to users of the plop CLI command, only those that are using plop as a library in their own generator tool.

  • Plop wrapper CLIs must be ESM to import plop (see below to learn more)
  • Liftoff has been upgraded from 1 to 4 and as a result, the Plop object API has changed. Instead of:
Plop.launch({
  cwd: argv.cwd,
  configPath: path.join(__dirname, 'plopfile.js'),
  require: argv.require,
  completion: argv.completion
}, env => run(env, undefined, true));

You need to do:

import { dirname } from "node:path";

import { fileURLToPath } from "node:url";

const __dirname = dirname(fileURLToPath(import.meta.url));

Plop.prepare({
  cwd: argv.cwd,
  configPath: path.join(__dirname, 'plopfile.js'),
  preload: argv.preload || [],
  completion: argv.completion
}, env => Plop.execute(env, run));

Features

ESM Support

The major feature of this release is support for ESM modules (https://github.com/plopjs/plop/issues/260)

This means that instead of:

module.exports = (plop) => {
	// ...
}

You can now have the following code in your plopfile:

export default (plop) => {
	// ...
}

Going forward, plopfiles must either be:

  • An ESM .mjs file with type: "module" in package.json
  • An ESM .js file with type: "module" in package.json
  • A CommonJS .cjs file with type: "module" in package.json
  • A CommonJS .js file with type: "commonjs" in package.json

Any of these file extensions will be recognized and accepted with the default plopfile name, just like before.

If you want to learn more about ESM usage in a library, here's some further reading provided by Sindre Sorhus.

These limitations will also be present for plop wrapper CLIs, so it's encouraged to read the above if you're doing so.

Async Plopfunctions

While previously a plopfile.js had to be a synchronous export - we now allow you to make an async function. We handle the rest!

export default async (plop) => {
	// ...
}

Bug Fixes

Internal Changes

The plop CLI itself now has a solid end-to-end tests. While this isn't done, it is very functional today. These tests have enabled us to be confident that this release should work for 99% of users without having to change much if anything at all on their end.

We even wrote our own testing library to support this

Admittedly, we have a low coverage rate, but are testing against most of the big stuff today. We welcome and encourage pull requests adding more tests to increase that rate.

We've also added CI to run those end-to-end tests against every PR against the main branch.

Looking Ahead

While this release is fun, there's more that we want to do internally sometime in the near future.

Namely:

  • Simplify node-plop tests
  • Migrate node-plop to use jest instead of ava
  • Move node-plop to monorepo in the plop repo
  • Add commit hooks and autogenerated changelog to node-plop and plop
  • Rename branches from master to main
  • Add TS example tests to plop
puppeteer/puppeteer

v12.0.0

Compare Source

⚠ BREAKING CHANGES
  • chromium: roll to Chromium 97.0.4692.0 (r938248)
Features
  • chromium: roll to Chromium 97.0.4692.0 (r938248) (ac162c5), closes #​7458
  • support for custom user data (profile) directory for Firefox (#​7684) (790c7a0)
Bug Fixes

Configuration

📅 Schedule: "before 2am" (UTC).

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

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

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

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

@github-actions
Copy link
Contributor

Thanks for your contribution @renovate[bot] !
When your pull-request is ready to be merged, check the box below to merge it

  • Merge! :shipit:

@github-actions
Copy link
Contributor

Pull Request Report

PR Title

✅ Title follows the conventional commit spec.

@louis-bompart
Copy link
Collaborator

@ThibodeauJF soo. we don't have tests yet so cannot be sure easily 😅
I reviewed the breaking: we don't care about Node 10,13,15 so that's not a problem

@renovate renovate bot force-pushed the renovate/major-all branch 4 times, most recently from 6752ea7 to fafa728 Compare November 26, 2021 10:43
@renovate renovate bot changed the title chore(deps): update dependency netlify-cli to v8 j:cdx-227 fix(deps): update all dependencies j:cdx-227 (major) Nov 26, 2021
@renovate renovate bot force-pushed the renovate/major-all branch 3 times, most recently from 961f09f to b01394f Compare November 29, 2021 13:59
@louis-bompart
Copy link
Collaborator

puppeteer 12 is brokey: puppeteer/puppeteer#7805, so not this time.

@louis-bompart louis-bompart merged commit 335fd49 into master Nov 29, 2021
@louis-bompart louis-bompart deleted the renovate/major-all branch November 29, 2021 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants