npms.io 2.5.0 → 2.6.0

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,13 +6,11 @@ export declare class PackageAPI {
6
6
  /**
7
7
  * Get various packages info.
8
8
  * @param packageNames The package names
9
- * @see https://api-docs.npms.io/#api-Package-GetMultiPackageInfo
10
9
  */
11
10
  multiPackageInfo(packageNames: string[]): Promise<Record<string, PackageInfo>>;
12
11
  /**
13
12
  * Get package info.
14
13
  * @param packageName The package name
15
- * @see https://api-docs.npms.io/#api-Package-GetPackageInfo
16
14
  */
17
15
  packageInfo(packageName: string): Promise<PackageInfo>;
18
16
  }
@@ -18,7 +18,6 @@ class PackageAPI {
18
18
  /**
19
19
  * Get various packages info.
20
20
  * @param packageNames The package names
21
- * @see https://api-docs.npms.io/#api-Package-GetMultiPackageInfo
22
21
  */
23
22
  multiPackageInfo(packageNames) {
24
23
  return __awaiter(this, void 0, void 0, function* () {
@@ -30,7 +29,6 @@ class PackageAPI {
30
29
  /**
31
30
  * Get package info.
32
31
  * @param packageName The package name
33
- * @see https://api-docs.npms.io/#api-Package-GetPackageInfo
34
32
  */
35
33
  packageInfo(packageName) {
36
34
  return __awaiter(this, void 0, void 0, function* () {
@@ -6,7 +6,6 @@ export declare class SearchAPI {
6
6
  /**
7
7
  * Fetch suggestions.
8
8
  * @param query Perform a search query
9
- * @see https://api-docs.npms.io/#api-Search-SearchSuggestions
10
9
  */
11
10
  getSuggestions(query: string, options?: SuggestionsOptions): Promise<SuggestionsResult>;
12
11
  /**
@@ -28,7 +27,6 @@ export declare class SearchAPI {
28
27
  * - `popularity-weight:1` Set the weight that popularity has for the each package score, defaults to `3.3`
29
28
  * - `maintenance-weight:1` Set the weight that the quality has for the each package score, defaults to `2.05`
30
29
  * @param options Additional search options
31
- * @see https://api-docs.npms.io/#api-Search-ExecuteSearchQuery
32
30
  */
33
31
  searchPackage(query: string, options?: SearchOptions): Promise<SearchResult>;
34
32
  }
@@ -18,7 +18,6 @@ class SearchAPI {
18
18
  /**
19
19
  * Fetch suggestions.
20
20
  * @param query Perform a search query
21
- * @see https://api-docs.npms.io/#api-Search-SearchSuggestions
22
21
  */
23
22
  getSuggestions(query_1) {
24
23
  return __awaiter(this, arguments, void 0, function* (query, options = {}) {
@@ -49,7 +48,6 @@ class SearchAPI {
49
48
  * - `popularity-weight:1` Set the weight that popularity has for the each package score, defaults to `3.3`
50
49
  * - `maintenance-weight:1` Set the weight that the quality has for the each package score, defaults to `2.05`
51
50
  * @param options Additional search options
52
- * @see https://api-docs.npms.io/#api-Search-ExecuteSearchQuery
53
51
  */
54
52
  searchPackage(query_1) {
55
53
  return __awaiter(this, arguments, void 0, function* (query, options = {}) {
package/package.json CHANGED
@@ -38,5 +38,5 @@
38
38
  "dist": "yarn clean && yarn build",
39
39
  "test": "vitest run"
40
40
  },
41
- "version": "2.5.0"
41
+ "version": "2.6.0"
42
42
  }