slackhq / csp-html-webpack-plugin

A plugin which, when combined with HTMLWebpackPlugin, adds CSP tags to the HTML output.
MIT License
164 stars 40 forks source link

deprecated @types/anymatch@3.0.0: This is a stub types definition. anymatch provides its own type definitions #92

Closed seanwessmith closed 3 years ago

seanwessmith commented 3 years ago

Description

remove package @types/anymatch

What type of issue is this? (place an x in one of the [ ])

Requirements (place an x in each of the [ ])


Bug Report

npm WARN deprecated @types/anymatch@3.0.0: This is a stub types definition. anymatch provides its own type definitions, so you do not need this installed.

Reproducible in:

slackhq/csp-html-webpack-plugin version:3.0.1

node version: v14.16.1

OS version(s): MacOS 11.3.1

Steps to reproduce:

  1. install @types/csp-html-webpack-plugin: 3.0.1

Expected result:

  1. clean install. no npm errors should appear

Actual result:

  1. npm outputs error "npm WARN deprecated @types/anymatch@3.0.0: This is a stub types definition. anymatch provides its own type definitions, so you do not need this installed."