@joliegg/moderation 0.4.3 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE.md CHANGED
@@ -1,118 +1,21 @@
1
- **HIPPOCRATIC LICENSE**
2
-
3
- **Version 3.0, October 2021**
4
-
5
- <https://firstdonoharm.dev/version/3/0/cl.md>
6
-
7
- **TERMS AND CONDITIONS**
8
-
9
- TERMS AND CONDITIONS FOR USE, COPY, MODIFICATION, PREPARATION OF DERIVATIVE WORK, REPRODUCTION, AND DISTRIBUTION:
10
-
11
- **[1.](#1) DEFINITIONS:**
12
-
13
- _This section defines certain terms used throughout this license agreement._
14
-
15
- [1.1.](#1.1) “License” means the terms and conditions, as stated herein, for use, copy, modification, preparation of derivative work, reproduction, and distribution of Software (as defined below).
16
-
17
- [1.2.](#1.2) “Licensor” means the copyright and/or patent owner or entity authorized by the copyright and/or patent owner that is granting the License.
18
-
19
- [1.3.](#1.3) “Licensee” means the individual or entity exercising permissions granted by this License, including the use, copy, modification, preparation of derivative work, reproduction, and distribution of Software (as defined below).
20
-
21
- [1.4.](#1.4) “Software” means any copyrighted work, including but not limited to software code, authored by Licensor and made available under this License.
22
-
23
- [1.5.](#1.5) “Supply Chain” means the sequence of processes involved in the production and/or distribution of a commodity, good, or service offered by the Licensee.
24
-
25
- [1.6.](#1.6) “Supply Chain Impacted Party” or “Supply Chain Impacted Parties” means any person(s) directly impacted by any of Licensee’s Supply Chain, including the practices of all persons or entities within the Supply Chain prior to a good or service reaching the Licensee.
26
-
27
- [1.7.](#1.7) “Duty of Care” is defined by its use in tort law, delict law, and/or similar bodies of law closely related to tort and/or delict law, including without limitation, a requirement to act with the watchfulness, attention, caution, and prudence that a reasonable person in the same or similar circumstances would use towards any Supply Chain Impacted Party.
28
-
29
- [1.8.](#1.8) “Worker” is defined to include any and all permanent, temporary, and agency workers, as well as piece-rate, salaried, hourly paid, legal young (minors), part-time, night, and migrant workers.
30
-
31
- **[2.](#2) INTELLECTUAL PROPERTY GRANTS:**
32
-
33
- _This section identifies intellectual property rights granted to a Licensee_.
34
-
35
- [2.1.](#2.1) _Grant of Copyright License_: Subject to the terms and conditions of this License, Licensor hereby grants to Licensee a worldwide, non-exclusive, no-charge, royalty-free copyright license to use, copy, modify, prepare derivative work, reproduce, or distribute the Software, Licensor authored modified software, or other work derived from the Software.
36
-
37
- [2.2.](#2.2) _Grant of Patent License_: Subject to the terms and conditions of this License, Licensor hereby grants Licensee a worldwide, non-exclusive, no-charge, royalty-free patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer Software.
38
-
39
- **[3.](#3) ETHICAL STANDARDS:**
40
-
41
- _This section lists conditions the Licensee must comply with in order to have rights under this License._
42
-
43
- The rights granted to the Licensee by this License are expressly made subject to the Licensee’s ongoing compliance with the following conditions:
44
-
45
- * [3.1.](#3.1) The Licensee SHALL NOT, whether directly or indirectly, through agents or assigns:
46
- * [3.1.1.](#3.1.1) Infringe upon any person’s right to life or security of person, engage in extrajudicial killings, or commit murder, without lawful cause (See Article 3, _United Nations Universal Declaration of Human Rights_; Article 6, _International Covenant on Civil and Political Rights_)
47
- * [3.1.2.](#3.1.2) Hold any person in slavery, servitude, or forced labor (See Article 4, _United Nations Universal Declaration of Human Rights_; Article 8, _International Covenant on Civil and Political Rights_);
48
- * [3.1.3.](#3.1.3) Contribute to the institution of slavery, slave trading, forced labor, or unlawful child labor (See Article 4, _United Nations Universal Declaration of Human Rights_; Article 8, _International Covenant on Civil and Political Rights_);
49
- * [3.1.4.](#3.1.4) Torture or subject any person to cruel, inhumane, or degrading treatment or punishment (See Article 5, _United Nations Universal Declaration of Human Rights_; Article 7, _International Covenant on Civil and Political Rights_);
50
- * [3.1.5.](#3.1.5) Discriminate on the basis of sex, gender, sexual orientation, race, ethnicity, nationality, religion, caste, age, medical disability or impairment, and/or any other like circumstances (See Article 7, _United Nations Universal Declaration of Human Rights_; Article 2, _International Covenant on Economic, Social and Cultural Rights_; Article 26, _International Covenant on Civil and Political Rights_);
51
- * [3.1.6.](#3.1.6) Prevent any person from exercising his/her/their right to seek an effective remedy by a competent court or national tribunal (including domestic judicial systems, international courts, arbitration bodies, and other adjudicating bodies) for actions violating the fundamental rights granted to him/her/them by applicable constitutions, applicable laws, or by this License (See Article 8, _United Nations Universal Declaration of Human Rights_; Articles 9 and 14, _International Covenant on Civil and Political Rights_);
52
- * [3.1.7.](#3.1.7) Subject any person to arbitrary arrest, detention, or exile (See Article 9, _United Nations Universal Declaration of Human Rights_; Article 9, _International Covenant on Civil and Political Rights_);
53
- * [3.1.8.](#3.1.8) Subject any person to arbitrary interference with a person’s privacy, family, home, or correspondence without the express written consent of the person (See Article 12, _United Nations Universal Declaration of Human Rights_; Article 17, _International Covenant on Civil and Political Rights_);
54
- * [3.1.9.](#3.1.9) Arbitrarily deprive any person of his/her/their property (See Article 17, _United Nations Universal Declaration of Human Rights_);
55
- * [3.1.10.](#3.1.10) Forcibly remove indigenous peoples from their lands or territories or take any action with the aim or effect of dispossessing indigenous peoples from their lands, territories, or resources, including without limitation the intellectual property or traditional knowledge of indigenous peoples, without the free, prior, and informed consent of indigenous peoples concerned (See Articles 8 and 10, _United Nations Declaration on the Rights of Indigenous Peoples_);
56
- * [3.1.11.](#3.1.11) Interfere with Workers' free exercise of the right to organize and associate (See Article 20, United Nations Universal Declaration of Human Rights; C087 - Freedom of Association and Protection of the Right to Organise Convention, 1948 (No. 87), International Labour Organization; Article 8, International Covenant on Economic, Social and Cultural Rights); and
57
- * [3.1.12.](#3.1.12) Harm the environment in a manner inconsistent with local, state, national, or international law.
58
- * [3.2.](#3.2) The Licensee SHALL:
59
- * [3.2.1.](#3.2.1) Provide equal pay for equal work where the performance of such work requires equal skill, effort, and responsibility, and which are performed under similar working conditions, except where such payment is made pursuant to:
60
- * [3.2.1.1.](#3.2.1.1) A seniority system;
61
- * [3.2.1.2.](#3.2.1.2) A merit system;
62
- * [3.2.1.3.](#3.2.1.3) A system which measures earnings by quantity or quality of production; or
63
- * [3.2.1.4.](#3.2.1.4) A differential based on any other factor other than sex, gender, sexual orientation, race, ethnicity, nationality, religion, caste, age, medical disability or impairment, and/or any other like circumstances (See 29 U.S.C.A. § 206(d)(1); Article 23, _United Nations Universal Declaration of Human Rights_; Article 7, _International Covenant on Economic, Social and Cultural Rights_; Article 26, _International Covenant on Civil and Political Rights_); and
64
- * [3.2.2.](#3.2.2) Allow for reasonable limitation of working hours and periodic holidays with pay (See Article 24, _United Nations Universal Declaration of Human Rights_; Article 7, _International Covenant on Economic, Social and Cultural Rights_).
65
-
66
- **[4.](#4) SUPPLY CHAIN IMPACTED PARTIES:**
67
-
68
- _This section identifies additional individuals or entities that a Licensee could harm as a result of violating the Ethical Standards section, the condition that the Licensee must voluntarily accept a Duty of Care for those individuals or entities, and the right to a private right of action that those individuals or entities possess as a result of violations of the Ethical Standards section._
69
-
70
- [4.1.](#4.1) In addition to the above Ethical Standards, Licensee voluntarily accepts a Duty of Care for Supply Chain Impacted Parties of this License, including individuals and communities impacted by violations of the Ethical Standards. The Duty of Care is breached when a provision within the Ethical Standards section is violated by a Licensee, one of its successors or assigns, or by an individual or entity that exists within the Supply Chain prior to a good or service reaching the Licensee.
71
-
72
- [4.2.](#4.2) Breaches of the Duty of Care, as stated within this section, shall create a private right of action, allowing any Supply Chain Impacted Party harmed by the Licensee to take legal action against the Licensee in accordance with applicable negligence laws, whether they be in tort law, delict law, and/or similar bodies of law closely related to tort and/or delict law, regardless if Licensee is directly responsible for the harms suffered by a Supply Chain Impacted Party. Nothing in this section shall be interpreted to include acts committed by individuals outside of the scope of his/her/their employment.
73
-
74
- [5.](#5) **NOTICE:** _This section explains when a Licensee must notify others of the License._
75
-
76
- [5.1.](#5.1) _Distribution of Notice_: Licensee must ensure that everyone who receives a copy of or uses any part of Software from Licensee, with or without changes, also receives the License and the copyright notice included with Software (and if included by the Licensor, patent, trademark, and attribution notice). Licensee must ensure that License is prominently displayed so that any individual or entity seeking to download, copy, use, or otherwise receive any part of Software from Licensee is notified of this License and its terms and conditions. Licensee must cause any modified versions of the Software to carry prominent notices stating that Licensee changed the Software.
77
-
78
- [5.2.](#5.2) _Modified Software_: Licensee is free to create modifications of the Software and distribute only the modified portion created by Licensee, however, any derivative work stemming from the Software or its code must be distributed pursuant to this License, including this Notice provision.
79
-
80
- [5.3.](#5.3) _Recipients as Licensees_: Any individual or entity that uses, copies, modifies, reproduces, distributes, or prepares derivative work based upon the Software, all or part of the Software’s code, or a derivative work developed by using the Software, including a portion of its code, is a Licensee as defined above and is subject to the terms and conditions of this License.
81
-
82
- **[6.](#6) REPRESENTATIONS AND WARRANTIES:**
83
-
84
- [6.1.](#6.1) _Disclaimer of Warranty_: TO THE FULL EXTENT ALLOWED BY LAW, THIS SOFTWARE COMES “AS IS,” WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED, AND LICENSOR SHALL NOT BE LIABLE TO ANY PERSON OR ENTITY FOR ANY DAMAGES OR OTHER LIABILITY ARISING FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THIS LICENSE, UNDER ANY LEGAL CLAIM.
85
-
86
- [6.2.](#6.2) _Limitation of Liability_: LICENSEE SHALL HOLD LICENSOR HARMLESS AGAINST ANY AND ALL CLAIMS, DEBTS, DUES, LIABILITIES, LIENS, CAUSES OF ACTION, DEMANDS, OBLIGATIONS, DISPUTES, DAMAGES, LOSSES, EXPENSES, ATTORNEYS' FEES, COSTS, LIABILITIES, AND ALL OTHER CLAIMS OF EVERY KIND AND NATURE WHATSOEVER, WHETHER KNOWN OR UNKNOWN, ANTICIPATED OR UNANTICIPATED, FORESEEN OR UNFORESEEN, ACCRUED OR UNACCRUED, DISCLOSED OR UNDISCLOSED, ARISING OUT OF OR RELATING TO LICENSEE’S USE OF THE SOFTWARE. NOTHING IN THIS SECTION SHOULD BE INTERPRETED TO REQUIRE LICENSEE TO INDEMNIFY LICENSOR, NOR REQUIRE LICENSOR TO INDEMNIFY LICENSEE.
87
-
88
- **[7.](#7) TERMINATION**
89
-
90
- [7.1.](#7.1) _Violations of Ethical Standards or Breaching Duty of Care_: If Licensee violates the Ethical Standards section or Licensee, or any other person or entity within the Supply Chain prior to a good or service reaching the Licensee, breaches its Duty of Care to Supply Chain Impacted Parties, Licensee must remedy the violation or harm caused by Licensee within 30 days of being notified of the violation or harm. If Licensee fails to remedy the violation or harm within 30 days, all rights in the Software granted to Licensee by License will be null and void as between Licensor and Licensee.
91
-
92
- [7.2.](#7.2) _Failure of Notice_: If any person or entity notifies Licensee in writing that Licensee has not complied with the Notice section of this License, Licensee can keep this License by taking all practical steps to comply within 30 days after the notice of noncompliance. If Licensee does not do so, Licensee’s License (and all rights licensed hereunder) will end immediately.
93
-
94
- [7.3.](#7.3) _Judicial Findings_: In the event Licensee is found by a civil, criminal, administrative, or other court of competent jurisdiction, or some other adjudicating body with legal authority, to have committed actions which are in violation of the Ethical Standards or Supply Chain Impacted Party sections of this License, all rights granted to Licensee by this License will terminate immediately.
95
-
96
- [7.4.](#7.4) _Patent Litigation_: If Licensee institutes patent litigation against any entity (including a cross-claim or counterclaim in a suit) alleging that the Software, all or part of the Software’s code, or a derivative work developed using the Software, including a portion of its code, constitutes direct or contributory patent infringement, then any patent license, along with all other rights, granted to Licensee under this License will terminate as of the date such litigation is filed.
97
-
98
- [7.5.](#7.5) _Additional Remedies_: Termination of the License by failing to remedy harms in no way prevents Licensor or Supply Chain Impacted Party from seeking appropriate remedies at law or in equity.
99
-
100
- **[8.](#8) MISCELLANEOUS:**
101
-
102
- [8.1.](#8.1) _Conditions_: Sections 3, 4.1, 5.1, 5.2, 7.1, 7.2, 7.3, and 7.4 are conditions of the rights granted to Licensee in the License.
103
-
104
- [8.2.](#8.2) _Equitable Relief_: Licensor and any Supply Chain Impacted Party shall be entitled to equitable relief, including injunctive relief or specific performance of the terms hereof, in addition to any other remedy to which they are entitled at law or in equity.
105
-
106
- [8.3.](#8.3) _Copyleft_: Modified software, source code, or other derivative work must be licensed, in its entirety, under the exact same conditions as this License.
107
-
108
- [8.4.](#8.4) _Severability_: If any term or provision of this License is determined to be invalid, illegal, or unenforceable by a court of competent jurisdiction, any such determination of invalidity, illegality, or unenforceability shall not affect any other term or provision of this License or invalidate or render unenforceable such term or provision in any other jurisdiction. If the determination of invalidity, illegality, or unenforceability by a court of competent jurisdiction pertains to the terms or provisions contained in the Ethical Standards section of this License, all rights in the Software granted to Licensee shall be deemed null and void as between Licensor and Licensee.
109
-
110
- [8.5.](#8.5) _Section Titles_: Section titles are solely written for organizational purposes and should not be used to interpret the language within each section.
111
-
112
- [8.6.](#8.6) _Citations_: Citations are solely written to provide context for the source of the provisions in the Ethical Standards.
113
-
114
- [8.7.](#8.7) _Section Summaries_: Some sections have a brief _italicized description_ which is provided for the sole purpose of briefly describing the section and should not be used to interpret the terms of the License.
115
-
116
- [8.8.](#8.8) _Entire License_: This is the entire License between the Licensor and Licensee with respect to the claims released herein and that the consideration stated herein is the only consideration or compensation to be paid or exchanged between them for this License. This License cannot be modified or amended except in a writing signed by Licensor and Licensee.
117
-
118
- [8.9.](#8.9) _Successors and Assigns_: This License shall be binding upon and inure to the benefit of the Licensor’s and Licensee’s respective heirs, successors, and assigns.
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) Diana Islas Ocampo
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,5 +1,3 @@
1
- [![Hippocratic License HL3-CL](https://img.shields.io/static/v1?label=Hippocratic%20License&message=HL3-CL&labelColor=5e2751&color=bc8c3d)](https://firstdonoharm.dev/version/3/0/cl.html)
2
-
3
1
  # Chat Moderation
4
2
 
5
3
  This library uses AWS Rekognition to generate moderation tags for images and Google's Language and Speech libraries to moderate text and audio files.
@@ -10,10 +8,8 @@ This library uses AWS Rekognition to generate moderation tags for images and Goo
10
8
  yarn add @joliegg/moderation
11
9
  ```
12
10
 
13
-
14
11
  ### Initialization
15
12
 
16
-
17
13
  ```js
18
14
  import ModerationClient from '@joliegg/moderation';
19
15
 
@@ -43,6 +39,7 @@ const textModeration = await client.moderateText('This is some text that might n
43
39
  ```
44
40
 
45
41
  ### Moderating Images
42
+
46
43
  Since only JPEG and PNG images are natively supported by AWS for moderation, GIF images will be converted into a sprite sheet and WEBP images will be converted to PNG.
47
44
 
48
45
  ```js
@@ -51,6 +48,7 @@ const imageModeration = await client.moderateImage('https://example.example/imag
51
48
  ```
52
49
 
53
50
  ### Moderating Audios
51
+
54
52
  Currently only OGG files are supported
55
53
 
56
54
  ```js
@@ -59,8 +57,8 @@ const audioModeration = await client.moderateAudio('https://example.example/imag
59
57
  ```
60
58
 
61
59
  ### Moderating Links
62
- Link moderation will use the Google WebRisk API to check links. A Blacklist is also included for known scam urls.
63
60
 
61
+ Link moderation will use the Google WebRisk API to check links. A Blacklist is also included for known scam urls.
64
62
 
65
63
  ```js
66
64
 
@@ -72,4 +70,4 @@ Link shorteners trigger a warning by default as they are considered non-trustabl
72
70
  ```js
73
71
 
74
72
  const linkModeration = await client.moderateLink('https://t.ly/link', true);
75
- ```
73
+ ```
package/dist/index.js CHANGED
@@ -100,7 +100,7 @@ class ModerationClient {
100
100
  return { source: url, moderation: [] };
101
101
  }
102
102
  const { data } = await axios_1.default.get(url, { responseType: 'arraybuffer' });
103
- let buffer = null;
103
+ let buffer;
104
104
  // GIFs will be split into frames
105
105
  if (url.toLowerCase().indexOf('.gif') > -1) {
106
106
  buffer = await (0, sharp_1.default)(data, { pages: -1 }).toFormat('png').toBuffer();
@@ -131,7 +131,7 @@ class ModerationClient {
131
131
  .toBuffer();
132
132
  buffer = resizedBuffer;
133
133
  }
134
- catch (error) {
134
+ catch {
135
135
  // We can't resize the image. We'll skip the resize and try to process it as is
136
136
  }
137
137
  }
@@ -168,7 +168,7 @@ class ModerationClient {
168
168
  }
169
169
  }
170
170
  }
171
- catch (error) {
171
+ catch {
172
172
  // Invalid URL
173
173
  return { source: url, moderation: [] };
174
174
  }
@@ -42322,6 +42322,7 @@
42322
42322
  "getvalorant.fun",
42323
42323
  "getviplocals1.com",
42324
42324
  "getvottak.com",
42325
+ "getwix.pro",
42325
42326
  "getx2.net",
42326
42327
  "getx2tesla.com",
42327
42328
  "getxtrade.com",
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@joliegg/moderation",
3
- "version": "0.4.3",
3
+ "version": "0.6.0",
4
4
  "description": "A set of tools for chat moderation",
5
5
  "author": "Diana Islas Ocampo",
6
6
  "main": "dist/index.js",
7
- "license": "HL3-CL",
7
+ "license": "MIT",
8
8
  "scripts": {
9
- "publish": "yarn build && yarn docs",
10
- "build": "yarn eslint . && rm -rf ./dist && yarn tsc --declaration",
9
+ "publish": "bun build && bun docs",
10
+ "build": "bun eslint . && rm -rf ./dist && bun tsc --declaration",
11
11
  "docs": "typedoc",
12
12
  "test": "node test/index.js"
13
13
  },
@@ -15,22 +15,22 @@
15
15
  "node": ">=20.x"
16
16
  },
17
17
  "devDependencies": {
18
- "@babel/eslint-parser": "^7.24.8",
19
- "@eslint/js": "^9.7.0",
20
- "@typescript-eslint/eslint-plugin": "^7.16.0",
21
- "@typescript-eslint/parser": "^7.16.0",
22
- "dotenv": "^16.4.5",
23
- "eslint": "^9.7.0",
24
- "typedoc": "^0.26.4",
25
- "typescript": "^5.5.3",
26
- "typescript-eslint": "^7.16.0"
18
+ "@babel/eslint-parser": "^7.28.6",
19
+ "@eslint/js": "^10.0.1",
20
+ "@typescript-eslint/eslint-plugin": "^8.56.1",
21
+ "@typescript-eslint/parser": "^8.56.1",
22
+ "dotenv": "^17.3.1",
23
+ "eslint": "^10.0.2",
24
+ "typedoc": "^0.28.17",
25
+ "typescript": "^5.9.3",
26
+ "typescript-eslint": "^8.56.1"
27
27
  },
28
28
  "dependencies": {
29
- "@aws-sdk/client-rekognition": "^3.614.0",
30
- "@google-cloud/language": "^6.4.0",
31
- "@google-cloud/speech": "^6.6.1",
32
- "axios": "^1.7.2",
33
- "sharp": "^0.32.6"
29
+ "@aws-sdk/client-rekognition": "^3.996.0",
30
+ "@google-cloud/language": "^7.2.1",
31
+ "@google-cloud/speech": "^7.2.1",
32
+ "axios": "^1.13.5",
33
+ "sharp": "^0.34.5"
34
34
  },
35
35
  "files": [
36
36
  "README.md",
@@ -39,5 +39,5 @@
39
39
  "src/*",
40
40
  "dist/*"
41
41
  ],
42
- "packageManager": "yarn@4.3.1"
43
- }
42
+ "packageManager": "bun@1.3.4"
43
+ }
package/src/index.ts CHANGED
@@ -126,7 +126,7 @@ class ModerationClient {
126
126
 
127
127
  const { data } = await axios.get<string>(url, { responseType: 'arraybuffer' });
128
128
 
129
- let buffer: Buffer | null = null;
129
+ let buffer: Buffer;
130
130
 
131
131
  // GIFs will be split into frames
132
132
  if (url.toLowerCase().indexOf('.gif') > -1) {
@@ -162,7 +162,7 @@ class ModerationClient {
162
162
  .toBuffer();
163
163
 
164
164
  buffer = resizedBuffer;
165
- } catch (error) {
165
+ } catch {
166
166
  // We can't resize the image. We'll skip the resize and try to process it as is
167
167
  }
168
168
  }
@@ -209,7 +209,7 @@ class ModerationClient {
209
209
  return { source: url, moderation: [{ category: 'URL_SHORTENER', confidence: 100 }] };
210
210
  }
211
211
  }
212
- } catch (error) {
212
+ } catch {
213
213
  // Invalid URL
214
214
  return { source: url, moderation: [] };
215
215
  }
@@ -42322,6 +42322,7 @@
42322
42322
  "getvalorant.fun",
42323
42323
  "getviplocals1.com",
42324
42324
  "getvottak.com",
42325
+ "getwix.pro",
42325
42326
  "getx2.net",
42326
42327
  "getx2tesla.com",
42327
42328
  "getxtrade.com",