booru 2.6.3 → 2.6.4

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.
@@ -6,7 +6,7 @@ import { RequestInit } from 'undici';
6
6
  import { BooruCredentials } from './boorus/Booru';
7
7
  import Site from './structures/Site';
8
8
  import SiteInfo from './structures/SiteInfo';
9
- export declare type AnySite = 'e621.net' | 'e926.net' | 'hypnohub.net' | 'danbooru.donmai.us' | 'konachan.com' | 'konachan.net' | 'yande.re' | 'gelbooru.com' | 'rule34.xxx' | 'safebooru.org' | 'tbib.org' | 'xbooru.com' | 'rule34.paheal.net' | 'derpibooru.org' | 'realbooru.com';
9
+ export type AnySite = 'e621.net' | 'e926.net' | 'hypnohub.net' | 'danbooru.donmai.us' | 'konachan.com' | 'konachan.net' | 'yande.re' | 'gelbooru.com' | 'rule34.xxx' | 'safebooru.org' | 'tbib.org' | 'xbooru.com' | 'rule34.paheal.net' | 'derpibooru.org' | 'realbooru.com';
10
10
  /**
11
11
  * A map of site url/{@link SiteInfo}
12
12
  */
package/dist/Utils.d.ts CHANGED
@@ -63,8 +63,8 @@ export declare function validateSearchParams(site: string, limit: number | strin
63
63
  * @return {String[]} The shared strings between the arrays
64
64
  */
65
65
  export declare function compareArrays(arr1: string[], arr2: string[]): string[];
66
- declare type URIEncodable = string | number | boolean;
67
- declare type QueryValue = URIEncodable | URIEncodable[];
66
+ type URIEncodable = string | number | boolean;
67
+ type QueryValue = URIEncodable | URIEncodable[];
68
68
  interface QuerystringOptions {
69
69
  arrayJoin?: string;
70
70
  }
@@ -6,7 +6,7 @@ import InternalSearchParameters from '../structures/InternalSearchParameters';
6
6
  import SearchParameters from '../structures/SearchParameters';
7
7
  import SearchResults from '../structures/SearchResults';
8
8
  import Site from '../structures/Site';
9
- export declare type BooruCredentials = Record<string, string>;
9
+ export type BooruCredentials = Record<string, string>;
10
10
  interface SearchUrlParams {
11
11
  tags: string[];
12
12
  limit: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "booru",
3
- "version": "2.6.3",
3
+ "version": "2.6.4",
4
4
  "description": "Search (and do other things) on a bunch of different boorus!",
5
5
  "author": "AtoraSuunva (https://github.com/AtoraSuunva/)",
6
6
  "license": "MIT",
@@ -42,28 +42,28 @@
42
42
  "node": ">=10.0.0"
43
43
  },
44
44
  "dependencies": {
45
- "fast-xml-parser": "^4.0.9",
46
- "undici": "^5.10.0"
45
+ "fast-xml-parser": "^4.2.7",
46
+ "undici": "^5.23.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@babel/core": "^7.19.0",
49
+ "@babel/core": "^7.22.9",
50
50
  "@babel/polyfill": "^7.12.1",
51
- "@babel/preset-env": "^7.19.0",
52
- "@babel/preset-typescript": "^7.18.6",
53
- "@swc/core": "^1.3.0",
54
- "@types/jest": "^29.0.1",
55
- "@types/node": "^18.7.16",
56
- "@typescript-eslint/eslint-plugin": "^5.36.2",
57
- "@typescript-eslint/parser": "^5.36.2",
58
- "eslint": "^8.23.0",
59
- "eslint-config-prettier": "^8.5.0",
60
- "eslint-plugin-import": "^2.26.0",
61
- "eslint-plugin-jsdoc": "^39.3.6",
62
- "jest": "^29.0.3",
63
- "prettier": "^2.7.1",
64
- "terser": "^5.15.0",
51
+ "@babel/preset-env": "^7.22.9",
52
+ "@babel/preset-typescript": "^7.22.5",
53
+ "@swc/core": "^1.3.74",
54
+ "@types/jest": "^29.5.3",
55
+ "@types/node": "^20.4.8",
56
+ "@typescript-eslint/eslint-plugin": "^6.2.1",
57
+ "@typescript-eslint/parser": "^6.2.1",
58
+ "eslint": "^8.46.0",
59
+ "eslint-config-prettier": "^9.0.0",
60
+ "eslint-plugin-import": "^2.28.0",
61
+ "eslint-plugin-jsdoc": "^46.4.6",
62
+ "jest": "^29.6.2",
63
+ "prettier": "^3.0.1",
64
+ "terser": "^5.19.2",
65
65
  "ts-node": "^10.9.1",
66
- "typescript": "^4.8.3"
66
+ "typescript": "^5.1.6"
67
67
  },
68
68
  "files": [
69
69
  "dist/"