Fix regex with misleading operator precedence in @octokit/request dependency
- Fixed regex /^text\/|charset=utf-8$/ to /^text\/|charset=utf-8/ - Removed misleading end anchor ($) from charset=utf-8 part - Added patch-package to dependencies and postinstall script - Updated dist/index.js with fix applied to bundled dependencies - All tests continue to pass
This commit is contained in:
+4
-2
@@ -8,7 +8,8 @@
|
||||
"@actions/github": "^6.0.0",
|
||||
"@octokit/plugin-paginate-rest": "^13.0.1",
|
||||
"@octokit/request": "^9.2.2",
|
||||
"@octokit/request-error": "^6.1.7"
|
||||
"@octokit/request-error": "^6.1.7",
|
||||
"patch-package": "^8.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.0.0",
|
||||
@@ -53,6 +54,7 @@
|
||||
"check:format": "prettier --check .",
|
||||
"check:lint": "eslint .",
|
||||
"fix:format": "prettier --write .",
|
||||
"test": "jest"
|
||||
"test": "jest",
|
||||
"postinstall": "patch-package"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user