@tuturuuu/utils 0.8.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/biome.json +1 -1
- package/package.json +17 -15
- package/src/__tests__/api-proxy-guard.test.ts +728 -71
- package/src/__tests__/app-url.test.ts +2 -0
- package/src/__tests__/task-description-codec.test.ts +110 -0
- package/src/abuse-protection/__tests__/backend-rate-limit.test.ts +10 -45
- package/src/abuse-protection/__tests__/edge-trust.test.ts +99 -0
- package/src/abuse-protection/__tests__/index.test.ts +136 -0
- package/src/abuse-protection/backend-rate-limit.ts +5 -4
- package/src/abuse-protection/edge-trust.ts +141 -6
- package/src/abuse-protection/index.ts +73 -40
- package/src/api-proxy-guard.ts +202 -43
- package/src/currencies.test.ts +33 -0
- package/src/currencies.ts +28 -5
- package/src/effect.test.ts +247 -0
- package/src/effect.ts +259 -0
- package/src/internal-domains.ts +24 -0
- package/src/platform-release.test.ts +1 -1
- package/src/platform-release.ts +1 -1
- package/src/portless.ts +2 -0
- package/src/task-description-codec.ts +457 -0
- package/src/task-helper/task-operations.ts +3 -0
- package/src/yjs-task-description.ts +13 -21
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.10.0](https://github.com/tutur3u/platform/compare/utils-v0.9.0...utils-v0.10.0) (2026-06-26)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **cli:** support task description editing ([c72390b](https://github.com/tutur3u/platform/commit/c72390b909054af596ccbed8af6ded9f266dfdd4))
|
|
9
|
+
|
|
10
|
+
## [0.9.0](https://github.com/tutur3u/platform/compare/utils-v0.8.0...utils-v0.9.0) (2026-06-24)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* add tanstack rust migration foundation ([da7e58a](https://github.com/tutur3u/platform/commit/da7e58a2a6c7eefff5df74859e991872b5195132))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* **tasks:** refresh kanban special columns ([3317e1d](https://github.com/tutur3u/platform/commit/3317e1d80890afa05a4d10840131b8f2d77910ec))
|
|
21
|
+
* **utils:** prevent shared IP hard bans ([a898502](https://github.com/tutur3u/platform/commit/a898502468dbc9151ad8cb12a3aafae265349ec1))
|
|
22
|
+
* **web:** key verified mutations by session ([caea8ea](https://github.com/tutur3u/platform/commit/caea8ea647ceff9dd63d719312cad4fcc7beee1d))
|
|
23
|
+
|
|
3
24
|
## [0.8.0](https://github.com/tutur3u/platform/compare/utils-v0.7.0...utils-v0.8.0) (2026-06-17)
|
|
4
25
|
|
|
5
26
|
|
package/biome.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tuturuuu/utils",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.10.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/tutur3u/platform",
|
|
@@ -13,49 +13,51 @@
|
|
|
13
13
|
"scripts": {
|
|
14
14
|
"test": "vitest run",
|
|
15
15
|
"test:watch": "vitest",
|
|
16
|
-
"type-check": "
|
|
16
|
+
"type-check": "tsc --project tsconfig.typecheck.json"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@dnd-kit/core": "^6.3.1",
|
|
20
20
|
"@noble/ciphers": "^2.2.0",
|
|
21
21
|
"@noble/hashes": "^2.2.0",
|
|
22
|
-
"@tanstack/react-query": "^5.101.
|
|
23
|
-
"@tiptap/core": "3.
|
|
24
|
-
"@tiptap/react": "3.
|
|
22
|
+
"@tanstack/react-query": "^5.101.1",
|
|
23
|
+
"@tiptap/core": "3.27.1",
|
|
24
|
+
"@tiptap/react": "3.27.1",
|
|
25
25
|
"@tuturuuu/google": "0.0.2",
|
|
26
26
|
"@tuturuuu/icons": "0.0.6",
|
|
27
|
-
"@tuturuuu/internal-api": "0.
|
|
28
|
-
"@tuturuuu/supabase": "0.
|
|
27
|
+
"@tuturuuu/internal-api": "0.11.0",
|
|
28
|
+
"@tuturuuu/supabase": "0.4.0",
|
|
29
29
|
"@upstash/ratelimit": "^2.0.8",
|
|
30
30
|
"@upstash/redis": "^1.38.0",
|
|
31
31
|
"clsx": "^2.1.1",
|
|
32
32
|
"date-fns": "^4.4.0",
|
|
33
33
|
"dayjs": "^1.11.20",
|
|
34
34
|
"diff": "^9.0.0",
|
|
35
|
+
"effect": "^3.21.4",
|
|
35
36
|
"moment": "^2.30.1",
|
|
36
37
|
"next": "^16.2.9",
|
|
37
|
-
"prosemirror-model": "^1.25.
|
|
38
|
+
"prosemirror-model": "^1.25.9",
|
|
38
39
|
"react": "^19.2.7",
|
|
39
40
|
"react-dom": "^19.2.7",
|
|
40
41
|
"tailwind-merge": "^3.6.0",
|
|
41
|
-
"uuid": "^14.0.
|
|
42
|
+
"uuid": "^14.0.1",
|
|
42
43
|
"y-prosemirror": "^1.3.7",
|
|
43
44
|
"yjs": "^13.6.31",
|
|
44
45
|
"zod": "^4.4.3"
|
|
45
46
|
},
|
|
46
47
|
"devDependencies": {
|
|
47
|
-
"@tuturuuu/types": "0.
|
|
48
|
+
"@tuturuuu/types": "0.12.0",
|
|
48
49
|
"@tuturuuu/typescript-config": "0.1.1",
|
|
49
50
|
"@types/diff": "^8.0.0",
|
|
50
|
-
"@types/node": "^
|
|
51
|
+
"@types/node": "^26.0.0",
|
|
51
52
|
"@types/react": "^19.2.17",
|
|
52
|
-
"@vitejs/plugin-react": "^6.0.
|
|
53
|
-
"typescript": "
|
|
54
|
-
"vite": "^8.0
|
|
55
|
-
"vitest": "^4.1.
|
|
53
|
+
"@vitejs/plugin-react": "^6.0.3",
|
|
54
|
+
"typescript": "7.0.1-rc",
|
|
55
|
+
"vite": "^8.1.0",
|
|
56
|
+
"vitest": "^4.1.9"
|
|
56
57
|
},
|
|
57
58
|
"exports": {
|
|
58
59
|
"./timezones": "./src/timezones.json",
|
|
60
|
+
"./effect": "./src/effect.ts",
|
|
59
61
|
"./email/validation": "./src/email/validation.ts",
|
|
60
62
|
"./hooks/*": "./src/hooks/*.ts",
|
|
61
63
|
"./*": "./src/*.ts",
|