Skip to content

Commit

Permalink
removed analytics.js packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurBlanchon committed Feb 29, 2024
1 parent c25fd39 commit 82e0ee0
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 108 deletions.
20 changes: 0 additions & 20 deletions analytics/analytics.js

This file was deleted.

2 changes: 1 addition & 1 deletion analytics/gaGuildMemberJoin.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default async function gaGuildMemberJoin ( member, inviteCode ){
console.log('guildId', guildId)

// clientId is mandatory for GA to work properly
const clientId = invite?.clientId ? invite?.clientId : "unknown";
const clientId = invite?.clientId ? invite?.clientId : null ;

// A queue to batch our events
const events = [];
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@
"start": "node ./bin/www.js"
},
"dependencies": {
"@analytics/google-analytics": "^1.0.7",
"@analytics/google-tag-manager": "^0.5.5",
"@lucia-auth/adapter-mongodb": "^1.0.2",
"analytics": "^0.8.11",
"arctic": "^1.1.6",
"cookie-parser": "~1.4.4",
"cors": "^2.8.5",
Expand Down
84 changes: 0 additions & 84 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18,69 +18,6 @@
tunnel "^0.0.6"
undici "^5.25.4"

"@analytics/cookie-utils@^0.2.12":
version "0.2.12"
resolved "https://registry.yarnpkg.com/@analytics/cookie-utils/-/cookie-utils-0.2.12.tgz#acc38dd76ead968050776fb8e57e571e6d37cbc7"
integrity sha512-2h/yuIu3kmu+ZJlKmlT6GoRvUEY2k1BbQBezEv5kGhnn9KpmzPz715Y3GmM2i+m7Y0QmBdVUoA260dQZkofs2A==
dependencies:
"@analytics/global-storage-utils" "^0.1.7"

"@analytics/core@^0.12.9":
version "0.12.9"
resolved "https://registry.yarnpkg.com/@analytics/core/-/core-0.12.9.tgz#aae7813878f6d76d183ef1614a61ba9e5f5902d9"
integrity sha512-jac5Q8iapeDiURFu6BXqT9FCHOENaazKgWXNdlr5lqE9X70XRDi+96weNVNUmkUoAjcP9Yf+xFwGy2dhP5+BnQ==
dependencies:
"@analytics/global-storage-utils" "^0.1.7"
"@analytics/type-utils" "^0.6.2"
analytics-utils "^1.0.12"

"@analytics/global-storage-utils@^0.1.7":
version "0.1.7"
resolved "https://registry.yarnpkg.com/@analytics/global-storage-utils/-/global-storage-utils-0.1.7.tgz#c6a12eb133a6e44101b7c3529c82e3e89ac9ce46"
integrity sha512-V+spzGLZYm4biZT4uefaylm80SrLXf8WOTv9hCgA46cLcyxx3LD4GCpssp1lj+RcWLl/uXJQBRO4Mnn/o1x6Gw==
dependencies:
"@analytics/type-utils" "^0.6.2"

"@analytics/google-analytics@^1.0.7":
version "1.0.7"
resolved "https://registry.yarnpkg.com/@analytics/google-analytics/-/google-analytics-1.0.7.tgz#256658c841af707aabdcfb35858971676115d1ce"
integrity sha512-KZ69NaMIi5kOcouzqI8cu7tZgQl7ziGiRahfU6zniUf32G8bv7wQDh73JFz1NwO6gBPloUc+5BzEoWzScM5Rgw==

"@analytics/google-tag-manager@^0.5.5":
version "0.5.5"
resolved "https://registry.yarnpkg.com/@analytics/google-tag-manager/-/google-tag-manager-0.5.5.tgz#8ea07e6f645f1b13821701f43760b5ff25d620db"
integrity sha512-bYTzseT3DRwMhkWr0+zJH6BHdk5FDZv1TqU5dHseh60zf/sl3LlWUbb8Lgl41LAOmA2Qy1frJXr3mIO1Tak8Yg==

"@analytics/localstorage-utils@^0.1.10":
version "0.1.10"
resolved "https://registry.yarnpkg.com/@analytics/localstorage-utils/-/localstorage-utils-0.1.10.tgz#8e9b03604e79a530e9a5ab6748c8ceb96153b95c"
integrity sha512-uJS+Jp1yLG5VFCgA5T82ZODYBS0xuDQx0NtAZrgbqt9j51BX3TcgmOez5LVkrUNu/lpbxjCLq35I4TKj78VmOQ==
dependencies:
"@analytics/global-storage-utils" "^0.1.7"

"@analytics/session-storage-utils@^0.0.7":
version "0.0.7"
resolved "https://registry.yarnpkg.com/@analytics/session-storage-utils/-/session-storage-utils-0.0.7.tgz#e355c60b14d4fbcf20983e5cfcb7cb838b4c57ab"
integrity sha512-PSv40UxG96HVcjY15e3zOqU2n8IqXnH8XvTkg1X43uXNTKVSebiI2kUjA3Q7ESFbw5DPwcLbJhV7GforpuBLDw==
dependencies:
"@analytics/global-storage-utils" "^0.1.7"

"@analytics/storage-utils@^0.4.2":
version "0.4.2"
resolved "https://registry.yarnpkg.com/@analytics/storage-utils/-/storage-utils-0.4.2.tgz#222717832a533a1a2516aa3a22d5db80d14a881b"
integrity sha512-AXObwyVQw9h2uJh1t2hUgabtVxzYpW+7uKVbdHQK80vr3Td5rrmCxrCxarh7HUuAgSDZ0bZWqmYxVgmwKceaLg==
dependencies:
"@analytics/cookie-utils" "^0.2.12"
"@analytics/global-storage-utils" "^0.1.7"
"@analytics/localstorage-utils" "^0.1.10"
"@analytics/session-storage-utils" "^0.0.7"
"@analytics/type-utils" "^0.6.2"

"@analytics/type-utils@^0.6.2":
version "0.6.2"
resolved "https://registry.yarnpkg.com/@analytics/type-utils/-/type-utils-0.6.2.tgz#60d706603a98a95681d4b1e9726c703fdd541a9e"
integrity sha512-TD+xbmsBLyYy/IxFimW/YL/9L2IEnM7/EoV9Aeh56U64Ify8o27HJcKjo38XY9Tcn0uOq1AX3thkKgvtWvwFQg==

"@discordjs/builders@^1.7.0":
version "1.7.0"
resolved "https://registry.yarnpkg.com/@discordjs/builders/-/builders-1.7.0.tgz#e2478c7e55b0f4c40837edb8f102bce977323a37"
Expand Down Expand Up @@ -637,22 +574,6 @@ accepts@~1.3.8:
mime-types "~2.1.34"
negotiator "0.6.3"

analytics-utils@^1.0.12:
version "1.0.12"
resolved "https://registry.yarnpkg.com/analytics-utils/-/analytics-utils-1.0.12.tgz#07bd63471d238e80f42d557fba039365f09c50db"
integrity sha512-WvV2YWgsnXLxaY0QYux0crpBAg/0JA763NmbMVz22jKhMPo7dpTBet8G2IlF7ixTjLDzGlkHk1ZaKqqQmjJ+4w==
dependencies:
"@analytics/type-utils" "^0.6.2"
dlv "^1.1.3"

analytics@^0.8.11:
version "0.8.11"
resolved "https://registry.yarnpkg.com/analytics/-/analytics-0.8.11.tgz#9216463acdc124718d96f18cd39990e50f986f0e"
integrity sha512-gNLaprOiuZSviP8rC99E5uk+AWQZJk1OHS350v3XdpPDnsGyxHlNo7s9ZQJeOhvMbG5XOBY3fgZY/tpOl7hiGw==
dependencies:
"@analytics/core" "^0.12.9"
"@analytics/storage-utils" "^0.4.2"

arctic@^1.1.6:
version "1.1.6"
resolved "https://registry.yarnpkg.com/arctic/-/arctic-1.1.6.tgz#2a8346757729fe3bdf04aaccb8b8d6a2dbbab75b"
Expand Down Expand Up @@ -836,11 +757,6 @@ discord.js@^14.14.1:
undici "5.27.2"
ws "8.14.2"

dlv@^1.1.3:
version "1.1.3"
resolved "https://registry.yarnpkg.com/dlv/-/dlv-1.1.3.tgz#5c198a8a11453596e751494d49874bc7732f2e79"
integrity sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==

dotenv@^16.0.3:
version "16.4.4"
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.4.4.tgz#a26e7bb95ebd36272ebb56edb80b826aecf224c1"
Expand Down

0 comments on commit 82e0ee0

Please sign in to comment.