{"record":{"id":"d3c68ecf45882194","repo":"oxc-project/oxc","slug":"specifier-name-not-found-in-deeply-imported-na","errorCode":null,"errorMessage":"{specifier_name:?} not found in deeply imported namespace {namespace_name:?}.","messagePattern":"(.+?) not found in deeply imported namespace (.+?)\\.","errorType":"validation","errorClass":"OxcDiagnostic","httpStatus":null,"severity":"error","filePath":"crates/oxc_linter/src/rules/import/namespace.rs","lineNumber":32,"sourceCode":"use crate::{\n    context::LintContext,\n    module_record::{ExportExportName, ExportImportName, ImportImportName, ModuleRecord},\n    rule::{DefaultRuleConfig, Rule},\n};\n\nfn no_export(span: Span, specifier_name: &str, namespace_name: &str) -> OxcDiagnostic {\n    OxcDiagnostic::warn(format!(\n        \"{specifier_name:?} not found in imported namespace {namespace_name:?}.\"\n    ))\n    .with_label(span)\n}\n\nfn no_export_in_deeply_imported_namespace(\n    span: Span,\n    specifier_name: &str,\n    namespace_name: &str,\n) -> OxcDiagnostic {\n    OxcDiagnostic::warn(format!(\n        \"{specifier_name:?} not found in deeply imported namespace {namespace_name:?}.\"\n    ))\n    .with_label(span)\n}\n\nfn computed_reference(span: Span, namespace_name: &str) -> OxcDiagnostic {\n    OxcDiagnostic::warn(format!(\n        \"Unable to validate computed reference to imported namespace {namespace_name:?}.\"\n    ))\n    .with_help(\"Use a static property access (e.g. `namespace.name`) instead of a computed one.\")\n    .with_label(span)\n}\n\nfn assignment(span: Span, namespace_name: &str) -> OxcDiagnostic {\n    OxcDiagnostic::warn(format!(\"Assignment to member of namespace {namespace_name:?}.'\"))\n        .with_help(\"Imported namespace members are read-only. Assign to a local variable instead.\")\n        .with_label(span)\n}","sourceCodeStart":14,"sourceCodeEnd":50,"githubUrl":"https://github.com/oxc-project/oxc/blob/e1e7af627c8843ab64044ed466b128fcc21a035b/crates/oxc_linter/src/rules/import/namespace.rs#L14-L50","documentation":"Fires from import/namespace (with deep checking) when a property is accessed through a chained/intermediate namespace re-export (e.g. ns.inner.foo) and the name is absent from that inner namespace's exports. Emitted by no_export_in_deeply_imported_namespace during deep namespace traversal of nodes and object patterns.","triggerScenarios":"Thrown at crates/oxc_linter/src/rules/import/namespace.rs:32 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Fix the name accessed on the nested namespace","Add the missing export to the intermediate module","Import the symbol directly from the module that defines it"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"e1e7af627c8843ab64044ed466b128fcc21a035b","analyzedAt":"2026-08-20T07:01:07.079Z","contentChangedAt":"2026-08-20T07:01:07.079Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}