Comparing version 4.1.1 to 4.1.2
"use strict"; | ||
/* istanbul ignore file */ | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
@@ -15,2 +16,3 @@ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
* A YouTube guide category. | ||
* @deprecated See https://developers.google.com/youtube/v3/docs/guideCategories | ||
*/ | ||
@@ -17,0 +19,0 @@ class GuideCategory { |
@@ -10,3 +10,3 @@ "use strict"; | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
@@ -13,0 +13,0 @@ Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -10,3 +10,3 @@ "use strict"; | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
@@ -174,3 +174,5 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
* @param categoryId The ID of the category. | ||
* @deprecated See https://developers.google.com/youtube/v3/docs/guideCategories/list | ||
*/ | ||
/* istanbul ignore next */ | ||
getGuideCategory(categoryId) { | ||
@@ -279,3 +281,3 @@ return services_1.GenericService.getItem(this, entities_1.GuideCategory, false, categoryId); | ||
/** | ||
* Get a list of categories of a country. | ||
* Get the list of categories in `this.region`. | ||
* @param all Whether or not to get all categories (otherwise just gets a page). | ||
@@ -287,7 +289,6 @@ */ | ||
/** | ||
* Get a list of guide categories of a country. | ||
* @param region An [ISO 3166-1 alpha-2](https://www.iso.org/iso-3166-country-codes.html) region code. | ||
* Defaults to the US. | ||
* @param all Whether or not to get all categories (otherwise just gets a page). | ||
* Get the list of guide categories in `this.region`. | ||
* @deprecated See https://developers.google.com/youtube/v3/docs/guideCategories/list | ||
*/ | ||
/* istanbul ignore next */ | ||
getGuideCategories() { | ||
@@ -294,0 +295,0 @@ return services_1.GenericService.getPaginatedItems(this, 'guideCategories', false); |
@@ -10,3 +10,3 @@ "use strict"; | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
@@ -13,0 +13,0 @@ Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -10,3 +10,3 @@ "use strict"; | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
@@ -13,0 +13,0 @@ Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -10,3 +10,3 @@ "use strict"; | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
@@ -13,0 +13,0 @@ Object.defineProperty(exports, "__esModule", { value: true }); |
{ | ||
"name": "popyt", | ||
"version": "4.1.1", | ||
"version": "4.1.2", | ||
"description": "A very easy to use promise-based Youtube Data v3 API.", | ||
@@ -30,16 +30,16 @@ "homepage": "https://bbothell.me/popyt", | ||
"@istanbuljs/nyc-config-typescript": "1.0.1", | ||
"@types/chai": "4.2.11", | ||
"@types/chai": "4.2.12", | ||
"@types/gulp": "4.0.6", | ||
"@types/gulp-sourcemaps": "0.0.32", | ||
"@types/merge2": "1.3.0", | ||
"@types/mocha": "8.0.0", | ||
"@types/node": "13.13.14", | ||
"@typescript-eslint/eslint-plugin": "3.6.1", | ||
"@typescript-eslint/parser": "3.6.1", | ||
"@types/mocha": "8.0.3", | ||
"@types/node": "13.13.19", | ||
"@typescript-eslint/eslint-plugin": "4.1.1", | ||
"@typescript-eslint/parser": "4.1.1", | ||
"chai": "4.2.0", | ||
"coveralls": "3.1.0", | ||
"dotenv": "8.2.0", | ||
"eslint": "7.5.0", | ||
"eslint": "7.9.0", | ||
"eslint-plugin-import": "2.22.0", | ||
"eslint-plugin-jsdoc": "29.2.0", | ||
"eslint-plugin-jsdoc": "30.5.1", | ||
"fs-nextra": "0.5.1", | ||
@@ -51,8 +51,8 @@ "gulp": "4.0.2", | ||
"merge2": "1.4.1", | ||
"mocha": "8.0.1", | ||
"mocha": "8.1.3", | ||
"nyc": "15.1.0", | ||
"source-map-support": "0.5.19", | ||
"ts-node": "8.10.2", | ||
"typedoc": "0.17.8", | ||
"typescript": "3.9.7" | ||
"ts-node": "9.0.0", | ||
"typedoc": "0.19.1", | ||
"typescript": "4.0.2" | ||
}, | ||
@@ -59,0 +59,0 @@ "repository": { |
@@ -95,2 +95,3 @@ /// <reference types="node" /> | ||
* This channel's comment count. | ||
* @deprecated See https://developers.google.com/youtube/v3/docs/channels#statistics.commentCount | ||
*/ | ||
@@ -97,0 +98,0 @@ commentCount: number; |
import YouTube from '..'; | ||
/** | ||
* A YouTube guide category. | ||
* @deprecated See https://developers.google.com/youtube/v3/docs/guideCategories | ||
*/ | ||
@@ -5,0 +6,0 @@ export declare class GuideCategory { |
@@ -143,2 +143,3 @@ import { Video, Channel, Playlist, YTComment, Subscription, VideoCategory, GuideCategory, Language, Region, ChannelSection } from './entities'; | ||
* @param categoryId The ID of the category. | ||
* @deprecated See https://developers.google.com/youtube/v3/docs/guideCategories/list | ||
*/ | ||
@@ -206,3 +207,3 @@ getGuideCategory(categoryId: string): Promise<GuideCategory>; | ||
/** | ||
* Get a list of categories of a country. | ||
* Get the list of categories in `this.region`. | ||
* @param all Whether or not to get all categories (otherwise just gets a page). | ||
@@ -212,6 +213,4 @@ */ | ||
/** | ||
* Get a list of guide categories of a country. | ||
* @param region An [ISO 3166-1 alpha-2](https://www.iso.org/iso-3166-country-codes.html) region code. | ||
* Defaults to the US. | ||
* @param all Whether or not to get all categories (otherwise just gets a page). | ||
* Get the list of guide categories in `this.region`. | ||
* @deprecated See https://developers.google.com/youtube/v3/docs/guideCategories/list | ||
*/ | ||
@@ -218,0 +217,0 @@ getGuideCategories(): Promise<GuideCategory[]>; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
475355
5856