Update `minimatch` to Latest and Update Import

オープン
#809 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
node.js, typescript, webpack
領域
build-system

調査の方向性

Start by grepping the src/ directory for minimatch to find its import and every call site; the issue names no file, so the import is the first thing to locate. Change the import to destructure from the new v9 export shape (rather than relying on defaults), bump the minimatch dependency in package.json, and confirm nothing else uses the old call form. Run the existing test suite plus a build to verify webpack starts with the override, which is what done looks like here.

索引モデルが issue の本文から書いたものです。

説明

bug

Current behavior

✏️ An TypeError is happening when running npm run start with an override of webpack in version 5.79.0 and minimatch in version 9.0.0.

minimatch has updated their code from not using defaults anymore and importing minimatch is now done through destructuring from an exported object.

Expected behavior

Webpack to run successfully when running npm run start.

Steps to reproduce the issue

Use latest webpack version 5.79.0 and latest minimatch in version 9.0.0 in an override property in package.json.

Issue reproduction repository

Environment

  • fork-ts-checker-webpack-plugin: 8.0.0
  • typescript: 4.5.5
  • eslint: 8.8.0
  • webpack: 5.67.0
  • os: Windows 10
主要言語
TypeScript
スター
2k
フォーク
257
平均マージ
1日 23時間
マージ済み PR(30日)
7

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

TypeStrong/fork-ts-checker-webpack-plugin のほかの issue

TypeStrong/fork-ts-checker-webpack-plugin の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。