@sefinek/random-emoji 2.2.0 → 2.2.1

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/index.js +0 -6
  3. package/package.json +10 -7
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 📥・v2.2.1 (28.06.2026)
2
+ 1. Quality fixes.
3
+
4
+
1
5
  ## 📥・v2.2.0 (06.12.2025)
2
6
 
3
7
  ### ⚡ Performance
package/index.js CHANGED
@@ -16,15 +16,9 @@ const httpOptions = {
16
16
  method: 'GET',
17
17
  headers: {
18
18
  'User-Agent': `${name}/${version} (+https://github.com/sefinek/geoip2-api)${process.env.JEST_WORKER_ID && devDependencies?.jest ? ` jest/${devDependencies.jest.replace(/^[^0-9]*/, '')}` : ''}`,
19
- 'Accept': 'application/json',
20
- 'Content-Type': 'application/json',
21
- 'Cache-Control': 'no-cache',
22
- 'Connection': 'keep-alive',
23
- 'DNT': '1',
24
19
  },
25
20
  };
26
21
 
27
-
28
22
  const getContent = url => new Promise((resolve, reject) => {
29
23
  const req = get(url, httpOptions, res => {
30
24
  if (res.statusCode !== 200) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sefinek/random-emoji",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "A module offering a range of random emoticons, complete with their names and categories. Additionally, it also includes random kaomoji.",
5
5
  "keywords": [
6
6
  "random",
@@ -47,13 +47,16 @@
47
47
  "README.md"
48
48
  ],
49
49
  "scripts": {
50
- "test": "jest test",
51
- "up": "ncu -u && npm install && npm update && npm audit fix"
50
+ "m": "ncu -u && npm install && npm update",
51
+ "test": "jest test"
52
52
  },
53
53
  "devDependencies": {
54
- "@eslint/js": "^9.39.1",
55
- "@jest/globals": "^30.2.0",
56
- "globals": "^16.5.0",
57
- "jest": "^30.2.0"
54
+ "@eslint/js": "^10.0.1",
55
+ "@jest/globals": "^30.4.1",
56
+ "globals": "^17.7.0",
57
+ "jest": "^30.4.2"
58
+ },
59
+ "allowScripts": {
60
+ "unrs-resolver@1.12.2": true
58
61
  }
59
62
  }