@mkody/twitch-emoticons 2.9.2 → 2.9.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mkody/twitch-emoticons",
3
- "version": "2.9.2",
3
+ "version": "2.9.3",
4
4
  "description": "Gets Twitch, BTTV, FFZ and 7TV emotes as well as parsing text to emotes!",
5
5
  "main": "src/index.js",
6
6
  "typings": "typings/index.d.ts",
@@ -28,18 +28,18 @@
28
28
  "dependencies": {
29
29
  "@twurple/api": "^7.3.0",
30
30
  "@twurple/auth": "^7.3.0",
31
- "axios": "^1.9.0"
31
+ "axios": "^1.11.0"
32
32
  },
33
33
  "devDependencies": {
34
- "@eslint/js": "^9.27.0",
35
- "@jest/globals": "^29.7.0",
34
+ "@eslint/js": "^9.31.0",
35
+ "@jest/globals": "^30.0.5",
36
36
  "@microsoft/eslint-formatter-sarif": "^3.1.0",
37
37
  "docdash": "^2.0.2",
38
- "esbuild": "^0.25.4",
39
- "eslint": "^9.27.0",
40
- "eslint-plugin-jsdoc": "^50.6.17",
41
- "globals": "^16.1.0",
42
- "jest": "^29.7.0",
38
+ "esbuild": "^0.25.8",
39
+ "eslint": "^9.31.0",
40
+ "eslint-plugin-jsdoc": "^51.4.1",
41
+ "globals": "^16.3.0",
42
+ "jest": "^30.0.5",
43
43
  "jsdoc": "^4.0.4"
44
44
  },
45
45
  "scripts": {
@@ -65,10 +65,11 @@
65
65
  "node": ">=18.0.0",
66
66
  "pnpm": ">=9"
67
67
  },
68
- "packageManager": "pnpm@10.11.0",
68
+ "packageManager": "pnpm@10.13.1",
69
69
  "pnpm": {
70
70
  "onlyBuiltDependencies": [
71
- "esbuild"
71
+ "esbuild",
72
+ "unrs-resolver"
72
73
  ]
73
74
  }
74
75
  }
@@ -15,12 +15,12 @@ describe('Test 7TV emotes', () => {
15
15
 
16
16
  test('Get emote (EZ)', () => {
17
17
  const emote = emoteFetcher.emotes.get('EZ');
18
- expect(emote.toLink(2)).toBe('https://cdn.7tv.app/emote/01GB9W6V0000098BZVD7GKTW0F/3x.webp');
18
+ expect(emote.toLink(2)).toBe('https://cdn.7tv.app/emote/01GB4CK01800090V9B3D8CGEEX/3x.webp');
19
19
  });
20
20
 
21
21
  test('Parse string with emote (EZ)', () => {
22
22
  const text = emoteParser.parse('This is a test string with :EZ: in it.');
23
- expect(text).toBe('This is a test string with ![EZ](https://cdn.7tv.app/emote/01GB9W6V0000098BZVD7GKTW0F/1x.webp "EZ") in it.');
23
+ expect(text).toBe('This is a test string with ![EZ](https://cdn.7tv.app/emote/01GB4CK01800090V9B3D8CGEEX/1x.webp "EZ") in it.');
24
24
  });
25
25
  });
26
26
 
@@ -1,13 +1,13 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
1
+ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
2
2
 
3
3
  exports[`Test toObject 7TV Global Emote (AVIF) 1`] = `
4
4
  {
5
5
  "animated": false,
6
6
  "channel_id": null,
7
7
  "code": "EZ",
8
- "id": "01GB9W6V0000098BZVD7GKTW0F",
8
+ "id": "01GB4CK01800090V9B3D8CGEEX",
9
9
  "imageType": "avif",
10
- "ownerName": "Kh4N_02",
10
+ "ownerName": "TrippyColour",
11
11
  "sizes": [
12
12
  "1x.avif",
13
13
  "2x.avif",