Skip to content

Baseline data incorrect in npm package #2762

Open
@nzakas

Description

@nzakas

It looks like the npm package collapses all features in a single YAML file and just uses the baseline status at the top. This results in incorrect baseline status for features where some of the features are low while others are high.

For example, overflow is a baseline high status according to this file (in the comments, not at the top):
https://github.com/web-platform-dx/web-features/blob/main/features/overflow-shorthand.yml.dist

However, in the npm package, it's listed as baseline low. Here's a printout:
https://gist.github.com/nzakas/5bbc9eab6900d1e401208fa7bcf49500#file-css-web-features-json-L6962-L7004

This problem makes it difficult to perform validation based on baseline status.

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