discogs-marketplace-api-nodejs 1.7.2 → 1.7.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.
Files changed (2) hide show
  1. package/dist/marketplace.js +1 -1
  2. package/package.json +13 -13
@@ -55,7 +55,7 @@ class Marketplace {
55
55
  headers: {
56
56
  // cspell: disable-next-line
57
57
  'X-PJAX': 'true',
58
- 'User-Agent': new user_agents_1.default().toString(),
58
+ 'User-Agent': new user_agents_1.default({ platform: 'Win32' }).toString(),
59
59
  },
60
60
  };
61
61
  const { data: bodyHTML } = yield axios_1.default.request(config);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "discogs-marketplace-api-nodejs",
3
- "version": "1.7.2",
3
+ "version": "1.7.3",
4
4
  "description": "Another (better ?) NodeJs library to fetch data from Discogs marketplace",
5
5
  "keywords": [
6
6
  "discogs",
@@ -33,28 +33,28 @@
33
33
  "node": ">=14.0.0"
34
34
  },
35
35
  "dependencies": {
36
- "axios": "^1.6.0",
37
- "linkedom": "^0.16.1",
38
- "user-agents": "^1.1.15"
36
+ "axios": "^1.6.2",
37
+ "linkedom": "^0.16.4",
38
+ "user-agents": "^1.1.24"
39
39
  },
40
40
  "devDependencies": {
41
- "@types/jest": "^29.5.7",
42
- "@types/node": "^18.18.8",
43
- "@types/user-agents": "^1.0.3",
44
- "@typescript-eslint/eslint-plugin": "^6.10.0",
45
- "@typescript-eslint/parser": "^6.10.0",
46
- "cspell": "^7.3.8",
41
+ "@types/jest": "^29.5.8",
42
+ "@types/node": "^18.18.9",
43
+ "@types/user-agents": "^1.0.4",
44
+ "@typescript-eslint/eslint-plugin": "^6.11.0",
45
+ "@typescript-eslint/parser": "^6.11.0",
46
+ "cspell": "^8.0.0",
47
47
  "eslint": "^8.53.0",
48
48
  "eslint-config-airbnb-base": "^15.0.0",
49
49
  "eslint-config-airbnb-typescript": "^17.1.0",
50
50
  "eslint-config-prettier": "^9.0.0",
51
51
  "eslint-import-resolver-typescript": "^3.6.1",
52
52
  "eslint-plugin-import": "^2.29.0",
53
- "eslint-plugin-jsdoc": "^46.8.2",
53
+ "eslint-plugin-jsdoc": "^46.9.0",
54
54
  "husky": "^8.0.3",
55
55
  "jest": "^29.7.0",
56
- "lint-staged": "^15.0.2",
57
- "prettier": "^3.0.3",
56
+ "lint-staged": "^15.1.0",
57
+ "prettier": "^3.1.0",
58
58
  "ts-jest": "^29.1.1",
59
59
  "ts-node": "^10.9.1",
60
60
  "tsc-alias": "^1.8.8",