From 9912bc82c90c97f42b0fc0f034de33f5f21c5f16 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Wed, 17 Jan 2024 06:48:32 +0000 Subject: [PATCH 1/6] feat: Updated .github/workflows/node.js.yml --- .github/workflows/node.js.yml | 69 +++++++++++++++++++++++++++++++++-- 1 file changed, 65 insertions(+), 4 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index b1ce32d71..0dfb492fe 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -5,6 +5,22 @@ name: Node.js CI on: push: + branches: [ 'main' , 'staging' , 'develop' ] + pull_request: + branches: [ 'main' , 'staging' , 'develop' ] + +env: + NPM_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}} + +jobs: + build_and_test: + name: Build and Test + runs-on: ubuntu-latest + +on: + push: + branches: [ 'main' , 'staging' , 'develop' ] + branches: [ 'main' , 'staging' , 'develop' ] branches: [ "master" ] pull_request: branches: [ "master" ] @@ -16,16 +32,61 @@ jobs: strategy: matrix: - node-version: [14.x, 16.x, 18.x] + node-version: [12.x, 14.x, 16.x, 18.x] + matrix: + node-version: [14.x] + needs: e2e + + - name: Cache node modules + npm@latest + with: + path: ~/.npm + key: ${{ runner.os }}-build-node-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-build-node- + push: ${{ github.sha }} + + - name: Cache node modules + uses: actions/cache@v2 + with: + path: ~/.npm + key: ${{ runner.os }}-build-node-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-build-node- # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ + - name: Cache node modules + npm@latest + with: + path: ~/.npm + key: ${{ runner.os }}-build-node-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-build-node- + push: ${{ github.sha } + steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + with: + npm@latest + token: ${{secrets.ACTIONS_TOKEN}} +- name: Deploy + run: npm run deploy + with: + always-auth: false + check-latest: false + with: + always-auth: false + check-latest: false + npm@latest with: node-version: ${{ matrix.node-version }} cache: 'npm' - run: npm ci - - run: npm run build --if-present - - run: npm test + - run: npm run assert + - name: End-to-End Testing + run: npm run e2e + - name: Test + run: npm run assert + - name: Deploy + run: npm run deploy From 67c52a558bd118f244e7c5cb4cdd76f1a8c2ab3c Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Wed, 17 Jan 2024 06:55:00 +0000 Subject: [PATCH 2/6] feat: Updated LICENSE --- LICENSE | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index f288702d2..cb8b37dec 100644 --- a/LICENSE +++ b/LICENSE @@ -13,6 +13,24 @@ software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to + +This work is licensed under the GNU General Public License v3.0. +You should have received a copy of the license along with this +program. If not, see . + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + +this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to @@ -421,9 +439,13 @@ prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the @@ -549,7 +571,9 @@ to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. - 13. Use with the GNU Affero General Public License. + This work is licensed under the GNU General Public License v3.0. +You should have received a copy of the license along with this +program. If not, see . Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed From aeb765bd245817bbead03d8bc56ec76ff871a6b5 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Wed, 17 Jan 2024 06:55:18 +0000 Subject: [PATCH 3/6] feat: Updated Ping.Sx-Enhanced.user.js --- Ping.Sx-Enhanced.user.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Ping.Sx-Enhanced.user.js b/Ping.Sx-Enhanced.user.js index ba773f6ae..c8b797b06 100644 --- a/Ping.Sx-Enhanced.user.js +++ b/Ping.Sx-Enhanced.user.js @@ -8,12 +8,16 @@ // @match https://ping.sx/check-port* // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAD7klEQVR4nO3WWYxfcxQH8M9//LWzdJuWaVMaI6WKKtKOfacVGuHFgy3E8iARDyKWBBEJ8SC2Jy9EeKCSqpoiBJF22k6JbdBqqqilqe4z05ol0xkP5/zz/6dPY3iQuN/kl3vv755z7lm+5/wuBQoUKFCgQIECBQoU+L+iNAb5OpRzHY5xGI8D2PMPfKlDK+qxNe2NyqHa+4k4EkdgWq6paM41GZNSrilXQ16/wE3YN8YAjsKKtH0NNo5GqVxzP6Ia9QHsQmM63IAJuSZmIBPS8UZMwfcYGKPzMA/z8Sl+G61SbQDzcbkoXxmnp7GVeX8+hrEM36bOqamzMeWm4rq0tRefYD36MRsXCJqMYAPeR3faOltQshO9KXsW9uMtQdMLU7+E7/BRbTBPpeEe/Jn33ViKP/J5BOsEzeCZ3HtEcPcVDGIH+kRPLEnZJ1J2qOb6XCarPoM5iGtxI7annTszsMcO0R9M3xC0WJ0vlmYWO/N5G+7Go5nJ3ThF0GetoM0loko9mdk2XIr7RR9VMnxr7j+QtjahBcfjd+zES5m4Llym2qdn1ujfJ2g+WJcvW3EifsFDeE2VJi/jedFg/Wl8D47DXEG5DZmR/YIqD4vp9HQGPCODPg1Xir4ZTCf6cn+6oODN6fQ9+DCTOF3QsqLfVPM9cEsKLhMlnSSoMoBFKXNDyqwQI+/2fH4dh+Xe9fhaUKE3ZZrxdn5wdcr/kLovpu1n87lX9M4w7sh3zVie+h2pvznl36vLaM9J4bWCY7NxAn4WzQLn1sgM47x8XpPGFuf9ItEbE3Bx6l2Bz3F1BtVVo9sk6HEQD+KF9OmqTGab6KMvU/82fJX6H5cFBxeKxl2fL9oy8g9EMzXjDEGhdYLXCzNjnWJCvSro0iHoNSLOhv5MSivuzeQsSdnPBP/niqq8gTm4S/TMSZn5IRyT+q0Z3G6sqRMTZSfaVQ+PyWm8PbM9TZwL7VmRlgysXZSzC4+nzOJ8/6RoyHWCIt1Zne25144tgt+bxKjcjW/wJn7MRHSKiu5L/R2pvxIbS2KEjUvHh7Js48Xo6s3KlEXjDefqFw03oNpIpdSbkjK7BC1KqoddT8rX57s+1V+RQdWDsCG/Wdkr5/cGD9UviTlbOUxmZ4bGZRa3pbMV1Gd1urAgHdibH+zI/Rli/M0SFW0SvyZb8I6g1r+GsuBfC37CTNFYU9OZNtHg9aIfmvCrKOVMUeZ5YhwuF9meg2MzkJPFaF4lqNdolD9po0UJF4msNIlG6UiHN4vZXemBVeK3oXK4VUZnhQaz8K74KWsRFDo6ZRekva25/nOoE9T6u7/nBQoUKFCgQIECBQoUKDBm/AXKhRvkgr+Z+wAAAABJRU5ErkJggg== // @grant GM_setClipboard +// @grant GM_notification // @grant window.onurlchange -// @license GPL-3.0 License +// @license GPL-3.0 // @run-at document-end // @namespace https://github.com/XIU2/UserScript // @supportURL https://github.com/XIU2/UserScript // ==/UserScript== +// @namespace https://github.com/XIU2/UserScript +// @supportURL https://github.com/XIU2/UserScript +// ==/UserScript== (function() { 'use strict'; From a2b644f5d58dbca504c2bd4012646d19ef85fca2 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Wed, 17 Jan 2024 06:55:39 +0000 Subject: [PATCH 4/6] feat: Updated Hostloc-Enhanced.user.js --- Hostloc-Enhanced.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Hostloc-Enhanced.user.js b/Hostloc-Enhanced.user.js index 4ab680d1c..dc1a37d39 100644 --- a/Hostloc-Enhanced.user.js +++ b/Hostloc-Enhanced.user.js @@ -14,7 +14,7 @@ // @grant GM_setValue // @grant GM_notification // @grant unsafeWindow -// @license GPL-3.0 License +// @license GPL-3.0 // @run-at document-end // @namespace https://greasyfork.org/scripts/414005 // @supportURL https://github.com/XIU2/UserScript From b94ef56d343ffa126414c394b69ad564034ee8b5 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Wed, 17 Jan 2024 06:56:16 +0000 Subject: [PATCH 5/6] feat: Updated 3dm-Enhanced.user.js --- 3dm-Enhanced.user.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/3dm-Enhanced.user.js b/3dm-Enhanced.user.js index 7d9b9feb6..cd5bf7db0 100644 --- a/3dm-Enhanced.user.js +++ b/3dm-Enhanced.user.js @@ -4,7 +4,15 @@ // @author X.I.U // @description 自动回复、自动无缝翻页、清理置顶帖子、自动滚动至隐藏内容 // @match *://bbs.3dmgame.com/* -// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAC0klEQVR4nJ1TS0hUYRT+/nuvd2Z0nMbRrpPpTJozoZliQmEFFkT0QlwIRWlUi4jIaFGLqE0ELlsEElGrGCKimhaVVmhW9CBSy5ohk/I1pvO66R3nOt7X30IxoyTog8OBc/i+83EOB1gEoRP8Yq3fQP5WvHxqW7kkKfkmXgx+D3PCmjLLuPYmNXyotevfAud9XhQEHZtLKpe3uAozS+12MyRJRTSc7O7tCp9uOPe0Y1GBGAUeXdiyc8vuIr8gmHgQgFACSgwQg0L8oWtP7w3s2Z/vvKse9v0pcLup3FpWV97v8S5xElBMz2hgGIKRgQRcRZmYljVEo4r45E5gVVmtMNH3UC3ifvOfZ693OC3OB50jUFRAkjTIsoqjB7xo7YhgaERChpU4isuXHUsNs+Km7Y5K8rl1L2/PHld8gSFUa6V+r6TXhWMzMNW4EArFQCMRGNMywLFgLOnIXZoD0/PIuHXfSnvUwHUuqTNdJJFvW5+WfSs3z7TVnJiB25WJyXQNjpwl0LJXQVM4ECLDYorDXWJDPM/qzPJmYaxbjHBQlFfFlc4jqZRyyr3aDgYABYXJXIFl6esAws7vm1IFRvIteOktDB0IDYg9zMfP4ZbhwamUp2SWDBBQvhhsxgYQwoEBAQOAAQVD0sBaN0JPc6O/XwoyRk4bE+tLGmJUluSkDk2nSKVUwLIGhC48EQFAQOYyNa99FUiMVQ1Vt8kkPhHnfCd3OYXCjKYCj+0gz0Oo2nEGhDHNEX7BAKAbFIFnzxsrdzb5AIDJsmWh8eK9cUvDjrOv28dqCEsGDarOTgLmwwCgaho+vHx5M3i1+ca8N0opBwDJxAzux9/hffMlW3WF7cqKQk+9RXCBsCx0g079+BpgRjv9Zvtqwb31eHtooQADALquYzQmom/yGnofqzb3txe1kw6PKEOYoBmsbKaKmVeT6SNJ9kvPp68xv98v//FZ/4OfGzYzfKjarqcAAAAASUVORK5CYII= +// @grant GM_getValue +// @grant GM_setValue +// @grant GM_notification +// @license GPL-3.0 +// @run-at document-end +// @namespace https://greasyfork.org/scripts/412890 +// @supportURL https://github.com/XIU2/UserScript +// @homepageURL https://github.com/XIU2/UserScript +// ==/UserScript== // @grant GM_xmlhttpRequest // @grant GM_registerMenuCommand // @grant GM_unregisterMenuCommand From bf900386bc08d3fb3bee1c689e344eaeedb2c8fc Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Wed, 17 Jan 2024 06:58:34 +0000 Subject: [PATCH 6/6] feat: Updated Zhiyoo-Enhanced.user.js --- Zhiyoo-Enhanced.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zhiyoo-Enhanced.user.js b/Zhiyoo-Enhanced.user.js index 579d7ed7b..a6d48fef3 100644 --- a/Zhiyoo-Enhanced.user.js +++ b/Zhiyoo-Enhanced.user.js @@ -13,7 +13,7 @@ // @grant GM_getValue // @grant GM_setValue // @grant GM_notification -// @license GPL-3.0 License +// @license GPL-3.0 // @run-at document-end // @namespace https://greasyfork.org/scripts/412362 // @supportURL https://github.com/XIU2/UserScript