@veryfront/ext-content-mdx 0.1.1081 → 0.1.1083
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/esm/_dnt.polyfills.d.ts +0 -6
- package/esm/_dnt.polyfills.d.ts.map +1 -1
- package/esm/_dnt.shims.d.ts +1 -1
- package/esm/deno.d.ts +3 -0
- package/esm/deno.js +8 -5
- package/esm/deps/jsr.io/@std/yaml/1.1.0/_loader_state.d.ts +2 -2
- package/esm/src/transforms/mdx/compiler/frontmatter-extractor.js +1 -1
- package/esm/src/utils/logger/logger.d.ts.map +1 -1
- package/esm/src/utils/logger/logger.js +16 -12
- package/esm/src/utils/version-constant.d.ts +1 -1
- package/esm/src/utils/version-constant.js +1 -1
- package/package.json +2 -2
- package/esm/src/config/defaults.d.ts +0 -39
- package/esm/src/config/defaults.d.ts.map +0 -1
- package/esm/src/config/defaults.js +0 -65
- package/esm/src/errors/error-registry/agent.d.ts +0 -18
- package/esm/src/errors/error-registry/agent.d.ts.map +0 -1
- package/esm/src/errors/error-registry/agent.js +0 -60
- package/esm/src/errors/error-registry/boundary.d.ts +0 -16
- package/esm/src/errors/error-registry/boundary.d.ts.map +0 -1
- package/esm/src/errors/error-registry/boundary.js +0 -52
- package/esm/src/errors/error-registry/build.d.ts +0 -20
- package/esm/src/errors/error-registry/build.d.ts.map +0 -1
- package/esm/src/errors/error-registry/build.js +0 -68
- package/esm/src/errors/error-registry/config.d.ts +0 -22
- package/esm/src/errors/error-registry/config.d.ts.map +0 -1
- package/esm/src/errors/error-registry/config.js +0 -70
- package/esm/src/errors/error-registry/deploy.d.ts +0 -12
- package/esm/src/errors/error-registry/deploy.d.ts.map +0 -1
- package/esm/src/errors/error-registry/deploy.js +0 -36
- package/esm/src/errors/error-registry/dev.d.ts +0 -14
- package/esm/src/errors/error-registry/dev.d.ts.map +0 -1
- package/esm/src/errors/error-registry/dev.js +0 -44
- package/esm/src/errors/error-registry/general.d.ts +0 -29
- package/esm/src/errors/error-registry/general.d.ts.map +0 -1
- package/esm/src/errors/error-registry/general.js +0 -92
- package/esm/src/errors/error-registry/module.d.ts +0 -16
- package/esm/src/errors/error-registry/module.d.ts.map +0 -1
- package/esm/src/errors/error-registry/module.js +0 -52
- package/esm/src/errors/error-registry/route.d.ts +0 -16
- package/esm/src/errors/error-registry/route.d.ts.map +0 -1
- package/esm/src/errors/error-registry/route.js +0 -52
- package/esm/src/errors/error-registry/runtime.d.ts +0 -18
- package/esm/src/errors/error-registry/runtime.d.ts.map +0 -1
- package/esm/src/errors/error-registry/runtime.js +0 -60
- package/esm/src/errors/error-registry/server.d.ts +0 -39
- package/esm/src/errors/error-registry/server.d.ts.map +0 -1
- package/esm/src/errors/error-registry/server.js +0 -129
- package/esm/src/errors/error-registry-helpers.d.ts +0 -6
- package/esm/src/errors/error-registry-helpers.d.ts.map +0 -1
- package/esm/src/errors/error-registry-helpers.js +0 -9
- package/esm/src/errors/error-registry.d.ts +0 -114
- package/esm/src/errors/error-registry.d.ts.map +0 -1
- package/esm/src/errors/error-registry.js +0 -60
- package/esm/src/errors/types.d.ts +0 -84
- package/esm/src/errors/types.d.ts.map +0 -1
- package/esm/src/errors/types.js +0 -69
- package/esm/src/errors/veryfront-error.d.ts +0 -149
- package/esm/src/errors/veryfront-error.d.ts.map +0 -1
- package/esm/src/errors/veryfront-error.js +0 -61
- package/esm/src/modules/react-loader/ssr-module-loader/concurrency/semaphore.d.ts +0 -13
- package/esm/src/modules/react-loader/ssr-module-loader/concurrency/semaphore.d.ts.map +0 -1
- package/esm/src/modules/react-loader/ssr-module-loader/concurrency/semaphore.js +0 -55
- package/esm/src/observability/tracing/api-shim.d.ts +0 -191
- package/esm/src/observability/tracing/api-shim.d.ts.map +0 -1
- package/esm/src/observability/tracing/api-shim.js +0 -281
- package/esm/src/observability/tracing/otlp-setup.d.ts +0 -63
- package/esm/src/observability/tracing/otlp-setup.d.ts.map +0 -1
- package/esm/src/observability/tracing/otlp-setup.js +0 -219
- package/esm/src/observability/tracing/telemetry-env.d.ts +0 -3
- package/esm/src/observability/tracing/telemetry-env.d.ts.map +0 -1
- package/esm/src/observability/tracing/telemetry-env.js +0 -10
- package/esm/src/platform/adapters/base.d.ts +0 -209
- package/esm/src/platform/adapters/base.d.ts.map +0 -1
- package/esm/src/platform/adapters/base.js +0 -15
- package/esm/src/platform/compat/constants.d.ts +0 -13
- package/esm/src/platform/compat/constants.d.ts.map +0 -1
- package/esm/src/platform/compat/constants.js +0 -12
- package/esm/src/platform/compat/fs.d.ts +0 -75
- package/esm/src/platform/compat/fs.d.ts.map +0 -1
- package/esm/src/platform/compat/fs.js +0 -315
- package/esm/src/transforms/import-rewriter/url-builder.d.ts +0 -70
- package/esm/src/transforms/import-rewriter/url-builder.d.ts.map +0 -1
- package/esm/src/transforms/import-rewriter/url-builder.js +0 -152
- package/esm/src/utils/base64url.d.ts +0 -6
- package/esm/src/utils/base64url.d.ts.map +0 -1
- package/esm/src/utils/base64url.js +0 -12
- package/esm/src/utils/bundle-manifest.d.ts +0 -63
- package/esm/src/utils/bundle-manifest.d.ts.map +0 -1
- package/esm/src/utils/bundle-manifest.js +0 -96
- package/esm/src/utils/constants/buffers.d.ts +0 -24
- package/esm/src/utils/constants/buffers.d.ts.map +0 -1
- package/esm/src/utils/constants/buffers.js +0 -23
- package/esm/src/utils/constants/build.d.ts +0 -8
- package/esm/src/utils/constants/build.d.ts.map +0 -1
- package/esm/src/utils/constants/build.js +0 -7
- package/esm/src/utils/constants/cache.d.ts +0 -74
- package/esm/src/utils/constants/cache.d.ts.map +0 -1
- package/esm/src/utils/constants/cache.js +0 -133
- package/esm/src/utils/constants/cdn.d.ts +0 -29
- package/esm/src/utils/constants/cdn.d.ts.map +0 -1
- package/esm/src/utils/constants/cdn.js +0 -58
- package/esm/src/utils/constants/crypto.d.ts +0 -10
- package/esm/src/utils/constants/crypto.d.ts.map +0 -1
- package/esm/src/utils/constants/crypto.js +0 -9
- package/esm/src/utils/constants/env.d.ts +0 -16
- package/esm/src/utils/constants/env.d.ts.map +0 -1
- package/esm/src/utils/constants/env.js +0 -20
- package/esm/src/utils/constants/hash.d.ts +0 -5
- package/esm/src/utils/constants/hash.d.ts.map +0 -1
- package/esm/src/utils/constants/hash.js +0 -4
- package/esm/src/utils/constants/hmr.d.ts +0 -24
- package/esm/src/utils/constants/hmr.d.ts.map +0 -1
- package/esm/src/utils/constants/hmr.js +0 -26
- package/esm/src/utils/constants/html.d.ts +0 -13
- package/esm/src/utils/constants/html.d.ts.map +0 -1
- package/esm/src/utils/constants/html.js +0 -12
- package/esm/src/utils/constants/http.d.ts +0 -77
- package/esm/src/utils/constants/http.d.ts.map +0 -1
- package/esm/src/utils/constants/http.js +0 -76
- package/esm/src/utils/constants/index.d.ts +0 -23
- package/esm/src/utils/constants/index.d.ts.map +0 -1
- package/esm/src/utils/constants/index.js +0 -22
- package/esm/src/utils/constants/limits.d.ts +0 -27
- package/esm/src/utils/constants/limits.d.ts.map +0 -1
- package/esm/src/utils/constants/limits.js +0 -26
- package/esm/src/utils/constants/metrics.d.ts +0 -10
- package/esm/src/utils/constants/metrics.d.ts.map +0 -1
- package/esm/src/utils/constants/metrics.js +0 -34
- package/esm/src/utils/constants/network.d.ts +0 -23
- package/esm/src/utils/constants/network.d.ts.map +0 -1
- package/esm/src/utils/constants/network.js +0 -27
- package/esm/src/utils/constants/priorities.d.ts +0 -31
- package/esm/src/utils/constants/priorities.d.ts.map +0 -1
- package/esm/src/utils/constants/priorities.js +0 -30
- package/esm/src/utils/constants/retry.d.ts +0 -14
- package/esm/src/utils/constants/retry.d.ts.map +0 -1
- package/esm/src/utils/constants/retry.js +0 -13
- package/esm/src/utils/constants/server.d.ts +0 -107
- package/esm/src/utils/constants/server.d.ts.map +0 -1
- package/esm/src/utils/constants/server.js +0 -120
- package/esm/src/utils/feature-flags.d.ts +0 -7
- package/esm/src/utils/feature-flags.d.ts.map +0 -1
- package/esm/src/utils/feature-flags.js +0 -8
- package/esm/src/utils/hash-utils.d.ts +0 -19
- package/esm/src/utils/hash-utils.d.ts.map +0 -1
- package/esm/src/utils/hash-utils.js +0 -42
- package/esm/src/utils/import-lockfile.d.ts +0 -52
- package/esm/src/utils/import-lockfile.d.ts.map +0 -1
- package/esm/src/utils/import-lockfile.js +0 -187
- package/esm/src/utils/index.d.ts +0 -27
- package/esm/src/utils/index.d.ts.map +0 -1
- package/esm/src/utils/index.js +0 -25
- package/esm/src/utils/logger/components.d.ts +0 -73
- package/esm/src/utils/logger/components.d.ts.map +0 -1
- package/esm/src/utils/logger/components.js +0 -81
- package/esm/src/utils/logger/index.d.ts +0 -10
- package/esm/src/utils/logger/index.d.ts.map +0 -1
- package/esm/src/utils/logger/index.js +0 -9
- package/esm/src/utils/logger/request-context.d.ts +0 -27
- package/esm/src/utils/logger/request-context.d.ts.map +0 -1
- package/esm/src/utils/logger/request-context.js +0 -28
- package/esm/src/utils/memoize.d.ts +0 -19
- package/esm/src/utils/memoize.d.ts.map +0 -1
- package/esm/src/utils/memoize.js +0 -72
- package/esm/src/utils/parallel.d.ts +0 -25
- package/esm/src/utils/parallel.d.ts.map +0 -1
- package/esm/src/utils/parallel.js +0 -91
- package/esm/src/utils/path-utils.d.ts +0 -34
- package/esm/src/utils/path-utils.d.ts.map +0 -1
- package/esm/src/utils/path-utils.js +0 -138
- package/esm/src/utils/perf-timer.d.ts +0 -11
- package/esm/src/utils/perf-timer.d.ts.map +0 -1
- package/esm/src/utils/perf-timer.js +0 -114
- package/esm/src/utils/platform.d.ts +0 -9
- package/esm/src/utils/platform.d.ts.map +0 -1
- package/esm/src/utils/platform.js +0 -11
- package/esm/src/utils/runtime-guards.d.ts +0 -29
- package/esm/src/utils/runtime-guards.d.ts.map +0 -1
- package/esm/src/utils/runtime-guards.js +0 -23
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { serverLogger } from "./logger/index.js";
|
|
2
|
-
const logger = serverLogger.component("bundle-manifest");
|
|
3
|
-
export class InMemoryBundleManifestStore {
|
|
4
|
-
metadata = new Map();
|
|
5
|
-
code = new Map();
|
|
6
|
-
sourceIndex = new Map();
|
|
7
|
-
getIfNotExpired(map, key) {
|
|
8
|
-
const entry = map.get(key);
|
|
9
|
-
if (!entry)
|
|
10
|
-
return undefined;
|
|
11
|
-
if (entry.expiry != null && Date.now() > entry.expiry) {
|
|
12
|
-
map.delete(key);
|
|
13
|
-
return undefined;
|
|
14
|
-
}
|
|
15
|
-
return entry.value;
|
|
16
|
-
}
|
|
17
|
-
async getBundleMetadata(key) {
|
|
18
|
-
return this.getIfNotExpired(this.metadata, key);
|
|
19
|
-
}
|
|
20
|
-
async setBundleMetadata(key, metadata, ttlMs) {
|
|
21
|
-
const expiry = ttlMs != null ? Date.now() + ttlMs : undefined;
|
|
22
|
-
this.metadata.set(key, { value: metadata, expiry });
|
|
23
|
-
const keys = this.sourceIndex.get(metadata.source) ?? new Set();
|
|
24
|
-
keys.add(key);
|
|
25
|
-
this.sourceIndex.set(metadata.source, keys);
|
|
26
|
-
}
|
|
27
|
-
async getBundleCode(hash) {
|
|
28
|
-
return this.getIfNotExpired(this.code, hash);
|
|
29
|
-
}
|
|
30
|
-
async setBundleCode(hash, code, ttlMs) {
|
|
31
|
-
const expiry = ttlMs != null ? Date.now() + ttlMs : undefined;
|
|
32
|
-
this.code.set(hash, { value: code, expiry });
|
|
33
|
-
}
|
|
34
|
-
async deleteBundle(key) {
|
|
35
|
-
const metadata = await this.getBundleMetadata(key);
|
|
36
|
-
this.metadata.delete(key);
|
|
37
|
-
if (!metadata)
|
|
38
|
-
return;
|
|
39
|
-
this.code.delete(metadata.codeHash);
|
|
40
|
-
const sourceKeys = this.sourceIndex.get(metadata.source);
|
|
41
|
-
if (!sourceKeys)
|
|
42
|
-
return;
|
|
43
|
-
sourceKeys.delete(key);
|
|
44
|
-
if (sourceKeys.size === 0)
|
|
45
|
-
this.sourceIndex.delete(metadata.source);
|
|
46
|
-
}
|
|
47
|
-
async invalidateSource(source) {
|
|
48
|
-
const keys = this.sourceIndex.get(source);
|
|
49
|
-
if (!keys)
|
|
50
|
-
return 0;
|
|
51
|
-
const keysArray = [...keys];
|
|
52
|
-
await Promise.all(keysArray.map((key) => this.deleteBundle(key)));
|
|
53
|
-
this.sourceIndex.delete(source);
|
|
54
|
-
return keysArray.length;
|
|
55
|
-
}
|
|
56
|
-
async clear() {
|
|
57
|
-
this.metadata.clear();
|
|
58
|
-
this.code.clear();
|
|
59
|
-
this.sourceIndex.clear();
|
|
60
|
-
}
|
|
61
|
-
async isAvailable() {
|
|
62
|
-
return true;
|
|
63
|
-
}
|
|
64
|
-
async getStats() {
|
|
65
|
-
let totalSize = 0;
|
|
66
|
-
let oldestBundle;
|
|
67
|
-
let newestBundle;
|
|
68
|
-
for (const { value } of this.metadata.values()) {
|
|
69
|
-
totalSize += value.size;
|
|
70
|
-
oldestBundle = oldestBundle == null
|
|
71
|
-
? value.compiledAt
|
|
72
|
-
: Math.min(oldestBundle, value.compiledAt);
|
|
73
|
-
newestBundle = newestBundle == null
|
|
74
|
-
? value.compiledAt
|
|
75
|
-
: Math.max(newestBundle, value.compiledAt);
|
|
76
|
-
}
|
|
77
|
-
return {
|
|
78
|
-
totalBundles: this.metadata.size,
|
|
79
|
-
totalSize,
|
|
80
|
-
oldestBundle,
|
|
81
|
-
newestBundle,
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
let manifestStore = new InMemoryBundleManifestStore();
|
|
86
|
-
export function setBundleManifestStore(store) {
|
|
87
|
-
manifestStore = store;
|
|
88
|
-
logger.info("Bundle manifest store configured", {
|
|
89
|
-
type: store.constructor.name,
|
|
90
|
-
});
|
|
91
|
-
}
|
|
92
|
-
/** Return bundle manifest store. */
|
|
93
|
-
export function getBundleManifestStore() {
|
|
94
|
-
return manifestStore;
|
|
95
|
-
}
|
|
96
|
-
export { computeCodeHash, computeHash } from "./hash-utils.js";
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export declare const BUFFER_SIZE_256_BYTES = 256;
|
|
2
|
-
export declare const BUFFER_SIZE_512_BYTES = 512;
|
|
3
|
-
export declare const BUFFER_SIZE_1_KB = 1024;
|
|
4
|
-
export declare const BUFFER_SIZE_2_KB = 2048;
|
|
5
|
-
export declare const BUFFER_SIZE_4_KB = 4096;
|
|
6
|
-
export declare const BUFFER_SIZE_8_KB = 8192;
|
|
7
|
-
export declare const BUFFER_SIZE_16_KB = 16384;
|
|
8
|
-
export declare const BUFFER_SIZE_32_KB = 32768;
|
|
9
|
-
export declare const BUFFER_SIZE_64_KB = 65536;
|
|
10
|
-
/** RSC file reading buffer for 'use client'/'use server' detection */
|
|
11
|
-
export declare const RSC_FILE_READ_BUFFER_SIZE_BYTES = 2048;
|
|
12
|
-
/** Default maximum body size (1MB) */
|
|
13
|
-
export declare const DEFAULT_MAX_BODY_SIZE_BYTES: number;
|
|
14
|
-
/** Default maximum URL length (2KB) */
|
|
15
|
-
export declare const DEFAULT_MAX_URL_LENGTH_BYTES = 2048;
|
|
16
|
-
/** Default maximum HTTP header size (8KB) */
|
|
17
|
-
export declare const DEFAULT_MAX_HEADER_SIZE_BYTES = 8192;
|
|
18
|
-
/** Default maximum file upload size (5MB) */
|
|
19
|
-
export declare const DEFAULT_MAX_FILE_SIZE_BYTES: number;
|
|
20
|
-
/** Prefetch queue maximum size (1MB) */
|
|
21
|
-
export declare const PREFETCH_QUEUE_MAX_SIZE_BYTES: number;
|
|
22
|
-
/** Maximum chunk size for bundling (4MB) */
|
|
23
|
-
export declare const MAX_BUNDLE_CHUNK_SIZE_BYTES: number;
|
|
24
|
-
//# sourceMappingURL=buffers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buffers.d.ts","sourceRoot":"","sources":["../../../../src/src/utils/constants/buffers.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,MAAM,CAAC;AACzC,eAAO,MAAM,qBAAqB,MAAM,CAAC;AACzC,eAAO,MAAM,gBAAgB,OAAO,CAAC;AACrC,eAAO,MAAM,gBAAgB,OAAO,CAAC;AACrC,eAAO,MAAM,gBAAgB,OAAO,CAAC;AACrC,eAAO,MAAM,gBAAgB,OAAO,CAAC;AACrC,eAAO,MAAM,iBAAiB,QAAQ,CAAC;AACvC,eAAO,MAAM,iBAAiB,QAAQ,CAAC;AACvC,eAAO,MAAM,iBAAiB,QAAQ,CAAC;AAEvC,sEAAsE;AACtE,eAAO,MAAM,+BAA+B,OAAmB,CAAC;AAEhE,sCAAsC;AACtC,eAAO,MAAM,2BAA2B,QAAc,CAAC;AAEvD,uCAAuC;AACvC,eAAO,MAAM,4BAA4B,OAAmB,CAAC;AAE7D,6CAA6C;AAC7C,eAAO,MAAM,6BAA6B,OAAmB,CAAC;AAE9D,6CAA6C;AAC7C,eAAO,MAAM,2BAA2B,QAAkB,CAAC;AAE3D,wCAAwC;AACxC,eAAO,MAAM,6BAA6B,QAA8B,CAAC;AAEzE,4CAA4C;AAC5C,eAAO,MAAM,2BAA2B,QAAc,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export const BUFFER_SIZE_256_BYTES = 256;
|
|
2
|
-
export const BUFFER_SIZE_512_BYTES = 512;
|
|
3
|
-
export const BUFFER_SIZE_1_KB = 1024;
|
|
4
|
-
export const BUFFER_SIZE_2_KB = 2048;
|
|
5
|
-
export const BUFFER_SIZE_4_KB = 4096;
|
|
6
|
-
export const BUFFER_SIZE_8_KB = 8192;
|
|
7
|
-
export const BUFFER_SIZE_16_KB = 16384;
|
|
8
|
-
export const BUFFER_SIZE_32_KB = 32768;
|
|
9
|
-
export const BUFFER_SIZE_64_KB = 65536;
|
|
10
|
-
/** RSC file reading buffer for 'use client'/'use server' detection */
|
|
11
|
-
export const RSC_FILE_READ_BUFFER_SIZE_BYTES = BUFFER_SIZE_2_KB;
|
|
12
|
-
/** Default maximum body size (1MB) */
|
|
13
|
-
export const DEFAULT_MAX_BODY_SIZE_BYTES = 1024 * 1024;
|
|
14
|
-
/** Default maximum URL length (2KB) */
|
|
15
|
-
export const DEFAULT_MAX_URL_LENGTH_BYTES = BUFFER_SIZE_2_KB;
|
|
16
|
-
/** Default maximum HTTP header size (8KB) */
|
|
17
|
-
export const DEFAULT_MAX_HEADER_SIZE_BYTES = BUFFER_SIZE_8_KB;
|
|
18
|
-
/** Default maximum file upload size (5MB) */
|
|
19
|
-
export const DEFAULT_MAX_FILE_SIZE_BYTES = 5 * 1024 * 1024;
|
|
20
|
-
/** Prefetch queue maximum size (1MB) */
|
|
21
|
-
export const PREFETCH_QUEUE_MAX_SIZE_BYTES = DEFAULT_MAX_BODY_SIZE_BYTES;
|
|
22
|
-
/** Maximum chunk size for bundling (4MB) */
|
|
23
|
-
export const MAX_BUNDLE_CHUNK_SIZE_BYTES = 4096 * 1024;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/** Default value for build concurrency. */
|
|
2
|
-
export declare const DEFAULT_BUILD_CONCURRENCY = 4;
|
|
3
|
-
/** Shared image optimization value. */
|
|
4
|
-
export declare const IMAGE_OPTIMIZATION: {
|
|
5
|
-
readonly DEFAULT_SIZES: readonly [640, 750, 828, 1080, 1200, 1920, 2048, 3840];
|
|
6
|
-
readonly DEFAULT_QUALITY: 80;
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=build.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../../../src/src/utils/constants/build.ts"],"names":[],"mappings":"AAAA,2CAA2C;AAC3C,eAAO,MAAM,yBAAyB,IAAI,CAAC;AAE3C,uCAAuC;AACvC,eAAO,MAAM,kBAAkB;;;CAGrB,CAAC"}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
export declare const SECONDS_PER_MINUTE = 60;
|
|
2
|
-
export declare const MINUTES_PER_HOUR = 60;
|
|
3
|
-
export declare const HOURS_PER_DAY = 24;
|
|
4
|
-
/** Shared ms per second value. */
|
|
5
|
-
export declare const MS_PER_SECOND = 1000;
|
|
6
|
-
export declare const MS_PER_MINUTE: number;
|
|
7
|
-
export declare const MS_PER_HOUR: number;
|
|
8
|
-
export declare const ONE_DAY_MS: number;
|
|
9
|
-
/** Default value for lru max entries. */
|
|
10
|
-
export declare const DEFAULT_LRU_MAX_ENTRIES: number;
|
|
11
|
-
export declare const COMPONENT_LOADER_MAX_ENTRIES: number;
|
|
12
|
-
export declare const COMPONENT_LOADER_TTL_MS: number;
|
|
13
|
-
export declare const MDX_RENDERER_MAX_ENTRIES: number;
|
|
14
|
-
export declare const MDX_RENDERER_TTL_MS: number;
|
|
15
|
-
export declare const RENDERER_CORE_MAX_ENTRIES: number;
|
|
16
|
-
export declare const RENDERER_CORE_TTL_MS: number;
|
|
17
|
-
/** Shared TSX layout max entries value. */
|
|
18
|
-
export declare const TSX_LAYOUT_MAX_ENTRIES: number;
|
|
19
|
-
export declare const TSX_LAYOUT_TTL_MS: number;
|
|
20
|
-
/**
|
|
21
|
-
* Per-project cap for the TSX layout component cache.
|
|
22
|
-
* Prevents a single noisy tenant from evicting every other project's
|
|
23
|
-
* cached layouts. Defaults to ceil(TSX_LAYOUT_MAX_ENTRIES / 10) so no
|
|
24
|
-
* one project consumes more than ~10 % of the global budget.
|
|
25
|
-
* Set via TSX_LAYOUT_PER_PROJECT_MAX_ENTRIES env var.
|
|
26
|
-
*/
|
|
27
|
-
export declare const TSX_LAYOUT_PER_PROJECT_MAX_ENTRIES: number;
|
|
28
|
-
export declare const DATA_FETCHING_MAX_ENTRIES: number;
|
|
29
|
-
export declare const DATA_FETCHING_TTL_MS: number;
|
|
30
|
-
export declare const MDX_CACHE_TTL_PRODUCTION_MS: number;
|
|
31
|
-
export declare const MDX_CACHE_TTL_DEVELOPMENT_MS: number;
|
|
32
|
-
export declare const BUNDLE_CACHE_TTL_PRODUCTION_MS: number;
|
|
33
|
-
export declare const BUNDLE_CACHE_TTL_DEVELOPMENT_MS: number;
|
|
34
|
-
export declare const BUNDLE_MANIFEST_PROD_TTL_MS: number;
|
|
35
|
-
export declare const BUNDLE_MANIFEST_DEV_TTL_MS: number;
|
|
36
|
-
/** Shared RSC manifest cache ttl ms value. */
|
|
37
|
-
export declare const RSC_MANIFEST_CACHE_TTL_MS = 5000;
|
|
38
|
-
export declare const SERVER_ACTION_DEFAULT_TTL_SEC: number;
|
|
39
|
-
export declare const DISTRIBUTED_SSR_MODULE_TTL_PRODUCTION_SEC: number;
|
|
40
|
-
export declare const DISTRIBUTED_SSR_MODULE_TTL_PREVIEW_SEC: number;
|
|
41
|
-
export declare const DISTRIBUTED_TRANSFORM_TTL_PRODUCTION_SEC: number;
|
|
42
|
-
export declare const DISTRIBUTED_TRANSFORM_TTL_PREVIEW_SEC: number;
|
|
43
|
-
export declare const DISTRIBUTED_FILE_TTL_PRODUCTION_SEC: number;
|
|
44
|
-
export declare const DISTRIBUTED_FILE_TTL_PREVIEW_SEC: number;
|
|
45
|
-
export declare const DISTRIBUTED_CSS_TTL_PRODUCTION_SEC: number;
|
|
46
|
-
export declare const DISTRIBUTED_CSS_TTL_PREVIEW_SEC: number;
|
|
47
|
-
/** Get environment-aware distributed cache TTL in seconds */
|
|
48
|
-
export declare function getDistributedCacheTTL(cacheType: "ssr-module" | "transform" | "file" | "css", isProduction?: boolean): number;
|
|
49
|
-
export declare const DENO_KV_SAFE_SIZE_LIMIT_BYTES = 64000;
|
|
50
|
-
export declare const LRU_DEFAULT_MAX_ENTRIES_V2: number;
|
|
51
|
-
export declare const LRU_DEFAULT_MAX_SIZE_BYTES: number;
|
|
52
|
-
export declare const MEMORY_CACHE_MAX_ENTRIES: number;
|
|
53
|
-
export declare const MEMORY_CACHE_MAX_SIZE_BYTES: number;
|
|
54
|
-
export declare const FILE_CACHE_MAX_ENTRIES: number;
|
|
55
|
-
export declare const FILE_CACHE_MAX_SIZE_MB: number;
|
|
56
|
-
export declare const HTTP_CACHE_SHORT_MAX_AGE_SEC = 60;
|
|
57
|
-
export declare const HTTP_CACHE_MEDIUM_MAX_AGE_SEC = 3600;
|
|
58
|
-
export declare const HTTP_CACHE_LONG_MAX_AGE_SEC = 31536000;
|
|
59
|
-
export declare const CACHE_CLEANUP_INTERVAL_MS = 60000;
|
|
60
|
-
export declare const CLEANUP_INTERVAL_MULTIPLIER = 2;
|
|
61
|
-
export declare const MAX_CONCURRENT_REVALIDATIONS: number;
|
|
62
|
-
export declare const MAX_CONCURRENT_HTTP_FETCHES: number;
|
|
63
|
-
export declare const REVALIDATION_TIMEOUT_MS: number;
|
|
64
|
-
export declare const REVALIDATION_PER_PROJECT_LIMIT: number;
|
|
65
|
-
export declare const BUNDLE_MANIFEST_DISTRIBUTED_TTL_SEC: number;
|
|
66
|
-
export declare const BUNDLE_MANIFEST_LRU_MAX_ENTRIES: number;
|
|
67
|
-
export declare const HTTP_MODULE_CACHE_MAX_ENTRIES: number;
|
|
68
|
-
export declare const HTTP_MODULE_DISTRIBUTED_TTL_SEC: number;
|
|
69
|
-
export declare const TRANSFORM_DISTRIBUTED_TTL_SEC: number;
|
|
70
|
-
export declare const MODULE_CACHE_MAX_ENTRIES: number;
|
|
71
|
-
export declare const MODULE_CACHE_TTL_MS: number;
|
|
72
|
-
export declare const ESM_CACHE_MAX_ENTRIES: number;
|
|
73
|
-
export declare const ESM_CACHE_TTL_MS: number;
|
|
74
|
-
//# sourceMappingURL=cache.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["../../../../src/src/utils/constants/cache.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
import * as dntShim from "../../../_dnt.shims.js";
|
|
2
|
-
export const SECONDS_PER_MINUTE = 60;
|
|
3
|
-
export const MINUTES_PER_HOUR = 60;
|
|
4
|
-
export const HOURS_PER_DAY = 24;
|
|
5
|
-
/** Shared ms per second value. */
|
|
6
|
-
export const MS_PER_SECOND = 1000;
|
|
7
|
-
export const MS_PER_MINUTE = SECONDS_PER_MINUTE * MS_PER_SECOND;
|
|
8
|
-
export const MS_PER_HOUR = MINUTES_PER_HOUR * MS_PER_MINUTE;
|
|
9
|
-
export const ONE_DAY_MS = HOURS_PER_DAY * MS_PER_HOUR;
|
|
10
|
-
function getEnvString(key) {
|
|
11
|
-
const g = dntShim.dntGlobalThis;
|
|
12
|
-
try {
|
|
13
|
-
return g.Deno?.env?.get?.(key) ?? g.process?.env?.[key];
|
|
14
|
-
}
|
|
15
|
-
catch (_) {
|
|
16
|
-
/* expected: Deno may deny --allow-env permission */
|
|
17
|
-
return undefined;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
function getEnvNumber(key, fallback) {
|
|
21
|
-
const value = getEnvString(key);
|
|
22
|
-
if (value == null)
|
|
23
|
-
return fallback;
|
|
24
|
-
const parsed = Number.parseInt(value, 10);
|
|
25
|
-
if (Number.isNaN(parsed))
|
|
26
|
-
return fallback;
|
|
27
|
-
return parsed;
|
|
28
|
-
}
|
|
29
|
-
function isProductionMode() {
|
|
30
|
-
return (getEnvString("PROXY_MODE") === "1" ||
|
|
31
|
-
getEnvString("NODE_ENV") === "production" ||
|
|
32
|
-
getEnvString("PRODUCTION_MODE") === "1");
|
|
33
|
-
}
|
|
34
|
-
// Cache entry limits (override via env vars)
|
|
35
|
-
/** Default value for lru max entries. */
|
|
36
|
-
export const DEFAULT_LRU_MAX_ENTRIES = getEnvNumber("LRU_DEFAULT_MAX_ENTRIES", 100);
|
|
37
|
-
export const COMPONENT_LOADER_MAX_ENTRIES = getEnvNumber("COMPONENT_LOADER_MAX_ENTRIES", 200);
|
|
38
|
-
export const COMPONENT_LOADER_TTL_MS = 10 * MS_PER_MINUTE;
|
|
39
|
-
export const MDX_RENDERER_MAX_ENTRIES = getEnvNumber("MDX_RENDERER_MAX_ENTRIES", 500);
|
|
40
|
-
export const MDX_RENDERER_TTL_MS = 10 * MS_PER_MINUTE;
|
|
41
|
-
export const RENDERER_CORE_MAX_ENTRIES = getEnvNumber("RENDERER_CORE_MAX_ENTRIES", 200);
|
|
42
|
-
export const RENDERER_CORE_TTL_MS = 5 * MS_PER_MINUTE;
|
|
43
|
-
/** Shared TSX layout max entries value. */
|
|
44
|
-
export const TSX_LAYOUT_MAX_ENTRIES = getEnvNumber("TSX_LAYOUT_MAX_ENTRIES", 100);
|
|
45
|
-
export const TSX_LAYOUT_TTL_MS = 10 * MS_PER_MINUTE;
|
|
46
|
-
/**
|
|
47
|
-
* Per-project cap for the TSX layout component cache.
|
|
48
|
-
* Prevents a single noisy tenant from evicting every other project's
|
|
49
|
-
* cached layouts. Defaults to ceil(TSX_LAYOUT_MAX_ENTRIES / 10) so no
|
|
50
|
-
* one project consumes more than ~10 % of the global budget.
|
|
51
|
-
* Set via TSX_LAYOUT_PER_PROJECT_MAX_ENTRIES env var.
|
|
52
|
-
*/
|
|
53
|
-
export const TSX_LAYOUT_PER_PROJECT_MAX_ENTRIES = getEnvNumber("TSX_LAYOUT_PER_PROJECT_MAX_ENTRIES", Math.ceil(TSX_LAYOUT_MAX_ENTRIES / 10));
|
|
54
|
-
export const DATA_FETCHING_MAX_ENTRIES = getEnvNumber("DATA_FETCHING_MAX_ENTRIES", 500);
|
|
55
|
-
export const DATA_FETCHING_TTL_MS = 10 * MS_PER_MINUTE;
|
|
56
|
-
export const MDX_CACHE_TTL_PRODUCTION_MS = ONE_DAY_MS;
|
|
57
|
-
export const MDX_CACHE_TTL_DEVELOPMENT_MS = 5 * MS_PER_MINUTE;
|
|
58
|
-
export const BUNDLE_CACHE_TTL_PRODUCTION_MS = ONE_DAY_MS;
|
|
59
|
-
export const BUNDLE_CACHE_TTL_DEVELOPMENT_MS = 5 * MS_PER_MINUTE;
|
|
60
|
-
export const BUNDLE_MANIFEST_PROD_TTL_MS = 7 * ONE_DAY_MS;
|
|
61
|
-
export const BUNDLE_MANIFEST_DEV_TTL_MS = MS_PER_HOUR;
|
|
62
|
-
/** Shared RSC manifest cache ttl ms value. */
|
|
63
|
-
export const RSC_MANIFEST_CACHE_TTL_MS = 5000;
|
|
64
|
-
export const SERVER_ACTION_DEFAULT_TTL_SEC = MINUTES_PER_HOUR * SECONDS_PER_MINUTE;
|
|
65
|
-
// Distributed cache TTL (Redis/API)
|
|
66
|
-
// Production: longer TTLs (release content is immutable)
|
|
67
|
-
// Preview: shorter TTLs (branch content changes frequently)
|
|
68
|
-
export const DISTRIBUTED_SSR_MODULE_TTL_PRODUCTION_SEC = getEnvNumber("DISTRIBUTED_SSR_MODULE_TTL_SEC", 6 * MINUTES_PER_HOUR * SECONDS_PER_MINUTE);
|
|
69
|
-
export const DISTRIBUTED_SSR_MODULE_TTL_PREVIEW_SEC = getEnvNumber("DISTRIBUTED_SSR_MODULE_TTL_PREVIEW_SEC", 10 * SECONDS_PER_MINUTE);
|
|
70
|
-
export const DISTRIBUTED_TRANSFORM_TTL_PRODUCTION_SEC = getEnvNumber("DISTRIBUTED_TRANSFORM_TTL_SEC", 6 * MINUTES_PER_HOUR * SECONDS_PER_MINUTE);
|
|
71
|
-
export const DISTRIBUTED_TRANSFORM_TTL_PREVIEW_SEC = getEnvNumber("DISTRIBUTED_TRANSFORM_TTL_PREVIEW_SEC", 10 * SECONDS_PER_MINUTE);
|
|
72
|
-
export const DISTRIBUTED_FILE_TTL_PRODUCTION_SEC = getEnvNumber("DISTRIBUTED_FILE_TTL_SEC", MINUTES_PER_HOUR * SECONDS_PER_MINUTE);
|
|
73
|
-
export const DISTRIBUTED_FILE_TTL_PREVIEW_SEC = getEnvNumber("DISTRIBUTED_FILE_TTL_PREVIEW_SEC", 5 * SECONDS_PER_MINUTE);
|
|
74
|
-
export const DISTRIBUTED_CSS_TTL_PRODUCTION_SEC = getEnvNumber("DISTRIBUTED_CSS_TTL_SEC", 6 * MINUTES_PER_HOUR * SECONDS_PER_MINUTE);
|
|
75
|
-
export const DISTRIBUTED_CSS_TTL_PREVIEW_SEC = getEnvNumber("DISTRIBUTED_CSS_TTL_PREVIEW_SEC", 10 * SECONDS_PER_MINUTE);
|
|
76
|
-
/** Get environment-aware distributed cache TTL in seconds */
|
|
77
|
-
export function getDistributedCacheTTL(cacheType, isProduction = isProductionMode()) {
|
|
78
|
-
if (cacheType === "ssr-module") {
|
|
79
|
-
return isProduction
|
|
80
|
-
? DISTRIBUTED_SSR_MODULE_TTL_PRODUCTION_SEC
|
|
81
|
-
: DISTRIBUTED_SSR_MODULE_TTL_PREVIEW_SEC;
|
|
82
|
-
}
|
|
83
|
-
if (cacheType === "transform") {
|
|
84
|
-
return isProduction
|
|
85
|
-
? DISTRIBUTED_TRANSFORM_TTL_PRODUCTION_SEC
|
|
86
|
-
: DISTRIBUTED_TRANSFORM_TTL_PREVIEW_SEC;
|
|
87
|
-
}
|
|
88
|
-
if (cacheType === "file") {
|
|
89
|
-
return isProduction ? DISTRIBUTED_FILE_TTL_PRODUCTION_SEC : DISTRIBUTED_FILE_TTL_PREVIEW_SEC;
|
|
90
|
-
}
|
|
91
|
-
return isProduction ? DISTRIBUTED_CSS_TTL_PRODUCTION_SEC : DISTRIBUTED_CSS_TTL_PREVIEW_SEC;
|
|
92
|
-
}
|
|
93
|
-
// Size limits (override via env vars)
|
|
94
|
-
export const DENO_KV_SAFE_SIZE_LIMIT_BYTES = 64_000;
|
|
95
|
-
export const LRU_DEFAULT_MAX_ENTRIES_V2 = getEnvNumber("LRU_MAX_ENTRIES", 2000);
|
|
96
|
-
export const LRU_DEFAULT_MAX_SIZE_BYTES = getEnvNumber("LRU_MAX_SIZE_MB", 200) * 1024 * 1024;
|
|
97
|
-
export const MEMORY_CACHE_MAX_ENTRIES = getEnvNumber("MEMORY_CACHE_MAX_ENTRIES", 2000);
|
|
98
|
-
export const MEMORY_CACHE_MAX_SIZE_BYTES = getEnvNumber("MEMORY_CACHE_MAX_SIZE_MB", 50) * 1024 *
|
|
99
|
-
1024;
|
|
100
|
-
export const FILE_CACHE_MAX_ENTRIES = getEnvNumber("FILE_CACHE_MAX_ENTRIES", 1000);
|
|
101
|
-
export const FILE_CACHE_MAX_SIZE_MB = getEnvNumber("FILE_CACHE_MAX_SIZE_MB", 100);
|
|
102
|
-
// HTTP cache headers
|
|
103
|
-
export const HTTP_CACHE_SHORT_MAX_AGE_SEC = 60;
|
|
104
|
-
export const HTTP_CACHE_MEDIUM_MAX_AGE_SEC = 3600;
|
|
105
|
-
export const HTTP_CACHE_LONG_MAX_AGE_SEC = 31536000;
|
|
106
|
-
// Maintenance
|
|
107
|
-
export const CACHE_CLEANUP_INTERVAL_MS = 60000;
|
|
108
|
-
export const CLEANUP_INTERVAL_MULTIPLIER = 2;
|
|
109
|
-
// Concurrency limits (override via env vars)
|
|
110
|
-
export const MAX_CONCURRENT_REVALIDATIONS = getEnvNumber("MAX_CONCURRENT_REVALIDATIONS", 32);
|
|
111
|
-
export const MAX_CONCURRENT_HTTP_FETCHES = getEnvNumber("MAX_CONCURRENT_HTTP_FETCHES", 50);
|
|
112
|
-
export const REVALIDATION_TIMEOUT_MS = getEnvNumber("REVALIDATION_TIMEOUT_MS", 15000);
|
|
113
|
-
// Per-project fairness limit for revalidations (prevents one project from starving others)
|
|
114
|
-
export const REVALIDATION_PER_PROJECT_LIMIT = getEnvNumber("REVALIDATION_PER_PROJECT_LIMIT", Math.ceil(MAX_CONCURRENT_REVALIDATIONS / 3));
|
|
115
|
-
// Bundle manifest for atomic HTTP bundle group validation
|
|
116
|
-
export const BUNDLE_MANIFEST_DISTRIBUTED_TTL_SEC = getEnvNumber("BUNDLE_MANIFEST_DISTRIBUTED_TTL_SEC", HOURS_PER_DAY * MINUTES_PER_HOUR * SECONDS_PER_MINUTE);
|
|
117
|
-
export const BUNDLE_MANIFEST_LRU_MAX_ENTRIES = getEnvNumber("BUNDLE_MANIFEST_LRU_MAX_ENTRIES", 5000);
|
|
118
|
-
// HTTP module cache (esm.sh, CDN bundles)
|
|
119
|
-
// These bundles are immutable once fetched, so long TTLs are safe
|
|
120
|
-
export const HTTP_MODULE_CACHE_MAX_ENTRIES = getEnvNumber("HTTP_MODULE_CACHE_MAX_ENTRIES", 2000);
|
|
121
|
-
export const HTTP_MODULE_DISTRIBUTED_TTL_SEC = getEnvNumber("HTTP_MODULE_DISTRIBUTED_TTL_SEC", HOURS_PER_DAY * MINUTES_PER_HOUR * SECONDS_PER_MINUTE);
|
|
122
|
-
// Transform cache for module compilation
|
|
123
|
-
// MUST be shorter than HTTP_MODULE_DISTRIBUTED_TTL_SEC (24h) so that
|
|
124
|
-
// HTTP bundles always outlive the transforms that reference them.
|
|
125
|
-
// 6h matches DISTRIBUTED_TRANSFORM_TTL_PRODUCTION_SEC used by the SSR loader.
|
|
126
|
-
export const TRANSFORM_DISTRIBUTED_TTL_SEC = getEnvNumber("TRANSFORM_DISTRIBUTED_TTL_SEC", 6 * MINUTES_PER_HOUR * SECONDS_PER_MINUTE);
|
|
127
|
-
// Pod-level module cache (shared across all RenderPipeline instances)
|
|
128
|
-
// These caches map module paths to transformed temp file paths
|
|
129
|
-
export const MODULE_CACHE_MAX_ENTRIES = getEnvNumber("MODULE_CACHE_MAX_ENTRIES", 10000);
|
|
130
|
-
export const MODULE_CACHE_TTL_MS = getEnvNumber("MODULE_CACHE_TTL_MS", 5 * MS_PER_MINUTE);
|
|
131
|
-
// ESM cache for external module mappings
|
|
132
|
-
export const ESM_CACHE_MAX_ENTRIES = getEnvNumber("ESM_CACHE_MAX_ENTRIES", 5000);
|
|
133
|
-
export const ESM_CACHE_TTL_MS = getEnvNumber("ESM_CACHE_TTL_MS", 10 * MS_PER_MINUTE);
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export declare const ESM_CDN_BASE = "https://esm.sh";
|
|
2
|
-
export declare const JSDELIVR_CDN_BASE = "https://cdn.jsdelivr.net";
|
|
3
|
-
export declare const DENO_STD_BASE = "https://deno.land";
|
|
4
|
-
export declare const REACT_VERSION_17 = "17.0.2";
|
|
5
|
-
export declare const REACT_VERSION_18_2 = "18.2.0";
|
|
6
|
-
export declare const REACT_VERSION_18_3 = "18.3.1";
|
|
7
|
-
export declare const REACT_VERSION_19_RC = "19.0.0-rc.0";
|
|
8
|
-
export declare const REACT_VERSION_19 = "19.2.4";
|
|
9
|
-
/** Shared React default version value. */
|
|
10
|
-
export declare const REACT_DEFAULT_VERSION = "19.2.4";
|
|
11
|
-
export declare function esmShReact(pkg: string, version: string, path?: string, external?: boolean): string;
|
|
12
|
-
export declare function getReactUrls(version?: string): Record<string, string>;
|
|
13
|
-
/** Return React import map. */
|
|
14
|
-
export declare function getReactImportMap(version?: string): Record<string, string>;
|
|
15
|
-
export declare function getReactCDNUrl(version?: string): string;
|
|
16
|
-
export declare function getReactDOMCDNUrl(version?: string): string;
|
|
17
|
-
export declare function getReactDOMClientCDNUrl(version?: string): string;
|
|
18
|
-
export declare function getReactDOMServerCDNUrl(version?: string): string;
|
|
19
|
-
export declare function getReactJSXRuntimeCDNUrl(version?: string): string;
|
|
20
|
-
export declare function getReactJSXDevRuntimeCDNUrl(version?: string): string;
|
|
21
|
-
/** Default value for allowed cdn hosts. */
|
|
22
|
-
export declare const DEFAULT_ALLOWED_CDN_HOSTS: string[];
|
|
23
|
-
export declare const DENO_STD_VERSION = "0.220.0";
|
|
24
|
-
/** Return Deno std node base. */
|
|
25
|
-
export declare function getDenoStdNodeBase(): string;
|
|
26
|
-
export { TAILWIND_VERSION } from "../../transforms/import-rewriter/url-builder.js";
|
|
27
|
-
export declare function getTailwindCSSUrl(): string;
|
|
28
|
-
export { VERSION as VERYFRONT_VERSION } from "../version-constant.js";
|
|
29
|
-
//# sourceMappingURL=cdn.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cdn.d.ts","sourceRoot":"","sources":["../../../../src/src/utils/constants/cdn.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,mBAAmB,CAAC;AAC7C,eAAO,MAAM,iBAAiB,6BAA6B,CAAC;AAC5D,eAAO,MAAM,aAAa,sBAAsB,CAAC;AAEjD,eAAO,MAAM,gBAAgB,WAAW,CAAC;AACzC,eAAO,MAAM,kBAAkB,WAAW,CAAC;AAC3C,eAAO,MAAM,kBAAkB,WAAW,CAAC;AAC3C,eAAO,MAAM,mBAAmB,gBAAgB,CAAC;AACjD,eAAO,MAAM,gBAAgB,WAAW,CAAC;AAEzC,0CAA0C;AAC1C,eAAO,MAAM,qBAAqB,WAAmB,CAAC;AAQtD,wBAAgB,UAAU,CACxB,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,MAAM,EACf,IAAI,SAAK,EACT,QAAQ,UAAQ,GACf,MAAM,CAOR;AAED,wBAAgB,YAAY,CAAC,OAAO,SAAwB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CASpF;AAED,+BAA+B;AAC/B,wBAAgB,iBAAiB,CAAC,OAAO,SAAwB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAEzF;AAED,wBAAgB,cAAc,CAAC,OAAO,SAAwB,GAAG,MAAM,CAEtE;AAED,wBAAgB,iBAAiB,CAAC,OAAO,SAAwB,GAAG,MAAM,CAEzE;AAED,wBAAgB,uBAAuB,CAAC,OAAO,SAAwB,GAAG,MAAM,CAE/E;AAED,wBAAgB,uBAAuB,CAAC,OAAO,SAAwB,GAAG,MAAM,CAE/E;AAED,wBAAgB,wBAAwB,CAAC,OAAO,SAAwB,GAAG,MAAM,CAEhF;AAED,wBAAgB,2BAA2B,CACzC,OAAO,SAAwB,GAC9B,MAAM,CAER;AAED,2CAA2C;AAC3C,eAAO,MAAM,yBAAyB,UAAgC,CAAC;AAEvE,eAAO,MAAM,gBAAgB,YAAY,CAAC;AAE1C,iCAAiC;AACjC,wBAAgB,kBAAkB,IAAI,MAAM,CAE3C;AAED,OAAO,EAAE,gBAAgB,EAAE,MAAM,iDAAiD,CAAC;AAEnF,wBAAgB,iBAAiB,IAAI,MAAM,CAE1C;AAED,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
export const ESM_CDN_BASE = "https://esm.sh";
|
|
2
|
-
export const JSDELIVR_CDN_BASE = "https://cdn.jsdelivr.net";
|
|
3
|
-
export const DENO_STD_BASE = "https://deno.land";
|
|
4
|
-
export const REACT_VERSION_17 = "17.0.2";
|
|
5
|
-
export const REACT_VERSION_18_2 = "18.2.0";
|
|
6
|
-
export const REACT_VERSION_18_3 = "18.3.1";
|
|
7
|
-
export const REACT_VERSION_19_RC = "19.0.0-rc.0";
|
|
8
|
-
export const REACT_VERSION_19 = "19.2.4";
|
|
9
|
-
/** Shared React default version value. */
|
|
10
|
-
export const REACT_DEFAULT_VERSION = REACT_VERSION_19;
|
|
11
|
-
import { buildReactUrl, getReactImportMap as buildReactImportMap, TAILWIND_VERSION, } from "../../transforms/import-rewriter/url-builder.js";
|
|
12
|
-
export function esmShReact(pkg, version, path = "", external = false) {
|
|
13
|
-
return buildReactUrl(pkg, version, path || undefined, external);
|
|
14
|
-
}
|
|
15
|
-
export function getReactUrls(version = REACT_DEFAULT_VERSION) {
|
|
16
|
-
return {
|
|
17
|
-
react: buildReactUrl("react", version),
|
|
18
|
-
"react-dom": buildReactUrl("react-dom", version, undefined, true),
|
|
19
|
-
"react-dom/client": buildReactUrl("react-dom", version, "/client", true),
|
|
20
|
-
"react-dom/server": buildReactUrl("react-dom", version, "/server", true),
|
|
21
|
-
"react/jsx-runtime": buildReactUrl("react", version, "/jsx-runtime", true),
|
|
22
|
-
"react/jsx-dev-runtime": buildReactUrl("react", version, "/jsx-dev-runtime", true),
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
/** Return React import map. */
|
|
26
|
-
export function getReactImportMap(version = REACT_DEFAULT_VERSION) {
|
|
27
|
-
return buildReactImportMap(version);
|
|
28
|
-
}
|
|
29
|
-
export function getReactCDNUrl(version = REACT_DEFAULT_VERSION) {
|
|
30
|
-
return getReactUrls(version).react;
|
|
31
|
-
}
|
|
32
|
-
export function getReactDOMCDNUrl(version = REACT_DEFAULT_VERSION) {
|
|
33
|
-
return getReactUrls(version)["react-dom"];
|
|
34
|
-
}
|
|
35
|
-
export function getReactDOMClientCDNUrl(version = REACT_DEFAULT_VERSION) {
|
|
36
|
-
return getReactUrls(version)["react-dom/client"];
|
|
37
|
-
}
|
|
38
|
-
export function getReactDOMServerCDNUrl(version = REACT_DEFAULT_VERSION) {
|
|
39
|
-
return getReactUrls(version)["react-dom/server"];
|
|
40
|
-
}
|
|
41
|
-
export function getReactJSXRuntimeCDNUrl(version = REACT_DEFAULT_VERSION) {
|
|
42
|
-
return getReactUrls(version)["react/jsx-runtime"];
|
|
43
|
-
}
|
|
44
|
-
export function getReactJSXDevRuntimeCDNUrl(version = REACT_DEFAULT_VERSION) {
|
|
45
|
-
return getReactUrls(version)["react/jsx-dev-runtime"];
|
|
46
|
-
}
|
|
47
|
-
/** Default value for allowed cdn hosts. */
|
|
48
|
-
export const DEFAULT_ALLOWED_CDN_HOSTS = [ESM_CDN_BASE, DENO_STD_BASE];
|
|
49
|
-
export const DENO_STD_VERSION = "0.220.0";
|
|
50
|
-
/** Return Deno std node base. */
|
|
51
|
-
export function getDenoStdNodeBase() {
|
|
52
|
-
return `${DENO_STD_BASE}/std@${DENO_STD_VERSION}/node`;
|
|
53
|
-
}
|
|
54
|
-
export { TAILWIND_VERSION } from "../../transforms/import-rewriter/url-builder.js";
|
|
55
|
-
export function getTailwindCSSUrl() {
|
|
56
|
-
return `${ESM_CDN_BASE}/tailwindcss@${TAILWIND_VERSION}/index.css`;
|
|
57
|
-
}
|
|
58
|
-
export { VERSION as VERYFRONT_VERSION } from "../version-constant.js";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const HASH_ALGORITHM_SHA256 = "SHA-256";
|
|
2
|
-
export declare const HASH_ALGORITHM_SHA1 = "SHA-1";
|
|
3
|
-
export declare const HASH_ALGORITHM_MD5 = "MD5";
|
|
4
|
-
export declare const SHA256_HEX_LENGTH = 64;
|
|
5
|
-
export declare const SHA1_HEX_LENGTH = 40;
|
|
6
|
-
export declare const MD5_HEX_LENGTH = 32;
|
|
7
|
-
export declare const FNV1A_PRIME_32 = 16777619;
|
|
8
|
-
/** CSP nonce length (16 bytes = 128 bits) */
|
|
9
|
-
export declare const CSP_NONCE_LENGTH_BYTES = 16;
|
|
10
|
-
//# sourceMappingURL=crypto.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"crypto.d.ts","sourceRoot":"","sources":["../../../../src/src/utils/constants/crypto.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,YAAY,CAAC;AAC/C,eAAO,MAAM,mBAAmB,UAAU,CAAC;AAC3C,eAAO,MAAM,kBAAkB,QAAQ,CAAC;AAExC,eAAO,MAAM,iBAAiB,KAAK,CAAC;AACpC,eAAO,MAAM,eAAe,KAAK,CAAC;AAClC,eAAO,MAAM,cAAc,KAAK,CAAC;AAEjC,eAAO,MAAM,cAAc,WAAW,CAAC;AAEvC,6CAA6C;AAC7C,eAAO,MAAM,sBAAsB,KAAK,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export const HASH_ALGORITHM_SHA256 = "SHA-256";
|
|
2
|
-
export const HASH_ALGORITHM_SHA1 = "SHA-1";
|
|
3
|
-
export const HASH_ALGORITHM_MD5 = "MD5";
|
|
4
|
-
export const SHA256_HEX_LENGTH = 64;
|
|
5
|
-
export const SHA1_HEX_LENGTH = 40;
|
|
6
|
-
export const MD5_HEX_LENGTH = 32;
|
|
7
|
-
export const FNV1A_PRIME_32 = 16777619;
|
|
8
|
-
/** CSP nonce length (16 bytes = 128 bits) */
|
|
9
|
-
export const CSP_NONCE_LENGTH_BYTES = 16;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export declare const ENV_VARS: {
|
|
2
|
-
readonly DEBUG: "VERYFRONT_DEBUG";
|
|
3
|
-
readonly DEEP_INSPECT: "VERYFRONT_DEEP_INSPECT";
|
|
4
|
-
readonly CACHE_DIR: "VERYFRONT_CACHE_DIR";
|
|
5
|
-
readonly PORT: "VERYFRONT_PORT";
|
|
6
|
-
readonly VERSION: "VERYFRONT_VERSION";
|
|
7
|
-
};
|
|
8
|
-
type EnvAccessor = {
|
|
9
|
-
get(key: string): string | undefined;
|
|
10
|
-
};
|
|
11
|
-
export declare function isTruthyEnvValue(value: string | undefined): boolean;
|
|
12
|
-
export declare function isDebugEnabled(env: EnvAccessor): boolean;
|
|
13
|
-
export declare function isDeepInspectEnabled(env: EnvAccessor): boolean;
|
|
14
|
-
export declare function isAnyDebugEnabled(env: EnvAccessor): boolean;
|
|
15
|
-
export {};
|
|
16
|
-
//# sourceMappingURL=env.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"env.d.ts","sourceRoot":"","sources":["../../../../src/src/utils/constants/env.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;;;CAMX,CAAC;AAEX,KAAK,WAAW,GAAG;IAAE,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAA;CAAE,CAAC;AAE5D,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAGnE;AAED,wBAAgB,cAAc,CAAC,GAAG,EAAE,WAAW,GAAG,OAAO,CAExD;AAED,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,WAAW,GAAG,OAAO,CAE9D;AAED,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,WAAW,GAAG,OAAO,CAE3D"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export const ENV_VARS = {
|
|
2
|
-
DEBUG: "VERYFRONT_DEBUG",
|
|
3
|
-
DEEP_INSPECT: "VERYFRONT_DEEP_INSPECT",
|
|
4
|
-
CACHE_DIR: "VERYFRONT_CACHE_DIR",
|
|
5
|
-
PORT: "VERYFRONT_PORT",
|
|
6
|
-
VERSION: "VERYFRONT_VERSION",
|
|
7
|
-
};
|
|
8
|
-
export function isTruthyEnvValue(value) {
|
|
9
|
-
const normalized = value?.toLowerCase().trim();
|
|
10
|
-
return normalized === "1" || normalized === "true" || normalized === "yes";
|
|
11
|
-
}
|
|
12
|
-
export function isDebugEnabled(env) {
|
|
13
|
-
return isTruthyEnvValue(env.get(ENV_VARS.DEBUG));
|
|
14
|
-
}
|
|
15
|
-
export function isDeepInspectEnabled(env) {
|
|
16
|
-
return isTruthyEnvValue(env.get(ENV_VARS.DEEP_INSPECT));
|
|
17
|
-
}
|
|
18
|
-
export function isAnyDebugEnabled(env) {
|
|
19
|
-
return isDebugEnabled(env) || isDeepInspectEnabled(env);
|
|
20
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hash.d.ts","sourceRoot":"","sources":["../../../../src/src/utils/constants/hash.ts"],"names":[],"mappings":"AAAA,mCAAmC;AACnC,eAAO,MAAM,cAAc,OAAO,CAAC;AACnC,qCAAqC;AACrC,eAAO,MAAM,eAAe,aAAa,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/** Shared HMR max message size bytes value. */
|
|
2
|
-
export declare const HMR_MAX_MESSAGE_SIZE_BYTES: number;
|
|
3
|
-
/** Shared HMR max messages per minute value. */
|
|
4
|
-
export declare const HMR_MAX_MESSAGES_PER_MINUTE = 100;
|
|
5
|
-
/** Shared HMR client reload delay ms value. */
|
|
6
|
-
export declare const HMR_CLIENT_RELOAD_DELAY_MS = 3000;
|
|
7
|
-
export declare const HMR_PORT_OFFSET = 1;
|
|
8
|
-
/** Shared HMR rate limit window ms value. */
|
|
9
|
-
export declare const HMR_RATE_LIMIT_WINDOW_MS = 60000;
|
|
10
|
-
/** Shared HMR close normal value. */
|
|
11
|
-
export declare const HMR_CLOSE_NORMAL = 1000;
|
|
12
|
-
/** Shared HMR close rate limit value. */
|
|
13
|
-
export declare const HMR_CLOSE_RATE_LIMIT = 1008;
|
|
14
|
-
/** Shared HMR close message too large value. */
|
|
15
|
-
export declare const HMR_CLOSE_MESSAGE_TOO_LARGE = 1009;
|
|
16
|
-
export declare const HMR_MESSAGE_TYPES: {
|
|
17
|
-
readonly CONNECTED: "connected";
|
|
18
|
-
readonly UPDATE: "update";
|
|
19
|
-
readonly RELOAD: "reload";
|
|
20
|
-
readonly PING: "ping";
|
|
21
|
-
readonly PONG: "pong";
|
|
22
|
-
};
|
|
23
|
-
export declare function isValidHMRMessageType(type: string): type is (typeof HMR_MESSAGE_TYPES)[keyof typeof HMR_MESSAGE_TYPES];
|
|
24
|
-
//# sourceMappingURL=hmr.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hmr.d.ts","sourceRoot":"","sources":["../../../../src/src/utils/constants/hmr.ts"],"names":[],"mappings":"AAEA,+CAA+C;AAC/C,eAAO,MAAM,0BAA0B,QAAqB,CAAC;AAC7D,gDAAgD;AAChD,eAAO,MAAM,2BAA2B,MAAM,CAAC;AAC/C,+CAA+C;AAC/C,eAAO,MAAM,0BAA0B,OAAO,CAAC;AAC/C,eAAO,MAAM,eAAe,IAAI,CAAC;AACjC,6CAA6C;AAC7C,eAAO,MAAM,wBAAwB,QAAQ,CAAC;AAC9C,qCAAqC;AACrC,eAAO,MAAM,gBAAgB,OAAO,CAAC;AACrC,yCAAyC;AACzC,eAAO,MAAM,oBAAoB,OAAO,CAAC;AACzC,gDAAgD;AAChD,eAAO,MAAM,2BAA2B,OAAO,CAAC;AAEhD,eAAO,MAAM,iBAAiB;;;;;;CAMpB,CAAC;AAEX,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,MAAM,GACX,IAAI,IAAI,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,OAAO,iBAAiB,CAAC,CAEpE"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { KB_IN_BYTES } from "./http.js";
|
|
2
|
-
/** Shared HMR max message size bytes value. */
|
|
3
|
-
export const HMR_MAX_MESSAGE_SIZE_BYTES = 1024 * KB_IN_BYTES;
|
|
4
|
-
/** Shared HMR max messages per minute value. */
|
|
5
|
-
export const HMR_MAX_MESSAGES_PER_MINUTE = 100;
|
|
6
|
-
/** Shared HMR client reload delay ms value. */
|
|
7
|
-
export const HMR_CLIENT_RELOAD_DELAY_MS = 3000;
|
|
8
|
-
export const HMR_PORT_OFFSET = 1;
|
|
9
|
-
/** Shared HMR rate limit window ms value. */
|
|
10
|
-
export const HMR_RATE_LIMIT_WINDOW_MS = 60000;
|
|
11
|
-
/** Shared HMR close normal value. */
|
|
12
|
-
export const HMR_CLOSE_NORMAL = 1000;
|
|
13
|
-
/** Shared HMR close rate limit value. */
|
|
14
|
-
export const HMR_CLOSE_RATE_LIMIT = 1008;
|
|
15
|
-
/** Shared HMR close message too large value. */
|
|
16
|
-
export const HMR_CLOSE_MESSAGE_TOO_LARGE = 1009;
|
|
17
|
-
export const HMR_MESSAGE_TYPES = {
|
|
18
|
-
CONNECTED: "connected",
|
|
19
|
-
UPDATE: "update",
|
|
20
|
-
RELOAD: "reload",
|
|
21
|
-
PING: "ping",
|
|
22
|
-
PONG: "pong",
|
|
23
|
-
};
|
|
24
|
-
export function isValidHMRMessageType(type) {
|
|
25
|
-
return Object.values(HMR_MESSAGE_TYPES).includes(type);
|
|
26
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/** Shared z index dev indicator value. */
|
|
2
|
-
export declare const Z_INDEX_DEV_INDICATOR = 9998;
|
|
3
|
-
/** Shared z index error overlay value. */
|
|
4
|
-
export declare const Z_INDEX_ERROR_OVERLAY = 9999;
|
|
5
|
-
/** Shared breakpoint sm value. */
|
|
6
|
-
export declare const BREAKPOINT_SM = 640;
|
|
7
|
-
/** Shared breakpoint md value. */
|
|
8
|
-
export declare const BREAKPOINT_MD = 768;
|
|
9
|
-
/** Shared breakpoint lg value. */
|
|
10
|
-
export declare const BREAKPOINT_LG = 1024;
|
|
11
|
-
/** Shared breakpoint xl value. */
|
|
12
|
-
export declare const BREAKPOINT_XL = 1280;
|
|
13
|
-
//# sourceMappingURL=html.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../../../src/src/utils/constants/html.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,eAAO,MAAM,qBAAqB,OAAO,CAAC;AAC1C,0CAA0C;AAC1C,eAAO,MAAM,qBAAqB,OAAO,CAAC;AAE1C,kCAAkC;AAClC,eAAO,MAAM,aAAa,MAAM,CAAC;AACjC,kCAAkC;AAClC,eAAO,MAAM,aAAa,MAAM,CAAC;AACjC,kCAAkC;AAClC,eAAO,MAAM,aAAa,OAAO,CAAC;AAClC,kCAAkC;AAClC,eAAO,MAAM,aAAa,OAAO,CAAC"}
|