@library-pals/isbn 1.4.0 → 1.4.2
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 +16 -11
- package/src/providers/google.js +1 -1
package/package.json
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@library-pals/isbn",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.2",
|
|
4
4
|
"description": "Find books by ISBN",
|
|
5
|
-
"exports":
|
|
5
|
+
"exports": {
|
|
6
|
+
".": {
|
|
7
|
+
"types": "./types/index.d.ts",
|
|
8
|
+
"default": "./src/index.js"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
6
11
|
"types": "./types/index.d.ts",
|
|
7
12
|
"type": "module",
|
|
8
13
|
"main": "src/index.js",
|
|
@@ -32,19 +37,19 @@
|
|
|
32
37
|
"author": "Katy DeCorah <@katydecorah>",
|
|
33
38
|
"license": "AGPL-3.0-or-later",
|
|
34
39
|
"devDependencies": {
|
|
35
|
-
"@eslint/js": "^9.
|
|
36
|
-
"eslint": "^9.
|
|
37
|
-
"eslint-plugin-jest": "^28.
|
|
38
|
-
"eslint-plugin-jsdoc": "^50.
|
|
39
|
-
"eslint-plugin-unicorn": "^
|
|
40
|
-
"globals": "^15.
|
|
40
|
+
"@eslint/js": "^9.16.0",
|
|
41
|
+
"eslint": "^9.16.0",
|
|
42
|
+
"eslint-plugin-jest": "^28.9.0",
|
|
43
|
+
"eslint-plugin-jsdoc": "^50.6.0",
|
|
44
|
+
"eslint-plugin-unicorn": "^56.0.1",
|
|
45
|
+
"globals": "^15.13.0",
|
|
41
46
|
"jest": "^29.7.0",
|
|
42
|
-
"prettier": "^3.
|
|
47
|
+
"prettier": "^3.4.1",
|
|
43
48
|
"prettier-2": "npm:prettier@^2",
|
|
44
|
-
"typescript": "^5.
|
|
49
|
+
"typescript": "^5.7.2"
|
|
45
50
|
},
|
|
46
51
|
"dependencies": {
|
|
47
|
-
"axios": "^1.7.
|
|
52
|
+
"axios": "^1.7.8"
|
|
48
53
|
},
|
|
49
54
|
"bugs": {
|
|
50
55
|
"url": "https://github.com/library-pals/isbn/issues"
|
package/src/providers/google.js
CHANGED
|
@@ -143,11 +143,11 @@ export async function getVolume(id) {
|
|
|
143
143
|
function getLargestThumbnail(imageLinks) {
|
|
144
144
|
const sizes = [
|
|
145
145
|
"extraLarge",
|
|
146
|
+
"smallThumbnail",
|
|
146
147
|
"large",
|
|
147
148
|
"medium",
|
|
148
149
|
"small",
|
|
149
150
|
"thumbnail",
|
|
150
|
-
"smallThumbnail",
|
|
151
151
|
];
|
|
152
152
|
|
|
153
153
|
if (!imageLinks) return;
|