mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-11-30 17:17:55 +08:00
chore(deps): bump puppeteer from 16.2.0 to 17.0.0 (#10651)
* chore(deps): bump puppeteer from 16.2.0 to 17.0.0 Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 16.2.0 to 17.0.0. - [Release notes](https://github.com/puppeteer/puppeteer/releases) - [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md) - [Commits](https://github.com/puppeteer/puppeteer/compare/v16.2.0...v17.0.0) --- updated-dependencies: - dependency-name: puppeteer dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * chore: misc fix Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
@@ -121,7 +121,7 @@
|
||||
"parse-torrent": "9.1.5",
|
||||
"pidusage": "3.0.0",
|
||||
"plist": "3.0.6",
|
||||
"puppeteer": "16.2.0",
|
||||
"puppeteer": "17.0.0",
|
||||
"puppeteer-extra": "3.3.4",
|
||||
"puppeteer-extra-plugin-stealth": "2.11.1",
|
||||
"query-string": "7.1.1",
|
||||
|
||||
@@ -12,6 +12,7 @@ const files = ['lib/index.js', 'api/vercel.js'].map((file) => path.join(projectR
|
||||
console.log('Start analyzing, project root:', projectRoot);
|
||||
const { fileList: fileSet } = await nodeFileTrace(files, {
|
||||
base: projectRoot,
|
||||
fileIOConcurrency: 2048,
|
||||
});
|
||||
let fileList = Array.from(fileSet);
|
||||
console.log('Total touchable files:', fileList.length);
|
||||
|
||||
@@ -6,50 +6,49 @@ module.exports = async ({ core }, host, apiKey) => {
|
||||
apiKey,
|
||||
});
|
||||
core.info('Updating displayed attributes');
|
||||
core.info(
|
||||
await client
|
||||
.index('rsshub')
|
||||
.updateDisplayedAttributes([
|
||||
'hierarchy_radio_lvl1',
|
||||
'hierarchy_radio_lvl2',
|
||||
'hierarchy_radio_lvl3',
|
||||
'hierarchy_radio_lvl4',
|
||||
'hierarchy_radio_lvl5',
|
||||
'hierarchy_lvl0',
|
||||
'hierarchy_lvl1',
|
||||
'hierarchy_lvl2',
|
||||
'hierarchy_lvl3',
|
||||
'hierarchy_lvl4',
|
||||
'hierarchy_lvl5',
|
||||
'hierarchy_lvl6',
|
||||
'anchor',
|
||||
'url',
|
||||
'content',
|
||||
])
|
||||
);
|
||||
const displayed = await client
|
||||
.index('rsshub')
|
||||
.updateDisplayedAttributes([
|
||||
'hierarchy_radio_lvl1',
|
||||
'hierarchy_radio_lvl2',
|
||||
'hierarchy_radio_lvl3',
|
||||
'hierarchy_radio_lvl4',
|
||||
'hierarchy_radio_lvl5',
|
||||
'hierarchy_lvl0',
|
||||
'hierarchy_lvl1',
|
||||
'hierarchy_lvl2',
|
||||
'hierarchy_lvl3',
|
||||
'hierarchy_lvl4',
|
||||
'hierarchy_lvl5',
|
||||
'hierarchy_lvl6',
|
||||
'anchor',
|
||||
'url',
|
||||
'content',
|
||||
]);
|
||||
core.info(displayed);
|
||||
|
||||
core.info('Updating searchable attributes');
|
||||
core.info(
|
||||
await client
|
||||
.index('rsshub')
|
||||
.updateSearchableAttributes([
|
||||
'hierarchy_radio_lvl1',
|
||||
'hierarchy_radio_lvl2',
|
||||
'hierarchy_radio_lvl3',
|
||||
'hierarchy_radio_lvl4',
|
||||
'hierarchy_radio_lvl5',
|
||||
'hierarchy_lvl0',
|
||||
'hierarchy_lvl1',
|
||||
'hierarchy_lvl2',
|
||||
'hierarchy_lvl3',
|
||||
'hierarchy_lvl4',
|
||||
'hierarchy_lvl5',
|
||||
'hierarchy_lvl6',
|
||||
'anchor',
|
||||
'content',
|
||||
])
|
||||
);
|
||||
const searchable = await client
|
||||
.index('rsshub')
|
||||
.updateSearchableAttributes([
|
||||
'hierarchy_radio_lvl1',
|
||||
'hierarchy_radio_lvl2',
|
||||
'hierarchy_radio_lvl3',
|
||||
'hierarchy_radio_lvl4',
|
||||
'hierarchy_radio_lvl5',
|
||||
'hierarchy_lvl0',
|
||||
'hierarchy_lvl1',
|
||||
'hierarchy_lvl2',
|
||||
'hierarchy_lvl3',
|
||||
'hierarchy_lvl4',
|
||||
'hierarchy_lvl5',
|
||||
'hierarchy_lvl6',
|
||||
'anchor',
|
||||
'content',
|
||||
]);
|
||||
core.info(searchable);
|
||||
|
||||
core.info('Updating sortable attributes');
|
||||
core.info(await client.index('rsshub').updateSortableAttributes(['anchor']));
|
||||
const sortable = await client.index('rsshub').updateSortableAttributes(['anchor']);
|
||||
core.info(sortable);
|
||||
};
|
||||
|
||||
@@ -11606,10 +11606,10 @@ puppeteer-extra@3.3.4:
|
||||
debug "^4.1.1"
|
||||
deepmerge "^4.2.2"
|
||||
|
||||
puppeteer@16.2.0:
|
||||
version "16.2.0"
|
||||
resolved "https://registry.yarnpkg.com/puppeteer/-/puppeteer-16.2.0.tgz#3fc9cc0c461d3166a98562a7dcd0bf3424a0523c"
|
||||
integrity sha512-7Au6iC98rS6WEAD110V4Bxd0iIbqoFtzz9XzkG1BSofidS1VAJ881E1+GFR7Xn2Yea0hbj8n0ErzRyseMp1Ctg==
|
||||
puppeteer@17.0.0:
|
||||
version "17.0.0"
|
||||
resolved "https://registry.yarnpkg.com/puppeteer/-/puppeteer-17.0.0.tgz#85fea801a7b8b8c9e2913b1491e98c867be49a6b"
|
||||
integrity sha512-T2rdzlPxnPezF218kywFP3O+0YI5/8Kl8riNUicGb+KuMyDTrqRjhSOSDp6coQ1T4QYPBARTFp4EMBepMOzAQA==
|
||||
dependencies:
|
||||
cross-fetch "3.1.5"
|
||||
debug "4.3.4"
|
||||
|
||||
Reference in New Issue
Block a user