From 122c66618c1be82c989f3025b1ec1074f80bbc46 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 27 May 2021 02:49:56 +0000 Subject: [PATCH 01/13] Bump browserslist from 4.16.4 to 4.16.6 Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.16.4 to 4.16.6. - [Release notes](https://github.com/browserslist/browserslist/releases) - [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md) - [Commits](https://github.com/browserslist/browserslist/compare/4.16.4...4.16.6) Signed-off-by: dependabot[bot] --- yarn.lock | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/yarn.lock b/yarn.lock index 702661d..a8c386f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1317,13 +1317,13 @@ browser-process-hrtime@^1.0.0: integrity sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow== browserslist@^4.14.5, browserslist@^4.16.4: - version "4.16.4" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.16.4.tgz#7ebf913487f40caf4637b892b268069951c35d58" - integrity sha512-d7rCxYV8I9kj41RH8UKYnvDYCRENUlHRgyXy/Rhr/1BaeLGfiCptEdFE8MIrvGfWbBFNjVYx76SQWvNX1j+/cQ== + version "4.16.6" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.16.6.tgz#d7901277a5a88e554ed305b183ec9b0c08f66fa2" + integrity sha512-Wspk/PqO+4W9qp5iUTJsa1B/QrYn1keNCcEP5OvP7WBwT4KaDly0uONYmC6Xa3Z5IqnUgS0KcgLYu1l74x0ZXQ== dependencies: - caniuse-lite "^1.0.30001208" + caniuse-lite "^1.0.30001219" colorette "^1.2.2" - electron-to-chromium "^1.3.712" + electron-to-chromium "^1.3.723" escalade "^3.1.1" node-releases "^1.1.71" @@ -1374,10 +1374,10 @@ camelcase@^5.0.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== -caniuse-lite@^1.0.30001208: - version "1.0.30001214" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001214.tgz#70f153c78223515c6d37a9fde6cd69250da9d872" - integrity sha512-O2/SCpuaU3eASWVaesQirZv1MSjUNOvmugaD8zNSJqw6Vv5SGwoOpA9LJs3pNPfM745nxqPvfZY3MQKY4AKHYg== +caniuse-lite@^1.0.30001219: + version "1.0.30001230" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001230.tgz#8135c57459854b2240b57a4a6786044bdc5a9f71" + integrity sha512-5yBd5nWCBS+jWKTcHOzXwo5xzcj4ePE/yjtkZyUV1BTUmrBaA9MRGC+e7mxnqXSA90CmCA8L3eKLaSUkt099IQ== caseless@~0.12.0: version "0.12.0" @@ -1910,10 +1910,10 @@ ecc-jsbn@~0.1.1: jsbn "~0.1.0" safer-buffer "^2.1.0" -electron-to-chromium@^1.3.712: - version "1.3.718" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.718.tgz#a192981ced608978410ebc011e24ecab1bb4beb3" - integrity sha512-CikzdUSShGXwjq1pcW740wK8j+KbazgHZiwzlHICejDaczM6OVsPcrZmBHPwzj9i2rj5twg20MBwp+cYZwldYA== +electron-to-chromium@^1.3.723: + version "1.3.740" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.740.tgz#e38b7d2b848f632191b643e6dabca51be2162922" + integrity sha512-Mi2m55JrX2BFbNZGKYR+2ItcGnR4O5HhrvgoRRyZQlaMGQULqDhoGkLWHzJoshSzi7k1PUofxcDbNhlFrDZNhg== emoji-regex@^7.0.1: version "7.0.3" @@ -3249,9 +3249,9 @@ node-fetch@2.6.1, node-fetch@^2.6.0, node-fetch@^2.6.1: integrity sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw== node-releases@^1.1.71: - version "1.1.71" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.71.tgz#cb1334b179896b1c89ecfdd4b725fb7bbdfc7dbb" - integrity sha512-zR6HoT6LrLCRBwukmrVbHv0EpEQjksO6GmFcZQQuCAy139BEsoVKPYnf3jongYW83fAa1torLGYwxxky/p28sg== + version "1.1.72" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.72.tgz#14802ab6b1039a79a0c7d662b610a5bbd76eacbe" + integrity sha512-LLUo+PpH3dU6XizX3iVoubUNheF/owjXCZZ5yACDxNnPtgFuludV1ZL3ayK1kVep42Rmm0+R9/Y60NQbZ2bifw== nopt@^5.0.0: version "5.0.0" From b90f739c0db2fd5dff87f5a499cdb792325f7283 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 31 May 2021 04:32:23 +0000 Subject: [PATCH 02/13] Bump ws from 7.4.4 to 7.4.6 Bumps [ws](https://github.com/websockets/ws) from 7.4.4 to 7.4.6. - [Release notes](https://github.com/websockets/ws/releases) - [Commits](https://github.com/websockets/ws/compare/7.4.4...7.4.6) Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 702661d..43f0c27 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4580,9 +4580,9 @@ write@1.0.3: mkdirp "^0.5.1" ws@^7.4.4: - version "7.4.4" - resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.4.tgz#383bc9742cb202292c9077ceab6f6047b17f2d59" - integrity sha512-Qm8k8ojNQIMx7S+Zp8u/uHOx7Qazv3Yv4q68MiWWWOJhiwG5W3x7iqmRtJo8xxrciZUY4vRxUTJCKuRnF28ZZw== + version "7.4.6" + resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.6.tgz#5654ca8ecdeee47c33a9a4bf6d28e2be2980377c" + integrity sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A== xml-name-validator@^3.0.0: version "3.0.0" From 45c3c1bb8dff94b1038111905359332e87347775 Mon Sep 17 00:00:00 2001 From: SN0WF14K3 Date: Sun, 20 Jun 2021 00:25:22 +0545 Subject: [PATCH 03/13] ci: dev publish --- .github/workflows/publish-dev.yml | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/publish-dev.yml diff --git a/.github/workflows/publish-dev.yml b/.github/workflows/publish-dev.yml new file mode 100644 index 0000000..1b20ac2 --- /dev/null +++ b/.github/workflows/publish-dev.yml @@ -0,0 +1,32 @@ +name: Publish dev +on: + workflow_dispatch: + schedule: + - cron: '0 */12 * * *' +jobs: + npm: + name: npm + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v2 + with: + ref: v5 + + - name: Install Node v14 + uses: actions/setup-node@v2 + with: + node-version: 14 + registry-url: https://registry.npmjs.org/ + + - name: Install dependencies + run: npm ci --ignore-scripts + + - name: Publish + run: | + npm install + npm run build --skipLibCheck + npm version --git-tag-version=false $(jq --raw-output '.version' package.json).$(git rev-parse --verify HEAD) + npm publish --tag dev || true + env: + NODE_AUTH_TOKEN: ${{ secrets.npm_token }} From 43df9010f155e94a1839c7f88031de1e2e18da88 Mon Sep 17 00:00:00 2001 From: SN0WF14K3 Date: Sun, 20 Jun 2021 10:02:32 +0545 Subject: [PATCH 04/13] should fix dev publish --- .github/workflows/publish-dev.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/publish-dev.yml b/.github/workflows/publish-dev.yml index 1b20ac2..c63f08a 100644 --- a/.github/workflows/publish-dev.yml +++ b/.github/workflows/publish-dev.yml @@ -24,7 +24,6 @@ jobs: - name: Publish run: | - npm install npm run build --skipLibCheck npm version --git-tag-version=false $(jq --raw-output '.version' package.json).$(git rev-parse --verify HEAD) npm publish --tag dev || true From 03cbf4b6bd2f18f379b7234806764200f6a05200 Mon Sep 17 00:00:00 2001 From: SN0WF14K3 Date: Sun, 20 Jun 2021 12:56:26 +0545 Subject: [PATCH 05/13] build fix --- .github/workflows/publish-dev.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-dev.yml b/.github/workflows/publish-dev.yml index c63f08a..e421d14 100644 --- a/.github/workflows/publish-dev.yml +++ b/.github/workflows/publish-dev.yml @@ -20,7 +20,7 @@ jobs: registry-url: https://registry.npmjs.org/ - name: Install dependencies - run: npm ci --ignore-scripts + run: npm install - name: Publish run: | From 9bd8a5cf21485257b0a757402b12e13089190ff6 Mon Sep 17 00:00:00 2001 From: SN0WF14K3 Date: Sun, 20 Jun 2021 14:28:07 +0545 Subject: [PATCH 06/13] v4.1.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a990b18..f24f87b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "discord-player", - "version": "4.1.0", + "version": "4.1.1", "description": "Complete framework to facilitate music commands using discord.js", "main": "lib/index.js", "types": "lib/index.d.ts", From 1cd6d033e22ca09d29c1e2e27be58268512ea2c7 Mon Sep 17 00:00:00 2001 From: SN0WF14K3 Date: Sun, 20 Jun 2021 17:55:46 +0545 Subject: [PATCH 07/13] should fix the workflow --- .github/workflows/publish-dev.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-dev.yml b/.github/workflows/publish-dev.yml index e421d14..1e419c7 100644 --- a/.github/workflows/publish-dev.yml +++ b/.github/workflows/publish-dev.yml @@ -24,7 +24,8 @@ jobs: - name: Publish run: | - npm run build --skipLibCheck + rimraf lib + tsc --skipLibCheck npm version --git-tag-version=false $(jq --raw-output '.version' package.json).$(git rev-parse --verify HEAD) npm publish --tag dev || true env: From cac4364f1559540bac6eed7f3f3860b21178c6e5 Mon Sep 17 00:00:00 2001 From: SN0WF14K3 Date: Sun, 20 Jun 2021 18:10:08 +0545 Subject: [PATCH 08/13] dev publish --- .github/workflows/publish-dev.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/publish-dev.yml b/.github/workflows/publish-dev.yml index 1e419c7..1145c01 100644 --- a/.github/workflows/publish-dev.yml +++ b/.github/workflows/publish-dev.yml @@ -24,8 +24,7 @@ jobs: - name: Publish run: | - rimraf lib - tsc --skipLibCheck + npx tsc --skipLibCheck npm version --git-tag-version=false $(jq --raw-output '.version' package.json).$(git rev-parse --verify HEAD) npm publish --tag dev || true env: From 8da9cb7194b32dd4dc87ac720608fc3a396ef1e4 Mon Sep 17 00:00:00 2001 From: SN0WF14K3 Date: Sun, 20 Jun 2021 20:08:12 +0545 Subject: [PATCH 09/13] action docs: generate v5 --- .github/workflows/docs-deploy.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.yml index a1145bc..827f675 100644 --- a/.github/workflows/docs-deploy.yml +++ b/.github/workflows/docs-deploy.yml @@ -5,7 +5,6 @@ on: - '*' - '!docs' - '!gh-pages' - - '!v5' jobs: docs: name: Documentation @@ -25,4 +24,4 @@ jobs: - name: Build and deploy documentation uses: discordjs/action-docs@v1 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From ba58357aedd5104ff99de76c2cda99c54b3ae1f5 Mon Sep 17 00:00:00 2001 From: SN0WF14K3 Date: Tue, 22 Jun 2021 16:16:33 +0545 Subject: [PATCH 10/13] GitHub CI: Add ESLint --- .github/workflows/eslint.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/eslint.yml diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml new file mode 100644 index 0000000..ede02b2 --- /dev/null +++ b/.github/workflows/eslint.yml @@ -0,0 +1,32 @@ +name: ESLint +on: [push, pull_request] + branches: + - '*' + - '!docs' + - '!gh-pages' + - '!develop' + - '!master' +jobs: + test: + strategy: + matrix: + node: ['14', '16'] + name: ESLint (Node v${{ matrix.node }}) + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Install Node v${{ matrix.node }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node }} + + - name: Install dependencies + run: npm ci + + - name: Run ESLint + run: npm run lint + + - name: Run TSC + run: npm run build:check From 4e2a8442a4b254068e2336df4704e147f8893c6b Mon Sep 17 00:00:00 2001 From: SN0WF14K3 Date: Tue, 22 Jun 2021 16:18:15 +0545 Subject: [PATCH 11/13] ci: eslint fix --- .github/workflows/eslint.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index ede02b2..981e09d 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -1,11 +1,5 @@ name: ESLint on: [push, pull_request] - branches: - - '*' - - '!docs' - - '!gh-pages' - - '!develop' - - '!master' jobs: test: strategy: From 889f27d21051290fd1ce0538d17b87b766f5ff99 Mon Sep 17 00:00:00 2001 From: SN0WF14K3 Date: Tue, 22 Jun 2021 16:23:40 +0545 Subject: [PATCH 12/13] fix branches --- .github/workflows/eslint.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 981e09d..b78077b 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -1,5 +1,19 @@ name: ESLint -on: [push, pull_request] +on: + push: + branches: + - '*' + - '!docs' + - '!develop' + - '!master' + - '!gh-pages' + pull_request: + branches: + - '*' + - '!docs' + - '!develop' + - '!master' + - '!gh-pages' jobs: test: strategy: From da5ab956d1edba3dc46dd80d782d46a659dedec9 Mon Sep 17 00:00:00 2001 From: SN0WF14K3 Date: Tue, 22 Jun 2021 16:26:12 +0545 Subject: [PATCH 13/13] ci: fix install --- .github/workflows/eslint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index b78077b..90c954a 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -31,7 +31,7 @@ jobs: node-version: ${{ matrix.node }} - name: Install dependencies - run: npm ci + run: npm install - name: Run ESLint run: npm run lint