FluidFramework/server/historian
Alex Villarreal c56a5218b8
refactor: Update dependencies so path-to-regexp gets to a version without CVE (#22928)
## Description

Updates our transitive dependencies on `path-to-regexp` to versions that
fixed https://nvd.nist.gov/vuln/detail/CVE-2024-45296 . Accomplished by
updating our direct dependencies on `sinon` to a mix of version 18 and
19, since that's the main way in which we get transitive dependencies on
`path-to-regexp`.

`@types/sinon` was also opportunistically updated to the latest version
where it wasn't already up to date.
2024-10-30 11:48:31 -05:00
..
.vscode build(deps): Update deps on build-tools and build-common (#15885) 2023-06-07 09:12:24 -07:00
packages refactor: Update dependencies so path-to-regexp gets to a version without CVE (#22928) 2024-10-30 11:48:31 -05:00
scripts ci: Use corepack to control package manager versions (#14935) 2023-04-03 13:47:59 -07:00
.dockerignore Re-org the historian directory to publish historian as package (#3876) 2020-10-21 03:52:53 +06:00
.editorconfig build: Remove / update .editorconfig files to accommodate prettier / tsdoc (#13965) 2023-02-02 16:06:58 -08:00
.gitignore Moving all microservices under the server directory (except routerlicious) (#2046) 2019-04-17 15:13:25 -07:00
.npmignore Moving all microservices under the server directory (except routerlicious) (#2046) 2019-04-17 15:13:25 -07:00
.npmrc build: Set prefer-frozen-lockfile=true in all .npmrc files (#21922) 2024-07-16 18:19:41 -07:00
.prettierignore build: Remove references to deleted readme-command package (#22831) 2024-10-17 12:36:37 -07:00
.releaseGroup build: Remove lerna from client and build-tools (#16161) 2023-08-17 13:04:31 -07:00
Dockerfile server: Cleanup broadcast signal listener memory leak (#21758) 2024-07-06 01:01:30 +00:00
LICENSE Policy-Check: Pick up and apply ^0.2.22453 (#5868) 2021-04-20 14:00:26 -07:00
README.md Remove dangling references to prague ACR (#19265) 2024-01-18 10:41:29 -08:00
lerna.json server: Prettier Formatting (#14402) 2023-03-09 10:11:33 -08:00
package.json refactor: Update build-tools dev deps in common-utils, protocol-definitions, server/historian, and server/gitrest (addressesCVE-2024-43788) (#22885) 2024-10-24 10:46:27 -05:00
pnpm-lock.yaml refactor: Update dependencies so path-to-regexp gets to a version without CVE (#22928) 2024-10-30 11:48:31 -05:00
pnpm-workspace.yaml build: Narrow workspace definitions (#19047) 2024-01-04 02:45:45 +00:00
prettier.config.cjs server: Prettier Formatting (#14402) 2023-03-09 10:11:33 -08:00

README.md

historian

The historian service tracks the historical record for a document. It serves as a proxy to the underlying git repository that maintains the versioned snapshots.

Building and running

For consistency we recommend building and developing within a container

You can build the production container by running.

docker build -t historian .

And then mount it for development by running.

docker run -it -v "$(pwd):/home/node/server" -p 3000:3000 node:8.15.0-slim /bin/bash

When mounted for development you'll want to run the following commands. These also work if you would like to develop outside of the container.

npm install -g pnpm pnpm i npm run build

Compose

A compose file is also provided which provides a Redis server and a Git REST server. By default it will mount your local files into the container so you will need to npm install, npm run build prior.

Testing

docker run -t historian npm test

Trademark

This project may contain Microsoft trademarks or logos for Microsoft projects, products, or services. Use of these trademarks or logos must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.