Phase 4 — Permission-gated HTTP fetch op: - op_fetch with net permission check on every request - globalThis.fetch() wrapper with .json()/.text() methods - Supports GET/POST/PUT/DELETE with headers and body Phase 5 — Module loader: - WfeModuleLoader resolving npm: → esm.sh, https://, file://, relative paths - All resolution paths permission-checked - Bare path resolution (/) for esm.sh sub-module redirects - Dynamic import rejection unless permissions.dynamic_import: true - esm.sh auto-added to net allowlist when modules declared Mandatory npm integration test (is-number via esm.sh). 25 new tests. 133 total deno tests, 326 total workspace tests.
34 lines
998 B
TOML
34 lines
998 B
TOML
[package]
|
|
name = "wfe-yaml"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
description = "YAML workflow definitions for WFE"
|
|
|
|
[features]
|
|
default = []
|
|
deno = ["deno_core", "deno_error", "url", "reqwest"]
|
|
|
|
[dependencies]
|
|
wfe-core = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
serde_yaml = { workspace = true }
|
|
async-trait = { workspace = true }
|
|
tokio = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tracing = { workspace = true }
|
|
regex = { workspace = true }
|
|
deno_core = { workspace = true, optional = true }
|
|
deno_error = { workspace = true, optional = true }
|
|
url = { workspace = true, optional = true }
|
|
reqwest = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
pretty_assertions = { workspace = true }
|
|
tokio = { workspace = true, features = ["test-util", "process"] }
|
|
tokio-util = "0.7"
|
|
wfe-core = { workspace = true, features = ["test-support"] }
|
|
wfe = { path = "../wfe" }
|
|
wiremock = { workspace = true }
|
|
tempfile = { workspace = true }
|