This is an automated email from the ASF dual-hosted git repository. zregvart pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-website.git
commit b3519ac1e98e252a992e4ba539c5c6dadfe8cbc9 Author: Zoran Regvart <zregv...@apache.org> AuthorDate: Wed Nov 18 13:23:21 2020 +0100 chore: replace link-checker with cargo-deadlinks `link-checker` has served us well until recently when it started reporting false positives. Also, performance is not stellar. This replaces it with `cargo-deadlinks`[1] which performs much better (seconds vs minutes) and has almost all functionality of the `link-checker`. I'm working on bringing it up to feature parity. Since the `cargo-deadlinks` is a Rust binary, a Yarn plugin was developed to download the released binary from GitHub releases and makes it available to Yarn CLI. Currently a forked version of cargo-deadlinks is used until outstanding feature work is integrated in the upstream version. [1] https://github.com/deadlinks/cargo-deadlinks/ --- .pnp.js | 294 ++++--------------- .yarn/build-state.yml | 10 +- ...emscripten-npm-1.39.4-4d03380faa-b848421e25.zip | Bin 0 -> 5848 bytes ...rnpkg-fslib-npm-2.3.0-177ea80af4-0969bd6b12.zip | Bin 0 -> 50593 bytes ...npkg-libzip-npm-2.2.1-8ad75a808a-75813c2dbe.zip | Bin 0 -> 233839 bytes ...dlinks-github-release-c1bd0491fb-f6b7be7bd3.zip | Bin 0 -> 3151306 bytes .../camelcase-npm-4.1.0-6903b265cd-6ca41b5114.zip | Bin 2737 -> 0 bytes ...heerio-npm-1.0.0-rc.3-27acf9bb0c-142f40a91b.zip | Bin 37998 -> 0 bytes .../cliui-npm-4.1.0-4dad363d19-401b0719e7.zip | Bin 6344 -> 0 bytes .../cookiejar-npm-2.1.2-081d78ab06-4c733c15c1.zip | Bin 4845 -> 0 bytes ...oreachasync-npm-3.0.0-c8ac3c5fca-02d25a451b.zip | Bin 7751 -> 0 bytes .../form-data-npm-2.5.1-47256351b5-c46ee9a14a.zip | Bin 15848 -> 0 bytes .../formidable-npm-1.2.2-0f629105a1-9fe5ef38d5.zip | Bin 43229 -> 0 bytes .../invert-kv-npm-2.0.0-67c5b7ac27-10b0fa3fd4.zip | Bin 2194 -> 0 bytes .../cache/lcid-npm-2.0.0-504d7cb4c6-147695e053.zip | Bin 3919 -> 0 bytes ...ink-checker-npm-1.4.1-0d58331836-c523e68564.zip | Bin 108475 -> 0 bytes ...age-cleaner-npm-0.1.3-fd9e4b4aff-0f0b811492.zip | Bin 4627 -> 0 bytes .../cache/mem-npm-4.3.0-c2a9c75d92-3af1ac31ef.zip | Bin 5119 -> 0 bytes .../methods-npm-1.1.2-92f6fdb39b-450e4ea0fd.zip | Bin 3441 -> 0 bytes .../os-locale-npm-3.1.0-c23c8ec673-50611551f0.zip | Bin 3528 -> 0 bytes .../p-defer-npm-1.0.0-4dfd0013f5-ffaabb1613.zip | Bin 2406 -> 0 bytes ...-is-promise-npm-2.1.0-47a48ac6a0-4a15137df9.zip | Bin 2924 -> 0 bytes .../parse5-npm-3.0.3-fb7c9e4969-4708652470.zip | Bin 81026 -> 0 bytes .yarn/cache/qs-npm-6.9.1-8d42e91c8c-acc162048d.zip | Bin 41091 -> 0 bytes .../superagent-npm-3.8.3-8bdf672d54-6a2151f7c4.zip | Bin 118814 -> 0 bytes .../tslib-npm-1.14.1-102499115e-f44fe7f216.zip | Bin 0 -> 14068 bytes .../urlencode-npm-1.1.0-d1f79ed7a0-50ecd20a45.zip | Bin 5041 -> 0 bytes .../walk-npm-2.3.14-7187bbff3a-54b61ebfac.zip | Bin 9216 -> 0 bytes .../yargs-npm-11.1.1-ff11785ffb-013be33991.zip | Bin 73916 -> 0 bytes ...args-parser-npm-9.0.2-62f0a207fc-8b183c113d.zip | Bin 14468 -> 0 bytes .yarnrc.yml | 1 + github-release-binary.js | 224 +++++++++++++++ package.json | 4 +- yarn.lock | 315 +++++---------------- 34 files changed, 345 insertions(+), 503 deletions(-) diff --git a/.pnp.js b/.pnp.js index b1785ee..e632c53 100755 --- a/.pnp.js +++ b/.pnp.js @@ -52,6 +52,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@antora/site-mapper", "npm:3.0.0-alpha.1"], ["@antora/xref-validator", "https://gitlab.com/antora/xref-validator.git#commit=19bfaf88fc7dd39552cfd8b3ac41c55d6d8f9edd"], ["@djencks/asciidoctor-antora-indexer", "npm:0.0.5"], + ["@zregvart/cargo-deadlinks", "github-release:zregvart/cargo-deadlinks:0.5.0-zregvart/deadlinks-linux"], ["antora-ui-camel", "workspace:antora-ui-camel"], ["del", "npm:6.0.0"], ["escape-string-regexp", "npm:2.0.0"], @@ -60,7 +61,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["gulp-htmlmin", "npm:5.0.1"], ["html-validate", "npm:3.0.0"], ["hugo-extended", "npm:0.73.0"], - ["link-checker", "npm:1.4.1"], ["npm-run-all", "npm:4.1.5"], ["opal-runtime", "npm:1.0.11"], ["toml", "npm:3.0.0"] @@ -860,6 +860,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], + ["@types/emscripten", [ + ["npm:1.39.4", { + "packageLocation": "./.yarn/cache/@types-emscripten-npm-1.39.4-4d03380faa-b848421e25.zip/node_modules/@types/emscripten/", + "packageDependencies": [ + ["@types/emscripten", "npm:1.39.4"] + ], + "linkType": "HARD", + }] + ]], ["@types/eslint-visitor-keys", [ ["npm:1.0.0", { "packageLocation": "./.yarn/cache/@types-eslint-visitor-keys-npm-1.0.0-a300061b93-48d1f32631.zip/node_modules/@types/eslint-visitor-keys/", @@ -1029,6 +1038,38 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], + ["@yarnpkg/fslib", [ + ["npm:2.3.0", { + "packageLocation": "./.yarn/cache/@yarnpkg-fslib-npm-2.3.0-177ea80af4-0969bd6b12.zip/node_modules/@yarnpkg/fslib/", + "packageDependencies": [ + ["@yarnpkg/fslib", "npm:2.3.0"], + ["@yarnpkg/libzip", "npm:2.2.1"], + ["tslib", "npm:1.14.1"] + ], + "linkType": "HARD", + }] + ]], + ["@yarnpkg/libzip", [ + ["npm:2.2.1", { + "packageLocation": "./.yarn/cache/@yarnpkg-libzip-npm-2.2.1-8ad75a808a-75813c2dbe.zip/node_modules/@yarnpkg/libzip/", + "packageDependencies": [ + ["@yarnpkg/libzip", "npm:2.2.1"], + ["@types/emscripten", "npm:1.39.4"], + ["tslib", "npm:1.14.1"] + ], + "linkType": "HARD", + }] + ]], + ["@zregvart/cargo-deadlinks", [ + ["github-release:zregvart/cargo-deadlinks:0.5.0-zregvart/deadlinks-linux", { + "packageLocation": "./.yarn/cache/@zregvart-cargo-deadlinks-github-release-c1bd0491fb-f6b7be7bd3.zip/node_modules/@zregvart/cargo-deadlinks/", + "packageDependencies": [ + ["@zregvart/cargo-deadlinks", "github-release:zregvart/cargo-deadlinks:0.5.0-zregvart/deadlinks-linux"], + ["@yarnpkg/fslib", "npm:2.3.0"] + ], + "linkType": "HARD", + }] + ]], ["JSONStream", [ ["npm:1.3.5", { "packageLocation": "./.yarn/cache/JSONStream-npm-1.3.5-1987f2e6dd-e9849f8a52.zip/node_modules/JSONStream/", @@ -1454,6 +1495,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@antora/site-mapper", "npm:3.0.0-alpha.1"], ["@antora/xref-validator", "https://gitlab.com/antora/xref-validator.git#commit=19bfaf88fc7dd39552cfd8b3ac41c55d6d8f9edd"], ["@djencks/asciidoctor-antora-indexer", "npm:0.0.5"], + ["@zregvart/cargo-deadlinks", "github-release:zregvart/cargo-deadlinks:0.5.0-zregvart/deadlinks-linux"], ["antora-ui-camel", "workspace:antora-ui-camel"], ["del", "npm:6.0.0"], ["escape-string-regexp", "npm:2.0.0"], @@ -1462,7 +1504,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["gulp-htmlmin", "npm:5.0.1"], ["html-validate", "npm:3.0.0"], ["hugo-extended", "npm:0.73.0"], - ["link-checker", "npm:1.4.1"], ["npm-run-all", "npm:4.1.5"], ["opal-runtime", "npm:1.0.11"], ["toml", "npm:3.0.0"] @@ -2662,13 +2703,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ], "linkType": "HARD", }], - ["npm:4.1.0", { - "packageLocation": "./.yarn/cache/camelcase-npm-4.1.0-6903b265cd-6ca41b5114.zip/node_modules/camelcase/", - "packageDependencies": [ - ["camelcase", "npm:4.1.0"] - ], - "linkType": "HARD", - }], ["npm:5.3.1", { "packageLocation": "./.yarn/cache/camelcase-npm-5.3.1-5db8af62c5-6a3350c4ea.zip/node_modules/camelcase/", "packageDependencies": [ @@ -2861,19 +2895,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["lodash.some", "npm:4.6.0"] ], "linkType": "HARD", - }], - ["npm:1.0.0-rc.3", { - "packageLocation": "./.yarn/cache/cheerio-npm-1.0.0-rc.3-27acf9bb0c-142f40a91b.zip/node_modules/cheerio/", - "packageDependencies": [ - ["cheerio", "npm:1.0.0-rc.3"], - ["css-select", "npm:1.2.0"], - ["dom-serializer", "npm:0.1.1"], - ["entities", "npm:1.1.2"], - ["htmlparser2", "npm:3.10.1"], - ["lodash", "npm:4.17.15"], - ["parse5", "npm:3.0.3"] - ], - "linkType": "HARD", }] ]], ["chokidar", [ @@ -3003,16 +3024,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ], "linkType": "HARD", }], - ["npm:4.1.0", { - "packageLocation": "./.yarn/cache/cliui-npm-4.1.0-4dad363d19-401b0719e7.zip/node_modules/cliui/", - "packageDependencies": [ - ["cliui", "npm:4.1.0"], - ["string-width", "npm:2.1.1"], - ["strip-ansi", "npm:4.0.0"], - ["wrap-ansi", "npm:2.1.0"] - ], - "linkType": "HARD", - }], ["npm:5.0.0", { "packageLocation": "./.yarn/cache/cliui-npm-5.0.0-885b5f48ee-25e61dc985.zip/node_modules/cliui/", "packageDependencies": [ @@ -3446,15 +3457,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], - ["cookiejar", [ - ["npm:2.1.2", { - "packageLocation": "./.yarn/cache/cookiejar-npm-2.1.2-081d78ab06-4c733c15c1.zip/node_modules/cookiejar/", - "packageDependencies": [ - ["cookiejar", "npm:2.1.2"] - ], - "linkType": "HARD", - }] - ]], ["copy-descriptor", [ ["npm:0.1.1", { "packageLocation": "./.yarn/cache/copy-descriptor-npm-0.1.1-864db4ab66-c052cf571f.zip/node_modules/copy-descriptor/", @@ -6061,15 +6063,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], - ["foreachasync", [ - ["npm:3.0.0", { - "packageLocation": "./.yarn/cache/foreachasync-npm-3.0.0-c8ac3c5fca-02d25a451b.zip/node_modules/foreachasync/", - "packageDependencies": [ - ["foreachasync", "npm:3.0.0"] - ], - "linkType": "HARD", - }] - ]], ["forever-agent", [ ["npm:0.6.1", { "packageLocation": "./.yarn/cache/forever-agent-npm-0.6.1-01dae53bf9-9cc0054dd4.zip/node_modules/forever-agent/", @@ -6089,25 +6082,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["mime-types", "npm:2.1.26"] ], "linkType": "HARD", - }], - ["npm:2.5.1", { - "packageLocation": "./.yarn/cache/form-data-npm-2.5.1-47256351b5-c46ee9a14a.zip/node_modules/form-data/", - "packageDependencies": [ - ["form-data", "npm:2.5.1"], - ["asynckit", "npm:0.4.0"], - ["combined-stream", "npm:1.0.8"], - ["mime-types", "npm:2.1.26"] - ], - "linkType": "HARD", - }] - ]], - ["formidable", [ - ["npm:1.2.2", { - "packageLocation": "./.yarn/cache/formidable-npm-1.2.2-0f629105a1-9fe5ef38d5.zip/node_modules/formidable/", - "packageDependencies": [ - ["formidable", "npm:1.2.2"] - ], - "linkType": "HARD", }] ]], ["fragment-cache", [ @@ -7747,13 +7721,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["invert-kv", "npm:1.0.0"] ], "linkType": "HARD", - }], - ["npm:2.0.0", { - "packageLocation": "./.yarn/cache/invert-kv-npm-2.0.0-67c5b7ac27-10b0fa3fd4.zip/node_modules/invert-kv/", - "packageDependencies": [ - ["invert-kv", "npm:2.0.0"] - ], - "linkType": "HARD", }] ]], ["ip-regex", [ @@ -8921,14 +8888,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["invert-kv", "npm:1.0.0"] ], "linkType": "HARD", - }], - ["npm:2.0.0", { - "packageLocation": "./.yarn/cache/lcid-npm-2.0.0-504d7cb4c6-147695e053.zip/node_modules/lcid/", - "packageDependencies": [ - ["lcid", "npm:2.0.0"], - ["invert-kv", "npm:2.0.0"] - ], - "linkType": "HARD", }] ]], ["lead", [ @@ -8996,26 +8955,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], - ["link-checker", [ - ["npm:1.4.1", { - "packageLocation": "./.yarn/cache/link-checker-npm-1.4.1-0d58331836-c523e68564.zip/node_modules/link-checker/", - "packageDependencies": [ - ["link-checker", "npm:1.4.1"], - ["cheerio", "npm:1.0.0-rc.3"], - ["commander", "npm:2.20.3"], - ["debug", "virtual:710fa9e84c411e9a6d38057111fc8f87ba51ce39b63d470861c88972bf2b279427700d359b58a66dff9d7497a6091b73f49b16317fa95e6ed5ec2f1aa737346f#npm:3.2.6"], - ["mem", "npm:4.3.0"], - ["mkdirp", "npm:1.0.4"], - ["ms", "npm:2.1.2"], - ["rc", "npm:1.2.8"], - ["superagent", "npm:3.8.3"], - ["urlencode", "npm:1.1.0"], - ["walk", "npm:2.3.14"], - ["yargs", "npm:11.1.1"] - ], - "linkType": "HARD", - }] - ]], ["livereload-js", [ ["npm:2.4.0", { "packageLocation": "./.yarn/cache/livereload-js-npm-2.4.0-329cd2e58c-fb2bb8160c.zip/node_modules/livereload-js/", @@ -9428,16 +9367,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], - ["map-age-cleaner", [ - ["npm:0.1.3", { - "packageLocation": "./.yarn/cache/map-age-cleaner-npm-0.1.3-fd9e4b4aff-0f0b811492.zip/node_modules/map-age-cleaner/", - "packageDependencies": [ - ["map-age-cleaner", "npm:0.1.3"], - ["p-defer", "npm:1.0.0"] - ], - "linkType": "HARD", - }] - ]], ["map-cache", [ ["npm:0.2.2", { "packageLocation": "./.yarn/cache/map-cache-npm-0.2.2-1620199b05-3d205d20e0.zip/node_modules/map-cache/", @@ -9580,18 +9509,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], - ["mem", [ - ["npm:4.3.0", { - "packageLocation": "./.yarn/cache/mem-npm-4.3.0-c2a9c75d92-3af1ac31ef.zip/node_modules/mem/", - "packageDependencies": [ - ["mem", "npm:4.3.0"], - ["map-age-cleaner", "npm:0.1.3"], - ["mimic-fn", "npm:2.1.0"], - ["p-is-promise", "npm:2.1.0"] - ], - "linkType": "HARD", - }] - ]], ["memorystream", [ ["npm:0.3.1", { "packageLocation": "./.yarn/cache/memorystream-npm-0.3.1-ae973f1d16-825bcc7d3e.zip/node_modules/memorystream/", @@ -9666,15 +9583,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], - ["methods", [ - ["npm:1.1.2", { - "packageLocation": "./.yarn/cache/methods-npm-1.1.2-92f6fdb39b-450e4ea0fd.zip/node_modules/methods/", - "packageDependencies": [ - ["methods", "npm:1.1.2"] - ], - "linkType": "HARD", - }] - ]], ["micromatch", [ ["npm:3.1.10", { "packageLocation": "./.yarn/cache/micromatch-npm-3.1.10-016e80c79d-a60e73539a.zip/node_modules/micromatch/", @@ -10755,16 +10663,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["lcid", "npm:1.0.0"] ], "linkType": "HARD", - }], - ["npm:3.1.0", { - "packageLocation": "./.yarn/cache/os-locale-npm-3.1.0-c23c8ec673-50611551f0.zip/node_modules/os-locale/", - "packageDependencies": [ - ["os-locale", "npm:3.1.0"], - ["execa", "npm:1.0.0"], - ["lcid", "npm:2.0.0"], - ["mem", "npm:4.3.0"] - ], - "linkType": "HARD", }] ]], ["os-tmpdir", [ @@ -10810,15 +10708,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], - ["p-defer", [ - ["npm:1.0.0", { - "packageLocation": "./.yarn/cache/p-defer-npm-1.0.0-4dfd0013f5-ffaabb1613.zip/node_modules/p-defer/", - "packageDependencies": [ - ["p-defer", "npm:1.0.0"] - ], - "linkType": "HARD", - }] - ]], ["p-event", [ ["npm:1.3.0", { "packageLocation": "./.yarn/cache/p-event-npm-1.3.0-b6d7254595-c1c0d4625e.zip/node_modules/p-event/", @@ -10853,13 +10742,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["p-is-promise", "npm:1.1.0"] ], "linkType": "HARD", - }], - ["npm:2.1.0", { - "packageLocation": "./.yarn/cache/p-is-promise-npm-2.1.0-47a48ac6a0-4a15137df9.zip/node_modules/p-is-promise/", - "packageDependencies": [ - ["p-is-promise", "npm:2.1.0"] - ], - "linkType": "HARD", }] ]], ["p-limit", [ @@ -11106,16 +10988,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], - ["parse5", [ - ["npm:3.0.3", { - "packageLocation": "./.yarn/cache/parse5-npm-3.0.3-fb7c9e4969-4708652470.zip/node_modules/parse5/", - "packageDependencies": [ - ["parse5", "npm:3.0.3"], - ["@types/node", "npm:13.9.0"] - ], - "linkType": "HARD", - }] - ]], ["parseurl", [ ["npm:1.3.3", { "packageLocation": "./.yarn/cache/parseurl-npm-1.3.3-1542397e00-52c9e86cb5.zip/node_modules/parseurl/", @@ -12235,13 +12107,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ], "linkType": "HARD", }], - ["npm:6.9.1", { - "packageLocation": "./.yarn/cache/qs-npm-6.9.1-8d42e91c8c-acc162048d.zip/node_modules/qs/", - "packageDependencies": [ - ["qs", "npm:6.9.1"] - ], - "linkType": "HARD", - }], ["npm:6.9.4", { "packageLocation": "./.yarn/cache/qs-npm-6.9.4-7b853cfa85-beba62d1e1.zip/node_modules/qs/", "packageDependencies": [ @@ -14216,25 +14081,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], - ["superagent", [ - ["npm:3.8.3", { - "packageLocation": "./.yarn/cache/superagent-npm-3.8.3-8bdf672d54-6a2151f7c4.zip/node_modules/superagent/", - "packageDependencies": [ - ["superagent", "npm:3.8.3"], - ["component-emitter", "npm:1.3.0"], - ["cookiejar", "npm:2.1.2"], - ["debug", "virtual:710fa9e84c411e9a6d38057111fc8f87ba51ce39b63d470861c88972bf2b279427700d359b58a66dff9d7497a6091b73f49b16317fa95e6ed5ec2f1aa737346f#npm:3.2.6"], - ["extend", "npm:3.0.2"], - ["form-data", "npm:2.5.1"], - ["formidable", "npm:1.2.2"], - ["methods", "npm:1.1.2"], - ["mime", "npm:1.6.0"], - ["qs", "npm:6.9.1"], - ["readable-stream", "npm:2.3.7"] - ], - "linkType": "HARD", - }] - ]], ["supports-color", [ ["npm:2.0.0", { "packageLocation": "./.yarn/cache/supports-color-npm-2.0.0-22c0f0adbc-5d6fb449e2.zip/node_modules/supports-color/", @@ -14760,6 +14606,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["tslib", "npm:1.11.1"] ], "linkType": "HARD", + }], + ["npm:1.14.1", { + "packageLocation": "./.yarn/cache/tslib-npm-1.14.1-102499115e-f44fe7f216.zip/node_modules/tslib/", + "packageDependencies": [ + ["tslib", "npm:1.14.1"] + ], + "linkType": "HARD", }] ]], ["tty-browserify", [ @@ -15235,16 +15088,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], - ["urlencode", [ - ["npm:1.1.0", { - "packageLocation": "./.yarn/cache/urlencode-npm-1.1.0-d1f79ed7a0-50ecd20a45.zip/node_modules/urlencode/", - "packageDependencies": [ - ["urlencode", "npm:1.1.0"], - ["iconv-lite", "npm:0.4.24"] - ], - "linkType": "HARD", - }] - ]], ["use", [ ["npm:3.1.1", { "packageLocation": "./.yarn/cache/use-npm-3.1.1-7ba643714c-8dd3bdeeda.zip/node_modules/use/", @@ -15571,16 +15414,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD", }] ]], - ["walk", [ - ["npm:2.3.14", { - "packageLocation": "./.yarn/cache/walk-npm-2.3.14-7187bbff3a-54b61ebfac.zip/node_modules/walk/", - "packageDependencies": [ - ["walk", "npm:2.3.14"], - ["foreachasync", "npm:3.0.0"] - ], - "linkType": "HARD", - }] - ]], ["websocket-driver", [ ["npm:0.7.4", { "packageLocation": "./.yarn/cache/websocket-driver-npm-0.7.4-a72739da70-9627c9fc5b.zip/node_modules/websocket-driver/", @@ -15845,25 +15678,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }] ]], ["yargs", [ - ["npm:11.1.1", { - "packageLocation": "./.yarn/cache/yargs-npm-11.1.1-ff11785ffb-013be33991.zip/node_modules/yargs/", - "packageDependencies": [ - ["yargs", "npm:11.1.1"], - ["cliui", "npm:4.1.0"], - ["decamelize", "npm:1.2.0"], - ["find-up", "npm:2.1.0"], - ["get-caller-file", "npm:1.0.3"], - ["os-locale", "npm:3.1.0"], - ["require-directory", "npm:2.1.1"], - ["require-main-filename", "npm:1.0.1"], - ["set-blocking", "npm:2.0.0"], - ["string-width", "npm:2.1.1"], - ["which-module", "npm:2.0.0"], - ["y18n", "npm:3.2.1"], - ["yargs-parser", "npm:9.0.2"] - ], - "linkType": "HARD", - }], ["npm:14.2.3", { "packageLocation": "./.yarn/cache/yargs-npm-14.2.3-b84ca3cee2-cfe46545a6.zip/node_modules/yargs/", "packageDependencies": [ @@ -15929,14 +15743,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["camelcase", "npm:3.0.0"] ], "linkType": "HARD", - }], - ["npm:9.0.2", { - "packageLocation": "./.yarn/cache/yargs-parser-npm-9.0.2-62f0a207fc-8b183c113d.zip/node_modules/yargs-parser/", - "packageDependencies": [ - ["yargs-parser", "npm:9.0.2"], - ["camelcase", "npm:4.1.0"] - ], - "linkType": "HARD", }] ]], ["yauzl", [ diff --git a/.yarn/build-state.yml b/.yarn/build-state.yml index 9d98e55..d61b27a 100644 --- a/.yarn/build-state.yml +++ b/.yarn/build-state.yml @@ -3,20 +3,20 @@ # core-js@npm:3.6.5 "5941340066f775d2694fe1955bef9a66af767bfade2eca6ca442d82a68a5c999e76165c38ab532c125bf81c66c151d83d8e96f86a3f7af2d755000b3e2d48171": - 3e50377806dc56923159f92253807e54e036549e26ee002726dfc1ac671563333aa95ec53143273420c6ff794a6d9fd824a5c8558291ef45ec6fa4cbebcd6401 + 9b264165157a8ca66c9e565774444124d35600f040847a8b2d2965953de48d22e2e87c837a3f10970b4a817acfd0932269ef0df75f5b6c7d2b20695ac9374b2f # gifsicle@npm:4.0.1 "47efba2323306056b5eb4428fb87bbe745eb0587d7a5c64c188c6bc7d13bb2ab6ee9099b11957e60c6dacefbfc0d074aa862e206c771bef851d72b01b35da575": - 2258629536a99a54f75d9dd8ae15ee0ed62902048a51603c2ac631e0d2727888ff424d596ce87aa19dafa48212afdb249869b8b274f4d48d3eef7dc432828f91 + 38cdc353b12bcc26f70a56ca72f0cd2f33b969f74b07495828cd3f84e597431abe1277d0166832f51a44a95e55199cc212fb7d81db4c338f715f2e5791834ee4 # hugo-extended@npm:0.73.0 "f4a4b1a424d4f0eeec4214510de20c5e149bf5a11cd09c1470703b565b9d6dae99e59a984e629d6f699070766d0f02d1381989a7dd8af6d5d77d2f29be9f3d88": - 5f02023176720faa693db4b25f06e7e882c34a501e2ab849927f58443b8ac8a27499d2c628e7aa5e79382fc61d200376aab52b9cdcfd0d2670f2009e0dac06ea + 31bcfcb9163e92affb15af25a42650fe6ada38bf8d30c9510f366eb4fd59096d595ee039a50651ece00cd0aa19ea455d378a54b3c1df8476971c691c62a58b7f # jpegtran-bin@npm:4.0.0 "c1e70a98c194359902d396160440b8d6aafc026faec0b483b98d24dac1a2756f6ebdb0d5b12c609339320ad38e22580c8c8b6e70edfc9c5019a30d10094fd1fb": - b5c116277b100c3662052ceeaa3429b78771b105a17ae226bb51294ed3a230e39180008f7a172f90f961e818356b14cb4646b6826468b2b8a57f6c233f551108 + e9c1563e2373204e8fc35a861b2b83ea17885f94bb6ce5707801a65373fe681d3aa547beefe41d5a3736ec8d2b989837231ccad01cd13755ac9d11b123a2b003 # optipng-bin@npm:6.0.0 "3aa5f04a3e5704a556a7f98fdddf5ad260b55ca04a2b8cd3d448861d0bd4778bbc092bf0bd558eba02998faceda73052710fa3124f1940098d2ee8bd93474567": - 62d0fc8f2229ce50f17ecc105720f90fd5f2024002c4d5a9aaed2bb6d5222980674f61992149907e478eff5d04b2c4f98e801552f64ee75c96d1dcc1ed9e4942 + 0e1ffb3d99b4fe40dd026f2716e011b42c9100563c48a4fe7ca1f57114b7254b3f853b7baf8f1c4f33dc5e253dc26f852533372b0af44d52f68d046a4ccce24a diff --git a/.yarn/cache/@types-emscripten-npm-1.39.4-4d03380faa-b848421e25.zip b/.yarn/cache/@types-emscripten-npm-1.39.4-4d03380faa-b848421e25.zip new file mode 100644 index 0000000..562fbe7 Binary files /dev/null and b/.yarn/cache/@types-emscripten-npm-1.39.4-4d03380faa-b848421e25.zip differ diff --git a/.yarn/cache/@yarnpkg-fslib-npm-2.3.0-177ea80af4-0969bd6b12.zip b/.yarn/cache/@yarnpkg-fslib-npm-2.3.0-177ea80af4-0969bd6b12.zip new file mode 100644 index 0000000..bfbd80c Binary files /dev/null and b/.yarn/cache/@yarnpkg-fslib-npm-2.3.0-177ea80af4-0969bd6b12.zip differ diff --git a/.yarn/cache/@yarnpkg-libzip-npm-2.2.1-8ad75a808a-75813c2dbe.zip b/.yarn/cache/@yarnpkg-libzip-npm-2.2.1-8ad75a808a-75813c2dbe.zip new file mode 100644 index 0000000..aec8ca5 Binary files /dev/null and b/.yarn/cache/@yarnpkg-libzip-npm-2.2.1-8ad75a808a-75813c2dbe.zip differ diff --git a/.yarn/cache/@zregvart-cargo-deadlinks-github-release-c1bd0491fb-f6b7be7bd3.zip b/.yarn/cache/@zregvart-cargo-deadlinks-github-release-c1bd0491fb-f6b7be7bd3.zip new file mode 100644 index 0000000..cd88523 Binary files /dev/null and b/.yarn/cache/@zregvart-cargo-deadlinks-github-release-c1bd0491fb-f6b7be7bd3.zip differ diff --git a/.yarn/cache/camelcase-npm-4.1.0-6903b265cd-6ca41b5114.zip b/.yarn/cache/camelcase-npm-4.1.0-6903b265cd-6ca41b5114.zip deleted file mode 100644 index 701ef60..0000000 Binary files a/.yarn/cache/camelcase-npm-4.1.0-6903b265cd-6ca41b5114.zip and /dev/null differ diff --git a/.yarn/cache/cheerio-npm-1.0.0-rc.3-27acf9bb0c-142f40a91b.zip b/.yarn/cache/cheerio-npm-1.0.0-rc.3-27acf9bb0c-142f40a91b.zip deleted file mode 100644 index f183d43..0000000 Binary files a/.yarn/cache/cheerio-npm-1.0.0-rc.3-27acf9bb0c-142f40a91b.zip and /dev/null differ diff --git a/.yarn/cache/cliui-npm-4.1.0-4dad363d19-401b0719e7.zip b/.yarn/cache/cliui-npm-4.1.0-4dad363d19-401b0719e7.zip deleted file mode 100644 index 0c8f6f0..0000000 Binary files a/.yarn/cache/cliui-npm-4.1.0-4dad363d19-401b0719e7.zip and /dev/null differ diff --git a/.yarn/cache/cookiejar-npm-2.1.2-081d78ab06-4c733c15c1.zip b/.yarn/cache/cookiejar-npm-2.1.2-081d78ab06-4c733c15c1.zip deleted file mode 100644 index 40455f0..0000000 Binary files a/.yarn/cache/cookiejar-npm-2.1.2-081d78ab06-4c733c15c1.zip and /dev/null differ diff --git a/.yarn/cache/foreachasync-npm-3.0.0-c8ac3c5fca-02d25a451b.zip b/.yarn/cache/foreachasync-npm-3.0.0-c8ac3c5fca-02d25a451b.zip deleted file mode 100644 index b3e081e..0000000 Binary files a/.yarn/cache/foreachasync-npm-3.0.0-c8ac3c5fca-02d25a451b.zip and /dev/null differ diff --git a/.yarn/cache/form-data-npm-2.5.1-47256351b5-c46ee9a14a.zip b/.yarn/cache/form-data-npm-2.5.1-47256351b5-c46ee9a14a.zip deleted file mode 100644 index a29af1d..0000000 Binary files a/.yarn/cache/form-data-npm-2.5.1-47256351b5-c46ee9a14a.zip and /dev/null differ diff --git a/.yarn/cache/formidable-npm-1.2.2-0f629105a1-9fe5ef38d5.zip b/.yarn/cache/formidable-npm-1.2.2-0f629105a1-9fe5ef38d5.zip deleted file mode 100644 index a627153..0000000 Binary files a/.yarn/cache/formidable-npm-1.2.2-0f629105a1-9fe5ef38d5.zip and /dev/null differ diff --git a/.yarn/cache/invert-kv-npm-2.0.0-67c5b7ac27-10b0fa3fd4.zip b/.yarn/cache/invert-kv-npm-2.0.0-67c5b7ac27-10b0fa3fd4.zip deleted file mode 100644 index 8fc7026..0000000 Binary files a/.yarn/cache/invert-kv-npm-2.0.0-67c5b7ac27-10b0fa3fd4.zip and /dev/null differ diff --git a/.yarn/cache/lcid-npm-2.0.0-504d7cb4c6-147695e053.zip b/.yarn/cache/lcid-npm-2.0.0-504d7cb4c6-147695e053.zip deleted file mode 100644 index 23fb3d9..0000000 Binary files a/.yarn/cache/lcid-npm-2.0.0-504d7cb4c6-147695e053.zip and /dev/null differ diff --git a/.yarn/cache/link-checker-npm-1.4.1-0d58331836-c523e68564.zip b/.yarn/cache/link-checker-npm-1.4.1-0d58331836-c523e68564.zip deleted file mode 100644 index b977c48..0000000 Binary files a/.yarn/cache/link-checker-npm-1.4.1-0d58331836-c523e68564.zip and /dev/null differ diff --git a/.yarn/cache/map-age-cleaner-npm-0.1.3-fd9e4b4aff-0f0b811492.zip b/.yarn/cache/map-age-cleaner-npm-0.1.3-fd9e4b4aff-0f0b811492.zip deleted file mode 100644 index 21b1f13..0000000 Binary files a/.yarn/cache/map-age-cleaner-npm-0.1.3-fd9e4b4aff-0f0b811492.zip and /dev/null differ diff --git a/.yarn/cache/mem-npm-4.3.0-c2a9c75d92-3af1ac31ef.zip b/.yarn/cache/mem-npm-4.3.0-c2a9c75d92-3af1ac31ef.zip deleted file mode 100644 index cf26e7c..0000000 Binary files a/.yarn/cache/mem-npm-4.3.0-c2a9c75d92-3af1ac31ef.zip and /dev/null differ diff --git a/.yarn/cache/methods-npm-1.1.2-92f6fdb39b-450e4ea0fd.zip b/.yarn/cache/methods-npm-1.1.2-92f6fdb39b-450e4ea0fd.zip deleted file mode 100644 index 771a725..0000000 Binary files a/.yarn/cache/methods-npm-1.1.2-92f6fdb39b-450e4ea0fd.zip and /dev/null differ diff --git a/.yarn/cache/os-locale-npm-3.1.0-c23c8ec673-50611551f0.zip b/.yarn/cache/os-locale-npm-3.1.0-c23c8ec673-50611551f0.zip deleted file mode 100644 index 3432272..0000000 Binary files a/.yarn/cache/os-locale-npm-3.1.0-c23c8ec673-50611551f0.zip and /dev/null differ diff --git a/.yarn/cache/p-defer-npm-1.0.0-4dfd0013f5-ffaabb1613.zip b/.yarn/cache/p-defer-npm-1.0.0-4dfd0013f5-ffaabb1613.zip deleted file mode 100644 index eed3fec..0000000 Binary files a/.yarn/cache/p-defer-npm-1.0.0-4dfd0013f5-ffaabb1613.zip and /dev/null differ diff --git a/.yarn/cache/p-is-promise-npm-2.1.0-47a48ac6a0-4a15137df9.zip b/.yarn/cache/p-is-promise-npm-2.1.0-47a48ac6a0-4a15137df9.zip deleted file mode 100644 index 9fdb942..0000000 Binary files a/.yarn/cache/p-is-promise-npm-2.1.0-47a48ac6a0-4a15137df9.zip and /dev/null differ diff --git a/.yarn/cache/parse5-npm-3.0.3-fb7c9e4969-4708652470.zip b/.yarn/cache/parse5-npm-3.0.3-fb7c9e4969-4708652470.zip deleted file mode 100644 index 55bd103..0000000 Binary files a/.yarn/cache/parse5-npm-3.0.3-fb7c9e4969-4708652470.zip and /dev/null differ diff --git a/.yarn/cache/qs-npm-6.9.1-8d42e91c8c-acc162048d.zip b/.yarn/cache/qs-npm-6.9.1-8d42e91c8c-acc162048d.zip deleted file mode 100644 index 4dcd0a6..0000000 Binary files a/.yarn/cache/qs-npm-6.9.1-8d42e91c8c-acc162048d.zip and /dev/null differ diff --git a/.yarn/cache/superagent-npm-3.8.3-8bdf672d54-6a2151f7c4.zip b/.yarn/cache/superagent-npm-3.8.3-8bdf672d54-6a2151f7c4.zip deleted file mode 100644 index a192e1f..0000000 Binary files a/.yarn/cache/superagent-npm-3.8.3-8bdf672d54-6a2151f7c4.zip and /dev/null differ diff --git a/.yarn/cache/tslib-npm-1.14.1-102499115e-f44fe7f216.zip b/.yarn/cache/tslib-npm-1.14.1-102499115e-f44fe7f216.zip new file mode 100644 index 0000000..4549a4a Binary files /dev/null and b/.yarn/cache/tslib-npm-1.14.1-102499115e-f44fe7f216.zip differ diff --git a/.yarn/cache/urlencode-npm-1.1.0-d1f79ed7a0-50ecd20a45.zip b/.yarn/cache/urlencode-npm-1.1.0-d1f79ed7a0-50ecd20a45.zip deleted file mode 100644 index 7721ada..0000000 Binary files a/.yarn/cache/urlencode-npm-1.1.0-d1f79ed7a0-50ecd20a45.zip and /dev/null differ diff --git a/.yarn/cache/walk-npm-2.3.14-7187bbff3a-54b61ebfac.zip b/.yarn/cache/walk-npm-2.3.14-7187bbff3a-54b61ebfac.zip deleted file mode 100644 index 2fcb32a..0000000 Binary files a/.yarn/cache/walk-npm-2.3.14-7187bbff3a-54b61ebfac.zip and /dev/null differ diff --git a/.yarn/cache/yargs-npm-11.1.1-ff11785ffb-013be33991.zip b/.yarn/cache/yargs-npm-11.1.1-ff11785ffb-013be33991.zip deleted file mode 100644 index bbaa13d..0000000 Binary files a/.yarn/cache/yargs-npm-11.1.1-ff11785ffb-013be33991.zip and /dev/null differ diff --git a/.yarn/cache/yargs-parser-npm-9.0.2-62f0a207fc-8b183c113d.zip b/.yarn/cache/yargs-parser-npm-9.0.2-62f0a207fc-8b183c113d.zip deleted file mode 100644 index fa59de7..0000000 Binary files a/.yarn/cache/yargs-parser-npm-9.0.2-62f0a207fc-8b183c113d.zip and /dev/null differ diff --git a/.yarnrc.yml b/.yarnrc.yml index 20d1197..4433b3c 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -3,5 +3,6 @@ plugins: spec: "@yarnpkg/plugin-stage" - path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs spec: "@yarnpkg/plugin-workspace-tools" + - path: github-release-binary.js yarnPath: .yarn/releases/yarn-2.3.3.cjs diff --git a/github-release-binary.js b/github-release-binary.js new file mode 100644 index 0000000..daa182d --- /dev/null +++ b/github-release-binary.js @@ -0,0 +1,224 @@ +// Yarn plugin to download binary artifact releases from GitHub and make +// them available on the Yarn CLI. +// +// The plugin implements a Resolver and a Locator that take in dependency +// with reference specification like: +// +// github-release:org/repo:version/binary +// +// e.g. in package.json: +// +// { +// dependencies: { +// 'example-binary': 'github-release:example/binary:1.0/exe' +// } +// } +// +// With that example the `exe` binary can be invoked via `yarn run exe` +// (or shorter `yarn exe`. +// +// The plugin does this by creating a faux package containing the wrapper +// JavaScript file and the binary. So the resulting package can be cached +// in Yarn cache. +// +// There is limited support for template literals, so when needed the +// reference specification can contain an expression within `${...}`. +// +// For example it is possible to specify this dependency: +// +// { +// dependencies: { +// 'example-binary': 'github-release:example/binary:1.0/exe-${process.arch}' +// } +// } +// +// Even though that is possible, it might not be desired in some cases. +// Notably when the expression is platform dependent (such as in the example +// above) the package will be different (e.g. containing binaries for +// different platforms) and the hash of the package will be different from +// the value persisted in Yarn lockfile, and would cause an error. +// +const YARN_FS_VERSION = '2.3.0'; + +const reference_pattern = /^github-release:(?<organization>[^\/]+)\/(?<repository>[^:]+)(?::(?<version>[^\/]+))?\/(?<binary>[^:]+)$/g; + +const supports = (ref) => { + reference_pattern.lastIndex = 0; + return reference_pattern.test(ref); +} + +const parse = (ref) => { + const reference = new Function(`return \`${ref}\`;`).call(); + + reference_pattern.lastIndex = 0; + const parts = [...reference.matchAll(reference_pattern)][0]; + + return { + organization: parts[1], + repository: parts[2], + version: parts[3] || 'latest', + binary: parts[4] + } +} + +module.exports = { + name: `github-release-binary`, + factory: require => { + const util = require('util'); + const { httpUtils, structUtils, LinkType } = require('@yarnpkg/core'); + const { ppath, xfs, ZipFS } = require('@yarnpkg/fslib'); + const { getLibzipPromise } = require('@yarnpkg/libzip'); + + class GitHubReleaseFetcher { + + supports(locator, opts) { + return supports(locator.reference); + } + + getLocalPath(locator, opts) { + return null; + } + + async fetch(locator, opts) { + const expectedChecksum = opts.checksums.get(locator.locatorHash) || null; + + const [packageFs, releaseFs, checksum] = await opts.cache.fetchPackageFromCache(locator, expectedChecksum, { + onHit: () => opts.report.reportCacheHit(locator), + onMiss: () => opts.report.reportCacheMiss(locator, `${structUtils.prettyLocator(opts.project.configuration, locator)} can't be found in the cache and will be fetched from the remote server`), + loader: () => this.fetchFromNetwork(locator, opts), + skipIntegrityCheck: opts.skipIntegrityCheck, + }); + + return { + packageFs, + releaseFs, + prefixPath: structUtils.getIdentVendorPath(locator), + checksum, + }; + } + + async fetchFromNetwork(locator, opts) { + // 1980-01-01, like Fedora + const defaultTime = 315532800; + + const parts = parse(locator.reference); + + const releaseBuffer = await httpUtils.get(`https://github.com/${parts.organization}/${parts.repository}/releases/download/${parts.version}/${parts.binary}`, { + configuration: opts.project.configuration, + }); + + const packageName = ppath.join(locator.scope !== null ? '@' + locator.scope : '', locator.name); + + const tmpDir = xfs.mktempSync(); + + const zipFS = new ZipFS(ppath.join(tmpDir, 'release.zip'), { create: true, libzip: await getLibzipPromise() }); + + zipFS.writeFileSync('package.json', `{ "name": "${packageName}", "dependencies": { "@yarnpkg/fslib": "${YARN_FS_VERSION}" } }`); + zipFS.utimesSync('package.json', defaultTime, defaultTime); + + const dir = ppath.join('node_modules', packageName); + zipFS.mkdirSync(dir, { recursive: true }); + + const stubFile = ppath.join(dir, 'exec.js'); + zipFS.writeFileSync(stubFile, `const { xfs } = require('@yarnpkg/fslib'); +const fs = require('fs'); +const path = require('path'); +const os = require('os'); +const { spawn } = require('child_process'); + +const execute = (path, args) => { + const child = spawn(path, args); + + process.stdin.pipe(child.stdin); + child.stdout.pipe(process.stdout); + child.stderr.pipe(process.stderr); + + child.on('error', err => { process.stderr.write(err + '\\n'); process.exit(1) } ); + child.on('exit', status => process.exit(status)); +} + +(async () => { + const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'github-release-binary')); + process.on('exit', () => { + fs.rmdirSync(tmpDir, { recursive: true }); + }) + + const binary = process.argv[1].replace('exec.js', '${parts.binary}'); + const binaryPath = path.join(tmpDir, '${parts.binary}'); + await xfs.copyFilePromise(binary, binaryPath); + await xfs.chmodPromise(binaryPath, 0o755); + execute(binaryPath, process.argv.slice(2)); +})();`); + zipFS.chmodSync(stubFile, 0o755); + zipFS.utimesSync(stubFile, defaultTime, defaultTime); + + const binaryPath = ppath.join(dir, parts.binary); + zipFS.writeFileSync(binaryPath, releaseBuffer); + zipFS.chmodSync(binaryPath, 0o755); + zipFS.utimesSync(binaryPath, defaultTime, defaultTime); + + xfs.detachTemp(tmpDir); + + return zipFS; + } + + } + + class GitHubReleaseResolver { + + supportsDescriptor(descriptor, opts) { + return supports(descriptor.range); + } + + supportsLocator(locator, opts) { + return supports(locator.reference); + } + + shouldPersistResolution(locator, opts) { + return true; + } + + bindDescriptor(descriptor, fromLocator, opts) { + return descriptor; + } + + getResolutionDependencies(descriptor, opts) { + return []; + } + + async getCandidates(descriptor, dependencies, opts) { + return [structUtils.convertDescriptorToLocator(descriptor)]; + } + + async getSatisfying(descriptor, references, opts) { + return null; + } + + async resolve(locator, opts) { + const parts = parse(locator.reference); + + const fsLibDep = structUtils.makeDescriptor(structUtils.makeIdent('yarnpkg', 'fslib'), YARN_FS_VERSION) + + const dependencies = new Map(); + dependencies.set(fsLibDep.identHash, fsLibDep); + + return { + ...locator, + version: parts.version, + languageName: opts.project.configuration.get(`defaultLanguageName`), + linkType: LinkType.HARD, + dependencies: dependencies, + bin: [ + [ parts.binary, 'exec.js' ] + ] + }; + } + + } + + return { + fetchers: [ GitHubReleaseFetcher ], + resolvers: [ GitHubReleaseResolver ], + } + } +}; diff --git a/package.json b/package.json index a40c17f..0367c8e 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "preview:antora": "antora --clean --fetch antora-playbook.yml", "preview:hugo": "hugo server -D", "check:xref": "antora --generator @antora/xref-validator antora-playbook.yml", - "check:links": "link-checker --disable-external --mkdocs --allow-hash-href public --url-ignore='#top' --url-ignore='/community/mailing-list/'", + "check:links": "deadlinks-linux deadlinks --dir public", "check:html": "html-validate 'public/*/**/*.html' 'public/!(google)*.html'", "checks": "run-s check:xref check:links check:html" }, @@ -29,6 +29,7 @@ "@antora/site-mapper": "3.0.0-alpha.1", "@antora/xref-validator": "https://gitlab.com/antora/xref-validator.git#commit=19bfaf88fc7dd39552cfd8b3ac41c55d6d8f9edd", "@djencks/asciidoctor-antora-indexer": "^0.0.5", + "@zregvart/cargo-deadlinks": "github-release:zregvart/cargo-deadlinks:0.5.0-zregvart/deadlinks-linux", "antora-ui-camel": "workspace:antora-ui-camel", "del": "^6.0.0", "escape-string-regexp": "~2.0", @@ -37,7 +38,6 @@ "gulp-htmlmin": "~5.0", "html-validate": "~3.0", "hugo-extended": "^0.73.0", - "link-checker": "~1.4", "npm-run-all": "~4", "opal-runtime": "1.0.11", "toml": "~3.0" diff --git a/yarn.lock b/yarn.lock index 459c4f8..56444ca 100644 --- a/yarn.lock +++ b/yarn.lock @@ -722,6 +722,13 @@ __metadata: languageName: node linkType: hard +"@types/emscripten@npm:^1.38.0": + version: 1.39.4 + resolution: "@types/emscripten@npm:1.39.4" + checksum: b848421e2597a0ce56b74c6427f843cfd8f26dec8eaaa1929317e9417bc06eaa934057c317cbb561ade2f5462b6906e37868608211e09f9f507dca62066795a8 + languageName: node + linkType: hard + "@types/eslint-visitor-keys@npm:^1.0.0": version: 1.0.0 resolution: "@types/eslint-visitor-keys@npm:1.0.0" @@ -857,6 +864,37 @@ __metadata: languageName: node linkType: hard +"@yarnpkg/fslib@npm:2.3.0": + version: 2.3.0 + resolution: "@yarnpkg/fslib@npm:2.3.0" + dependencies: + "@yarnpkg/libzip": ^2.2.1 + tslib: ^1.13.0 + checksum: 0969bd6b12cb5668f4c544aea080ed13c6196a4954efcddbcbf5629048b69e38e77ad705f20389cbd3ac201ba55ee0fc6aedb844f0bff20b850085c2b85fa2c3 + languageName: node + linkType: hard + +"@yarnpkg/libzip@npm:^2.2.1": + version: 2.2.1 + resolution: "@yarnpkg/libzip@npm:2.2.1" + dependencies: + "@types/emscripten": ^1.38.0 + tslib: ^1.13.0 + checksum: 75813c2dbed76fd81aa7ba04f592888c45c58334c901edf3782105baa9b11e084473db5a3da678626509a7de3196e5297c0a790424e86d6976e916502b576c81 + languageName: node + linkType: hard + +"@zregvart/cargo-deadlinks@github-release:zregvart/cargo-deadlinks:0.5.0-zregvart/deadlinks-linux": + version: 0.5.0-zregvart + resolution: "@zregvart/cargo-deadlinks@github-release:zregvart/cargo-deadlinks:0.5.0-zregvart/deadlinks-linux" + dependencies: + "@yarnpkg/fslib": 2.3.0 + bin: + deadlinks-linux: exec.js + checksum: f6b7be7bd3faf92e034a2884c438071415d2f7bff1094277857d7f2c38f98a512b06610d076d872493ca5409f1a7161fb75de1714dd456615a67c1ae9d39e7ff + languageName: node + linkType: hard + "JSONStream@npm:^1.0.3, JSONStream@npm:^1.3.2": version: 1.3.5 resolution: "JSONStream@npm:1.3.5" @@ -1240,6 +1278,7 @@ __metadata: "@antora/site-mapper": 3.0.0-alpha.1 "@antora/xref-validator": "https://gitlab.com/antora/xref-validator.git#commit=19bfaf88fc7dd39552cfd8b3ac41c55d6d8f9edd" "@djencks/asciidoctor-antora-indexer": ^0.0.5 + "@zregvart/cargo-deadlinks": "github-release:zregvart/cargo-deadlinks:0.5.0-zregvart/deadlinks-linux" antora-ui-camel: "workspace:antora-ui-camel" del: ^6.0.0 escape-string-regexp: ~2.0 @@ -1248,7 +1287,6 @@ __metadata: gulp-htmlmin: ~5.0 html-validate: ~3.0 hugo-extended: ^0.73.0 - link-checker: ~1.4 npm-run-all: ~4 opal-runtime: 1.0.11 toml: ~3.0 @@ -2346,13 +2384,6 @@ __metadata: languageName: node linkType: hard -"camelcase@npm:^4.1.0": - version: 4.1.0 - resolution: "camelcase@npm:4.1.0" - checksum: 6ca41b5114ef3683013fb51cf9a11c60dcfeef90ceb0075c2d77b7455819e2acdcc7fb5c033314f862212acb23056f1774879dfc580938a9a27ecc345856d1a3 - languageName: node - linkType: hard - "camelcase@npm:^5.0.0, camelcase@npm:^5.3.1": version: 5.3.1 resolution: "camelcase@npm:5.3.1" @@ -2508,20 +2539,6 @@ __metadata: languageName: node linkType: hard -"cheerio@npm:^1.0.0-rc.2": - version: 1.0.0-rc.3 - resolution: "cheerio@npm:1.0.0-rc.3" - dependencies: - css-select: ~1.2.0 - dom-serializer: ~0.1.1 - entities: ~1.1.1 - htmlparser2: ^3.9.1 - lodash: ^4.15.0 - parse5: ^3.0.1 - checksum: 142f40a91badc37744a8cb2e14f7cff4e630602e5fd2ddb8b59649898e6974147db56e06f0f024e649816bb181d02a021f0b9f81c6dff7b94e4019c2a4e87bd1 - languageName: node - linkType: hard - "chokidar@npm:^2.0.0": version: 2.1.8 resolution: "chokidar@npm:2.1.8" @@ -2640,17 +2657,6 @@ __metadata: languageName: node linkType: hard -"cliui@npm:^4.0.0": - version: 4.1.0 - resolution: "cliui@npm:4.1.0" - dependencies: - string-width: ^2.1.1 - strip-ansi: ^4.0.0 - wrap-ansi: ^2.0.0 - checksum: 401b0719e79fbe23c008cd9bcd1f0e80792d8b52f563ee0886410c7509ea69584239162234eac6ab38b36c9567764bec536779241ec4c15ca8f9e5fd7cdb7e75 - languageName: node - linkType: hard - "cliui@npm:^5.0.0": version: 5.0.0 resolution: "cliui@npm:5.0.0" @@ -2854,7 +2860,7 @@ __metadata: languageName: node linkType: hard -"commander@npm:^2.15.0, commander@npm:^2.20.0, commander@npm:~2.20.3": +"commander@npm:^2.20.0, commander@npm:~2.20.3": version: 2.20.3 resolution: "commander@npm:2.20.3" checksum: b73428e97de7624323f81ba13f8ed9271de487017432d18b4da3f07cfc528ad754bbd199004bd5d14e0ccd67d1fdfe0ec8dbbd4c438b401df3c4cc387bfd1daa @@ -2891,7 +2897,7 @@ __metadata: languageName: node linkType: hard -"component-emitter@npm:^1.2.0, component-emitter@npm:^1.2.1": +"component-emitter@npm:^1.2.1": version: 1.3.0 resolution: "component-emitter@npm:1.3.0" checksum: fc4edbf1014f0aed88dcec33ca02d2938734e428423f640d8a3f94975615b8e8c506c19e29b93949637c5a281353e75fa79e299e0d57732f42a9fe346cb2cad6 @@ -3032,13 +3038,6 @@ __metadata: languageName: node linkType: hard -"cookiejar@npm:^2.1.0": - version: 2.1.2 - resolution: "cookiejar@npm:2.1.2" - checksum: 4c733c15c190798bc1fb724f3044959cabc1565dee7dfc00f99219c7a4189b21cc243ccab52e0708994923f684189a4afa6b01b6b157f8c99273f1001602ac6f - languageName: node - linkType: hard - "copy-descriptor@npm:^0.1.0": version: 0.1.1 resolution: "copy-descriptor@npm:0.1.1" @@ -3873,7 +3872,7 @@ __metadata: languageName: node linkType: hard -"dom-serializer@npm:~0.1.0, dom-serializer@npm:~0.1.1": +"dom-serializer@npm:~0.1.0": version: 0.1.1 resolution: "dom-serializer@npm:0.1.1" dependencies: @@ -5423,13 +5422,6 @@ __metadata: languageName: node linkType: hard -"foreachasync@npm:^3.0.0": - version: 3.0.0 - resolution: "foreachasync@npm:3.0.0" - checksum: 02d25a451bbbe4430d8ca19a26815fce892574ee524af35001ff6d61c1b9c82396ee21b0cd493580d5f78d2daaf7a61d1ffb7910b9002f72283d9dc1c25b5f7b - languageName: node - linkType: hard - "forever-agent@npm:~0.6.1": version: 0.6.1 resolution: "forever-agent@npm:0.6.1" @@ -5437,17 +5429,6 @@ __metadata: languageName: node linkType: hard -"form-data@npm:^2.3.1": - version: 2.5.1 - resolution: "form-data@npm:2.5.1" - dependencies: - asynckit: ^0.4.0 - combined-stream: ^1.0.6 - mime-types: ^2.1.12 - checksum: c46ee9a14a8678b6e0dfafabc96e25237d9f11ced9c51cd371a2b3448f6a3f2fa684b3bbbb35911bae8f5448b3f3c48c73f7f2be791a4ae5aee0eb0ab3cdfec2 - languageName: node - linkType: hard - "form-data@npm:~2.3.2": version: 2.3.3 resolution: "form-data@npm:2.3.3" @@ -5459,13 +5440,6 @@ __metadata: languageName: node linkType: hard -"formidable@npm:^1.2.0": - version: 1.2.2 - resolution: "formidable@npm:1.2.2" - checksum: 9fe5ef38d5881ac16cc8ca78bd3229fbf32b10e0fd3b718ec20f86ea1de7302aa0ffcfa9a9163cec02fc3f825faf9d0533f24539bb20ae6d73b580b526c25edb - languageName: node - linkType: hard - "fragment-cache@npm:^0.2.1": version: 0.2.1 resolution: "fragment-cache@npm:0.2.1" @@ -6673,7 +6647,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"iconv-lite@npm:^0.4.24, iconv-lite@npm:^0.4.4, iconv-lite@npm:~0.4.11": +"iconv-lite@npm:^0.4.24, iconv-lite@npm:^0.4.4": version: 0.4.24 resolution: "iconv-lite@npm:0.4.24" dependencies: @@ -6992,13 +6966,6 @@ fsevents@^1.2.7: languageName: node linkType: hard -"invert-kv@npm:^2.0.0": - version: 2.0.0 - resolution: "invert-kv@npm:2.0.0" - checksum: 10b0fa3fd436b0340149fdb3c66cc2d1c0746e612fe1b5d356d9f520fd7f5c5f9c39bd9dddf184612ff421738005ad9c3e72386b97fb055c00c983e4ea1bc30d - languageName: node - linkType: hard - "ip-regex@npm:^4.1.0": version: 4.2.0 resolution: "ip-regex@npm:4.2.0" @@ -8027,15 +7994,6 @@ fsevents@^1.2.7: languageName: node linkType: hard -"lcid@npm:^2.0.0": - version: 2.0.0 - resolution: "lcid@npm:2.0.0" - dependencies: - invert-kv: ^2.0.0 - checksum: 147695e053a0193d82eb75d199089e0563fa27773d1d3c8cbec6c7bc16edcb8bc01949a3f2e687b853999711107e9adba2f4dc266bb65f536b8ac50a5eeceaab - languageName: node - linkType: hard - "lead@npm:^1.0.0": version: 1.0.0 resolution: "lead@npm:1.0.0" @@ -8095,27 +8053,6 @@ fsevents@^1.2.7: languageName: node linkType: hard -"link-checker@npm:~1.4": - version: 1.4.1 - resolution: "link-checker@npm:1.4.1" - dependencies: - cheerio: ^1.0.0-rc.2 - commander: ^2.15.0 - debug: ^3.1.0 - mem: ^4.3.0 - mkdirp: ^1.0.4 - ms: ^2.1.2 - rc: ^1.2.8 - superagent: ^3.8.3 - urlencode: ^1.1.0 - walk: ^2.3.9 - yargs: ^11.0.0 - bin: - link-checker: cli - checksum: c523e685644bdaf49a112c022e961fc286d30a38cf0be9c6d18facb5199f275f75998b4c9c63ef160df41a10c0ec06b3d2917626a7c3d6cf1c87141238c6cd39 - languageName: node - linkType: hard - "livereload-js@npm:^2.3.0": version: 2.4.0 resolution: "livereload-js@npm:2.4.0" @@ -8308,13 +8245,6 @@ fsevents@^1.2.7: languageName: node linkType: hard -"lodash@npm:^4.15.0, lodash@npm:^4.17.14, lodash@npm:^4.17.15": - version: 4.17.15 - resolution: "lodash@npm:4.17.15" - checksum: aec3fbb7570aa67bda500b8299b1b1821d60646bede87f76a74dfcc7666ab3445267d734ec71424d70809d52ad67a1356fab5ab694a3faa1908d68e9d48f00f5 - languageName: node - linkType: hard - "lodash@npm:^4.17.11, lodash@npm:^4.17.12, lodash@npm:^4.17.19, lodash@npm:^4.17.4, lodash@npm:^4.8.2": version: 4.17.20 resolution: "lodash@npm:4.17.20" @@ -8322,6 +8252,13 @@ fsevents@^1.2.7: languageName: node linkType: hard +"lodash@npm:^4.17.14, lodash@npm:^4.17.15": + version: 4.17.15 + resolution: "lodash@npm:4.17.15" + checksum: aec3fbb7570aa67bda500b8299b1b1821d60646bede87f76a74dfcc7666ab3445267d734ec71424d70809d52ad67a1356fab5ab694a3faa1908d68e9d48f00f5 + languageName: node + linkType: hard + "log-symbols@npm:^2.2.0": version: 2.2.0 resolution: "log-symbols@npm:2.2.0" @@ -8479,15 +8416,6 @@ fsevents@^1.2.7: languageName: node linkType: hard -"map-age-cleaner@npm:^0.1.1": - version: 0.1.3 - resolution: "map-age-cleaner@npm:0.1.3" - dependencies: - p-defer: ^1.0.0 - checksum: 0f0b8114925d9f9d528c5d5c9cbde83fea203b8edb1cfdb10d31aa2ce1ddccfcefe0bd6924b0d2e3928ff9d895496bf817a22b259fe05f3c4865702e65b71fd3 - languageName: node - linkType: hard - "map-cache@npm:^0.2.0, map-cache@npm:^0.2.2": version: 0.2.2 resolution: "map-cache@npm:0.2.2" @@ -8610,17 +8538,6 @@ fsevents@^1.2.7: languageName: node linkType: hard -"mem@npm:^4.0.0, mem@npm:^4.3.0": - version: 4.3.0 - resolution: "mem@npm:4.3.0" - dependencies: - map-age-cleaner: ^0.1.1 - mimic-fn: ^2.0.0 - p-is-promise: ^2.0.0 - checksum: 3af1ac31ef775c5b23bbc0e078d22324c083822fb6ee1a183595359fc23ef638cf90e8c1e044e5f17c871c6e50dc11db11f1aee112d85dc936e3aa2093acd038 - languageName: node - linkType: hard - "memorystream@npm:^0.3.1": version: 0.3.1 resolution: "memorystream@npm:0.3.1" @@ -8688,13 +8605,6 @@ fsevents@^1.2.7: languageName: node linkType: hard -"methods@npm:^1.1.1": - version: 1.1.2 - resolution: "methods@npm:1.1.2" - checksum: 450e4ea0fd4a0f3de8c0593d753c7d6c8f2ee49766f5ef35c68cc2ac41699d5e295b7d6330fc2b7271b8569a07857e3eb0b5df0599a353c5808265b4b5066168 - languageName: node - linkType: hard - "micromatch@npm:^3.0.4, micromatch@npm:^3.1.10, micromatch@npm:^3.1.4": version: 3.1.10 resolution: "micromatch@npm:3.1.10" @@ -8763,7 +8673,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"mime@npm:1.6.0, mime@npm:^1.4.1": +"mime@npm:1.6.0": version: 1.6.0 resolution: "mime@npm:1.6.0" bin: @@ -8788,7 +8698,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"mimic-fn@npm:^2.0.0, mimic-fn@npm:^2.1.0": +"mimic-fn@npm:^2.1.0": version: 2.1.0 resolution: "mimic-fn@npm:2.1.0" checksum: f7d2d7febe3d7dd71da0700b1d455ec6c951a96b463ffcc303c93771b9fe4e45318152ea677c241505b19b39e41d906e5052cfb382d59a44bdb6d3d57f8b467b @@ -8966,7 +8876,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"mkdirp@npm:^1.0.3, mkdirp@npm:^1.0.4": +"mkdirp@npm:^1.0.3": version: 1.0.4 resolution: "mkdirp@npm:1.0.4" bin: @@ -9021,7 +8931,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"ms@npm:2.1.2, ms@npm:^2.1.1, ms@npm:^2.1.2": +"ms@npm:2.1.2, ms@npm:^2.1.1": version: 2.1.2 resolution: "ms@npm:2.1.2" checksum: 9b65fb709bc30c0c07289dcbdb61ca032acbb9ea5698b55fa62e2cebb04c5953f1876a1f3f7f4bc2e91d4bf4d86003f3e207c3bc6ee2f716f99827e62389cd0e @@ -9700,17 +9610,6 @@ fsevents@^1.2.7: languageName: node linkType: hard -"os-locale@npm:^3.1.0": - version: 3.1.0 - resolution: "os-locale@npm:3.1.0" - dependencies: - execa: ^1.0.0 - lcid: ^2.0.0 - mem: ^4.0.0 - checksum: 50611551f032c5e7d938425263f1379093d6acae3c18448599801ee296fbb63a90460ec68ba26a721240322d6032b592c3a837212af2ca81f0a3104956925f68 - languageName: node - linkType: hard - "os-tmpdir@npm:^1.0.0, os-tmpdir@npm:~1.0.2": version: 1.0.2 resolution: "os-tmpdir@npm:1.0.2" @@ -9749,13 +9648,6 @@ fsevents@^1.2.7: languageName: node linkType: hard -"p-defer@npm:^1.0.0": - version: 1.0.0 - resolution: "p-defer@npm:1.0.0" - checksum: ffaabb161334dd9b471f7136038c9322f5288fdd86e070d75a6c65f1b28893d5ef084d9b94401e285117da65906c2952a96404a45a57ecd010393445ac2b6159 - languageName: node - linkType: hard - "p-event@npm:^1.0.0": version: 1.3.0 resolution: "p-event@npm:1.3.0" @@ -9788,13 +9680,6 @@ fsevents@^1.2.7: languageName: node linkType: hard -"p-is-promise@npm:^2.0.0": - version: 2.1.0 - resolution: "p-is-promise@npm:2.1.0" - checksum: 4a15137df9aebb9f91ea9a5d517bbfbbdcadfb56787f0f17cbc8802fc37a2e84239a7e52d6b27fdc212acd2fd428cc8506bd88f1d7d56720c591d43eed8c1d6e - languageName: node - linkType: hard - "p-limit@npm:^1.1.0": version: 1.3.0 resolution: "p-limit@npm:1.3.0" @@ -10021,15 +9906,6 @@ fsevents@^1.2.7: languageName: node linkType: hard -"parse5@npm:^3.0.1": - version: 3.0.3 - resolution: "parse5@npm:3.0.3" - dependencies: - "@types/node": "*" - checksum: 47086524700bc3f0806e2dec819a93a71684931736393bfb454a0c9fb58861710248f21ad2fc351ce9639e1158db07bca05ac9df79dfaad6eeb3a9a7d9482ec7 - languageName: node - linkType: hard - "parseurl@npm:~1.3.2, parseurl@npm:~1.3.3": version: 1.3.3 resolution: "parseurl@npm:1.3.3" @@ -11015,13 +10891,6 @@ fsevents@^1.2.7: languageName: node linkType: hard -"qs@npm:^6.5.1": - version: 6.9.1 - resolution: "qs@npm:6.9.1" - checksum: acc162048da4faa4cf65544b2bc7f3df35dd167c1796a0ef82c857e77844bb002ce14b678cd9be442ddc31cb8cb71d719c68a460cf11ada63b3e69ca1f70aa3b - languageName: node - linkType: hard - "qs@npm:~6.5.2": version: 6.5.2 resolution: "qs@npm:6.5.2" @@ -11113,7 +10982,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"rc@npm:^1.2.7, rc@npm:^1.2.8": +"rc@npm:^1.2.7": version: 1.2.8 resolution: "rc@npm:1.2.8" dependencies: @@ -12491,7 +12360,7 @@ fsevents@^1.2.7: languageName: node linkType: hard -"string-width@npm:^1.0.2 || 2, string-width@npm:^2.0.0, string-width@npm:^2.1.0, string-width@npm:^2.1.1": +"string-width@npm:^1.0.2 || 2, string-width@npm:^2.1.0": version: 2.1.1 resolution: "string-width@npm:2.1.1" dependencies: @@ -12860,24 +12729,6 @@ fsevents@^1.2.7: languageName: node linkType: hard -"superagent@npm:^3.8.3": - version: 3.8.3 - resolution: "superagent@npm:3.8.3" - dependencies: - component-emitter: ^1.2.0 - cookiejar: ^2.1.0 - debug: ^3.1.0 - extend: ^3.0.0 - form-data: ^2.3.1 - formidable: ^1.2.0 - methods: ^1.1.1 - mime: ^1.4.1 - qs: ^6.5.1 - readable-stream: ^2.3.5 - checksum: 6a2151f7c41356083834ec1d4ba93b9e43b76d1691f7172c01e61c33755967d9f2fa664198988cc8e3de6cee8b63351585ba2d6161cd5e54f26003c818e5d5fc - languageName: node - linkType: hard - "supports-color@npm:^2.0.0": version: 2.0.0 resolution: "supports-color@npm:2.0.0" @@ -13350,6 +13201,13 @@ fsevents@^1.2.7: languageName: node linkType: hard +"tslib@npm:^1.13.0": + version: 1.14.1 + resolution: "tslib@npm:1.14.1" + checksum: f44fe7f216946b17d3e3074df3746372703cf24e9127b4c045511456e8e4bf25515fb0a1bb3937676cc305651c5d4fcb6377b0588a4c6a957e748c4c28905d17 + languageName: node + linkType: hard + "tslib@npm:^1.9.0": version: 1.11.1 resolution: "tslib@npm:1.11.1" @@ -13793,15 +13651,6 @@ typescript@^3.2.1: languageName: node linkType: hard -"urlencode@npm:^1.1.0": - version: 1.1.0 - resolution: "urlencode@npm:1.1.0" - dependencies: - iconv-lite: ~0.4.11 - checksum: 50ecd20a45a5076665aa8607eb0eaf30a0be2382d91c73a024bc4a8153e635c66c31ce3dd1e49135f626981cb92b029b8a19a1ba92e7ee996ae43457496ae41c - languageName: node - linkType: hard - "use@npm:^3.1.0": version: 3.1.1 resolution: "use@npm:3.1.1" @@ -14092,15 +13941,6 @@ typescript@^3.2.1: languageName: node linkType: hard -"walk@npm:^2.3.9": - version: 2.3.14 - resolution: "walk@npm:2.3.14" - dependencies: - foreachasync: ^3.0.0 - checksum: 54b61ebfacda4bc4a1c471c651a703cc212d6f48ec1a04c62f84bfe46f3e84d7b2b854e3195fd050421d4a960e3f94dc2735d4090e77873e8a5f98bb21f33191 - languageName: node - linkType: hard - "websocket-driver@npm:>=0.5.1": version: 0.7.4 resolution: "websocket-driver@npm:0.7.4" @@ -14367,35 +14207,6 @@ typescript@^3.2.1: languageName: node linkType: hard -"yargs-parser@npm:^9.0.2": - version: 9.0.2 - resolution: "yargs-parser@npm:9.0.2" - dependencies: - camelcase: ^4.1.0 - checksum: 8b183c113d6591ee66e43b9a106aa1813f725532aff45608c906acbee5701531462594dd4815c6a99dbf956842d1ca539f4cc64adf990beb4338211d9e1fc84c - languageName: node - linkType: hard - -"yargs@npm:^11.0.0": - version: 11.1.1 - resolution: "yargs@npm:11.1.1" - dependencies: - cliui: ^4.0.0 - decamelize: ^1.1.1 - find-up: ^2.1.0 - get-caller-file: ^1.0.1 - os-locale: ^3.1.0 - require-directory: ^2.1.1 - require-main-filename: ^1.0.1 - set-blocking: ^2.0.0 - string-width: ^2.0.0 - which-module: ^2.0.0 - y18n: ^3.2.1 - yargs-parser: ^9.0.2 - checksum: 013be33991707357c755764ed5e200735f81fa076ea2eea78d3d58ac7e98e6c28ef25feaee011d7e6423cda890a7916a50debe56d97a1a97b5e378c70749e947 - languageName: node - linkType: hard - "yargs@npm:^14.2.3": version: 14.2.3 resolution: "yargs@npm:14.2.3"