From d2b01980b42bfb618f3e1955cc62518adbc836eb Mon Sep 17 00:00:00 2001 From: Scott O'Hara Date: Mon, 16 Sep 2024 12:24:49 -0400 Subject: [PATCH 1/5] Update G65.html (#3951) Expand the examples/example descriptions for G65 'providing a breadcrumb trail' to acknowledge the fact that a breadcrumb's current location can be a hyperlink. closes #3948 --------- Co-authored-by: Giacomo Petri Co-authored-by: Patrick H. Lauke Co-authored-by: Kenneth G. Franqueiro --- techniques/general/G65.html | 55 ++++++++++++++------ working-examples/breadcrumb-trail/index.html | 34 ++++++++---- 2 files changed, 63 insertions(+), 26 deletions(-) diff --git a/techniques/general/G65.html b/techniques/general/G65.html index 9972e0df0f..15238fd8ad 100644 --- a/techniques/general/G65.html +++ b/techniques/general/G65.html @@ -17,26 +17,39 @@

When to Use

Description

-

A breadcrumb trail helps the user to visualize how content has been structured and how to navigate back to previous Web pages, and may identify the current location within a series of Web pages. A breadcrumb trail either displays locations in the path the user took to reach the Web page, or it displays the location of the current Web page within the organization of the site.

-

Breadcrumb trails are implemented using links to the Web pages that have been accessed in the process of navigating to the current Web page. They are placed in the same location within each Web page in the set.

-

It can be helpful to users to separate the items in the breadcrumb trailing with a visible separator. Examples of separators include ">", "|", "/", and "→".

+

A breadcrumb trail (or 'breadcrumb navigation') helps the user to visualize how content has been structured and how to navigate back to previous web pages. Many even identify the current location in the series of web pages, commmonly as the last element in the trail and with a variation in its visual style. A breadcrumb trail either displays locations in the path the user took to reach the web page, or it displays the location of the current web page within the organization of the site.

+

Breadcrumb trails are implemented using links to the Web pages that have been accessed in the process of navigating to the current web page. They are placed in the same location within each web page in the set.

+

It can be helpful to users to separate the items in the breadcrumb trailing with a visible separator. Examples of separators include ">", "|", "/", and "→". Alternatively, one could use decorative iconography or create separators with CSS.

Examples

Photographer's portfolio

-

A photographer's portfolio Web site has been organized into different galleries and each gallery has further been divided into categories. A user who navigates through the site to a Web page containing a photo of a Gentoo penguin would see the following breadcrumb trail at the top of the Web page:

+

A photographer's portfolio website has been organized into different galleries and each gallery has further been divided into categories. A user who navigates through the website to a particular page containing a photo of a Gentoo penguin would see the following breadcrumb trail at the top of the web page:

Home / Galleries / Antarctica / Penguins / Gentoo Penguin
-

All of the text items except "Gentoo Penguin" are implemented as links. The current location, Gentoo Penguin, is included in the breadcrumb trail but it is not implemented as a link.

+

The markup for this example implements all of the text items except "Gentoo Penguin" as links. To provide semantic structure to the breadcrumb trail, the links are contained within a list element, which is nested within a nav element with an aria-label. The current location, Gentoo Penguin, is included as the last item in the breadcrumb trail but it is not implemented as a link to visually and semantically differentiate it from the previous items in the trail.

+

The aria-current attribute is specified on the last list item in the trail to programmatically identify it as the item that reprsents the current web page. The markup would be styled using CSS to display the breadcrumb trail horizontally.

+ +
<nav aria-label="Breadcrumbs"> 
+  <ul>
+    <li><a href="/">Home</a> /</li>
+    <li><a href="/galleries">Galleries</a> /</li> 
+    <li><a href="/galleries/antarctica">Antarctica</a> /</li>
+    <li><a href="/galleries/antarctica/penguins">Penguins</a> /</li>
+    <li aria-current="page">Gentoo Penguin</li>
+  </ul> 
+</nav>
+
+

Working example: Breadcrumb example

E-commerce site

-

The information architecture of an e-commerce Web site is categorized from general to increasingly more specific product subsections.

+

The information architecture of an e-commerce website is categorized from general to increasingly more specific product subsections.

You are here: Acme Company → Electronics → Computers → Laptops

-

The trail begins with "You are here" and ends with the current page. Items in the trail are clickable or tappable links with the exception of "You are here" and "Laptops." This example uses a right arrow symbol (→) as a separator.

+

The trail begins with "You are here" and ends with the current page. Items in the trail are clickable or tappable links with the exception of "You are here", which is a static heading. This example uses a right arrow symbol (→) as a separator.

In this example a h2 element, a nav element with an aria-label attribute, and an unordered list are used to provide semantics. The markup would be styled using CSS to display the breadcrumb trail horizontally.

HTML

@@ -47,7 +60,7 @@

HTML

<li><a href="/">Acme Company</a> &#8594;</li> <li><a href="/electronics/">Electronics</a> &#8594;</li> <li><a href="/electronics/computers/">Computers</a> &#8594;</li> - <li><a aria-current="page">Laptops</a></li> + <li><a href="/electronics/computers/laptops/" aria-current="page">Laptops</a></li> </ul> </nav> @@ -57,7 +70,7 @@

HTML

CSS

-
nav, h2, ul, ul li{ display: inline;}
+
h2, ul, ul li{ display: inline;}
 nav > h2{ font-size: 1em; } 
 ul { padding-left: 0em; }
@@ -71,9 +84,9 @@

CSS

Tests

Procedure

-

When breadcrumb trails have been implemented in a set of Web pages:

+

When breadcrumb trails have been implemented in a set of web pages:

    -
  1. Navigate to a Web page.
  2. +
  3. Navigate to a web page.
  4. Check that a breadcrumb trail is displayed.
  5. Check that the breadcrumb trail displays the correct navigational sequence to reach the current location or the correct hierarchical path to the current location within the site structure.
  6. @@ -91,17 +104,24 @@

    Procedure

  7. Check that the current location is not implemented as a link.
-
  • Check that all links navigate to the correct Web page as specified by the breadcrumb trail.
  • +
  • +

    For a breadcrumb trail that does include the current location and it behaves as a link:

    +
      +
    1. Check that all elements are implemented as links.
    2. +
    3. Check that the current location is programmatically identified as such (e.g., using the aria-current attribute).
    4. +
    +
  • +
  • Check that all links navigate to the correct web page as specified by the breadcrumb trail.
  • Expected Results

    • -

      For all Web pages in the set using breadcrumb trails,

      +

      For all web pages in the set using breadcrumb trails,

        -
      • Checks #2, #3, and #6 are true.
      • -
      • Either check #4 or #5 is true.
      • +
      • Checks #2, #3, and #7 are true.
      • +
      • Either check #4, #5 or #6 is true.
    @@ -117,10 +137,13 @@

    Related Techniques

    Resources

    - \ No newline at end of file + diff --git a/working-examples/breadcrumb-trail/index.html b/working-examples/breadcrumb-trail/index.html index 293f532f2b..bf997256e5 100644 --- a/working-examples/breadcrumb-trail/index.html +++ b/working-examples/breadcrumb-trail/index.html @@ -3,34 +3,48 @@ - G65 Example 3: Breadcrumb Example + G65 Providing a breadcrumb trail examples -

    Breadcrumb Example

    +

    Breadcrumb Trail Examples

    +

    Note: hyperlinks in these examples will return 404 errors.

    + +

    Breadcrumb trail where current page is not a link

    + + +

    Breadcrumb trail where current page is a link

    - \ No newline at end of file + From bf4b12356bb8d9cd8f7bfa26a125704ac68196b4 Mon Sep 17 00:00:00 2001 From: Momdo Nakamura Date: Tue, 17 Sep 2024 01:28:36 +0900 Subject: [PATCH 2/5] Remove the frameset example in G128 (#4006) --- techniques/general/G128.html | 5 ----- 1 file changed, 5 deletions(-) diff --git a/techniques/general/G128.html b/techniques/general/G128.html index ff5106a4bd..381b0ab201 100644 --- a/techniques/general/G128.html +++ b/techniques/general/G128.html @@ -7,11 +7,6 @@

    A Web page implements tab panel style navigation. A list of panel tabs is displayed horizontally across the page. The current content is displayed in a panel below the list of panel tabs. When the user navigates to and selects a particular panel tab the content in the panel is updated to reflect the topic of the selected tab. In addition, the background color of the selected tab is changed from the default color and a check mark icon is displayed next to the tab panel text to indicate it is the active panel. The check mark icon includes an appropriate text alternative.

    -
    -
    - -

    The layout for a Web page uses a frameset and frames. One of the frames is designated as the navigation frame and another frame displays the content of the Web site. When the user selects a link in the navigation frame, the information related to the link is displayed within the content frame. The text for the selected item in the navigation frame is updated with an asterisk character to indicate that it is the selected topic.

    -
    From e4469d7b3f25792b16238a2c8c6c45a6a12e6eda Mon Sep 17 00:00:00 2001 From: "Kenneth G. Franqueiro" Date: Fri, 20 Sep 2024 14:33:22 +0000 Subject: [PATCH 3/5] Add top-level index.html for dev only (not GH Pages / W3C site) (#4076) - Adds extremely simple top-level `index.html` - Updates `.eleventyignore` to allow for top-level HTML files, while still ignoring top-level files that shouldn't be built - Adds condition to `CustomLiquid.ts` to avoid processing pages outside of `techniques` or `understanding` - Adds considerations to the Eleventy config when targeting GH Pages or w3.org, to clear any preexisting output folder and to avoid outputting top-level `index.html` --- .eleventyignore | 3 +- 11ty/CustomLiquid.ts | 2 + eleventy.config.ts | 8 ++++ index.html | 14 ++++++ package-lock.json | 100 +++++++++++++++++++++++++------------------ package.json | 1 + 6 files changed, 86 insertions(+), 42 deletions(-) create mode 100644 index.html diff --git a/.eleventyignore b/.eleventyignore index 59386af4f7..752acaedf1 100644 --- a/.eleventyignore +++ b/.eleventyignore @@ -1,5 +1,6 @@ -*.* +*.md 11ty/ +acknowledgements.html acknowledgements/ conformance-challenges/ guidelines/ diff --git a/11ty/CustomLiquid.ts b/11ty/CustomLiquid.ts index f395f6e470..7e5de46859 100644 --- a/11ty/CustomLiquid.ts +++ b/11ty/CustomLiquid.ts @@ -89,6 +89,8 @@ export class CustomLiquid extends Liquid { const isIndex = indexPattern.test(filepath); const isTechniques = techniquesPattern.test(filepath); const isUnderstanding = understandingPattern.test(filepath); + + if (!isTechniques && !isUnderstanding) return super.parse(html); const $ = flattenDom(html, filepath); diff --git a/eleventy.config.ts b/eleventy.config.ts index e146eb728f..37dd71bdc9 100644 --- a/eleventy.config.ts +++ b/eleventy.config.ts @@ -1,4 +1,5 @@ import compact from "lodash-es/compact"; +import { rimraf } from "rimraf"; import { copyFile } from "fs/promises"; @@ -124,6 +125,7 @@ export default function (eleventyConfig: any) { eleventyConfig.addGlobalData("eleventyComputed", { // permalink determines output structure; see https://www.11ty.dev/docs/permalinks/ permalink: ({ page, isUnderstanding }: GlobalData) => { + if (page.inputPath === "./index.html" && process.env.WCAG_MODE) return false; if (isUnderstanding) { // understanding-metadata.html exists in 2 places; top-level wins in XSLT process if (/\/20\/understanding-metadata/.test(page.inputPath)) return false; @@ -173,6 +175,12 @@ export default function (eleventyConfig: any) { eleventyConfig.addPassthroughCopy("working-examples/**"); + eleventyConfig.on("eleventy.before", async ({ runMode }: EleventyEvent) => { + // Clear the _site folder before publishes to GH Pages or W3C site, + // to avoid inheriting dev-only files from previous runs + if (runMode === "build" && process.env.WCAG_MODE) await rimraf("_site"); + }); + eleventyConfig.on("eleventy.after", async ({ dir }: EleventyEvent) => { // addPassthroughCopy can only map each file once, // but base.css needs to be copied to a 2nd destination diff --git a/index.html b/index.html new file mode 100644 index 0000000000..9fcfa92eb7 --- /dev/null +++ b/index.html @@ -0,0 +1,14 @@ + + + + + Web Content Accessibility Guidelines {{ versionDecimal }} + + +

    Web Content Accessibility Guidelines {{ versionDecimal }}

    + + + diff --git a/package-lock.json b/package-lock.json index 54bc11eff8..c237f220d2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,6 +16,7 @@ "liquidjs": "^10.14.0", "lodash-es": "^4.17.21", "mkdirp": "^3.0.1", + "rimraf": "^5.0.10", "tsx": "^4.11.0" }, "devDependencies": { @@ -1741,6 +1742,7 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", "dependencies": { "once": "^1.3.0", "wrappy": "1" @@ -2478,6 +2480,46 @@ "slash": "^1.0.0" } }, + "node_modules/recursive-copy/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/recursive-copy/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/recursive-copy/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, "node_modules/recursive-copy/node_modules/mkdirp": { "version": "0.5.6", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", @@ -2489,6 +2531,18 @@ "mkdirp": "bin/cmd.js" } }, + "node_modules/recursive-copy/node_modules/rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "deprecated": "Rimraf versions prior to v4 are no longer supported", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, "node_modules/resolve-pkg-maps": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz", @@ -2507,55 +2561,19 @@ } }, "node_modules/rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "version": "5.0.10", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.10.tgz", + "integrity": "sha512-l0OE8wL34P4nJH/H2ffoaniAokM2qSmrtXHmlpvYr5AVVX8msAyW0l8NVJFDxlSK4u3Uh/f41cQheDVdnYijwQ==", "dependencies": { - "glob": "^7.1.3" + "glob": "^10.3.7" }, "bin": { - "rimraf": "bin.js" - } - }, - "node_modules/rimraf/node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/rimraf/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" + "rimraf": "dist/esm/bin.mjs" }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/rimraf/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, "node_modules/run-parallel": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", diff --git a/package.json b/package.json index 24492fb7e3..d99692156a 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "liquidjs": "^10.14.0", "lodash-es": "^4.17.21", "mkdirp": "^3.0.1", + "rimraf": "^5.0.10", "tsx": "^4.11.0" }, "devDependencies": { From e679a18104607e9588e14708b5b0fd8c8b50b8fd Mon Sep 17 00:00:00 2001 From: "Kenneth G. Franqueiro" Date: Fri, 20 Sep 2024 14:35:25 +0000 Subject: [PATCH 4/5] Fix link to Understanding Test Rules from techniques pages (#4075) This bug specifically affects the link to "Understanding Test Rules for WCAG Success Criteria" found under Test Rules sections in techniques pages only (understanding pages do not have this bug). The link has the wrong base path, causing a 404 when built for GitHub Pages or the W3C site. This PR fixes it by properly referencing `understanding` relatively from pages under `techniques`; in the full scope of the build system, this then ends up replaced with a fully-qualified URL when processed through `CustomLiquid.ts`. Example from https://www.w3.org/WAI/WCAG22/Techniques/aria/ARIA4: ``` ``` Example of same link built in `publication` mode from this PR: ``` ``` --- _includes/test-rules.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/test-rules.html b/_includes/test-rules.html index 1d30ac01b4..c2842bf0df 100644 --- a/_includes/test-rules.html +++ b/_includes/test-rules.html @@ -1,6 +1,6 @@ {% if testRules.size > 0 %} {%- if isTechniques -%} - {% assign understandingActRulesHref = "/understanding/understanding-act-rules.html" %} + {% assign understandingActRulesHref = "../../understanding/understanding-act-rules.html" %} {%- else -%} {% assign understandingActRulesHref = "understanding-act-rules.html" %} {%- endif -%} From 4213bf62b9f536769a84917988dbf64dc30dc64d Mon Sep 17 00:00:00 2001 From: "Kenneth G. Franqueiro" Date: Fri, 20 Sep 2024 14:47:25 +0000 Subject: [PATCH 5/5] Revert #4076 (#4079) This reverts commit e4469d7b3f25792b16238a2c8c6c45a6a12e6eda. There was an unforeseen issue affecting the GH Pages deploy script, which I will need to dig into and test separately. Reverting first so we can get those deploys working for now. Sorry for the noise! --- .eleventyignore | 3 +- 11ty/CustomLiquid.ts | 2 - eleventy.config.ts | 8 ---- index.html | 14 ------ package-lock.json | 100 ++++++++++++++++++------------------------- package.json | 1 - 6 files changed, 42 insertions(+), 86 deletions(-) delete mode 100644 index.html diff --git a/.eleventyignore b/.eleventyignore index 752acaedf1..59386af4f7 100644 --- a/.eleventyignore +++ b/.eleventyignore @@ -1,6 +1,5 @@ -*.md +*.* 11ty/ -acknowledgements.html acknowledgements/ conformance-challenges/ guidelines/ diff --git a/11ty/CustomLiquid.ts b/11ty/CustomLiquid.ts index 7e5de46859..f395f6e470 100644 --- a/11ty/CustomLiquid.ts +++ b/11ty/CustomLiquid.ts @@ -89,8 +89,6 @@ export class CustomLiquid extends Liquid { const isIndex = indexPattern.test(filepath); const isTechniques = techniquesPattern.test(filepath); const isUnderstanding = understandingPattern.test(filepath); - - if (!isTechniques && !isUnderstanding) return super.parse(html); const $ = flattenDom(html, filepath); diff --git a/eleventy.config.ts b/eleventy.config.ts index 37dd71bdc9..e146eb728f 100644 --- a/eleventy.config.ts +++ b/eleventy.config.ts @@ -1,5 +1,4 @@ import compact from "lodash-es/compact"; -import { rimraf } from "rimraf"; import { copyFile } from "fs/promises"; @@ -125,7 +124,6 @@ export default function (eleventyConfig: any) { eleventyConfig.addGlobalData("eleventyComputed", { // permalink determines output structure; see https://www.11ty.dev/docs/permalinks/ permalink: ({ page, isUnderstanding }: GlobalData) => { - if (page.inputPath === "./index.html" && process.env.WCAG_MODE) return false; if (isUnderstanding) { // understanding-metadata.html exists in 2 places; top-level wins in XSLT process if (/\/20\/understanding-metadata/.test(page.inputPath)) return false; @@ -175,12 +173,6 @@ export default function (eleventyConfig: any) { eleventyConfig.addPassthroughCopy("working-examples/**"); - eleventyConfig.on("eleventy.before", async ({ runMode }: EleventyEvent) => { - // Clear the _site folder before publishes to GH Pages or W3C site, - // to avoid inheriting dev-only files from previous runs - if (runMode === "build" && process.env.WCAG_MODE) await rimraf("_site"); - }); - eleventyConfig.on("eleventy.after", async ({ dir }: EleventyEvent) => { // addPassthroughCopy can only map each file once, // but base.css needs to be copied to a 2nd destination diff --git a/index.html b/index.html deleted file mode 100644 index 9fcfa92eb7..0000000000 --- a/index.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - - Web Content Accessibility Guidelines {{ versionDecimal }} - - -

    Web Content Accessibility Guidelines {{ versionDecimal }}

    -
    - - diff --git a/package-lock.json b/package-lock.json index c237f220d2..54bc11eff8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,6 @@ "liquidjs": "^10.14.0", "lodash-es": "^4.17.21", "mkdirp": "^3.0.1", - "rimraf": "^5.0.10", "tsx": "^4.11.0" }, "devDependencies": { @@ -1742,7 +1741,6 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", "dependencies": { "once": "^1.3.0", "wrappy": "1" @@ -2480,46 +2478,6 @@ "slash": "^1.0.0" } }, - "node_modules/recursive-copy/node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/recursive-copy/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "deprecated": "Glob versions prior to v9 are no longer supported", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/recursive-copy/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, "node_modules/recursive-copy/node_modules/mkdirp": { "version": "0.5.6", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", @@ -2531,18 +2489,6 @@ "mkdirp": "bin/cmd.js" } }, - "node_modules/recursive-copy/node_modules/rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", - "deprecated": "Rimraf versions prior to v4 are no longer supported", - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - } - }, "node_modules/resolve-pkg-maps": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz", @@ -2561,19 +2507,55 @@ } }, "node_modules/rimraf": { - "version": "5.0.10", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.10.tgz", - "integrity": "sha512-l0OE8wL34P4nJH/H2ffoaniAokM2qSmrtXHmlpvYr5AVVX8msAyW0l8NVJFDxlSK4u3Uh/f41cQheDVdnYijwQ==", + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", "dependencies": { - "glob": "^10.3.7" + "glob": "^7.1.3" }, "bin": { - "rimraf": "dist/esm/bin.mjs" + "rimraf": "bin.js" + } + }, + "node_modules/rimraf/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/rimraf/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/rimraf/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, "node_modules/run-parallel": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", diff --git a/package.json b/package.json index d99692156a..24492fb7e3 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,6 @@ "liquidjs": "^10.14.0", "lodash-es": "^4.17.21", "mkdirp": "^3.0.1", - "rimraf": "^5.0.10", "tsx": "^4.11.0" }, "devDependencies": {