mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-22 18:11:32 +03:00
b690653451
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [sinon](https://sinonjs.org/) ([source](https://redirect.github.com/sinonjs/sinon)) | [`^18.0.0` -> `^19.0.0`](https://renovatebot.com/diffs/npm/sinon/18.0.0/19.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/sinon/19.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/sinon/19.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/sinon/18.0.0/19.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/sinon/18.0.0/19.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>sinonjs/sinon (sinon)</summary> ### [`v19.0.0`](https://redirect.github.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1900) [Compare Source](https://redirect.github.com/sinonjs/sinon/compare/v18.0.1...v19.0.0) - [`3534ab4f`](3534ab4fb0
) Bump samsam and nise to latest versions ([#​2617](https://redirect.github.com/sinonjs/sinon/issues/2617)) (Carl-Erik Kopseng) > Ensures consistency and less breakage when there are "circular" dependencies. - [`912c568d`](912c568d30
) upgrade fake timers and others ([#​2612](https://redirect.github.com/sinonjs/sinon/issues/2612)) (Carl-Erik Kopseng) > - Upgrade dependencies (includes breaking API in Fake Timers) > - fake-timers: no longer creating dates using the original Date class, but a subclass (proxy) - [`9715798e`](9715798e30
) Use newer @​mochify/\* packages ([#​2609](https://redirect.github.com/sinonjs/sinon/issues/2609)) (Carl-Erik Kopseng) > Co-authored-by: Maximilian Antoni <mail@maxantoni.de> *Released by [Carl-Erik Kopseng](https://redirect.github.com/fatso83) on 2024-09-13.* ### [`v18.0.1`](https://redirect.github.com/sinonjs/sinon/blob/HEAD/CHANGES.md#1801) [Compare Source](https://redirect.github.com/sinonjs/sinon/compare/v18.0.0...v18.0.1) Basically a patch release to update a transitive dependency in Nise. - [`03e33ec6`](03e33ec647
) Pin fake-timers@11.2.2 to avoid breaking change (Carl-Erik Kopseng) - [`5a7924ad`](5a7924ad94
) Add createStubInstance header in stubs.md (Daniel Kaplan) - [`ad6804cd`](ad6804cd41
) Bump elliptic from 6.5.5 to 6.5.7 ([#​2608](https://redirect.github.com/sinonjs/sinon/issues/2608)) (dependabot\[bot]) - [`033287bd`](033287bded
) Bump path-to-regexp and nise ([#​2611](https://redirect.github.com/sinonjs/sinon/issues/2611)) (dependabot\[bot]) > Bumps [path-to-regexp](https://redirect.github.com/pillarjs/path-to-regexp) to 8.1.0 and updates ancestor dependency [nise](https://redirect.github.com/sinonjs/nise). These dependencies need to be updated together. > > Updates `path-to-regexp` from 6.2.2 to 8.1.0 > > - [Release notes](https://redirect.github.com/pillarjs/path-to-regexp/releases) > - [Changelog](https://redirect.github.com/pillarjs/path-to-regexp/blob/master/History.md) > - [Commits](https://redirect.github.com/pillarjs/path-to-regexp/compare/v6.2.2...v8.1.0) > > Updates `nise` from 6.0.0 to 6.0.1 > > - [Changelog](https://redirect.github.com/sinonjs/nise/blob/main/History.md) > - [Commits](https://redirect.github.com/sinonjs/nise/commits) > > *** > > updated-dependencies: > > - dependency-name: path-to-regexp > > dependency-type: indirect > > - dependency-name: nise > > dependency-type: direct:production > > ... > > Signed-off-by: dependabot\[bot] <support@github.com> > > Co-authored-by: dependabot\[bot] <49699333+dependabot\[bot][@​users](https://redirect.github.com/users).noreply.github.com> - [`0c609f95`](0c609f95b1
) re-add testing of esm browser builds (Carl-Erik Kopseng) > It seems unclear why it was removed in the first place: I have tested extensively that it > does work and it does fail the build if changing any assertion in the script - [`da4230a0`](da4230a00c
) Bump braces from 3.0.2 to 3.0.3 ([#​2605](https://redirect.github.com/sinonjs/sinon/issues/2605)) (dependabot\[bot]) > Bumps [braces](https://redirect.github.com/micromatch/braces) from 3.0.2 to 3.0.3. > > - [Changelog](https://redirect.github.com/micromatch/braces/blob/master/CHANGELOG.md) > - [Commits](https://redirect.github.com/micromatch/braces/compare/3.0.2...3.0.3) > > *** > > updated-dependencies: > > - dependency-name: braces > > dependency-type: indirect > > ... > > Signed-off-by: dependabot\[bot] <support@github.com> > > Co-authored-by: dependabot\[bot] <49699333+dependabot\[bot][@​users](https://redirect.github.com/users).noreply.github.com> - [`02542370`](02542370a4
) feat(ci): add node v22 ([#​2600](https://redirect.github.com/sinonjs/sinon/issues/2600)) (Rotzbua) - [`794cb81a`](794cb81a3b
) fix(tests): typo ([#​2603](https://redirect.github.com/sinonjs/sinon/issues/2603)) (Rotzbua) - [`1eb2a254`](1eb2a25486
) Use NodeJS 22.2.0 as base development version (Carl-Erik Kopseng) - [`1aa713fd`](1aa713fd41
) Bump rexml from 3.2.5 to 3.2.8 ([#​2599](https://redirect.github.com/sinonjs/sinon/issues/2599)) (dependabot\[bot]) > Bumps [rexml](https://redirect.github.com/ruby/rexml) from 3.2.5 to 3.2.8. > > > - [Release notes](https://redirect.github.com/ruby/rexml/releases) > > - [Changelog](https://redirect.github.com/ruby/rexml/blob/master/NEWS.md) > > - [Commits](https://redirect.github.com/ruby/rexml/compare/v3.2.5...v3.2.8) > > > \--- > > updated-dependencies: > > - dependency-name: rexml > > dependency-type: indirect > > ... > > > Signed-off-by: dependabot\[bot] <support@github.com> > > Co-authored-by: dependabot\[bot] <49699333+dependabot\[bot][@​users](https://redirect.github.com/users).noreply.github.com> *Released by [Carl-Erik Kopseng](https://redirect.github.com/fatso83) on 2024-09-10.* </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43NC4xIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
206 lines
6.1 KiB
JSON
206 lines
6.1 KiB
JSON
{
|
|
"name": "@affine/server",
|
|
"private": true,
|
|
"version": "0.16.0",
|
|
"description": "Affine Node.js server",
|
|
"type": "module",
|
|
"bin": {
|
|
"run-test": "./scripts/run-test.ts"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"start": "node --loader ts-node/esm/transpile-only.mjs ./src/index.ts",
|
|
"dev": "nodemon ./src/index.ts",
|
|
"test": "ava --concurrency 1 --serial",
|
|
"test:coverage": "c8 ava --concurrency 1 --serial",
|
|
"postinstall": "prisma generate",
|
|
"data-migration": "node --loader ts-node/esm/transpile-only.mjs ./src/data/index.ts",
|
|
"predeploy": "yarn prisma migrate deploy && node --import ./scripts/register.js ./dist/data/index.js run",
|
|
"predeploy:ts": "yarn prisma migrate deploy && node --loader ts-node/esm/transpile-only.mjs ./src/data/index.ts run"
|
|
},
|
|
"dependencies": {
|
|
"@apollo/server": "^4.10.2",
|
|
"@aws-sdk/client-s3": "^3.620.0",
|
|
"@fal-ai/serverless-client": "^0.14.0",
|
|
"@google-cloud/opentelemetry-cloud-monitoring-exporter": "^0.19.0",
|
|
"@google-cloud/opentelemetry-cloud-trace-exporter": "^2.2.0",
|
|
"@google-cloud/opentelemetry-resource-util": "^2.2.0",
|
|
"@keyv/redis": "^3.0.0",
|
|
"@nestjs/apollo": "^12.1.0",
|
|
"@nestjs/common": "^10.3.7",
|
|
"@nestjs/core": "^10.3.7",
|
|
"@nestjs/event-emitter": "^2.0.4",
|
|
"@nestjs/graphql": "^12.1.1",
|
|
"@nestjs/platform-express": "^10.3.7",
|
|
"@nestjs/platform-socket.io": "^10.3.7",
|
|
"@nestjs/schedule": "^4.0.1",
|
|
"@nestjs/throttler": "6.2.1",
|
|
"@nestjs/websockets": "^10.3.7",
|
|
"@node-rs/argon2": "^1.8.0",
|
|
"@node-rs/crc32": "^1.10.0",
|
|
"@node-rs/jsonwebtoken": "^0.5.2",
|
|
"@opentelemetry/api": "^1.9.0",
|
|
"@opentelemetry/core": "^1.25.0",
|
|
"@opentelemetry/exporter-prometheus": "^0.53.0",
|
|
"@opentelemetry/exporter-zipkin": "^1.25.0",
|
|
"@opentelemetry/host-metrics": "^0.35.2",
|
|
"@opentelemetry/instrumentation": "^0.53.0",
|
|
"@opentelemetry/instrumentation-graphql": "^0.43.0",
|
|
"@opentelemetry/instrumentation-http": "^0.53.0",
|
|
"@opentelemetry/instrumentation-ioredis": "^0.43.0",
|
|
"@opentelemetry/instrumentation-nestjs-core": "^0.40.0",
|
|
"@opentelemetry/instrumentation-socket.io": "^0.42.0",
|
|
"@opentelemetry/resources": "^1.25.0",
|
|
"@opentelemetry/sdk-metrics": "^1.25.0",
|
|
"@opentelemetry/sdk-node": "^0.53.0",
|
|
"@opentelemetry/sdk-trace-node": "^1.25.0",
|
|
"@opentelemetry/semantic-conventions": "^1.25.0",
|
|
"@prisma/client": "^5.15.0",
|
|
"@prisma/instrumentation": "^5.15.0",
|
|
"@socket.io/redis-adapter": "^8.3.0",
|
|
"cookie-parser": "^1.4.6",
|
|
"dotenv": "^16.4.5",
|
|
"dotenv-cli": "^7.4.1",
|
|
"express": "^4.19.2",
|
|
"fast-xml-parser": "^4.4.0",
|
|
"get-stream": "^9.0.1",
|
|
"graphql": "^16.8.1",
|
|
"graphql-scalars": "^1.23.0",
|
|
"graphql-type-json": "^0.3.2",
|
|
"graphql-upload": "^16.0.2",
|
|
"html-validate": "^8.20.1",
|
|
"ioredis": "^5.3.2",
|
|
"is-mobile": "^4.0.0",
|
|
"keyv": "^5.0.0",
|
|
"lodash-es": "^4.17.21",
|
|
"mixpanel": "^0.18.0",
|
|
"mustache": "^4.2.0",
|
|
"nanoid": "^5.0.7",
|
|
"nest-commander": "^3.12.5",
|
|
"nestjs-throttler-storage-redis": "^0.5.0",
|
|
"nodemailer": "^6.9.13",
|
|
"on-headers": "^1.0.2",
|
|
"openai": "^4.33.0",
|
|
"parse-duration": "^1.1.0",
|
|
"piscina": "^4.5.1",
|
|
"pretty-time": "^1.1.0",
|
|
"prisma": "^5.12.1",
|
|
"prom-client": "^15.1.1",
|
|
"reflect-metadata": "^0.2.2",
|
|
"rxjs": "^7.8.1",
|
|
"semver": "^7.6.0",
|
|
"ses": "^1.4.1",
|
|
"socket.io": "^4.7.5",
|
|
"stripe": "^16.0.0",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.4.5",
|
|
"ws": "^8.16.0",
|
|
"yjs": "patch:yjs@npm%3A13.6.18#~/.yarn/patches/yjs-npm-13.6.18-ad0d5f7c43.patch",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"devDependencies": {
|
|
"@affine-test/kit": "workspace:*",
|
|
"@affine/server-native": "workspace:*",
|
|
"@napi-rs/image": "^1.9.1",
|
|
"@nestjs/testing": "^10.3.7",
|
|
"@types/cookie-parser": "^1.4.7",
|
|
"@types/engine.io": "^3.1.10",
|
|
"@types/express": "^4.17.21",
|
|
"@types/graphql-upload": "^16.0.7",
|
|
"@types/keyv": "^4.2.0",
|
|
"@types/lodash-es": "^4.17.12",
|
|
"@types/mixpanel": "^2.14.8",
|
|
"@types/mustache": "^4.2.5",
|
|
"@types/node": "^20.12.7",
|
|
"@types/nodemailer": "^6.4.14",
|
|
"@types/on-headers": "^1.0.3",
|
|
"@types/pretty-time": "^1.1.5",
|
|
"@types/sinon": "^17.0.3",
|
|
"@types/supertest": "^6.0.2",
|
|
"@types/ws": "^8.5.10",
|
|
"ava": "^6.1.2",
|
|
"c8": "^10.0.0",
|
|
"nodemon": "^3.1.0",
|
|
"sinon": "^19.0.0",
|
|
"supertest": "^7.0.0"
|
|
},
|
|
"ava": {
|
|
"timeout": "1m",
|
|
"extensions": {
|
|
"ts": "module"
|
|
},
|
|
"workerThreads": false,
|
|
"nodeArguments": [
|
|
"--trace-sigint",
|
|
"--loader",
|
|
"ts-node/esm/transpile-only.mjs",
|
|
"--es-module-specifier-resolution=node"
|
|
],
|
|
"watchMode": {
|
|
"ignoreChanges": [
|
|
"static/**",
|
|
"**/*.gen.*"
|
|
]
|
|
},
|
|
"files": [
|
|
"**/__tests__/**/*.spec.ts",
|
|
"tests/**/*.spec.ts",
|
|
"tests/**/*.e2e.ts"
|
|
],
|
|
"require": [
|
|
"./src/prelude.ts"
|
|
],
|
|
"environmentVariables": {
|
|
"TS_NODE_PROJECT": "./tests/tsconfig.json",
|
|
"NODE_ENV": "test",
|
|
"MAILER_HOST": "0.0.0.0",
|
|
"MAILER_PORT": "1025",
|
|
"MAILER_USER": "noreply@toeverything.info",
|
|
"MAILER_PASSWORD": "affine",
|
|
"MAILER_SENDER": "noreply@toeverything.info",
|
|
"FEATURES_EARLY_ACCESS_PREVIEW": "false",
|
|
"DEPLOYMENT_TYPE": "affine"
|
|
}
|
|
},
|
|
"nodemonConfig": {
|
|
"exec": "node",
|
|
"script": "./src/index.ts",
|
|
"nodeArgs": [
|
|
"--loader",
|
|
"ts-node/esm.mjs",
|
|
"--es-module-specifier-resolution=node"
|
|
],
|
|
"ignore": [
|
|
"**/__tests__/**",
|
|
"**/dist/**",
|
|
"*.gen.*"
|
|
],
|
|
"env": {
|
|
"AFFINE_SERVER_EXTERNAL_URL": "http://localhost:8080",
|
|
"TS_NODE_TRANSPILE_ONLY": true,
|
|
"TS_NODE_PROJECT": "./tsconfig.json",
|
|
"DEBUG": "affine:*",
|
|
"FORCE_COLOR": true,
|
|
"DEBUG_COLORS": true
|
|
},
|
|
"delay": 1000
|
|
},
|
|
"c8": {
|
|
"reporter": [
|
|
"text",
|
|
"lcov"
|
|
],
|
|
"report-dir": ".coverage",
|
|
"exclude": [
|
|
"scripts",
|
|
"node_modules",
|
|
"**/*.spec.ts",
|
|
"**/*.e2e.ts"
|
|
]
|
|
},
|
|
"stableVersion": "0.5.3",
|
|
"installConfig": {
|
|
"hoistingLimits": "workspaces"
|
|
}
|
|
}
|