From 2cc85c64f1c64a2dbaeae276a3e2ca8420de76b7 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期三, 22 四月 2026 18:09:58 +0800
Subject: [PATCH] 上报转运调试

---
 node_modules/watchpack/package.json |   85 +++++++++++++++++++++++++++---------------
 1 files changed, 55 insertions(+), 30 deletions(-)

diff --git a/node_modules/watchpack/package.json b/node_modules/watchpack/package.json
index aa17982..2ad6de4 100644
--- a/node_modules/watchpack/package.json
+++ b/node_modules/watchpack/package.json
@@ -1,48 +1,73 @@
 {
   "name": "watchpack",
-  "version": "2.4.4",
+  "version": "2.5.1",
   "description": "",
-  "main": "./lib/watchpack.js",
-  "directories": {
-    "test": "test"
-  },
-  "files": [
-    "lib/"
-  ],
-  "scripts": {
-    "pretty-files": "prettier \"lib/**.*\" \"test/**/*.js\" --write",
-    "lint": "eslint lib",
-    "test:only": "mocha",
-    "test:coverage": "istanbul cover node_modules/mocha/bin/_mocha",
-    "pretest": "yarn lint",
-    "test": "mocha"
+  "homepage": "https://github.com/webpack/watchpack",
+  "bugs": {
+    "url": "https://github.com/webpack/watchpack/issues"
   },
   "repository": {
     "type": "git",
     "url": "https://github.com/webpack/watchpack.git"
   },
-  "author": "Tobias Koppers @sokra",
   "license": "MIT",
-  "bugs": {
-    "url": "https://github.com/webpack/watchpack/issues"
+  "author": "Tobias Koppers @sokra",
+  "main": "lib/index.js",
+  "types": "types/index.js",
+  "directories": {
+    "test": "test"
   },
-  "homepage": "https://github.com/webpack/watchpack",
-  "devDependencies": {
-    "coveralls": "^3.0.0",
-    "eslint": "^5.11.1",
-    "eslint-config-prettier": "^4.3.0",
-    "eslint-plugin-prettier": "^3.1.0",
-    "istanbul": "^0.4.3",
-    "mocha": "^5.0.1",
-    "prettier": "^1.11.0",
-    "rimraf": "^2.6.2",
-    "should": "^8.3.1",
-    "write-file-atomic": "^3.0.1"
+  "files": [
+    "lib/",
+    "types/"
+  ],
+  "scripts": {
+    "lint": "npm run lint:code && npm run lint:types && npm run lint:types-test && npm run lint:declarations && npm run fmt:check",
+    "lint:code": "eslint --cache .",
+    "lint:types": "tsc",
+    "lint:types-test": "tsc -p tsconfig.types.test.json",
+    "lint:declarations": "npm run fix:declarations && git diff --exit-code ./types",
+    "fix": "npm run fix:code && npm run fix:declarations",
+    "fix:code": "npm run lint:code -- --fix",
+    "fix:declarations": "tsc --noEmit false --declaration --emitDeclarationOnly --outDir types && npm run fmt -- ./types",
+    "fmt": "npm run fmt:base -- --log-level warn --write",
+    "fmt:check": "npm run fmt:base -- --check",
+    "fmt:base": "prettier --cache --ignore-unknown .",
+    "pretest": "npm run lint",
+    "test": "npm run test:coverage",
+    "test:base": "jest --runInBand",
+    "test:only": "npm run test:base",
+    "test:watch": "npm run test:base -- --watch",
+    "test:coverage": "npm run test:base -- --collectCoverageFrom=\"lib/**/*.js\" --coverage"
   },
   "dependencies": {
     "glob-to-regexp": "^0.4.1",
     "graceful-fs": "^4.1.2"
   },
+  "devDependencies": {
+    "@eslint/js": "^9.28.0",
+    "@eslint/markdown": "^7.5.1",
+    "@stylistic/eslint-plugin": "^5.6.1",
+    "@types/glob-to-regexp": "^0.4.4",
+    "@types/graceful-fs": "^4.1.9",
+    "@types/jest": "^27.5.1",
+    "@types/node": "^24.10.4",
+    "eslint": "^9.39.2",
+    "eslint-config-prettier": "^10.1.8",
+    "eslint-config-webpack": "^4.7.3",
+    "eslint-plugin-import": "^2.32.0",
+    "eslint-plugin-jest": "^29.5.0",
+    "eslint-plugin-jsdoc": "^61.5.0",
+    "eslint-plugin-n": "^17.23.1",
+    "eslint-plugin-prettier": "^5.5.4",
+    "eslint-plugin-unicorn": "^62.0.0",
+    "globals": "^16.5.0",
+    "jest": "^27.5.1",
+    "prettier": "^3.7.4",
+    "rimraf": "^2.6.2",
+    "typescript": "^5.9.3",
+    "write-file-atomic": "^3.0.1"
+  },
   "engines": {
     "node": ">=10.13.0"
   }

--
Gitblit v1.9.3