@tuturuuu/utils 0.33.2 → 0.33.3
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 +12 -0
- package/package.json +2 -2
- package/src/common/metadata.test.ts +13 -1
- package/src/email/client.ts +1 -5
- package/src/email/reviewer-domain.d.mts +1 -0
- package/src/email/reviewer-domain.mjs +6 -0
- package/src/platform-release.test.ts +1 -1
- package/src/platform-release.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.33.3](https://github.com/tutur3u/platform/compare/utils-v0.33.2...utils-v0.33.3) (2026-10-02)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **calendar:** preserve opaque rendering cues and hydrate source colors ([33847dd](https://github.com/tutur3u/platform/commit/33847ddcd8a3cf2b5cef8ebf50ca4c1700424a27))
|
|
9
|
+
* **calendar:** render opaque readable event colors ([#5694](https://github.com/tutur3u/platform/issues/5694)) ([6e3d81d](https://github.com/tutur3u/platform/commit/6e3d81d6fdd6f8155f12e36ede58d31fde0ac362))
|
|
10
|
+
* **mobile:** harden timezone retry recovery ([264b4b8](https://github.com/tutur3u/platform/commit/264b4b89ab9e1cb4194374a3714b46832c5e486a))
|
|
11
|
+
* **mobile:** resolve timezone settings with verified native sessions ([#5720](https://github.com/tutur3u/platform/issues/5720)) ([5640ca2](https://github.com/tutur3u/platform/commit/5640ca22bcbfda6cd0470f39171ffa2366af779e))
|
|
12
|
+
* **mobile:** restore verified timezone resolution ([462c68b](https://github.com/tutur3u/platform/commit/462c68bf22b2b412dd1825c12c3558b10b028a40))
|
|
13
|
+
* **mobile:** retain timezone snapshots during overlapping loads ([eff42e2](https://github.com/tutur3u/platform/commit/eff42e2cf9d3159ee6fc68be1079df5f50fd92e2))
|
|
14
|
+
|
|
3
15
|
## [0.33.2](https://github.com/tutur3u/platform/compare/utils-v0.33.1...utils-v0.33.2) (2026-10-01)
|
|
4
16
|
|
|
5
17
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tuturuuu/utils",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "0.33.
|
|
4
|
+
"version": "0.33.3",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/tutur3u/platform",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"server-only": "^0.0.1",
|
|
42
42
|
"uuid": "^14.0.2",
|
|
43
43
|
"y-prosemirror": "^1.3.7",
|
|
44
|
-
"yjs": "^13.6.
|
|
44
|
+
"yjs": "^13.6.33",
|
|
45
45
|
"zod": "^4.6.2"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
@@ -330,7 +330,19 @@ describe('application metadata coverage', () => {
|
|
|
330
330
|
)
|
|
331
331
|
.map((entry) => resolve(entry.parentPath, entry.name));
|
|
332
332
|
|
|
333
|
-
|
|
333
|
+
// Guard concrete entry points while allowing new public pages to opt in.
|
|
334
|
+
// A fixed layout count rejects valid additions without testing SEO behavior.
|
|
335
|
+
const criticalLayouts = [
|
|
336
|
+
'(landing)/layout.tsx',
|
|
337
|
+
'about/layout.tsx',
|
|
338
|
+
'products/tasks/layout.tsx',
|
|
339
|
+
'privacy/layout.tsx',
|
|
340
|
+
'contributors/layout.tsx',
|
|
341
|
+
'women-in-tech/layout.tsx',
|
|
342
|
+
].map((pathname) =>
|
|
343
|
+
resolve(repoRoot, 'apps/web/src/app/[locale]/(marketing)', pathname)
|
|
344
|
+
);
|
|
345
|
+
expect(marketingLayouts).toEqual(expect.arrayContaining(criticalLayouts));
|
|
334
346
|
for (const layoutPath of marketingLayouts) {
|
|
335
347
|
expect(readFileSync(layoutPath, 'utf8')).toMatch(/pathname:\s*['`]/);
|
|
336
348
|
}
|
package/src/email/client.ts
CHANGED
|
@@ -31,11 +31,7 @@ export const isExactTuturuuuDotComEmail = (email?: string | null): boolean => {
|
|
|
31
31
|
return /^[^\s@]+@tuturuuu\.com$/i.test(email.trim());
|
|
32
32
|
};
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
export const isTuturuuuReviewEmail = (email?: string | null): boolean => {
|
|
36
|
-
if (!email) return false;
|
|
37
|
-
return /^[^\s@]+@tutur3u\.com$/i.test(email.trim());
|
|
38
|
-
};
|
|
34
|
+
export { isTuturuuuReviewEmail } from './reviewer-domain.mjs';
|
|
39
35
|
|
|
40
36
|
export const isEmail = (text: string): boolean => {
|
|
41
37
|
const emailRegex =
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function isTuturuuuReviewEmail(email?: string | null): boolean;
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
|
|
8
8
|
describe('platform release metadata', () => {
|
|
9
9
|
it('uses the centralized shared browser app version', () => {
|
|
10
|
-
expect(TUTURUUU_PLATFORM_VERSION).toBe('0.
|
|
10
|
+
expect(TUTURUUU_PLATFORM_VERSION).toBe('0.65.0'); // x-release-please-version
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
it('preserves the source timestamp in builtAt and derives a short hash', () => {
|
package/src/platform-release.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PLATFORM_BUILD_METADATA } from './generated/platform-build-metadata';
|
|
2
2
|
|
|
3
|
-
export const TUTURUUU_PLATFORM_VERSION = '0.
|
|
3
|
+
export const TUTURUUU_PLATFORM_VERSION = '0.65.0'; // x-release-please-version
|
|
4
4
|
|
|
5
5
|
export type PlatformBuildMetadataInput = {
|
|
6
6
|
/** ISO timestamp of the source commit used for the build, not deployment time. */
|