Audit npm packages
This commit is contained in:
parent
356c7e89fa
commit
f8e2c2f762
File diff suppressed because it is too large
Load Diff
|
@ -16,24 +16,24 @@
|
|||
"test-prod": "npm run test -- --reporter min"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.12.3",
|
||||
"@babel/preset-env": "^7.12.1",
|
||||
"@babel/preset-react": "^7.12.1",
|
||||
"@babel/register": "^7.12.1",
|
||||
"babel-loader": "^8.1.0",
|
||||
"babel-plugin-module-resolver": "^4.0.0",
|
||||
"circular-dependency-plugin": "^5.2.0",
|
||||
"css-loader": "^5.1.0",
|
||||
"eslint": "^7.12.0",
|
||||
"eslint-plugin-react": "^7.21.5",
|
||||
"postcss": "^8.1.4",
|
||||
"postcss-cli": "^8.1.0",
|
||||
"@babel/core": "^7.14.3",
|
||||
"@babel/preset-env": "^7.14.2",
|
||||
"@babel/preset-react": "^7.13.13",
|
||||
"@babel/register": "^7.13.16",
|
||||
"babel-loader": "^8.2.2",
|
||||
"babel-plugin-module-resolver": "^4.1.0",
|
||||
"circular-dependency-plugin": "^5.2.2",
|
||||
"css-loader": "^5.2.5",
|
||||
"eslint": "^7.27.0",
|
||||
"eslint-plugin-react": "^7.23.2",
|
||||
"postcss": "^8.3.0",
|
||||
"postcss-cli": "^8.3.1",
|
||||
"postcss-csso": "^4.0.0",
|
||||
"postcss-easy-import": "^3.0.0",
|
||||
"postcss-loader": "^4.2.0",
|
||||
"stylelint": "^13.7.2",
|
||||
"postcss-loader": "^4.3.0",
|
||||
"stylelint": "^13.13.1",
|
||||
"stylelint-config-standard": "^20.0.0",
|
||||
"webpack": "^4.43.0",
|
||||
"webpack": "^4.46.0",
|
||||
"webpack-cli": "^3.3.12"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -64,6 +64,7 @@ export default new class SettingsRenderer {
|
|||
const UserSettings = WebpackModules.getByDisplayName("SettingsView");
|
||||
Patcher.after("SettingsManager", UserSettings.prototype, "getPredicateSections", (thisObject, args, returnValue) => {
|
||||
let location = returnValue.findIndex(s => s.section.toLowerCase() == "changelog") - 1;
|
||||
if (location < 0) return;
|
||||
const insert = (section) => {
|
||||
returnValue.splice(location, 0, section);
|
||||
location++;
|
||||
|
|
Loading…
Reference in New Issue