Update `minimatch` to Latest and Update Import

Abierto
#809 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
42/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
node.js, typescript, webpack
Área
build-system

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
TypeScript
Estrellas
2k
Forks
257
Merge medio
1 d 23 h
PR fusionados (30 d)
7

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de TypeStrong/fork-ts-checker-webpack-plugin

Todos los issues de TypeStrong/fork-ts-checker-webpack-plugin

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.