diff --git a/node_modules/youtubei.js/bundle/node.cjs b/node_modules/youtubei.js/bundle/node.cjs index 7e3072e..bf5be6a 100644 --- a/node_modules/youtubei.js/bundle/node.cjs +++ b/node_modules/youtubei.js/bundle/node.cjs @@ -16969,7 +16969,13 @@ var _Cache_createCache; var meta_url = import_meta.url; var is_cjs = !meta_url; var __dirname__ = is_cjs ? __dirname : import_path.default.dirname((0, import_url.fileURLToPath)(meta_url)); -var package_json = JSON.parse((0, import_fs.readFileSync)(import_path.default.resolve(__dirname__, is_cjs ? "../package.json" : "../../package.json"), "utf-8")); +var package_json = { + homepage: "https://github.com/LuanRT/YouTube.js#readme", + version: "6.4.1", + bugs: { + url: "https://github.com/LuanRT/YouTube.js/issues" + } +}; var repo_url = (_a3 = package_json.homepage) === null || _a3 === void 0 ? void 0 : _a3.split("#")[0]; var Cache = class { constructor(persistent = false, persistent_directory) { diff --git a/node_modules/youtubei.js/dist/src/platform/node.js b/node_modules/youtubei.js/dist/src/platform/node.js index 0e1b2ca..17b437c 100644 --- a/node_modules/youtubei.js/dist/src/platform/node.js +++ b/node_modules/youtubei.js/dist/src/platform/node.js @@ -16,7 +16,13 @@ import evaluate from './jsruntime/jinter.js'; const meta_url = import.meta.url; const is_cjs = !meta_url; const __dirname__ = is_cjs ? __dirname : path.dirname(fileURLToPath(meta_url)); -const package_json = JSON.parse(readFileSync(path.resolve(__dirname__, is_cjs ? '../package.json' : '../../package.json'), 'utf-8')); +const package_json = { + homepage: "https://github.com/LuanRT/YouTube.js#readme", + version: "6.4.1", + bugs: { + url: "https://github.com/LuanRT/YouTube.js/issues" + } +}; const repo_url = (_a = package_json.homepage) === null || _a === void 0 ? void 0 : _a.split('#')[0]; class Cache { constructor(persistent = false, persistent_directory) {