Skip to content

chore(deps): update all non-major dependencies#459

Merged
Shinigami92 merged 1 commit intomainfrom
renovate/all-minor-patch
Feb 10, 2022
Merged

chore(deps): update all non-major dependencies#459
Shinigami92 merged 1 commit intomainfrom
renovate/all-minor-patch

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 10, 2022

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@types/prettier ~2.4.3 -> ~2.4.4 age adoption passing confidence
esbuild ~0.14.20 -> ~0.14.21 age adoption passing confidence
eslint-plugin-jsdoc ~37.8.0 -> ~37.8.2 age adoption passing confidence
pnpm (source) 6.30.0 -> 6.30.1 age adoption passing confidence
vite ~2.7.13 -> ~2.8.0 age adoption passing confidence

Release Notes

evanw/esbuild

v0.14.21

Compare Source

  • Handle an additional browser map edge case (#​2001, #​2002)

    There is a community convention around the browser field in package.json that allows remapping import paths within a package when the package is bundled for use within a browser. There isn't a rigorous definition of how it's supposed to work and every bundler implements it differently. The approach esbuild uses is to try to be "maximally compatible" in that if at least one bundler exhibits a particular behavior regarding the browser map that allows a mapping to work, then esbuild also attempts to make that work.

    I have a collection of test cases for this going here: https://github.com/evanw/package-json-browser-tests. However, I was missing test coverage for the edge case where a package path import in a subdirectory of the package could potentially match a remapping. The "maximally compatible" approach means replicating bugs in Browserify's implementation of the feature where package paths are mistaken for relative paths and are still remapped. Here's a specific example of an edge case that's now handled:

    • entry.js:

      require('pkg/sub')
    • node_modules/pkg/package.json:

      {
        "browser": {
          "./sub": "./sub/foo.js",
          "./sub/sub": "./sub/bar.js"
        }
      }
    • node_modules/pkg/sub/foo.js:

      require('sub')
    • node_modules/pkg/sub/bar.js:

      console.log('works')

    The import path sub in require('sub') is mistaken for a relative path by Browserify due to a bug in Browserify, so Browserify treats it as if it were ./sub instead. This is a Browserify-specific behavior and currently doesn't happen in any other bundler (except for esbuild, which attempts to replicate Browserify's bug).

    Previously esbuild was incorrectly resolving ./sub relative to the top-level package directory instead of to the subdirectory in this case, which meant ./sub was incorrectly matching "./sub": "./sub/foo.js" instead of "./sub/sub": "./sub/bar.js". This has been fixed so esbuild can now emulate Browserify's bug correctly in this edge case.

  • Support for esbuild with Linux on RISC-V 64bit (#​2000)

    With this release, esbuild now has a published binary executable for the RISC-V 64bit architecture in the esbuild-linux-riscv64 npm package. This change was contributed by @​piggynl.

gajus/eslint-plugin-jsdoc

v37.8.2

Compare Source

Bug Fixes
  • empty-tags: prevent tag content for interface in Closure mode (1b3212f)

v37.8.1

Compare Source

Bug Fixes
  • valid-types: allow dropping of typedef name and/or type by TypeScript (8847608)
pnpm/pnpm

v6.30.1

Patch Changes
  • This fixes an issue introduced in pnpm v6.30.0.

    When a package is not linked to node_modules, no info message should be printed about it being "relinked" from the store #​4314.

vitejs/vite

v2.8.0

Compare Source

Reduced Footprint

Vite 2.8.0 is almost 1/4 of the 2.7.0 publish size, and the install size has been reduced by 35%. See this thread about each change that reduced Vite's footprint.

Version Publish Size Install Size
2.7.0 12.7MB 25.2MB
2.8.0 4.6MB 17.4MB
Default preview port

New default port for vite preview is 4173 (avoid conflicts in MacOS that took over the 5000 port)

Workers using standard syntax

Workers are detected and bundled when using new URL('path', import.meta.url), replacing the need for the ?worker suffix and aligning Vite with standard patterns. See #​6356. Instead of

import MyWorker from './worker.js?worker'
const worker = new MyWorker()

it is now recommended to use

const worker = new Worker(
  new URL('./worker.js', import.meta.url), { type: 'module' }
)
Configuring Workers Bundling

New worker config field adding support for Worker format, plugins and, rollupOptions. See #​6351

  • worker.format: 'es' | 'iife'

    Output format for worker bundle (default: iife).
  • worker.plugins: (Plugin | Plugin[])[]

    Vite plugins that apply to worker bundle.
  • worker.rollupOptions: RollupOptions

    Rollup options to build worker bundle.

The worker plugins pipeline isn't shared with the main Vite pipeline, there may be plugins that shouldn't be applied to Workers. If a plugin must be applied to both the main build and the worker build, you need to add a plugin in the main plugins array and another one in the worker.plugins config.

import PluginX from 'vite-plugin-x'
export default {
  plugins: [ PluginX() ]
  worker: [
    format: 'es',
    plugins: [ PluginX() ]
  ]
}
Raw Glob Imports

Glob imports now support the raw modifier (that works in the same way as the ?raw suffix in regular imports). Vite is going to gradually migrate to the new standard assert syntax instead of using custom URL suffixes where possible.

const examples = import.meta.globEager('./examples/*.html', { assert: { type: 'raw' }})
  • New server.headers config option allowing configuration of response headers in dev mode.
export default {
 server: {
    port: '8080',
    headers: {
      'Cache-Control': 'no-store'
    }
  },
}
Bug Fixes
Features
Beta Changelogs
2.8.0-beta.7 (2022-02-08)

See 2.8.0-beta.7 changelog

2.8.0-beta.6 (2022-02-07)

See 2.8.0-beta.6 changelog

2.8.0-beta.5 (2022-02-02)

See 2.8.0-beta.5 changelog

2.8.0-beta.4 (2022-01-31)

See 2.8.0-beta.4 changelog

2.8.0-beta.3 (2022-01-18)

See 2.8.0-beta.3 changelog

2.8.0-beta.2 (2022-01-13)

2.8.0-beta.2 changelog

2.8.0-beta.1 (2022-01-06)

See 2.8.0-beta.1 changelog

2.8.0-beta.0 (2022-01-05)

See 2.8.0-beta.0 changelog

2.7.9 (2021-12-28)

2.7.8 (2021-12-28)

Bug Fixes

2.7.7 (2021-12-26)

Bug Fixes

2.7.6 (2021-12-22)

Bug Fixes
  • remove virtual module prefix while generating manifest (#​6225) (d51259b)

2.7.5 (2021-12-21)

Bug Fixes

2.7.4 (2021-12-20)

Bug Fixes

2.7.3 (2021-12-16)

Bug Fixes

2.7.2 (2021-12-13)

Bug Fixes

2.7.1 (2021-12-07)

Bug Fixes

Configuration

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

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

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

👻 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.

@renovate renovate bot requested a review from a team as a code owner February 10, 2022 01:13
@renovate renovate bot added the c: dependencies Pull requests that adds/updates a dependency label Feb 10, 2022
@codecov
Copy link

codecov bot commented Feb 10, 2022

Codecov Report

Merging #459 (8a61638) into main (c6477f2) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #459      +/-   ##
==========================================
- Coverage   99.32%   99.32%   -0.01%     
==========================================
  Files        1920     1920              
  Lines      174272   174272              
  Branches      893      893              
==========================================
- Hits       173100   173099       -1     
- Misses       1116     1117       +1     
  Partials       56       56              
Impacted Files Coverage Δ
src/helpers.ts 99.30% <0.00%> (-0.18%) ⬇️

ST-DDT
ST-DDT previously approved these changes Feb 10, 2022
@ST-DDT ST-DDT requested a review from a team February 10, 2022 09:02
@ST-DDT ST-DDT requested a review from a team February 10, 2022 10:14
@Shinigami92 Shinigami92 merged commit 5f4cef7 into main Feb 10, 2022
@Shinigami92 Shinigami92 deleted the renovate/all-minor-patch branch February 10, 2022 10:15
demipel8 pushed a commit to demipel8/faker that referenced this pull request Mar 11, 2022
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c: dependencies Pull requests that adds/updates a dependency

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants