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

chore(deps): update node.js to v22 #39

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 24, 2025

This PR contains the following updates:

Package Type Update Change
node (source) major 20 -> 22.14.0
node (source) engines major 20 -> 22.14.0
node (source) engines major 16.20.2 -> 22.14.0

Release Notes

nodejs/node (node)

v22.14.0

Compare Source

v22.13.1

Compare Source

v22.13.0

Compare Source

v22.12.0

Compare Source

v22.11.0

Compare Source

v22.10.0: 2024-10-16, Version 22.10.0 (Current), @​aduh95

Compare Source

Notable Changes
New "module-sync" exports condition

This release introduces a "module-sync" exports condition that's enabled when
require(esm) is enabled, so packages can supply a synchronous ES module to the
Node.js module loader, no matter if it's being required or imported. This is
similar to the "module" condition that bundlers have been using to support
require(esm) in Node.js, and allows dual-package authors to opt into ESM-first
only on newer versions of Node.js that supports require(esm) to avoid the
dual-package hazard.

{
  "type": "module",
  "exports": {
    "node": {
      // On new version of Node.js, both require() and import get
      // the ESM version
      "module-sync": "./index.js",
      // On older version of Node.js, where "module-sync" and require(esm) are
      // not supported, use the CJS version to avoid dual-package hazard.
      // When package authors think it's time to drop support for older versions of
      // Node.js, they can remove the exports conditions and just use "main": "index.js".
      "default": "./dist/index.cjs"
    },
    // On any other environment, use the ESM version.
    "default": "./index.js"
  }
}

Or if the package is only meant to be run on Node.js and wants to fallback to
CJS on older versions that don't have require(esm):

{
  "type": "module",
  "exports": {
    // On new version of Node.js, both require() and import get the ESM version
    "module-sync": "./index.js",
    // On older version of Node.js, where "module-sync" and require(esm) are
    // not supported, use the CJS version to avoid dual-package hazard.
    // When package authors think it's time to drop support for older versions of
    // Node.js, they can remove the exports conditions and just use "main": "index.js".
    "default": "./dist/index.cjs"
  }
}

For package authors: this only serves as a feature-detection mechanism for
packages that wish to support both CJS and ESM users during the period when some
active Node.js LTS versions support require(esm) while some older ones don't.
When all active Node.js LTS lines support require(esm), packages can simplify
their distributions by bumping the major version, dropping their CJS exports,
and removing the module-sync exports condition (with only main or default
targetting the ESM exports). If the package needs to support both bundlers and
being run unbundled on Node.js during the transition period, use both
module-sync and module and point them to the same ESM file. If the package
already doesn't want to support older versions of Node.js that doesn't support
require(esm), don't use this export condition.

For bundlers/tools: they should avoid implementing this stop-gap condition.
Most existing bundlers implement the de-facto bundler standard
module
exports condition, and that should be enough to support users who want to bundle
ESM from CJS consumers. Users who want both bundlers and Node.js to recognize
the ESM exports can use both module/module-sync conditions during the
transition period, and can drop module-sync+module when they no longer need
to support older versions of Node.js. If tools do want to support this
condition, it's recommended to make the resolution rules in the graph pointed by
this condition match the Node.js native ESM rules to avoid divergence.

We ended up implementing a condition with a different name instead of reusing
"module", because existing code in the ecosystem using the "module"
condition sometimes also expect the module resolution for these ESM files to
work in CJS style, which is supported by bundlers, but the native Node.js loader
has intentionally made ESM resolution different from CJS resolution (e.g.
forbidding import './noext' or import './directory'), so it would be
breaking to implement a "module" condition without implementing the forbidden
ESM resolution rules. For now, this just implements a new condition as
semver-minor so it can be backported to older LTS.

Contributed by Joyee Cheung in #​54648.

node --run is now stable

This CLI flag runs a specified command from a package.json's "scripts" object.

For the following package.json:

{
  "scripts": {
    "test": "node --test-reporter junit --test ./test"
  }
}

You can run node --run test and that would start the test suite.

Contributed by Yagiz Nizipli in #​53763.

Other notable changes
  • [f0b441230a] - (SEMVER-MINOR) crypto: add KeyObject.prototype.toCryptoKey (Filip Skokan) #​55262
  • [349d2ed07b] - (SEMVER-MINOR) crypto: add Date fields for validTo and validFrom (Andrew Moon) #​54159
  • [bebc95ed58] - doc: add abmusse to collaborators (Abdirahim Musse) #​55086
  • [914db60159] - (SEMVER-MINOR) http2: expose nghttp2_option_set_stream_reset_rate_limit as an option (Maël Nison) #​54875
  • [f7c3b03759] - (SEMVER-MINOR) lib: propagate aborted state to dependent signals before firing events (jazelly) #​54826
  • [32261fc98a] - (SEMVER-MINOR) module: support loading entrypoint as url (RedYetiDev) #​54933
  • [06957ff355] - (SEMVER-MINOR) module: implement flushCompileCache() (Joyee Cheung) #​54971
  • [2dcf70c347] - (SEMVER-MINOR) module: throw when invalid argument is passed to enableCompileCache() (Joyee Cheung) #​54971
  • [f9b19d7c44] - (SEMVER-MINOR) module: write compile cache to temporary file and then rename it (Joyee Cheung) #​54971
  • [e95163b170] - (SEMVER-MINOR) process: add process.features.require_module (Joyee Cheung) #​55241
  • [4050f68e5d] - (SEMVER-MINOR) process: add process.features.typescript (Aviv Keller) #​54295
  • [86f7cb802d] - (SEMVER-MINOR) test_runner: support custom arguments in run() (Aviv Keller) #​55126
  • [b62f2f8259] - (SEMVER-MINOR) test_runner: add 'test:summary' event (Colin Ihrig) #​54851
  • [d7c708aec5] - (SEMVER-MINOR) test_runner: add support for coverage via run() (Chemi Atlow) #​53937
  • [5fda4a1498] - (SEMVER-MINOR) worker: add markAsUncloneable api (Jason Zhang) #​55234
Commits

Configuration

📅 Schedule: Branch creation - "after 6am and before 10am on monday" (UTC), Automerge - At any time (no schedule defined).

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

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

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


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Feb 24, 2025
Copy link

Images automagically compressed by Calibre's image-actions

Compression reduced images by 40.2%, saving 11.82 MB.

Filename Before After Improvement Visual comparison
template/public/img/uploads/01-103878.jpg 175.96 KB 94.81 KB -46.1% View diff
template/public/img/uploads/01-banner.jpg 382.07 KB 192.03 KB -49.7% View diff
template/public/img/uploads/01-nestle.jpg 138.78 KB 131.88 KB -5.0% View diff
template/public/img/uploads/01-pascoa.jpg 342.93 KB 155.29 KB -54.7% View diff
template/public/img/uploads/01-TodalinhaICEBERG.jpg 265.59 KB 141.97 KB -46.5% View diff
template/public/img/uploads/02-103262.jpg 140.27 KB 82.42 KB -41.2% View diff
template/public/img/uploads/02-103887.jpg 181.45 KB 100.87 KB -44.4% View diff
template/public/img/uploads/02-banner.jpg 368.13 KB 189.45 KB -48.5% View diff
template/public/img/uploads/02-pascoa.jpg 270.23 KB 119.14 KB -55.9% View diff
template/public/img/uploads/03-102116.jpg 161.77 KB 96.13 KB -40.6% View diff
template/public/img/uploads/03-103907.jpg 200.32 KB 106.60 KB -46.8% View diff
template/public/img/uploads/03-banner.jpg 344.53 KB 173.47 KB -49.6% View diff
template/public/img/uploads/03-pascoa.jpg 281.85 KB 128.00 KB -54.6% View diff
template/public/img/uploads/04-103948.jpg 180.83 KB 98.31 KB -45.6% View diff
template/public/img/uploads/04-pascoa.jpg 257.44 KB 116.92 KB -54.6% View diff
template/public/img/uploads/05-103950.jpg 185.01 KB 101.92 KB -44.9% View diff
template/public/img/uploads/05-TodalinhaFAB.jpg 222.45 KB 127.80 KB -42.5% View diff
template/public/img/uploads/07-102510.jpg 193.24 KB 107.43 KB -44.4% View diff
template/public/img/uploads/08-102493.jpg 191.05 KB 110.09 KB -42.4% View diff
template/public/img/uploads/09-TodalinhaBLEND.jpg 228.58 KB 129.81 KB -43.2% View diff
template/public/img/uploads/1(102510).jpg 257.55 KB 247.97 KB -3.7% View diff
template/public/img/uploads/10-102377.jpg 168.02 KB 97.23 KB -42.1% View diff
template/public/img/uploads/102406.jpg 376.16 KB 199.48 KB -47.0% View diff
template/public/img/uploads/102417.jpg 375.87 KB 198.52 KB -47.2% View diff
template/public/img/uploads/102418.jpg 378.69 KB 199.49 KB -47.3% View diff
template/public/img/uploads/102708.jpg 374.41 KB 196.93 KB -47.4% View diff
template/public/img/uploads/102951.jpg 366.37 KB 190.66 KB -48.0% View diff
template/public/img/uploads/103865.jpg 208.04 KB 109.25 KB -47.5% View diff
template/public/img/uploads/103867.jpg 210.46 KB 113.75 KB -46.0% View diff
template/public/img/uploads/103879.jpg 197.55 KB 105.88 KB -46.4% View diff
template/public/img/uploads/103908.jpg 189.78 KB 102.05 KB -46.2% View diff
template/public/img/uploads/103929.jpg 215.52 KB 116.05 KB -46.2% View diff
template/public/img/uploads/10semanaamendoim102926.jpg 188.38 KB 184.52 KB -2.1% View diff
template/public/img/uploads/11-102366.jpg 167.45 KB 96.50 KB -42.4% View diff
template/public/img/uploads/11semanaamendoim102928.jpg 186.73 KB 182.37 KB -2.3% View diff
template/public/img/uploads/12-102355.jpg 177.25 KB 105.00 KB -40.8% View diff
template/public/img/uploads/12.jpg 235.40 KB 227.26 KB -3.5% View diff
template/public/img/uploads/12semanaamendoim103580.jpg 82.11 KB 79.49 KB -3.2% View diff
template/public/img/uploads/13-DescubramaisIDEIA.jpg 224.31 KB 124.51 KB -44.5% View diff
template/public/img/uploads/13(100693).jpg 252.16 KB 243.59 KB -3.4% View diff
template/public/img/uploads/13semanadosorvete100020.jpg 176.77 KB 172.99 KB -2.1% View diff
template/public/img/uploads/14-103362.jpg 165.30 KB 97.43 KB -41.1% View diff
template/public/img/uploads/14semanadosorvete102337.jpg 174.51 KB 170.61 KB -2.2% View diff
template/public/img/uploads/15semanadosorvete102044.jpg 175.40 KB 171.42 KB -2.3% View diff
template/public/img/uploads/16-100693.jpg 173.18 KB 100.53 KB -42.0% View diff
template/public/img/uploads/166020.jpg 413.59 KB 76.21 KB -81.6% View diff
template/public/img/uploads/16semanadohalloween102406.jpg 148.94 KB 143.09 KB -3.9% View diff
template/public/img/uploads/17semanadohalloween102387.jpg 149.82 KB 143.52 KB -4.2% View diff
template/public/img/uploads/18-171095.jpg 164.56 KB 92.91 KB -43.5% View diff
template/public/img/uploads/18semanadohalloween102385.jpg 149.65 KB 143.48 KB -4.1% View diff
template/public/img/uploads/19-151494.jpg 183.88 KB 103.65 KB -43.6% View diff
template/public/img/uploads/1semanadosorvete.jpg 201.61 KB 194.78 KB -3.4% View diff
template/public/img/uploads/20-151147.jpg 186.63 KB 105.78 KB -43.3% View diff
template/public/img/uploads/21-103508.jpg 179.99 KB 102.31 KB -43.2% View diff
template/public/img/uploads/21(101956).jpg 252.47 KB 246.44 KB -2.4% View diff
template/public/img/uploads/22-103497.jpg 174.93 KB 99.88 KB -42.9% View diff
template/public/img/uploads/23-103444.jpg 146.77 KB 86.66 KB -41.0% View diff
template/public/img/uploads/24-103440.jpg 147.64 KB 86.33 KB -41.5% View diff
template/public/img/uploads/24(103497).jpg 240.87 KB 234.69 KB -2.6% View diff
template/public/img/uploads/25-101956.jpg 201.61 KB 112.00 KB -44.5% View diff
template/public/img/uploads/26-101955.jpg 184.74 KB 101.34 KB -45.1% View diff
template/public/img/uploads/26(151494).jpg 245.73 KB 239.58 KB -2.5% View diff
template/public/img/uploads/27-101954.jpg 188.20 KB 104.59 KB -44.4% View diff
template/public/img/uploads/28-101953.jpg 193.42 KB 105.91 KB -45.2% View diff
template/public/img/uploads/29-DescubramaisSILVERPLASTIC.jpg 233.67 KB 129.48 KB -44.6% View diff
template/public/img/uploads/2semanadobrigadeiro.jpg 195.80 KB 187.16 KB -4.4% View diff
template/public/img/uploads/30-102896.jpg 141.19 KB 83.43 KB -40.9% View diff
template/public/img/uploads/31-102890.jpg 138.69 KB 80.32 KB -42.1% View diff
template/public/img/uploads/32-102799.jpg 144.61 KB 84.63 KB -41.5% View diff
template/public/img/uploads/32(101402).jpg 243.17 KB 237.09 KB -2.5% View diff
template/public/img/uploads/33-102795.jpg 140.16 KB 80.79 KB -42.4% View diff
template/public/img/uploads/34-101481.jpg 164.66 KB 97.87 KB -40.6% View diff
template/public/img/uploads/35-101480.jpg 160.22 KB 92.92 KB -42.0% View diff
template/public/img/uploads/36-101402.jpg 161.17 KB 93.20 KB -42.2% View diff
template/public/img/uploads/37-101388.jpg 158.88 KB 91.93 KB -42.1% View diff
template/public/img/uploads/37.jpg 587.34 KB 135.93 KB -76.9% View diff
template/public/img/uploads/38-101363.jpg 151.54 KB 89.04 KB -41.2% View diff
template/public/img/uploads/39-101362.jpg 173.91 KB 100.10 KB -42.4% View diff
template/public/img/uploads/3mesdocliente.jpg 129.51 KB 123.50 KB -4.6% View diff
template/public/img/uploads/4.jpg 232.75 KB 224.64 KB -3.5% View diff
template/public/img/uploads/4mesdoclientebrinde.jpg 166.76 KB 161.22 KB -3.3% View diff
template/public/img/uploads/5mesdocliente102052.jpg 145.23 KB 140.10 KB -3.5% View diff
template/public/img/uploads/688db3f550.png 8.66 KB 7.73 KB -10.8% View diff
template/public/img/uploads/6mesdocliente102711.jpg 154.98 KB 149.88 KB -3.3% View diff
template/public/img/uploads/7(102355).jpg 256.41 KB 246.20 KB -4.0% View diff
template/public/img/uploads/7mesdocliente103855.jpg 163.89 KB 158.75 KB -3.1% View diff
template/public/img/uploads/8.jpg 235.70 KB 227.52 KB -3.5% View diff
template/public/img/uploads/8mesdocliente102823.jpg 153.60 KB 148.14 KB -3.6% View diff
template/public/img/uploads/9(103262).jpg 252.88 KB 243.43 KB -3.7% View diff
template/public/img/uploads/9semanaamendoim102942.jpg 190.18 KB 186.22 KB -2.1% View diff
template/public/img/uploads/banner-kit espatulas.jpg 194.87 KB 98.94 KB -49.2% View diff
template/public/img/uploads/banner-kit-espatulas.jpg 194.87 KB 98.94 KB -49.2% View diff
template/public/img/uploads/banner.jpg 181.88 KB 88.23 KB -51.5% View diff
template/public/img/uploads/bannerfestpan_22.jpg 136.97 KB 98.77 KB -27.9% View diff
template/public/img/uploads/bannerfini.jpg 293.54 KB 138.87 KB -52.7% View diff
template/public/img/uploads/bannernestleoutubro.jpg 465.94 KB 106.60 KB -77.1% View diff
template/public/img/uploads/blacknestle.jpg 577.59 KB 142.35 KB -75.4% View diff
template/public/img/uploads/bnr-promo-xtop.jpg 149.30 KB 81.56 KB -45.4% View diff
template/public/img/uploads/bolo-de-cenoura.jpg 276.42 KB 146.09 KB -47.2% View diff
template/public/img/uploads/br_pt_npfood_blackfridayecomm_banner_1995x525px_m-1.jpg 591.11 KB 140.06 KB -76.3% View diff
template/public/img/uploads/br_pt_nptrade_ecommbannersdec_festcakes_m-1.jpg 211.13 KB 114.24 KB -45.9% View diff
template/public/img/uploads/brindepais.jpg 282.88 KB 162.68 KB -42.5% View diff
template/public/img/uploads/brindesoftgel.jpg 237.56 KB 133.92 KB -43.6% View diff
template/public/img/uploads/diapadaria.jpg 319.16 KB 187.40 KB -41.3% View diff
template/public/img/uploads/e677be7c9e.png 7.69 KB 6.13 KB -20.3% View diff
template/public/img/uploads/festcakes-banner-comunicado-recesso.jpg 304.20 KB 173.62 KB -42.9% View diff
template/public/img/uploads/festcakes.webp 32.18 KB 28.27 KB -12.2% View diff
template/public/img/uploads/finaldesemanac.jpg 124.01 KB 63.98 KB -48.4% View diff
template/public/img/uploads/fretefestcakes.jpg 268.76 KB 150.29 KB -44.1% View diff
template/public/img/uploads/logo-festcakes.png 356.11 KB 316.05 KB -11.2% View diff
template/public/img/uploads/nestle_fevereiro.jpg 709.24 KB 140.13 KB -80.2% View diff
template/public/img/uploads/nestlebrigadeiro.jpg 206.85 KB 142.27 KB -31.2% View diff
template/public/img/uploads/nestlemesdocliente.jpg 465.21 KB 101.88 KB -78.1% View diff
template/public/img/uploads/ofertas1.jpg 185.03 KB 177.53 KB -4.0% View diff
template/public/img/uploads/ofertas2.jpg 185.02 KB 177.72 KB -3.9% View diff
template/public/img/uploads/ofertas3.jpg 241.69 KB 231.61 KB -4.2% View diff
template/public/img/uploads/semana100656.jpg 286.98 KB 160.25 KB -44.2% View diff
template/public/img/uploads/semana102182.jpg 310.35 KB 176.16 KB -43.2% View diff
template/public/img/uploads/semana102978.jpg 297.76 KB 165.22 KB -44.5% View diff
template/public/img/uploads/semana111023.jpg 322.64 KB 183.17 KB -43.2% View diff
template/public/img/uploads/semana116085.jpg 333.51 KB 188.37 KB -43.5% View diff
template/public/img/uploads/semana130065.jpg 317.49 KB 179.64 KB -43.4% View diff
template/public/img/uploads/semana151226.jpg 338.18 KB 191.11 KB -43.5% View diff
template/public/img/uploads/semana181018.jpg 289.21 KB 162.37 KB -43.9% View diff
template/public/img/uploads/silver-plastic.jpg 321.29 KB 170.18 KB -47.0% View diff
template/public/img/uploads/valentine.jpg 220.44 KB 109.48 KB -50.3% View diff
template/public/img/uploads/valentine10off.jpg 194.46 KB 101.21 KB -48.0% View diff
template/public/img/uploads/valentinebrinde.jpg 115.81 KB 59.98 KB -48.2% View diff
template/public/img/uploads/validade-bella.jpg 291.67 KB 148.23 KB -49.2% View diff
template/public/img/uploads/validade-mago.jpg 241.12 KB 121.26 KB -49.7% View diff

29 images did not require optimisation.

Copy link
Contributor Author

renovate bot commented Feb 24, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants