diff --git a/.eslintrc.js b/.eslintrc.js deleted file mode 100644 index f29c5b6..0000000 --- a/.eslintrc.js +++ /dev/null @@ -1,54 +0,0 @@ -module.exports = { - root: true, - parser: '@typescript-eslint/parser', - parserOptions: { - sourceType: 'script', - ecmaVersion: 2021, - tsconfigRootDir: __dirname, - warnOnUnsupportedTypeScriptVersion: false, - }, - env: { - browser: true, - es2021: true, - node: true, - }, - plugins: ['import', 'simple-import-sort', '@typescript-eslint'], - extends: [ - 'eslint:recommended', - 'plugin:import/recommended', - 'plugin:import/typescript', - 'plugin:@typescript-eslint/recommended', - 'prettier', - ], - settings: { - 'import/resolver': { - typescript: { - project: ['tsconfig.json'], - }, - }, - }, - overrides: [ - { - files: ['*.ts'], - parserOptions: { - sourceType: 'module', - project: ['tsconfig.json'], - }, - extends: [ - 'plugin:@typescript-eslint/recommended-requiring-type-checking', - ], - rules: { - 'import/order': 0, - 'sort-imports': 0, - 'simple-import-sort/imports': 1, - }, - }, - ], - rules: { - 'import/order': 1, - 'simple-import-sort/imports': 0, - '@typescript-eslint/no-var-requires': 0, - 'no-console': 1, - 'no-warning-comments': [1, { terms: ['todo', 'fixme', '@@@'] }], - }, -}; diff --git a/.eslintrc.json b/.eslintrc.json index f95bb33..3581fde 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,3 +1,11 @@ { - "extends": "./node_modules/gts/" + "extends": "./node_modules/gts/", + "parser": "@typescript-eslint/parser", + "parserOptions": { + "ecmaVersion": 2021 + }, + "rules": { + "node/no-unpublished-import": "off", + "node/no-unpublished-require": "off" + } } diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..bf50c96 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,10 @@ +version: 2 +updates: + - package-ecosystem: 'github-actions' + directory: '/' + schedule: + interval: 'weekly' + - package-ecosystem: 'yarn' + directory: '/' + schedule: + interval: 'weekly' diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index 3e9d085..0000000 --- a/.prettierrc +++ /dev/null @@ -1,2 +0,0 @@ -singleQuote: true -trailingComma: all diff --git a/eleventy.config.js b/eleventy.config.js index 1ff6362..7ad1cdd 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -1,6 +1,6 @@ 'use strict'; -const { EleventyRenderPlugin } = require('@11ty/eleventy'); +const {EleventyRenderPlugin} = require('@11ty/eleventy'); const { absoluteUrl, convertHtmlToAbsoluteUrls, @@ -13,13 +13,13 @@ const yaml = require('js-yaml'); const componentsPlugin = require('./source/helpers/components/index.ts').default; const datesPlugin = require('./source/helpers/dates.ts').default; -const { liquidEngine, markdownEngine } = require('./source/helpers/engines.ts'); +const {liquidEngine, markdownEngine} = require('./source/helpers/engines.ts'); const pagesPlugin = require('./source/helpers/pages.ts').default; const typePlugin = require('./source/helpers/type.ts').default; const functionPlugin = require('./source/helpers/function.ts').default; /** @param {import('@11ty/eleventy').UserConfig} eleventyConfig */ -module.exports = (eleventyConfig) => { +module.exports = eleventyConfig => { eleventyConfig.addPassthroughCopy('source/assets/dist'); eleventyConfig.addPassthroughCopy('source/assets/img'); eleventyConfig.addPassthroughCopy('source/favicon.ico'); @@ -34,9 +34,7 @@ module.exports = (eleventyConfig) => { eleventyConfig.setLibrary('liquid', liquidEngine); eleventyConfig.setLibrary('md', markdownEngine); - eleventyConfig.addDataExtension('yml, yaml', (contents) => - yaml.load(contents), - ); + eleventyConfig.addDataExtension('yml, yaml', contents => yaml.load(contents)); eleventyConfig.addDataExtension('ts', (_, filepath) => require(filepath)); // register filters and shortcodes @@ -50,12 +48,12 @@ module.exports = (eleventyConfig) => { eleventyConfig.addLiquidFilter('absoluteUrl', absoluteUrl); eleventyConfig.addLiquidFilter( 'getNewestCollectionItemDate', - getNewestCollectionItemDate, + getNewestCollectionItemDate ); eleventyConfig.addLiquidFilter('dateToRfc3339', dateToRfc3339); eleventyConfig.addLiquidFilter( 'htmlToAbsoluteUrls', - convertHtmlToAbsoluteUrls, + convertHtmlToAbsoluteUrls ); // other plugins diff --git a/package.json b/package.json index 3f9a750..64f6686 100644 --- a/package.json +++ b/package.json @@ -62,21 +62,16 @@ "@types/markdown-it-footnote": "^3.0.0", "@types/node": "^16", "@types/prismjs": "^1.26.0", - "@typescript-eslint/eslint-plugin": "^5.60.0", - "@typescript-eslint/parser": "^5.60.0", + "@types/semver": "^7.5.0", "cheerio": "^1.0.0-rc.12", "date-fns": "^2.30.0", "deep-equal": "^2.2.1", - "eslint": "^8.43.0", - "eslint-config-prettier": "^8.8.0", - "eslint-import-resolver-typescript": "^3.5.5", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-simple-import-sort": "^10.0.0", "gts": "^3.1.1", "jquery": "^3.7.0", "jquery-ui": "^1.13.2", "js-yaml": "^4.1.0", "kleur": "^4.1.5", + "liquidjs": "^10.8.3", "lorem-ipsum": "^2.0.8", "markdown-it": "^13.0.1", "markdown-it-anchor": "^8.6.7", @@ -100,12 +95,5 @@ }, "resolutions": { "tslib": ">=2" - }, - "yarn-upgrade-all": { - "ignore": [ - "@sindresorhus/slugify", - "@types/node", - "strip-indent" - ] } } diff --git a/rollup.config.js b/rollup.config.js index 7482282..acc63eb 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -1,9 +1,9 @@ -const { babel } = require('@rollup/plugin-babel'); +const {babel} = require('@rollup/plugin-babel'); const commonjs = require('@rollup/plugin-commonjs'); const inject = require('@rollup/plugin-inject'); -const { nodeResolve } = require('@rollup/plugin-node-resolve'); +const {nodeResolve} = require('@rollup/plugin-node-resolve'); const terser = require('@rollup/plugin-terser'); -const { defineConfig } = require('rollup'); +const {defineConfig} = require('rollup'); const prod = process.env.BABEL_ENV === 'production'; @@ -13,7 +13,7 @@ const plugins = [ browser: true, }), commonjs(), - babel({ extensions: ['.js', '.ts'], babelHelpers: 'bundled' }), + babel({extensions: ['.js', '.ts'], babelHelpers: 'bundled'}), inject({ $: 'jquery', jQuery: 'jquery', diff --git a/source/_data/releases.ts b/source/_data/releases.ts index f68ad48..d17b8d7 100644 --- a/source/_data/releases.ts +++ b/source/_data/releases.ts @@ -1,12 +1,9 @@ -import { - spawn as nodeSpawn, - SpawnOptionsWithoutStdio, -} from 'node:child_process'; +import {spawn as nodeSpawn, SpawnOptionsWithoutStdio} from 'node:child_process'; import fs from 'node:fs/promises'; import deepEqual from 'deep-equal'; import kleur from 'kleur'; -import { compare, parse } from 'semver'; +import {compare, parse} from 'semver'; type VersionCache = Record; @@ -19,7 +16,7 @@ const VERSION_CACHE_PATH = './source/_data/versionCache.json'; const spawn = ( cmd: string, args: string[], - options: SpawnOptionsWithoutStdio, + options: SpawnOptionsWithoutStdio ) => { return new Promise((resolve, reject) => { const child = nodeSpawn(cmd, args, options); @@ -64,7 +61,7 @@ const getCacheFile = async () => { */ const writeCacheFile = async (cache: VersionCache) => { // eslint-disable-next-line no-console - console.info(kleur.green(`[11ty] Writing version cache file...`)); + console.info(kleur.green('[11ty] Writing version cache file...')); await fs.writeFile(VERSION_CACHE_PATH, JSON.stringify(cache)); }; @@ -79,7 +76,7 @@ const getLatestVersion = async (repo: string) => { stdout = (await spawn( 'git', ['ls-remote', '--tags', '--refs', `https://github.com/${repo}`], - { env: { ...process.env, GIT_TERMINAL_PROMPT: '0' } }, + {env: {...process.env, GIT_TERMINAL_PROMPT: '0'}} )) as string; } catch (err) { // eslint-disable-next-line no-console @@ -92,7 +89,7 @@ const getLatestVersion = async (repo: string) => { }; const version = stdout .split('\n') - .map((line) => line.split('refs/tags/').at(-1) ?? '') + .map(line => line.split('refs/tags/').at(-1) ?? '') .filter(isNotPreRelease) .sort(compare) .at(-1); @@ -108,16 +105,16 @@ module.exports = async () => { const cache = await getCacheFile(); const versions = await Promise.all( - repos.map(async (repo) => [ + repos.map(async repo => [ repo, cache[repo] ?? (await getLatestVersion(repo)), - ]), + ]) ); const data = Object.fromEntries( versions.map(([repo, version]) => [ repo.replace('sass/', ''), - { version, url: `https://github.com/${repo}/releases/tag/${version}` }, - ]), + {version, url: `https://github.com/${repo}/releases/tag/${version}`}, + ]) ); const nextCache = Object.fromEntries(versions) as VersionCache; diff --git a/source/assets/js/components/impl-status.ts b/source/assets/js/components/impl-status.ts index 64a123d..66df65b 100644 --- a/source/assets/js/components/impl-status.ts +++ b/source/assets/js/components/impl-status.ts @@ -1,7 +1,8 @@ -$(function () { +$(() => { $('.impl-status').each(function () { const statusBar = $(this); const expandLink = statusBar.find('a'); + // eslint-disable-next-line eqeqeq if (expandLink == null) { return; } @@ -12,7 +13,7 @@ $(function () { } details.hide(); - expandLink.on('click', function () { + expandLink.on('click', () => { details.toggle(); expandLink.toggleClass('expanded'); }); diff --git a/source/assets/js/components/list-navigation.ts b/source/assets/js/components/list-navigation.ts index 6a08935..ab0bc87 100644 --- a/source/assets/js/components/list-navigation.ts +++ b/source/assets/js/components/list-navigation.ts @@ -1,4 +1,4 @@ -$(function () { +$(() => { $('.sl-c-list-navigation-wrapper--collapsible li > ul') .parent() .children('a') diff --git a/source/assets/js/components/navigation.ts b/source/assets/js/components/navigation.ts index 8b681c4..7408b30 100644 --- a/source/assets/js/components/navigation.ts +++ b/source/assets/js/components/navigation.ts @@ -1,5 +1,5 @@ // Documentation Nav Scroll -$(function () { +$(() => { // Vars const nav = $('.sl-c-list-navigation-wrapper'); const sticky = nav.offset(); @@ -18,7 +18,7 @@ $(function () { }; // When scrolling the page, execute stickyNav - $(window).on('scroll', function () { + $(window).on('scroll', () => { stickyNav(); }); diff --git a/source/assets/js/components/redirect.ts b/source/assets/js/components/redirect.ts index b035f2e..78bb955 100644 --- a/source/assets/js/components/redirect.ts +++ b/source/assets/js/components/redirect.ts @@ -339,7 +339,7 @@ const redirects: Record> = { }, }; -const { pathname, hash } = window.location; +const {pathname, hash} = window.location; const match = redirects[pathname]?.[hash]; if (match) { window.location.href = match; diff --git a/source/assets/js/components/sass-syntax-switcher.ts b/source/assets/js/components/sass-syntax-switcher.ts index 381331c..68f6885 100644 --- a/source/assets/js/components/sass-syntax-switcher.ts +++ b/source/assets/js/components/sass-syntax-switcher.ts @@ -1,4 +1,4 @@ -$(function () { +$(() => { $('.code-example').each(function () { const figure = $(this); diff --git a/source/helpers/components/anchors.ts b/source/helpers/components/anchors.ts index 46ff50c..80099e3 100644 --- a/source/helpers/components/anchors.ts +++ b/source/helpers/components/anchors.ts @@ -11,12 +11,12 @@ export const renderPermalink: anchor.PermalinkGenerator = ( slug, opts: anchor.LinkInsideHeaderPermalinkOptions, state, - idx, + idx ) => { // https://github.com/valeriangalliat/markdown-it-anchor/blob/649582d58185b00cfb2ceee9b6b4cd6aafc645b7/permalink.js#L148-L151 const title = state.tokens[idx + 1]?.children ?.filter( - (token: Token) => token.type === 'text' || token.type === 'code_inline', + (token: Token) => token.type === 'text' || token.type === 'code_inline' ) .reduce((acc, t) => acc + t.content, ''); @@ -37,7 +37,7 @@ export const renderPermalink: anchor.PermalinkGenerator = ( }), Object.assign(new state.Token('html_inline', '', 0), { content: opts.symbol, - meta: { isPermalinkSymbol: true }, + meta: {isPermalinkSymbol: true}, }), new state.Token('link_close', 'a', -1), ]; diff --git a/source/helpers/components/codeExample.ts b/source/helpers/components/codeExample.ts index 1384042..86fff3d 100644 --- a/source/helpers/components/codeExample.ts +++ b/source/helpers/components/codeExample.ts @@ -1,7 +1,7 @@ import sass from 'sass'; import stripIndent from 'strip-indent'; -import { liquidEngine } from '../engines'; +import {liquidEngine} from '../engines'; /** * Renders a code example. @@ -55,7 +55,7 @@ export default async function codeExample( contents: string, exampleName: string, autogenCSS = true, - syntax: 'sass' | 'scss' | null = null, + syntax: 'sass' | 'scss' | null = null ) { if (!exampleName) { throw new Error('`{% codeExample %}` tags require a unique name.'); @@ -70,7 +70,7 @@ export default async function codeExample( const generateCodeExample = ( text: string, autogenCSS: boolean, - syntax: 'sass' | 'scss' | null, + syntax: 'sass' | 'scss' | null ) => { const contents = stripIndent(text); const splitContents = contents.split('\n===\n'); @@ -96,9 +96,9 @@ const generateCodeExample = ( } const scssExamples = - scssContents?.split('\n---\n').map((str) => str.trim()) ?? []; + scssContents?.split('\n---\n').map(str => str.trim()) ?? []; const sassExamples = - sassContents?.split('\n---\n').map((str) => str.trim()) ?? []; + sassContents?.split('\n---\n').map(str => str.trim()) ?? []; if (!cssContents && autogenCSS) { const sections = scssContents ? scssExamples : sassExamples; @@ -114,18 +114,18 @@ const generateCodeExample = ( } const cssExamples = - cssContents?.split('\n---\n').map((str) => str.trim()) ?? []; + cssContents?.split('\n---\n').map(str => str.trim()) ?? []; - const { scssPaddings, sassPaddings, cssPaddings } = getPaddings( + const {scssPaddings, sassPaddings, cssPaddings} = getPaddings( scssExamples, sassExamples, - cssExamples, + cssExamples ); - const { canSplit, maxSourceWidth, maxCSSWidth } = getCanSplit( + const {canSplit, maxSourceWidth, maxCSSWidth} = getCanSplit( scssExamples, sassExamples, - cssExamples, + cssExamples ); let splitLocation: number | null = null; if (canSplit) { @@ -156,7 +156,7 @@ const generateCodeExample = ( const getPaddings = ( scssExamples: string[], sassExamples: string[], - cssExamples: string[], + cssExamples: string[] ) => { const scssPaddings: number[] = []; const sassPaddings: number[] = []; @@ -164,9 +164,9 @@ const getPaddings = ( const maxSections = Math.max( scssExamples.length, sassExamples.length, - cssExamples.length, + cssExamples.length ); - Array.from({ length: maxSections }).forEach((_, i) => { + Array.from({length: maxSections}).forEach((_, i) => { const scssLines = (scssExamples[i] || '').split('\n').length; const sassLines = (sassExamples[i] || '').split('\n').length; const cssLines = (cssExamples[i] || '').split('\n').length; @@ -181,7 +181,7 @@ const getPaddings = ( const maxLines = Math.max( isLastScssSection ? 0 : scssLines, isLastSassSection ? 0 : sassLines, - isLastCssSection ? 0 : cssLines, + isLastCssSection ? 0 : cssLines ); scssPaddings.push( @@ -191,7 +191,7 @@ const getPaddings = ( comparisonB: cssExamples.slice(i), lines: scssLines, maxLines, - }), + }) ); sassPaddings.push( @@ -201,7 +201,7 @@ const getPaddings = ( comparisonB: cssExamples.slice(i), lines: sassLines, maxLines, - }), + }) ); cssPaddings.push( @@ -211,11 +211,11 @@ const getPaddings = ( comparisonB: sassExamples.slice(i), lines: cssLines, maxLines, - }), + }) ); }); - return { scssPaddings, sassPaddings, cssPaddings }; + return {scssPaddings, sassPaddings, cssPaddings}; }; /** @@ -260,7 +260,7 @@ const getTotalPadding = (sections1: string[], sections2: string[]) => { sum + Math.max( (sections1[i] || '').split('\n').length, - (sections2[i] || '').split('\n').length, + (sections2[i] || '').split('\n').length ) + 2 ); @@ -270,15 +270,13 @@ const getTotalPadding = (sections1: string[], sections2: string[]) => { const getCanSplit = ( scssExamples: string[], sassExamples: string[], - cssExamples: string[], + cssExamples: string[] ) => { const exampleSourceLengths = [...scssExamples, ...sassExamples].flatMap( - (source) => source.split('\n').map((line) => line.length), + source => source.split('\n').map(line => line.length) ); const cssSourceLengths = cssExamples.length - ? cssExamples.flatMap((source) => - source.split('\n').map((line) => line.length), - ) + ? cssExamples.flatMap(source => source.split('\n').map(line => line.length)) : [0]; const maxSourceWidth = Math.max(...exampleSourceLengths); diff --git a/source/helpers/components/compatibility.ts b/source/helpers/components/compatibility.ts index bb64f50..e40d640 100644 --- a/source/helpers/components/compatibility.ts +++ b/source/helpers/components/compatibility.ts @@ -1,6 +1,6 @@ import stripIndent from 'strip-indent'; -import { liquidEngine } from '../engines'; +import {liquidEngine} from '../engines'; /** * Renders a status dashboard for each implementation's support for a feature. @@ -42,11 +42,11 @@ interface CompatibilityOptions { const extend = < K extends keyof CompatibilityOptions, - V extends CompatibilityOptions[K], + V extends CompatibilityOptions[K] >( value: V, obj: CompatibilityOptions, - key: K, + key: K ) => { obj[key] = value; }; @@ -72,13 +72,13 @@ const parseCompatibilityOpts = (...args: string[]): CompatibilityOptions => { if (typeof arg !== 'string') { throw new Error( // eslint-disable-next-line @typescript-eslint/restrict-template-expressions - `Received non-string argument to {% compatibility %} tag: ${arg}`, + `Received non-string argument to {% compatibility %} tag: ${arg}` ); } const match = arg.match(keyValueRegex); if (!match) { throw new Error( - `Arguments should be in the format 'key:value'; received ${arg}.`, + `Arguments should be in the format 'key:value'; received ${arg}.` ); } const key: string = match[1].trim(); @@ -90,7 +90,7 @@ const parseCompatibilityOpts = (...args: string[]): CompatibilityOptions => { throw new Error( `Unable to parse argument ${key} with value ${ value as string - }. Try wrapping it in double quotes: ${key}:"${value as string}"`, + }. Try wrapping it in double quotes: ${key}:"${value as string}"` ); } if (key && Object.hasOwn(opts, key)) { @@ -98,7 +98,7 @@ const parseCompatibilityOpts = (...args: string[]): CompatibilityOptions => { } else { throw new Error( // eslint-disable-next-line @typescript-eslint/restrict-template-expressions - `Received unexpected argument to {% compatibility %} tag: ${arg}`, + `Received unexpected argument to {% compatibility %} tag: ${arg}` ); } } diff --git a/source/helpers/components/index.ts b/source/helpers/components/index.ts index 1994efb..d332a2c 100644 --- a/source/helpers/components/index.ts +++ b/source/helpers/components/index.ts @@ -1,15 +1,15 @@ -import { highlight, languages } from 'prismjs'; +import {highlight, languages} from 'prismjs'; import PrismLoader from 'prismjs/components/index'; import stripIndent from 'strip-indent'; -import { liquidEngine } from '../engines'; -import { default as codeExample } from './codeExample'; -import { compatibility, implStatus } from './compatibility'; -import { getDocTocData, getToc } from './toc'; +import {liquidEngine} from '../engines'; +import {default as codeExample} from './codeExample'; +import {compatibility, implStatus} from './compatibility'; +import {getDocTocData, getToc} from './toc'; -export { codeExample }; -export { compatibility, implStatus }; -export { getDocTocData, getToc }; +export {codeExample}; +export {compatibility, implStatus}; +export {getDocTocData, getToc}; /** * Returns HTML for a fun fact that's not directly relevant to the main diff --git a/source/helpers/components/toc.ts b/source/helpers/components/toc.ts index d584753..9eef68a 100644 --- a/source/helpers/components/toc.ts +++ b/source/helpers/components/toc.ts @@ -9,11 +9,11 @@ type TOCItem = { */ export const getDocTocData = (data: TOCItem) => { const text = Object.keys(data).filter( - (key) => ![':children', ':expanded'].includes(key), + key => ![':children', ':expanded'].includes(key) )[0]; const href = data[text] as string; const expanded = Boolean(data[':expanded']); - return { text, href, expanded }; + return {text, href, expanded}; }; /** @@ -41,7 +41,7 @@ export const getToc = (html: string, topLevelTotal: number): TOCItem[] => { const level = parseInt(h.name[1], 10); const title = $(h).html() as string; const id = $(h).attr('id') as string; - const tocItem: TOCItem = { [title]: `#${id}` }; + const tocItem: TOCItem = {[title]: `#${id}`}; byLevel[level].push(tocItem); if (level === 2) { toc.push(tocItem); diff --git a/source/helpers/engines.ts b/source/helpers/engines.ts index 1f3dcca..06015c0 100644 --- a/source/helpers/engines.ts +++ b/source/helpers/engines.ts @@ -1,5 +1,5 @@ import slugify from '@sindresorhus/slugify'; -import { Liquid } from 'liquidjs'; +import {Liquid} from 'liquidjs'; import markdown from 'markdown-it'; import markdownAnchor from 'markdown-it-anchor'; import markdownItAttrs from 'markdown-it-attrs'; @@ -7,7 +7,7 @@ import markdownDefList from 'markdown-it-deflist'; import markdownItFootnote from 'markdown-it-footnote'; import path from 'path'; -import { renderPermalink } from './components/anchors'; +import {renderPermalink} from './components/anchors'; /** * Returns Markdown engine with custom configuration and plugins. @@ -27,7 +27,7 @@ export const markdownEngine = markdown({ .use(markdownAnchor, { level: 2, permalink: renderPermalink, - slugify: (s) => slugify(s), + slugify: s => slugify(s), }); /** diff --git a/source/helpers/function.ts b/source/helpers/function.ts index 1687810..df51284 100644 --- a/source/helpers/function.ts +++ b/source/helpers/function.ts @@ -1,8 +1,8 @@ import * as cheerio from 'cheerio'; import stripIndent from 'strip-indent'; -import { codeBlock } from './components'; -import { liquidEngine } from './engines'; +import {codeBlock} from './components'; +import {liquidEngine} from './engines'; const links: Record = { number: '/documentation/values/numbers', @@ -21,7 +21,7 @@ const links: Record = { const returnTypeLink = (returnType: string) => returnType .split('|') - .map((type) => { + .map(type => { type = type.trim(); const link = links[type]; if (!link) { @@ -49,7 +49,7 @@ export function _function(content: string, ...signatures: string[]) { // Highlight each signature const names: string[] = []; - const highlightedSignatures = signatures.map((signature) => { + const highlightedSignatures = signatures.map(signature => { signature = stripIndent(signature).trim(); const [name] = signature.split('(', 2); const nameWithoutNamespace = name.split('.').at(-1) || name; @@ -63,7 +63,7 @@ export function _function(content: string, ...signatures: string[]) { names.push(nameWithoutNamespace); const nameEl = signatureElements .filter((index, element) => { - return $(element).text() == nameWithoutNamespace; + return $(element).text() === nameWithoutNamespace; }) .eq(0); nameEl.addClass('docSearch-function'); @@ -71,7 +71,7 @@ export function _function(content: string, ...signatures: string[]) { } return signatureElements .toArray() - .map((el) => $.html(el)) + .map(el => $.html(el)) .join('') .trim(); }); diff --git a/source/helpers/type.ts b/source/helpers/type.ts index ffe8691..ee8ab42 100644 --- a/source/helpers/type.ts +++ b/source/helpers/type.ts @@ -1,9 +1,9 @@ -import { LoremIpsum } from 'lorem-ipsum'; +import {LoremIpsum} from 'lorem-ipsum'; import stripIndent from 'strip-indent'; import truncate from 'truncate-html'; -import { typogrify } from 'typogr'; +import {typogrify} from 'typogr'; -import { markdownEngine } from './engines'; +import {markdownEngine} from './engines'; const lorem = new LoremIpsum(); @@ -33,7 +33,7 @@ export const getLorem = (type: string, number = 1) => { * @see https://github.com/oe/truncate-html */ export const truncateHTML = (html: string, words = 170) => - truncate(html, words, { byWords: true, keepWhitespaces: true }); + truncate(html, words, {byWords: true, keepWhitespaces: true}); /** * Renders block of Markdown into HTML. diff --git a/tool/typedoc-theme.js b/tool/typedoc-theme.js index 23699b2..a62f7c6 100644 --- a/tool/typedoc-theme.js +++ b/tool/typedoc-theme.js @@ -1,4 +1,5 @@ -const { DefaultTheme, DefaultThemeRenderContext, JSX } = require('typedoc'); +// eslint-disable-next-line node/no-missing-require +const {DefaultTheme, DefaultThemeRenderContext, JSX} = require('typedoc'); function bind(fn, first) { return (...r) => fn(first, ...r); @@ -11,7 +12,7 @@ function bind(fn, first) { function parseCompatibility(input) { return input .split(',') - .map((arg) => `'${arg.trim()}'`) + .map(arg => `'${arg.trim()}'`) .join(', '); } @@ -21,16 +22,16 @@ class SassSiteRenderContext extends DefaultThemeRenderContext { // doesn't work. Instead, we emit each overload as a separate entry with its // own panel. oldMember = this.member; - member = bind(function (context, props) { + member = bind((context, props) => { const signatures = props?.signatures; if (signatures && signatures.length > 1) { const element = JSX.createElement( JSX.Fragment, null, - ...signatures.map((signature) => { + ...signatures.map(signature => { props.signatures = [signature]; return context.oldMember(props); - }), + }) ); props.signatures = signatures; return element; @@ -44,7 +45,7 @@ class SassSiteRenderContext extends DefaultThemeRenderContext { comment = bind((context, props) => { if (!props.comment) return; const compatibilityTags = props.comment.blockTags.filter( - (tag) => tag.tag === '@compatibility', + tag => tag.tag === '@compatibility' ); props.comment.removeTags('@compatibility'); @@ -52,7 +53,7 @@ class SassSiteRenderContext extends DefaultThemeRenderContext { if (!parent) return; parent.children.unshift( - ...compatibilityTags.map((compat) => { + ...compatibilityTags.map(compat => { // Compatibility tags should have a single text block. const text = compat.content[0].text; @@ -60,13 +61,13 @@ class SassSiteRenderContext extends DefaultThemeRenderContext { // after that is the contents of the block. const lineBreak = text.indexOf('\n'); const compatibilityArgs = parseCompatibility( - lineBreak === -1 ? text : text.substring(0, lineBreak), + lineBreak === -1 ? text : text.substring(0, lineBreak) ); const restOfFirst = lineBreak === -1 ? null : text.substring(lineBreak + 1); const rest = [ - ...(restOfFirst ? [{ kind: 'text', text: restOfFirst }] : []), + ...(restOfFirst ? [{kind: 'text', text: restOfFirst}] : []), ...compat.content.slice(1), ]; @@ -76,7 +77,7 @@ class SassSiteRenderContext extends DefaultThemeRenderContext { (rest ? context.markdown(rest) : '') + '{% endcompatibility %}', }); - }), + }) ); return parent; @@ -91,25 +92,25 @@ class SassSiteRenderContext extends DefaultThemeRenderContext { .oldMarkdown(text) .replace( /

Heads up!<\/strong>([^]*?)<\/p>/g, - '{% headsUp %}$1{% endheadsUp %}', + '{% headsUp %}$1{% endheadsUp %}' ) .replace( /

Fun fact!<\/strong>([^]*?)<\/p>/g, - '{% funFact %}$1{% endfunFact %}', + '{% funFact %}$1{% endfunFact %}' ), - this, + this ); // Relative URLs don't work well for index pages since they can be rendered at // different directory levels, so we just convert all URLs to absolute to be // safe. oldUrlTo = this.urlTo; - urlTo = bind(function (context, reflection) { + urlTo = bind((context, reflection) => { const relative = context.oldUrlTo(reflection); const absolute = new URL( relative, - `relative:///documentation/js-api/${context.theme.markedPlugin.location}`, + `relative:///documentation/js-api/${context.theme.markedPlugin.location}` ); absolute.pathname = absolute.pathname .replace(/\.html$/, '') @@ -123,7 +124,7 @@ class SassSiteTheme extends DefaultTheme { this.contextCache ??= new SassSiteRenderContext( this, page, - this.application.options, + this.application.options ); return this.contextCache; } @@ -135,7 +136,7 @@ class SassSiteTheme extends DefaultTheme { // render title on its own. const breadcrumb = page.model.parent ? `

    ${JSX.renderElement( - context.breadcrumb(page.model), + context.breadcrumb(page.model) )}
` : ''; const heading = @@ -145,7 +146,7 @@ class SassSiteTheme extends DefaultTheme { page.model.name + (page.model.typeParameters ? `<${page.model.typeParameters - .map((item) => item.name) + .map(item => item.name) .join(', ')}>` : ''); @@ -182,7 +183,7 @@ title: ${JSON.stringify(`${page.model.name} | JS API`)} } } -exports.load = (app) => { +exports.load = app => { app.converter.addUnknownSymbolResolver((ref, refl, part, symbolId) => { if (!symbolId) return; const name = symbolId.qualifiedName; diff --git a/yarn.lock b/yarn.lock index f650b3e..ce9c0a3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1543,24 +1543,6 @@ __metadata: languageName: node linkType: hard -"@eslint-community/eslint-utils@npm:^4.2.0": - version: 4.4.0 - resolution: "@eslint-community/eslint-utils@npm:4.4.0" - dependencies: - eslint-visitor-keys: ^3.3.0 - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 - checksum: cdfe3ae42b4f572cbfb46d20edafe6f36fc5fb52bf2d90875c58aefe226892b9677fef60820e2832caf864a326fe4fc225714c46e8389ccca04d5f9288aabd22 - languageName: node - linkType: hard - -"@eslint-community/regexpp@npm:^4.4.0": - version: 4.5.1 - resolution: "@eslint-community/regexpp@npm:4.5.1" - checksum: 6d901166d64998d591fab4db1c2f872981ccd5f6fe066a1ad0a93d4e11855ecae6bfb76660869a469563e8882d4307228cebd41142adb409d182f2966771e57e - languageName: node - linkType: hard - "@eslint/eslintrc@npm:^0.4.3": version: 0.4.3 resolution: "@eslint/eslintrc@npm:0.4.3" @@ -1578,41 +1560,6 @@ __metadata: languageName: node linkType: hard -"@eslint/eslintrc@npm:^2.0.3": - version: 2.0.3 - resolution: "@eslint/eslintrc@npm:2.0.3" - dependencies: - ajv: ^6.12.4 - debug: ^4.3.2 - espree: ^9.5.2 - globals: ^13.19.0 - ignore: ^5.2.0 - import-fresh: ^3.2.1 - js-yaml: ^4.1.0 - minimatch: ^3.1.2 - strip-json-comments: ^3.1.1 - checksum: ddc51f25f8524d8231db9c9bf03177e503d941a332e8d5ce3b10b09241be4d5584a378a529a27a527586bfbccf3031ae539eb891352033c340b012b4d0c81d92 - languageName: node - linkType: hard - -"@eslint/js@npm:8.43.0": - version: 8.43.0 - resolution: "@eslint/js@npm:8.43.0" - checksum: 580487a09c82ac169744d36e4af77bc4f582c9a37749d1e9481eb93626c8f3991b2390c6e4e69e5642e3b6e870912b839229a0e23594fae348156ea5a8ed7e2e - languageName: node - linkType: hard - -"@humanwhocodes/config-array@npm:^0.11.10": - version: 0.11.10 - resolution: "@humanwhocodes/config-array@npm:0.11.10" - dependencies: - "@humanwhocodes/object-schema": ^1.2.1 - debug: ^4.1.1 - minimatch: ^3.0.5 - checksum: 1b1302e2403d0e35bc43e66d67a2b36b0ad1119efc704b5faff68c41f791a052355b010fb2d27ef022670f550de24cd6d08d5ecf0821c16326b7dcd0ee5d5d8a - languageName: node - linkType: hard - "@humanwhocodes/config-array@npm:^0.5.0": version: 0.5.0 resolution: "@humanwhocodes/config-array@npm:0.5.0" @@ -1624,14 +1571,7 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/module-importer@npm:^1.0.1": - version: 1.0.1 - resolution: "@humanwhocodes/module-importer@npm:1.0.1" - checksum: 0fd22007db8034a2cdf2c764b140d37d9020bbfce8a49d3ec5c05290e77d4b0263b1b972b752df8c89e5eaa94073408f2b7d977aed131faf6cf396ebb5d7fb61 - languageName: node - linkType: hard - -"@humanwhocodes/object-schema@npm:^1.2.0, @humanwhocodes/object-schema@npm:^1.2.1": +"@humanwhocodes/object-schema@npm:^1.2.0": version: 1.2.1 resolution: "@humanwhocodes/object-schema@npm:1.2.1" checksum: a824a1ec31591231e4bad5787641f59e9633827d0a2eaae131a288d33c9ef0290bd16fda8da6f7c0fcb014147865d12118df10db57f27f41e20da92369fcb3f1 @@ -1752,7 +1692,7 @@ __metadata: languageName: node linkType: hard -"@nodelib/fs.walk@npm:^1.2.3, @nodelib/fs.walk@npm:^1.2.8": +"@nodelib/fs.walk@npm:^1.2.3": version: 1.2.8 resolution: "@nodelib/fs.walk@npm:1.2.8" dependencies: @@ -1778,20 +1718,6 @@ __metadata: languageName: node linkType: hard -"@pkgr/utils@npm:^2.3.1": - version: 2.4.1 - resolution: "@pkgr/utils@npm:2.4.1" - dependencies: - cross-spawn: ^7.0.3 - fast-glob: ^3.2.12 - is-glob: ^4.0.3 - open: ^9.1.0 - picocolors: ^1.0.0 - tslib: ^2.5.0 - checksum: 654682860272541a40485b01e0763b155ec31faeba85b2c51e38b59c4ff1f8918c37b87b5ecbda3ff482d8486eba086e92b991fe4a8ed62efbbbdf83c0f64409 - languageName: node - linkType: hard - "@rollup/plugin-babel@npm:^6.0.3": version: 6.0.3 resolution: "@rollup/plugin-babel@npm:6.0.3" @@ -1993,20 +1919,13 @@ __metadata: languageName: node linkType: hard -"@types/json-schema@npm:^7.0.7, @types/json-schema@npm:^7.0.9": +"@types/json-schema@npm:^7.0.7": version: 7.0.12 resolution: "@types/json-schema@npm:7.0.12" checksum: 00239e97234eeb5ceefb0c1875d98ade6e922bfec39dd365ec6bd360b5c2f825e612ac4f6e5f1d13601b8b30f378f15e6faa805a3a732f4a1bbe61915163d293 languageName: node linkType: hard -"@types/json5@npm:^0.0.29": - version: 0.0.29 - resolution: "@types/json5@npm:0.0.29" - checksum: e60b153664572116dfea673c5bda7778dbff150498f44f998e34b5886d8afc47f16799280e4b6e241c0472aef1bc36add771c569c68fc5125fc2ae519a3eb9ac - languageName: node - linkType: hard - "@types/linkify-it@npm:*": version: 3.0.2 resolution: "@types/linkify-it@npm:3.0.2" @@ -2098,7 +2017,7 @@ __metadata: languageName: node linkType: hard -"@types/semver@npm:^7.3.12": +"@types/semver@npm:^7.5.0": version: 7.5.0 resolution: "@types/semver@npm:7.5.0" checksum: 0a64b9b9c7424d9a467658b18dd70d1d781c2d6f033096a6e05762d20ebbad23c1b69b0083b0484722aabf35640b78ccc3de26368bcae1129c87e9df028a22e2 @@ -2134,30 +2053,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^5.60.0": - version: 5.60.0 - resolution: "@typescript-eslint/eslint-plugin@npm:5.60.0" - dependencies: - "@eslint-community/regexpp": ^4.4.0 - "@typescript-eslint/scope-manager": 5.60.0 - "@typescript-eslint/type-utils": 5.60.0 - "@typescript-eslint/utils": 5.60.0 - debug: ^4.3.4 - grapheme-splitter: ^1.0.4 - ignore: ^5.2.0 - natural-compare-lite: ^1.4.0 - semver: ^7.3.7 - tsutils: ^3.21.0 - peerDependencies: - "@typescript-eslint/parser": ^5.0.0 - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 61dd70a1ea9787e69d0d4cd14f6a4c94ba786b535a3f519ade7926d965ee1d4f8fefa8bf0224ee57c5c6517eec3674c0fd06f9226536aa428c2bdddeed1e70f4 - languageName: node - linkType: hard - "@typescript-eslint/experimental-utils@npm:4.33.0": version: 4.33.0 resolution: "@typescript-eslint/experimental-utils@npm:4.33.0" @@ -2191,23 +2086,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/parser@npm:^5.60.0": - version: 5.60.0 - resolution: "@typescript-eslint/parser@npm:5.60.0" - dependencies: - "@typescript-eslint/scope-manager": 5.60.0 - "@typescript-eslint/types": 5.60.0 - "@typescript-eslint/typescript-estree": 5.60.0 - debug: ^4.3.4 - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 94e7931a5b356b16638b281b8e1d661f8b1660f0c75a323537f68b311dae91b7a575a0a019d4ea05a79cc5d42b5cb41cc367205691cdfd292ef96a3b66b1e58b - languageName: node - linkType: hard - "@typescript-eslint/scope-manager@npm:4.33.0": version: 4.33.0 resolution: "@typescript-eslint/scope-manager@npm:4.33.0" @@ -2218,33 +2096,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:5.60.0": - version: 5.60.0 - resolution: "@typescript-eslint/scope-manager@npm:5.60.0" - dependencies: - "@typescript-eslint/types": 5.60.0 - "@typescript-eslint/visitor-keys": 5.60.0 - checksum: b21ee1ef57be948a806aa31fd65a9186766b3e1a727030dc47025edcadc54bd1aa6133a439acd5f44a93e2b983dd55bc5571bb01cb834461dab733682d66256a - languageName: node - linkType: hard - -"@typescript-eslint/type-utils@npm:5.60.0": - version: 5.60.0 - resolution: "@typescript-eslint/type-utils@npm:5.60.0" - dependencies: - "@typescript-eslint/typescript-estree": 5.60.0 - "@typescript-eslint/utils": 5.60.0 - debug: ^4.3.4 - tsutils: ^3.21.0 - peerDependencies: - eslint: "*" - peerDependenciesMeta: - typescript: - optional: true - checksum: b90ce97592f2db899d88d7a325fec4d2ea11a7b8b4306787310890c27fb51862a6c003675252e9dc465908f791ad5320ea7307260ecd10e89ca1d209fbf8616d - languageName: node - linkType: hard - "@typescript-eslint/types@npm:4.33.0": version: 4.33.0 resolution: "@typescript-eslint/types@npm:4.33.0" @@ -2252,13 +2103,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/types@npm:5.60.0": - version: 5.60.0 - resolution: "@typescript-eslint/types@npm:5.60.0" - checksum: 48f29e5c084c5663cfed1a6c4458799a6690a213e7861a24501f9b96698ae59e89a1df1c77e481777e4da78f1b0a5573a549f7b8880e3f4071a7a8b686254db8 - languageName: node - linkType: hard - "@typescript-eslint/typescript-estree@npm:4.33.0": version: 4.33.0 resolution: "@typescript-eslint/typescript-estree@npm:4.33.0" @@ -2277,42 +2121,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:5.60.0": - version: 5.60.0 - resolution: "@typescript-eslint/typescript-estree@npm:5.60.0" - dependencies: - "@typescript-eslint/types": 5.60.0 - "@typescript-eslint/visitor-keys": 5.60.0 - debug: ^4.3.4 - globby: ^11.1.0 - is-glob: ^4.0.3 - semver: ^7.3.7 - tsutils: ^3.21.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 0f4f342730ead42ba60b5fca4bf1950abebd83030010c38b5df98ff9fd95d0ce1cfc3974a44c90c65f381f4f172adcf1a540e018d7968cc845d937bf6c734dae - languageName: node - linkType: hard - -"@typescript-eslint/utils@npm:5.60.0": - version: 5.60.0 - resolution: "@typescript-eslint/utils@npm:5.60.0" - dependencies: - "@eslint-community/eslint-utils": ^4.2.0 - "@types/json-schema": ^7.0.9 - "@types/semver": ^7.3.12 - "@typescript-eslint/scope-manager": 5.60.0 - "@typescript-eslint/types": 5.60.0 - "@typescript-eslint/typescript-estree": 5.60.0 - eslint-scope: ^5.1.1 - semver: ^7.3.7 - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - checksum: cbe56567f0b53e24ad7ef7d2fb4cdc8596e2559c21ee639aa0560879b6216208550e51e9d8ae4b388ff21286809c6dc985cec66738294871051396a8ae5bccbc - languageName: node - linkType: hard - "@typescript-eslint/visitor-keys@npm:4.33.0": version: 4.33.0 resolution: "@typescript-eslint/visitor-keys@npm:4.33.0" @@ -2323,16 +2131,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:5.60.0": - version: 5.60.0 - resolution: "@typescript-eslint/visitor-keys@npm:5.60.0" - dependencies: - "@typescript-eslint/types": 5.60.0 - eslint-visitor-keys: ^3.3.0 - checksum: d39b2485d030f9755820d0f6f3748a8ec44e1ca23cb36ddcba67a9eb1f258c8ec83c61fc015c50e8f4a00d05df62d719dbda445625e3e71a64a659f1d248157e - languageName: node - linkType: hard - "a-sync-waterfall@npm:^1.0.0": version: 1.0.1 resolution: "a-sync-waterfall@npm:1.0.1" @@ -2347,7 +2145,7 @@ __metadata: languageName: node linkType: hard -"acorn-jsx@npm:^5.3.1, acorn-jsx@npm:^5.3.2": +"acorn-jsx@npm:^5.3.1": version: 5.3.2 resolution: "acorn-jsx@npm:5.3.2" peerDependencies: @@ -2372,7 +2170,7 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.4.1, acorn@npm:^8.8.0, acorn@npm:^8.8.2": +"acorn@npm:^8.4.1, acorn@npm:^8.8.2": version: 8.9.0 resolution: "acorn@npm:8.9.0" bin: @@ -2571,19 +2369,6 @@ __metadata: languageName: node linkType: hard -"array-includes@npm:^3.1.6": - version: 3.1.6 - resolution: "array-includes@npm:3.1.6" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 - get-intrinsic: ^1.1.3 - is-string: ^1.0.7 - checksum: f22f8cd8ba8a6448d91eebdc69f04e4e55085d09232b5216ee2d476dab3ef59984e8d1889e662c6a0ed939dcb1b57fd05b2c0209c3370942fc41b752c82a2ca5 - languageName: node - linkType: hard - "array-union@npm:^1.0.1": version: 1.0.2 resolution: "array-union@npm:1.0.2" @@ -2607,30 +2392,6 @@ __metadata: languageName: node linkType: hard -"array.prototype.flat@npm:^1.3.1": - version: 1.3.1 - resolution: "array.prototype.flat@npm:1.3.1" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 - es-shim-unscopables: ^1.0.0 - checksum: 5a8415949df79bf6e01afd7e8839bbde5a3581300e8ad5d8449dea52639e9e59b26a467665622783697917b43bf39940a6e621877c7dd9b3d1c1f97484b9b88b - languageName: node - linkType: hard - -"array.prototype.flatmap@npm:^1.3.1": - version: 1.3.1 - resolution: "array.prototype.flatmap@npm:1.3.1" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 - es-shim-unscopables: ^1.0.0 - checksum: 8c1c43a4995f12cf12523436da28515184c753807b3f0bc2ca6c075f71c470b099e2090cc67dba8e5280958fea401c1d0c59e1db0143272aef6cd1103921a987 - languageName: node - linkType: hard - "arrify@npm:^1.0.0, arrify@npm:^1.0.1": version: 1.0.1 resolution: "arrify@npm:1.0.1" @@ -2774,13 +2535,6 @@ __metadata: languageName: node linkType: hard -"big-integer@npm:^1.6.44": - version: 1.6.51 - resolution: "big-integer@npm:1.6.51" - checksum: 3d444173d1b2e20747e2c175568bedeebd8315b0637ea95d75fd27830d3b8e8ba36c6af40374f36bdaea7b5de376dcada1b07587cb2a79a928fccdb6e6e3c518 - languageName: node - linkType: hard - "binary-extensions@npm:^2.0.0": version: 2.2.0 resolution: "binary-extensions@npm:2.2.0" @@ -2795,15 +2549,6 @@ __metadata: languageName: node linkType: hard -"bplist-parser@npm:^0.2.0": - version: 0.2.0 - resolution: "bplist-parser@npm:0.2.0" - dependencies: - big-integer: ^1.6.44 - checksum: d5339dd16afc51de6c88f88f58a45b72ed6a06aa31f5557d09877575f220b7c1d3fbe375da0b62e6a10d4b8ed80523567e351f24014f5bc886ad523758142cdd - languageName: node - linkType: hard - "brace-expansion@npm:^1.1.7": version: 1.1.11 resolution: "brace-expansion@npm:1.1.11" @@ -2860,15 +2605,6 @@ __metadata: languageName: node linkType: hard -"bundle-name@npm:^3.0.0": - version: 3.0.0 - resolution: "bundle-name@npm:3.0.0" - dependencies: - run-applescript: ^5.0.0 - checksum: edf2b1fbe6096ed32e7566947ace2ea937ee427391744d7510a2880c4b9a5b3543d3f6c551236a29e5c87d3195f8e2912516290e638c15bcbede7b37cc375615 - languageName: node - linkType: hard - "cacache@npm:^17.0.0": version: 17.1.3 resolution: "cacache@npm:17.1.3" @@ -3328,7 +3064,7 @@ __metadata: languageName: node linkType: hard -"debug@npm:4, debug@npm:^4.0.1, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.3, debug@npm:^4.3.4": +"debug@npm:4, debug@npm:^4.0.1, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.3, debug@npm:^4.3.4": version: 4.3.4 resolution: "debug@npm:4.3.4" dependencies: @@ -3340,15 +3076,6 @@ __metadata: languageName: node linkType: hard -"debug@npm:^3.2.7": - version: 3.2.7 - resolution: "debug@npm:3.2.7" - dependencies: - ms: ^2.1.1 - checksum: b3d8c5940799914d30314b7c3304a43305fd0715581a919dacb8b3176d024a782062368405b47491516d2091d6462d4d11f2f4974a405048094f8bfebfa3071c - languageName: node - linkType: hard - "decamelize-keys@npm:^1.1.0": version: 1.1.1 resolution: "decamelize-keys@npm:1.1.1" @@ -3406,35 +3133,6 @@ __metadata: languageName: node linkType: hard -"default-browser-id@npm:^3.0.0": - version: 3.0.0 - resolution: "default-browser-id@npm:3.0.0" - dependencies: - bplist-parser: ^0.2.0 - untildify: ^4.0.0 - checksum: 279c7ad492542e5556336b6c254a4eaf31b2c63a5433265655ae6e47301197b6cfb15c595a6fdc6463b2ff8e1a1a1ed3cba56038a60e1527ba4ab1628c6b9941 - languageName: node - linkType: hard - -"default-browser@npm:^4.0.0": - version: 4.0.0 - resolution: "default-browser@npm:4.0.0" - dependencies: - bundle-name: ^3.0.0 - default-browser-id: ^3.0.0 - execa: ^7.1.1 - titleize: ^3.0.0 - checksum: 40c5af984799042b140300be5639c9742599bda76dc9eba5ac9ad5943c83dd36cebc4471eafcfddf8e0ec817166d5ba89d56f08e66a126c7c7908a179cead1a7 - languageName: node - linkType: hard - -"define-lazy-prop@npm:^3.0.0": - version: 3.0.0 - resolution: "define-lazy-prop@npm:3.0.0" - checksum: 54884f94caac0791bf6395a3ec530ce901cf71c47b0196b8754f3fd17edb6c0e80149c1214429d851873bb0d689dbe08dcedbb2306dc45c8534a5934723851b6 - languageName: node - linkType: hard - "define-properties@npm:^1.1.3, define-properties@npm:^1.1.4, define-properties@npm:^1.2.0": version: 1.2.0 resolution: "define-properties@npm:1.2.0" @@ -3491,15 +3189,6 @@ __metadata: languageName: node linkType: hard -"doctrine@npm:^2.1.0": - version: 2.1.0 - resolution: "doctrine@npm:2.1.0" - dependencies: - esutils: ^2.0.2 - checksum: a45e277f7feaed309fe658ace1ff286c6e2002ac515af0aaf37145b8baa96e49899638c7cd47dccf84c3d32abfc113246625b3ac8f552d1046072adee13b0dc8 - languageName: node - linkType: hard - "doctrine@npm:^3.0.0": version: 3.0.0 resolution: "doctrine@npm:3.0.0" @@ -3703,16 +3392,6 @@ __metadata: languageName: node linkType: hard -"enhanced-resolve@npm:^5.12.0": - version: 5.15.0 - resolution: "enhanced-resolve@npm:5.15.0" - dependencies: - graceful-fs: ^4.2.4 - tapable: ^2.2.0 - checksum: fbd8cdc9263be71cc737aa8a7d6c57b43d6aa38f6cc75dde6fcd3598a130cc465f979d2f4d01bb3bf475acb43817749c79f8eef9be048683602ca91ab52e4f11 - languageName: node - linkType: hard - "enquirer@npm:^2.3.5": version: 2.3.6 resolution: "enquirer@npm:2.3.6" @@ -3854,15 +3533,6 @@ __metadata: languageName: node linkType: hard -"es-shim-unscopables@npm:^1.0.0": - version: 1.0.0 - resolution: "es-shim-unscopables@npm:1.0.0" - dependencies: - has: ^1.0.3 - checksum: 83e95cadbb6ee44d3644dfad60dcad7929edbc42c85e66c3e99aefd68a3a5c5665f2686885cddb47dfeabfd77bd5ea5a7060f2092a955a729bbd8834f0d86fa1 - languageName: node - linkType: hard - "es-to-primitive@npm:^1.2.1": version: 1.2.1 resolution: "es-to-primitive@npm:1.2.1" @@ -3920,59 +3590,6 @@ __metadata: languageName: node linkType: hard -"eslint-config-prettier@npm:^8.8.0": - version: 8.8.0 - resolution: "eslint-config-prettier@npm:8.8.0" - peerDependencies: - eslint: ">=7.0.0" - bin: - eslint-config-prettier: bin/cli.js - checksum: 1e94c3882c4d5e41e1dcfa2c368dbccbfe3134f6ac7d40101644d3bfbe3eb2f2ffac757f3145910b5eacf20c0e85e02b91293d3126d770cbf3dc390b3564681c - languageName: node - linkType: hard - -"eslint-import-resolver-node@npm:^0.3.7": - version: 0.3.7 - resolution: "eslint-import-resolver-node@npm:0.3.7" - dependencies: - debug: ^3.2.7 - is-core-module: ^2.11.0 - resolve: ^1.22.1 - checksum: 3379aacf1d2c6952c1b9666c6fa5982c3023df695430b0d391c0029f6403a7775414873d90f397e98ba6245372b6c8960e16e74d9e4a3b0c0a4582f3bdbe3d6e - languageName: node - linkType: hard - -"eslint-import-resolver-typescript@npm:^3.5.5": - version: 3.5.5 - resolution: "eslint-import-resolver-typescript@npm:3.5.5" - dependencies: - debug: ^4.3.4 - enhanced-resolve: ^5.12.0 - eslint-module-utils: ^2.7.4 - get-tsconfig: ^4.5.0 - globby: ^13.1.3 - is-core-module: ^2.11.0 - is-glob: ^4.0.3 - synckit: ^0.8.5 - peerDependencies: - eslint: "*" - eslint-plugin-import: "*" - checksum: 27e6276fdff5d377c9036362ff736ac29852106e883ff589ea9092dc57d4bc2a67a82d75134221124f05045f9a7e2114a159b2c827d1f9f64d091f7afeab0f58 - languageName: node - linkType: hard - -"eslint-module-utils@npm:^2.7.4": - version: 2.8.0 - resolution: "eslint-module-utils@npm:2.8.0" - dependencies: - debug: ^3.2.7 - peerDependenciesMeta: - eslint: - optional: true - checksum: 74c6dfea7641ebcfe174be61168541a11a14aa8d72e515f5f09af55cd0d0862686104b0524aa4b8e0ce66418a44aa38a94d2588743db5fd07a6b49ffd16921d2 - languageName: node - linkType: hard - "eslint-plugin-es@npm:^3.0.0": version: 3.0.1 resolution: "eslint-plugin-es@npm:3.0.1" @@ -3985,31 +3602,6 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-import@npm:^2.27.5": - version: 2.27.5 - resolution: "eslint-plugin-import@npm:2.27.5" - dependencies: - array-includes: ^3.1.6 - array.prototype.flat: ^1.3.1 - array.prototype.flatmap: ^1.3.1 - debug: ^3.2.7 - doctrine: ^2.1.0 - eslint-import-resolver-node: ^0.3.7 - eslint-module-utils: ^2.7.4 - has: ^1.0.3 - is-core-module: ^2.11.0 - is-glob: ^4.0.3 - minimatch: ^3.1.2 - object.values: ^1.1.6 - resolve: ^1.22.1 - semver: ^6.3.0 - tsconfig-paths: ^3.14.1 - peerDependencies: - eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 - checksum: f500571a380167e25d72a4d925ef9a7aae8899eada57653e5f3051ec3d3c16d08271fcefe41a30a9a2f4fefc232f066253673ee4ea77b30dba65ae173dade85d - languageName: node - linkType: hard - "eslint-plugin-node@npm:^11.1.0": version: 11.1.0 resolution: "eslint-plugin-node@npm:11.1.0" @@ -4041,15 +3633,6 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-simple-import-sort@npm:^10.0.0": - version: 10.0.0 - resolution: "eslint-plugin-simple-import-sort@npm:10.0.0" - peerDependencies: - eslint: ">=5.0.0" - checksum: 23221ff63f80f9c52da807d388ee8a51bc36a3b73345f60ec886e7973c28d75eb1d1e47f7f2916a7c1f94a1b5037b1450356a64a8fbd58096fd6bee57c6e3e48 - languageName: node - linkType: hard - "eslint-scope@npm:^5.1.1": version: 5.1.1 resolution: "eslint-scope@npm:5.1.1" @@ -4060,16 +3643,6 @@ __metadata: languageName: node linkType: hard -"eslint-scope@npm:^7.2.0": - version: 7.2.0 - resolution: "eslint-scope@npm:7.2.0" - dependencies: - esrecurse: ^4.3.0 - estraverse: ^5.2.0 - checksum: 64591a2d8b244ade9c690b59ef238a11d5c721a98bcee9e9f445454f442d03d3e04eda88e95a4daec558220a99fa384309d9faae3d459bd40e7a81b4063980ae - languageName: node - linkType: hard - "eslint-utils@npm:^2.0.0, eslint-utils@npm:^2.1.0": version: 2.1.0 resolution: "eslint-utils@npm:2.1.0" @@ -4104,13 +3677,6 @@ __metadata: languageName: node linkType: hard -"eslint-visitor-keys@npm:^3.3.0, eslint-visitor-keys@npm:^3.4.1": - version: 3.4.1 - resolution: "eslint-visitor-keys@npm:3.4.1" - checksum: f05121d868202736b97de7d750847a328fcfa8593b031c95ea89425333db59676ac087fa905eba438d0a3c5769632f828187e0c1a0d271832a2153c1d3661c2c - languageName: node - linkType: hard - "eslint@npm:^7.10.0": version: 7.32.0 resolution: "eslint@npm:7.32.0" @@ -4161,55 +3727,6 @@ __metadata: languageName: node linkType: hard -"eslint@npm:^8.43.0": - version: 8.43.0 - resolution: "eslint@npm:8.43.0" - dependencies: - "@eslint-community/eslint-utils": ^4.2.0 - "@eslint-community/regexpp": ^4.4.0 - "@eslint/eslintrc": ^2.0.3 - "@eslint/js": 8.43.0 - "@humanwhocodes/config-array": ^0.11.10 - "@humanwhocodes/module-importer": ^1.0.1 - "@nodelib/fs.walk": ^1.2.8 - ajv: ^6.10.0 - chalk: ^4.0.0 - cross-spawn: ^7.0.2 - debug: ^4.3.2 - doctrine: ^3.0.0 - escape-string-regexp: ^4.0.0 - eslint-scope: ^7.2.0 - eslint-visitor-keys: ^3.4.1 - espree: ^9.5.2 - esquery: ^1.4.2 - esutils: ^2.0.2 - fast-deep-equal: ^3.1.3 - file-entry-cache: ^6.0.1 - find-up: ^5.0.0 - glob-parent: ^6.0.2 - globals: ^13.19.0 - graphemer: ^1.4.0 - ignore: ^5.2.0 - import-fresh: ^3.0.0 - imurmurhash: ^0.1.4 - is-glob: ^4.0.0 - is-path-inside: ^3.0.3 - js-yaml: ^4.1.0 - json-stable-stringify-without-jsonify: ^1.0.1 - levn: ^0.4.1 - lodash.merge: ^4.6.2 - minimatch: ^3.1.2 - natural-compare: ^1.4.0 - optionator: ^0.9.1 - strip-ansi: ^6.0.1 - strip-json-comments: ^3.1.0 - text-table: ^0.2.0 - bin: - eslint: bin/eslint.js - checksum: 55654ce00b0d128822b57526e40473d0497c7c6be3886afdc0b41b6b0dfbd34d0eae8159911b18451b4db51a939a0e6d2e117e847ae419086884fc3d4fe23c7c - languageName: node - linkType: hard - "espree@npm:^7.3.0, espree@npm:^7.3.1": version: 7.3.1 resolution: "espree@npm:7.3.1" @@ -4221,17 +3738,6 @@ __metadata: languageName: node linkType: hard -"espree@npm:^9.5.2": - version: 9.5.2 - resolution: "espree@npm:9.5.2" - dependencies: - acorn: ^8.8.0 - acorn-jsx: ^5.3.2 - eslint-visitor-keys: ^3.4.1 - checksum: 6506289d6eb26471c0b383ee24fee5c8ae9d61ad540be956b3127be5ce3bf687d2ba6538ee5a86769812c7c552a9d8239e8c4d150f9ea056c6d5cbe8399c03c1 - languageName: node - linkType: hard - "esprima@npm:^4.0.0": version: 4.0.1 resolution: "esprima@npm:4.0.1" @@ -4242,7 +3748,7 @@ __metadata: languageName: node linkType: hard -"esquery@npm:^1.4.0, esquery@npm:^1.4.2": +"esquery@npm:^1.4.0": version: 1.5.0 resolution: "esquery@npm:1.5.0" dependencies: @@ -4305,23 +3811,6 @@ __metadata: languageName: node linkType: hard -"execa@npm:^7.1.1": - version: 7.1.1 - resolution: "execa@npm:7.1.1" - dependencies: - cross-spawn: ^7.0.3 - get-stream: ^6.0.1 - human-signals: ^4.3.0 - is-stream: ^3.0.0 - merge-stream: ^2.0.0 - npm-run-path: ^5.1.0 - onetime: ^6.0.0 - signal-exit: ^3.0.7 - strip-final-newline: ^3.0.0 - checksum: 21fa46fc69314ace4068cf820142bdde5b643a5d89831c2c9349479c1555bff137a291b8e749e7efca36535e4e0a8c772c11008ca2e84d2cbd6ca141a3c8f937 - languageName: node - linkType: hard - "exponential-backoff@npm:^3.1.1": version: 3.1.1 resolution: "exponential-backoff@npm:3.1.1" @@ -4363,7 +3852,7 @@ __metadata: languageName: node linkType: hard -"fast-glob@npm:^3.2.11, fast-glob@npm:^3.2.12, fast-glob@npm:^3.2.9": +"fast-glob@npm:^3.2.12, fast-glob@npm:^3.2.9": version: 3.2.12 resolution: "fast-glob@npm:3.2.12" dependencies: @@ -4467,16 +3956,6 @@ __metadata: languageName: node linkType: hard -"find-up@npm:^5.0.0": - version: 5.0.0 - resolution: "find-up@npm:5.0.0" - dependencies: - locate-path: ^6.0.0 - path-exists: ^4.0.0 - checksum: 07955e357348f34660bde7920783204ff5a26ac2cafcaa28bace494027158a97b9f56faaf2d89a6106211a8174db650dd9f503f9c0d526b1202d5554a00b9095 - languageName: node - linkType: hard - "flat-cache@npm:^3.0.4": version: 3.0.4 resolution: "flat-cache@npm:3.0.4" @@ -4625,7 +4104,7 @@ __metadata: languageName: node linkType: hard -"get-stream@npm:^6.0.0, get-stream@npm:^6.0.1": +"get-stream@npm:^6.0.0": version: 6.0.1 resolution: "get-stream@npm:6.0.1" checksum: e04ecece32c92eebf5b8c940f51468cd53554dcbb0ea725b2748be583c9523d00128137966afce410b9b051eb2ef16d657cd2b120ca8edafcf5a65e81af63cad @@ -4642,15 +4121,6 @@ __metadata: languageName: node linkType: hard -"get-tsconfig@npm:^4.5.0": - version: 4.6.0 - resolution: "get-tsconfig@npm:4.6.0" - dependencies: - resolve-pkg-maps: ^1.0.0 - checksum: fd2589a50e21543cf416285e5c4ac605359f49209b6c2e66bb8698fac907356e060de0a681e40881f00182b6f19771377411a88adcc78fd3954732ff54f4a54d - languageName: node - linkType: hard - "glob-parent@npm:^5.1.2, glob-parent@npm:~5.1.2": version: 5.1.2 resolution: "glob-parent@npm:5.1.2" @@ -4660,15 +4130,6 @@ __metadata: languageName: node linkType: hard -"glob-parent@npm:^6.0.2": - version: 6.0.2 - resolution: "glob-parent@npm:6.0.2" - dependencies: - is-glob: ^4.0.3 - checksum: c13ee97978bef4f55106b71e66428eb1512e71a7466ba49025fc2aec59a5bfb0954d5abd58fc5ee6c9b076eef4e1f6d3375c2e964b88466ca390da4419a786a8 - languageName: node - linkType: hard - "glob@npm:^10.2.2": version: 10.2.7 resolution: "glob@npm:10.2.7" @@ -4738,7 +4199,7 @@ __metadata: languageName: node linkType: hard -"globals@npm:^13.19.0, globals@npm:^13.6.0, globals@npm:^13.9.0": +"globals@npm:^13.6.0, globals@npm:^13.9.0": version: 13.20.0 resolution: "globals@npm:13.20.0" dependencies: @@ -4770,19 +4231,6 @@ __metadata: languageName: node linkType: hard -"globby@npm:^13.1.3": - version: 13.2.0 - resolution: "globby@npm:13.2.0" - dependencies: - dir-glob: ^3.0.1 - fast-glob: ^3.2.11 - ignore: ^5.2.0 - merge2: ^1.4.1 - slash: ^4.0.0 - checksum: 0a3dd786571788adef1c894f22112834cff5bbe061ae6e0a01c5118c39d44b3f1937ef1dae3f8b9bc24756eba84a0923e565b1ad9a4ec52831d7e2a04c035e75 - languageName: node - linkType: hard - "globjoin@npm:^0.1.4": version: 0.1.4 resolution: "globjoin@npm:0.1.4" @@ -4799,27 +4247,13 @@ __metadata: languageName: node linkType: hard -"graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.4, graceful-fs@npm:^4.2.11, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6": +"graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.4, graceful-fs@npm:^4.2.11, graceful-fs@npm:^4.2.6": version: 4.2.11 resolution: "graceful-fs@npm:4.2.11" checksum: ac85f94da92d8eb6b7f5a8b20ce65e43d66761c55ce85ac96df6865308390da45a8d3f0296dd3a663de65d30ba497bd46c696cc1e248c72b13d6d567138a4fc7 languageName: node linkType: hard -"grapheme-splitter@npm:^1.0.4": - version: 1.0.4 - resolution: "grapheme-splitter@npm:1.0.4" - checksum: 0c22ec54dee1b05cd480f78cf14f732cb5b108edc073572c4ec205df4cd63f30f8db8025afc5debc8835a8ddeacf648a1c7992fe3dcd6ad38f9a476d84906620 - languageName: node - linkType: hard - -"graphemer@npm:^1.4.0": - version: 1.4.0 - resolution: "graphemer@npm:1.4.0" - checksum: bab8f0be9b568857c7bec9fda95a89f87b783546d02951c40c33f84d05bb7da3fd10f863a9beb901463669b6583173a8c8cc6d6b306ea2b9b9d5d3d943c3a673 - languageName: node - linkType: hard - "gray-matter@npm:^4.0.3": version: 4.0.3 resolution: "gray-matter@npm:4.0.3" @@ -5063,13 +4497,6 @@ __metadata: languageName: node linkType: hard -"human-signals@npm:^4.3.0": - version: 4.3.1 - resolution: "human-signals@npm:4.3.1" - checksum: 6f12958df3f21b6fdaf02d90896c271df00636a31e2bbea05bddf817a35c66b38a6fdac5863e2df85bd52f34958997f1f50350ff97249e1dff8452865d5235d1 - languageName: node - linkType: hard - "humanize-ms@npm:^1.2.1": version: 1.2.1 resolution: "humanize-ms@npm:1.2.1" @@ -5301,7 +4728,7 @@ __metadata: languageName: node linkType: hard -"is-core-module@npm:^2.11.0, is-core-module@npm:^2.12.0, is-core-module@npm:^2.5.0": +"is-core-module@npm:^2.12.0, is-core-module@npm:^2.5.0": version: 2.12.1 resolution: "is-core-module@npm:2.12.1" dependencies: @@ -5326,24 +4753,6 @@ __metadata: languageName: node linkType: hard -"is-docker@npm:^2.0.0": - version: 2.2.1 - resolution: "is-docker@npm:2.2.1" - bin: - is-docker: cli.js - checksum: 3fef7ddbf0be25958e8991ad941901bf5922ab2753c46980b60b05c1bf9c9c2402d35e6dc32e4380b980ef5e1970a5d9d5e5aa2e02d77727c3b6b5e918474c56 - languageName: node - linkType: hard - -"is-docker@npm:^3.0.0": - version: 3.0.0 - resolution: "is-docker@npm:3.0.0" - bin: - is-docker: cli.js - checksum: b698118f04feb7eaf3338922bd79cba064ea54a1c3db6ec8c0c8d8ee7613e7e5854d802d3ef646812a8a3ace81182a085dfa0a71cc68b06f3fa794b9783b3c90 - languageName: node - linkType: hard - "is-expression@npm:^4.0.0": version: 4.0.0 resolution: "is-expression@npm:4.0.0" @@ -5384,17 +4793,6 @@ __metadata: languageName: node linkType: hard -"is-inside-container@npm:^1.0.0": - version: 1.0.0 - resolution: "is-inside-container@npm:1.0.0" - dependencies: - is-docker: ^3.0.0 - bin: - is-inside-container: cli.js - checksum: c50b75a2ab66ab3e8b92b3bc534e1ea72ca25766832c0623ac22d134116a98bcf012197d1caabe1d1c4bd5f84363d4aa5c36bb4b585fbcaf57be172cd10a1a03 - languageName: node - linkType: hard - "is-json@npm:^2.0.1": version: 2.0.1 resolution: "is-json@npm:2.0.1" @@ -5446,13 +4844,6 @@ __metadata: languageName: node linkType: hard -"is-path-inside@npm:^3.0.3": - version: 3.0.3 - resolution: "is-path-inside@npm:3.0.3" - checksum: abd50f06186a052b349c15e55b182326f1936c89a78bf6c8f2b707412517c097ce04bc49a0ca221787bc44e1049f51f09a2ffb63d22899051988d3a618ba13e9 - languageName: node - linkType: hard - "is-plain-obj@npm:^1.1.0": version: 1.1.0 resolution: "is-plain-obj@npm:1.1.0" @@ -5516,13 +4907,6 @@ __metadata: languageName: node linkType: hard -"is-stream@npm:^3.0.0": - version: 3.0.0 - resolution: "is-stream@npm:3.0.0" - checksum: 172093fe99119ffd07611ab6d1bcccfe8bc4aa80d864b15f43e63e54b7abc71e779acd69afdb854c4e2a67fdc16ae710e370eda40088d1cfc956a50ed82d8f16 - languageName: node - linkType: hard - "is-string@npm:^1.0.5, is-string@npm:^1.0.7": version: 1.0.7 resolution: "is-string@npm:1.0.7" @@ -5587,15 +4971,6 @@ __metadata: languageName: node linkType: hard -"is-wsl@npm:^2.2.0": - version: 2.2.0 - resolution: "is-wsl@npm:2.2.0" - dependencies: - is-docker: ^2.0.0 - checksum: 20849846ae414997d290b75e16868e5261e86ff5047f104027026fd61d8b5a9b0b3ade16239f35e1a067b3c7cc02f70183cb661010ed16f4b6c7c93dad1b19d8 - languageName: node - linkType: hard - "isarray@npm:^2.0.5": version: 2.0.5 resolution: "isarray@npm:2.0.5" @@ -5750,17 +5125,6 @@ __metadata: languageName: node linkType: hard -"json5@npm:^1.0.2": - version: 1.0.2 - resolution: "json5@npm:1.0.2" - dependencies: - minimist: ^1.2.0 - bin: - json5: lib/cli.js - checksum: 866458a8c58a95a49bef3adba929c625e82532bcff1fe93f01d29cb02cac7c3fe1f4b79951b7792c2da9de0b32871a8401a6e3c5b36778ad852bf5b8a61165d7 - languageName: node - linkType: hard - "json5@npm:^2.1.3, json5@npm:^2.2.2": version: 2.2.3 resolution: "json5@npm:2.2.3" @@ -5841,7 +5205,7 @@ __metadata: languageName: node linkType: hard -"liquidjs@npm:^10.7.0": +"liquidjs@npm:^10.7.0, liquidjs@npm:^10.8.3": version: 10.8.3 resolution: "liquidjs@npm:10.8.3" dependencies: @@ -5881,15 +5245,6 @@ __metadata: languageName: node linkType: hard -"locate-path@npm:^6.0.0": - version: 6.0.0 - resolution: "locate-path@npm:6.0.0" - dependencies: - p-locate: ^5.0.0 - checksum: 72eb661788a0368c099a184c59d2fee760b3831c9c1c33955e8a19ae4a21b4116e53fa736dc086cdeb9fce9f7cc508f2f92d2d3aae516f133e16a2bb59a39f5a - languageName: node - linkType: hard - "lodash.assignin@npm:^4.0.9": version: 4.2.0 resolution: "lodash.assignin@npm:4.2.0" @@ -6253,13 +5608,6 @@ __metadata: languageName: node linkType: hard -"mimic-fn@npm:^4.0.0": - version: 4.0.0 - resolution: "mimic-fn@npm:4.0.0" - checksum: 995dcece15ee29aa16e188de6633d43a3db4611bcf93620e7e62109ec41c79c0f34277165b8ce5e361205049766e371851264c21ac64ca35499acb5421c2ba56 - languageName: node - linkType: hard - "min-indent@npm:^1.0.0": version: 1.0.1 resolution: "min-indent@npm:1.0.1" @@ -6267,7 +5615,7 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:^3.0.0, minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": +"minimatch@npm:^3.0.0, minimatch@npm:^3.0.4, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": version: 3.1.2 resolution: "minimatch@npm:3.1.2" dependencies: @@ -6305,7 +5653,7 @@ __metadata: languageName: node linkType: hard -"minimist@npm:^1.2.0, minimist@npm:^1.2.5, minimist@npm:^1.2.6, minimist@npm:^1.2.8": +"minimist@npm:^1.2.5, minimist@npm:^1.2.6, minimist@npm:^1.2.8": version: 1.2.8 resolution: "minimist@npm:1.2.8" checksum: 75a6d645fb122dad29c06a7597bddea977258957ed88d7a6df59b5cd3fe4a527e253e9bbf2e783e4b73657f9098b96a5fe96ab8a113655d4109108577ecf85b0 @@ -6451,7 +5799,7 @@ __metadata: languageName: node linkType: hard -"ms@npm:^2.0.0, ms@npm:^2.1.1": +"ms@npm:^2.0.0": version: 2.1.3 resolution: "ms@npm:2.1.3" checksum: aa92de608021b242401676e35cfa5aa42dd70cbdc082b916da7fb925c542173e36bce97ea3e804923fe92c0ad991434e4a38327e15a1b5b5f945d66df615ae6d @@ -6496,13 +5844,6 @@ __metadata: languageName: node linkType: hard -"natural-compare-lite@npm:^1.4.0": - version: 1.4.0 - resolution: "natural-compare-lite@npm:1.4.0" - checksum: 5222ac3986a2b78dd6069ac62cbb52a7bf8ffc90d972ab76dfe7b01892485d229530ed20d0c62e79a6b363a663b273db3bde195a1358ce9e5f779d4453887225 - languageName: node - linkType: hard - "natural-compare@npm:^1.4.0": version: 1.4.0 resolution: "natural-compare@npm:1.4.0" @@ -6647,15 +5988,6 @@ __metadata: languageName: node linkType: hard -"npm-run-path@npm:^5.1.0": - version: 5.1.0 - resolution: "npm-run-path@npm:5.1.0" - dependencies: - path-key: ^4.0.0 - checksum: dc184eb5ec239d6a2b990b43236845332ef12f4e0beaa9701de724aa797fe40b6bbd0157fb7639d24d3ab13f5d5cf22d223a19c6300846b8126f335f788bee66 - languageName: node - linkType: hard - "npmlog@npm:^6.0.0": version: 6.0.2 resolution: "npmlog@npm:6.0.2" @@ -6747,17 +6079,6 @@ __metadata: languageName: node linkType: hard -"object.values@npm:^1.1.6": - version: 1.1.6 - resolution: "object.values@npm:1.1.6" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 - checksum: f6fff9fd817c24cfd8107f50fb33061d81cd11bacc4e3dbb3852e9ff7692fde4dbce823d4333ea27cd9637ef1b6690df5fbb61f1ed314fa2959598dc3ae23d8e - languageName: node - linkType: hard - "on-finished@npm:2.4.1": version: 2.4.1 resolution: "on-finished@npm:2.4.1" @@ -6785,27 +6106,6 @@ __metadata: languageName: node linkType: hard -"onetime@npm:^6.0.0": - version: 6.0.0 - resolution: "onetime@npm:6.0.0" - dependencies: - mimic-fn: ^4.0.0 - checksum: 0846ce78e440841335d4e9182ef69d5762e9f38aa7499b19f42ea1c4cd40f0b4446094c455c713f9adac3f4ae86f613bb5e30c99e52652764d06a89f709b3788 - languageName: node - linkType: hard - -"open@npm:^9.1.0": - version: 9.1.0 - resolution: "open@npm:9.1.0" - dependencies: - default-browser: ^4.0.0 - define-lazy-prop: ^3.0.0 - is-inside-container: ^1.0.0 - is-wsl: ^2.2.0 - checksum: 3993c0f61d51fed8ac290e99c9c3cf45d3b6cfb3e2aa2b74cafd312c3486c22fd81df16ac8f3ab91dd8a4e3e729a16fc2480cfc406c4833416cf908acf1ae7c9 - languageName: node - linkType: hard - "optionator@npm:^0.9.1": version: 0.9.1 resolution: "optionator@npm:0.9.1" @@ -6836,15 +6136,6 @@ __metadata: languageName: node linkType: hard -"p-limit@npm:^3.0.2": - version: 3.1.0 - resolution: "p-limit@npm:3.1.0" - dependencies: - yocto-queue: ^0.1.0 - checksum: 7c3690c4dbf62ef625671e20b7bdf1cbc9534e83352a2780f165b0d3ceba21907e77ad63401708145ca4e25bfc51636588d89a8c0aeb715e6c37d1c066430360 - languageName: node - linkType: hard - "p-locate@npm:^4.1.0": version: 4.1.0 resolution: "p-locate@npm:4.1.0" @@ -6854,15 +6145,6 @@ __metadata: languageName: node linkType: hard -"p-locate@npm:^5.0.0": - version: 5.0.0 - resolution: "p-locate@npm:5.0.0" - dependencies: - p-limit: ^3.0.2 - checksum: 1623088f36cf1cbca58e9b61c4e62bf0c60a07af5ae1ca99a720837356b5b6c5ba3eb1b2127e47a06865fee59dd0453cad7cc844cda9d5a62ac1a5a51b7c86d3 - languageName: node - linkType: hard - "p-map@npm:^4.0.0": version: 4.0.0 resolution: "p-map@npm:4.0.0" @@ -6971,13 +6253,6 @@ __metadata: languageName: node linkType: hard -"path-key@npm:^4.0.0": - version: 4.0.0 - resolution: "path-key@npm:4.0.0" - checksum: 8e6c314ae6d16b83e93032c61020129f6f4484590a777eed709c4a01b50e498822b00f76ceaf94bc64dbd90b327df56ceadce27da3d83393790f1219e07721d7 - languageName: node - linkType: hard - "path-parse@npm:^1.0.7": version: 1.0.7 resolution: "path-parse@npm:1.0.7" @@ -7572,13 +6847,6 @@ __metadata: languageName: node linkType: hard -"resolve-pkg-maps@npm:^1.0.0": - version: 1.0.0 - resolution: "resolve-pkg-maps@npm:1.0.0" - checksum: 1012afc566b3fdb190a6309cc37ef3b2dcc35dff5fa6683a9d00cd25c3247edfbc4691b91078c97adc82a29b77a2660c30d791d65dab4fc78bfc473f60289977 - languageName: node - linkType: hard - "resolve@npm:^1.10.0, resolve@npm:^1.10.1, resolve@npm:^1.14.2, resolve@npm:^1.15.1, resolve@npm:^1.22.1": version: 1.22.3 resolution: "resolve@npm:1.22.3" @@ -7665,15 +6933,6 @@ __metadata: languageName: node linkType: hard -"run-applescript@npm:^5.0.0": - version: 5.0.0 - resolution: "run-applescript@npm:5.0.0" - dependencies: - execa: ^5.0.0 - checksum: d00c2dbfa5b2d774de7451194b8b125f40f65fc183de7d9dcae97f57f59433586d3c39b9001e111c38bfa24c3436c99df1bb4066a2a0c90d39a8c4cd6889af77 - languageName: node - linkType: hard - "run-async@npm:^2.4.0": version: 2.4.1 resolution: "run-async@npm:2.4.1" @@ -7748,21 +7007,16 @@ __metadata: "@types/markdown-it-footnote": ^3.0.0 "@types/node": ^16 "@types/prismjs": ^1.26.0 - "@typescript-eslint/eslint-plugin": ^5.60.0 - "@typescript-eslint/parser": ^5.60.0 + "@types/semver": ^7.5.0 cheerio: ^1.0.0-rc.12 date-fns: ^2.30.0 deep-equal: ^2.2.1 - eslint: ^8.43.0 - eslint-config-prettier: ^8.8.0 - eslint-import-resolver-typescript: ^3.5.5 - eslint-plugin-import: ^2.27.5 - eslint-plugin-simple-import-sort: ^10.0.0 gts: ^3.1.1 jquery: ^3.7.0 jquery-ui: ^1.13.2 js-yaml: ^4.1.0 kleur: ^4.1.5 + liquidjs: ^10.8.3 lorem-ipsum: ^2.0.8 markdown-it: ^13.0.1 markdown-it-anchor: ^8.6.7 @@ -7834,7 +7088,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:^7.2.1, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.2": +"semver@npm:^7.2.1, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.8, semver@npm:^7.5.2": version: 7.5.2 resolution: "semver@npm:7.5.2" dependencies: @@ -7939,13 +7193,6 @@ __metadata: languageName: node linkType: hard -"slash@npm:^4.0.0": - version: 4.0.0 - resolution: "slash@npm:4.0.0" - checksum: da8e4af73712253acd21b7853b7e0dbba776b786e82b010a5bfc8b5051a1db38ed8aba8e1e8f400dd2c9f373be91eb1c42b66e91abb407ff42b10feece5e1d2d - languageName: node - linkType: hard - "slice-ansi@npm:^4.0.0": version: 4.0.0 resolution: "slice-ansi@npm:4.0.0" @@ -8212,13 +7459,6 @@ __metadata: languageName: node linkType: hard -"strip-final-newline@npm:^3.0.0": - version: 3.0.0 - resolution: "strip-final-newline@npm:3.0.0" - checksum: 23ee263adfa2070cd0f23d1ac14e2ed2f000c9b44229aec9c799f1367ec001478469560abefd00c5c99ee6f0b31c137d53ec6029c53e9f32a93804e18c201050 - languageName: node - linkType: hard - "strip-indent@npm:^3.0.0": version: 3.0.0 resolution: "strip-indent@npm:3.0.0" @@ -8402,16 +7642,6 @@ __metadata: languageName: node linkType: hard -"synckit@npm:^0.8.5": - version: 0.8.5 - resolution: "synckit@npm:0.8.5" - dependencies: - "@pkgr/utils": ^2.3.1 - tslib: ^2.5.0 - checksum: 8a9560e5d8f3d94dc3cf5f7b9c83490ffa30d320093560a37b88f59483040771fd1750e76b9939abfbb1b5a23fd6dfbae77f6b338abffe7cae7329cd9b9bb86b - languageName: node - linkType: hard - "table@npm:^6.0.9, table@npm:^6.8.1": version: 6.8.1 resolution: "table@npm:6.8.1" @@ -8425,13 +7655,6 @@ __metadata: languageName: node linkType: hard -"tapable@npm:^2.2.0": - version: 2.2.1 - resolution: "tapable@npm:2.2.1" - checksum: 3b7a1b4d86fa940aad46d9e73d1e8739335efd4c48322cb37d073eb6f80f5281889bf0320c6d8ffcfa1a0dd5bfdbd0f9d037e252ef972aca595330538aac4d51 - languageName: node - linkType: hard - "tar@npm:^6.1.11, tar@npm:^6.1.2": version: 6.1.15 resolution: "tar@npm:6.1.15" @@ -8474,13 +7697,6 @@ __metadata: languageName: node linkType: hard -"titleize@npm:^3.0.0": - version: 3.0.0 - resolution: "titleize@npm:3.0.0" - checksum: 71fbbeabbfb36ccd840559f67f21e356e1d03da2915b32d2ae1a60ddcc13a124be2739f696d2feb884983441d159a18649e8d956648d591bdad35c430a6b6d28 - languageName: node - linkType: hard - "tmp@npm:^0.0.33": version: 0.0.33 resolution: "tmp@npm:0.0.33" @@ -8568,18 +7784,6 @@ __metadata: languageName: node linkType: hard -"tsconfig-paths@npm:^3.14.1": - version: 3.14.2 - resolution: "tsconfig-paths@npm:3.14.2" - dependencies: - "@types/json5": ^0.0.29 - json5: ^1.0.2 - minimist: ^1.2.6 - strip-bom: ^3.0.0 - checksum: a6162eaa1aed680537f93621b82399c7856afd10ec299867b13a0675e981acac4e0ec00896860480efc59fc10fd0b16fdc928c0b885865b52be62cadac692447 - languageName: node - linkType: hard - "tslib@npm:>=2": version: 2.5.3 resolution: "tslib@npm:2.5.3" @@ -8780,13 +7984,6 @@ __metadata: languageName: node linkType: hard -"untildify@npm:^4.0.0": - version: 4.0.0 - resolution: "untildify@npm:4.0.0" - checksum: 39ced9c418a74f73f0a56e1ba4634b4d959422dff61f4c72a8e39f60b99380c1b45ed776fbaa0a4101b157e4310d873ad7d114e8534ca02609b4916bb4187fb9 - languageName: node - linkType: hard - "update-browserslist-db@npm:^1.0.11": version: 1.0.11 resolution: "update-browserslist-db@npm:1.0.11" @@ -9037,10 +8234,3 @@ __metadata: checksum: 2c487b0e149e746ef48cda9f8bad10fc83693cd69d7f9dcd8be4214e985de33a29c9e24f3c0d6bcf2288427040a8947406ab27f7af67ee9456e6b84854f02dd6 languageName: node linkType: hard - -"yocto-queue@npm:^0.1.0": - version: 0.1.0 - resolution: "yocto-queue@npm:0.1.0" - checksum: f77b3d8d00310def622123df93d4ee654fc6a0096182af8bd60679ddcdfb3474c56c6c7190817c84a2785648cdee9d721c0154eb45698c62176c322fb46fc700 - languageName: node - linkType: hard