From 07b9f5a1522f18e8ebeb4e6f645c08068ae5cb39 Mon Sep 17 00:00:00 2001 From: zemnmez Date: Tue, 24 May 2022 18:39:12 -0700 Subject: [PATCH] Revert "svgshot (#125)" This reverts commit ee2c37f2ae01414c05c6c89ea439546a5da178df. --- bzl/deps.bzl | 11 +- cc/inkscape/BUILD | 17 - cc/inkscape/run.sh | 15 - js/jest/rules.bzl | 6 +- package.json | 8 - ts/cmd/svgshot/BUILD | 43 -- ts/cmd/svgshot/README.md | 87 --- ts/cmd/svgshot/Twitch.svg | 1 - .../Wikipedia__the_free_encyclopedia.svg | 1 - ts/cmd/svgshot/dist/index.js | 147 ---- ts/cmd/svgshot/examples/Apple.svg | 1 - ts/cmd/svgshot/examples/Hacker_News.svg | 1 - ts/cmd/svgshot/examples/Home_-_BBC_News.svg | 1 - .../examples/Music_for_everyone_-_Spotify.svg | 1 - ...rebii_net_-_Where_Legends_Come_To_Life.svg | 1 - ...velopers_Learn__Share____Build_Careers.svg | 1 - ts/cmd/svgshot/examples/Twitch.svg | 1 - .../examples/Where_work_happens___Slack.svg | 1 - .../Wikipedia__the_free_encyclopedia.svg | 1 - ts/cmd/svgshot/examples/YouTube.svg | 1 - .../examples/______zemnmez__on_Twitter.svg | 1 - ts/cmd/svgshot/index.ts | 10 - ts/cmd/svgshot/lib.ts | 243 ------- ts/cmd/svgshot/svgshot_test.ts | 50 -- yarn.lock | 645 +----------------- 25 files changed, 18 insertions(+), 1277 deletions(-) delete mode 100644 cc/inkscape/BUILD delete mode 100755 cc/inkscape/run.sh delete mode 100644 ts/cmd/svgshot/BUILD delete mode 100644 ts/cmd/svgshot/README.md delete mode 100644 ts/cmd/svgshot/Twitch.svg delete mode 100644 ts/cmd/svgshot/Wikipedia__the_free_encyclopedia.svg delete mode 100644 ts/cmd/svgshot/dist/index.js delete mode 100644 ts/cmd/svgshot/examples/Apple.svg delete mode 100644 ts/cmd/svgshot/examples/Hacker_News.svg delete mode 100644 ts/cmd/svgshot/examples/Home_-_BBC_News.svg delete mode 100644 ts/cmd/svgshot/examples/Music_for_everyone_-_Spotify.svg delete mode 100644 ts/cmd/svgshot/examples/Serebii_net_-_Where_Legends_Come_To_Life.svg delete mode 100644 ts/cmd/svgshot/examples/Stack_Overflow_-_Where_Developers_Learn__Share____Build_Careers.svg delete mode 100644 ts/cmd/svgshot/examples/Twitch.svg delete mode 100644 ts/cmd/svgshot/examples/Where_work_happens___Slack.svg delete mode 100644 ts/cmd/svgshot/examples/Wikipedia__the_free_encyclopedia.svg delete mode 100644 ts/cmd/svgshot/examples/YouTube.svg delete mode 100644 ts/cmd/svgshot/examples/______zemnmez__on_Twitter.svg delete mode 100644 ts/cmd/svgshot/index.ts delete mode 100644 ts/cmd/svgshot/lib.ts delete mode 100644 ts/cmd/svgshot/svgshot_test.ts diff --git a/bzl/deps.bzl b/bzl/deps.bzl index 18bde9daaa..95d9ec4091 100644 --- a/bzl/deps.bzl +++ b/bzl/deps.bzl @@ -4,7 +4,8 @@ # Install the nodejs "bootstrap" package # This provides the basic tools for running and packaging nodejs programs in Bazel -load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file") +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") +load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") def fetch_dependencies(): http_archive( @@ -109,14 +110,6 @@ def fetch_dependencies(): ], ) - http_file( - name = "inkscape_linux", - sha256 = "b7a99b6c0ee2817706e77803643f4a6caf9e35bdec928e963c1d2ae86e5e4beb", - urls = ["https://inkscape.org/es/gallery/item/31669/Inkscape-0a00cf5-x86_64.AppImage"], - executable = True, - downloaded_file_path = "bin", - ) - http_archive( name = "pulumi_cli", sha256 = "c0e4b0ef05dcc96f2ccd7065afc8e3d6b3b63054fd9978f271a88862664d1547", diff --git a/cc/inkscape/BUILD b/cc/inkscape/BUILD deleted file mode 100644 index d55ab0d3cf..0000000000 --- a/cc/inkscape/BUILD +++ /dev/null @@ -1,17 +0,0 @@ -alias( - name = "app_image", - actual = "@inkscape_linux//file:bin", - visibility = ["//:__subpackages__"], -) - -# Required to bypass FUSE restrictions on bazel. -sh_binary( - name = "bin", - srcs = ["run.sh"], - data = [":app_image"], - env = {"APP_IMAGE": "$(location :app_image)"}, - visibility = [ - "//ts/cmd/svgshot:__subpackages__", - ], - deps = ["@bazel_tools//tools/bash/runfiles"], -) diff --git a/cc/inkscape/run.sh b/cc/inkscape/run.sh deleted file mode 100755 index 1192229db6..0000000000 --- a/cc/inkscape/run.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env bash - -# --- begin runfiles.bash initialization v2 --- -# Copy-pasted from the Bazel Bash runfiles library v2. -set -uo pipefail; f=bazel_tools/tools/bash/runfiles/runfiles.bash -source "${RUNFILES_DIR:-/dev/null}/$f" 2>/dev/null || \ -source "$(grep -sm1 "^$f " "${RUNFILES_MANIFEST_FILE:-/dev/null}" | cut -f2- -d' ')" 2>/dev/null || \ -source "$0.runfiles/$f" 2>/dev/null || \ -source "$(grep -sm1 "^$f " "$0.runfiles_manifest" | cut -f2- -d' ')" 2>/dev/null || \ -source "$(grep -sm1 "^$f " "$0.exe.runfiles_manifest" | cut -f2- -d' ')" 2>/dev/null || \ -{ echo>&2 "ERROR: cannot find $f"; exit 1; }; f=; set -e -# --- end runfiles.bash initialization v2 --- - -# bypasses FUSE issues on bazel https://github.com/AppImage/AppImageKit/pull/842 -$(rlocation inkscape_linux/file/bin) --appimage-extract-and-run $@ diff --git a/js/jest/rules.bzl b/js/jest/rules.bzl index 4d906fde80..1761f64638 100644 --- a/js/jest/rules.bzl +++ b/js/jest/rules.bzl @@ -2,21 +2,19 @@ load("@npm//jest-cli:index.bzl", "jest", _jest_test = "jest_test") -def jest_test(name, srcs, data = [], deps = [], jest_config = "//:jest.ts.config.js", link_workspace_root = True, **kwargs): +def jest_test(name, srcs, deps = [], jest_config = "//:jest.ts.config.js", link_workspace_root = True, **kwargs): "A macro around the autogenerated jest_test rule" templated_args = [ "--no-cache", "--no-watchman", "--ci", "--colors", - "--forceExit", ] templated_args.extend(["--config", "$(rootpath %s)" % jest_config]) for src in srcs: templated_args.extend(["--runTestsByPath", "$(rootpath %s)" % src]) - data = [jest_config] + data + srcs + deps + ["//js/jest:jest_reporter_js"] - + data = [jest_config] + srcs + deps + ["//js/jest:jest_reporter_js"] _jest_test( name = name, data = data, diff --git a/package.json b/package.json index 94a995ecf5..5658830743 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,6 @@ "@bazel/buildozer": "^5.1.0", "@bazel/esbuild": "^4.5.0", "@bazel/ibazel": "latest", - "@bazel/runfiles": "^5.4.2", "@bazel/typescript": "^4.5.0", "@fortawesome/fontawesome-svg-core": "^6.1.1", "@fortawesome/free-solid-svg-icons": "^6.1.1", @@ -27,9 +26,6 @@ "@types/node": "^17.0.35", "@types/react": "17.0.37", "@types/react-dom": "^17.0.11", - "@types/svgo": "^2.6.3", - "@types/tmp": "^0.2.3", - "commander": "^9.2.0", "@types/uuid": "^8.3.4", "@typescript-eslint/eslint-plugin": "^5.26.0", "@typescript-eslint/parser": "^5.26.0", @@ -44,15 +40,11 @@ "eslint-config-next": "12.1.6", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.0.0", - "grunt-cli": "^1.4.3", "http-server": "^14.1.0", "jest-cli": "^27.4.5", "jsdom": "^19.0.0", "mime": "^3.0.0", "module-alias": "^2.2.2", - "puppeteer": "^13.7.0", - "svgo": "^2.8.0", - "tmp": "^0.2.1", "prettier": "^2.6.2", "react-router": "^6.3.0", "react-router-dom": "^6.3.0", diff --git a/ts/cmd/svgshot/BUILD b/ts/cmd/svgshot/BUILD deleted file mode 100644 index f3d3666ecd..0000000000 --- a/ts/cmd/svgshot/BUILD +++ /dev/null @@ -1,43 +0,0 @@ -load("//:rules.bzl", "jest_test", "nodejs_binary", "ts_project") - -ts_project( - name = "project", - srcs = [ - "index.ts", - "lib.ts", - "svgshot_test.ts", - ], - deps = [ - "@npm//@bazel/runfiles", - "@npm//@types/jest", - "@npm//@types/node", - "@npm//@types/svgo", - "@npm//@types/tmp", - "@npm//commander", - "@npm//puppeteer", - "@npm//svgo", - "@npm//tmp", - ], -) - -nodejs_binary( - name = "svgshot", - args = [ - "--inkscapeBin", - "$(location //cc/inkscape:bin)", - ], - data = [ - ":project_ts", - "//cc/inkscape:bin", - ], - entry_point = "index.ts", -) - -jest_test( - name = "tests", - srcs = ["svgshot_test.js"], - data = [ - "//cc/inkscape:bin", - ], - project_deps = [":project"], -) diff --git a/ts/cmd/svgshot/README.md b/ts/cmd/svgshot/README.md deleted file mode 100644 index 1424ca9d0f..0000000000 --- a/ts/cmd/svgshot/README.md +++ /dev/null @@ -1,87 +0,0 @@ -svgshot -============================================================================= -[svgshot]: #svgshot - -Svgshot takes 'screenshots' of webpages as minmised SVGs. This makes them -great for rendering in videos or webpages. - - -Example ------------------------------------------------------------------------------ -[Example]: #example - - -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bash -svgshot https://en.wikipedia.org -# loading https://en.wikipedia.org -# writing Wikipedia__the_free_encyclopedia.svg -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -[Wikipedia SVG]: ./Wikipedia__the_free_encyclopedia.svg -![Wikipedia SVG] - -With `--block` for removing text¹: - -[Twitch SVG]: ./Twitch.svg -![Twitch SVG] - -[Examples directory]: ./examples -For more examples, take a look at the [Examples directory]. - -[BLOKK font]: http://www.blokkfont.com/ - -¹ Orginally this was intended to block out text like the [BLOKK font], but -I couldn't do this without creating truly huge SVGs. If you have any ideas -as to how this could be achieved, let me know! - -Installation ------------------------------------------------------------------------------ -[Installation]: #Installation - -With node and `inkscape` installed: -```bash -npm install -g svgshot -``` - -If you don't have `inkscape` installed on windows, try `scoop`: -```powershell -scoop install inkscape -``` - -For temporary usage you might want to use `npx`: -```bash -npx svgshot https://en.wikipedia.org -``` - -TODO ------------------------------------------------------------------------------ -Replace SVG dimensions with viewBox so they dont get weirdly warped when -rendered at the wrong size: -https://gist.github.com/fyrebase/4604f540bc4a329ff3bfde225775d39e - -License ------------------------------------------------------------------------------ -[License]: #license - - -MIT License - -Copyright (c) 2019 Zemnmez - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/ts/cmd/svgshot/Twitch.svg b/ts/cmd/svgshot/Twitch.svg deleted file mode 100644 index 778a5ef7dc..0000000000 --- a/ts/cmd/svgshot/Twitch.svg +++ /dev/null @@ -1 +0,0 @@ -Recommendedlive channelsPro Fonite Player on Solos! (Code NickEh30) #EpicPanerNickEh30FoniteEnglishFamily FriendlyMultiplayerLIVE8.5K viewersyup (@timthetatman) for when i'm liveTimTheTatmanJust ChaingEnglishLIVE10.4K viewersSamoraSamora & Games: Frontpage @5PM // follow me on myInstagram @cherrysamoraPlayingDragon Ball Z: Kakarotfor 7,553 viewersEnglishThis video is either unavailable or not suppoed in this browser. (Error #4000)LIVELog InSign UpWe value your privacy.Twitch and our paners use technologies such ascookieson our site to personalize content, deliver interest-based ("personalized") adveising, and analyze user activity. SeeourPrivacy Policyto read more. By continuing to use the site you consent to the use of these technologies. Twitch also engages in 3rd-pay personalized ad activities tosuppo our services and to provide more relevant ad experiences. By clicking "Accept", you consent to this activity. To learn more, or to decline consent for this activity, click"Manage Preferences".Manage PreferencesAccept \ No newline at end of file diff --git a/ts/cmd/svgshot/Wikipedia__the_free_encyclopedia.svg b/ts/cmd/svgshot/Wikipedia__the_free_encyclopedia.svg deleted file mode 100644 index 2909eb40d0..0000000000 --- a/ts/cmd/svgshot/Wikipedia__the_free_encyclopedia.svg +++ /dev/null @@ -1 +0,0 @@ -Photograph your local culture, helpWikipedia and win!Kasey KahneHuer's HutHarvey WeinsteinFrom today's featured articleThe2006 Bank of America 500was the 31ststock car raceof the2006 NASCAR NextelCup Seriesand the fifth in the ten-raceseason-endingChase for the Nextel Cup. Itwas held on October 14, 2006, before a crowdof 175,000 inConcord, North Carolina, atLowe's Motor Speedway. The 334-lap racewas won byKasey Kahne(pictured)of theEvernham Motorsportsteam, who started fromsecond position.Jimmie Johnsonfinished second andJeff Burtonwas third. There were 10cautionsand 34 lead changes. The victorywas Kahne's sixth of the season, and the seventh since hisNASCAR debutin 2004. After the race Burton maintained his leadin theDrivers' Championship, which increased to 45 points over hisnearest rivalMatt Kenseth. Kahne's victory moved him from ninth toeighth, whileJeff Gordondropped to tenth.Chevroletmaintained itslead in theManufacturers' Championshipwith five races left in theseason. (Full article...)Recently featured:Clare Stevenson·Rainbow pitta·Valley View(Romney, West Virginia)Archive·By email·More featured articlesDid you know ...... that a lookout known as ahuerwould be posted to theHuer's Hut(pictured)inNewquay, Cornwall, towatch for the arrival ofpilchards?In the newsAmerican former film producerHarvey Weinstein(pictured)isconvictedof two felonysexcrimes.ShootingsinHanau,Germany, leave eleven peopledead and five others wounded.TheIrish general electionconcludes with no partyholding a majority of seats inDáil Éireann.South Korean filmParasitewinsfour AcademyAwards, includingBest PictureandBest DirectorforBong Joon-ho.Ongoing:Coronavirus outbreakRecent deaths:Katherine Johnson·Thích Quảng Độ·B. Smith·Mike Hughes·Hisashi Katsuta·LiselMuellerNominate an articleOn this dayFebruary 25:Shrove Tuesday/Mardi Gras(WesternChristianity, 2020);Soviet Occupation Dayin Georgia(1921);National DayinKuwait(1961)628Khosrow II, the last great king of theSasanian Empire, was overthrown by his sonKavad II.1870– MississippisenatorHiram Rhodes Revels(pictured)became thefirst African Americanto beseated in theU.S. Congress.Welcome toWikipedia,thefreeencyclopediathatanyone can edit.6,020,866articles inEnglishArtsBiographyGeographyHistoryMathematicsScienceSocietyTechnologyAll portalsMain PageTalkReadView sourceView historySearch WikipediaMain pageContentsFeatured contentCurrent eventsRandom articleDonate to WikipediaWikipedia storeInteractionHelpAbout WikipediaCommunity portalRecent changesContact pageToolsWhat links hereRelated changesUpload fileSpecial pagesPermanent linkPage informationWikidata itemIn other projectsWikimedia CommonsMediaWikiMeta-WikiWikispeciesWikibooksWikidataWikimaniaWikinewsWikiquoteWikisourceWikiversityWikivoyageWiktionaryPrint/exportDownload as PDFPrintable versionNot logged inTalkContributionsCreate accountLog in \ No newline at end of file diff --git a/ts/cmd/svgshot/dist/index.js b/ts/cmd/svgshot/dist/index.js deleted file mode 100644 index d53bdc2336..0000000000 --- a/ts/cmd/svgshot/dist/index.js +++ /dev/null @@ -1,147 +0,0 @@ -#!/usr/bin/env node -"use strict"; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; - result["default"] = mod; - return result; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -const puppeteer_1 = __importDefault(require("puppeteer")); -const tmp = __importStar(require("tmp")); -const child_process_1 = require("child_process"); -const svgo_1 = __importDefault(require("svgo")); -const fs_1 = require("fs"); -const util_1 = require("util"); -const svgoPlugins = [{ cleanupAttrs: true, }, { removeDoctype: true, }, { removeXMLProcInst: true, }, { removeComments: true, }, { removeMetadata: true, }, { removeTitle: true, }, { removeDesc: true, }, { removeUselessDefs: true, }, { removeEditorsNSData: true, }, { removeEmptyAttrs: true, }, { removeHiddenElems: true, }, { removeEmptyText: true, }, { removeEmptyContainers: true, }, { removeViewBox: false, }, { cleanupEnableBackground: true, }, { convertColors: true, }, { convertPathData: true, }, { convertTransform: true, }, { removeUnknownsAndDefaults: true, }, { removeNonInheritableGroupAttrs: true, }, { removeUselessStrokeAndFill: true, }, { removeUnusedNS: true, }, { cleanupIDs: true, }, { cleanupNumericValues: true, }, { moveElemsAttrsToGroup: true, }, { moveGroupAttrsToElems: true, }, { collapseGroups: true, }, { removeRasterImages: false, }, { mergePaths: true, }, { convertShapeToPath: true, }, { sortAttrs: true, }]; -const program = require('commander'); -program - .name("svgshot") - .usage("") - .description('take svg screenshots of webpages. requires the inkscape cli tool') - .option('-s, --scale ', 'scale of the render. must be between 1 and 2', 1) - .option('--no-background', 'do not render backgounds') - .option('--width ', 'Width; using px, mm or in (as though printed)', '1000px') - .option('--height ', 'Height; using px, mm or in (as though printed)', '1000px') - .option('--media ', 'CSS @page media', 'screen') - .option('--timeout ', 'Maximum time to wait for page to become idle before taking screenshot', 10000) - .option('--throttle ', 'Maximum number of pages to load at once. set to `1` for sequential operation', 10) - .option('--block', "make text invisible for presentation (it's still in the file though)", false) - .option('--headful', "run in a visible chromium instance (useful for debugging). also implicitly retains the chromium instance", false); -program.parse(process.argv); -const { background, width, height, media, scale, timeout, throttle: throttleN, block, headful } = program; -const args = program.args; -const isValidMedia = (s) => s == "screen" || s == "print"; -if (!isValidMedia(media)) - throw new Error(`invalid media type ${media}; must be "screen" or "print"`); -const map = async function* (f, iter) { - let n = 0; - for await (let value of iter) - yield (await f)(value, n++); -}; -const chunk = (size) => (iter) => (async function* () { - let bucket = []; - for await (let value of iter) { - bucket.push(value); - if (bucket.length == await size) { - yield bucket; - bucket = []; - } - } -})(); -const EventuallyIterable = async function* (I) { - for await (let value of I) - yield await value; -}; -/** perform a promise iterator lazily in chunks */ -const chunkedPromise = (N) => (I) => map(v => Promise.all(v), chunk(N)(I)); -; -const flat = async function* (I) { - for await (let chunk of I) - for await (let member of chunk) - yield member; -}; -/** lazily completes the given async iterable in chunks of given size */ -const throttle = N => I => flat(EventuallyIterable(chunkedPromise(N)(I))); -const main = async () => { - const browser = await puppeteer_1.default.launch({ - headless: !headful, - args: ['--no-sandbox', '--disable-setuid-sandbox', '--disable-dev-shm-usage', '--disable-gpu'] // unfortunate, but needed to work with wsl... - }); - const captures = map(async (url, i) => { - console.warn("loading", url); - const loading = setInterval(() => { - console.warn("still loading", url); - }, timeout / 2); - const page = await browser.newPage(); - try { - await page.goto(url, { - waitUntil: 'networkidle2', - timeout - }); - } - catch (e) { - // if the network doesn't go idle, we still take the screenshot - } - clearInterval(loading); - if (block) { - const loading = setInterval(() => { - console.warn("waiting for injected style...", url); - }, timeout / 2); - await page.evaluate(() => { - const s = document.createElement("style"); - s.innerHTML = `* { color: transparent !important }`; - document.head.appendChild(s); - /* - const d = window.document; - const y = d.createTreeWalker(d.body, 4); - for(;y.nextNode();y.currentNode.textContent=y.currentNode!.textContent!.replace(/\S/g, '…')); - */ - }); - clearInterval(loading); - } - await page.emulateMediaType(media); - const pdf = await page.pdf({ - scale: scale, - printBackground: background, - width: width, - height: height, - margin: { top: 0, right: 0, left: 0, bottom: 0 } - }); - const [pdfFile, svgFile] = await Promise.all(['.pdf', '.svg'].map(async (extension) => { - return new Promise((ok, err) => { - tmp.file({ postfix: extension }, (error, path) => { - if (error) - return err(error); - return ok(path); - }); - }); - })); - await util_1.promisify(fs_1.writeFile)(pdfFile, pdf); - const line = `inkscape --without-gui ${pdfFile} --export-plain-svg ${svgFile}`; - try { - await util_1.promisify(child_process_1.exec)(line); - } - catch (e) { - throw new Error(`failed to run ${line} with ${e} -- make sure you have inkscape installed and in your PATH`); - } - const svgo = new svgo_1.default({ - plugins: svgoPlugins - }); - const title = ((await page.title()).trim() || page.url()).replace(/[^A-z_-]/g, "_"); - const fileName = title + ".svg"; - const svgContents = await util_1.promisify(fs_1.readFile)(svgFile, 'utf8'); - const optimSvg = await svgo.optimize(svgContents.toString(), { path: svgFile }); - console.warn(`writing ${i + 1}/${args.length} ${fileName} (${width} x ${height})`); - await util_1.promisify(fs_1.writeFile)(fileName, optimSvg.data); - }, args); - for await (let _ of throttle(throttleN)(captures)) - ; - if (!headful) - await browser.close(); -}; -main().catch(e => { console.error(e); process.exit(1); }).then(() => process.exit(0)); diff --git a/ts/cmd/svgshot/examples/Apple.svg b/ts/cmd/svgshot/examples/Apple.svg deleted file mode 100644 index 952ff29e27..0000000000 --- a/ts/cmd/svgshot/examples/Apple.svg +++ /dev/null @@ -1 +0,0 @@ -From $24.95/mo. or $599 with trade-in.iPhone 11 ProPro cameras. Pro display. Pro performance.1Learn moreBuyMake someoneʼs holiday.Shop giftsChoose another country or region to see content specific to your location and shop online.UKContinue \ No newline at end of file diff --git a/ts/cmd/svgshot/examples/Hacker_News.svg b/ts/cmd/svgshot/examples/Hacker_News.svg deleted file mode 100644 index 0535ac5138..0000000000 --- a/ts/cmd/svgshot/examples/Hacker_News.svg +++ /dev/null @@ -1 +0,0 @@ -Hacker Newsnew|past|comments|ask|show|jobs|submitlogin1.I ditched Google for DuckDuckGo. Here's why you should too(wired.co.uk)44 pointsbydsr1250 minutes ago|hide|2 comments2.Hard Problems in Cryptocurrency: Five Years Later(vitalik.ca)303 pointsbyfeross12 hours ago|hide|208 comments3.CUDA Toolkit Release Notes(nvidia.com)123 pointsbysergiomattei9 hours ago|hide|79 comments4.The Web Began Dying in 2014 (2017)(staltz.com)198 pointsbypcr91030311 hours ago|hide|118 comments5.Can gaming become the happy-hour for remote teams?(fpetra.dev)24 pointsbylinhub4 hours ago|hide|27 comments6.CDuce: XML-oriented functional language(cduce.org)11 pointsbymucholove3 hours ago|hide|1 comment7.Cryptoqueen: A woman scammed the world, then vanished(bbc.co.uk)168 pointsbylnguyen11 hours ago|hide|66 comments8.The Bus Ticket Theory of Genius(paulgraham.com)923 pointsbypilingual1 day ago|hide|428 comments9.Jslinux (2018)(bellard.org)173 pointsbypmoriarty14 hours ago|hide|23 comments10.On Becoming One (Collective Consciousness and the Fermi Paradox)(medium.com)15 pointsbyurb49 minutes ago|hide|7 comments11.Clojure-flavored WASM's text format(github.com)58 pointsbytosh8 hours ago|hide|15 comments12.TikTok: Cheerfulness and censorship(netzpolitik.org)124 pointsbyloose117 hours ago|hide|80 comments13.Ask HN: How do I understand the results of my job search?117 pointsbydefinitegrunt13 hours ago|hide|105 comments14.KiCad Joins Linux Foundation to Advance Electronic Design Automation(linuxfoundation.org)70 pointsbypaddi915 hours ago|hide|6 comments15.Reinvigorating the most important battle in economics(palladiummag.com)12 pointsbyignored4 hours ago|hide|1 comment16.Save .org(savedotorg.org)1999 pointsbyjaden1 day ago|hide|292 comments17.Makesite.py – Simple, lightweight, and magic-free static site/blog generator(github.com)10 pointsbystaticwebdev33 minutes ago|hide|discuss18.My experience being a solo maintainer of open-source software in academia(pgbovine.net)79 pointsbyfanf216 hours ago|hide|14 comments19.Japanese hotel room costs $1 a night, but you have to livestream your stay(cnn.com)165 pointsbyherendin212 hours ago|hide|145 comments20.Show HN: Hacker News Title Edit Tracker(hackernewstitles.netlify.com)319 pointsbypetercooper17 hours ago|hide|65 comments21.Historians Find Another Spy in the U.S. Atomic Bomb Project(nytimes.com)111 pointsbyNN889 hours ago|hide|91 comments22.Programming with Effects(matfournier.com)28 pointsbyluu9 hours ago|hide|7 comments23.The Hidden Life of an Amazon User(janavirgin.com) \ No newline at end of file diff --git a/ts/cmd/svgshot/examples/Home_-_BBC_News.svg b/ts/cmd/svgshot/examples/Home_-_BBC_News.svg deleted file mode 100644 index a12d0077aa..0000000000 --- a/ts/cmd/svgshot/examples/Home_-_BBC_News.svg +++ /dev/null @@ -1 +0,0 @@ -We've updated ourPrivacy and CookiesPolicyWe've made some important changes to our Privacy and Cookies Policy and we wantyou to know what this means for you and your data.OKFind out what's changedHomeUKWorldBusinessElection 2019TechScienceHealthFamily & EducationMoreEnglandN. IrelandScotlandAlbaWalesCymruLocal NewsTory manifesto to 'forge a new Britain' -JohnsonBoris Johnson promises to unite the country bygetting Brexit done and to train 50,000 newnurses.Girl, 13, among 'machete' brawl cinemaarrestsFootage from inside Star City appears to showdisorder breaking out and people on the floorscreaming.Labour pledges payouts to pension agerise womenThe party says the compensation, which couldcost up to £58bn, will right an "historic injustice".LIVEBoris Johnsonlaunches Tory manifestoThe PM promises to "get Brexit done," 50,000new nurses by 2023 and no increases in incometax and VAT rates.Election 2019A really simple guide to general electionWhat does 'Get Brexit done' mean?NewsSportWeatheriPlayerSoundsSearchMore \ No newline at end of file diff --git a/ts/cmd/svgshot/examples/Music_for_everyone_-_Spotify.svg b/ts/cmd/svgshot/examples/Music_for_everyone_-_Spotify.svg deleted file mode 100644 index da2f303857..0000000000 --- a/ts/cmd/svgshot/examples/Music_for_everyone_-_Spotify.svg +++ /dev/null @@ -1 +0,0 @@ -We andour partnersuse cookies to personalize your experience, to show you ads based on your interests, and for measurement and analytics purposes. By using ourwebsite and our services, you agree to our use of cookies as described in ourCookie Policy.Music for everyone.Millions of songs. No credit card needed.GET SPOTIFY FREE \ No newline at end of file diff --git a/ts/cmd/svgshot/examples/Serebii_net_-_Where_Legends_Come_To_Life.svg b/ts/cmd/svgshot/examples/Serebii_net_-_Where_Legends_Come_To_Life.svg deleted file mode 100644 index 1a923954a9..0000000000 --- a/ts/cmd/svgshot/examples/Serebii_net_-_Where_Legends_Come_To_Life.svg +++ /dev/null @@ -1 +0,0 @@ -Squarespace Website BuilderMake and manage your own professional website withSquarespace's all-in-one platform.OPENSunday: Pokémon Sword & Shield Coverage Day 11 + Pokémon GO Team GO Rocket + Pokémon -Episode Pictures + Pokémon of the Week24-11-2019 07:43 GMT / 02:43 ESTbySerebiiBe sure to check yesterday's update.This update will be amended throughout the day so be sure to check back. If you have any ideas for the site, be sure to send them inLast Update:14:17 GMTEdit @ 10;20: Episode Pictures | Edit @ 13:00: Pokémon of the WeekIn The Games DepartmentPokémon Sword & Shield Coverage Day 11Pokémon Sword & Shield have been out for a few days now. As such, our usual discoveries are in progress.If youwant to remain unspoiled, do not click the spoiler tag, nor visit the Sword & Shield section until youhave your game. Don't worry as blatant spoilers will NOT be on the home page.OurSword & Shieldpage and ourPokédexare all continually being added toEdit @ 07:42: Updated theMax Raid Battles Sectionto start to include a list of moves that won't work only in MaxRaid BattlesEdit @ 13:17: Updated theStatus Game Mechanics SectionEdit @ 13:39: Updated theGigantamax Sectionto list off the location in the list rather than needing you to go tothe Pokémon's page Edit @ 14:17: Updated theAbilitydexandPokédexwith in-depth details of the new abilitiesIn The Games DepartmentPokémon GOToday is the Team GO Rocket Takeover event in Pokémon GO. From 11am to 1pm local time, all PokéStops will betaken over by Team GO Rocket and some unique field research will run. This research will be Defeat a Team GORocket Grunt for Ekans, Koffing or Meowth, Defeat 3 Team GO Rocket Grunts for Purrloin, Skorupi or Stardust orDefeat a Team GO Rocket Leader for Rare CandyIn The Anime DepartmentPokémon (2019) - Episode PicturesAs usual, we have done pictures from the episode that aired in Japan today. This episode features Ash and Oakvisit the new laboratory opening in Vermilion City, only for a Legendary Pokémon to appear. TheAniméDexhasbeen updated with thecontents of thisepisodepage. Click the picture to go to the gallery but be warned howeveras they contain spoilers.In The Pokémon of the Week DepartmentSearch Serebii.net...Affordable 50+ Life Cover50-85? You’re accepted – guaranteedOPENAdverts help us keep goingWe and carefullyselected partners(third parties) are using cookies to access and storeinformation on your device, eg. cookie and device IDs, and information about your possibleinterests. At any time you may withdraw or change your consent with theManage CookieSettingslink in our privacy policy. With consent our partners can collect and process yourdata to show you personalised content and ads, and the following purposes may be used toimprove your experience:Information storage andaccessPersonalisationAd selection, delivery, reportingContent selection, delivery,reportingMeasurementSETTINGSI ACCEPT \ No newline at end of file diff --git a/ts/cmd/svgshot/examples/Stack_Overflow_-_Where_Developers_Learn__Share____Build_Careers.svg b/ts/cmd/svgshot/examples/Stack_Overflow_-_Where_Developers_Learn__Share____Build_Careers.svg deleted file mode 100644 index 8cc0acae87..0000000000 --- a/ts/cmd/svgshot/examples/Stack_Overflow_-_Where_Developers_Learn__Share____Build_Careers.svg +++ /dev/null @@ -1 +0,0 @@ -For developers, by developersStack Overflow is anopen communityfor anyone that codes. We helpyou get answers to your toughest coding questions, share knowledgewith your coworkers in private, and find your next dream job.Public Q&AhWe<3people who codeWe build products that empower developersand connect them to solutions that enableproductivity, growth, and discovery.For developersFor businessesBy using our site, you acknowledge that you have read and understand ourCookie Policy,Privacy Policy, and ourTerms of Service.ProductsLog inSign up \ No newline at end of file diff --git a/ts/cmd/svgshot/examples/Twitch.svg b/ts/cmd/svgshot/examples/Twitch.svg deleted file mode 100644 index d3cef14caa..0000000000 --- a/ts/cmd/svgshot/examples/Twitch.svg +++ /dev/null @@ -1 +0,0 @@ -Recommendedlive channelsFUT Champions Cup Stage II I Finals Day | November 24 | XEASPORTSFIFAFIFA 20EnglishLIVE72.9K viewersSUB 2 BATESON! FIFA 20bateson87FIFA 20EnglishCompetitiveSoccerLIVE3.3K viewersShow moreHoliwhirl[DROPS ENABLED] 4.3k peak Baptiste main !drops !frontpagePlayingOverwatchfor 2,976 viewersEnglishRole: SuppoThis video is either unavailable or not suppoed in this browser. (Error #4000)LIVELog InSign UpTwitch and our paners use technologies such ascookieson our site to personalize content, deliver interest-based ("personalized") adveising, and analyze user activity. SeeourPrivacy Policyto read more. By continuing to use the site you consent to the use of these technologies. Twitch also engages in 3rd-pay personalized ad activities tosuppo our services and to provide more relevant ad experiences. By clicking "Accept", you consent to this activity. To learn more, or to decline consent for this activity, click"Manage info".Manage InfoAccept \ No newline at end of file diff --git a/ts/cmd/svgshot/examples/Where_work_happens___Slack.svg b/ts/cmd/svgshot/examples/Where_work_happens___Slack.svg deleted file mode 100644 index 5c6cc5bc45..0000000000 --- a/ts/cmd/svgshot/examples/Where_work_happens___Slack.svg +++ /dev/null @@ -1 +0,0 @@ -Put collaboration at your fingertipsOrganise conversationsWhatever work you do,you can do it in SlackSlack gives your team the power and alignment you need to do your best work.TRY FOR FREEAlready using Slack?Sign in.Your work email addressSlack uses cookies to allow us to better understand how the site is used. By continuing to use this site, you consentto this policy.Click to learn more. \ No newline at end of file diff --git a/ts/cmd/svgshot/examples/Wikipedia__the_free_encyclopedia.svg b/ts/cmd/svgshot/examples/Wikipedia__the_free_encyclopedia.svg deleted file mode 100644 index 0b487df7d0..0000000000 --- a/ts/cmd/svgshot/examples/Wikipedia__the_free_encyclopedia.svg +++ /dev/null @@ -1 +0,0 @@ -3D-printed reconstructionFlag flown by the NAACPKyle BuschFrom today's featured articleSpinophorosauruswas asauropoddinosaurthat lived around 167 millionyears ago, during theMiddle Jurassic.The first two specimens of thegenuswere excavated from theIrhazer Shaleformation inNigerin the 2000s byGerman and Spanish teams.Spinophorosaurus("spine-bearing lizard") was the first sauropod tohave its skeleton3D-printed(reconstruction pictured), when thefossils were brought to Europe and digitally replicated. The shoulderheight was an estimated 4 m (13 ft), and its weight was about 7metric tons (7.7 short tons). Thebraincasewas short, deep, andbroad, and the teeth were spoon-shaped. The neck contained 13vertebrae. The tail was powered by strong musculature and had arear section that was rather rigid due to long and overlappingchevron bones. Features of thevestibular apparatussuggest thatvision and coordinated eye, head, and neck movements wereimportant inSpinophorosaurus. Paired spikes on the tail may havebeen used for defence. (Full article...)Recently featured:Yugoslav torpedo boatT7·Donkey Kong 64·Cut the CrapArchive·By email·More featured articlesDid you know ...... that between 1920 and 1938, theNAACPflewa flag(pictured)at its NewYork headquarters to mark eachlynching that occurred in the UnitedStates?In the newsInstock car racing, theNASCAR Cup Seriesconcludes, withKyle Busch(pictured)winning the drivers'championship.Amidprotestsagainst fuelrationing and price hikes inIran, dozens of protesters arekilled and the governmentrestricts access to the internet.Cyclone Bulbulhits the Indian and Bangladeshicoasts of theBay of Bengal, killing at least 24people.Afterweeks of protestsover allegedelectoral fraud,Bolivian presidentEvo Moralesand other high-ranking politicians areforced to resign, andopposition senatorJeanine Áñezbecomes interimpresident.Ongoing:Hong Kong protests·Trump impeachmentinquiryRecent deaths:Wataru Misaka·Fábio Barreto·JohnMann·John Campbell Brown·Terry O'Neill·Vashishtha Narayan SinghNominate an articleOn this dayNovember 24:Feast of Christ the King(Catholicism,2019)1227Leszek the White, High Duke of Poland,was assassinated(depiction shown)during ameeting ofPiastdukes.Welcome toWikipedia,thefreeencyclopediathatanyone can edit.5,973,775articles inEnglishArtsBiographyGeographyHistoryMathematicsScienceSocietyTechnologyAll portalsMain PageTalkReadView sourceView historySearch WikipediaMain pageContentsFeatured contentCurrent eventsRandom articleDonate to WikipediaWikipedia storeInteractionHelpAbout WikipediaCommunity portalRecent changesContact pageToolsWhat links hereRelated changesUpload fileSpecial pagesPermanent linkPage informationWikidata itemIn other projectsWikimedia CommonsMediaWikiMeta-WikiWikispeciesWikibooksWikidataWikimaniaWikinewsWikiquoteWikisourceWikiversityWikivoyageWiktionaryPrint/exportCreate a bookDownload as PDFNot logged inTalkContributionsCreate accountLog in \ No newline at end of file diff --git a/ts/cmd/svgshot/examples/YouTube.svg b/ts/cmd/svgshot/examples/YouTube.svg deleted file mode 100644 index fa66fd9405..0000000000 --- a/ts/cmd/svgshot/examples/YouTube.svg +++ /dev/null @@ -1 +0,0 @@ -RecommendedFIFA 20AdEA SPORTS FIFAFIFA 20 | Wrong Breaks New Ground |FIFA 20 | Wrong Breaks New Ground |OUT NOW10:02How Releasing 1,500,000 BalloonsWent Horribly Wrong5.6M views1 month agoUnderworld6:30Phillip & Holly Interview This Morning'sFirst Robot Guest Sophia | This1.8M views3 days agoThis Morning10:02Experiment: Coca Cola and MentosUnder Water68M views3 months agoPower Vision13:05Marvel Movies Before You Add TheSpecial Effects1.1M views1 week agoLooperGBSKIP NAVIGATIONSearchSIGN INHomeTrendingSubscriptionsLibraryHistoryNew look and features for YouTube HomeHigher quality previews and an easy way to queue videosDISMISSLEARN MORE \ No newline at end of file diff --git a/ts/cmd/svgshot/examples/______zemnmez__on_Twitter.svg b/ts/cmd/svgshot/examples/______zemnmez__on_Twitter.svg deleted file mode 100644 index 8caa8fade5..0000000000 --- a/ts/cmd/svgshot/examples/______zemnmez__on_Twitter.svg +++ /dev/null @@ -1 +0,0 @@ -@zemnmezextremely powerful and VERY sleepyLondon, Englandzemn.meJoined June 2012Born 19944,550 Photos and videosPinned Tweet@zemnmez·5 Oct 2017click for pleasant surpriseSend a private messageShow this thread413.5K3.2K@zemnmez·22mHow To Make Thin Hamster2Retweeted柠檬~Odysseus+10 Rinea@Citron_Odysseus·12hOH MY GOD LMAOTweetsTweets & repliesMediaTweets43.4KFollowing4,510Followers2,677Likes87.3KLists1Moments1FollowBy using Twitter’s services you agree to ourCookies Use. We and our partners operate globally and use cookies, including for analytics,personalisation, and ads.Search TwitterHave an account?Log InHave an account?PasswordRemember me·New to Twitter?Phone number, email address, or usForgotten yourpassword?Log InSign up \ No newline at end of file diff --git a/ts/cmd/svgshot/index.ts b/ts/cmd/svgshot/index.ts deleted file mode 100644 index b159bff44d..0000000000 --- a/ts/cmd/svgshot/index.ts +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env node - -import main from './lib'; - -main() - .catch(e => { - console.error(e); - process.exit(1); - }) - .then(() => process.exit(0)); diff --git a/ts/cmd/svgshot/lib.ts b/ts/cmd/svgshot/lib.ts deleted file mode 100644 index 22d61f4078..0000000000 --- a/ts/cmd/svgshot/lib.ts +++ /dev/null @@ -1,243 +0,0 @@ -import puppeteer from 'puppeteer'; -import * as tmp from 'tmp'; -import { exec } from 'child_process'; -import * as svgo from 'svgo'; -import { writeFile, readFile } from 'fs/promises'; -import { promisify } from 'util'; -import { Command } from 'commander'; - -const program = new Command() - .name('svgshot') - .usage('') - .description( - 'take svg screenshots of webpages. requires the inkscape cli tool' - ) - .option( - '-s, --scale ', - 'scale of the render. must be between 1 and 2', - '1' - ) - .option('--no-background', 'do not render backgounds') - .option( - '--width ', - 'Width; using px, mm or in (as though printed)', - '1000px' - ) - .option( - '--height ', - 'Height; using px, mm or in (as though printed)', - '1000px' - ) - .option('--media ', 'CSS @page media', 'screen') - .option( - '--timeout ', - 'Maximum time to wait for page to become idle before taking screenshot', - '10000' - ) - .option( - '--block', - "make text invisible for presentation (it's still in the file though)", - false - ) - .option( - '--headful', - 'run in a visible chromium instance (useful for debugging). also implicitly retains the chromium instance', - false - ) - .option( - '--out ', - 'manually specify an output file name -- this fails if multiple URLs are to be recorded', - undefined - ) - .option( - '--inkscapeBin ', - 'specify the location of the inkscape binary', - 'inkscape' - ); - -const isValidMedia = (s: string): s is 'screen' | 'print' => - s == 'screen' || s == 'print'; - -type Eventually = T | Promise; - -type EventuallyIterable = Iterable | AsyncIterable; - -const map: ( - v: EventuallyIterable, - f: Eventually<(v: T, i: number) => Eventually> -) => EventuallyIterable = async function* (iter, f) { - let n = 0; - for await (const value of iter) yield (await f)(value, n++); -}; - -const main = async (argv: string[] = process.argv) => { - let { - background, - width, - height, - media, - scale, - timeout, - block, - headful, - inkscapeBin, - out, - } = program.parse(argv).opts(); - - scale = +scale; - - const args = program.args; - - if (!isValidMedia(media)) - throw new Error( - `invalid media type ${media}; must be "screen" or "print"` - ); - - const browser = await puppeteer.launch({ - headless: !headful, - args: [ - '--no-sandbox', - '--disable-setuid-sandbox', - '--disable-dev-shm-usage', - '--disable-gpu', - ], // unfortunate, but needed to work with wsl... - }); - - if (out !== undefined && args.length > 1) { - throw new Error( - `Out file specified and more than one URL (${args}) to load.` - ); - } - - const captures = map(args, async (url, i) => { - console.warn('loading', url); - - const loading = setInterval(() => { - console.warn('still loading', url); - }, timeout / 2); - - const page = await browser.newPage(); - - try { - await page.goto(url, { - waitUntil: 'networkidle2', - timeout, - }); - } catch (e) { - // if the network doesn't go idle, we still take the screenshot - } - - clearInterval(loading); - - if (block) { - const loading = setInterval(() => { - console.warn('waiting for injected style...', url); - }, timeout / 2); - - await page.evaluate(() => { - const s = document.createElement('style'); - s.innerHTML = `* { color: transparent !important }`; - document.head.appendChild(s); - }); - - clearInterval(loading); - } - - await page.emulateMediaType(media); - - const pdf = await page.pdf({ - scale: scale, - printBackground: background, - width: width, - height: height, - margin: { top: 0, right: 0, left: 0, bottom: 0 }, - }); - - const [[pdfFile, cleanup1], [svgFile, cleanup2]] = await Promise.all( - ['.pdf', '.svg'].map( - async (extension): Promise<[string, () => void]> => { - return new Promise((ok, err) => { - tmp.file( - { - tmpdir: process.env['TEST_TMPDIR'] || undefined, - postfix: extension, - }, - (error, path, _, cleanup) => { - if (error) return err(error); - return ok([path, cleanup]); - } - ); - }); - } - ) - ); - - const cleanup = () => { - cleanup1(); - cleanup2(); - }; - - if (pdf.length === 0) { - throw new Error('Failed to generate PDF.'); - } - - await writeFile(pdfFile, pdf); - - const line = - `${inkscapeBin} --without-gui ${pdfFile} ` + - `--export-type=svg --export-plain-svg --export-filename=${svgFile}`; - console.warn('running', line); - try { - const result = await promisify(exec)(line); - if (result.stderr.length > 0) console.warn(result.stderr); - console.info(result.stdout); - } catch (e) { - throw new Error( - `failed to run ${line} with ${e} -- make sure you have inkscape installed and in your PATH` - ); - } - - const fileName = - out === undefined - ? ((await page.title()).trim() || page.url()).replace( - /[^A-z_-]/g, - '_' - ) + '.svg' - : out; - - const svgContents = (await readFile(svgFile, 'utf8')).toString(); - - if (svgContents.length === 0) { - throw new Error('Failed to generate SVG.'); - } - - const optimSvg = await svgo.optimize(svgContents, { - multipass: true, - path: svgFile, - }); - - if (optimSvg.error !== undefined) throw optimSvg.error; - - if (!optimSvg.data) { - throw new Error('Failed to optimize SVG.'); - } - - console.warn( - `writing ${i + 1}/${args.length} ${fileName} (${width} x ${height})` - ); - - await writeFile(fileName, optimSvg.data); - - cleanup(); - - return fileName; - }); - - for await (const filepath of captures) { - console.info('Wrote', filepath); - } - - if (!headful) await browser.close(); -}; - -export default main; diff --git a/ts/cmd/svgshot/svgshot_test.ts b/ts/cmd/svgshot/svgshot_test.ts deleted file mode 100644 index 4230f08a16..0000000000 --- a/ts/cmd/svgshot/svgshot_test.ts +++ /dev/null @@ -1,50 +0,0 @@ -import main from './lib'; -import tmp from 'tmp'; -import fs from 'fs/promises'; -import { runfiles } from '@bazel/runfiles'; - -describe('svgshot', () => { - it('should render a test URL', async () => { - const [target, cleanup] = await new Promise<[string, () => void]>( - (ok, err) => - tmp.file( - { - // https://docs.bazel.build/versions/main/test-encyclopedia.html#test-interaction-with-the-filesystem - tmpdir: process.env['TEST_TMPDIR'] || undefined, - postfix: '.svg', - }, - (error, path, _, cleanup) => { - if (error) return err(error); - return ok([path, cleanup]); - } - ) - ); - - const inkscape = - runfiles.resolveWorkspaceRelative('cc/inkscape/run.sh'); - - await expect( - main([ - 'fake123', - 'fake1234', - '--inkscapeBin', - inkscape, - 'data:text/plain,Hello, world!', - '--out', - target, - ]) - ).resolves.toBeUndefined(); - - const result = (await fs.readFile(target)).toString(); - - cleanup(); - - expect(result).not.toEqual(''); - expect(result).not.toBeUndefined(); - expect(result).not.toBeNull(); - - expect(result).toEqual( - `Hello, world!` - ); - }); -}); diff --git a/yarn.lock b/yarn.lock index 11e759539a..06ad2c1def 100644 --- a/yarn.lock +++ b/yarn.lock @@ -514,11 +514,6 @@ resolved "https://registry.yarnpkg.com/@bazel/labs/-/labs-4.6.1.tgz#c638b6b54e831abdca57ac8700af8c478c21e085" integrity sha512-7CRtjP9W3ywX6AvTAzV5is0LrXt3zxUSW5SzUGa+LhdsrDc3+VDyW7MOJlwMai2xmBb4J1tqaZKo8KSlr2H2tg== -"@bazel/runfiles@^5.4.2": - version "5.4.2" - resolved "https://registry.yarnpkg.com/@bazel/runfiles/-/runfiles-5.4.2.tgz#85d6ee8ab99c8a1ebe7b320b2bc452135c2ff30f" - integrity sha512-FfX+GeoeBcFP7JfsZN0T3cfFOpi80Nf9W9/g2U5pjcYay2Q06fmj3Fi3SVg+iyzjo+cbW9Sw/F3otCsvvZYPiw== - "@bazel/typescript@^4.5.0": version "4.5.0" resolved "https://registry.yarnpkg.com/@bazel/typescript/-/typescript-4.5.0.tgz#8167a5f29bd9e89dabecb0ad62f38c065c48d9f4" @@ -1265,11 +1260,6 @@ resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-2.0.0.tgz#f544a148d3ab35801c1f633a7441fd87c2e484bf" integrity sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A== -"@trysound/sax@0.2.0": - version "0.2.0" - resolved "https://registry.yarnpkg.com/@trysound/sax/-/sax-0.2.0.tgz#cccaab758af56761eb7bf37af6f03f326dd798ad" - integrity sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA== - "@tsconfig/node10@^1.0.7": version "1.0.8" resolved "https://registry.yarnpkg.com/@tsconfig/node10/-/node10-1.0.8.tgz#c1e4e80d6f964fbecb3359c43bd48b40f7cadad9" @@ -1472,18 +1462,6 @@ resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.1.tgz#20f18294f797f2209b5f65c8e3b5c8e8261d127c" integrity sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw== -"@types/svgo@^2.6.3": - version "2.6.3" - resolved "https://registry.yarnpkg.com/@types/svgo/-/svgo-2.6.3.tgz#0786d8329b67cd48d84e57cb92b79832b85e6c8e" - integrity sha512-5sP0Xgo0dXppY0tbYF6TevB/1+tzFLuu71XXxC/zGvQAn9PW7y+DwtDO81g0ZUPye00K6tPwtsLDOpARa0mFcA== - dependencies: - "@types/node" "*" - -"@types/tmp@^0.2.3": - version "0.2.3" - resolved "https://registry.yarnpkg.com/@types/tmp/-/tmp-0.2.3.tgz#908bfb113419fd6a42273674c00994d40902c165" - integrity sha512-dDZH/tXzwjutnuk4UacGgFRwV+JSLaXL1ikvidfJprkb7L9Nx1njcRHHmi3Dsvt7pgqqTEeucQuOrWHPFgzVHA== - "@types/uuid@^8.3.4": version "8.3.4" resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-8.3.4.tgz#bd86a43617df0594787d38b735f55c805becf1bc" @@ -1501,13 +1479,6 @@ dependencies: "@types/yargs-parser" "*" -"@types/yauzl@^2.9.1": - version "2.10.0" - resolved "https://registry.yarnpkg.com/@types/yauzl/-/yauzl-2.10.0.tgz#b3248295276cf8c6f153ebe6a9aba0c988cb2599" - integrity sha512-Cn6WYCm0tXv8p6k+A8PvbDG763EDpBoTzHdA+Q/MF6H3sapGjCm9NzoaJncJS9tUKSuCoDs9XHxYYsQDgxR6kw== - dependencies: - "@types/node" "*" - "@typescript-eslint/eslint-plugin@^5.26.0": version "5.26.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.26.0.tgz#c1f98ccba9d345e38992975d3ca56ed6260643c2" @@ -1593,11 +1564,6 @@ abab@^2.0.3, abab@^2.0.5: resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.6.tgz#41b80f2c871d19686216b82309231cfd3cb3d291" integrity sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA== -abbrev@1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" - integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== - acorn-globals@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-6.0.0.tgz#46cdd39f0f8ff08a876619b55f5ac8a6dc770b45" @@ -1727,11 +1693,6 @@ aria-query@^5.0.0: resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-5.0.0.tgz#210c21aaf469613ee8c9a62c7f86525e058db52c" integrity sha512-V+SM7AbUwJ+EBnB8+DXs0hPZHO0W6pqBcc0dW90OwtVG02PswOu/teuARoLQjdDOH+t9pJgGnW5/Qmouf3gPJg== -array-each@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/array-each/-/array-each-1.0.1.tgz#a794af0c05ab1752846ee753a1f211a05ba0c44f" - integrity sha1-p5SvDAWrF1KEbudTofIRoFugxE8= - array-includes@^3.1.3, array-includes@^3.1.4, array-includes@^3.1.5: version "3.1.5" resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.5.tgz#2c320010db8d31031fd2a5f6b3bbd4b1aad31bdb" @@ -1743,11 +1704,6 @@ array-includes@^3.1.3, array-includes@^3.1.4, array-includes@^3.1.5: get-intrinsic "^1.1.1" is-string "^1.0.7" -array-slice@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/array-slice/-/array-slice-1.1.0.tgz#e368ea15f89bc7069f7ffb89aec3a6c7d4ac22d4" - integrity sha512-B1qMD3RBP7O8o0H2KbrXDyB0IccejMF15+87Lvlor12ONPRHP6gTjXMNkt/d3ZuOGbAe66hFmaCfECI24Ufp6w== - array-union@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d" @@ -1912,7 +1868,7 @@ balanced-match@^2.0.0: resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-2.0.0.tgz#dc70f920d78db8b858535795867bf48f820633d9" integrity sha512-1ugUSr8BHXRnK23KfuYS+gVMC3LB8QGH9W1iGtDPsNWoQbgtXSExkBu2aDR4epiGWZOjZsj6lDl/N/AqqTC3UA== -base64-js@^1.0.2, base64-js@^1.3.1: +base64-js@^1.0.2: version "1.5.1" resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== @@ -1929,20 +1885,6 @@ before-after-hook@^2.2.0: resolved "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-2.2.2.tgz#a6e8ca41028d90ee2c24222f201c90956091613e" integrity sha512-3pZEU3NT5BFUo/AD5ERPWOgQOCZITni6iavr5AUw5AUwQjMlI0kzu5btnyD39AF0gUEsDPwJT+oY1ORBJijPjQ== -bl@^4.0.3: - version "4.1.0" - resolved "https://registry.yarnpkg.com/bl/-/bl-4.1.0.tgz#451535264182bec2fbbc83a62ab98cf11d9f7b3a" - integrity sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w== - dependencies: - buffer "^5.5.0" - inherits "^2.0.4" - readable-stream "^3.4.0" - -boolbase@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" - integrity sha1-aN/1++YMUes3cl6p4+0xDcwed24= - brace-expansion@^1.1.7: version "1.1.11" resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" @@ -1981,11 +1923,6 @@ bser@2.1.1: dependencies: node-int64 "^0.4.0" -buffer-crc32@~0.2.3: - version "0.2.13" - resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242" - integrity sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI= - buffer-from@^1.0.0, buffer-from@^1.1.0: version "1.1.2" resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" @@ -2000,14 +1937,6 @@ buffer@4.9.2: ieee754 "^1.1.4" isarray "^1.0.0" -buffer@^5.2.1, buffer@^5.5.0: - version "5.7.1" - resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" - integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== - dependencies: - base64-js "^1.3.1" - ieee754 "^1.1.13" - builtin-modules@3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.0.0.tgz#1e587d44b006620d90286cc7a9238bbc6129cab1" @@ -2084,11 +2013,6 @@ check-type@^0.4.11: dependencies: underscore "1.6.0" -chownr@^1.1.1: - version "1.1.4" - resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" - integrity sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg== - ci-info@^3.2.0: version "3.3.1" resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.3.1.tgz#58331f6f472a25fe3a50a351ae3052936c2c7f32" @@ -2166,16 +2090,6 @@ combined-stream@^1.0.8: dependencies: delayed-stream "~1.0.0" -commander@^7.2.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7" - integrity sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw== - -commander@^9.2.0: - version "9.2.0" - resolved "https://registry.yarnpkg.com/commander/-/commander-9.2.0.tgz#6e21014b2ed90d8b7c9647230d8b7a94a4a419a9" - integrity sha512-e2i4wANQiSXgnrBlIatyHtP1odfUp0BbV5Y5nEGbxtIrStkEOAAzCUirvLBNXHLr7kwLvJl6V+4V3XV9x7Wd9w== - concat-map@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" @@ -2229,13 +2143,6 @@ create-require@^1.1.0: resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333" integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ== -cross-fetch@3.1.5: - version "3.1.5" - resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-3.1.5.tgz#e1389f44d9e7ba767907f7af8454787952ab534f" - integrity sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw== - dependencies: - node-fetch "2.6.7" - cross-spawn@^7.0.2, cross-spawn@^7.0.3: version "7.0.3" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" @@ -2250,42 +2157,11 @@ css-functions-list@^3.0.1: resolved "https://registry.yarnpkg.com/css-functions-list/-/css-functions-list-3.0.1.tgz#1460df7fb584d1692c30b105151dbb988c8094f9" integrity sha512-PriDuifDt4u4rkDgnqRCLnjfMatufLmWNfQnGCq34xZwpY3oabwhB9SqRBmuvWUgndbemCFlKqg+nO7C2q0SBw== -css-select@^4.1.3: - version "4.3.0" - resolved "https://registry.yarnpkg.com/css-select/-/css-select-4.3.0.tgz#db7129b2846662fd8628cfc496abb2b59e41529b" - integrity sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ== - dependencies: - boolbase "^1.0.0" - css-what "^6.0.1" - domhandler "^4.3.1" - domutils "^2.8.0" - nth-check "^2.0.1" - -css-tree@^1.1.2, css-tree@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-1.1.3.tgz#eb4870fb6fd7707327ec95c2ff2ab09b5e8db91d" - integrity sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q== - dependencies: - mdn-data "2.0.14" - source-map "^0.6.1" - -css-what@^6.0.1: - version "6.1.0" - resolved "https://registry.yarnpkg.com/css-what/-/css-what-6.1.0.tgz#fb5effcf76f1ddea2c81bdfaa4de44e79bac70f4" - integrity sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw== - cssesc@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee" integrity sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg== -csso@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/csso/-/csso-4.2.0.tgz#ea3a561346e8dc9f546d6febedd50187cf389529" - integrity sha512-wvlcdIbf6pwKEk7vHj8/Bkc0B4ylXZruLvOgs9doS5eOsOpuodOV2zJChSpkp+pRpYQLQMeF04nr3Z68Sta9jA== - dependencies: - css-tree "^1.1.2" - cssom@^0.4.4: version "0.4.4" resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.4.4.tgz#5a66cf93d2d0b661d80bf6a44fb65f5c2e4e0a10" @@ -2395,7 +2271,7 @@ date-fns@^2.16.1: resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.28.0.tgz#9570d656f5fc13143e50c975a3b6bbeb46cd08b2" integrity sha512-8d35hViGYx/QH0icHYCeLmsLmMUheMmTyV9Fcm6gvNwdw31yXXH+O85sOBJ+OLnLQMKZowvpKb6FgMIQjcpvQw== -debug@4, debug@4.3.4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.2, debug@^4.3.4: +debug@4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.2, debug@^4.3.4: version "4.3.4" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== @@ -2472,11 +2348,6 @@ deprecation@^2.0.0, deprecation@^2.3.1: resolved "https://registry.yarnpkg.com/deprecation/-/deprecation-2.3.1.tgz#6368cbdb40abf3373b525ac87e4a260c3a700919" integrity sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ== -detect-file@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/detect-file/-/detect-file-1.0.0.tgz#f0d66d03672a825cb1b73bdb3fe62310c8e552b7" - integrity sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc= - detect-libc@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b" @@ -2487,11 +2358,6 @@ detect-newline@^3.0.0: resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651" integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA== -devtools-protocol@0.0.981744: - version "0.0.981744" - resolved "https://registry.yarnpkg.com/devtools-protocol/-/devtools-protocol-0.0.981744.tgz#9960da0370284577d46c28979a0b32651022bacf" - integrity sha512-0cuGS8+jhR67Fy7qG3i3Pc7Aw494sb9yG9QgpG97SFVWwolgYjlhJg7n+UaHxOQT30d1TYu/EYe9k01ivLErIg== - dezalgo@^1.0.0: version "1.0.4" resolved "https://registry.yarnpkg.com/dezalgo/-/dezalgo-1.0.4.tgz#751235260469084c132157dfa857f386d4c33d81" @@ -2541,20 +2407,6 @@ dom-accessibility-api@^0.5.9: resolved "https://registry.yarnpkg.com/dom-accessibility-api/-/dom-accessibility-api-0.5.14.tgz#56082f71b1dc7aac69d83c4285eef39c15d93f56" integrity sha512-NMt+m9zFMPZe0JcY9gN224Qvk6qLIdqex29clBvc/y75ZBX9YA9wNK3frsYvu2DI1xcCIwxwnX+TlsJ2DSOADg== -dom-serializer@^1.0.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-1.4.1.tgz#de5d41b1aea290215dc45a6dae8adcf1d32e2d30" - integrity sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag== - dependencies: - domelementtype "^2.0.1" - domhandler "^4.2.0" - entities "^2.0.0" - -domelementtype@^2.0.1, domelementtype@^2.2.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-2.3.0.tgz#5c45e8e869952626331d7aab326d01daf65d589d" - integrity sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw== - domexception@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/domexception/-/domexception-2.0.1.tgz#fb44aefba793e1574b0af6aed2801d057529f304" @@ -2569,22 +2421,6 @@ domexception@^4.0.0: dependencies: webidl-conversions "^7.0.0" -domhandler@^4.2.0, domhandler@^4.3.1: - version "4.3.1" - resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-4.3.1.tgz#8d792033416f59d68bc03a5aa7b018c1ca89279c" - integrity sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ== - dependencies: - domelementtype "^2.2.0" - -domutils@^2.8.0: - version "2.8.0" - resolved "https://registry.yarnpkg.com/domutils/-/domutils-2.8.0.tgz#4437def5db6e2d1f5d6ee859bd95ca7d02048135" - integrity sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A== - dependencies: - dom-serializer "^1.0.1" - domelementtype "^2.2.0" - domhandler "^4.2.0" - electron-to-chromium@^1.4.118: version "1.4.137" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.137.tgz#186180a45617283f1c012284458510cd99d6787f" @@ -2605,18 +2441,6 @@ emoji-regex@^9.2.2: resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72" integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== -end-of-stream@^1.1.0, end-of-stream@^1.4.1: - version "1.4.4" - resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" - integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== - dependencies: - once "^1.4.0" - -entities@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/entities/-/entities-2.2.0.tgz#098dc90ebb83d8dffa089d55256b351d34c4da55" - integrity sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A== - error-ex@^1.3.1: version "1.3.2" resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" @@ -3114,13 +2938,6 @@ exit@^0.1.2: resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" integrity sha1-BjJjj42HfMghB9MKD/8aF8uhzQw= -expand-tilde@^2.0.0, expand-tilde@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/expand-tilde/-/expand-tilde-2.0.2.tgz#97e801aa052df02454de46b02bf621642cdc8502" - integrity sha1-l+gBqgUt8CRU3kawK/YhZCzchQI= - dependencies: - homedir-polyfill "^1.0.1" - expect@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/expect/-/expect-27.5.1.tgz#83ce59f1e5bdf5f9d2b94b61d2050db48f3fef74" @@ -3131,22 +2948,6 @@ expect@^27.5.1: jest-matcher-utils "^27.5.1" jest-message-util "^27.5.1" -extend@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" - integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== - -extract-zip@2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/extract-zip/-/extract-zip-2.0.1.tgz#663dca56fe46df890d5f131ef4a06d22bb8ba13a" - integrity sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg== - dependencies: - debug "^4.1.1" - get-stream "^5.1.0" - yauzl "^2.10.0" - optionalDependencies: - "@types/yauzl" "^2.9.1" - fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: version "3.1.3" resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" @@ -3197,13 +2998,6 @@ fb-watchman@^2.0.0: dependencies: bser "2.1.1" -fd-slicer@~1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/fd-slicer/-/fd-slicer-1.1.0.tgz#25c7c89cb1f9077f8891bbe61d8f390eae256f1e" - integrity sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4= - dependencies: - pend "~1.2.0" - file-entry-cache@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027" @@ -3233,32 +3027,6 @@ find-up@^4.0.0, find-up@^4.1.0: locate-path "^5.0.0" path-exists "^4.0.0" -findup-sync@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/findup-sync/-/findup-sync-4.0.0.tgz#956c9cdde804052b881b428512905c4a5f2cdef0" - integrity sha512-6jvvn/12IC4quLBL1KNokxC7wWTvYncaVUYSoxWw7YykPLuRrnv4qdHcSOywOI5RpkOVGeQRtWM8/q+G6W6qfQ== - dependencies: - detect-file "^1.0.0" - is-glob "^4.0.0" - micromatch "^4.0.2" - resolve-dir "^1.0.1" - -fined@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/fined/-/fined-1.2.0.tgz#d00beccf1aa2b475d16d423b0238b713a2c4a37b" - integrity sha512-ZYDqPLGxDkDhDZBjZBb+oD1+j0rA4E0pXY50eplAAOPg2N/gUBSSk5IM1/QhPfyVo19lJ+CvXpqfvk+b2p/8Ng== - dependencies: - expand-tilde "^2.0.2" - is-plain-object "^2.0.3" - object.defaults "^1.1.0" - object.pick "^1.2.0" - parse-filepath "^1.0.1" - -flagged-respawn@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/flagged-respawn/-/flagged-respawn-1.0.1.tgz#e7de6f1279ddd9ca9aac8a5971d618606b3aab41" - integrity sha512-lNaHNVymajmk0OJMBn8fVUAU1BtDeKIqKoVhk4xAALB57aALg6b4W0MfJ/cUE0g9YBXy5XhSlPIpYIJ7HaY/3Q== - flat-cache@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11" @@ -3277,18 +3045,6 @@ follow-redirects@^1.0.0: resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.0.tgz#06441868281c86d0dda4ad8bdaead2d02dca89d4" integrity sha512-aExlJShTV4qOUOL7yF1U5tvLCB0xQuudbf6toyYA0E/acBNw71mvjFTnLaRp50aQaYocMR0a/RMMBIHeZnGyjQ== -for-in@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" - integrity sha1-gQaNKVqBQuwKxybG4iAMMPttXoA= - -for-own@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/for-own/-/for-own-1.0.0.tgz#c63332f415cedc4b04dbfe70cf836494c53cb44b" - integrity sha1-xjMy9BXO3EsE2/5wz4NklMU8tEs= - dependencies: - for-in "^1.0.1" - form-data@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/form-data/-/form-data-3.0.1.tgz#ebd53791b78356a99af9a300d4282c4d5eb9755f" @@ -3307,11 +3063,6 @@ form-data@^4.0.0: combined-stream "^1.0.8" mime-types "^2.1.12" -fs-constants@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" - integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== - fs-extra@^10.1.0: version "10.1.0" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-10.1.0.tgz#02873cfbc4084dde127eaa5f9905eef2325d1abf" @@ -3392,13 +3143,6 @@ get-stdin@^8.0.0: resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-8.0.0.tgz#cbad6a73feb75f6eeb22ba9e01f89aa28aa97a53" integrity sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg== -get-stream@^5.1.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-5.2.0.tgz#4966a1795ee5ace65e706c4b7beb71257d6e22d3" - integrity sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA== - dependencies: - pump "^3.0.0" - get-stream@^6.0.0: version "6.0.1" resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" @@ -3450,15 +3194,6 @@ glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.2.0: once "^1.3.0" path-is-absolute "^1.0.0" -global-modules@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/global-modules/-/global-modules-1.0.0.tgz#6d770f0eb523ac78164d72b5e71a8877265cc3ea" - integrity sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg== - dependencies: - global-prefix "^1.0.1" - is-windows "^1.0.1" - resolve-dir "^1.0.0" - global-modules@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/global-modules/-/global-modules-2.0.0.tgz#997605ad2345f27f51539bea26574421215c7780" @@ -3466,17 +3201,6 @@ global-modules@^2.0.0: dependencies: global-prefix "^3.0.0" -global-prefix@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/global-prefix/-/global-prefix-1.0.2.tgz#dbf743c6c14992593c655568cb66ed32c0122ebe" - integrity sha1-2/dDxsFJklk8ZVVoy2btMsASLr4= - dependencies: - expand-tilde "^2.0.2" - homedir-polyfill "^1.0.1" - ini "^1.3.4" - is-windows "^1.0.1" - which "^1.2.14" - global-prefix@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/global-prefix/-/global-prefix-3.0.0.tgz#fc85f73064df69f50421f47f883fe5b913ba9b97" @@ -3525,22 +3249,6 @@ graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.4, resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== -grunt-cli@^1.4.3: - version "1.4.3" - resolved "https://registry.yarnpkg.com/grunt-cli/-/grunt-cli-1.4.3.tgz#22c9f1a3d2780bf9b0d206e832e40f8f499175ff" - integrity sha512-9Dtx/AhVeB4LYzsViCjUQkd0Kw0McN2gYpdmGYKtE2a5Yt7v1Q+HYZVWhqXc/kGnxlMtqKDxSwotiGeFmkrCoQ== - dependencies: - grunt-known-options "~2.0.0" - interpret "~1.1.0" - liftup "~3.0.1" - nopt "~4.0.1" - v8flags "~3.2.0" - -grunt-known-options@~2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/grunt-known-options/-/grunt-known-options-2.0.0.tgz#cac641e897f9a0a680b8c9839803d35f3325103c" - integrity sha512-GD7cTz0I4SAede1/+pAbmJRG44zFLPipVtdL9o3vqx9IEyb7b4/Y3s7r6ofI3CchR5GvYJ+8buCSioDv5dQLiA== - hard-rejection@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/hard-rejection/-/hard-rejection-2.1.0.tgz#1c6eda5c1685c63942766d79bb40ae773cecd883" @@ -3599,13 +3307,6 @@ history@^5.2.0: dependencies: "@babel/runtime" "^7.7.6" -homedir-polyfill@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz#743298cef4e5af3e194161fbadcc2151d3a058e8" - integrity sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA== - dependencies: - parse-passwd "^1.0.0" - hosted-git-info@^2.1.4: version "2.8.9" resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.9.tgz#dffc0bf9a21c02209090f2aa69429e1414daf3f9" @@ -3688,7 +3389,7 @@ http-server@^14.1.0: union "~0.5.0" url-join "^4.0.1" -https-proxy-agent@5.0.1, https-proxy-agent@^5.0.0: +https-proxy-agent@^5.0.0: version "5.0.1" resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6" integrity sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA== @@ -3730,7 +3431,7 @@ ieee754@1.1.13: resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.13.tgz#ec168558e95aa181fd87d37f55c32bbcb6708b84" integrity sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg== -ieee754@^1.1.13, ieee754@^1.1.4: +ieee754@^1.1.4: version "1.2.1" resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== @@ -3784,12 +3485,12 @@ inflight@^1.0.4: once "^1.3.0" wrappy "1" -inherits@2, inherits@^2.0.3, inherits@^2.0.4: +inherits@2: version "2.0.4" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== -ini@^1.3.4, ini@^1.3.5: +ini@^1.3.5: version "1.3.8" resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== @@ -3813,19 +3514,6 @@ internal-slot@^1.0.3: resolved "https://registry.yarnpkg.com/internmap/-/internmap-2.0.3.tgz#6685f23755e43c524e251d29cbc97248e3061009" integrity sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg== -interpret@~1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.1.0.tgz#7ed1b1410c6a0e0f78cf95d3b8440c63f78b8614" - integrity sha1-ftGxQQxqDg94z5XTuEQMY/eLhhQ= - -is-absolute@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-absolute/-/is-absolute-1.0.0.tgz#395e1ae84b11f26ad1795e73c17378e48a301576" - integrity sha512-dOWoqflvcydARa360Gvv18DZ/gRuHKi2NU/wU5X1ZFzdYfH29nkiNZsF3mp4OJ3H4yo9Mx8A/uAGNzpzPN3yBA== - dependencies: - is-relative "^1.0.0" - is-windows "^1.0.1" - is-arrayish@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" @@ -3909,13 +3597,6 @@ is-plain-obj@^1.1.0: resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" integrity sha1-caUMhCnfync8kqOQpKA7OfzVHT4= -is-plain-object@^2.0.3, is-plain-object@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" - integrity sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og== - dependencies: - isobject "^3.0.1" - is-plain-object@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-5.0.0.tgz#4427f50ab3429e9025ea7d52e9043a9ef4159344" @@ -3939,13 +3620,6 @@ is-regexp@^2.0.0: resolved "https://registry.yarnpkg.com/is-regexp/-/is-regexp-2.1.0.tgz#cd734a56864e23b956bf4e7c66c396a4c0b22c2d" integrity sha512-OZ4IlER3zmRIoB9AqNhEggVxqIH4ofDns5nRrPS6yQxXE1TPCUpFznBfRQmQa8uC+pXqjMnukiJBxCisIxiLGA== -is-relative@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-relative/-/is-relative-1.0.0.tgz#a1bb6935ce8c5dba1e8b9754b9b2dcc020e2260d" - integrity sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA== - dependencies: - is-unc-path "^1.0.0" - is-shared-array-buffer@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz#8f259c573b60b6a32d4058a1a07430c0a7344c79" @@ -3977,13 +3651,6 @@ is-typedarray@^1.0.0: resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo= -is-unc-path@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-unc-path/-/is-unc-path-1.0.0.tgz#d731e8898ed090a12c352ad2eaed5095ad322c9d" - integrity sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ== - dependencies: - unc-path-regex "^0.1.2" - is-weakref@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/is-weakref/-/is-weakref-1.0.2.tgz#9529f383a9338205e89765e0392efc2f100f06f2" @@ -3991,11 +3658,6 @@ is-weakref@^1.0.2: dependencies: call-bind "^1.0.2" -is-windows@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" - integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA== - isarray@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" @@ -4006,11 +3668,6 @@ isexe@^2.0.0: resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= -isobject@^3.0.0, isobject@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" - integrity sha1-TkMekrEalzFjaqH5yNHMvP2reN8= - istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz#189e7909d0a39fa5a3dfad5b03f71947770191d3" @@ -4652,20 +4309,6 @@ levn@~0.3.0: prelude-ls "~1.1.2" type-check "~0.3.2" -liftup@~3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/liftup/-/liftup-3.0.1.tgz#1cb81aff0f368464ed3a5f1a7286372d6b1a60ce" - integrity sha512-yRHaiQDizWSzoXk3APcA71eOI/UuhEkNN9DiW2Tt44mhYzX4joFoCZlxsSOF7RyeLlfqzFLQI1ngFq3ggMPhOw== - dependencies: - extend "^3.0.2" - findup-sync "^4.0.0" - fined "^1.2.0" - flagged-respawn "^1.0.1" - is-plain-object "^2.0.4" - object.map "^1.0.1" - rechoir "^0.7.0" - resolve "^1.19.0" - lines-and-columns@^1.1.6: version "1.2.4" resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" @@ -4747,13 +4390,6 @@ make-error@^1.1.1: resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== -make-iterator@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/make-iterator/-/make-iterator-1.0.1.tgz#29b33f312aa8f547c4a5e490f56afcec99133ad6" - integrity sha512-pxiuXh0iVEq7VM7KMIhs5gxsfxCux2URptUQaXo4iZZJxBAzTPOLE2BumO5dbfVYq/hBJFBR/a1mFDmOx5AGmw== - dependencies: - kind-of "^6.0.2" - makeerror@1.0.12: version "1.0.12" resolved "https://registry.yarnpkg.com/makeerror/-/makeerror-1.0.12.tgz#3e5dd2079a82e812e983cc6610c4a2cb0eaa801a" @@ -4761,11 +4397,6 @@ makeerror@1.0.12: dependencies: tmpl "1.0.5" -map-cache@^0.2.0: - version "0.2.2" - resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" - integrity sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8= - map-obj@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d" @@ -4781,11 +4412,6 @@ mathml-tag-names@^2.1.3: resolved "https://registry.yarnpkg.com/mathml-tag-names/-/mathml-tag-names-2.1.3.tgz#4ddadd67308e780cf16a47685878ee27b736a0a3" integrity sha512-APMBEanjybaPzUrfqU0IMU5I0AswKMH7k8OTLs0vvV4KZpExkTkY87nR/zpbuTPj+gARop7aGUbl11pnDfW6xg== -mdn-data@2.0.14: - version "2.0.14" - resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.14.tgz#7113fc4281917d63ce29b43446f701e68c25ba50" - integrity sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow== - meow@^9.0.0: version "9.0.0" resolved "https://registry.yarnpkg.com/meow/-/meow-9.0.0.tgz#cd9510bc5cac9dee7d03c73ee1f9ad959f4ea364" @@ -4814,7 +4440,7 @@ merge2@^1.3.0, merge2@^1.4.1: resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== -micromatch@^4.0.2, micromatch@^4.0.4, micromatch@^4.0.5: +micromatch@^4.0.4, micromatch@^4.0.5: version "4.0.5" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== @@ -4880,11 +4506,6 @@ minimist@^1.2.0, minimist@^1.2.5, minimist@^1.2.6: resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.6.tgz#8637a5b759ea0d6e98702cfb3a9283323c93af44" integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q== -mkdirp-classic@^0.5.2: - version "0.5.3" - resolved "https://registry.yarnpkg.com/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz#fa10c9115cc6d8865be221ba47ee9bed78601113" - integrity sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A== - mkdirp@^0.5.1, mkdirp@^0.5.5: version "0.5.6" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.6.tgz#7def03d2432dcae4ba1d611445c48396062255f6" @@ -4922,7 +4543,7 @@ natural-compare@^1.4.0: resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" integrity sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc= -node-fetch@2.6.7, node-fetch@^2.6.7: +node-fetch@^2.6.7: version "2.6.7" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad" integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ== @@ -4939,14 +4560,6 @@ node-releases@^2.0.3: resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.4.tgz#f38252370c43854dc48aa431c766c6c398f40476" integrity sha512-gbMzqQtTtDz/00jQzZ21PQzdI9PyLYqUSvD0p3naOhX4odFji0ZxYdnVwPTxmSwkmxhcFImpozceidSG+AgoPQ== -nopt@~4.0.1: - version "4.0.3" - resolved "https://registry.yarnpkg.com/nopt/-/nopt-4.0.3.tgz#a375cad9d02fd921278d954c2254d5aa57e15e48" - integrity sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg== - dependencies: - abbrev "1" - osenv "^0.1.4" - normalize-package-data@^2.0.0, normalize-package-data@^2.4.0, normalize-package-data@^2.5.0: version "2.5.0" resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8" @@ -4984,13 +4597,6 @@ npm-run-path@^4.0.1: dependencies: path-key "^3.0.0" -nth-check@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-2.0.1.tgz#2efe162f5c3da06a28959fbd3db75dbeea9f0fc2" - integrity sha512-it1vE95zF6dTT9lBsYbxvqh0Soy4SPowchj0UBGj/V6cTPnXXtQOPUbhZ6CmGzAD/rW22LQK6E96pcdJXk4A4w== - dependencies: - boolbase "^1.0.0" - nwsapi@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.0.tgz#204879a9e3d068ff2a55139c2c772780681a38b7" @@ -5021,16 +4627,6 @@ object.assign@^4.1.2: has-symbols "^1.0.1" object-keys "^1.1.1" -object.defaults@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/object.defaults/-/object.defaults-1.1.0.tgz#3a7f868334b407dea06da16d88d5cd29e435fecf" - integrity sha1-On+GgzS0B96gbaFtiNXNKeQ1/s8= - dependencies: - array-each "^1.0.1" - array-slice "^1.0.0" - for-own "^1.0.0" - isobject "^3.0.0" - object.entries@^1.1.5: version "1.1.5" resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.1.5.tgz#e1acdd17c4de2cd96d5a08487cfb9db84d881861" @@ -5067,21 +4663,6 @@ object.hasown@^1.1.1: define-properties "^1.1.4" es-abstract "^1.19.5" -object.map@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/object.map/-/object.map-1.0.1.tgz#cf83e59dc8fcc0ad5f4250e1f78b3b81bd801d37" - integrity sha1-z4Plncj8wK1fQlDh94s7gb2AHTc= - dependencies: - for-own "^1.0.0" - make-iterator "^1.0.0" - -object.pick@^1.2.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747" - integrity sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c= - dependencies: - isobject "^3.0.1" - object.values@^1.1.5: version "1.1.5" resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.5.tgz#959f63e3ce9ef108720333082131e4a459b716ac" @@ -5091,7 +4672,7 @@ object.values@^1.1.5: define-properties "^1.1.3" es-abstract "^1.19.1" -once@^1.3.0, once@^1.3.1, once@^1.4.0: +once@^1.3.0, once@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E= @@ -5134,24 +4715,6 @@ optionator@^0.9.1: type-check "^0.4.0" word-wrap "^1.2.3" -os-homedir@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" - integrity sha1-/7xJiDNuDoM94MFox+8VISGqf7M= - -os-tmpdir@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" - integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= - -osenv@^0.1.4: - version "0.1.5" - resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.5.tgz#85cdfafaeb28e8677f416e287592b5f3f49ea410" - integrity sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g== - dependencies: - os-homedir "^1.0.0" - os-tmpdir "^1.0.0" - p-limit@^1.1.0: version "1.3.0" resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8" @@ -5197,15 +4760,6 @@ parent-module@^1.0.0: dependencies: callsites "^3.0.0" -parse-filepath@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/parse-filepath/-/parse-filepath-1.0.2.tgz#a632127f53aaf3d15876f5872f3ffac763d6c891" - integrity sha1-pjISf1Oq89FYdvWHLz/6x2PWyJE= - dependencies: - is-absolute "^1.0.0" - map-cache "^0.2.0" - path-root "^0.1.1" - parse-json@^5.0.0, parse-json@^5.2.0: version "5.2.0" resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd" @@ -5216,11 +4770,6 @@ parse-json@^5.0.0, parse-json@^5.2.0: json-parse-even-better-errors "^2.3.0" lines-and-columns "^1.1.6" -parse-passwd@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6" - integrity sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY= - parse5@6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/parse5/-/parse5-6.0.1.tgz#e1a1c085c569b3dc08321184f19a39cc27f7c30b" @@ -5251,28 +4800,11 @@ path-parse@^1.0.6, path-parse@^1.0.7: resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== -path-root-regex@^0.1.0: - version "0.1.2" - resolved "https://registry.yarnpkg.com/path-root-regex/-/path-root-regex-0.1.2.tgz#bfccdc8df5b12dc52c8b43ec38d18d72c04ba96d" - integrity sha1-v8zcjfWxLcUsi0PsONGNcsBLqW0= - -path-root@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/path-root/-/path-root-0.1.1.tgz#9a4a6814cac1c0cd73360a95f32083c8ea4745b7" - integrity sha1-mkpoFMrBwM1zNgqV8yCDyOpHRbc= - dependencies: - path-root-regex "^0.1.0" - path-type@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== -pend@~1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50" - integrity sha1-elfrVQpng/kRUzH89GY9XI4AelA= - picocolors@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" @@ -5288,7 +4820,7 @@ pirates@^4.0.4: resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.5.tgz#feec352ea5c3268fb23a37c702ab1699f35a5f3b" integrity sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ== -pkg-dir@4.2.0, pkg-dir@^4.2.0: +pkg-dir@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3" integrity sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ== @@ -5414,11 +4946,6 @@ pretty-format@^27.0.0, pretty-format@^27.0.2, pretty-format@^27.5.1: ansi-styles "^5.0.0" react-is "^17.0.1" -progress@2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" - integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== - prompts@^2.0.1: version "2.4.2" resolved "https://registry.yarnpkg.com/prompts/-/prompts-2.4.2.tgz#7b57e73b3a48029ad10ebd44f74b01722a4cb069" @@ -5474,24 +5001,11 @@ protobufjs@^6.8.6: "@types/node" ">=13.7.0" long "^4.0.0" -proxy-from-env@1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" - integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg== - psl@^1.1.33: version "1.8.0" resolved "https://registry.yarnpkg.com/psl/-/psl-1.8.0.tgz#9326f8bcfb013adcc005fdff056acce020e51c24" integrity sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ== -pump@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64" - integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww== - dependencies: - end-of-stream "^1.1.0" - once "^1.3.1" - punycode@1.3.2: version "1.3.2" resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" @@ -5502,24 +5016,6 @@ punycode@^2.1.0, punycode@^2.1.1: resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== -puppeteer@^13.7.0: - version "13.7.0" - resolved "https://registry.yarnpkg.com/puppeteer/-/puppeteer-13.7.0.tgz#18e16f83e397cf02f7a0804c67c1603d381cfb0b" - integrity sha512-U1uufzBjz3+PkpCxFrWzh4OrMIdIb2ztzCu0YEPfRHjHswcSwHZswnK+WdsOQJsRV8WeTg3jLhJR4D867+fjsA== - dependencies: - cross-fetch "3.1.5" - debug "4.3.4" - devtools-protocol "0.0.981744" - extract-zip "2.0.1" - https-proxy-agent "5.0.1" - pkg-dir "4.2.0" - progress "2.0.3" - proxy-from-env "1.1.0" - rimraf "3.0.2" - tar-fs "2.1.1" - unbzip2-stream "1.4.3" - ws "8.5.0" - qs@^6.4.0: version "6.10.3" resolved "https://registry.yarnpkg.com/qs/-/qs-6.10.3.tgz#d6cde1b2ffca87b5aa57889816c5f81535e22e8e" @@ -5634,15 +5130,6 @@ read-pkg@^5.2.0: parse-json "^5.0.0" type-fest "^0.6.0" -readable-stream@^3.1.1, readable-stream@^3.4.0: - version "3.6.0" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" - integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== - dependencies: - inherits "^2.0.3" - string_decoder "^1.1.1" - util-deprecate "^1.0.1" - readdir-scoped-modules@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz#8d45407b4f870a0dcaebc0e28670d18e74514309" @@ -5653,13 +5140,6 @@ readdir-scoped-modules@^1.0.0: graceful-fs "^4.1.2" once "^1.3.0" -rechoir@^0.7.0: - version "0.7.1" - resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.7.1.tgz#9478a96a1ca135b5e88fc027f03ee92d6c645686" - integrity sha512-/njmZ8s1wVeR6pjTZ+0nCnv8SpZNRMT2D1RLOJQESlYFDBvwpTA4KWJpZ+sBJ4+vhjILRcK7JIFdGCdxEAAitg== - dependencies: - resolve "^1.9.0" - redent@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/redent/-/redent-3.0.0.tgz#e557b7998316bb53c9f1f56fa626352c6963059f" @@ -5709,14 +5189,6 @@ resolve-cwd@^3.0.0: dependencies: resolve-from "^5.0.0" -resolve-dir@^1.0.0, resolve-dir@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/resolve-dir/-/resolve-dir-1.0.1.tgz#79a40644c362be82f26effe739c9bb5382046f43" - integrity sha1-eaQGRMNivoLybv/nOcm7U4IEb0M= - dependencies: - expand-tilde "^2.0.0" - global-modules "^1.0.0" - resolve-from@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" @@ -5732,7 +5204,7 @@ resolve.exports@^1.1.0: resolved "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-1.1.0.tgz#5ce842b94b05146c0e03076985d1d0e7e48c90c9" integrity sha512-J1l+Zxxp4XK3LUDZ9m60LRJF/mAe4z6a4xyabPHk7pvK5t35dACV32iIjJDFeWZFfZlO29w6SZ67knR0tHzJtQ== -resolve@^1.10.0, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.22.0, resolve@^1.7.1, resolve@^1.9.0: +resolve@^1.10.0, resolve@^1.20.0, resolve@^1.22.0, resolve@^1.7.1: version "1.22.0" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.0.tgz#5e0b8c67c15df57a89bdbabe603a002f21731198" integrity sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw== @@ -5754,7 +5226,7 @@ reusify@^1.0.4: resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== -rimraf@3.0.2, rimraf@^3.0.0, rimraf@^3.0.2: +rimraf@^3.0.0, rimraf@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== @@ -5780,11 +5252,6 @@ safe-buffer@5.1.2, safe-buffer@~5.1.1: resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== -safe-buffer@~5.2.0: - version "5.2.1" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" - integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== - "safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0": version "2.1.2" resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" @@ -5976,11 +5443,6 @@ sprintf-js@~1.0.2: resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw= -stable@^0.1.8: - version "0.1.8" - resolved "https://registry.yarnpkg.com/stable/-/stable-0.1.8.tgz#836eb3c8382fe2936feaf544631017ce7d47a3cf" - integrity sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w== - stack-utils@^2.0.3: version "2.0.5" resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-2.0.5.tgz#d25265fca995154659dbbfba3b49254778d2fdd5" @@ -6042,13 +5504,6 @@ string.prototype.trimstart@^1.0.5: define-properties "^1.1.4" es-abstract "^1.19.5" -string_decoder@^1.1.1: - version "1.3.0" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" - integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== - dependencies: - safe-buffer "~5.2.0" - strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" @@ -6203,19 +5658,6 @@ svg-tags@^1.0.0: resolved "https://registry.yarnpkg.com/svg-tags/-/svg-tags-1.0.0.tgz#58f71cee3bd519b59d4b2a843b6c7de64ac04764" integrity sha1-WPcc7jvVGbWdSyqEO2x95krAR2Q= -svgo@^2.8.0: - version "2.8.0" - resolved "https://registry.yarnpkg.com/svgo/-/svgo-2.8.0.tgz#4ff80cce6710dc2795f0c7c74101e6764cfccd24" - integrity sha512-+N/Q9kV1+F+UeWYoSiULYo4xYSDQlTgb+ayMobAXPwMnLvop7oxKMo9OzIrX5x3eS4L4f2UHhc9axXwY8DpChg== - dependencies: - "@trysound/sax" "0.2.0" - commander "^7.2.0" - css-select "^4.1.3" - css-tree "^1.1.3" - csso "^4.2.0" - picocolors "^1.0.0" - stable "^0.1.8" - symbol-tree@^3.2.4: version "3.2.4" resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" @@ -6232,27 +5674,6 @@ table@^6.8.0: string-width "^4.2.3" strip-ansi "^6.0.1" -tar-fs@2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-2.1.1.tgz#489a15ab85f1f0befabb370b7de4f9eb5cbe8784" - integrity sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng== - dependencies: - chownr "^1.1.1" - mkdirp-classic "^0.5.2" - pump "^3.0.0" - tar-stream "^2.1.4" - -tar-stream@^2.1.4: - version "2.2.0" - resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-2.2.0.tgz#acad84c284136b060dc3faa64474aa9aebd77287" - integrity sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ== - dependencies: - bl "^4.0.3" - end-of-stream "^1.4.1" - fs-constants "^1.0.0" - inherits "^2.0.3" - readable-stream "^3.1.1" - terminal-link@^2.0.0: version "2.1.1" resolved "https://registry.yarnpkg.com/terminal-link/-/terminal-link-2.1.1.tgz#14a64a27ab3c0df933ea546fba55f2d078edc994" @@ -6280,11 +5701,6 @@ throat@^6.0.1: resolved "https://registry.yarnpkg.com/throat/-/throat-6.0.1.tgz#d514fedad95740c12c2d7fc70ea863eb51ade375" integrity sha512-8hmiGIJMDlwjg7dlJ4yKGLK8EsYqKgPWbG3b4wjJddKNwc7N7Dpn08Df4szr/sZdMVeOstrdYSsqzX6BYbcB+w== -through@^2.3.8: - version "2.3.8" - resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" - integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= - tmp@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.1.tgz#8457fc3037dcf4719c251367a1af6500ee1ccf14" @@ -6490,19 +5906,6 @@ unbox-primitive@^1.0.2: has-symbols "^1.0.3" which-boxed-primitive "^1.0.2" -unbzip2-stream@1.4.3: - version "1.4.3" - resolved "https://registry.yarnpkg.com/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz#b0da04c4371311df771cdc215e87f2130991ace7" - integrity sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg== - dependencies: - buffer "^5.2.1" - through "^2.3.8" - -unc-path-regex@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/unc-path-regex/-/unc-path-regex-0.1.2.tgz#e73dd3d7b0d7c5ed86fbac6b0ae7d8c6a69d50fa" - integrity sha1-5z3T17DXxe2G+6xrCufYxqadUPo= - underscore@1.6.0: version "1.6.0" resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.6.0.tgz#8b38b10cacdef63337b8b24e4ff86d45aea529a8" @@ -6555,7 +5958,7 @@ url@0.10.3: punycode "1.3.2" querystring "0.2.0" -util-deprecate@^1.0.1, util-deprecate@^1.0.2: +util-deprecate@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8= @@ -6596,13 +5999,6 @@ v8-to-istanbul@^8.1.0: convert-source-map "^1.6.0" source-map "^0.7.3" -v8flags@~3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/v8flags/-/v8flags-3.2.0.tgz#b243e3b4dfd731fa774e7492128109a0fe66d656" - integrity sha512-mH8etigqMfiGWdeXpaaqGfs6BndypxusHHcv2qSHyZkGEznCd/qAXCWWRzeowtL54147cktFOC4P5y+kl8d8Jg== - dependencies: - homedir-polyfill "^1.0.1" - validate-npm-package-license@^3.0.1: version "3.0.4" resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a" @@ -6719,7 +6115,7 @@ which-boxed-primitive@^1.0.2: is-string "^1.0.5" is-symbol "^1.0.3" -which@^1.2.14, which@^1.3.1: +which@^1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== @@ -6770,11 +6166,6 @@ write-file-atomic@^4.0.1: imurmurhash "^0.1.4" signal-exit "^3.0.7" -ws@8.5.0: - version "8.5.0" - resolved "https://registry.yarnpkg.com/ws/-/ws-8.5.0.tgz#bfb4be96600757fe5382de12c670dab984a1ed4f" - integrity sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg== - ws@^7.4.6: version "7.5.7" resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.7.tgz#9e0ac77ee50af70d58326ecff7e85eb3fa375e67" @@ -6873,14 +6264,6 @@ yargs@^17.3.1: y18n "^5.0.5" yargs-parser "^21.0.0" -yauzl@^2.10.0: - version "2.10.0" - resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.10.0.tgz#c7eb17c93e112cb1086fa6d8e51fb0667b79a5f9" - integrity sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk= - dependencies: - buffer-crc32 "~0.2.3" - fd-slicer "~1.1.0" - yn@3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50"