Parked: design issues that would need a major
Les mainteneurs répondent en général sous 4 jours
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 10/100
- Type d'issue
- Refactorisation
- Clarté
- À clarifier
- Activité
- Active
- Stack technique
- javascript
- Domaine
- backend-api-design
Piste de recherche
This issue is a parking list for several possible breaking changes to the selector AST and parsing model, and says no major release is planned. Read the linked issues (#14, #135, #189, #202, #204, and #228) to understand each use case; the issue gives no implementation entry point or acceptance criteria. Work is complete only if a concrete blocking use case motivates taking an item out of the parking list and its breaking change is accepted for a major release.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
These issues all describe the same kind of change: the AST or the parsing model would have to change in a way that cannot ship in a minor. None of them breaks working code today, and none has attracted a single reaction in the years they have been open, so they are collected here rather than kept individually open.
- #14,
:nth-child(2n + 1)parses the+as a combinator. TheAn+B of Smicrosyntax would need its own representation. - #135, an API to report whether a selector uses non-standard syntax, which also implies a strict parsing mode.
- #189, a comment between two compound selectors lands in
rawsrather than in the AST, soh2 /*c*/ h4andh2/*c*/h4disagree. - #202,
:foo()with empty arguments produces a questionable child shape. - #204,
//comments reach this parser as selector text. Arguablypostcss-scssshould strip them before they get here. - #228, a semantic equality check, so that
:is(a, b)and:is(b, a)compare equal.
There is no major planned. This is a parking list, not a roadmap. The package is maintained for the tooling that depends on it, and the bar for a breaking AST change is a concrete problem that cannot be solved any other way.
If one of these blocks you, comment on it with a real use case and it can be taken back out.
- Langage dominant
- JavaScript
- Étoiles
- 217
- Forks
- 89
- Merge moyen
- 2 j 1 h
- PR mergées (30 j)
- 2
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de postcss/postcss-selector-parser
-
Difficulté 3/5 1-2 jours Accessibilité débutants 62/100
postcss/postcss-selector-parser#370 ·
Les mainteneurs répondent en général sous 4 jours
-
Misparsed attribute selectorPeut-être pris @Ultroncn l’a pris il y a 8 jours. Ouverte
Difficulté 3/5 1-2 jours Accessibilité débutants 56/100
postcss/postcss-selector-parser#366 ·
Les mainteneurs répondent en général sous 4 jours
-
[tentative] Add support for `.foo-*` class prefix selectorsPeut-être à nouveau libre @MoOx l’a pris il y a 111 jours, et aucune pull request n’est ouverte. Ouverte
postcss/postcss-selector-parser#332 · 1 réaction · 2 personnes assignées ·
Les mainteneurs répondent en général sous 4 jours
-
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
postcss/postcss-selector-parser#251 · 8 commentaires ·
Les mainteneurs répondent en général sous 4 jours
-
Wrong source and sourceIndex for Sass interpolated selectorsPeut-être à nouveau libre Une pull request pour cette issue a été fermée sans être fusionnée. Ouverte
Difficulté 3/5 1-2 jours Accessibilité débutants 48/100
postcss/postcss-selector-parser#243 ·
Les mainteneurs répondent en général sous 4 jours
Toutes les issues de postcss/postcss-selector-parser
Issues similaires
-
fix: the live capture mode of check-native-browser.mjs ignores PLAYWRIGHT_CHROMIUM_EXECUTABLEOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
Forrest-Technologies/drover#1040 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
Les mainteneurs répondent en général sous 1 jour
-
good first issue help wanted
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
erkamyaman/rust-anything#702 ·
Les mainteneurs répondent en général sous 1 jour
-
enhancement good first issue
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
-
good first issue help wanted
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
erkamyaman/unslop-anything#231 ·
Les mainteneurs répondent en général sous 1 jour