Liu Song’s Projects


~/Projects/dashboard

git clone https://code.lsong.org/dashboard

Commit

Commit
c937cb7c2b501abcc424fe56225253ff76ff54a8
Author
Lsong <[email protected]>
Date
2022-10-28 14:41:14 +0800 +0800
Diffstat
 dist/js/main.js | 2 +-

update


diff --git a/dist/js/main.js b/dist/js/main.js
index 66e1d0544475cdf4075fdb3f22528bedfb9d1ac0..09bd51e9a2fd16d4b5da65525926054e9dbed035 100644
--- a/dist/js/main.js
+++ b/dist/js/main.js
@@ -364,7 +364,7 @@   \************************************************/
 /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
 
 "use strict";
-eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"HTTPClient\": () => (/* binding */ HTTPClient)\n/* harmony export */ });\n/* harmony import */ var isomorphic_fetch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! isomorphic-fetch */ \"./node_modules/isomorphic-fetch/fetch-npm-browserify.js\");\n\n\nconst debuglog = name => {\n  const { NODE_DEBUG } = {\"MANPATH\":\"/opt/homebrew/share/man:/usr/share/man:/usr/local/share/man:/Applications/Wireshark.app/Contents/Resources/share/man:/opt/homebrew/share/man::\",\"npm_config___init_version\":\"0.0.0\",\"TERM_PROGRAM\":\"vscode\",\"NODE\":\"/usr/local/bin/node\",\"INIT_CWD\":\"/Users/Lsong/Projects/react-app-with-router\",\"TERM\":\"xterm-256color\",\"SHELL\":\"/bin/zsh\",\"HOMEBREW_REPOSITORY\":\"/opt/homebrew\",\"TMPDIR\":\"/var/folders/j9/jnmd00l531zg5xxxmbbt1w_00000gp/T/\",\"npm_config_metrics_registry\":\"https://registry.npmjs.org/\",\"npm_config_global_prefix\":\"/usr/local\",\"TERM_PROGRAM_VERSION\":\"1.72.2\",\"MallocNanoZone\":\"0\",\"ORIGINAL_XDG_CURRENT_DESKTOP\":\"undefined\",\"ZDOTDIR\":\"/Users/Lsong\",\"TERM_SESSION_ID\":\"w0t0p0:33691B81-9F80-4FC6-988D-2E525EACC87A\",\"COLOR\":\"1\",\"npm_config_noproxy\":\"\",\"npm_config_local_prefix\":\"/Users/Lsong/Projects/react-app-with-router\",\"USER\":\"lsong\",\"LS_COLORS\":\"no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=41;33;01:ex=00;32:ow=0;41:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.lzma=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.avi=01;35:*.bmp=01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;35:*.gl=01;35:*.wmv=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32:*.patch=00;34:*.o=00;32:*.so=01;35:*.ko=01;31:*.la=00;33\",\"COMMAND_MODE\":\"unix2003\",\"npm_config_globalconfig\":\"/usr/local/etc/npmrc\",\"SSH_AUTH_SOCK\":\"/private/tmp/com.apple.launchd.K5rgDoANVM/Listeners\",\"__CF_USER_TEXT_ENCODING\":\"0x1F6:0x0:0x0\",\"npm_execpath\":\"/usr/local/lib/node_modules/npm/bin/npm-cli.js\",\"LSCOLORS\":\"Gxfxcxdxbxegedabagacab\",\"PATH\":\"/Users/Lsong/Projects/react-app-with-router/node_modules/.bin:/Users/Lsong/Projects/node_modules/.bin:/Users/Lsong/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/usr/local/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/Users/Lsong/Projects/react-app-with-router/node_modules/.bin:/Users/Lsong/Projects/node_modules/.bin:/Users/Lsong/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/usr/local/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/opt/puppetlabs/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/opt/homebrew/bin:/opt/homebrew/sbin\",\"LaunchInstanceID\":\"9AED7FEE-8288-4F63-9571-F816B2A03915\",\"_\":\"/Users/Lsong/Projects/react-app-with-router/node_modules/.bin/kbuild\",\"npm_package_json\":\"/Users/Lsong/Projects/react-app-with-router/package.json\",\"__CFBundleIdentifier\":\"com.microsoft.VSCode\",\"USER_ZDOTDIR\":\"/Users/Lsong\",\"npm_config_init_module\":\"/Users/Lsong/.npm-init.js\",\"npm_config_userconfig\":\"/Users/Lsong/.npmrc\",\"PWD\":\"/Users/Lsong/Projects/react-app-with-router\",\"npm_command\":\"run-script\",\"EDITOR\":\"vi\",\"npm_lifecycle_event\":\"build\",\"LANG\":\"en_US.UTF-8\",\"npm_package_name\":\"@song940/dashboard\",\"ITERM_PROFILE\":\"Default\",\"XPC_FLAGS\":\"0x0\",\"VSCODE_GIT_ASKPASS_EXTRA_ARGS\":\"--ms-enable-electron-run-as-node\",\"npm_config___init_license\":\"MIT\",\"npm_config_node_gyp\":\"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\",\"XPC_SERVICE_NAME\":\"0\",\"npm_package_version\":\"1.0.0\",\"VSCODE_INJECTION\":\"1\",\"SHLVL\":\"5\",\"HOME\":\"/Users/Lsong\",\"COLORFGBG\":\"7;0\",\"VSCODE_GIT_ASKPASS_MAIN\":\"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js\",\"LC_TERMINAL_VERSION\":\"3.4.16\",\"HOMEBREW_PREFIX\":\"/opt/homebrew\",\"ITERM_SESSION_ID\":\"w0t0p0:33691B81-9F80-4FC6-988D-2E525EACC87A\",\"LOGNAME\":\"lsong\",\"npm_config_cache\":\"/Users/Lsong/.npm\",\"npm_lifecycle_script\":\"kbuild\",\"LC_CTYPE\":\"UTF-8\",\"VSCODE_GIT_IPC_HANDLE\":\"/var/folders/j9/jnmd00l531zg5xxxmbbt1w_00000gp/T/vscode-git-156ec19952.sock\",\"npm_config___init_author_email\":\"[email protected]\",\"npm_config___init_author_name\":\"Lsong\",\"npm_config_user_agent\":\"npm/8.15.0 node/v16.17.0 darwin arm64 workspaces/false\",\"INFOPATH\":\"/opt/homebrew/share/info:/opt/homebrew/share/info:\",\"HOMEBREW_CELLAR\":\"/opt/homebrew/Cellar\",\"GIT_ASKPASS\":\"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh\",\"VSCODE_GIT_ASKPASS_NODE\":\"/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper\",\"LC_TERMINAL\":\"iTerm2\",\"SECURITYSESSIONID\":\"186ac\",\"npm_config___init_author_url\":\"https://lsong.org\",\"COLORTERM\":\"truecolor\",\"npm_config_prefix\":\"/usr/local\",\"npm_node_execpath\":\"/usr/local/bin/node\"};\n  return (...args) => {\n    if (NODE_DEBUG !== name) return;\n    console.debug(...args);\n  }\n};\n\nconst debug = debuglog('node-aria2');\n\nclass HTTPClient {\n  constructor(options) {\n    Object.assign(this, {\n      method: 'get'\n    }, options);\n  }\n  request(method, url, body, headers) {\n    debug(method, url, body, headers);\n    return fetch(url, {\n      method,\n      headers,\n      body\n    }).then(res => res.json());\n  }\n  get(query) {\n    const { method, url } = this;\n    const u = new URL(url);\n    for (const q of query)\n      u.searchParams.append(q, query[q]);\n    return this.request(method, u.toString());\n  }\n  post(payload) {\n    const { method, url } = this;\n    return this.request(method, url, JSON.stringify(payload));\n  }\n}\n\n\n//# sourceURL=webpack://App/./node_modules/aria2c/transports/http.js?");
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"HTTPClient\": () => (/* binding */ HTTPClient)\n/* harmony export */ });\n/* harmony import */ var isomorphic_fetch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! isomorphic-fetch */ \"./node_modules/isomorphic-fetch/fetch-npm-browserify.js\");\n\n\nconst debuglog = name => {\n  const { NODE_DEBUG } = {\"MANPATH\":\"/opt/homebrew/share/man:/usr/share/man:/usr/local/share/man:/Applications/Wireshark.app/Contents/Resources/share/man:/opt/homebrew/share/man::\",\"npm_config___init_version\":\"0.0.0\",\"TERM_PROGRAM\":\"vscode\",\"NODE\":\"/usr/local/bin/node\",\"INIT_CWD\":\"/Users/Lsong/Projects/react-app-with-router\",\"SHELL\":\"/bin/zsh\",\"TERM\":\"xterm-256color\",\"npm_config_metrics_registry\":\"https://registry.npmjs.org/\",\"TMPDIR\":\"/var/folders/j9/jnmd00l531zg5xxxmbbt1w_00000gp/T/\",\"HOMEBREW_REPOSITORY\":\"/opt/homebrew\",\"npm_config_global_prefix\":\"/usr/local\",\"TERM_PROGRAM_VERSION\":\"1.72.2\",\"ZDOTDIR\":\"/Users/Lsong\",\"ORIGINAL_XDG_CURRENT_DESKTOP\":\"undefined\",\"MallocNanoZone\":\"0\",\"COLOR\":\"1\",\"TERM_SESSION_ID\":\"w0t0p0:33691B81-9F80-4FC6-988D-2E525EACC87A\",\"npm_config_noproxy\":\"\",\"npm_config_local_prefix\":\"/Users/Lsong/Projects/react-app-with-router\",\"USER\":\"lsong\",\"LS_COLORS\":\"no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=41;33;01:ex=00;32:ow=0;41:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.lzma=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.avi=01;35:*.bmp=01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;35:*.gl=01;35:*.wmv=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32:*.patch=00;34:*.o=00;32:*.so=01;35:*.ko=01;31:*.la=00;33\",\"COMMAND_MODE\":\"unix2003\",\"npm_config_globalconfig\":\"/usr/local/etc/npmrc\",\"SSH_AUTH_SOCK\":\"/private/tmp/com.apple.launchd.K5rgDoANVM/Listeners\",\"__CF_USER_TEXT_ENCODING\":\"0x1F6:0x0:0x0\",\"npm_execpath\":\"/usr/local/lib/node_modules/npm/bin/npm-cli.js\",\"LSCOLORS\":\"Gxfxcxdxbxegedabagacab\",\"PATH\":\"/Users/Lsong/Projects/react-app-with-router/node_modules/.bin:/Users/Lsong/Projects/node_modules/.bin:/Users/Lsong/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/usr/local/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/opt/puppetlabs/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/opt/homebrew/bin:/opt/homebrew/sbin\",\"npm_package_json\":\"/Users/Lsong/Projects/react-app-with-router/package.json\",\"_\":\"/Users/Lsong/Projects/react-app-with-router/node_modules/.bin/kbuild\",\"LaunchInstanceID\":\"9AED7FEE-8288-4F63-9571-F816B2A03915\",\"npm_config_userconfig\":\"/Users/Lsong/.npmrc\",\"npm_config_init_module\":\"/Users/Lsong/.npm-init.js\",\"USER_ZDOTDIR\":\"/Users/Lsong\",\"__CFBundleIdentifier\":\"com.microsoft.VSCode\",\"npm_command\":\"run-script\",\"PWD\":\"/Users/Lsong/Projects/react-app-with-router\",\"npm_lifecycle_event\":\"build\",\"EDITOR\":\"vi\",\"npm_package_name\":\"@song940/dashboard\",\"LANG\":\"en_US.UTF-8\",\"ITERM_PROFILE\":\"Default\",\"npm_config___init_license\":\"MIT\",\"VSCODE_GIT_ASKPASS_EXTRA_ARGS\":\"--ms-enable-electron-run-as-node\",\"XPC_FLAGS\":\"0x0\",\"npm_config_node_gyp\":\"/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\",\"npm_package_version\":\"1.0.0\",\"XPC_SERVICE_NAME\":\"0\",\"VSCODE_INJECTION\":\"1\",\"COLORFGBG\":\"7;0\",\"HOME\":\"/Users/Lsong\",\"SHLVL\":\"4\",\"VSCODE_GIT_ASKPASS_MAIN\":\"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js\",\"LC_TERMINAL_VERSION\":\"3.4.16\",\"HOMEBREW_PREFIX\":\"/opt/homebrew\",\"ITERM_SESSION_ID\":\"w0t0p0:33691B81-9F80-4FC6-988D-2E525EACC87A\",\"npm_config_cache\":\"/Users/Lsong/.npm\",\"LOGNAME\":\"lsong\",\"npm_lifecycle_script\":\"kbuild\",\"VSCODE_GIT_IPC_HANDLE\":\"/var/folders/j9/jnmd00l531zg5xxxmbbt1w_00000gp/T/vscode-git-156ec19952.sock\",\"LC_CTYPE\":\"UTF-8\",\"npm_config___init_author_email\":\"[email protected]\",\"npm_config___init_author_name\":\"Lsong\",\"npm_config_user_agent\":\"npm/8.15.0 node/v16.17.0 darwin arm64 workspaces/false\",\"VSCODE_GIT_ASKPASS_NODE\":\"/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper\",\"GIT_ASKPASS\":\"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh\",\"HOMEBREW_CELLAR\":\"/opt/homebrew/Cellar\",\"INFOPATH\":\"/opt/homebrew/share/info:/opt/homebrew/share/info:\",\"LC_TERMINAL\":\"iTerm2\",\"npm_config___init_author_url\":\"https://lsong.org\",\"SECURITYSESSIONID\":\"186ac\",\"npm_node_execpath\":\"/usr/local/bin/node\",\"npm_config_prefix\":\"/usr/local\",\"COLORTERM\":\"truecolor\"};\n  return (...args) => {\n    if (NODE_DEBUG !== name) return;\n    console.debug(...args);\n  }\n};\n\nconst debug = debuglog('node-aria2');\n\nclass HTTPClient {\n  constructor(options) {\n    Object.assign(this, {\n      method: 'get'\n    }, options);\n  }\n  request(method, url, body, headers) {\n    debug(method, url, body, headers);\n    return fetch(url, {\n      method,\n      headers,\n      body\n    }).then(res => res.json());\n  }\n  get(query) {\n    const { method, url } = this;\n    const u = new URL(url);\n    for (const q of query)\n      u.searchParams.append(q, query[q]);\n    return this.request(method, u.toString());\n  }\n  post(payload) {\n    const { method, url } = this;\n    return this.request(method, url, JSON.stringify(payload));\n  }\n}\n\n\n//# sourceURL=webpack://App/./node_modules/aria2c/transports/http.js?");
 
 /***/ }),