Skip to content

Change package namespaces and names to be lowercased #299

@calvinrp

Description

@calvinrp

Currently, in the docs and corresponding tooling, package namespaces and names can include a mix of lowercased and uppercased characters, such as MY-namespace:some-PACKAGE is valid.

As we are looking at publishing packages to registries, supporting mixed case names adds, perhaps, unnecessary complexity. It would be best to support whatever is valid in the component model specification. If there isn't a good reason to support mixed case for namespaces and package names, we should consider changing the spec to require lowercase characters only.

Relevant sections that I spotted in the docs:
https://github.com/WebAssembly/component-model/blob/main/design/mvp/Explainer.md#import-and-export-definitions
https://github.com/WebAssembly/component-model/blob/main/design/mvp/Binary.md#type-definitions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions