mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-08-05 07:27:52 +02:00
Compare commits
No commits in common. "61b85f2905ee7af4f12a19c1b3a3c432864fa45a" and "d3dee159e433f257720ba033ae42eb7a24fd6cad" have entirely different histories.
61b85f2905
...
d3dee159e4
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
|
|
@ -31,7 +31,7 @@ jobs:
|
||||||
node-version: ${{ env.NODE_VERSION }}
|
node-version: ${{ env.NODE_VERSION }}
|
||||||
- name: "🔎 Run validator"
|
- name: "🔎 Run validator"
|
||||||
run: |
|
run: |
|
||||||
npx @redocly/cli@2.31.5 lint data/api/*/*.yaml
|
npx @redocly/cli@latest lint data/api/*/*.yaml
|
||||||
|
|
||||||
check-event-examples:
|
check-event-examples:
|
||||||
name: "🔎 Check Event schema examples"
|
name: "🔎 Check Event schema examples"
|
||||||
|
|
@ -236,10 +236,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
tar -C "spec${baseURL}" --strip-components=1 -xzf openapi.tar.gz
|
tar -C "spec${baseURL}" --strip-components=1 -xzf openapi.tar.gz
|
||||||
|
|
||||||
- name: "🔍 pagefind indexing"
|
|
||||||
run: |
|
|
||||||
npm run pagefind -- --site "spec${baseURL}"
|
|
||||||
|
|
||||||
- name: "📦 Tarball creation"
|
- name: "📦 Tarball creation"
|
||||||
run: |
|
run: |
|
||||||
cd spec
|
cd spec
|
||||||
|
|
|
||||||
12
README.md
12
README.md
|
|
@ -79,18 +79,6 @@ We use a highly customized [Docsy](https://www.docsy.dev/) theme for our generat
|
||||||
Awesome. If you're looking at making design-related changes to the spec site, please coordinate with us in
|
Awesome. If you're looking at making design-related changes to the spec site, please coordinate with us in
|
||||||
[#matrix-docs:matrix.org](https://matrix.to/#/#matrix-docs:matrix.org) before opening a PR.
|
[#matrix-docs:matrix.org](https://matrix.to/#/#matrix-docs:matrix.org) before opening a PR.
|
||||||
|
|
||||||
## Page search
|
|
||||||
|
|
||||||
The spec uses [Pagefind](https://pagefind.app/) to provide a page search widget. To test this locally, you'll need to generate the
|
|
||||||
search index _after_ building the static site.
|
|
||||||
|
|
||||||
```
|
|
||||||
hugo build && npm run pagefind -- --site public && hugo serve
|
|
||||||
```
|
|
||||||
|
|
||||||
Note that while `hugo serve` supports hot reloading, changes made to the site content won't reflect in the search index without
|
|
||||||
rebuilding it.
|
|
||||||
|
|
||||||
## Building the specification
|
## Building the specification
|
||||||
|
|
||||||
If for some reason you're not a CI/CD system and want to render a static version of the spec for yourself, follow the above
|
If for some reason you're not a CI/CD system and want to render a static version of the spec for yourself, follow the above
|
||||||
|
|
|
||||||
|
|
@ -1,298 +0,0 @@
|
||||||
/*
|
|
||||||
Copyright 2026 The Matrix.org Foundation C.I.C.
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
Adapted from [1] to combine Docsy's built-in search UI with the Pagefind
|
|
||||||
search backend.
|
|
||||||
|
|
||||||
[1]: https://github.com/matrix-org/docsy/blob/71d103ebb20ace3d528178c4b6d92b6cc4f7fd53/assets/js/offline-search.js
|
|
||||||
*/
|
|
||||||
|
|
||||||
(function ($) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
$(document).ready(async function () {
|
|
||||||
// This is going to be loaded from ${deployment}/js/main.js so to use a relative path
|
|
||||||
// to the Pagefind script we need to navigate one level up.
|
|
||||||
const pagefind = await import("../pagefind/pagefind.js");
|
|
||||||
const $searchInput = $(".td-search input");
|
|
||||||
|
|
||||||
//
|
|
||||||
// Lazily initialise Pagefind only when the user is about to start a search.
|
|
||||||
//
|
|
||||||
|
|
||||||
$searchInput.focus(() => {
|
|
||||||
pagefind.init();
|
|
||||||
});
|
|
||||||
|
|
||||||
//
|
|
||||||
// Set up search input handler.
|
|
||||||
//
|
|
||||||
|
|
||||||
$searchInput.on("keydown", (event) => {
|
|
||||||
// Start searching only upon Enter.
|
|
||||||
if (event.key === "Enter") {
|
|
||||||
event.preventDefault();
|
|
||||||
render($(event.target));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
// Prevent reloading page by enter key on sidebar search.
|
|
||||||
$searchInput.closest("form").on("submit", () => {
|
|
||||||
return false;
|
|
||||||
});
|
|
||||||
|
|
||||||
//
|
|
||||||
// Callback for searching and rendering the results.
|
|
||||||
//
|
|
||||||
|
|
||||||
const render = async ($targetSearchInput) => {
|
|
||||||
//
|
|
||||||
// Dispose any existing popover.
|
|
||||||
//
|
|
||||||
|
|
||||||
disposePopover($targetSearchInput);
|
|
||||||
|
|
||||||
//
|
|
||||||
// Check if we need to do a search at all.
|
|
||||||
//
|
|
||||||
|
|
||||||
const searchQuery = $targetSearchInput.val();
|
|
||||||
if (searchQuery === "") {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
|
||||||
// Prepare the results popover.
|
|
||||||
//
|
|
||||||
|
|
||||||
const $html = $("<div>");
|
|
||||||
|
|
||||||
// Add the header and close button.
|
|
||||||
$html.append($("<div>")
|
|
||||||
.css({
|
|
||||||
display: "flex",
|
|
||||||
justifyContent: "space-between",
|
|
||||||
marginBottom: "1em",
|
|
||||||
})
|
|
||||||
.append($("<span>")
|
|
||||||
.text("Search results")
|
|
||||||
.css({ fontWeight: "bold" }))
|
|
||||||
.append($("<button>")
|
|
||||||
.addClass("td-offline-search-results__close-button")
|
|
||||||
.addClass("btn")
|
|
||||||
.addClass("btn-sm")
|
|
||||||
.addClass("btn-link")
|
|
||||||
.attr("type", "button")
|
|
||||||
.attr("aria-label", "Close")
|
|
||||||
.on("click", () => {
|
|
||||||
$targetSearchInput.val("");
|
|
||||||
disposePopover($targetSearchInput);
|
|
||||||
})
|
|
||||||
)
|
|
||||||
);
|
|
||||||
|
|
||||||
// Add the main search results body.
|
|
||||||
const $searchResultBody = $("<div>").css({
|
|
||||||
maxHeight: `calc(100vh - ${
|
|
||||||
$targetSearchInput.offset().top - $(window).scrollTop() + 180
|
|
||||||
}px)`,
|
|
||||||
overflowY: "auto",
|
|
||||||
});
|
|
||||||
$html.append($searchResultBody);
|
|
||||||
|
|
||||||
// Append a spinner while we're busy.
|
|
||||||
const $spinner = createSpinner();
|
|
||||||
$searchResultBody.append($spinner)
|
|
||||||
|
|
||||||
// Display the popover.
|
|
||||||
const popover = new bootstrap.Popover($targetSearchInput[0], {
|
|
||||||
content: $html[0],
|
|
||||||
html: true,
|
|
||||||
customClass: "td-offline-search-results",
|
|
||||||
placement: "bottom",
|
|
||||||
});
|
|
||||||
popover.show();
|
|
||||||
|
|
||||||
//
|
|
||||||
// Kick off the search, load the results and inject them into the popover.
|
|
||||||
//
|
|
||||||
|
|
||||||
// First search all non-changelog pages.
|
|
||||||
const search = await pagefind.debouncedSearch(searchQuery, { filters: { not: { type: "changelog" } } });
|
|
||||||
if (search === null) {
|
|
||||||
// A more recent search call has been made, nothing to do.
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Now search the changelog pages and append any results so that changelog
|
|
||||||
// results are ranked lowest. We cannot use Pagefind's sorting to do this
|
|
||||||
// because that would override the default ranking within the non-changelog
|
|
||||||
// results
|
|
||||||
const changelogSearch = await pagefind.search(searchQuery, { filters: { type: "changelog" } });
|
|
||||||
const results = [...search.results, ...changelogSearch.results];
|
|
||||||
|
|
||||||
if (results.length === 0) {
|
|
||||||
$searchResultBody.append(
|
|
||||||
$("<p>").text(`No results found for query "${searchQuery}"`)
|
|
||||||
);
|
|
||||||
} else {
|
|
||||||
await loadAndRenderResults(results, 0, $spinner, $searchResultBody);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
});
|
|
||||||
})(jQuery);
|
|
||||||
|
|
||||||
//
|
|
||||||
// Helpers
|
|
||||||
//
|
|
||||||
|
|
||||||
const disposePopover = ($targetSearchInput) => {
|
|
||||||
const popover = bootstrap.Popover.getInstance($targetSearchInput[0]);
|
|
||||||
if (popover !== null) {
|
|
||||||
popover.dispose();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
const createSpinner = () => {
|
|
||||||
return $("<div>")
|
|
||||||
.addClass("spinner-container")
|
|
||||||
.append($("<div>")
|
|
||||||
.addClass("spinner-border")
|
|
||||||
.attr("role", "status")
|
|
||||||
.append($("<div>")
|
|
||||||
.addClass("visually-hidden")
|
|
||||||
.text("Loading...")))
|
|
||||||
.append($("<p>")
|
|
||||||
.text("Loading..."));
|
|
||||||
}
|
|
||||||
|
|
||||||
const loadAndRenderResults = async (results, offset, $spinner, $searchResultBody) => {
|
|
||||||
// Load and render the first three results and hide the remainder behind a
|
|
||||||
// button to not freeze the browser by loading results that may not be
|
|
||||||
// displayed.
|
|
||||||
const LIMIT = 3;
|
|
||||||
|
|
||||||
for (const [index, result] of results.entries()) {
|
|
||||||
if (index < LIMIT) {
|
|
||||||
// Insert a container for the result *before* the spinner. This
|
|
||||||
// will push down the spinner as new content is loaded and keep
|
|
||||||
// it at the end of the popover.
|
|
||||||
const $container = $("<div>");
|
|
||||||
$spinner.before($container);
|
|
||||||
|
|
||||||
renderResult(await result.data(), index + offset, $container);
|
|
||||||
} else if (index === LIMIT) {
|
|
||||||
const num_hidden_results = results.length - index;
|
|
||||||
const $loader = $("<button>")
|
|
||||||
.attr("type", "button")
|
|
||||||
.addClass("td-offline-search-results__expander-button")
|
|
||||||
.addClass("btn")
|
|
||||||
.addClass("btn-sm")
|
|
||||||
.addClass("btn-link")
|
|
||||||
.text(`Load more results from ${num_hidden_results} other ${pagesString(num_hidden_results)}`)
|
|
||||||
.on("click", async () => {
|
|
||||||
// Remove the button.
|
|
||||||
$loader.remove();
|
|
||||||
|
|
||||||
// Add a spinner while we're busy.
|
|
||||||
const $spinner = createSpinner();
|
|
||||||
$searchResultBody.append($spinner)
|
|
||||||
|
|
||||||
// Load and render the results.
|
|
||||||
await loadAndRenderResults(results.slice(LIMIT), LIMIT + offset, $spinner, $searchResultBody);
|
|
||||||
});
|
|
||||||
$spinner.before($loader)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Remove the spinner now that everything was loaded.
|
|
||||||
$spinner.remove();
|
|
||||||
}
|
|
||||||
|
|
||||||
const renderResult = (data, index, $container) => {
|
|
||||||
// Add the main result's page title.
|
|
||||||
$container.append($("<div>")
|
|
||||||
.append($("<a>")
|
|
||||||
.css({
|
|
||||||
fontSize: "1.2rem",
|
|
||||||
})
|
|
||||||
.attr("href", data.url)
|
|
||||||
.text(data.meta.title))
|
|
||||||
.append($("<span>")
|
|
||||||
.addClass("text-body-secondary")
|
|
||||||
.text(` – ${data.sub_results.length} ${resultsString(data.sub_results.length)}`)));
|
|
||||||
|
|
||||||
// Render the first 3 subresults per page and wrap the rest
|
|
||||||
// in a collapsed container.
|
|
||||||
const LIMIT = 3;
|
|
||||||
let $wrapper = null;
|
|
||||||
|
|
||||||
data.sub_results.forEach((s, index_s) => {
|
|
||||||
if (index_s === LIMIT) {
|
|
||||||
const num_hidden_results = data.sub_results.length - index_s;
|
|
||||||
const wrapper_id = `collapsible-subresults-${index}`;
|
|
||||||
const $action = $("<span>").text("▶ Show");
|
|
||||||
const $expander = $("<button>")
|
|
||||||
.attr("data-bs-toggle", "collapse")
|
|
||||||
.attr("data-bs-target", `#${wrapper_id}`)
|
|
||||||
.attr("aria-expanded", "false")
|
|
||||||
.attr("aria-controls", wrapper_id)
|
|
||||||
.attr("type", "button")
|
|
||||||
.addClass("td-offline-search-results__expander-button")
|
|
||||||
.addClass("btn")
|
|
||||||
.addClass("btn-sm")
|
|
||||||
.addClass("btn-link")
|
|
||||||
.append($action)
|
|
||||||
.append($("<span>").text(` ${num_hidden_results} more ${resultsString(num_hidden_results)} from ${data.meta.title}`));
|
|
||||||
|
|
||||||
$container.append($("<p>").append($expander));
|
|
||||||
$wrapper = $("<div>")
|
|
||||||
.addClass("collapse td-offline-search-results__subresults")
|
|
||||||
.attr("id", wrapper_id)
|
|
||||||
.on("hide.bs.collapse", _ => $action.text("▶ Show"))
|
|
||||||
.on("show.bs.collapse", _ => $action.text("▼ Hide"));
|
|
||||||
$container.append($wrapper);
|
|
||||||
}
|
|
||||||
|
|
||||||
const $entry = $("<div>")
|
|
||||||
.css("margin-top", "0.5rem");
|
|
||||||
|
|
||||||
$entry.append(
|
|
||||||
$("<a>")
|
|
||||||
.addClass("d-block")
|
|
||||||
.attr("href", s.url)
|
|
||||||
.text(s.title)
|
|
||||||
);
|
|
||||||
|
|
||||||
$entry.append($("<p>").html(s.excerpt));
|
|
||||||
|
|
||||||
if (index_s < LIMIT) {
|
|
||||||
$container.append($entry);
|
|
||||||
} else {
|
|
||||||
$wrapper.append($entry);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
};
|
|
||||||
|
|
||||||
const resultsString = (n) => {
|
|
||||||
return n === 1 ? "result" : "results";
|
|
||||||
};
|
|
||||||
|
|
||||||
const pagesString = (n) => {
|
|
||||||
return n === 1 ? "page" : "pages";
|
|
||||||
};
|
|
||||||
|
|
@ -661,32 +661,3 @@ dd {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Style for the page search widget */
|
|
||||||
.td-offline-search-results {
|
|
||||||
width: 100%;
|
|
||||||
max-width: 460px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.td-offline-search-results .td-offline-search-results__subresults.collapse.show {
|
|
||||||
// Prevent the first child margin from collapsing upward when Bootstrap
|
|
||||||
// finishes the collapse animation, which otherwise causes a small jump.
|
|
||||||
display: flow-root;
|
|
||||||
}
|
|
||||||
|
|
||||||
.td-offline-search-results .spinner-container {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.td-offline-search-results__close-button {
|
|
||||||
// Prevent the label from rendering white on white.
|
|
||||||
--bs-btn-color: unset;
|
|
||||||
}
|
|
||||||
|
|
||||||
.td-offline-search-results__expander-button {
|
|
||||||
// Prevent the label from rendering white on white.
|
|
||||||
--bs-btn-color: unset;
|
|
||||||
// Avoid any extra inset.
|
|
||||||
--bs-btn-padding-x: 0;
|
|
||||||
--bs-btn-padding-y: 0;
|
|
||||||
}
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
Removed unused components in OpenAPI definitions.
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
Add page search widget.
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
Clarify that policy servers might share a name with event origins, and that servers should avoid overwriting/discarding signatures for the event origin when getting a policy server signature.
|
|
||||||
|
|
@ -66,7 +66,6 @@ description = "Home of the Matrix specification for decentralised communication"
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
copyright = "The Matrix.org Foundation C.I.C."
|
copyright = "The Matrix.org Foundation C.I.C."
|
||||||
offlineSearch = true
|
|
||||||
|
|
||||||
[params.version]
|
[params.version]
|
||||||
# must be one of "unstable", "current", "historical"
|
# must be one of "unstable", "current", "historical"
|
||||||
|
|
@ -152,10 +151,7 @@ sidebar_menu_compact = true
|
||||||
[server.headers.values]
|
[server.headers.values]
|
||||||
# `style-src 'unsafe-inline'` is needed to correctly render the maths in the Olm spec:
|
# `style-src 'unsafe-inline'` is needed to correctly render the maths in the Olm spec:
|
||||||
# https://github.com/KaTeX/KaTeX/issues/4096
|
# https://github.com/KaTeX/KaTeX/issues/4096
|
||||||
# `script-src 'unsafe-eval'` is needed because Pagefind relies on it to load its Wasm.
|
Content-Security-Policy = "default-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'self'; img-src 'self' data:; connect-src 'self'; font-src 'self' data:; media-src 'self'; child-src 'self'; form-action 'self'; object-src 'self'"
|
||||||
# In future, we should switch to `wasm-unsafe-eval` but this doesn't yet work in Safari:
|
|
||||||
# https://github.com/Pagefind/pagefind/blob/main/docs/content/docs/hosting.md
|
|
||||||
Content-Security-Policy = "default-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-eval'; img-src 'self' data:; connect-src 'self'; font-src 'self' data:; media-src 'self'; child-src 'self'; form-action 'self'; object-src 'self'"
|
|
||||||
X-XSS-Protection = "1; mode=block"
|
X-XSS-Protection = "1; mode=block"
|
||||||
X-Content-Type-Options = "nosniff"
|
X-Content-Type-Options = "nosniff"
|
||||||
# Strict-Transport-Security = "max-age=31536000; includeSubDomains; preload"
|
# Strict-Transport-Security = "max-age=31536000; includeSubDomains; preload"
|
||||||
|
|
|
||||||
|
|
@ -313,3 +313,9 @@ servers:
|
||||||
default: localhost:8008
|
default: localhost:8008
|
||||||
basePath:
|
basePath:
|
||||||
default: /_matrix/client/v3
|
default: /_matrix/client/v3
|
||||||
|
components:
|
||||||
|
securitySchemes:
|
||||||
|
accessTokenQuery:
|
||||||
|
$ref: definitions/security.yaml#/accessTokenQuery
|
||||||
|
accessTokenBearer:
|
||||||
|
$ref: definitions/security.yaml#/accessTokenBearer
|
||||||
|
|
|
||||||
|
|
@ -480,3 +480,9 @@ servers:
|
||||||
default: localhost:8008
|
default: localhost:8008
|
||||||
basePath:
|
basePath:
|
||||||
default: /_matrix/client/v3
|
default: /_matrix/client/v3
|
||||||
|
components:
|
||||||
|
securitySchemes:
|
||||||
|
accessTokenQuery:
|
||||||
|
$ref: definitions/security.yaml#/accessTokenQuery
|
||||||
|
accessTokenBearer:
|
||||||
|
$ref: definitions/security.yaml#/accessTokenBearer
|
||||||
|
|
|
||||||
|
|
@ -130,3 +130,9 @@ servers:
|
||||||
default: localhost:8008
|
default: localhost:8008
|
||||||
basePath:
|
basePath:
|
||||||
default: /_matrix/client/v1
|
default: /_matrix/client/v1
|
||||||
|
components:
|
||||||
|
securitySchemes:
|
||||||
|
accessTokenQuery:
|
||||||
|
$ref: definitions/security.yaml#/accessTokenQuery
|
||||||
|
accessTokenBearer:
|
||||||
|
$ref: definitions/security.yaml#/accessTokenBearer
|
||||||
|
|
|
||||||
|
|
@ -41,12 +41,6 @@ paths:
|
||||||
|
|
||||||
What the Policy Server checks for when calling this endpoint is left as an
|
What the Policy Server checks for when calling this endpoint is left as an
|
||||||
implementation detail.
|
implementation detail.
|
||||||
|
|
||||||
{{% boxes/warning %}}
|
|
||||||
The policy server name might be the same as the event's origin, and therefore the event might
|
|
||||||
have existing signatures. Those existing signatures might not be returned by the policy server,
|
|
||||||
but should be retained to validate the event.
|
|
||||||
{{% /boxes/warning %}}
|
|
||||||
operationId: askPolicyServerToSign
|
operationId: askPolicyServerToSign
|
||||||
security:
|
security:
|
||||||
- signedRequest: []
|
- signedRequest: []
|
||||||
|
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
||||||
<div class="td-search td-search--offline">
|
|
||||||
<div class="td-search__icon"></div>
|
|
||||||
<input
|
|
||||||
type="search"
|
|
||||||
class="td-search__input form-control"
|
|
||||||
placeholder="Search the spec"
|
|
||||||
aria-label="Search the spec"
|
|
||||||
autocomplete="off"
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ $version := lower .LinkTitle -}}
|
{{ $version := lower .LinkTitle -}}
|
||||||
<div class="td-content" data-pagefind-filter="type:changelog">
|
<div class="td-content">
|
||||||
<h1>{{ .Title }}</h1>
|
<h1>{{ .Title }}</h1>
|
||||||
|
|
||||||
<table class="release-info">
|
<table class="release-info">
|
||||||
|
|
|
||||||
159
package-lock.json
generated
159
package-lock.json
generated
|
|
@ -12,7 +12,6 @@
|
||||||
"@fullhuman/postcss-purgecss": "^6.0.0",
|
"@fullhuman/postcss-purgecss": "^6.0.0",
|
||||||
"autoprefixer": "^10.4.20",
|
"autoprefixer": "^10.4.20",
|
||||||
"node-fetch": "^2.6.7",
|
"node-fetch": "^2.6.7",
|
||||||
"pagefind": "^1.4.0",
|
|
||||||
"postcss": "^8.4.49",
|
"postcss": "^8.4.49",
|
||||||
"postcss-cli": "^11.0.0"
|
"postcss-cli": "^11.0.0"
|
||||||
}
|
}
|
||||||
|
|
@ -171,90 +170,6 @@
|
||||||
"node": ">= 8"
|
"node": ">= 8"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@pagefind/darwin-arm64": {
|
|
||||||
"version": "1.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@pagefind/darwin-arm64/-/darwin-arm64-1.4.0.tgz",
|
|
||||||
"integrity": "sha512-2vMqkbv3lbx1Awea90gTaBsvpzgRs7MuSgKDxW0m9oV1GPZCZbZBJg/qL83GIUEN2BFlY46dtUZi54pwH+/pTQ==",
|
|
||||||
"cpu": [
|
|
||||||
"arm64"
|
|
||||||
],
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"darwin"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"node_modules/@pagefind/darwin-x64": {
|
|
||||||
"version": "1.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@pagefind/darwin-x64/-/darwin-x64-1.4.0.tgz",
|
|
||||||
"integrity": "sha512-e7JPIS6L9/cJfow+/IAqknsGqEPjJnVXGjpGm25bnq+NPdoD3c/7fAwr1OXkG4Ocjx6ZGSCijXEV4ryMcH2E3A==",
|
|
||||||
"cpu": [
|
|
||||||
"x64"
|
|
||||||
],
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"darwin"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"node_modules/@pagefind/freebsd-x64": {
|
|
||||||
"version": "1.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@pagefind/freebsd-x64/-/freebsd-x64-1.4.0.tgz",
|
|
||||||
"integrity": "sha512-WcJVypXSZ+9HpiqZjFXMUobfFfZZ6NzIYtkhQ9eOhZrQpeY5uQFqNWLCk7w9RkMUwBv1HAMDW3YJQl/8OqsV0Q==",
|
|
||||||
"cpu": [
|
|
||||||
"x64"
|
|
||||||
],
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"freebsd"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"node_modules/@pagefind/linux-arm64": {
|
|
||||||
"version": "1.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@pagefind/linux-arm64/-/linux-arm64-1.4.0.tgz",
|
|
||||||
"integrity": "sha512-PIt8dkqt4W06KGmQjONw7EZbhDF+uXI7i0XtRLN1vjCUxM9vGPdtJc2mUyVPevjomrGz5M86M8bqTr6cgDp1Uw==",
|
|
||||||
"cpu": [
|
|
||||||
"arm64"
|
|
||||||
],
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"linux"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"node_modules/@pagefind/linux-x64": {
|
|
||||||
"version": "1.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@pagefind/linux-x64/-/linux-x64-1.4.0.tgz",
|
|
||||||
"integrity": "sha512-z4oddcWwQ0UHrTHR8psLnVlz6USGJ/eOlDPTDYZ4cI8TK8PgwRUPQZp9D2iJPNIPcS6Qx/E4TebjuGJOyK8Mmg==",
|
|
||||||
"cpu": [
|
|
||||||
"x64"
|
|
||||||
],
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"linux"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"node_modules/@pagefind/windows-x64": {
|
|
||||||
"version": "1.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@pagefind/windows-x64/-/windows-x64-1.4.0.tgz",
|
|
||||||
"integrity": "sha512-NkT+YAdgS2FPCn8mIA9bQhiBs+xmniMGq1LFPDhcFn0+2yIUEiIG06t7bsZlhdjknEQRTSdT7YitP6fC5qwP0g==",
|
|
||||||
"cpu": [
|
|
||||||
"x64"
|
|
||||||
],
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"win32"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"node_modules/@pkgjs/parseargs": {
|
"node_modules/@pkgjs/parseargs": {
|
||||||
"version": "0.11.0",
|
"version": "0.11.0",
|
||||||
"resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",
|
"resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",
|
||||||
|
|
@ -999,24 +914,6 @@
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "BlueOak-1.0.0"
|
"license": "BlueOak-1.0.0"
|
||||||
},
|
},
|
||||||
"node_modules/pagefind": {
|
|
||||||
"version": "1.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/pagefind/-/pagefind-1.4.0.tgz",
|
|
||||||
"integrity": "sha512-z2kY1mQlL4J8q5EIsQkLzQjilovKzfNVhX8De6oyE6uHpfFtyBaqUpcl/XzJC/4fjD8vBDyh1zolimIcVrCn9g==",
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"bin": {
|
|
||||||
"pagefind": "lib/runner/bin.cjs"
|
|
||||||
},
|
|
||||||
"optionalDependencies": {
|
|
||||||
"@pagefind/darwin-arm64": "1.4.0",
|
|
||||||
"@pagefind/darwin-x64": "1.4.0",
|
|
||||||
"@pagefind/freebsd-x64": "1.4.0",
|
|
||||||
"@pagefind/linux-arm64": "1.4.0",
|
|
||||||
"@pagefind/linux-x64": "1.4.0",
|
|
||||||
"@pagefind/windows-x64": "1.4.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/path-key": {
|
"node_modules/path-key": {
|
||||||
"version": "3.1.1",
|
"version": "3.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
|
||||||
|
|
@ -1755,48 +1652,6 @@
|
||||||
"fastq": "^1.6.0"
|
"fastq": "^1.6.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@pagefind/darwin-arm64": {
|
|
||||||
"version": "1.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@pagefind/darwin-arm64/-/darwin-arm64-1.4.0.tgz",
|
|
||||||
"integrity": "sha512-2vMqkbv3lbx1Awea90gTaBsvpzgRs7MuSgKDxW0m9oV1GPZCZbZBJg/qL83GIUEN2BFlY46dtUZi54pwH+/pTQ==",
|
|
||||||
"dev": true,
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"@pagefind/darwin-x64": {
|
|
||||||
"version": "1.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@pagefind/darwin-x64/-/darwin-x64-1.4.0.tgz",
|
|
||||||
"integrity": "sha512-e7JPIS6L9/cJfow+/IAqknsGqEPjJnVXGjpGm25bnq+NPdoD3c/7fAwr1OXkG4Ocjx6ZGSCijXEV4ryMcH2E3A==",
|
|
||||||
"dev": true,
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"@pagefind/freebsd-x64": {
|
|
||||||
"version": "1.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@pagefind/freebsd-x64/-/freebsd-x64-1.4.0.tgz",
|
|
||||||
"integrity": "sha512-WcJVypXSZ+9HpiqZjFXMUobfFfZZ6NzIYtkhQ9eOhZrQpeY5uQFqNWLCk7w9RkMUwBv1HAMDW3YJQl/8OqsV0Q==",
|
|
||||||
"dev": true,
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"@pagefind/linux-arm64": {
|
|
||||||
"version": "1.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@pagefind/linux-arm64/-/linux-arm64-1.4.0.tgz",
|
|
||||||
"integrity": "sha512-PIt8dkqt4W06KGmQjONw7EZbhDF+uXI7i0XtRLN1vjCUxM9vGPdtJc2mUyVPevjomrGz5M86M8bqTr6cgDp1Uw==",
|
|
||||||
"dev": true,
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"@pagefind/linux-x64": {
|
|
||||||
"version": "1.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@pagefind/linux-x64/-/linux-x64-1.4.0.tgz",
|
|
||||||
"integrity": "sha512-z4oddcWwQ0UHrTHR8psLnVlz6USGJ/eOlDPTDYZ4cI8TK8PgwRUPQZp9D2iJPNIPcS6Qx/E4TebjuGJOyK8Mmg==",
|
|
||||||
"dev": true,
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"@pagefind/windows-x64": {
|
|
||||||
"version": "1.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@pagefind/windows-x64/-/windows-x64-1.4.0.tgz",
|
|
||||||
"integrity": "sha512-NkT+YAdgS2FPCn8mIA9bQhiBs+xmniMGq1LFPDhcFn0+2yIUEiIG06t7bsZlhdjknEQRTSdT7YitP6fC5qwP0g==",
|
|
||||||
"dev": true,
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"@pkgjs/parseargs": {
|
"@pkgjs/parseargs": {
|
||||||
"version": "0.11.0",
|
"version": "0.11.0",
|
||||||
"resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",
|
"resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",
|
||||||
|
|
@ -2262,20 +2117,6 @@
|
||||||
"integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==",
|
"integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"pagefind": {
|
|
||||||
"version": "1.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/pagefind/-/pagefind-1.4.0.tgz",
|
|
||||||
"integrity": "sha512-z2kY1mQlL4J8q5EIsQkLzQjilovKzfNVhX8De6oyE6uHpfFtyBaqUpcl/XzJC/4fjD8vBDyh1zolimIcVrCn9g==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"@pagefind/darwin-arm64": "1.4.0",
|
|
||||||
"@pagefind/darwin-x64": "1.4.0",
|
|
||||||
"@pagefind/freebsd-x64": "1.4.0",
|
|
||||||
"@pagefind/linux-arm64": "1.4.0",
|
|
||||||
"@pagefind/linux-x64": "1.4.0",
|
|
||||||
"@pagefind/windows-x64": "1.4.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"path-key": {
|
"path-key": {
|
||||||
"version": "3.1.1",
|
"version": "3.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,7 @@
|
||||||
"main": "none.js",
|
"main": "none.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"get-proposals": "node ./scripts/proposals.js",
|
"get-proposals": "node ./scripts/proposals.js",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
"pagefind": "pagefind $@"
|
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
@ -23,7 +22,6 @@
|
||||||
"@fullhuman/postcss-purgecss": "^6.0.0",
|
"@fullhuman/postcss-purgecss": "^6.0.0",
|
||||||
"autoprefixer": "^10.4.20",
|
"autoprefixer": "^10.4.20",
|
||||||
"node-fetch": "^2.6.7",
|
"node-fetch": "^2.6.7",
|
||||||
"pagefind": "^1.4.0",
|
|
||||||
"postcss": "^8.4.49",
|
"postcss": "^8.4.49",
|
||||||
"postcss-cli": "^11.0.0"
|
"postcss-cli": "^11.0.0"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue