From c19ea46bd6410cc9bb63f61ecc6dddb225df6061 Mon Sep 17 00:00:00 2001 From: Ciaran Morinan <37743469+CiaranMn@users.noreply.github.com> Date: Sat, 14 Dec 2024 00:17:19 +0000 Subject: [PATCH 01/10] H-3553, H-3695, H-3805: Entities table and slideover fixes (#5899) --- apps/hash-api/src/util.ts | 38 --------- .../src/components/grid/grid.tsx | 2 +- .../edit-entity-slide-over.tsx | 78 +++++++++++++------ .../entity-page-header.tsx | 8 +- .../src/pages/shared/entities-visualizer.tsx | 35 +++++---- .../type-slide-over-stack.tsx | 3 + apps/hash-frontend/src/shared/is-of-type.ts | 7 ++ .../table-header/bulk-actions-dropdown.tsx | 54 +++++++------ 8 files changed, 124 insertions(+), 101 deletions(-) diff --git a/apps/hash-api/src/util.ts b/apps/hash-api/src/util.ts index ec168ec7076..1c7fa19d719 100644 --- a/apps/hash-api/src/util.ts +++ b/apps/hash-api/src/util.ts @@ -10,19 +10,6 @@ export const exactlyOne = (...items: unknown[]): boolean => .map((val) => val !== null && val !== undefined) .reduce((acc, val) => (val ? 1 : 0) + acc, 0) === 1; -export const isRecord = (thing: unknown): thing is Record => { - if (typeof thing !== "object") { - return false; - } - if (thing == null) { - return false; - } - if (thing instanceof Array) { - return false; - } - return true; -}; - /** Returns the set intersection of `left` and `right`. */ export const intersection = (left: Set, right: Set): Set => { const result = new Set(); @@ -34,31 +21,6 @@ export const intersection = (left: Set, right: Set): Set => { return result; }; -/** - * @todo this assumption of the slug might be brittle, - */ -export const capitalizeComponentName = (cId: string) => { - let componentId = cId; - - // If there's a trailing slash, remove it - const indexLastSlash = componentId.lastIndexOf("/"); - if (indexLastSlash === componentId.length - 1) { - componentId = componentId.slice(0, -1); - } - - // * - // "https://example.org/value" - const indexAfterLastSlash = componentId.lastIndexOf("/") + 1; - return ( - // * and uppercase it - // "https://example.org/value" - componentId.charAt(indexAfterLastSlash).toUpperCase() + - // **** - // "https://example.org/value" - componentId.substring(indexAfterLastSlash + 1) - ); -}; - /** * Given a tree structure that has links, flatten into an array with indices pointing to parent. * Note, this _will_ behave badly with circular structures! diff --git a/apps/hash-frontend/src/components/grid/grid.tsx b/apps/hash-frontend/src/components/grid/grid.tsx index b6c60997548..0e7b311030c 100644 --- a/apps/hash-frontend/src/components/grid/grid.tsx +++ b/apps/hash-frontend/src/components/grid/grid.tsx @@ -580,7 +580,7 @@ export const Grid = ({ if (onSelectedRowsChange && sortedAndFilteredRows) { newSelection.rows.toArray(); const updatedSelectedRows = sortedAndFilteredRows.filter( - (_, rowIndex) => selection.rows.hasIndex(rowIndex), + (_, rowIndex) => newSelection.rows.hasIndex(rowIndex), ); onSelectedRowsChange(updatedSelectedRows); diff --git a/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/edit-entity-slide-over.tsx b/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/edit-entity-slide-over.tsx index 6990015eee1..0eb77acdd95 100644 --- a/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/edit-entity-slide-over.tsx +++ b/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/edit-entity-slide-over.tsx @@ -5,6 +5,7 @@ import { Skeleton, } from "@hashintel/design-system"; import { + type Entity, getClosedMultiEntityTypeFromMap, getDisplayFieldsForClosedEntityType, isClosedMultiEntityTypeForEntityTypeIds, @@ -46,6 +47,9 @@ import { } from "../../../../graphql/queries/knowledge/entity.queries"; import { Button, Link } from "../../../../shared/ui"; import { SlideBackForwardCloseBar } from "../../../shared/shared/slide-back-forward-close-bar"; +import { ArchivedItemBanner } from "../../../shared/top-context-bar/archived-item-banner"; +import type { MinimalEntityValidationReport } from "../../../shared/use-validate-entity"; +import { useValidateEntity } from "../../../shared/use-validate-entity"; import type { EntityEditorProps } from "./entity-editor"; import { EntityEditor } from "./entity-editor"; import { createDraftEntitySubgraph } from "./shared/create-draft-entity-subgraph"; @@ -261,7 +265,7 @@ const EditEntitySlideOver = memo( * we need to fetch it and set it in the local state (from where it will be updated if the user uses the editor * form). */ - const { data: fetchedEntityData } = useQuery< + const { data: fetchedEntityData, refetch } = useQuery< GetEntitySubgraphQuery, GetEntitySubgraphQueryVariables >(getEntitySubgraphQuery, { @@ -467,8 +471,26 @@ const EditEntitySlideOver = memo( updateEntity, ]); + const [validationReport, setValidationReport] = + useState(null); + + const { validateEntity: validateFn } = useValidateEntity(); + + const validateEntity = useCallback( + async (entityToValidate: Entity) => { + const report = await validateFn({ + properties: entityToValidate.propertiesWithMetadata, + entityTypeIds: entityToValidate.metadata.entityTypeIds, + }); + + setValidationReport(report); + }, + [validateFn], + ); + const submitDisabled = - !isDirty && !draftLinksToCreate.length && !draftLinksToArchive.length; + !!validationReport || + (!isDirty && !draftLinksToCreate.length && !draftLinksToArchive.length); const onEntityClick = useCallback( (entityId: EntityId) => @@ -525,25 +547,32 @@ const EditEntitySlideOver = memo( onForward={onForward} onClose={onClose} /> + {entity.metadata.archived && ( + + + + )} - - - palette.gray[50]} - fontSize={40} - /> - - - {entityLabel} - + + + + palette.gray[50]} + fontSize={40} + /> + + + {entityLabel} + + {entityOwningShortname && !hideOpenInNew && ( { - await handleTypeChanges(change); + const newEntity = await handleTypeChanges(change); const originalEntity = originalEntitySubgraph ? getRoots(originalEntitySubgraph)[0] @@ -591,8 +620,10 @@ const EditEntitySlideOver = memo( originalEntity?.metadata.entityTypeIds.toSorted(), ), ); + + await validateEntity(newEntity); }} - setEntity={(changedEntity) => { + setEntity={async (changedEntity) => { setLocalEntitySubgraph((prev) => createDraftEntitySubgraph({ entity: changedEntity, @@ -601,6 +632,9 @@ const EditEntitySlideOver = memo( omitProperties: [], }), ); + + await validateEntity(changedEntity); + setIsDirty(true); }} isDirty={isDirty} diff --git a/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/entity-page-wrapper/entity-page-header.tsx b/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/entity-page-wrapper/entity-page-header.tsx index db189df4fa1..107dc53dafa 100644 --- a/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/entity-page-wrapper/entity-page-header.tsx +++ b/apps/hash-frontend/src/pages/[shortname]/entities/[entity-uuid].page/entity-page-wrapper/entity-page-header.tsx @@ -118,7 +118,13 @@ export const EntityPageHeader = ({ isLink={!!entity?.linkData} fontSize={40} /> - + {entityLabel} diff --git a/apps/hash-frontend/src/pages/shared/entities-visualizer.tsx b/apps/hash-frontend/src/pages/shared/entities-visualizer.tsx index 9cb8466d8fa..93744b5983c 100644 --- a/apps/hash-frontend/src/pages/shared/entities-visualizer.tsx +++ b/apps/hash-frontend/src/pages/shared/entities-visualizer.tsx @@ -127,6 +127,7 @@ export const EntitiesVisualizer: FunctionComponent<{ hadCachedContent, loading, propertyTypes, + refetch: refetchWithoutLinks, subgraph: subgraphPossiblyWithoutLinks, } = useEntityTypeEntitiesContext(); @@ -166,20 +167,21 @@ export const EntitiesVisualizer: FunctionComponent<{ } }, [defaultView, isDisplayingFilesOnly]); - const { subgraph: subgraphWithLinkedEntities } = useEntityTypeEntities({ - entityTypeBaseUrl, - entityTypeId, - graphResolveDepths: { - constrainsLinksOn: { outgoing: 255 }, - constrainsLinkDestinationsOn: { outgoing: 255 }, - constrainsPropertiesOn: { outgoing: 255 }, - constrainsValuesOn: { outgoing: 255 }, - inheritsFrom: { outgoing: 255 }, - isOfType: { outgoing: 1 }, - hasLeftEntity: { outgoing: 1, incoming: 1 }, - hasRightEntity: { outgoing: 1, incoming: 1 }, - }, - }); + const { subgraph: subgraphWithLinkedEntities, refetch: refetchWithLinks } = + useEntityTypeEntities({ + entityTypeBaseUrl, + entityTypeId, + graphResolveDepths: { + constrainsLinksOn: { outgoing: 255 }, + constrainsLinkDestinationsOn: { outgoing: 255 }, + constrainsPropertiesOn: { outgoing: 255 }, + constrainsValuesOn: { outgoing: 255 }, + inheritsFrom: { outgoing: 255 }, + isOfType: { outgoing: 1 }, + hasLeftEntity: { outgoing: 1, incoming: 1 }, + hasRightEntity: { outgoing: 1, incoming: 1 }, + }, + }); /** The subgraphWithLinkedEntities can take a long time to load with many entities. @@ -395,7 +397,10 @@ export const EntitiesVisualizer: FunctionComponent<{ toggleSearch={ view === "Table" ? () => setShowTableSearch(true) : undefined } - onBulkActionCompleted={() => null} + onBulkActionCompleted={() => { + void refetchWithoutLinks(); + void refetchWithLinks(); + }} /> {!subgraph ? ( ([rootTypeId]); const [currentIndex, setCurrentIndex] = useState(0); + useScrollLock(true); + if (rootTypeId !== items[0]) { setCurrentIndex(0); setItems([rootTypeId]); diff --git a/apps/hash-frontend/src/shared/is-of-type.ts b/apps/hash-frontend/src/shared/is-of-type.ts index 20183d5fc8f..69fa9ea01c1 100644 --- a/apps/hash-frontend/src/shared/is-of-type.ts +++ b/apps/hash-frontend/src/shared/is-of-type.ts @@ -31,5 +31,12 @@ export const isTypePropertyType = ( | DataTypeWithMetadata, ) => type.schema.kind === "propertyType"; +export const isTypeDataType = ( + type: + | EntityTypeWithMetadata + | PropertyTypeWithMetadata + | DataTypeWithMetadata, +) => type.schema.kind === "dataType"; + export const isEntityPageEntity = (item: Entity) => includesPageEntityTypeId(item.metadata.entityTypeIds); diff --git a/apps/hash-frontend/src/shared/table-header/bulk-actions-dropdown.tsx b/apps/hash-frontend/src/shared/table-header/bulk-actions-dropdown.tsx index 6b8ed1a3c31..78a7301f40e 100644 --- a/apps/hash-frontend/src/shared/table-header/bulk-actions-dropdown.tsx +++ b/apps/hash-frontend/src/shared/table-header/bulk-actions-dropdown.tsx @@ -6,6 +6,7 @@ import type { EntityTypeWithMetadata, PropertyTypeWithMetadata, } from "@local/hash-graph-types/ontology"; +import { isEntity } from "@local/hash-isomorphic-utils/entity-store"; import { extractOwnedByIdFromEntityId } from "@local/hash-subgraph"; import { Box, @@ -25,6 +26,8 @@ import { useCallback, useMemo } from "react"; import { useArchivePage } from "../../components/hooks/use-archive-page"; import type { + ArchiveEntityMutation, + ArchiveEntityMutationVariables, ArchiveEntityTypeMutation, ArchiveEntityTypeMutationVariables, ArchivePropertyTypeMutation, @@ -34,6 +37,7 @@ import type { UnarchivePropertyTypeMutation, UnarchivePropertyTypeMutationVariables, } from "../../graphql/api-types.gen"; +import { archiveEntityMutation } from "../../graphql/queries/knowledge/entity.queries"; import { archiveEntityTypeMutation, unarchiveEntityTypeMutation, @@ -49,6 +53,7 @@ import { isItemArchived } from "../is-archived"; import { isEntityPageEntity, isType, + isTypeDataType, isTypeEntityType, isTypePropertyType, } from "../is-of-type"; @@ -70,6 +75,11 @@ export const BulkActionsDropdown: FunctionComponent<{ const refetchEntityTypes = useFetchEntityTypes(); + const [archiveEntity] = useMutation< + ArchiveEntityMutation, + ArchiveEntityMutationVariables + >(archiveEntityMutation); + const [archiveEntityType] = useMutation< ArchiveEntityTypeMutation, ArchiveEntityTypeMutationVariables @@ -120,32 +130,20 @@ export const BulkActionsDropdown: FunctionComponent<{ ...authenticatedUser.memberOf.map(({ org }) => org.accountGroupId), ].includes(itemOwnedById) ) { + /** + * @todo: use proper permission checking for entities + */ return false; } - /** - * @todo: check whether the user has permission to archive the type - */ - - if (isType(item)) { - if (isTypeEntityType(item)) { - // Entity types can be archived - return true; - } - if (isTypePropertyType(item)) { - // Property types can be archived - return true; - } - /** - * @todo: support archiving data types when we have custom data types - */ - } else if (isEntityPageEntity(item)) { - // Page entities can be archived + if (isEntity(item)) { return true; } - /** @todo: support archiving entities, including checking permissions */ - // Everything else cannot be archived - return false; + + /** + * @todo: support archiving data types when we have custom data types + */ + return !isTypeDataType(item); }).length === selectedItems.length, [selectedItems, authenticatedUser], ); @@ -181,11 +179,19 @@ export const BulkActionsDropdown: FunctionComponent<{ } else if (isEntityPageEntity(item)) { await archivePage(item.metadata.recordId.entityId); } else { - throw new Error("Archiving entities is not yet supported."); + await archiveEntity({ + variables: { entityId: item.metadata.recordId.entityId }, + }); } }), ); - }, [selectedItems, archiveEntityType, archivePage, archivePropertyType]); + }, [ + selectedItems, + archiveEntity, + archiveEntityType, + archivePage, + archivePropertyType, + ]); // Whether or not the selected items can be un-archived const canUnarchiveSelectedItems = useMemo( @@ -302,8 +308,8 @@ export const BulkActionsDropdown: FunctionComponent<{ { await onClick(); - popupState.close(); onBulkActionCompleted?.(); + popupState.close(); }} disabled={disabled} > From ae1994494cf26a673077cec4c48697cc6e59197b Mon Sep 17 00:00:00 2001 From: "hash-worker[bot]" <180894564+hash-worker[bot]@users.noreply.github.com> Date: Sat, 14 Dec 2024 00:28:58 +0000 Subject: [PATCH 02/10] Update GitHub Action `returntocorp/semgrep` to v1.100.0 (#5907) Co-authored-by: hash-worker[bot] <180894564+hash-worker[bot]@users.noreply.github.com> --- .github/workflows/semgrep.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml index d18b13147d5..87c9a986b88 100644 --- a/.github/workflows/semgrep.yml +++ b/.github/workflows/semgrep.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest container: - image: returntocorp/semgrep:1.99.0@sha256:ae27024c16f7848cdbfd49c24ed0b78b13f13b85fcd7b87c679aaa8b0c0dce98 + image: returntocorp/semgrep:1.100.0@sha256:7acf76eaa621465588fdfcc84f46fd7ea1e8337ebb1aa1ed6f4685f6eedaec25 # Skip any PR created by Dependabot to avoid permission issues: if: (github.actor != 'dependabot[bot]') From 06fe28ccc7c86c1c494801a1dd7ef9169e0a5ab7 Mon Sep 17 00:00:00 2001 From: "hash-worker[bot]" <180894564+hash-worker[bot]@users.noreply.github.com> Date: Sat, 14 Dec 2024 00:31:06 +0000 Subject: [PATCH 03/10] Update aws-sdk-js-v3 monorepo to v3.712.0 (#5909) Co-authored-by: hash-worker[bot] <180894564+hash-worker[bot]@users.noreply.github.com> --- apps/hash-api/package.json | 10 +- libs/@local/hash-backend-utils/package.json | 4 +- yarn.lock | 144 ++++++++++---------- 3 files changed, 79 insertions(+), 79 deletions(-) diff --git a/apps/hash-api/package.json b/apps/hash-api/package.json index dbdb7f406e4..9c872d4c7d9 100644 --- a/apps/hash-api/package.json +++ b/apps/hash-api/package.json @@ -24,11 +24,11 @@ }, "dependencies": { "@apps/hash-graph": "0.0.0-private", - "@aws-sdk/client-s3": "3.709.0", - "@aws-sdk/client-ses": "3.709.0", - "@aws-sdk/credential-provider-node": "3.709.0", - "@aws-sdk/s3-presigned-post": "3.709.0", - "@aws-sdk/s3-request-presigner": "3.709.0", + "@aws-sdk/client-s3": "3.712.0", + "@aws-sdk/client-ses": "3.712.0", + "@aws-sdk/credential-provider-node": "3.712.0", + "@aws-sdk/s3-presigned-post": "3.712.0", + "@aws-sdk/s3-request-presigner": "3.712.0", "@blockprotocol/core": "0.1.3", "@blockprotocol/type-system": "0.1.2-canary.0", "@graphql-tools/schema": "8.5.1", diff --git a/libs/@local/hash-backend-utils/package.json b/libs/@local/hash-backend-utils/package.json index a4f6cd0d78c..1a521f53ec6 100644 --- a/libs/@local/hash-backend-utils/package.json +++ b/libs/@local/hash-backend-utils/package.json @@ -23,8 +23,8 @@ "test:unit": "vitest --run" }, "dependencies": { - "@aws-sdk/client-s3": "3.709.0", - "@aws-sdk/s3-request-presigner": "3.709.0", + "@aws-sdk/client-s3": "3.712.0", + "@aws-sdk/s3-request-presigner": "3.712.0", "@blockprotocol/core": "0.1.3", "@blockprotocol/graph": "0.4.0-canary.0", "@blockprotocol/type-system": "0.1.2-canary.0", diff --git a/yarn.lock b/yarn.lock index 6327b0944e3..671010190fb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -367,11 +367,11 @@ __metadata: resolution: "@apps/hash-api@workspace:apps/hash-api" dependencies: "@apps/hash-graph": "npm:0.0.0-private" - "@aws-sdk/client-s3": "npm:3.709.0" - "@aws-sdk/client-ses": "npm:3.709.0" - "@aws-sdk/credential-provider-node": "npm:3.709.0" - "@aws-sdk/s3-presigned-post": "npm:3.709.0" - "@aws-sdk/s3-request-presigner": "npm:3.709.0" + "@aws-sdk/client-s3": "npm:3.712.0" + "@aws-sdk/client-ses": "npm:3.712.0" + "@aws-sdk/credential-provider-node": "npm:3.712.0" + "@aws-sdk/s3-presigned-post": "npm:3.712.0" + "@aws-sdk/s3-request-presigner": "npm:3.712.0" "@blockprotocol/core": "npm:0.1.3" "@blockprotocol/graph": "npm:0.4.0-canary.0" "@blockprotocol/type-system": "npm:0.1.2-canary.0" @@ -1293,17 +1293,17 @@ __metadata: languageName: node linkType: hard -"@aws-sdk/client-s3@npm:3.709.0": - version: 3.709.0 - resolution: "@aws-sdk/client-s3@npm:3.709.0" +"@aws-sdk/client-s3@npm:3.712.0": + version: 3.712.0 + resolution: "@aws-sdk/client-s3@npm:3.712.0" dependencies: "@aws-crypto/sha1-browser": "npm:5.2.0" "@aws-crypto/sha256-browser": "npm:5.2.0" "@aws-crypto/sha256-js": "npm:5.2.0" - "@aws-sdk/client-sso-oidc": "npm:3.709.0" - "@aws-sdk/client-sts": "npm:3.709.0" + "@aws-sdk/client-sso-oidc": "npm:3.712.0" + "@aws-sdk/client-sts": "npm:3.712.0" "@aws-sdk/core": "npm:3.709.0" - "@aws-sdk/credential-provider-node": "npm:3.709.0" + "@aws-sdk/credential-provider-node": "npm:3.712.0" "@aws-sdk/middleware-bucket-endpoint": "npm:3.709.0" "@aws-sdk/middleware-expect-continue": "npm:3.709.0" "@aws-sdk/middleware-flexible-checksums": "npm:3.709.0" @@ -1319,7 +1319,7 @@ __metadata: "@aws-sdk/types": "npm:3.709.0" "@aws-sdk/util-endpoints": "npm:3.709.0" "@aws-sdk/util-user-agent-browser": "npm:3.709.0" - "@aws-sdk/util-user-agent-node": "npm:3.709.0" + "@aws-sdk/util-user-agent-node": "npm:3.712.0" "@aws-sdk/xml-builder": "npm:3.709.0" "@smithy/config-resolver": "npm:^3.0.13" "@smithy/core": "npm:^2.5.5" @@ -1355,7 +1355,7 @@ __metadata: "@smithy/util-utf8": "npm:^3.0.0" "@smithy/util-waiter": "npm:^3.2.0" tslib: "npm:^2.6.2" - checksum: 10c0/e4c204c05a1485cf041de15d243a41c3e21536cf3b4e19cb0279380dba0d9d0ec306edeb8fe07339f61bf25be12de983f7b7ce3a2b143705b1b29f10683e26ae + checksum: 10c0/89996a5689c4ac567a36362e8449eda67cb1e183e53fd1810c1e95e6d480f9b365c258a80d5bb5394aa374d0f2295defda4a81d5985875d9cab707cce4014f65 languageName: node linkType: hard @@ -1411,16 +1411,16 @@ __metadata: languageName: node linkType: hard -"@aws-sdk/client-ses@npm:3.709.0": - version: 3.709.0 - resolution: "@aws-sdk/client-ses@npm:3.709.0" +"@aws-sdk/client-ses@npm:3.712.0": + version: 3.712.0 + resolution: "@aws-sdk/client-ses@npm:3.712.0" dependencies: "@aws-crypto/sha256-browser": "npm:5.2.0" "@aws-crypto/sha256-js": "npm:5.2.0" - "@aws-sdk/client-sso-oidc": "npm:3.709.0" - "@aws-sdk/client-sts": "npm:3.709.0" + "@aws-sdk/client-sso-oidc": "npm:3.712.0" + "@aws-sdk/client-sts": "npm:3.712.0" "@aws-sdk/core": "npm:3.709.0" - "@aws-sdk/credential-provider-node": "npm:3.709.0" + "@aws-sdk/credential-provider-node": "npm:3.712.0" "@aws-sdk/middleware-host-header": "npm:3.709.0" "@aws-sdk/middleware-logger": "npm:3.709.0" "@aws-sdk/middleware-recursion-detection": "npm:3.709.0" @@ -1429,7 +1429,7 @@ __metadata: "@aws-sdk/types": "npm:3.709.0" "@aws-sdk/util-endpoints": "npm:3.709.0" "@aws-sdk/util-user-agent-browser": "npm:3.709.0" - "@aws-sdk/util-user-agent-node": "npm:3.709.0" + "@aws-sdk/util-user-agent-node": "npm:3.712.0" "@smithy/config-resolver": "npm:^3.0.13" "@smithy/core": "npm:^2.5.5" "@smithy/fetch-http-handler": "npm:^4.1.2" @@ -1457,7 +1457,7 @@ __metadata: "@smithy/util-utf8": "npm:^3.0.0" "@smithy/util-waiter": "npm:^3.2.0" tslib: "npm:^2.6.2" - checksum: 10c0/f2387fe23b00e2157dd81bb524ec62b8476419119ed542311f25cad3ec5e6ccb9ce842ee90045a19e090a5645543777a3bf2764c2c2b61b01e3f8dceb6327566 + checksum: 10c0/219f6c4e99671a11065b361aa605778fdfadc34a953f994c3500cfe0a3d46859cb0af107a2dcd7e4dfcc291f71013e3c4f5b0b186df1945e61195f82652a686d languageName: node linkType: hard @@ -1510,14 +1510,14 @@ __metadata: languageName: node linkType: hard -"@aws-sdk/client-sso-oidc@npm:3.709.0": - version: 3.709.0 - resolution: "@aws-sdk/client-sso-oidc@npm:3.709.0" +"@aws-sdk/client-sso-oidc@npm:3.712.0": + version: 3.712.0 + resolution: "@aws-sdk/client-sso-oidc@npm:3.712.0" dependencies: "@aws-crypto/sha256-browser": "npm:5.2.0" "@aws-crypto/sha256-js": "npm:5.2.0" "@aws-sdk/core": "npm:3.709.0" - "@aws-sdk/credential-provider-node": "npm:3.709.0" + "@aws-sdk/credential-provider-node": "npm:3.712.0" "@aws-sdk/middleware-host-header": "npm:3.709.0" "@aws-sdk/middleware-logger": "npm:3.709.0" "@aws-sdk/middleware-recursion-detection": "npm:3.709.0" @@ -1526,7 +1526,7 @@ __metadata: "@aws-sdk/types": "npm:3.709.0" "@aws-sdk/util-endpoints": "npm:3.709.0" "@aws-sdk/util-user-agent-browser": "npm:3.709.0" - "@aws-sdk/util-user-agent-node": "npm:3.709.0" + "@aws-sdk/util-user-agent-node": "npm:3.712.0" "@smithy/config-resolver": "npm:^3.0.13" "@smithy/core": "npm:^2.5.5" "@smithy/fetch-http-handler": "npm:^4.1.2" @@ -1554,8 +1554,8 @@ __metadata: "@smithy/util-utf8": "npm:^3.0.0" tslib: "npm:^2.6.2" peerDependencies: - "@aws-sdk/client-sts": ^3.709.0 - checksum: 10c0/357c78f08a5fa1c38422e85a36031d7ed230a5df62b68a2a09eed1092774621f6043a92c0d4199704cb110d556334d736b95f81d9ed5813b310aac01450b26fa + "@aws-sdk/client-sts": ^3.712.0 + checksum: 10c0/10eebcf2943f230703e08c54c2b57c09863ee69200faeeb05e62e55a7cf6fbb911932f07b5fb97ea024ed9ff559580909a612445bc5f59963e233798a0ab16c6 languageName: node linkType: hard @@ -1605,9 +1605,9 @@ __metadata: languageName: node linkType: hard -"@aws-sdk/client-sso@npm:3.709.0": - version: 3.709.0 - resolution: "@aws-sdk/client-sso@npm:3.709.0" +"@aws-sdk/client-sso@npm:3.712.0": + version: 3.712.0 + resolution: "@aws-sdk/client-sso@npm:3.712.0" dependencies: "@aws-crypto/sha256-browser": "npm:5.2.0" "@aws-crypto/sha256-js": "npm:5.2.0" @@ -1620,7 +1620,7 @@ __metadata: "@aws-sdk/types": "npm:3.709.0" "@aws-sdk/util-endpoints": "npm:3.709.0" "@aws-sdk/util-user-agent-browser": "npm:3.709.0" - "@aws-sdk/util-user-agent-node": "npm:3.709.0" + "@aws-sdk/util-user-agent-node": "npm:3.712.0" "@smithy/config-resolver": "npm:^3.0.13" "@smithy/core": "npm:^2.5.5" "@smithy/fetch-http-handler": "npm:^4.1.2" @@ -1647,7 +1647,7 @@ __metadata: "@smithy/util-retry": "npm:^3.0.11" "@smithy/util-utf8": "npm:^3.0.0" tslib: "npm:^2.6.2" - checksum: 10c0/0dbe9a64b516b4b3e7584cd591f18717da7e98ebbc4b7cb997d943c66772897324442ae81912f3fa8f24c5eacd90adcf4a5d4a1fdbfa31c855374e221f16f0d0 + checksum: 10c0/9de61923becc98a61943e2fbf10382727c32508e9a824b4925306fc337260d6620a9f637ad6563eecf55835635dc7b2b284c10aef2bd5643ce4ea75944e3be12 languageName: node linkType: hard @@ -1699,15 +1699,15 @@ __metadata: languageName: node linkType: hard -"@aws-sdk/client-sts@npm:3.709.0": - version: 3.709.0 - resolution: "@aws-sdk/client-sts@npm:3.709.0" +"@aws-sdk/client-sts@npm:3.712.0": + version: 3.712.0 + resolution: "@aws-sdk/client-sts@npm:3.712.0" dependencies: "@aws-crypto/sha256-browser": "npm:5.2.0" "@aws-crypto/sha256-js": "npm:5.2.0" - "@aws-sdk/client-sso-oidc": "npm:3.709.0" + "@aws-sdk/client-sso-oidc": "npm:3.712.0" "@aws-sdk/core": "npm:3.709.0" - "@aws-sdk/credential-provider-node": "npm:3.709.0" + "@aws-sdk/credential-provider-node": "npm:3.712.0" "@aws-sdk/middleware-host-header": "npm:3.709.0" "@aws-sdk/middleware-logger": "npm:3.709.0" "@aws-sdk/middleware-recursion-detection": "npm:3.709.0" @@ -1716,7 +1716,7 @@ __metadata: "@aws-sdk/types": "npm:3.709.0" "@aws-sdk/util-endpoints": "npm:3.709.0" "@aws-sdk/util-user-agent-browser": "npm:3.709.0" - "@aws-sdk/util-user-agent-node": "npm:3.709.0" + "@aws-sdk/util-user-agent-node": "npm:3.712.0" "@smithy/config-resolver": "npm:^3.0.13" "@smithy/core": "npm:^2.5.5" "@smithy/fetch-http-handler": "npm:^4.1.2" @@ -1743,7 +1743,7 @@ __metadata: "@smithy/util-retry": "npm:^3.0.11" "@smithy/util-utf8": "npm:^3.0.0" tslib: "npm:^2.6.2" - checksum: 10c0/7f3c0d6c548c5156f775ba08920fae9291174cd5ca285e9d6af9a8773053e493b6b14cda393b6edf4de57d3025bfc097f48282f58b53e3ad43e4fce3293ad5f5 + checksum: 10c0/21d06234556a98194b07cfeb133b9b89e43021fbcf9bb6b06b87a38d8523fb4ee43a01f4a58a8176bb84fc7fad3131ac780850a80c0685a675f006bdb4db9276 languageName: node linkType: hard @@ -1882,15 +1882,15 @@ __metadata: languageName: node linkType: hard -"@aws-sdk/credential-provider-ini@npm:3.709.0": - version: 3.709.0 - resolution: "@aws-sdk/credential-provider-ini@npm:3.709.0" +"@aws-sdk/credential-provider-ini@npm:3.712.0": + version: 3.712.0 + resolution: "@aws-sdk/credential-provider-ini@npm:3.712.0" dependencies: "@aws-sdk/core": "npm:3.709.0" "@aws-sdk/credential-provider-env": "npm:3.709.0" "@aws-sdk/credential-provider-http": "npm:3.709.0" "@aws-sdk/credential-provider-process": "npm:3.709.0" - "@aws-sdk/credential-provider-sso": "npm:3.709.0" + "@aws-sdk/credential-provider-sso": "npm:3.712.0" "@aws-sdk/credential-provider-web-identity": "npm:3.709.0" "@aws-sdk/types": "npm:3.709.0" "@smithy/credential-provider-imds": "npm:^3.2.8" @@ -1899,8 +1899,8 @@ __metadata: "@smithy/types": "npm:^3.7.2" tslib: "npm:^2.6.2" peerDependencies: - "@aws-sdk/client-sts": ^3.709.0 - checksum: 10c0/86c76e8a1d8ad20b721baf1b11f8396d1f8c2baa32a6615d55876650f9d36e257c47b56bf4f5d0fdd8679f5d18b0703abcddcf00c520d9ab0ea0c002ebaa74cb + "@aws-sdk/client-sts": ^3.712.0 + checksum: 10c0/6dad19252c269425a5beeadf34a0eed0c0ef1e4d47f933707be6fcbd2e8d1a0bdbfec9b0f774a2439c64aa32bb4b0188c865af0916e249635da9870c469ea00c languageName: node linkType: hard @@ -1924,15 +1924,15 @@ __metadata: languageName: node linkType: hard -"@aws-sdk/credential-provider-node@npm:3.709.0": - version: 3.709.0 - resolution: "@aws-sdk/credential-provider-node@npm:3.709.0" +"@aws-sdk/credential-provider-node@npm:3.712.0": + version: 3.712.0 + resolution: "@aws-sdk/credential-provider-node@npm:3.712.0" dependencies: "@aws-sdk/credential-provider-env": "npm:3.709.0" "@aws-sdk/credential-provider-http": "npm:3.709.0" - "@aws-sdk/credential-provider-ini": "npm:3.709.0" + "@aws-sdk/credential-provider-ini": "npm:3.712.0" "@aws-sdk/credential-provider-process": "npm:3.709.0" - "@aws-sdk/credential-provider-sso": "npm:3.709.0" + "@aws-sdk/credential-provider-sso": "npm:3.712.0" "@aws-sdk/credential-provider-web-identity": "npm:3.709.0" "@aws-sdk/types": "npm:3.709.0" "@smithy/credential-provider-imds": "npm:^3.2.8" @@ -1940,7 +1940,7 @@ __metadata: "@smithy/shared-ini-file-loader": "npm:^3.1.12" "@smithy/types": "npm:^3.7.2" tslib: "npm:^2.6.2" - checksum: 10c0/3be52ef6871cdbb0d38b6c3cf16bdc01282bdca1a0eb86b6c4226c79775630fde0775775b858ddd053383b747c2aec25755a11b6f278492855efc16b540a0c81 + checksum: 10c0/d0c08460c1b7e7bf7f3fd0a41d13ce7a2ad9a35e962721e6a4abdbf5b81b361becaf8549f0d7173d07e146a00c5642819775f53d026a120bf6b630001d0eeecb languageName: node linkType: hard @@ -1988,11 +1988,11 @@ __metadata: languageName: node linkType: hard -"@aws-sdk/credential-provider-sso@npm:3.709.0": - version: 3.709.0 - resolution: "@aws-sdk/credential-provider-sso@npm:3.709.0" +"@aws-sdk/credential-provider-sso@npm:3.712.0": + version: 3.712.0 + resolution: "@aws-sdk/credential-provider-sso@npm:3.712.0" dependencies: - "@aws-sdk/client-sso": "npm:3.709.0" + "@aws-sdk/client-sso": "npm:3.712.0" "@aws-sdk/core": "npm:3.709.0" "@aws-sdk/token-providers": "npm:3.709.0" "@aws-sdk/types": "npm:3.709.0" @@ -2000,7 +2000,7 @@ __metadata: "@smithy/shared-ini-file-loader": "npm:^3.1.12" "@smithy/types": "npm:^3.7.2" tslib: "npm:^2.6.2" - checksum: 10c0/a99a9f9393c80c144008b0eb3ec33a01f33dde9dfb69aa56371723f2c852db791c7eb07ff625627d2a91f9b9c420add2532cf1f694508ad50b6dfb059662cf9f + checksum: 10c0/270500bc4a0dd072cc3dbfc49a4f78b1a9b3805a6f50ce21f27363f2c4d4c7c4e9748403c5cdc5739fd56550f6923bb27f665fbe0f400d5107121b3d4a862168 languageName: node linkType: hard @@ -2289,11 +2289,11 @@ __metadata: languageName: node linkType: hard -"@aws-sdk/s3-presigned-post@npm:3.709.0": - version: 3.709.0 - resolution: "@aws-sdk/s3-presigned-post@npm:3.709.0" +"@aws-sdk/s3-presigned-post@npm:3.712.0": + version: 3.712.0 + resolution: "@aws-sdk/s3-presigned-post@npm:3.712.0" dependencies: - "@aws-sdk/client-s3": "npm:3.709.0" + "@aws-sdk/client-s3": "npm:3.712.0" "@aws-sdk/types": "npm:3.709.0" "@aws-sdk/util-format-url": "npm:3.709.0" "@smithy/middleware-endpoint": "npm:^3.2.5" @@ -2302,13 +2302,13 @@ __metadata: "@smithy/util-hex-encoding": "npm:^3.0.0" "@smithy/util-utf8": "npm:^3.0.0" tslib: "npm:^2.6.2" - checksum: 10c0/292b49ed0dbfcac36fc4c7d8b2a0fbf894c1891be39969234906d893cec763509ebd20def31e6c9aa8c8ee02e9b315b5224f0a7f685053823fba34f88342eaaa + checksum: 10c0/e132c48d320d3a1e670ffdc9044dec2ae00fdc1033d617dd2251fe94997b48fd1928a0e92dedfffa90faaee9682db43e808f34e32ac56c842b68cafdefb2a39a languageName: node linkType: hard -"@aws-sdk/s3-request-presigner@npm:3.709.0": - version: 3.709.0 - resolution: "@aws-sdk/s3-request-presigner@npm:3.709.0" +"@aws-sdk/s3-request-presigner@npm:3.712.0": + version: 3.712.0 + resolution: "@aws-sdk/s3-request-presigner@npm:3.712.0" dependencies: "@aws-sdk/signature-v4-multi-region": "npm:3.709.0" "@aws-sdk/types": "npm:3.709.0" @@ -2318,7 +2318,7 @@ __metadata: "@smithy/smithy-client": "npm:^3.5.0" "@smithy/types": "npm:^3.7.2" tslib: "npm:^2.6.2" - checksum: 10c0/f518c27ed2fbce3c08181c69154099a12ee748391a90049da6b3e6045fd7e9bbeb3c5cd3371dc25046a106b3c3d11d5fd26c6a9852ab6c6b323189bb7f6d5156 + checksum: 10c0/f66ea1850951609c0cb2c62f7ff4c9269268fd0065bc3bfc077369ce3de431eac7c8f07c100b992155989313ba0663c543b96d3a7c1c17a515e05d167b922c05 languageName: node linkType: hard @@ -2492,9 +2492,9 @@ __metadata: languageName: node linkType: hard -"@aws-sdk/util-user-agent-node@npm:3.709.0": - version: 3.709.0 - resolution: "@aws-sdk/util-user-agent-node@npm:3.709.0" +"@aws-sdk/util-user-agent-node@npm:3.712.0": + version: 3.712.0 + resolution: "@aws-sdk/util-user-agent-node@npm:3.712.0" dependencies: "@aws-sdk/middleware-user-agent": "npm:3.709.0" "@aws-sdk/types": "npm:3.709.0" @@ -2506,7 +2506,7 @@ __metadata: peerDependenciesMeta: aws-crt: optional: true - checksum: 10c0/953bb7401de24c18f80b6bb3bac6a49b94563c461c66d3763331d850eb20a8884029940d1e1d82c7924bfe33560ff2cdb75926e54ffb5fd83113d228af38409b + checksum: 10c0/3ab1b713e3a25b1673b263ba163369457a7520f0d133e8e614006f44634f58e0823331d4f672bb177f2c797c630d91b70cc3044a03b8ed141b9cdb84704fb48b languageName: node linkType: hard @@ -9107,8 +9107,8 @@ __metadata: version: 0.0.0-use.local resolution: "@local/hash-backend-utils@workspace:libs/@local/hash-backend-utils" dependencies: - "@aws-sdk/client-s3": "npm:3.709.0" - "@aws-sdk/s3-request-presigner": "npm:3.709.0" + "@aws-sdk/client-s3": "npm:3.712.0" + "@aws-sdk/s3-request-presigner": "npm:3.712.0" "@blockprotocol/core": "npm:0.1.3" "@blockprotocol/graph": "npm:0.4.0-canary.0" "@blockprotocol/type-system": "npm:0.1.2-canary.0" From af77cd402fd1740f90fdba1d2911217c69e83c9f Mon Sep 17 00:00:00 2001 From: "hash-worker[bot]" <180894564+hash-worker[bot]@users.noreply.github.com> Date: Sat, 14 Dec 2024 00:51:45 +0000 Subject: [PATCH 04/10] Update npm package `eslint` to v9.17.0 (#5910) Co-authored-by: hash-worker[bot] <180894564+hash-worker[bot]@users.noreply.github.com> Co-authored-by: vilkinsons <6226576+vilkinsons@users.noreply.github.com> --- apps/hash-ai-worker-ts/package.json | 2 +- apps/hash-api/package.json | 2 +- apps/hash-frontend/package.json | 2 +- apps/hash-integration-worker/package.json | 2 +- apps/hash-realtime/package.json | 2 +- apps/hash-search-loader/package.json | 2 +- apps/hashdotdev/package.json | 2 +- apps/plugin-browser/package.json | 2 +- blocks/address/package.json | 2 +- blocks/ai-chat/package.json | 2 +- blocks/ai-image/package.json | 2 +- blocks/ai-text/package.json | 2 +- blocks/callout/package.json | 2 +- blocks/chart/package.json | 2 +- blocks/code/package.json | 2 +- blocks/countdown/package.json | 2 +- blocks/divider/package.json | 2 +- blocks/embed/package.json | 2 +- blocks/faq/package.json | 2 +- blocks/heading/package.json | 2 +- blocks/how-to/package.json | 2 +- blocks/image/package.json | 2 +- blocks/kanban-board/package.json | 2 +- blocks/minesweeper/package.json | 2 +- blocks/paragraph/package.json | 2 +- blocks/person/package.json | 2 +- blocks/shuffle/package.json | 2 +- blocks/table/package.json | 2 +- blocks/timer/package.json | 2 +- blocks/video/package.json | 2 +- libs/@blockprotocol/graph/package.json | 2 +- .../type-system/typescript/package.json | 2 +- .../block-design-system/package.json | 2 +- libs/@hashintel/design-system/package.json | 2 +- libs/@hashintel/query-editor/package.json | 2 +- libs/@hashintel/type-editor/package.json | 2 +- libs/@local/advanced-types/package.json | 2 +- libs/@local/eslint/package.json | 2 +- libs/@local/graph/sdk/typescript/package.json | 2 +- libs/@local/graph/type-defs/package.json | 2 +- .../graph/types/typescript/package.json | 2 +- .../harpc/client/typescript/package.json | 2 +- libs/@local/hash-backend-utils/package.json | 2 +- .../@local/hash-isomorphic-utils/package.json | 2 +- libs/@local/hash-subgraph/package.json | 2 +- libs/@local/repo-chores/node/package.json | 2 +- libs/@local/status/typescript/package.json | 2 +- tests/hash-backend-integration/package.json | 2 +- tests/hash-backend-load/package.json | 2 +- tests/hash-playwright/package.json | 2 +- yarn.lock | 122 +++++++++--------- 51 files changed, 111 insertions(+), 111 deletions(-) diff --git a/apps/hash-ai-worker-ts/package.json b/apps/hash-ai-worker-ts/package.json index fb262b9d0db..62d76a1c0f0 100644 --- a/apps/hash-ai-worker-ts/package.json +++ b/apps/hash-ai-worker-ts/package.json @@ -110,7 +110,7 @@ "@types/papaparse": "5.3.15", "@types/sanitize-html": "2.13.0", "@vitest/coverage-istanbul": "2.1.8", - "eslint": "9.16.0", + "eslint": "9.17.0", "rimraf": "6.0.1", "typescript": "5.6.3", "vite-tsconfig-paths": "5.1.4", diff --git a/apps/hash-api/package.json b/apps/hash-api/package.json index 9c872d4c7d9..17390f582db 100644 --- a/apps/hash-api/package.json +++ b/apps/hash-api/package.json @@ -124,7 +124,7 @@ "@types/mime-types": "2.1.4", "@types/nodemailer": "6.4.17", "@vitest/coverage-istanbul": "2.1.8", - "eslint": "9.16.0", + "eslint": "9.17.0", "prettier": "3.4.2", "rimraf": "6.0.1", "typescript": "5.6.3", diff --git a/apps/hash-frontend/package.json b/apps/hash-frontend/package.json index 572567261c9..9ffca8d4794 100644 --- a/apps/hash-frontend/package.json +++ b/apps/hash-frontend/package.json @@ -150,7 +150,7 @@ "@types/url-regex-safe": "1.0.2", "@types/uuid": "10.0.0", "@welldone-software/why-did-you-render": "8.0.3", - "eslint": "9.16.0", + "eslint": "9.17.0", "graphology-types": "0.24.8", "rimraf": "6.0.1", "sass": "1.83.0", diff --git a/apps/hash-integration-worker/package.json b/apps/hash-integration-worker/package.json index 1a7df6ff1cd..20c188b67e2 100644 --- a/apps/hash-integration-worker/package.json +++ b/apps/hash-integration-worker/package.json @@ -44,7 +44,7 @@ "@local/tsconfig": "0.0.0-private", "@sentry/cli": "^2.39.1", "@types/dotenv-flow": "3.3.3", - "eslint": "9.16.0", + "eslint": "9.17.0", "rimraf": "6.0.1", "typescript": "5.6.3", "wait-on": "8.0.1" diff --git a/apps/hash-realtime/package.json b/apps/hash-realtime/package.json index 820f0394e1e..7f01728126e 100644 --- a/apps/hash-realtime/package.json +++ b/apps/hash-realtime/package.json @@ -26,7 +26,7 @@ "@local/tsconfig": "0.0.0-private", "@types/node": "22.10.2", "@types/set-interval-async": "1.0.3", - "eslint": "9.16.0", + "eslint": "9.17.0", "typescript": "5.6.3" } } diff --git a/apps/hash-search-loader/package.json b/apps/hash-search-loader/package.json index 90344dfb630..25413c106a5 100644 --- a/apps/hash-search-loader/package.json +++ b/apps/hash-search-loader/package.json @@ -25,7 +25,7 @@ "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@types/node": "22.10.2", - "eslint": "9.16.0", + "eslint": "9.17.0", "typescript": "5.6.3" } } diff --git a/apps/hashdotdev/package.json b/apps/hashdotdev/package.json index 6f0f448dfce..09883bc3191 100644 --- a/apps/hashdotdev/package.json +++ b/apps/hashdotdev/package.json @@ -80,7 +80,7 @@ "@types/unist": "2.0.11", "babel-loader": "9.2.1", "chalk": "5.3.0", - "eslint": "9.16.0", + "eslint": "9.17.0", "execa": "7.2.0", "tsx": "4.19.2", "typescript": "5.6.3" diff --git a/apps/plugin-browser/package.json b/apps/plugin-browser/package.json index 9f99f238677..bfd0df68cc0 100755 --- a/apps/plugin-browser/package.json +++ b/apps/plugin-browser/package.json @@ -73,7 +73,7 @@ "copy-webpack-plugin": "11.0.0", "css-loader": "6.11.0", "dotenv-flow": "3.3.0", - "eslint": "9.16.0", + "eslint": "9.17.0", "file-loader": "6.2.0", "fs-extra": "11.1.0", "html-loader": "4.2.0", diff --git a/blocks/address/package.json b/blocks/address/package.json index c26681d6728..5bb9fb42d2e 100644 --- a/blocks/address/package.json +++ b/blocks/address/package.json @@ -49,7 +49,7 @@ "@types/react-dom": "18.2.25", "@types/uuid": "10.0.0", "block-scripts": "0.3.4", - "eslint": "9.16.0", + "eslint": "9.17.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/ai-chat/package.json b/blocks/ai-chat/package.json index e386d7324bf..220201440c8 100644 --- a/blocks/ai-chat/package.json +++ b/blocks/ai-chat/package.json @@ -44,7 +44,7 @@ "@types/react-dom": "18.2.25", "@types/uuid": "10.0.0", "block-scripts": "0.3.4", - "eslint": "9.16.0", + "eslint": "9.17.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/ai-image/package.json b/blocks/ai-image/package.json index 845db08d56f..5d590540c79 100644 --- a/blocks/ai-image/package.json +++ b/blocks/ai-image/package.json @@ -45,7 +45,7 @@ "@types/react-dom": "18.2.25", "@types/uuid": "10.0.0", "block-scripts": "0.3.4", - "eslint": "9.16.0", + "eslint": "9.17.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/ai-text/package.json b/blocks/ai-text/package.json index 713a5a013d3..7d1ce25d637 100644 --- a/blocks/ai-text/package.json +++ b/blocks/ai-text/package.json @@ -38,7 +38,7 @@ "@local/tsconfig": "0.0.0-private", "@types/react-dom": "18.2.25", "block-scripts": "0.3.4", - "eslint": "9.16.0", + "eslint": "9.17.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/callout/package.json b/blocks/callout/package.json index 6290f1b96dd..41545befad6 100644 --- a/blocks/callout/package.json +++ b/blocks/callout/package.json @@ -35,7 +35,7 @@ "@local/tsconfig": "0.0.0-private", "@types/react-dom": "18.2.25", "block-scripts": "0.3.4", - "eslint": "9.16.0", + "eslint": "9.17.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/chart/package.json b/blocks/chart/package.json index a3bb2926a38..dea3cb8623f 100644 --- a/blocks/chart/package.json +++ b/blocks/chart/package.json @@ -45,7 +45,7 @@ "@types/react-dom": "18.2.25", "@types/react-is": "18.3.1", "block-scripts": "0.3.4", - "eslint": "9.16.0", + "eslint": "9.17.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/code/package.json b/blocks/code/package.json index 581b181a102..44c09fb0dca 100644 --- a/blocks/code/package.json +++ b/blocks/code/package.json @@ -36,7 +36,7 @@ "@types/prismjs": "1.26.5", "@types/react-dom": "18.2.25", "block-scripts": "0.3.4", - "eslint": "9.16.0", + "eslint": "9.17.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/countdown/package.json b/blocks/countdown/package.json index 371fc377d26..d7e4495621d 100644 --- a/blocks/countdown/package.json +++ b/blocks/countdown/package.json @@ -37,7 +37,7 @@ "@types/react-datepicker": "4.19.6", "@types/react-dom": "18.2.25", "block-scripts": "0.3.4", - "eslint": "9.16.0", + "eslint": "9.17.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/divider/package.json b/blocks/divider/package.json index 88dcaf535e9..43ef32157e0 100644 --- a/blocks/divider/package.json +++ b/blocks/divider/package.json @@ -35,7 +35,7 @@ "@local/tsconfig": "0.0.0-private", "@types/react-dom": "18.2.25", "block-scripts": "0.3.4", - "eslint": "9.16.0", + "eslint": "9.17.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/embed/package.json b/blocks/embed/package.json index 660e67a97d0..302030d2b64 100644 --- a/blocks/embed/package.json +++ b/blocks/embed/package.json @@ -35,7 +35,7 @@ "@types/lodash": "4.17.13", "@types/react-dom": "18.0.9", "block-scripts": "0.0.14", - "eslint": "9.16.0", + "eslint": "9.17.0", "mock-block-dock": "0.0.10", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/blocks/faq/package.json b/blocks/faq/package.json index cadfabb0224..da2b1af1d25 100644 --- a/blocks/faq/package.json +++ b/blocks/faq/package.json @@ -42,7 +42,7 @@ "@types/react-dom": "18.2.25", "@types/uuid": "10.0.0", "block-scripts": "0.3.4", - "eslint": "9.16.0", + "eslint": "9.17.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/heading/package.json b/blocks/heading/package.json index cb1b746a2c8..a92acb0f699 100644 --- a/blocks/heading/package.json +++ b/blocks/heading/package.json @@ -35,7 +35,7 @@ "@local/tsconfig": "0.0.0-private", "@types/react-dom": "18.2.25", "block-scripts": "0.3.4", - "eslint": "9.16.0", + "eslint": "9.17.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/how-to/package.json b/blocks/how-to/package.json index c545564c3da..951a3a565be 100644 --- a/blocks/how-to/package.json +++ b/blocks/how-to/package.json @@ -43,7 +43,7 @@ "@types/react-dom": "18.2.25", "@types/uuid": "10.0.0", "block-scripts": "0.3.4", - "eslint": "9.16.0", + "eslint": "9.17.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/image/package.json b/blocks/image/package.json index e45ddc8c99e..5b872b1eb3b 100644 --- a/blocks/image/package.json +++ b/blocks/image/package.json @@ -36,7 +36,7 @@ "@local/tsconfig": "0.0.0-private", "@types/react-dom": "18.2.25", "block-scripts": "0.3.4", - "eslint": "9.16.0", + "eslint": "9.17.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/kanban-board/package.json b/blocks/kanban-board/package.json index 77af3c6a4e5..b16c8357c95 100644 --- a/blocks/kanban-board/package.json +++ b/blocks/kanban-board/package.json @@ -52,7 +52,7 @@ "@types/lodash.isequal": "4.5.8", "@types/react-dom": "18.2.25", "block-scripts": "0.3.4", - "eslint": "9.16.0", + "eslint": "9.17.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/minesweeper/package.json b/blocks/minesweeper/package.json index 07e15c3e4e5..eeac046fc33 100644 --- a/blocks/minesweeper/package.json +++ b/blocks/minesweeper/package.json @@ -30,7 +30,7 @@ "@local/tsconfig": "0.0.0-private", "@types/react-dom": "18.2.25", "block-scripts": "0.3.4", - "eslint": "9.16.0", + "eslint": "9.17.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/paragraph/package.json b/blocks/paragraph/package.json index bb81b089128..5ec9d9a6a2b 100644 --- a/blocks/paragraph/package.json +++ b/blocks/paragraph/package.json @@ -35,7 +35,7 @@ "@local/tsconfig": "0.0.0-private", "@types/react-dom": "18.2.25", "block-scripts": "0.3.4", - "eslint": "9.16.0", + "eslint": "9.17.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/person/package.json b/blocks/person/package.json index 0774c0cacd2..eda737f3a02 100644 --- a/blocks/person/package.json +++ b/blocks/person/package.json @@ -34,7 +34,7 @@ "@types/dompurify": "2.4.0", "@types/react-dom": "18.0.9", "block-scripts": "0.0.14", - "eslint": "9.16.0", + "eslint": "9.17.0", "mock-block-dock": "0.0.38", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/blocks/shuffle/package.json b/blocks/shuffle/package.json index 0e0ee04a7f8..7a9d5b35f97 100644 --- a/blocks/shuffle/package.json +++ b/blocks/shuffle/package.json @@ -44,7 +44,7 @@ "@types/lodash.isequal": "4.5.8", "@types/uuid": "10.0.0", "block-scripts": "0.3.4", - "eslint": "9.16.0", + "eslint": "9.17.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/table/package.json b/blocks/table/package.json index 7491ad137ef..374d411467b 100644 --- a/blocks/table/package.json +++ b/blocks/table/package.json @@ -55,7 +55,7 @@ "@types/lodash.uniqueid": "4.0.9", "@types/react-dom": "18.2.25", "block-scripts": "0.3.4", - "eslint": "9.16.0", + "eslint": "9.17.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/timer/package.json b/blocks/timer/package.json index 78894682b86..257e2450233 100644 --- a/blocks/timer/package.json +++ b/blocks/timer/package.json @@ -36,7 +36,7 @@ "@local/tsconfig": "0.0.0-private", "@types/react-dom": "18.2.25", "block-scripts": "0.3.4", - "eslint": "9.16.0", + "eslint": "9.17.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/blocks/video/package.json b/blocks/video/package.json index 1c490077617..a86aecaf5c8 100644 --- a/blocks/video/package.json +++ b/blocks/video/package.json @@ -35,7 +35,7 @@ "@local/tsconfig": "0.0.0-private", "@types/react-dom": "18.2.25", "block-scripts": "0.3.4", - "eslint": "9.16.0", + "eslint": "9.17.0", "mock-block-dock": "0.1.9", "prettier": "3.4.2", "react": "18.2.0", diff --git a/libs/@blockprotocol/graph/package.json b/libs/@blockprotocol/graph/package.json index 3eb91bc288d..528ae21dd32 100644 --- a/libs/@blockprotocol/graph/package.json +++ b/libs/@blockprotocol/graph/package.json @@ -80,7 +80,7 @@ "@types/lodash.isequal": "4.5.8", "@types/node": "22.10.2", "@types/react": "18.2.68", - "eslint": "9.16.0", + "eslint": "9.17.0", "rimraf": "6.0.1", "typescript": "5.6.3" }, diff --git a/libs/@blockprotocol/type-system/typescript/package.json b/libs/@blockprotocol/type-system/typescript/package.json index 225c5b6ba6d..1422fbf6813 100644 --- a/libs/@blockprotocol/type-system/typescript/package.json +++ b/libs/@blockprotocol/type-system/typescript/package.json @@ -62,7 +62,7 @@ "@types/node": "22.10.2", "@types/react": "18.2.68", "@vitest/coverage-istanbul": "2.1.8", - "eslint": "9.16.0", + "eslint": "9.17.0", "react": "18.2.0", "rimraf": "6.0.1", "rollup": "4.28.1", diff --git a/libs/@hashintel/block-design-system/package.json b/libs/@hashintel/block-design-system/package.json index fbf626e47da..19d3b805e9a 100644 --- a/libs/@hashintel/block-design-system/package.json +++ b/libs/@hashintel/block-design-system/package.json @@ -46,7 +46,7 @@ "@types/react": "18.2.68", "@types/react-dom": "18.2.25", "@types/react-syntax-highlighter": "15.5.13", - "eslint": "9.16.0", + "eslint": "9.17.0", "eslint-plugin-storybook": "0.11.1", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/libs/@hashintel/design-system/package.json b/libs/@hashintel/design-system/package.json index f6ccff99952..b7710fb4533 100644 --- a/libs/@hashintel/design-system/package.json +++ b/libs/@hashintel/design-system/package.json @@ -61,7 +61,7 @@ "@storybook/react": "7.6.20", "@types/react": "18.2.68", "@types/react-dom": "18.2.25", - "eslint": "9.16.0", + "eslint": "9.17.0", "eslint-plugin-storybook": "0.11.1", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/libs/@hashintel/query-editor/package.json b/libs/@hashintel/query-editor/package.json index ec30e1cd77b..e0133492ecf 100644 --- a/libs/@hashintel/query-editor/package.json +++ b/libs/@hashintel/query-editor/package.json @@ -31,7 +31,7 @@ "@local/eslint": "0.0.0-private", "@mui/material": "5.16.11", "@mui/system": "5.16.8", - "eslint": "9.16.0", + "eslint": "9.17.0", "eslint-plugin-storybook": "0.11.1", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/libs/@hashintel/type-editor/package.json b/libs/@hashintel/type-editor/package.json index 44ef612cffa..049f316f874 100644 --- a/libs/@hashintel/type-editor/package.json +++ b/libs/@hashintel/type-editor/package.json @@ -40,7 +40,7 @@ "@mui/system": "5.16.8", "@types/lodash.memoize": "4.1.9", "@types/lodash.uniqueid": "4.0.9", - "eslint": "9.16.0", + "eslint": "9.17.0", "eslint-plugin-storybook": "0.11.1", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/libs/@local/advanced-types/package.json b/libs/@local/advanced-types/package.json index 25ee10f72c6..bedcbde9fbd 100644 --- a/libs/@local/advanced-types/package.json +++ b/libs/@local/advanced-types/package.json @@ -24,7 +24,7 @@ "devDependencies": { "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", - "eslint": "9.16.0", + "eslint": "9.17.0", "react": "18.2.0", "rimraf": "6.0.1", "typescript": "5.6.3" diff --git a/libs/@local/eslint/package.json b/libs/@local/eslint/package.json index a0347fb2ee5..4a868fc0374 100644 --- a/libs/@local/eslint/package.json +++ b/libs/@local/eslint/package.json @@ -25,7 +25,7 @@ "@eslint/compat": "1.2.4", "@eslint/eslintrc": "3.2.0", "effect": "3.11.5", - "eslint": "9.16.0", + "eslint": "9.17.0", "eslint-config-airbnb": "19.0.4", "eslint-config-flat-gitignore": "0.3.0", "eslint-config-prettier": "9.1.0", diff --git a/libs/@local/graph/sdk/typescript/package.json b/libs/@local/graph/sdk/typescript/package.json index 5e70afa087f..676c893c866 100644 --- a/libs/@local/graph/sdk/typescript/package.json +++ b/libs/@local/graph/sdk/typescript/package.json @@ -34,7 +34,7 @@ "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@vitest/coverage-istanbul": "2.1.8", - "eslint": "9.16.0", + "eslint": "9.17.0", "rimraf": "6.0.1", "typescript": "5.6.3", "vitest": "2.1.8" diff --git a/libs/@local/graph/type-defs/package.json b/libs/@local/graph/type-defs/package.json index 7732077d815..0ec5dc90794 100644 --- a/libs/@local/graph/type-defs/package.json +++ b/libs/@local/graph/type-defs/package.json @@ -15,7 +15,7 @@ }, "devDependencies": { "@local/eslint": "0.0.0-private", - "eslint": "9.16.0", + "eslint": "9.17.0", "quicktype": "16.0.43", "tsx": "4.19.2", "typescript": "5.6.3" diff --git a/libs/@local/graph/types/typescript/package.json b/libs/@local/graph/types/typescript/package.json index 7b9ab43713d..567f4e9849e 100644 --- a/libs/@local/graph/types/typescript/package.json +++ b/libs/@local/graph/types/typescript/package.json @@ -30,7 +30,7 @@ "devDependencies": { "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", - "eslint": "9.16.0", + "eslint": "9.17.0", "rimraf": "6.0.1", "typescript": "5.6.3" } diff --git a/libs/@local/harpc/client/typescript/package.json b/libs/@local/harpc/client/typescript/package.json index dadaa39c083..a6ec83c7303 100644 --- a/libs/@local/harpc/client/typescript/package.json +++ b/libs/@local/harpc/client/typescript/package.json @@ -47,7 +47,7 @@ "@rust/harpc-wire-protocol": "0.0.0-private", "@types/node": "22.10.2", "@vitest/coverage-istanbul": "2.1.8", - "eslint": "9.16.0", + "eslint": "9.17.0", "rimraf": "6.0.1", "typescript": "5.6.3", "vitest": "2.1.8" diff --git a/libs/@local/hash-backend-utils/package.json b/libs/@local/hash-backend-utils/package.json index 1a521f53ec6..48f0b108e01 100644 --- a/libs/@local/hash-backend-utils/package.json +++ b/libs/@local/hash-backend-utils/package.json @@ -62,7 +62,7 @@ "@types/node": "22.10.2", "@types/wait-on": "5.3.4", "@vitest/coverage-istanbul": "2.1.8", - "eslint": "9.16.0", + "eslint": "9.17.0", "rimraf": "6.0.1", "typescript": "5.6.3", "vitest": "2.1.8" diff --git a/libs/@local/hash-isomorphic-utils/package.json b/libs/@local/hash-isomorphic-utils/package.json index a59ced92ba2..56effbeb244 100644 --- a/libs/@local/hash-isomorphic-utils/package.json +++ b/libs/@local/hash-isomorphic-utils/package.json @@ -67,7 +67,7 @@ "@types/node": "22.10.2", "@types/pluralize": "0.0.33", "@vitest/coverage-istanbul": "2.1.8", - "eslint": "9.16.0", + "eslint": "9.17.0", "graphql": "16.9.0", "next": "13.5.5", "prettier": "3.4.2", diff --git a/libs/@local/hash-subgraph/package.json b/libs/@local/hash-subgraph/package.json index e1efa1bf65f..f9f0ba03442 100644 --- a/libs/@local/hash-subgraph/package.json +++ b/libs/@local/hash-subgraph/package.json @@ -42,7 +42,7 @@ "@local/eslint": "0.0.0-private", "@types/uuid": "10.0.0", "@vitest/coverage-istanbul": "2.1.8", - "eslint": "9.16.0", + "eslint": "9.17.0", "rimraf": "6.0.1", "typescript": "5.6.3", "vitest": "2.1.8" diff --git a/libs/@local/repo-chores/node/package.json b/libs/@local/repo-chores/node/package.json index 584a2ad8b56..020743a0fbe 100644 --- a/libs/@local/repo-chores/node/package.json +++ b/libs/@local/repo-chores/node/package.json @@ -26,7 +26,7 @@ "@local/tsconfig": "0.0.0-private", "@types/fs-extra": "9.0.13", "@types/prettier": "3.0.0", - "eslint": "9.16.0", + "eslint": "9.17.0", "typescript": "5.6.3" } } diff --git a/libs/@local/status/typescript/package.json b/libs/@local/status/typescript/package.json index 7d8562e1b3d..81df4833cf0 100644 --- a/libs/@local/status/typescript/package.json +++ b/libs/@local/status/typescript/package.json @@ -27,7 +27,7 @@ "@types/lodash-es": "4.17.12", "@types/node": "22.10.2", "@types/yargs": "17.0.33", - "eslint": "9.16.0", + "eslint": "9.17.0", "quicktype": "16.0.43", "rimraf": "6.0.1", "typescript": "5.6.3" diff --git a/tests/hash-backend-integration/package.json b/tests/hash-backend-integration/package.json index 054b0a8d010..141172d6ae3 100644 --- a/tests/hash-backend-integration/package.json +++ b/tests/hash-backend-integration/package.json @@ -41,7 +41,7 @@ "@local/tsconfig": "0.0.0-private", "@types/node-fetch": "2.6.12", "@vitest/coverage-istanbul": "2.1.8", - "eslint": "9.16.0", + "eslint": "9.17.0", "rimraf": "6.0.1", "typescript": "5.6.3", "vitest": "2.1.8" diff --git a/tests/hash-backend-load/package.json b/tests/hash-backend-load/package.json index 031bfd38414..73f419a0fcf 100644 --- a/tests/hash-backend-load/package.json +++ b/tests/hash-backend-load/package.json @@ -56,7 +56,7 @@ "@rollup/plugin-typescript": "12.1.1", "@types/dotenv-flow": "3.3.3", "@types/uuid": "10.0.0", - "eslint": "9.16.0", + "eslint": "9.17.0", "rimraf": "6.0.1", "rollup": "4.28.1", "typescript": "5.6.3" diff --git a/tests/hash-playwright/package.json b/tests/hash-playwright/package.json index e769c877626..f4d7bc1c9d6 100644 --- a/tests/hash-playwright/package.json +++ b/tests/hash-playwright/package.json @@ -29,7 +29,7 @@ "@blockprotocol/graph": "0.4.0-canary.0", "@graphql-codegen/cli": "^5.0.3", "@local/eslint": "0.0.0-private", - "eslint": "9.16.0", + "eslint": "9.17.0", "rimraf": "6.0.1", "typescript": "5.6.3" } diff --git a/yarn.lock b/yarn.lock index 671010190fb..0169ef13b49 100644 --- a/yarn.lock +++ b/yarn.lock @@ -331,7 +331,7 @@ __metadata: dedent: "npm:0.7.0" dotenv-flow: "npm:3.3.0" e2b: "npm:0.13.1" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" exponential-backoff: "npm:3.1.1" googleapis: "npm:133.0.0" is-docker: "npm:3.0.0" @@ -435,7 +435,7 @@ __metadata: cross-env: "npm:7.0.3" dedent: "npm:0.7.0" effect: "npm:3.11.5" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" exponential-backoff: "npm:3.1.1" express: "npm:4.21.2" express-handlebars: "npm:7.1.3" @@ -560,7 +560,7 @@ __metadata: dotenv-flow: "npm:3.3.0" elkjs: "npm:0.9.3" emoji-mart: "npm:5.2.1" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" fractional-indexing: "npm:2.1.0" framer-motion: "npm:6.5.1" graphology: "npm:0.25.4" @@ -668,7 +668,7 @@ __metadata: agentkeepalive: "npm:4.5.0" axios: "npm:1.7.9" dotenv-flow: "npm:3.3.0" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" rimraf: "npm:6.0.1" tsx: "npm:4.19.2" typescript: "npm:5.6.3" @@ -685,7 +685,7 @@ __metadata: "@local/tsconfig": "npm:0.0.0-private" "@types/node": "npm:22.10.2" "@types/set-interval-async": "npm:1.0.3" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" set-interval-async: "npm:2.0.3" slonik: "npm:24.2.0" tsx: "npm:4.19.2" @@ -703,7 +703,7 @@ __metadata: "@local/hash-isomorphic-utils": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@types/node": "npm:22.10.2" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" hot-shots: "npm:8.5.2" tsx: "npm:4.19.2" typescript: "npm:5.6.3" @@ -776,7 +776,7 @@ __metadata: d3: "npm:7.9.0" d3-dag: "npm:1.1.0" date-fns: "npm:4.1.0" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" execa: "npm:7.2.0" feed: "npm:4.2.2" fs-extra: "npm:10.1.0" @@ -848,7 +848,7 @@ __metadata: css-loader: "npm:6.11.0" date-fns: "npm:4.1.0" dotenv-flow: "npm:3.3.0" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" file-loader: "npm:6.2.0" fractional-indexing: "npm:2.1.0" fs-extra: "npm:11.1.0" @@ -4534,7 +4534,7 @@ __metadata: "@types/react": "npm:18.2.68" ajv: "npm:8.17.1" ajv-formats: "npm:3.0.1" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" json-schema-to-typescript: "npm:11.0.5" lit: "npm:2.8.0" lodash.isequal: "npm:4.5.0" @@ -4622,7 +4622,7 @@ __metadata: "@types/node": "npm:22.10.2" "@types/react": "npm:18.2.68" "@vitest/coverage-istanbul": "npm:2.1.8" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" react: "npm:18.2.0" rimraf: "npm:6.0.1" rollup: "npm:4.28.1" @@ -4649,7 +4649,7 @@ __metadata: "@types/react-dom": "npm:18.2.25" "@types/uuid": "npm:10.0.0" block-scripts: "npm:0.3.4" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" lodash.debounce: "npm:4.0.8" mock-block-dock: "npm:0.1.9" prettier: "npm:3.4.2" @@ -4680,7 +4680,7 @@ __metadata: "@types/react-dom": "npm:18.2.25" "@types/uuid": "npm:10.0.0" block-scripts: "npm:0.3.4" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" mock-block-dock: "npm:0.1.9" prettier: "npm:3.4.2" react: "npm:18.2.0" @@ -4710,7 +4710,7 @@ __metadata: "@types/react-dom": "npm:18.2.25" "@types/uuid": "npm:10.0.0" block-scripts: "npm:0.3.4" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" mock-block-dock: "npm:0.1.9" prettier: "npm:3.4.2" react: "npm:18.2.0" @@ -4737,7 +4737,7 @@ __metadata: "@mui/material": "npm:5.16.11" "@types/react-dom": "npm:18.2.25" block-scripts: "npm:0.3.4" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" mock-block-dock: "npm:0.1.9" prettier: "npm:3.4.2" react: "npm:18.2.0" @@ -4759,7 +4759,7 @@ __metadata: "@local/tsconfig": "npm:0.0.0-private" "@types/react-dom": "npm:18.2.25" block-scripts: "npm:0.3.4" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" mock-block-dock: "npm:0.1.9" prettier: "npm:3.4.2" react: "npm:18.2.0" @@ -4789,7 +4789,7 @@ __metadata: "@types/react-is": "npm:18.3.1" block-scripts: "npm:0.3.4" echarts: "npm:5.5.1" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" lodash.debounce: "npm:4.0.8" mock-block-dock: "npm:0.1.9" prettier: "npm:3.4.2" @@ -4813,7 +4813,7 @@ __metadata: "@types/prismjs": "npm:1.26.5" "@types/react-dom": "npm:18.2.25" block-scripts: "npm:0.3.4" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" mock-block-dock: "npm:0.1.9" prettier: "npm:3.4.2" prismjs: "npm:1.29.0" @@ -4837,7 +4837,7 @@ __metadata: "@types/react-dom": "npm:18.2.25" block-scripts: "npm:0.3.4" date-fns: "npm:4.1.0" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" mock-block-dock: "npm:0.1.9" prettier: "npm:3.4.2" react: "npm:18.2.0" @@ -4860,7 +4860,7 @@ __metadata: "@local/tsconfig": "npm:0.0.0-private" "@types/react-dom": "npm:18.2.25" block-scripts: "npm:0.3.4" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" mock-block-dock: "npm:0.1.9" prettier: "npm:3.4.2" react: "npm:18.2.0" @@ -4882,7 +4882,7 @@ __metadata: "@types/react-dom": "npm:18.0.9" block-scripts: "npm:0.0.14" blockprotocol: "patch:blockprotocol@npm%3A0.0.12#~/.yarn/patches/blockprotocol-npm-0.0.12-2558a31f0a.patch" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" lodash: "npm:4.17.21" mock-block-dock: "npm:0.0.10" react: "npm:18.2.0" @@ -4908,7 +4908,7 @@ __metadata: "@types/react-dom": "npm:18.2.25" "@types/uuid": "npm:10.0.0" block-scripts: "npm:0.3.4" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" mock-block-dock: "npm:0.1.9" prettier: "npm:3.4.2" react: "npm:18.2.0" @@ -4931,7 +4931,7 @@ __metadata: "@local/tsconfig": "npm:0.0.0-private" "@types/react-dom": "npm:18.2.25" block-scripts: "npm:0.3.4" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" mock-block-dock: "npm:0.1.9" prettier: "npm:3.4.2" react: "npm:18.2.0" @@ -4955,7 +4955,7 @@ __metadata: "@types/react-dom": "npm:18.2.25" "@types/uuid": "npm:10.0.0" block-scripts: "npm:0.3.4" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" mock-block-dock: "npm:0.1.9" prettier: "npm:3.4.2" react: "npm:18.2.0" @@ -4979,7 +4979,7 @@ __metadata: "@local/tsconfig": "npm:0.0.0-private" "@types/react-dom": "npm:18.2.25" block-scripts: "npm:0.3.4" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" mock-block-dock: "npm:0.1.9" prettier: "npm:3.4.2" react: "npm:18.2.0" @@ -5011,7 +5011,7 @@ __metadata: "@types/react-dom": "npm:18.2.25" block-scripts: "npm:0.3.4" clsx: "npm:1.2.1" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" lodash.clonedeep: "npm:4.5.0" lodash.debounce: "npm:4.0.8" lodash.isequal: "npm:4.5.0" @@ -5036,7 +5036,7 @@ __metadata: "@local/tsconfig": "npm:0.0.0-private" "@types/react-dom": "npm:18.2.25" block-scripts: "npm:0.3.4" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" lit: "npm:2.8.0" mine-sweeper-tag: "npm:1.0.6" mock-block-dock: "npm:0.1.9" @@ -5057,7 +5057,7 @@ __metadata: "@local/tsconfig": "npm:0.0.0-private" "@types/react-dom": "npm:18.2.25" block-scripts: "npm:0.3.4" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" mock-block-dock: "npm:0.1.9" prettier: "npm:3.4.2" react: "npm:18.2.0" @@ -5080,7 +5080,7 @@ __metadata: "@types/react-dom": "npm:18.0.9" block-scripts: "npm:0.0.14" dompurify: "npm:2.5.8" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" mock-block-dock: "npm:0.0.38" react: "npm:18.2.0" react-dom: "npm:18.2.0" @@ -5107,7 +5107,7 @@ __metadata: "@types/lodash.isequal": "npm:4.5.8" "@types/uuid": "npm:10.0.0" block-scripts: "npm:0.3.4" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" immer: "npm:9.0.21" lodash.isequal: "npm:4.5.0" mock-block-dock: "npm:0.1.9" @@ -5140,7 +5140,7 @@ __metadata: "@types/react-dom": "npm:18.2.25" block-scripts: "npm:0.3.4" clsx: "npm:1.2.1" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" immer: "npm:9.0.21" lodash.debounce: "npm:4.0.8" lodash.isequal: "npm:4.5.0" @@ -5171,7 +5171,7 @@ __metadata: block-scripts: "npm:0.3.4" date-fns: "npm:4.1.0" duration-fns: "npm:3.0.2" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" mock-block-dock: "npm:0.1.9" prettier: "npm:3.4.2" react: "npm:18.2.0" @@ -5192,7 +5192,7 @@ __metadata: "@local/tsconfig": "npm:0.0.0-private" "@types/react-dom": "npm:18.2.25" block-scripts: "npm:0.3.4" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" mock-block-dock: "npm:0.1.9" prettier: "npm:3.4.2" react: "npm:18.2.0" @@ -6725,10 +6725,10 @@ __metadata: languageName: node linkType: hard -"@eslint/js@npm:9.16.0, @eslint/js@npm:^9.14.0": - version: 9.16.0 - resolution: "@eslint/js@npm:9.16.0" - checksum: 10c0/a55846a4ddade720662d36682f3eaaf38eac06eeee12c83bb837bba2b7d550dadcb3445b104219f0bc1da2e09b4fe5fb5ba123b8338c8c787bcfbd540878df75 +"@eslint/js@npm:9.17.0, @eslint/js@npm:^9.14.0": + version: 9.17.0 + resolution: "@eslint/js@npm:9.17.0" + checksum: 10c0/a0fda8657a01c60aa540f95397754267ba640ffb126e011b97fd65c322a94969d161beeaef57c1441c495da2f31167c34bd38209f7c146c7225072378c3a933d languageName: node linkType: hard @@ -7866,7 +7866,7 @@ __metadata: "@types/react": "npm:18.2.68" "@types/react-dom": "npm:18.2.25" "@types/react-syntax-highlighter": "npm:15.5.13" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" eslint-plugin-storybook: "npm:0.11.1" lowlight: "npm:2.9.0" react: "npm:18.2.0" @@ -7905,7 +7905,7 @@ __metadata: "@types/react-dom": "npm:18.2.25" clsx: "npm:1.2.1" echarts: "npm:5.5.1" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" eslint-plugin-storybook: "npm:0.11.1" react: "npm:18.2.0" react-dom: "npm:18.2.0" @@ -7935,7 +7935,7 @@ __metadata: "@mui/material": "npm:5.16.11" "@mui/system": "npm:5.16.8" clsx: "npm:1.2.1" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" eslint-plugin-storybook: "npm:0.11.1" react: "npm:18.2.0" react-dom: "npm:18.2.0" @@ -7967,7 +7967,7 @@ __metadata: "@types/lodash.memoize": "npm:4.1.9" "@types/lodash.uniqueid": "npm:4.0.9" clsx: "npm:1.2.1" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" eslint-plugin-storybook: "npm:0.11.1" lodash.memoize: "npm:4.1.2" lodash.uniqueid: "npm:4.0.1" @@ -9032,7 +9032,7 @@ __metadata: dependencies: "@local/eslint": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" react: "npm:18.2.0" rimraf: "npm:6.0.1" typescript: "npm:5.6.3" @@ -9052,7 +9052,7 @@ __metadata: "@types/eslint__eslintrc": "npm:2.1.2" "@types/node": "npm:22.10.2" effect: "npm:3.11.5" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" eslint-config-airbnb: "npm:19.0.4" eslint-config-flat-gitignore: "npm:0.3.0" eslint-config-prettier: "npm:9.1.0" @@ -9092,7 +9092,7 @@ __metadata: "@types/node": "npm:22.10.2" "@vitest/coverage-istanbul": "npm:2.1.8" effect: "npm:3.11.5" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" it-stream-types: "npm:2.0.2" libp2p: "npm:2.4.2" multiformats: "npm:13.3.1" @@ -9137,7 +9137,7 @@ __metadata: apollo-datasource: "npm:3.3.2" axios: "npm:1.7.9" dotenv-flow: "npm:3.3.0" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" exponential-backoff: "npm:3.1.1" googleapis: "npm:133.0.0" logform: "npm:2.7.0" @@ -9180,7 +9180,7 @@ __metadata: "@local/tsconfig": "npm:0.0.0-private" "@vitest/coverage-istanbul": "npm:2.1.8" effect: "npm:3.11.5" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" rimraf: "npm:6.0.1" typescript: "npm:5.6.3" vitest: "npm:2.1.8" @@ -9197,7 +9197,7 @@ __metadata: "@local/eslint": "npm:0.0.0-private" "@local/hash-graph-client": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" rimraf: "npm:6.0.1" typescript: "npm:5.6.3" languageName: unknown @@ -9230,7 +9230,7 @@ __metadata: "@types/pluralize": "npm:0.0.33" "@vitest/coverage-istanbul": "npm:2.1.8" apollo-server-express: "npm:3.9.0" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" fix-esm-import-path: "npm:1.10.1" fractional-indexing: "npm:2.1.0" graphql: "npm:16.9.0" @@ -9271,7 +9271,7 @@ __metadata: "@local/hash-graph-types": "npm:0.0.0-private" "@types/uuid": "npm:10.0.0" "@vitest/coverage-istanbul": "npm:2.1.8" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" rimraf: "npm:6.0.1" typescript: "npm:5.6.3" uuid: "npm:9.0.1" @@ -9303,7 +9303,7 @@ __metadata: "@types/prettier": "npm:3.0.0" chalk: "npm:4.1.2" envalid: "npm:7.3.1" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" execa: "npm:5.1.1" fs-extra: "npm:11.1.0" globby: "npm:11.1.0" @@ -9323,7 +9323,7 @@ __metadata: "@types/lodash-es": "npm:4.17.12" "@types/node": "npm:22.10.2" "@types/yargs": "npm:17.0.33" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" execa: "npm:5.1.1" lodash-es: "npm:4.17.21" quicktype: "npm:16.0.43" @@ -13262,7 +13262,7 @@ __metadata: "@local/eslint": "npm:0.0.0-private" "@local/status": "npm:0.0.0-private" "@rust/hash-status": "npm:0.0.0-private" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" quicktype: "npm:16.0.43" tsx: "npm:4.19.2" typescript: "npm:5.6.3" @@ -16554,7 +16554,7 @@ __metadata: "@rust/hash-graph-type-defs": "npm:0.0.0-private" "@types/node-fetch": "npm:2.6.12" "@vitest/coverage-istanbul": "npm:2.1.8" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" execa: "npm:5.1.1" fractional-indexing: "npm:2.1.0" graphql: "npm:16.9.0" @@ -16593,7 +16593,7 @@ __metadata: "@types/uuid": "npm:10.0.0" artillery: "npm:2.0.20" dotenv-flow: "npm:3.3.0" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" rimraf: "npm:6.0.1" rollup: "npm:4.28.1" typescript: "npm:5.6.3" @@ -16618,7 +16618,7 @@ __metadata: "@local/hash-subgraph": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@playwright/test": "npm:1.49.1" - eslint: "npm:9.16.0" + eslint: "npm:9.17.0" execa: "npm:5.1.1" graphql: "npm:16.9.0" js-yaml: "npm:4.1.0" @@ -23486,7 +23486,7 @@ __metadata: languageName: node linkType: hard -"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.1, cross-spawn@npm:^7.0.3, cross-spawn@npm:^7.0.5": +"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.1, cross-spawn@npm:^7.0.3, cross-spawn@npm:^7.0.6": version: 7.0.6 resolution: "cross-spawn@npm:7.0.6" dependencies: @@ -26831,16 +26831,16 @@ __metadata: languageName: node linkType: hard -"eslint@npm:9.16.0": - version: 9.16.0 - resolution: "eslint@npm:9.16.0" +"eslint@npm:9.17.0": + version: 9.17.0 + resolution: "eslint@npm:9.17.0" dependencies: "@eslint-community/eslint-utils": "npm:^4.2.0" "@eslint-community/regexpp": "npm:^4.12.1" "@eslint/config-array": "npm:^0.19.0" "@eslint/core": "npm:^0.9.0" "@eslint/eslintrc": "npm:^3.2.0" - "@eslint/js": "npm:9.16.0" + "@eslint/js": "npm:9.17.0" "@eslint/plugin-kit": "npm:^0.2.3" "@humanfs/node": "npm:^0.16.6" "@humanwhocodes/module-importer": "npm:^1.0.1" @@ -26849,7 +26849,7 @@ __metadata: "@types/json-schema": "npm:^7.0.15" ajv: "npm:^6.12.4" chalk: "npm:^4.0.0" - cross-spawn: "npm:^7.0.5" + cross-spawn: "npm:^7.0.6" debug: "npm:^4.3.2" escape-string-regexp: "npm:^4.0.0" eslint-scope: "npm:^8.2.0" @@ -26876,7 +26876,7 @@ __metadata: optional: true bin: eslint: bin/eslint.js - checksum: 10c0/f36d12652c6f20bab8a77375b8ad29a6af030c3840deb0a5f9dd4cee49d68a2d68d7dc73b0c25918df59d83cd686dd5712e11387e696e1f3842e8dde15cd3255 + checksum: 10c0/9edd8dd782b4ae2eb00a158ed4708194835d4494d75545fa63a51f020ed17f865c49b4ae1914a2ecbc7fdb262bd8059e811aeef9f0bae63dced9d3293be1bbdd languageName: node linkType: hard From eea1fd94104ed39b4240e2c2a9ca27305e700ecd Mon Sep 17 00:00:00 2001 From: Dei Vilkinsons <6226576+vilkinsons@users.noreply.github.com> Date: Sat, 14 Dec 2024 01:05:50 +0000 Subject: [PATCH 05/10] H-3809: Update glossary pages (#5900) --- apps/hashdotai/glossary/actor-model.mdx | 8 +++---- .../glossary/agent-based-modeling.mdx | 2 +- apps/hashdotai/glossary/attributes.mdx | 12 ++++++++++ apps/hashdotai/glossary/block-protocol.mdx | 22 +++++++++++-------- apps/hashdotai/glossary/blocks.mdx | 4 ++++ apps/hashdotai/glossary/digital-twin.mdx | 4 ++-- apps/hashdotai/glossary/graphs.mdx | 8 +++---- apps/hashdotai/glossary/properties.mdx | 4 +++- 8 files changed, 43 insertions(+), 21 deletions(-) create mode 100644 apps/hashdotai/glossary/attributes.mdx diff --git a/apps/hashdotai/glossary/actor-model.mdx b/apps/hashdotai/glossary/actor-model.mdx index 14079b79bcf..3ab8b23d0be 100644 --- a/apps/hashdotai/glossary/actor-model.mdx +++ b/apps/hashdotai/glossary/actor-model.mdx @@ -5,7 +5,7 @@ slug: actor-model tags: ["Simulation Modeling", "Software Engineering"] --- -[HASH Engine](/platform/engine) (which powers [HASH Core](/platform/core) and our [cloud compute platform](/platform/cloud)) provides an ultra-fast framework for running large-scale simulations in a distributed fashion. To enable this, an _actor model_ is utilized, and simulations built atop HASH must take this into account. This sets HASH apart from more traditionally _object-oriented_ simulation packages. +[HASH Engine](/platform/engine) provides an ultra-fast framework for running large-scale simulations in a distributed fashion. To enable this, an _actor model_ is utilized, and simulations built atop HASH must take this into account. This sets HASH apart from more traditionally _object-oriented_ simulation packages. ## What is object-oriented simulation? @@ -86,7 +86,7 @@ In the actor model, agents consist of **state**, have **behaviors**, and communi ## Actor-based implementation -The same simulation shown in object-oriented form can easily be implemented using the actor-based framework in HASH. This simulation is available to view and run on [hIndex](https://simulation.hash.ai/@hash/random-coins). We start by initializing the simulation — specifying which agents should be created and setting their initial state. This may be performed declaratively as shown in `init.json` below. +The same simulation shown in object-oriented form can easily be implemented using the actor-based framework in HASH. This simulation is available to view and run on [HASH](https://simulation.hash.ai/@hash/random-coins). We start by initializing the simulation — specifying which agents should be created and setting their initial state. This may be performed declaratively as shown in `init.json` below. ```json [ @@ -108,7 +108,7 @@ The same simulation shown in object-oriented form can easily be implemented usin ] ``` -There a few interesting points of note here. First, agents in hash can create other agents. The simulation is initialized with a single agent which in-turn creates all people agents in the model. Second, behaviors compose with each other. All people agents have two behaviors: `make_bet.js` and `@hash/random-movement/random_movement.rs`. The first is a user-defined behavior which allows an agent to engage in bets, and the second allows agents to move throughout the grid as the simulation progresses — one of the many behaviors made available by the community on [hIndex](https://simulation.hash.ai/index). +There a few interesting points of note here. First, agents in hash can create other agents. The simulation is initialized with a single agent which in-turn creates all people agents in the model. Second, behaviors compose with each other. All people agents have two behaviors: `make_bet.js` and `@hash/random-movement/random_movement.rs`. The first is a user-defined behavior which allows an agent to engage in bets, and the second allows agents to move throughout the grid as the simulation progresses — one of the many behaviors made available by the community on [HASH](https://simulation.hash.ai/index). The `make_bet.js` behavior is shown below. @@ -148,4 +148,4 @@ The behavior logic is similar to that of the object-oriented method, but is cruc The actor model allows HASH to present a user-friendly and intuitive approach to agent-based modelling. Because only agents can modify their own state, the requirement that object-oriented frameworks place on the user to implement lock-based synchronization is removed, allowing for much more scalable world-building. The very same simulations run locally on multiple cores, and scale seamlessly to large clusters running in the cloud. -For users looking for an approach to class inheritance offered by object-oriented programming, HASH provides [Agent Types](https://hash.dev/docs/simulations/behaviors/inheritance). Agents in HASH can have any number of types, allowing agent logic to be similarly clustered, inherited, and attached in the form of grouped behaviors. +For users looking for an approach to class inheritance offered by object-oriented programming, HASH provides [Entity Types](/glossary/entity-types) which allow both [attribute](/glossary/attributes) and [behavior inheritance](https://hash.dev/docs/simulations/create/behaviors/inheritance). Agents in HASH can have any number of types, allowing agent logic to be similarly clustered, inherited, and attached in the form of grouped behaviors. diff --git a/apps/hashdotai/glossary/agent-based-modeling.mdx b/apps/hashdotai/glossary/agent-based-modeling.mdx index 39530c3b698..68ae5bf44f3 100644 --- a/apps/hashdotai/glossary/agent-based-modeling.mdx +++ b/apps/hashdotai/glossary/agent-based-modeling.mdx @@ -7,7 +7,7 @@ tags: ["Simulation Modeling"] ## What is ABM? -An Agent-Based Model (ABM) is a construction of how entities (agents) act in an imagined environment. Typically used as aides when modeling difficult or complex real-world systems, ABMs allow environments to be synthesized in digital form, with differing scenarios run within them, in order to observe how the behavior of agents changes under varying conditions, and itself can impact the broader system. This coevolution, and modeling of interdependencies, can be hard to capture via other means. ABMs are often used in support of probabilistic modeling efforts. +An Agent-Based Model (ABM) is a construction of how [entities](/glossary/entities) (agents) act in an imagined environment. Typically used as aides when modeling difficult or complex real-world systems, ABMs allow environments to be synthesized in digital form, with differing scenarios run within them, in order to observe how the behavior of agents changes under varying conditions, and itself can impact the broader system. This coevolution, and modeling of interdependencies, can be hard to capture via other means. ABMs are often used in support of probabilistic modeling efforts. Agents in ABMs do not necessarily have ‘agency’ in the traditional sense of the word, but should be thought of as component parts of a wider system capable of impacting it and/or being affected by it. Varying any the the number, type, or properties/behaviors of agents can have a ripple effect on the system as a whole. Experiments within ABMs seek to tweak these variables to explore how different scenarios unfold, and what end-states are likely to result. diff --git a/apps/hashdotai/glossary/attributes.mdx b/apps/hashdotai/glossary/attributes.mdx new file mode 100644 index 00000000000..67dd3207b03 --- /dev/null +++ b/apps/hashdotai/glossary/attributes.mdx @@ -0,0 +1,12 @@ +--- +title: Attributes +description: "Attributes are the properties and links that exist on and describe an entity." +slug: attributes +tags: ["Data Science", "Graphs"] +--- + +Attributes describe [entities](/glossary/entities) and are either [properties](/glossary/properties) or [links](/glossary/links). + +The attributes that exist on an entity are determined by an [entity's type](/glossary/entity-types), which in turn defines what kinds of properties and links can be associated with it (through [property types](/glossary/property-types) and [link types](/glossary/link-types)). + +A single entity can be of more than one entity type. For example, a `Person` entity might also be an `Employee`, allowing specific employment-related information to be stored in conjunction with a person's record in HASH. diff --git a/apps/hashdotai/glossary/block-protocol.mdx b/apps/hashdotai/glossary/block-protocol.mdx index 32450889c88..e3e246c3444 100644 --- a/apps/hashdotai/glossary/block-protocol.mdx +++ b/apps/hashdotai/glossary/block-protocol.mdx @@ -13,43 +13,47 @@ tags: ["Software Engineering", "Standards"] The Block Protocol is an open standard which standardizes the means by which [blocks](/glossary/blocks) and applications are able to communicate, so that any block can be embedded in any application, without either one possessing any special knowledge about the other. -The Block Protocol consists of a **Core** specification, and various optional **modules**, each with their own additional specifications. You can learn about these in full by reading the Block Protocol documentation and specification at blockprotocol.org/docs. +The Block Protocol consists of a **Core** specification, and various optional **modules**, each with their own additional specifications. You can learn about these in full by reading the [Block Protocol documentation](https://blockprotocol.org/docs) and [Block Protocol specification](https://blockprotocol.org/spec). -Blocks built in accordance with the Block Protocol are also made available on the Block Protocol Hub, located at blockprotocol.org/hub +Blocks built in accordance with the Block Protocol are also made available on the [Block Protocol Hub](https://blockprotocol.org/hub). A high-level summary of the Block Protocol is provided below. ## Target Audience -The Block Protocol is written for two audiences: +The Block Protocol was designed to be understood by two different audiences: 1. Potential block developers who wish to build interoperable, cross-application blocks 1. Potential embedding application developers who wish to build block-based ‘embedding applications’ that leverage the Block Protocol. +While end-users of block-embedding applications may interface with Block Protocol blocks, they are not required or expected to understand its technical implementation or even be aware of its existence. + ## Architectural Overview ### Block Protocol Core -The Block Protocol Core outlines what constitutes a bare minimum block publishable to the Block Protocol Hub. Namely, a publishable block combines: +The [Block Protocol _Core_](https://blockprotocol.org/spec/core) specification outlines what constitutes a block publishable to the Block Protocol Hub. At minimum, a publishable block combines: - some source code; and - a block metadata file (which can be used to identify a block by potential embedding applications). The combination of these two things is called a **block package**, and it is these that can be submitted for listing on the Block Protocol Hub, for download and use by others as **blocks**. -The Block Protocol Core also defines how modules can be specified. - ### Block Protocol Modules -The Block Protocol Core specifies how a block is defined, and how they communicate with embedding applications. Modules define what blocks and applications can communicate. +While the Block Protocol Core specifies how a block is defined, and how it communicates with an embedding application, modules define what kinds of things blocks and applications can communicate about. Modules provide logical groups of functionality or aim to solve a specific problem related to block-application interaction. Modules are defined in their own specifications that live separate to, but alongside, the Block Protocol Core. Most blocks will want to use one or more modules defined as part of the Block Protocol specification. -For example, the **Graph** module defines the protocol by which blocks can create, read, update or delete **entities** -- as well as any **links** between those entities -- within an embedding application’s datastore. +For example: + +- the [Graph](https://blockprotocol.org/spec/graph) module defines the protocol by which blocks can create, read, update or delete **entities** -- as well as any **links** between those entities -- within an embedding application’s datastore; +- the [Hook](https://blockprotocol.org/spec/hook) module defines a protocol via which embedding applications can take over specific parts of a block to insert a native application experience, if one exists (e.g. a file picker, or photo gallery); +- the [Service](https://blockprotocol.org/spec/service) module provides a standardized capability for blocks to interact with external APIs, without needing to ship with their own API keys or prompt users to insert their own. -There are many different types of modules under discussion for inclusion in the Block Protocol, which are described alongside the specification. +There are many different types of modules under discussion for inclusion in the Block Protocol, which are described [alongside the specification](https://blockprotocol.org/roadmap#new-modules). In their metadata, blocks can declare which modules (and which version of those modules) they support. diff --git a/apps/hashdotai/glossary/blocks.mdx b/apps/hashdotai/glossary/blocks.mdx index 6ee7a5b6442..1473d95ec05 100644 --- a/apps/hashdotai/glossary/blocks.mdx +++ b/apps/hashdotai/glossary/blocks.mdx @@ -24,3 +24,7 @@ A single individual block can be referred to as an ‘instance of a block’, or ## The Block Protocol The [Block Protocol](/glossary/block-protocol) is an open standard for developing blocks, and block-based applications. It defines the methods by which blocks may communicate and interact with the applications that embed them (“embedding applications”). + +## Using blocks + +Blocks are most prominently used within HASH in [pages](/guide/pages). You can learn more about [using blocks within pages](/guide/pages/blocks) in the HASH user guide. diff --git a/apps/hashdotai/glossary/digital-twin.mdx b/apps/hashdotai/glossary/digital-twin.mdx index fde37c107f7..b7734efda46 100644 --- a/apps/hashdotai/glossary/digital-twin.mdx +++ b/apps/hashdotai/glossary/digital-twin.mdx @@ -7,9 +7,9 @@ tags: ["Business Intelligence", "Simulation Modeling"] The term digital twin (sometimes used interchangeably with "synthetic environment") refers to an in-silico, computer simulated analogue to a real-world system. It is often used to describe computer simulations that mirror real-world biological systems, engineering projects (like jet engines, wind turbines, or vehicles), and architectural spaces, as well as individual factories and warehouses within larger supply chains. -These "digital twins" (computer simulations) mirroring real-world counterparts can be placed in different virtual environments. This allows them to be inexpensively and safely examined under a wide range of conditions, often exceeding the number and range of environments affordable or practical to test in the physical, offline world. +These "digital twins" (individual [entities](/glossary/entities) or entire [simulation models](/glossary/simulations)) mirroring real-world counterparts can be placed in different virtual environments, and have their parameters modified, to allow them to be inexpensively and safely examined under a wide range of conditions, often exceeding the number and range of environments affordable or practical to test in the physical, offline world. -These simulations can also be used to generate [synthetic data](/glossary/synthetic-data-generation), perform low-cost tradespace analyses by modifying the digital system, and generate risk assessments by introducing simulated stochastic failures, among other things. +These simulations can also be used to generate [synthetic data](/glossary/synthetic-data-generation), perform low-cost tradespace analyses, and generate risk assessments (e.g. by introducing simulated stochastic failures). All of these things can be fed back into the design of real-world systems, allowing them to be tested and improved online, before being built "in the real world" offline. diff --git a/apps/hashdotai/glossary/graphs.mdx b/apps/hashdotai/glossary/graphs.mdx index ff6b82f86e2..06db4959cb1 100644 --- a/apps/hashdotai/glossary/graphs.mdx +++ b/apps/hashdotai/glossary/graphs.mdx @@ -9,15 +9,15 @@ tags: ["Graphs", "Machine Learning", "Software Engineering"] ### In HASH -In the context of HASH, a graph is a collection of entities which may be connected to other entities by [links](/glossary/links). +In the context of HASH, a graph is a collection of [entities](/glossary/entities) which may be connected to other entities by [links](/glossary/links). -The data in a single HASH workspace can be thought of as a graph, some of which may be kept private, and parts of which may be public. +The data and [types](/glossary/types) in a single HASH workspace are known as a [web](/guide/webs), and these can be thought of as a graph in which some information might be kept private, while other parts may be shared publicly. -The totality of all public data in HASH may also be thought of as a graph, as many individual workspaces are connected through [linked entities](/glossary/entities#Linked-entities) and shared [types](/glossary/types). +The totality of all public data in HASH, sometimes called the "[HASH public web](https://hash.ai/guide/webs#hash-public-web)", may also be thought of as a graph, as many individual workspaces are connected to each other through [linked entities](/glossary/entities#Linked-entities) and shared types. ### In the Block Protocol -The [Block Protocol](/glossary/block-protocol) module which deals with entities and the links between them is known as the _Graph Module_. +The [Block Protocol](/glossary/block-protocol) module which deals with entities and the links between them is known as the _Graph_ module. ### In mathematics and computer science diff --git a/apps/hashdotai/glossary/properties.mdx b/apps/hashdotai/glossary/properties.mdx index 405e0234bcb..bb61d30b884 100644 --- a/apps/hashdotai/glossary/properties.mdx +++ b/apps/hashdotai/glossary/properties.mdx @@ -5,10 +5,12 @@ slug: properties tags: ["Data Science", "Graphs"] --- -Properties store individual pieces of information about [entities](/glossary/entities) as [values](/glossary/values). All properties on an entity are inferred from its [entity type(s)](/glossary/entity-types). +Properties store individual pieces of information about [entities](/glossary/entities) as [values](/glossary/values). All properties on an entity are inferred from that [entity's type(s)](/glossary/entity-types). Property values (the contents of a property field) can either be **required** or **optional**. In either case, marking a property as required or not will be specified on the thing _using the property_ (e.g. the entity type which requires the property) rather than on the property itself. +Properties are one of two kinds of [attributes](/glossary/attributes) (things which describe entities), with the other being [links](/glossary/links). + ## Property types A **property type** is how a property is defined. It can be used by one or more entity types, or _other_ property types. A property type: From 606ff05b2b67c640c607a79608f8dcfa8f6122c1 Mon Sep 17 00:00:00 2001 From: "hash-worker[bot]" <180894564+hash-worker[bot]@users.noreply.github.com> Date: Sat, 14 Dec 2024 01:23:15 +0000 Subject: [PATCH 06/10] Update Rust crate `thiserror` to v2.0.7 (#5912) Co-authored-by: hash-worker[bot] <180894564+hash-worker[bot]@users.noreply.github.com> --- Cargo.lock | 46 +++++++++++++++++++++++----------------------- Cargo.toml | 2 +- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e3473a16d53..5f20649b554 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1167,7 +1167,7 @@ dependencies = [ "image", "insta", "pdfium-render", - "thiserror 2.0.6", + "thiserror 2.0.7", ] [[package]] @@ -1993,7 +1993,7 @@ dependencies = [ "spin 0.9.8", "supports-color", "supports-unicode", - "thiserror 2.0.6", + "thiserror 2.0.7", "tracing", "tracing-error", "tracing-subscriber", @@ -2514,7 +2514,7 @@ dependencies = [ "multiaddr", "serde", "serde-value", - "thiserror 2.0.6", + "thiserror 2.0.7", "tokio-util", "tower 0.5.2", ] @@ -2532,7 +2532,7 @@ dependencies = [ "pin-project-lite", "serde", "serde_json", - "thiserror 2.0.6", + "thiserror 2.0.7", "tokio", ] @@ -2570,7 +2570,7 @@ dependencies = [ "serde", "tachyonix", "test-log", - "thiserror 2.0.6", + "thiserror 2.0.7", "tokio", "tokio-stream", "tokio-util", @@ -2598,7 +2598,7 @@ dependencies = [ "multiaddr", "scc", "serde", - "thiserror 2.0.6", + "thiserror 2.0.7", "tokio", "tokio-util", "tower 0.5.2", @@ -2631,7 +2631,7 @@ dependencies = [ "pin-project", "pin-project-lite", "serde", - "thiserror 2.0.6", + "thiserror 2.0.7", "tokio", "tokio-test", "tokio-util", @@ -2665,7 +2665,7 @@ dependencies = [ "serde_json", "similar-asserts", "test-strategy", - "thiserror 2.0.6", + "thiserror 2.0.7", ] [[package]] @@ -2927,7 +2927,7 @@ dependencies = [ "postgres-types", "serde", "serde_json", - "thiserror 2.0.6", + "thiserror 2.0.7", "tokio", "tokio-postgres", "tracing", @@ -3023,7 +3023,7 @@ dependencies = [ "semver", "serde", "serde_json", - "thiserror 2.0.6", + "thiserror 2.0.7", "time", "tokio", "trait-variant", @@ -3047,7 +3047,7 @@ dependencies = [ "regex", "serde", "serde_json", - "thiserror 2.0.6", + "thiserror 2.0.7", "tokio", "type-system", "url", @@ -3070,7 +3070,7 @@ dependencies = [ "inferno", "serde", "serde_json", - "thiserror 2.0.6", + "thiserror 2.0.7", "tokio", "walkdir", ] @@ -3092,7 +3092,7 @@ dependencies = [ "serde_json", "temporal-client", "temporal-sdk-core-protos", - "thiserror 2.0.6", + "thiserror 2.0.7", "url", "uuid", ] @@ -3291,7 +3291,7 @@ dependencies = [ "serde_json", "serde_with", "text-size", - "thiserror 2.0.6", + "thiserror 2.0.7", ] [[package]] @@ -7149,7 +7149,7 @@ dependencies = [ "slotmap", "temporal-sdk-core-api", "temporal-sdk-core-protos", - "thiserror 2.0.6", + "thiserror 2.0.7", "tokio", "tonic", "tower 0.5.2", @@ -7170,7 +7170,7 @@ dependencies = [ "prost-types", "serde_json", "temporal-sdk-core-protos", - "thiserror 2.0.6", + "thiserror 2.0.7", "tonic", "tracing-core", "url", @@ -7192,7 +7192,7 @@ dependencies = [ "prost-wkt-types", "serde", "serde_json", - "thiserror 2.0.6", + "thiserror 2.0.7", "tonic", "tonic-build", ] @@ -7321,11 +7321,11 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.6" +version = "2.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fec2a1820ebd077e2b90c4df007bebf344cd394098a13c563957d0afc83ea47" +checksum = "93605438cbd668185516ab499d589afb7ee1859ea3d5fc8f6b0755e1c7443767" dependencies = [ - "thiserror-impl 2.0.6", + "thiserror-impl 2.0.7", ] [[package]] @@ -7341,9 +7341,9 @@ dependencies = [ [[package]] name = "thiserror-impl" -version = "2.0.6" +version = "2.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d65750cab40f4ff1929fb1ba509e9914eb756131cef4210da8d5d700d26f6312" +checksum = "e1d8749b4531af2117677a5fcd12b1348a3fe2b81e36e61ffeac5c4aa3273e36" dependencies = [ "proc-macro2", "quote", @@ -7935,7 +7935,7 @@ dependencies = [ "regex", "serde", "serde_json", - "thiserror 2.0.6", + "thiserror 2.0.7", "tokio", "tsify", "url", diff --git a/Cargo.toml b/Cargo.toml index e2db6a035e5..2c6e24a598c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -220,7 +220,7 @@ temporal-sdk-core-protos = { git = "https://github.com/temporalio/sdk-core", rev test-fuzz = { version = "=7.0.1", default-features = false } test-log = { version = "=0.2.16", default-features = false } test-strategy = { version = "=0.4.0", default-features = false } -thiserror = { version = "=2.0.6", default-features = false } +thiserror = { version = "=2.0.7", default-features = false } tokio-stream = { version = "=0.1.17", default-features = false } tokio-test = { version = "=0.4.4", default-features = false } tower = { version = "=0.5.2", default-features = false } From 52b1f187b964e9b30b85c15e754e1729e400f283 Mon Sep 17 00:00:00 2001 From: "hash-worker[bot]" <180894564+hash-worker[bot]@users.noreply.github.com> Date: Sat, 14 Dec 2024 04:27:01 +0000 Subject: [PATCH 07/10] Update GitHub Action `taiki-e/install-action` to v2.46.9 (#5913) Co-authored-by: hash-worker[bot] <180894564+hash-worker[bot]@users.noreply.github.com> --- .github/actions/warm-up-repo/action.yml | 2 +- .github/workflows/bench.yml | 4 ++-- .github/workflows/lint.yml | 2 +- .github/workflows/test.yml | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/actions/warm-up-repo/action.yml b/.github/actions/warm-up-repo/action.yml index 9f1c6238c34..8f21185f5a3 100644 --- a/.github/actions/warm-up-repo/action.yml +++ b/.github/actions/warm-up-repo/action.yml @@ -17,7 +17,7 @@ runs: # cache: yarn ## Currently disabled because of frequent timeouts - name: Install WASM tools - uses: taiki-e/install-action@8c39981484df4e7ba41af8e8e078ac546d5e1b11 # v2.46.8 + uses: taiki-e/install-action@e523301c9af289ba196edd3ab08abdece06107d2 # v2.46.9 with: tool: wasm-pack@0.12.1 diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index fe189b31b26..40315237295 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -99,7 +99,7 @@ jobs: - name: Install Rust tools if: steps.benches.outputs.has-rust == 'true' - uses: taiki-e/install-action@8c39981484df4e7ba41af8e8e078ac546d5e1b11 # v2.46.8 + uses: taiki-e/install-action@e523301c9af289ba196edd3ab08abdece06107d2 # v2.46.9 with: tool: just@1.34.0,critcmp@0.1.8 @@ -251,7 +251,7 @@ jobs: - name: Install Rust tools if: steps.benches.outputs.has-rust == 'true' - uses: taiki-e/install-action@8c39981484df4e7ba41af8e8e078ac546d5e1b11 # v2.46.8 + uses: taiki-e/install-action@e523301c9af289ba196edd3ab08abdece06107d2 # v2.46.9 with: tool: just@1.34.0,critcmp@0.1.8 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 78a119f8998..b63666519ef 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -111,7 +111,7 @@ jobs: - name: Install Rust tools if: always() && steps.lints.outputs.has-rust == 'true' - uses: taiki-e/install-action@8c39981484df4e7ba41af8e8e078ac546d5e1b11 # v2.46.8 + uses: taiki-e/install-action@e523301c9af289ba196edd3ab08abdece06107d2 # v2.46.9 with: tool: just@1.34.0,cargo-hack@0.6.30,clippy-sarif@0.6.5,sarif-fmt@0.6.5 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 72be3967985..06fb0a11fed 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -163,7 +163,7 @@ jobs: - name: Install Rust tools if: always() && steps.tests.outputs.has-rust == 'true' - uses: taiki-e/install-action@8c39981484df4e7ba41af8e8e078ac546d5e1b11 # v2.46.8 + uses: taiki-e/install-action@e523301c9af289ba196edd3ab08abdece06107d2 # v2.46.9 with: tool: just@1.34.0,cargo-hack@0.6.30,cargo-nextest@0.9.72,cargo-llvm-cov@0.6.11 @@ -281,7 +281,7 @@ jobs: - name: Install Rust tools if: steps.tests.outputs.has-rust == 'true' - uses: taiki-e/install-action@8c39981484df4e7ba41af8e8e078ac546d5e1b11 # v2.46.8 + uses: taiki-e/install-action@e523301c9af289ba196edd3ab08abdece06107d2 # v2.46.9 with: tool: just@1.34.0,cargo-hack@0.6.30,cargo-nextest@0.9.72,cargo-llvm-cov@0.6.11 From 5ea54f48113e8bcdc5997bd03363f5524e62020f Mon Sep 17 00:00:00 2001 From: "hash-worker[bot]" <180894564+hash-worker[bot]@users.noreply.github.com> Date: Sat, 14 Dec 2024 04:32:35 +0000 Subject: [PATCH 08/10] Update npm package `@effect/vitest` to v0.14.7 (#5914) Co-authored-by: hash-worker[bot] <180894564+hash-worker[bot]@users.noreply.github.com> --- libs/@local/harpc/client/typescript/package.json | 2 +- yarn.lock | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/libs/@local/harpc/client/typescript/package.json b/libs/@local/harpc/client/typescript/package.json index a6ec83c7303..ada9b0c6b7b 100644 --- a/libs/@local/harpc/client/typescript/package.json +++ b/libs/@local/harpc/client/typescript/package.json @@ -41,7 +41,7 @@ "devDependencies": { "@effect/platform": "0.70.7", "@effect/platform-node": "0.65.7", - "@effect/vitest": "0.14.5", + "@effect/vitest": "0.14.7", "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", "@rust/harpc-wire-protocol": "0.0.0-private", diff --git a/yarn.lock b/yarn.lock index 0169ef13b49..c8d1c2d745f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5793,13 +5793,13 @@ __metadata: languageName: node linkType: hard -"@effect/vitest@npm:0.14.5": - version: 0.14.5 - resolution: "@effect/vitest@npm:0.14.5" +"@effect/vitest@npm:0.14.7": + version: 0.14.7 + resolution: "@effect/vitest@npm:0.14.7" peerDependencies: - effect: ^3.11.5 + effect: ^3.11.7 vitest: ^2.0.5 - checksum: 10c0/b9592e1143bf2d52b06302c76ce1b25f1133cab6d95232a578f2f05ed673ac1058ff11a295f37ac578b48e6807a19b27965661a741027bf7d5e6c1c7555547cd + checksum: 10c0/2df79062f3cc926473ed1e88e2435d56a4284d99b71347d1353d83b148f0bc9e5d10a914a3a9f7d2c6391cf83ca4faffd470ad628650f7b377ae6a997bcccbd7 languageName: node linkType: hard @@ -9078,7 +9078,7 @@ __metadata: "@chainsafe/libp2p-yamux": "npm:7.0.1" "@effect/platform": "npm:0.70.7" "@effect/platform-node": "npm:0.65.7" - "@effect/vitest": "npm:0.14.5" + "@effect/vitest": "npm:0.14.7" "@libp2p/crypto": "npm:5.0.8" "@libp2p/identify": "npm:3.0.14" "@libp2p/interface": "npm:2.3.0" From da379b98d1320a078a864c4bd65feb734f69b57b Mon Sep 17 00:00:00 2001 From: "hash-worker[bot]" <180894564+hash-worker[bot]@users.noreply.github.com> Date: Sat, 14 Dec 2024 05:26:06 +0000 Subject: [PATCH 09/10] Update `effect` npm packages (#5915) Co-authored-by: hash-worker[bot] <180894564+hash-worker[bot]@users.noreply.github.com> --- apps/hash-api/package.json | 2 +- libs/@local/eslint/package.json | 2 +- libs/@local/graph/sdk/typescript/package.json | 2 +- .../harpc/client/typescript/package.json | 6 +- yarn.lock | 56 +++++++++---------- 5 files changed, 34 insertions(+), 34 deletions(-) diff --git a/apps/hash-api/package.json b/apps/hash-api/package.json index 17390f582db..f2a5adb7c5c 100644 --- a/apps/hash-api/package.json +++ b/apps/hash-api/package.json @@ -73,7 +73,7 @@ "cors": "2.8.5", "cross-env": "7.0.3", "dedent": "0.7.0", - "effect": "3.11.5", + "effect": "3.11.7", "exponential-backoff": "3.1.1", "express": "4.21.2", "express-handlebars": "7.1.3", diff --git a/libs/@local/eslint/package.json b/libs/@local/eslint/package.json index 4a868fc0374..d316c820c3d 100644 --- a/libs/@local/eslint/package.json +++ b/libs/@local/eslint/package.json @@ -24,7 +24,7 @@ "@babel/eslint-parser": "7.25.9", "@eslint/compat": "1.2.4", "@eslint/eslintrc": "3.2.0", - "effect": "3.11.5", + "effect": "3.11.7", "eslint": "9.17.0", "eslint-config-airbnb": "19.0.4", "eslint-config-flat-gitignore": "0.3.0", diff --git a/libs/@local/graph/sdk/typescript/package.json b/libs/@local/graph/sdk/typescript/package.json index 676c893c866..f56a5e92400 100644 --- a/libs/@local/graph/sdk/typescript/package.json +++ b/libs/@local/graph/sdk/typescript/package.json @@ -28,7 +28,7 @@ "@local/harpc-client": "0.0.0-private", "@local/hash-graph-client": "0.0.0-private", "@local/hash-graph-types": "0.0.0-private", - "effect": "3.11.5" + "effect": "3.11.7" }, "devDependencies": { "@local/eslint": "0.0.0-private", diff --git a/libs/@local/harpc/client/typescript/package.json b/libs/@local/harpc/client/typescript/package.json index ada9b0c6b7b..a705d8fac7a 100644 --- a/libs/@local/harpc/client/typescript/package.json +++ b/libs/@local/harpc/client/typescript/package.json @@ -32,15 +32,15 @@ "@libp2p/tcp": "10.0.14", "@multiformats/dns": "1.0.6", "@multiformats/multiaddr": "12.3.4", - "effect": "3.11.5", + "effect": "3.11.7", "it-stream-types": "2.0.2", "libp2p": "2.4.2", "multiformats": "13.3.1", "uint8arraylist": "2.4.8" }, "devDependencies": { - "@effect/platform": "0.70.7", - "@effect/platform-node": "0.65.7", + "@effect/platform": "0.71.2", + "@effect/platform-node": "0.66.2", "@effect/vitest": "0.14.7", "@local/eslint": "0.0.0-private", "@local/tsconfig": "0.0.0-private", diff --git a/yarn.lock b/yarn.lock index c8d1c2d745f..f228dbc7dff 100644 --- a/yarn.lock +++ b/yarn.lock @@ -434,7 +434,7 @@ __metadata: cors: "npm:2.8.5" cross-env: "npm:7.0.3" dedent: "npm:0.7.0" - effect: "npm:3.11.5" + effect: "npm:3.11.7" eslint: "npm:9.17.0" exponential-backoff: "npm:3.1.1" express: "npm:4.21.2" @@ -5753,43 +5753,43 @@ __metadata: languageName: node linkType: hard -"@effect/platform-node-shared@npm:^0.20.7": - version: 0.20.7 - resolution: "@effect/platform-node-shared@npm:0.20.7" +"@effect/platform-node-shared@npm:^0.21.2": + version: 0.21.2 + resolution: "@effect/platform-node-shared@npm:0.21.2" dependencies: "@parcel/watcher": "npm:^2.4.1" multipasta: "npm:^0.2.5" peerDependencies: - "@effect/platform": ^0.70.7 - effect: ^3.11.5 - checksum: 10c0/16553e3479cf00305ce69626f23544f2d2569efe6c8890a1aa84a22e58dcd3d05f2b66616d4284c9008614ab06b57767f1b8049720163c34a55efd58f16e1591 + "@effect/platform": ^0.71.2 + effect: ^3.11.7 + checksum: 10c0/9c283db57751b5eb4ed3b8386a8f74a8e115be897c32d758cab287bcda3f8e52f84060d8b390782d2e61e3ec975d15ce057af6652ba3bbb86936ba8687b986a3 languageName: node linkType: hard -"@effect/platform-node@npm:0.65.7": - version: 0.65.7 - resolution: "@effect/platform-node@npm:0.65.7" +"@effect/platform-node@npm:0.66.2": + version: 0.66.2 + resolution: "@effect/platform-node@npm:0.66.2" dependencies: - "@effect/platform-node-shared": "npm:^0.20.7" + "@effect/platform-node-shared": "npm:^0.21.2" mime: "npm:^3.0.0" undici: "npm:^6.19.7" ws: "npm:^8.18.0" peerDependencies: - "@effect/platform": ^0.70.7 - effect: ^3.11.5 - checksum: 10c0/bc31367ea54cef8bea00dc437729d5f34dc4cc63f4fca33334c4d5fe3c7da82b92cc00cd2fa15ec21a11fc5b59bb4ad6cc1397d39430392f7370fc6e9f558914 + "@effect/platform": ^0.71.2 + effect: ^3.11.7 + checksum: 10c0/5f2246ab10eec32bad19f57260305ede5764b61e85dffed669b24fa18bd8a6b6e47c4687c13efa437edad9772709b4793730356649f1167968301bc5aeb7bc09 languageName: node linkType: hard -"@effect/platform@npm:0.70.7": - version: 0.70.7 - resolution: "@effect/platform@npm:0.70.7" +"@effect/platform@npm:0.71.2": + version: 0.71.2 + resolution: "@effect/platform@npm:0.71.2" dependencies: find-my-way-ts: "npm:^0.1.5" multipasta: "npm:^0.2.5" peerDependencies: - effect: ^3.11.5 - checksum: 10c0/7e4be2bca8f4ad589dbe6d5739aa9e5c4d16bdbddb9ad42cdf7517bb5f29fb1ea187ecd32de1fa422315a032d3dcca33c1f59585efa820e478f1f32534848b70 + effect: ^3.11.7 + checksum: 10c0/8cda4abaa90bcb8e646a8937db97b9cd4d15f2f2daa0cf1197fbfc8a004668823f9fda355a49206999cddbb923225dbd96f50a3782209661411c8334074e8aeb languageName: node linkType: hard @@ -9051,7 +9051,7 @@ __metadata: "@types/babel__core": "npm:^7" "@types/eslint__eslintrc": "npm:2.1.2" "@types/node": "npm:22.10.2" - effect: "npm:3.11.5" + effect: "npm:3.11.7" eslint: "npm:9.17.0" eslint-config-airbnb: "npm:19.0.4" eslint-config-flat-gitignore: "npm:0.3.0" @@ -9076,8 +9076,8 @@ __metadata: dependencies: "@chainsafe/libp2p-noise": "npm:16.0.0" "@chainsafe/libp2p-yamux": "npm:7.0.1" - "@effect/platform": "npm:0.70.7" - "@effect/platform-node": "npm:0.65.7" + "@effect/platform": "npm:0.71.2" + "@effect/platform-node": "npm:0.66.2" "@effect/vitest": "npm:0.14.7" "@libp2p/crypto": "npm:5.0.8" "@libp2p/identify": "npm:3.0.14" @@ -9091,7 +9091,7 @@ __metadata: "@rust/harpc-wire-protocol": "npm:0.0.0-private" "@types/node": "npm:22.10.2" "@vitest/coverage-istanbul": "npm:2.1.8" - effect: "npm:3.11.5" + effect: "npm:3.11.7" eslint: "npm:9.17.0" it-stream-types: "npm:2.0.2" libp2p: "npm:2.4.2" @@ -9179,7 +9179,7 @@ __metadata: "@local/hash-graph-types": "npm:0.0.0-private" "@local/tsconfig": "npm:0.0.0-private" "@vitest/coverage-istanbul": "npm:2.1.8" - effect: "npm:3.11.5" + effect: "npm:3.11.7" eslint: "npm:9.17.0" rimraf: "npm:6.0.1" typescript: "npm:5.6.3" @@ -25262,12 +25262,12 @@ __metadata: languageName: node linkType: hard -"effect@npm:3.11.5": - version: 3.11.5 - resolution: "effect@npm:3.11.5" +"effect@npm:3.11.7": + version: 3.11.7 + resolution: "effect@npm:3.11.7" dependencies: fast-check: "npm:^3.21.0" - checksum: 10c0/5d367ef49254c332ffd5fa506bb9e651c76509c5e4e5ef598aaa92dfbfa78e8824f5f9f9d16720ce504df21097062c91b1a424a10ab06dd2a379d564f069d3ff + checksum: 10c0/e7d7d5ba96b34a0403177ef99102f98788be9a6da6459e54f4dc3cf84915e5f7a1e19373fbf8a5b5f98c9b55e902ef9799b9dbbaf36378e4197e1d9d7a0c859f languageName: node linkType: hard From 516e08bfb99b81f49e02bd7233704fa1924dc5b9 Mon Sep 17 00:00:00 2001 From: "hash-worker[bot]" <180894564+hash-worker[bot]@users.noreply.github.com> Date: Sat, 14 Dec 2024 22:25:57 +0000 Subject: [PATCH 10/10] Update Rust crate `orx-concurrent-vec` to v3.1.0 (#5916) Co-authored-by: hash-worker[bot] <180894564+hash-worker[bot]@users.noreply.github.com> --- Cargo.lock | 20 ++++++++++---------- Cargo.toml | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5f20649b554..127080db594 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5095,9 +5095,9 @@ checksum = "7f6316222b51039f5d61cae27dccf7167ba4d2fe98816e0fe46af8abd27a5ed3" [[package]] name = "orx-concurrent-vec" -version = "3.0.2" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0022bc5fba197582938deb1a944d123c9034242a170d98200d0863e0e6b0157a" +checksum = "186e4c404b07fe4c7937adacd7d81e3468500b577e07bd7fa1ca0cc28f896fdc" dependencies = [ "orx-concurrent-option", "orx-fixed-vec", @@ -5109,9 +5109,9 @@ dependencies = [ [[package]] name = "orx-fixed-vec" -version = "3.10.0" +version = "3.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a599bc903d8f7af099503fa67237aeb51f81918b37ebe043849baf4437168a58" +checksum = "2c76340cf3cb33b8b890d8553164e64acdad5a619f476c60df23c3792bfa1638" dependencies = [ "orx-pinned-vec", "orx-pseudo-default", @@ -5119,9 +5119,9 @@ dependencies = [ [[package]] name = "orx-pinned-concurrent-col" -version = "2.8.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "859bd0a451eff1c98da539ca79372c2295004e191b24371c2819f2e8c2608496" +checksum = "ad874a35b15c02f49f39e0604e74911c66c2cf25606fde2ea3bdb6d4e438b05d" dependencies = [ "orx-fixed-vec", "orx-pinned-vec", @@ -5131,9 +5131,9 @@ dependencies = [ [[package]] name = "orx-pinned-vec" -version = "3.10.0" +version = "3.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd9630a8f2fb79750ce034d355fdce8d1729d39f42e76b9b849ddc6b9dda3110" +checksum = "937c374a3c1b494878d2a9c76142041b14a5a59c317358d4ed0b2d4370788ccb" dependencies = [ "orx-pseudo-default", ] @@ -5146,9 +5146,9 @@ checksum = "b97dde303d83e7609797d0c1222a9fb02e66445abc47643cc3d7168fd7c804cc" [[package]] name = "orx-split-vec" -version = "3.10.0" +version = "3.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35e520e3d4ae1c69a0dd0e03751f956f10d990bfa06d20791470aeeda2a758fa" +checksum = "36b38e49b6bc0365b06b6010e775460f49d2da264db4971a385c0806afcc7607" dependencies = [ "orx-pinned-vec", "orx-pseudo-default", diff --git a/Cargo.toml b/Cargo.toml index 2c6e24a598c..3e53cd63fcb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -189,7 +189,7 @@ once_cell = { version = "=1.20.2", default-features = false } opentelemetry = { version = "=0.27.1", default-features = false } opentelemetry-otlp = { version = "=0.27.0", default-features = false } opentelemetry_sdk = { version = "=0.27.1", default-features = false } -orx-concurrent-vec = { version = "=3.0.2", default-features = false } +orx-concurrent-vec = { version = "=3.1.0", default-features = false } owo-colors = { version = "=4.1.0", default-features = false } paste = { version = "=1.0.15", default-features = false } pin-project = { version = "=1.1.7", default-features = false }