@veryfront/ext-content-mdx 0.1.1271-rc.23355 → 0.1.1271
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/deno.js +2 -2
- package/esm/src/config/host-api-base.d.ts +20 -0
- package/esm/src/config/host-api-base.d.ts.map +1 -0
- package/esm/src/config/host-api-base.js +107 -0
- package/esm/src/platform/compat/abort-signal.d.ts +2 -0
- package/esm/src/platform/compat/abort-signal.d.ts.map +1 -1
- package/esm/src/platform/compat/abort-signal.js +5 -0
- package/esm/src/platform/compat/http/pinned-fetch.d.ts +1 -1
- package/esm/src/platform/compat/http/pinned-fetch.d.ts.map +1 -1
- package/esm/src/platform/compat/native-brand-checks.d.ts.map +1 -1
- package/esm/src/platform/compat/native-brand-checks.js +38 -8
- package/esm/src/platform/compat/primordials/array.d.ts +4 -0
- package/esm/src/platform/compat/primordials/array.d.ts.map +1 -1
- package/esm/src/platform/compat/primordials/array.js +36 -0
- package/esm/src/security/http/outbound-fetch.d.ts.map +1 -1
- package/esm/src/security/http/outbound-fetch.js +3 -1
- package/esm/src/security/private-promise.d.ts.map +1 -1
- package/esm/src/security/private-promise.js +4 -0
- package/esm/src/security/sandbox/worker-egress-guard.d.ts.map +1 -1
- package/esm/src/security/sandbox/worker-egress-guard.js +6 -5
- package/esm/src/utils/version-constant.d.ts +1 -1
- package/esm/src/utils/version-constant.d.ts.map +1 -1
- package/esm/src/utils/version-constant.js +1 -1
- package/package.json +4 -4
package/esm/deno.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"name": "veryfront",
|
|
3
|
-
"version": "0.1.1271
|
|
3
|
+
"version": "0.1.1271",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"nodeModulesDir": "auto",
|
|
6
6
|
"minimumDependencyAge": {
|
|
@@ -585,7 +585,7 @@ export default {
|
|
|
585
585
|
"lint:core-deps": "deno run --allow-read scripts/lint/audit-core-deps.ts",
|
|
586
586
|
"lint:cross-runtime-jsr": "deno run --allow-read scripts/lint/audit-cross-runtime-jsr.ts",
|
|
587
587
|
"lint:dependency-boundaries": "deno run --allow-read scripts/lint/audit-dependency-boundaries.ts",
|
|
588
|
-
"lint:module-boundaries": "
|
|
588
|
+
"lint:module-boundaries": "deno run --frozen --allow-read scripts/lint/check-module-boundaries.ts",
|
|
589
589
|
"lint:extension-contracts": "deno run --config=scripts/test.deno.json --frozen --allow-read scripts/lint/audit-extension-contracts.ts",
|
|
590
590
|
"lint:extension-capabilities": "deno run --config=scripts/test.deno.json --frozen --allow-read scripts/lint/audit-extension-capabilities.ts",
|
|
591
591
|
"lint:ban-console": "deno run --allow-read scripts/lint/ban-console.ts",
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/** @internal Exact HTTP API origin authorized by the operator at process boot. */
|
|
2
|
+
export declare function isHostHttpApiOrigin(value: string): boolean;
|
|
3
|
+
/** Require HTTPS or an explicitly authorized HTTP API before attaching host credentials. */
|
|
4
|
+
export declare function requireHostPrivateApiHttps(value: string): string;
|
|
5
|
+
/**
|
|
6
|
+
* Resolve the API origin paired with a host-private stored login token.
|
|
7
|
+
*
|
|
8
|
+
* `VERYFRONT_API_URL` comes first, matching `resolveCliApiUrl()` in
|
|
9
|
+
* `cli/shared/constants.ts`: a host that exports both must not see its
|
|
10
|
+
* requests move to the other server just because the credential came from the
|
|
11
|
+
* token store. Only host-owned sources are read, so a project `.env` cannot
|
|
12
|
+
* steer a request that carries the credential.
|
|
13
|
+
*/
|
|
14
|
+
export declare function resolveHostOwnedApiBaseUrl(): string;
|
|
15
|
+
/**
|
|
16
|
+
* Match the runtime source client: BASE selects its public API even when URL
|
|
17
|
+
* selects a separate internal endpoint. Stored-login URL precedence is separate.
|
|
18
|
+
*/
|
|
19
|
+
export declare function resolveHostOwnedSourceApiBaseUrl(): string;
|
|
20
|
+
//# sourceMappingURL=host-api-base.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"host-api-base.d.ts","sourceRoot":"","sources":["../../../src/src/config/host-api-base.ts"],"names":[],"mappings":"AA2BA,kFAAkF;AAClF,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CA+B1D;AAED,4FAA4F;AAC5F,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAMhE;AAmBD;;;;;;;;GAQG;AACH,wBAAgB,0BAA0B,IAAI,MAAM,CAOnD;AAED;;;GAGG;AACH,wBAAgB,gCAAgC,IAAI,MAAM,CAKzD"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { getHostBootEnv, getHostEnvExcludingEnvFile, } from "../platform/compat/process/env.js";
|
|
2
|
+
const NativeURL = URL;
|
|
3
|
+
const urlOrigin = Object.getOwnPropertyDescriptor(NativeURL.prototype, "origin").get;
|
|
4
|
+
const urlProtocol = Object.getOwnPropertyDescriptor(NativeURL.prototype, "protocol").get;
|
|
5
|
+
const urlUsername = Object.getOwnPropertyDescriptor(NativeURL.prototype, "username").get;
|
|
6
|
+
const urlPassword = Object.getOwnPropertyDescriptor(NativeURL.prototype, "password").get;
|
|
7
|
+
const urlSearch = Object.getOwnPropertyDescriptor(NativeURL.prototype, "search").get;
|
|
8
|
+
const urlHash = Object.getOwnPropertyDescriptor(NativeURL.prototype, "hash").get;
|
|
9
|
+
const DEFAULT_HOST_API_BASE_URL = "https://api.veryfront.com";
|
|
10
|
+
const HOST_API_ENV_KEYS = ["VERYFRONT_API_URL", "VERYFRONT_API_BASE_URL"];
|
|
11
|
+
const applyIntrinsic = Reflect.apply;
|
|
12
|
+
const stringCharCodeAt = String.prototype.charCodeAt;
|
|
13
|
+
const stringEndsWith = String.prototype.endsWith;
|
|
14
|
+
const stringSlice = String.prototype.slice;
|
|
15
|
+
const stringTrim = String.prototype.trim;
|
|
16
|
+
const stringToLowerCase = String.prototype.toLowerCase;
|
|
17
|
+
function normalizeHostApiEnv(value) {
|
|
18
|
+
if (value === undefined)
|
|
19
|
+
return undefined;
|
|
20
|
+
const trimmed = applyIntrinsic(stringTrim, value, []);
|
|
21
|
+
return trimmed || undefined;
|
|
22
|
+
}
|
|
23
|
+
/** @internal Exact HTTP API origin authorized by the operator at process boot. */
|
|
24
|
+
export function isHostHttpApiOrigin(value) {
|
|
25
|
+
let target;
|
|
26
|
+
try {
|
|
27
|
+
target = new NativeURL(value);
|
|
28
|
+
if (applyIntrinsic(urlProtocol, target, []) !== "http:" ||
|
|
29
|
+
applyIntrinsic(urlUsername, target, []) || applyIntrinsic(urlPassword, target, [])) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
catch {
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
for (let index = 0; index < HOST_API_ENV_KEYS.length; index++) { // NOSONAR: bypass project-replaced iterator hooks.
|
|
37
|
+
const configuredApi = normalizeHostApiEnv(getHostBootEnv(HOST_API_ENV_KEYS[index]));
|
|
38
|
+
if (!configuredApi)
|
|
39
|
+
continue;
|
|
40
|
+
try {
|
|
41
|
+
const configured = new NativeURL(configuredApi);
|
|
42
|
+
if (applyIntrinsic(urlProtocol, configured, []) === "http:" &&
|
|
43
|
+
applyIntrinsic(urlSearch, configured, []) === "" &&
|
|
44
|
+
applyIntrinsic(urlHash, configured, []) === "" &&
|
|
45
|
+
applyIntrinsic(urlUsername, configured, []) === "" &&
|
|
46
|
+
applyIntrinsic(urlPassword, configured, []) === "" &&
|
|
47
|
+
applyIntrinsic(urlOrigin, target, []) === applyIntrinsic(urlOrigin, configured, []))
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
catch {
|
|
51
|
+
// An invalid host URL cannot authorize this origin.
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
/** Require HTTPS or an explicitly authorized HTTP API before attaching host credentials. */
|
|
57
|
+
export function requireHostPrivateApiHttps(value) {
|
|
58
|
+
const prefix = applyIntrinsic(stringSlice, value, [0, 8]);
|
|
59
|
+
if (applyIntrinsic(stringToLowerCase, prefix, []) !== "https://" && !isHostHttpApiOrigin(value)) {
|
|
60
|
+
throw new TypeError("Host-private credentials require an HTTPS API endpoint");
|
|
61
|
+
}
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
function normalizeHostApiUrl(value) {
|
|
65
|
+
let end = value.length;
|
|
66
|
+
while (end > 0 && applyIntrinsic(stringCharCodeAt, value, [end - 1]) === 47)
|
|
67
|
+
end--;
|
|
68
|
+
const normalized = applyIntrinsic(stringSlice, value, [0, end]);
|
|
69
|
+
if (applyIntrinsic(stringEndsWith, normalized, ["/graphql"])) {
|
|
70
|
+
return `${applyIntrinsic(stringSlice, normalized, [0, -"/graphql".length])}/api`;
|
|
71
|
+
}
|
|
72
|
+
return normalized;
|
|
73
|
+
}
|
|
74
|
+
function getHostApiEnv(key) {
|
|
75
|
+
// loadEnv copies repository values into the process environment. Preserve
|
|
76
|
+
// the source record as the trust boundary instead of treating that later
|
|
77
|
+
// process mutation as a host export.
|
|
78
|
+
return getHostEnvExcludingEnvFile(key);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Resolve the API origin paired with a host-private stored login token.
|
|
82
|
+
*
|
|
83
|
+
* `VERYFRONT_API_URL` comes first, matching `resolveCliApiUrl()` in
|
|
84
|
+
* `cli/shared/constants.ts`: a host that exports both must not see its
|
|
85
|
+
* requests move to the other server just because the credential came from the
|
|
86
|
+
* token store. Only host-owned sources are read, so a project `.env` cannot
|
|
87
|
+
* steer a request that carries the credential.
|
|
88
|
+
*/
|
|
89
|
+
export function resolveHostOwnedApiBaseUrl() {
|
|
90
|
+
const hostApiUrl = normalizeHostApiEnv(getHostApiEnv("VERYFRONT_API_URL"));
|
|
91
|
+
if (hostApiUrl) {
|
|
92
|
+
return normalizeHostApiUrl(hostApiUrl);
|
|
93
|
+
}
|
|
94
|
+
const hostApiBaseUrl = normalizeHostApiEnv(getHostApiEnv("VERYFRONT_API_BASE_URL"));
|
|
95
|
+
return hostApiBaseUrl ? normalizeHostApiUrl(hostApiBaseUrl) : DEFAULT_HOST_API_BASE_URL;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Match the runtime source client: BASE selects its public API even when URL
|
|
99
|
+
* selects a separate internal endpoint. Stored-login URL precedence is separate.
|
|
100
|
+
*/
|
|
101
|
+
export function resolveHostOwnedSourceApiBaseUrl() {
|
|
102
|
+
const hostApiBaseUrl = normalizeHostApiEnv(getHostApiEnv("VERYFRONT_API_BASE_URL"));
|
|
103
|
+
if (hostApiBaseUrl)
|
|
104
|
+
return normalizeHostApiUrl(hostApiBaseUrl);
|
|
105
|
+
const hostApiUrl = normalizeHostApiEnv(getHostApiEnv("VERYFRONT_API_URL"));
|
|
106
|
+
return hostApiUrl ? normalizeHostApiUrl(hostApiUrl) : DEFAULT_HOST_API_BASE_URL;
|
|
107
|
+
}
|
|
@@ -13,6 +13,8 @@ export declare function isAbortSignalWithoutHooks(value: unknown): value is Abor
|
|
|
13
13
|
export declare function isAbortSignalAborted(signal: AbortSignal): boolean;
|
|
14
14
|
/** Read the native cancellation reason without consulting an own accessor. */
|
|
15
15
|
export declare function getAbortSignalReason(signal: AbortSignal): unknown;
|
|
16
|
+
/** Throw the native cancellation reason without consulting instance methods. */
|
|
17
|
+
export declare function throwIfAbortSignalAborted(signal: AbortSignal): void;
|
|
16
18
|
/** Attach one native abort listener without consulting instance methods. */
|
|
17
19
|
export declare function addAbortSignalListenerOnce(signal: AbortSignal, listener: () => void): void;
|
|
18
20
|
/** Remove a native abort listener without consulting instance methods. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"abort-signal.d.ts","sourceRoot":"","sources":["../../../../src/src/platform/compat/abort-signal.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;
|
|
1
|
+
{"version":3,"file":"abort-signal.d.ts","sourceRoot":"","sources":["../../../../src/src/platform/compat/abort-signal.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AA+BH,gFAAgF;AAChF,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,WAAW,CAc9E;AAED,kEAAkE;AAClE,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,WAAW,GAAG,OAAO,CAKjE;AAED,8EAA8E;AAC9E,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,WAAW,GAAG,OAAO,CAGjE;AAED,gFAAgF;AAChF,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,WAAW,GAAG,IAAI,CAEnE;AAED,4EAA4E;AAC5E,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,WAAW,EACnB,QAAQ,EAAE,MAAM,IAAI,GACnB,IAAI,CAEN;AAED,0EAA0E;AAC1E,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,WAAW,EACnB,QAAQ,EAAE,MAAM,IAAI,GACnB,IAAI,CAEN"}
|
|
@@ -16,6 +16,7 @@ const getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
|
16
16
|
const NativeTypeError = TypeError;
|
|
17
17
|
const abortSignalAbortedGetter = getOwnPropertyDescriptor(AbortSignal.prototype, "aborted")?.get;
|
|
18
18
|
const abortSignalReasonGetter = getOwnPropertyDescriptor(AbortSignal.prototype, "reason")?.get;
|
|
19
|
+
const abortSignalThrowIfAborted = AbortSignal.prototype.throwIfAborted;
|
|
19
20
|
const eventTargetAddEventListener = EventTarget.prototype.addEventListener;
|
|
20
21
|
const eventTargetRemoveEventListener = EventTarget.prototype.removeEventListener;
|
|
21
22
|
const onceOptions = createObject(null);
|
|
@@ -54,6 +55,10 @@ export function getAbortSignalReason(signal) {
|
|
|
54
55
|
return undefined;
|
|
55
56
|
return apply(abortSignalReasonGetter, signal, []);
|
|
56
57
|
}
|
|
58
|
+
/** Throw the native cancellation reason without consulting instance methods. */
|
|
59
|
+
export function throwIfAbortSignalAborted(signal) {
|
|
60
|
+
apply(abortSignalThrowIfAborted, signal, []);
|
|
61
|
+
}
|
|
57
62
|
/** Attach one native abort listener without consulting instance methods. */
|
|
58
63
|
export function addAbortSignalListenerOnce(signal, listener) {
|
|
59
64
|
apply(eventTargetAddEventListener, signal, ["abort", listener, onceOptions]);
|
|
@@ -49,7 +49,7 @@ export declare function assertNodeRequestMembersUnchanged(intrinsics: NodeTransp
|
|
|
49
49
|
* Client identity for guarded egress, standing in for the runtime-supplied
|
|
50
50
|
* `user-agent` (`node`, `Deno/x.y.z`) that this transport cannot inherit.
|
|
51
51
|
*/
|
|
52
|
-
export declare const DEFAULT_OUTBOUND_USER_AGENT = "veryfront/0.1.1271
|
|
52
|
+
export declare const DEFAULT_OUTBOUND_USER_AGENT = "veryfront/0.1.1271";
|
|
53
53
|
export interface PinnedFetchTlsOptions {
|
|
54
54
|
/**
|
|
55
55
|
* Complete trusted CA set for this connection. Passing this replaces the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pinned-fetch.d.ts","sourceRoot":"","sources":["../../../../../src/src/platform/compat/http/pinned-fetch.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACV,KAAK,EAEL,aAAa,EACb,eAAe,EAEhB,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAAkB,MAAM,EAAE,MAAM,UAAU,CAAC;AACvD,OAAO,KAAK,EAAE,iBAAiB,EAAa,MAAM,UAAU,CAAC;AAC7D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAsC5C,KAAK,cAAc,GAAG,cAAc,WAAW,CAAC,CAAC;AACjD,KAAK,eAAe,GAAG,cAAc,YAAY,CAAC,CAAC;AACnD,KAAK,aAAa,GAAG,cAAc,UAAU,CAAC,CAAC;AAC/C,KAAK,aAAa,GAAG,cAAc,UAAU,CAAC,CAAC;AAC/C,KAAK,cAAc,GAAG,cAAc,WAAW,CAAC,CAAC;AACjD,KAAK,mBAAmB,GAAG,cAAc,CAAC,SAAS,CAAC,CAAC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C5B,IAAI,EAAE,WAAW,EACjB,GAAG,GAAE,qBAA0B,EAC/B,mBAAmB,CAAC,EAAE,MAAM,IAAI,GAC/B,OAAO,CAAC,QAAQ,CAAC,CAkRnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"native-brand-checks.d.ts","sourceRoot":"","sources":["../../../../src/src/platform/compat/native-brand-checks.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,iBAAiB;IAChC,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC;IACzC,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC;IAC1C,iBAAiB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC;IAC3C,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC;IACvC,SAAS,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC;IACnC,OAAO,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC;IACjC,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC;IACtC,SAAS,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC;IACnC,SAAS,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC;CACpC;
|
|
1
|
+
{"version":3,"file":"native-brand-checks.d.ts","sourceRoot":"","sources":["../../../../src/src/platform/compat/native-brand-checks.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,iBAAiB;IAChC,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC;IACzC,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC;IAC1C,iBAAiB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC;IAC3C,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC;IACvC,SAAS,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC;IACnC,OAAO,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC;IACjC,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC;IACtC,SAAS,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC;IACnC,SAAS,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC;CACpC;AA6UD;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,+BAE7B,CAAC"}
|
|
@@ -82,7 +82,9 @@ const webIdlBrandSymbol = (() => {
|
|
|
82
82
|
return undefined;
|
|
83
83
|
try {
|
|
84
84
|
const sample = new URL("https://example.com");
|
|
85
|
-
|
|
85
|
+
const keys = ownKeys(sample);
|
|
86
|
+
for (let index = 0; index < keys.length; index++) {
|
|
87
|
+
const key = keys[index];
|
|
86
88
|
if (typeof key !== "symbol")
|
|
87
89
|
continue;
|
|
88
90
|
const descriptor = getOwnPropertyDescriptor(sample, key);
|
|
@@ -100,6 +102,17 @@ const nativeSlotProbeName = "x-veryfront-brand-probe";
|
|
|
100
102
|
const noArguments = [];
|
|
101
103
|
const nativeSlotProbeArguments = [nativeSlotProbeToken];
|
|
102
104
|
const nativeSlotProbeNameArguments = [nativeSlotProbeName];
|
|
105
|
+
const structuredCloneTransferIteratorResult = freeze({ done: true, value: undefined });
|
|
106
|
+
const structuredCloneEmptyTransferIterator = freeze({
|
|
107
|
+
next: () => structuredCloneTransferIteratorResult,
|
|
108
|
+
});
|
|
109
|
+
const structuredCloneEmptyTransferList = freeze(defineProperty([], Symbol.iterator, {
|
|
110
|
+
configurable: false,
|
|
111
|
+
enumerable: false,
|
|
112
|
+
value: () => structuredCloneEmptyTransferIterator,
|
|
113
|
+
writable: false,
|
|
114
|
+
}));
|
|
115
|
+
const structuredCloneOptions = freeze({ transfer: structuredCloneEmptyTransferList });
|
|
103
116
|
function hasNativeSlot(value, method, args = noArguments) {
|
|
104
117
|
if (method === undefined)
|
|
105
118
|
return false;
|
|
@@ -124,7 +137,10 @@ function hasOnlyOwnDataProperties(value) {
|
|
|
124
137
|
catch {
|
|
125
138
|
return false;
|
|
126
139
|
}
|
|
127
|
-
for (
|
|
140
|
+
for (let index = 0; index < keys.length; index++) {
|
|
141
|
+
const key = keys[index];
|
|
142
|
+
if (key === undefined)
|
|
143
|
+
return false;
|
|
128
144
|
const descriptor = getOwnPropertyDescriptor(value, key);
|
|
129
145
|
if (descriptor === undefined || !hasOwn(descriptor, "value"))
|
|
130
146
|
return false;
|
|
@@ -134,7 +150,11 @@ function hasOnlyOwnDataProperties(value) {
|
|
|
134
150
|
function hasOnlyShallowCloneSafeOwnData(value) {
|
|
135
151
|
if (!isReflectableValue(value))
|
|
136
152
|
return false;
|
|
137
|
-
|
|
153
|
+
const keys = ownKeys(value);
|
|
154
|
+
for (let index = 0; index < keys.length; index++) {
|
|
155
|
+
const key = keys[index];
|
|
156
|
+
if (key === undefined)
|
|
157
|
+
return false;
|
|
138
158
|
const descriptor = getOwnPropertyDescriptor(value, key);
|
|
139
159
|
if (descriptor === undefined || !hasOwn(descriptor, "value"))
|
|
140
160
|
return false;
|
|
@@ -152,7 +172,7 @@ function hasUnsupportedNativeClone(value) {
|
|
|
152
172
|
return false;
|
|
153
173
|
}
|
|
154
174
|
try {
|
|
155
|
-
structuredCloneValue
|
|
175
|
+
apply(structuredCloneValue, dntShim.dntGlobalThis, [value, structuredCloneOptions]);
|
|
156
176
|
return false;
|
|
157
177
|
}
|
|
158
178
|
catch (error) {
|
|
@@ -194,7 +214,7 @@ function snapshotNativeBrandChecks(value) {
|
|
|
194
214
|
return undefined;
|
|
195
215
|
}
|
|
196
216
|
const snapshot = createObject(null);
|
|
197
|
-
|
|
217
|
+
const requiredCheckNames = [
|
|
198
218
|
"isAsyncFunction",
|
|
199
219
|
"isBoxedPrimitive",
|
|
200
220
|
"isNativeError",
|
|
@@ -203,7 +223,11 @@ function snapshotNativeBrandChecks(value) {
|
|
|
203
223
|
"isUint8Array",
|
|
204
224
|
"isWeakMap",
|
|
205
225
|
"isWeakSet",
|
|
206
|
-
]
|
|
226
|
+
];
|
|
227
|
+
for (let index = 0; index < requiredCheckNames.length; index++) {
|
|
228
|
+
const key = requiredCheckNames[index];
|
|
229
|
+
if (key === undefined)
|
|
230
|
+
return undefined;
|
|
207
231
|
const check = readOwnDataFunction(value, key);
|
|
208
232
|
if (!check)
|
|
209
233
|
return undefined;
|
|
@@ -215,7 +239,10 @@ function snapshotNativeBrandChecks(value) {
|
|
|
215
239
|
});
|
|
216
240
|
}
|
|
217
241
|
const nonPlainBuiltinChecks = createObject(null);
|
|
218
|
-
for (
|
|
242
|
+
for (let index = 0; index < nonPlainBuiltinCheckNames.length; index++) {
|
|
243
|
+
const key = nonPlainBuiltinCheckNames[index];
|
|
244
|
+
if (key === undefined)
|
|
245
|
+
return undefined;
|
|
219
246
|
const check = readOwnDataFunction(value, key);
|
|
220
247
|
if (check) {
|
|
221
248
|
defineProperty(nonPlainBuiltinChecks, key, {
|
|
@@ -242,7 +269,10 @@ function snapshotNativeBrandChecks(value) {
|
|
|
242
269
|
// path, so keep this aggregate check hook-free by stopping here.
|
|
243
270
|
if (apply(proxyCheck, undefined, [candidate]) === true)
|
|
244
271
|
return false;
|
|
245
|
-
for (
|
|
272
|
+
for (let index = 0; index < nonPlainBuiltinCheckNames.length; index++) {
|
|
273
|
+
const key = nonPlainBuiltinCheckNames[index];
|
|
274
|
+
if (key === undefined)
|
|
275
|
+
return false;
|
|
246
276
|
const check = nonPlainBuiltinChecks[key];
|
|
247
277
|
if (check && apply(check, undefined, [candidate]) === true)
|
|
248
278
|
return true;
|
|
@@ -12,4 +12,8 @@ export declare function primordialArrayIndexOf<T>(values: readonly T[], value: T
|
|
|
12
12
|
export declare function primordialArraySplice<T>(values: T[], start: number, count: number): T[];
|
|
13
13
|
export declare function primordialArrayPush<T>(values: T[], value: T): void;
|
|
14
14
|
export declare function primordialArraySort<T>(values: T[], compare: (left: T, right: T) => number): T[];
|
|
15
|
+
/** Copy a trusted array range without species, iterator, or slice hooks. */
|
|
16
|
+
export declare function primordialArraySlice<T>(values: readonly T[], start?: number, end?: number): T[];
|
|
17
|
+
/** Flatten array results without consulting mutable array traversal hooks. */
|
|
18
|
+
export declare function primordialArrayFlatMap<T, U>(values: readonly T[], callback: (value: T, index: number) => readonly U[]): U[];
|
|
15
19
|
//# sourceMappingURL=array.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"array.d.ts","sourceRoot":"","sources":["../../../../../src/src/platform/compat/primordials/array.ts"],"names":[],"mappings":"AAoBA,4EAA4E;AAC5E,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI,CAOhF;AAED,+EAA+E;AAC/E,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,CAAC,CAa1E;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EACjC,MAAM,EAAE,SAAS,CAAC,EAAE,EACpB,KAAK,EAAE,MAAM,GACZ,CAAC,GAAG,SAAS,CAEf;AAED,wBAAgB,qBAAqB,CAAC,CAAC,EACrC,MAAM,EAAE,SAAS,CAAC,EAAE,EACpB,SAAS,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,CAAC,EAAE,KAAK,OAAO,GACnE,CAAC,EAAE,CASL;AAED,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,SAAS,OAAO,EAAE,EAC1B,SAAS,EAAE,MAAM,GAChB,MAAM,CAER;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,CAAC,EACrC,MAAM,EAAE,SAAS,CAAC,EAAE,EACpB,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,CAAC,EAAE,KAAK,CAAC,GAC5D,CAAC,EAAE,CASL;AAED,wBAAgB,k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CAAC,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,EAAE,KAAK,SAAI,EAAE,GAAG,SAAgB,GAAG,CAAC,EAAE,CAkBjG;AAED,8EAA8E;AAC9E,wBAAgB,sBAAsB,CAAC,CAAC,EAAE,CAAC,EACzC,MAAM,EAAE,SAAS,CAAC,EAAE,EACpB,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,SAAS,CAAC,EAAE,GAClD,CAAC,EAAE,CAWL"}
|
|
@@ -110,3 +110,39 @@ export function primordialArrayPush(values, value) {
|
|
|
110
110
|
export function primordialArraySort(values, compare) {
|
|
111
111
|
return ReflectApply(ArrayPrototypeSort, values, [compare]);
|
|
112
112
|
}
|
|
113
|
+
/** Copy a trusted array range without species, iterator, or slice hooks. */
|
|
114
|
+
export function primordialArraySlice(values, start = 0, end = values.length) {
|
|
115
|
+
const length = values.length;
|
|
116
|
+
const bound = (index) => {
|
|
117
|
+
const integer = index !== index ? 0 : index - (index % 1 || 0);
|
|
118
|
+
if (integer < 0)
|
|
119
|
+
return integer + length < 0 ? 0 : integer + length;
|
|
120
|
+
return integer > length ? length : integer;
|
|
121
|
+
};
|
|
122
|
+
const first = bound(start);
|
|
123
|
+
const last = bound(end);
|
|
124
|
+
const count = last > first ? last - first : 0;
|
|
125
|
+
const result = [];
|
|
126
|
+
result.length = count;
|
|
127
|
+
for (let index = 0; index < count; index++) {
|
|
128
|
+
if (hasOwnIndex(values, first + index)) {
|
|
129
|
+
primordialArraySet(result, index, values[first + index]);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
return result;
|
|
133
|
+
}
|
|
134
|
+
/** Flatten array results without consulting mutable array traversal hooks. */
|
|
135
|
+
export function primordialArrayFlatMap(values, callback) {
|
|
136
|
+
const result = [];
|
|
137
|
+
const length = values.length;
|
|
138
|
+
for (let index = 0; index < length; index++) {
|
|
139
|
+
if (!hasOwnIndex(values, index))
|
|
140
|
+
continue;
|
|
141
|
+
const entries = callback(values[index], index);
|
|
142
|
+
for (let entryIndex = 0; entryIndex < entries.length; entryIndex++) {
|
|
143
|
+
if (hasOwnIndex(entries, entryIndex))
|
|
144
|
+
primordialArrayPush(result, entries[entryIndex]);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
return result;
|
|
148
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"outbound-fetch.d.ts","sourceRoot":"","sources":["../../../../src/src/security/http/outbound-fetch.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"outbound-fetch.d.ts","sourceRoot":"","sources":["../../../../src/src/security/http/outbound-fetch.ts"],"names":[],"mappings":"AAkBA,OAAO,EAGL,KAAK,iBAAiB,EAEtB,KAAK,iBAAiB,EACtB,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EAC1B,MAAM,mCAAmC,CAAC;AAE3C,eAAO,MAAM,iCAAiC,yCAAyC,CAAC;AACxF,eAAO,MAAM,0CAA0C,qDACH,CAAC;AAYrD,KAAK,iBAAiB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,UAAU,CAAC,CAAC;AAElF,qBAAa,2BAA4B,SAAQ,KAAK;IAC3C,IAAI,SAAiC;CAC/C;AAED,MAAM,WAAW,2BAA2B;IAC1C,2EAA2E;IAC3E,YAAY,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAClD,4EAA4E;IAC5E,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE,oBAAoB,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACtE,yEAAyE;IACzE,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;CAClC;AAED,6EAA6E;AAC7E,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,iBAAiB,CAAC;IACzB,WAAW,CAAC,EAAE,uBA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CAAC,CAAC,EAC7D,SAAS,EAAE,sBAAsB,EACjC,EAAE,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,EACpB,OAAO,GAAE;IAAE,wBAAwB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;CAAO,GAC7D,OAAO,CAAC,CAAC,CAAC,CAOZ;AAED;;;;;;GAMG;AACH;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,WAAW,GAAG,GAAG,EAAE,IAAI,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,QAAQ,CAAC,CAEhG;AAED,wBAAsB,oBAAoB,CACxC,KAAK,EAAE,WAAW,GAAG,GAAG,EACxB,IAAI,CAAC,EAAE,WAAW,EAClB,OAAO,GAAE,2BAAgC,GACxC,OAAO,CAAC,QAAQ,CAAC,CAEnB;AAED;;;;;;;;;GASG;AACH,wBAAsB,qCAAqC,CACzD,KAAK,EAAE,WAAW,GAAG,GAAG,EACxB,IAAI,CAAC,EAAE,WAAW,EAClB,OAAO,GAAE,2BAAgC,GACxC,OAAO,CAAC,QAAQ,CAAC,CAiBnB;AAED;;;;GAIG;AACH,wBAAgB,8BAA8B,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,KAAK,CAE5E;AAED;;;;;;;;;GASG;AACH,wBAAgB,0CAA0C,CACxD,OAAO,EAAE,MAAM,EACf,mBAAmB,CAAC,EAAE,MAAM,IAAI,GAC/B,OAAO,KAAK,CAQd;AAED,mGAAmG;AACnG,wBAAgB,uCAAuC,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,KAAK,CASrF;AAED,gGAAgG;AAChG,wBAAgB,0CAA0C,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,KAAK,CAExF"}
|
|
@@ -8,6 +8,7 @@ import { allPrivatePromises, chainPrivatePromise } from "../private-promise.js";
|
|
|
8
8
|
* `fetch` directly. It reuses the DNS-pinned sandbox transport so validation
|
|
9
9
|
* and connection establishment cannot be separated by a DNS-rebinding window.
|
|
10
10
|
*/
|
|
11
|
+
import { isHostHttpApiOrigin } from "../../config/host-api-base.js";
|
|
11
12
|
import { getHostEnv } from "../../platform/compat/process.js";
|
|
12
13
|
import { getHostEnvExcludingEnvFile } from "../../platform/compat/process/env.js";
|
|
13
14
|
import { createFileSystem } from "../../platform/compat/fs.js";
|
|
@@ -462,7 +463,8 @@ function createOriginBoundFetchWithTransport(baseUrl, transport, allowHostIntern
|
|
|
462
463
|
}
|
|
463
464
|
const baseOrigin = readNativeURLString(base, URLOriginGet);
|
|
464
465
|
const allowInternalEgress = allowHostInternalEgress ||
|
|
465
|
-
(allowOperatorVeryfrontApiOrigin &&
|
|
466
|
+
(allowOperatorVeryfrontApiOrigin &&
|
|
467
|
+
(isOperatorVeryfrontApiOrigin(baseOrigin) || isHostHttpApiOrigin(baseUrl))) ||
|
|
466
468
|
isHostAllowedInternalProviderOrigin(base);
|
|
467
469
|
// A primitive, not the URL object: passing `base` itself as the second URL()
|
|
468
470
|
// argument would coerce it through a possibly-replaced URL.prototype.toString.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"private-promise.d.ts","sourceRoot":"","sources":["../../../src/src/security/private-promise.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"private-promise.d.ts","sourceRoot":"","sources":["../../../src/src/security/private-promise.ts"],"names":[],"mappings":"AAqHA,oEAAoE;AACpE,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,CAAC,EACtC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,EACnB,SAAS,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,EAC3C,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,GACjD,OAAO,CAAC,CAAC,CAAC,CAEZ;AAED,+EAA+E;AAC/E,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAExE;AAED,uEAAuE;AACvE,wBAAgB,qBAAqB,IAAI,OAAO,CAAC,IAAI,CAAC,CAErD;AAED,yFAAyF;AACzF,wBAAgB,qBAAqB,CAAC,CAAC,KAAK,oBAAoB,CAAC,CAAC,CAAC,CAElE;AAED,0FAA0F;AAC1F,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,QAAQ,EAAE,SAAS,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,OAAO,CAAC,CAAC,EAAE,CAAC,CAuBnF"}
|
|
@@ -78,6 +78,10 @@ function createChain(promise, fulfilled, rejected) {
|
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
80
|
class PrivatePromise extends NativePromise {
|
|
81
|
+
constructor(executor) {
|
|
82
|
+
// Forward directly: a default subclass constructor may traverse mutable array iterators.
|
|
83
|
+
super(executor);
|
|
84
|
+
}
|
|
81
85
|
static get [species]() {
|
|
82
86
|
return PrivatePromise;
|
|
83
87
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"worker-egress-guard.d.ts","sourceRoot":"","sources":["../../../../src/src/security/sandbox/worker-egress-guard.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,OAAO,KAAK,OAAO,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"worker-egress-guard.d.ts","sourceRoot":"","sources":["../../../../src/src/security/sandbox/worker-egress-guard.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,OAAO,KAAK,OAAO,MAAM,wBAAwB,CAAC;AA2HlD,eAAO,MAAM,mCAAmC,2CAA2C,CAAC;AAC5F,eAAO,MAAM,wCAAwC,4CAA4C,CAAC;AAElG,qBAAa,wBAAyB,SAAQ,KAAK;IACxC,IAAI,SAA8B;CAC5C;AAiBD;;;;;GAKG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,OAA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AC;CACxB;AAED,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,wBAAwB,CAAC;IACjC,KAAK,IAAI,IAAI,CAAC;IACd,6EAA6E;IAC7E,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;CACvB;AA8FD,wBAAgB,uBAAuB,CACrC,OAAO,GAAE,wBAA6B,EACtC,eAAe,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,GAC7C,kBAAkB,CAuMpB;AAED,wBAAsB,oBAAoB,CACxC,cAAc,EAAE,OAAO,CAAC,IAAI,CAAC,cAAc,EAC3C,OAAO,GAAE,wBAA6B,EACtC,eAAe,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,GAC7C,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAqB/B;AAED,wBAAsB,uBAAuB,CAC3C,cAAc,EAAE,OAAO,CAAC,IAAI,CAAC,iBAAiB,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,kBAAkB,CAAC,EACnH,OAAO,GAAE,wBAA6B,EACtC,eAAe,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,GAC7C,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAsC/B;AAED,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,iCAAiC,GACzC,IAAI,CA0DN"}
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
*/
|
|
22
22
|
import * as dntShim from "../../../_dnt.shims.js";
|
|
23
23
|
import { defineOwnDataProperty } from "../own-data-property.js";
|
|
24
|
+
import { addAbortSignalListenerOnce, getAbortSignalReason, isAbortSignalAborted, removeAbortSignalListener, } from "../../platform/compat/abort-signal.js";
|
|
24
25
|
import { chainPrivatePromise, createPrivateDeferred, resolvePrivatePromise, } from "../private-promise.js";
|
|
25
26
|
import { getHostEnv } from "../../platform/compat/process.js";
|
|
26
27
|
import { DnsPermissionError, resolveHostAddresses } from "../../platform/compat/dns.js";
|
|
@@ -468,18 +469,18 @@ function waitForOperation(operation, signal) {
|
|
|
468
469
|
return operation;
|
|
469
470
|
const completion = createPrivateDeferred();
|
|
470
471
|
const { resolve, reject } = completion;
|
|
471
|
-
const onAbort = () => reject(signal
|
|
472
|
-
if (signal
|
|
472
|
+
const onAbort = () => reject(getAbortSignalReason(signal) ?? new DOMException("Aborted", "AbortError"));
|
|
473
|
+
if (isAbortSignalAborted(signal)) {
|
|
473
474
|
onAbort();
|
|
474
475
|
}
|
|
475
476
|
else {
|
|
476
|
-
signal
|
|
477
|
+
addAbortSignalListenerOnce(signal, onAbort);
|
|
477
478
|
}
|
|
478
479
|
void chainPrivatePromise(operation, (value) => {
|
|
479
|
-
signal
|
|
480
|
+
removeAbortSignalListener(signal, onAbort);
|
|
480
481
|
resolve(value);
|
|
481
482
|
}, (error) => {
|
|
482
|
-
signal
|
|
483
|
+
removeAbortSignalListener(signal, onAbort);
|
|
483
484
|
reject(error);
|
|
484
485
|
});
|
|
485
486
|
return completion.promise;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version-constant.d.ts","sourceRoot":"","sources":["../../../src/src/utils/version-constant.ts"],"names":[],"mappings":"AAEA,4BAA4B;AAC5B,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version-constant.d.ts","sourceRoot":"","sources":["../../../src/src/utils/version-constant.ts"],"names":[],"mappings":"AAEA,4BAA4B;AAC5B,eAAO,MAAM,OAAO,aAAa,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veryfront/ext-content-mdx",
|
|
3
|
-
"version": "0.1.1271
|
|
3
|
+
"version": "0.1.1271",
|
|
4
4
|
"description": "Veryfront first-party extension package for ext-content-mdx",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"veryfront",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@types/hast": "3.0.3",
|
|
54
54
|
"@types/mdast": "4.0.3",
|
|
55
55
|
"@types/unist": "3.0.2",
|
|
56
|
-
"@veryfront/ext-parser-babel": "0.1.1271
|
|
56
|
+
"@veryfront/ext-parser-babel": "0.1.1271",
|
|
57
57
|
"acorn": "8.17.0",
|
|
58
58
|
"acorn-jsx": "5.3.2",
|
|
59
59
|
"github-slugger": "2.0.0",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"vfile": "6.0.3"
|
|
83
83
|
},
|
|
84
84
|
"peerDependencies": {
|
|
85
|
-
"veryfront": "^0.1.1271
|
|
85
|
+
"veryfront": "^0.1.1271"
|
|
86
86
|
},
|
|
87
87
|
"type": "module",
|
|
88
88
|
"types": "./esm/extensions/ext-content-mdx/src/index.d.ts",
|
|
@@ -92,5 +92,5 @@
|
|
|
92
92
|
"NOTICE",
|
|
93
93
|
"README.md"
|
|
94
94
|
],
|
|
95
|
-
"gitHead": "
|
|
95
|
+
"gitHead": "48e040987859350ca028ed696b8774ca092d1846"
|
|
96
96
|
}
|