Compare commits

..

1 commit

241 changed files with 679 additions and 79277 deletions

2
.gitignore vendored
View file

@ -5,5 +5,3 @@ _*.png
*.bak
*.tmp
.claude/settings.local.json
# Feedback-Daten der Companion-App (vom feedback.php-Collector geschrieben, nicht versionieren)
04_Tablet-Quiz/app/feedback-data/

View file

@ -11,8 +11,7 @@
> - **Action-Stein entfällt** — die Action Card liegt flach an der aktuellen Station;
> die App führt die Reihenfolge, die gestellten Figuren markieren „wir sind hier".
> - **Gate-Tore + Gate-Karten entfallen** — ein Gate ist ein **roter Puck**; Keeper,
> Artefakte und Auflösung laufen über die App (die entscheidende Rolle bleibt als
> Marker am Gate-Puck stehen).
> Artefakte und Auflösung laufen über App + Entscheidungs-Chips.
> - **Aktiv-Feld** ist jetzt **quadratisch (2×2: R|A / C|I)**.
> - Neu: **Phasen-Ring** — zusammengesteckt die SLC-Übersicht, auseinandergenommen
> die farbigen Phasen-Köpfe der Bahn (Design-Segment = Start).
@ -92,7 +91,7 @@ Die **Etikett-Kurzbezeichnung** (ID + Name) und die **App-Auflösung** werden be
Ein Gate ist ein **roter Puck** (Etikett `G1`/`G2`/`G3` + Entscheidungs-Icon). Die
Pflicht-Figuren werden in seine Figurenmulden gestellt; sonst „öffnet" das Gate
nicht. Entscheidungspfade (in der App): **Go / Go mit Auflagen / Zurück / Ablehnung**
nicht. Entscheidungspfade als Chips: **Go / Go mit Auflagen / Zurück / Ablehnung**
(exakt die im Blueprint dokumentierten Pfade). Gate 1 verzweigt zusätzlich
**Entwicklung (tr_02)** vs. **Konfiguration (tr_05)**.
@ -130,15 +129,14 @@ formcodiert. Figuren werden **gestellt, nicht gesteckt**; es gibt **zwei** Orte:
**R | A** (oben) und **C | I** (unten). Die beteiligten Rollen werden zusätzlich in
die passende RACI-Zone gestellt — sichtbar wird nicht nur *wer*, sondern *in welcher
Verantwortung*. **A** hat genau einen Platz (genau eine Rolle accountable).
Didaktische Gewichtung (Frank): **R und A** sind die Pflicht und unbedingt zu
durchdenken (obere Zeile R | A), **C und I** sind ergänzend / nice-to-have.
Alle Standfelder sind Ø 22 (gleich wie die Puck-Mulden — dieselben Ø-20-Figuren).
Details & Designvarianten: [`../02_Spielfiguren/`](../02_Spielfiguren/).
### 5.4 Weitere Karten
- **Artefakte A1A15 + Service-Akte (App):** Was an einer Aktivität entsteht (15 konsolidierte Artefakte). Erzeugte Artefakte werden **in der App** bestimmt (Choice) und in der digitalen **Service-Akte** gesammelt; „lebende" Artefakte (Service-Definition, Problem Record, Wissensdatenbank) werden mehrfach befüllt. **Harte Gate-Kopplung:** Ein Gate gibt die Entscheidung erst frei, wenn die geforderten Artefakte gesammelt sind (Gate 1: A2·A3·A4 usw.). Details: [`../03_Karten/`](../03_Karten/).
### 5.4 Weitere Karten & Chips
- **Artefaktkarten + Service-Akte:** Was an einer Aktivität entsteht (15 konsolidierte Artefakte A1A15). Erzeugte Artefakte kommen als Karte in die **Service-Akte** (Tableau neben der aktuellen Station); „lebende" Artefakte (Service-Definition, Problem Record, Wissensdatenbank) werden über einen **Status-Marker** mehrfach befüllt. **Gate-Kopplung:** Ein Gate öffnet nur, wenn die geforderten Artefakte in der Akte liegen (Gate 1: SDD + Implementation Blueprint usw.). Details: [`../03_Karten/`](../03_Karten/).
- **Störungskarten:** Gegenstück zu Action Cards (Incident-Welle, Sicherheitsvorfall, Budgetkürzung, Eskalation) — zwingen in die Operation↔Support-Schleife oder über ein Gate zurück.
- **Entscheidungs-Chips:** Go / Go mit Auflagen / Zurück / Ablehnung.
- **DPM-Rücklauf-Karte:** markiert am Review-Ende, wenn der Service als Redesign/Retirement zurück in den Demand-Lifecycle geht.
- **„Unklar"-Marker:** rote Punkte für Verständnislücken (→ Dokumentation).
@ -170,14 +168,14 @@ Schwach beantwortete Stationen werden protokolliert (→ Abschnitt 8). MVP-Scope
1. Was passiert hier konkret für dieses Szenario?
2. Wer macht es (Rolle, RACI)? → die genannten **Figuren an den Puck stellen** und
zusätzlich ins **Aktiv-Feld** in die passende R/A/C/I-Zone.
3. Welches Artefakt entsteht? → in der **App auswählen** (Artefakt-Schritt); es
wandert in die digitale **Service-Akte**.
3. Welches Artefakt entsteht? → erzeugte **Artefaktkarte in die Service-Akte**
legen (bzw. Status-Marker eines bestehenden Artefakts weiterschieben).
Dann **App-Quiz** zur Station → **Auflösung in der App** → Gruppe reflektiert /
gleicht ab. Danach Aktiv-Feld leeren und zur **nächsten Station** weiterziehen
(App schaltet weiter, Action Card mitnehmen).
5. **Gates:** Diskussion, Pflicht-Figuren an den Gate-Puck stellen; die **App prüft die
geforderten Artefakte** (fehlen sie, bleibt die Entscheidung gesperrt),
Entscheidung in der App treffen, weiterziehen.
5. **Gates:** Diskussion, Pflicht-Figuren an den Gate-Puck stellen, **geforderte
Artefakte in der Service-Akte prüfen** (sonst öffnet das Gate nicht),
Entscheidungs-Chip wählen, weiterziehen.
6. **Schleife:** Störungskarten und Support-Phase durchspielen, bis Review erreicht ist.
7. **Review-Entscheidung:** Improvement / Redesign (rv_05) / Retirement (rv_06) — Redesign & Retirement geben den Service über die DPM-Rücklauf-Karte ab.
8. **Debrief:** Logbuch & Reflexion (→ [`../05_Workshop-Dokumentation/`](../05_Workshop-Dokumentation/)).

View file

@ -1,72 +0,0 @@
# Review-Phase — Arbeitsstand (Vorschlag Frank)
**Status:** Arbeitsstand **für den Workshop** · **nicht** im Blueprint-YAML · **nicht**
kanonisch ins Konzept übernommen (vor Übernahme mit **Michael** rückkoppeln).
**Quelle:** E-Mail Frank · **Logik:** Change-Enablement (analog YASM).
> **Wo schon übernommen (Workshop-Material):** Companion-App (`04_Tablet-Quiz/app/`,
> Review = rv_01rv_05), `01_3D-Druck/materialliste.md` (**36** Station-Pucks / **39**
> Positionen) und die **`board-layout`-Skizze**. **Bewusst NICHT geändert:**
> `service-lifecycle_*.yaml` (Single Source of Truth) und das **kanonische Konzept**
> (`README_konzept.md`, Phasen-Tabelle zeigt weiter 6/40) — vor Übernahme mit
> **Michael** abstimmen.
## Die 5 vorgeschlagenen Aktivitäten
1. **Durchführen von Service-Reviews**
- KPIs & Monitoring auswerten, Problems & Incidents auswerten, Kundenfeedback sammeln/einholen
- Bewerten der zugrunde liegenden Infrastruktur
- Service-Review-Dokument ausfüllen
2. **Bewertung der Review-Ergebnisse**
- RFC erstellen (Normal- bzw. Major-Change)
- Berichte (wenn nötig) an die SOR weiterleiten
- Ergebnisse in der SOR ganzheitlich bewerten
3. **Definieren von Service-Änderungen**
- passende Änderungsvorschläge formulieren
- Vorschläge bewerten & konsolidieren
- ausgewählte Änderung beschreiben
4. **Starten von Service-Änderungen**
- Normal Change: Planung der Umsetzung
- Major Change: Routing klären (RUN / DPM / MB?)
- Major Change: „Change-Steckbrief" ausfüllen & weiterleiten
5. **Implementieren von Service-Änderungen**
- Normal & Major (Weg RUN): durchführen, dokumentieren, abschließen durch SO
- Major (Weg DPM): Change geht durch Demand- & Projektprozess
- Major (Weg MB): direkt in den Projektprozess oder Durchführung im RUN
## Abbildung gegenüber dem bisherigen Stand (rv_01rv_06)
| bisher | neu (Frank) |
|--------|-------------|
| rv_01 KPIs/RCA · rv_02 Performance-Review | 1. Service-Reviews durchführen |
| rv_03 SOR-Review | 2. Bewertung (RFC, SOR) |
| rv_04 Service Improvement | 3. Änderungen definieren |
| rv_05 Redesign → DPM | 4./5. Starten/Implementieren (Routing) |
| rv_06 Außerbetriebnahme | *— nicht explizit abgedeckt* |
## Routing & Change-Arten (geklärt)
- **MB = Mission Board** (offener Punkt gelöst). Das SOR-Routing am Change ist:
**RUN** (im Betrieb durch den SO) · **DPM** (über den Demand-Prozess) · **MB**
(Mission Board). **Eskalations-Kriterium:** Reicht die **Ressourcen-/
Entscheidungshoheit der SOR** nicht (z. B. zusätzliches Budget/Mittel), wird der
Change zum **Demand** → über **DPM** ans **Mission Board** (= der DPM-Rücklauf).
- **Change-Arten auf 4 zusammengeführt** (Major · Normal · Standard · Emergency).
Franks frühere *Top-Level/Low-Level*-Unterscheidung ist **Routing/Freigabe-Ebene,
kein Change-Typ** (ITIL 4: „Major" = Normal-Change mit höherer Authority; YASM:
bewusst schlank). In der App umgesetzt: 4 Change-Arten, **24 Action Cards**
(6 Services × 4), klarere Klassifizierung. „Major" nutzt das Top-Level-Beispiel.
→ Workshop-Arbeitsstand (App), **nicht** YAML/kanonisches Konzept.
## Offene Punkte (vor Konzept-/YAML-Übernahme klären)
- **Retirement / Außerbetriebnahme** (bisher rv_06) fehlt — bewusst entfallen oder
unter „Service-Änderung" subsumiert?
- **RACI + Quizfragen** wurden für die App **abgeleitet** (Franks Entwurf nennt nur
die Aktivitäten) — fachlich gegenprüfen.
- **Vokabular** („RFC", „Change-Steckbrief", Routing RUN/DPM/MB) mit den anderen
Phasen und der Rollen-/Gate-YAML abgleichen.
- **Konsequenz Board:** Bahn = **39 statt 40** Positionen (36 Station-Pucks + 3 Gate).
In Workshop-Material (App, materialliste, board-layout) bereits nachgezogen; alle
Pucks sind identische Blanks → faktisch nur **1 Puck weniger / als Reserve**. Das
**kanonische Konzept (`README_konzept.md`) zeigt noch 40** — nach Michael-Freigabe nachziehen.

View file

@ -1,63 +0,0 @@
# 3D-Druckliste — SLC-Game (für den 3D-Produzenten)
**Auflage: 3 komplette Sets/Kits.**
Alle Teile als OpenSCAD/STL im Ordner `01_3D-Druck/openscad/`.
STL erzeugen: jeweilige `.scad` in OpenSCAD öffnen → **F6****Export STL**.
Farbe = Filamentfarbe (Hex-Wert verbindlich).
## 1) Stationschips · Ø40 × 2 mm Vollscheibe · Datei `stationschip-*.scad`
Menge = Stationen × 3 Sets **+ 2 Stück Backup gesamt** (gemeinsamer Puffer, nicht je Set).
| Sorte | Farbe (Hex) | Farbe | STL / SCAD | Stat./Set | ×3 | Backup | **Menge** |
|---|---|---|---|---:|---:|---:|---:|
| Design | `#2f80c9` | blau | `stationschip-design` | 4 | 12 | +2 | **14** |
| Transition | `#e8862b` | orange | `stationschip-transition` | 9 | 27 | +2 | **29** |
| Operation | `#2f9e57` | grün | `stationschip-operation` | 7 | 21 | +2 | **23** |
| Support | `#18a9a0` | türkis | `stationschip-support` | 11 | 33 | +2 | **35** |
| Review | `#8358c6` | lila | `stationschip-review` | 5 | 15 | +2 | **17** |
| Entscheidung / Gate | `#e2001a` | rot | `stationschip-entscheidung` | 3 | 9 | +2 | **11** |
| | | | | **39** | **117** | **+12** | **129** |
**Gesamt: 129 Stationschips.**
> Hinweis zur Aufteilung: Die 3 „Gate"-Stationen (tr1, tr9, tr12) laufen als **Entscheidung (rot)**,
> deshalb hat Transition 9 statt 12/Set. Stationszahlen aus `puck-etiketten.csv`. Falls die Gates
> stattdessen orange (Transition) sein sollen: Transition 14/Set-Basis, Entscheidung 0 — kurz Bescheid geben.
## 2) Boards / Konsolen · Ø200 × 20 mm · je 3 Stück (1 pro Set)
| Teil | Farbe (Hex) | STL / SCAD | **Menge** |
|---|---|---|---:|
| Board Design | `#2f80c9` | `board-design` | 3 |
| Board Transition | `#e8862b` | `board-transition` | 3 |
| Board Operation | `#2f9e57` | `board-operation` | 3 |
| Board Support | `#18a9a0` | `board-support` | 3 |
| Board Review | `#8358c6` | `board-review` | 3 |
| Gate-Board (mit „ENTSCHEIDUNG") | `#e2001a` | `gate-board-text` | 3 |
| | | | **18** |
## 3) Phasenmodell (Ring, 5 Einzelteile) · Segmente Ø300, 5 mm dick · je 3 Stück (1 pro Set)
| Teil | Farbe (Hex) | STL / SCAD | **Menge** |
|---|---|---|---:|
| Segment Design | `#2f80c9` | `phasenmodell-design` | 3 |
| Segment Transition | `#e8862b` | `phasenmodell-transition` | 3 |
| Segment Operation | `#2f9e57` | `phasenmodell-operation` | 3 |
| Segment Support | `#18a9a0` | `phasenmodell-support` | 3 |
| Segment Review | `#8358c6` | `phasenmodell-review` | 3 |
| | | | **15** |
## Zusammenfassung Mengen je Filamentfarbe (alle Teile)
| Farbe (Hex) | Chips | Boards | Phasenmodell | **Teile gesamt** |
|---|---:|---:|---:|---:|
| `#2f80c9` Design-blau | 14 | 3 | 3 | **20** |
| `#e8862b` Transition-orange | 29 | 3 | 3 | **35** |
| `#2f9e57` Operation-grün | 23 | 3 | 3 | **29** |
| `#18a9a0` Support-türkis | 35 | 3 | 3 | **41** |
| `#8358c6` Review-lila | 17 | 3 | 3 | **23** |
| `#e2001a` Gate-rot | 11 | 3 (Gate-Board) | | **14** |
| **Gesamt** | **129** | **18** | **15** | **162** |
*(Backup nur bei Chips berücksichtigt, wie vorgegeben. Boards/Phasenmodell ohne Backup — bei Bedarf ergänzen.)*

View file

@ -1,109 +0,0 @@
# Puck-Redesign — Status & Übergabe (RACI-Konsolen-Board)
**Stand:** 2026-06-09 · Wiedereinstieg-Doku speziell für das **3D-Board-Redesign**
(App-/Spielstand steht in `../PROJEKTSTAND.md`).
## Worum geht's
Statt 40 Pucks ein **rundes „Konsolen"-Board** als RACI-Station: zentrale Acryl-Chip-Mulde
(Stations-ID, pro Zug getauscht), Sockel-Ring für Figuren, Card-Halter. Layout wird in
**Illustrator** gebaut und **1:1 nach OpenSCAD** übertragen.
## Quell-Layouts (Single Source of Truth)
- `Puck_ohne_Text.svg`**Phasen-/RACI-Puck** (blau), MIT 4 Trennlinien.
- `Puck_Entscheidung_ohne_Text.svg`**Sonderpuck / Gate-Entscheidung** (rot),
**identische Geometrie, aber OHNE die 4 Trennlinien**.
### SVG→mm-Umrechnung (falls neu konvertiert wird)
viewBox 566,93 = 200 mm → **× 0,35278 mm/Unit**; Mittelpunkt **(283,47 / 283,47)**;
y spiegeln (SVG y zeigt nach unten). So wurden alle Maße unten gewonnen.
## Gebaut & geprüft
`openscad/raci-board.scad`**1:1 aus `Puck_ohne_Text.svg`**, rendert fehlerfrei,
**manifold („Simple: yes")**, STL-fertig (OpenSCAD → F6 → Export STL).
**Maße (Z laut Vorgabe):**
- Board **Ø200 × 20 mm**, Innenfläche Ø190 → Rand 5 mm, **Außenkante rundgebogen abfallend**.
- Mittelmulde **Ø50 × 2,5 mm**; Ring drumherum **Ø64**, 2 mm breit, graviert 2,5 mm.
- **11 Sockel Ø32,6** (= Ø32 aus SVG + 0,6 Spiel) × 2,5 mm tief, an exakten SVG-Positionen.
- **4 Trennlinien** 2 mm breit, graviert 2,5 mm, bei **105,5° / 73,3° / 57,3° / 123,5°**.
- **Kartenschlitz** 70 × 5 mm, **15 mm tief**, oben (y ≈ +85 mm), gerade.
- Sektoren: **unten 1 · rechts 4 · oben 2 · links 4** (= 11).
## Gebaut & geprüft (Sonderpuck / Gate)
- `openscad/gate-board.scad`**1:1 aus `Puck_Entscheidung_ohne_Text.svg`**, manifold, STL-fertig.
Identisch zum RACI-Board, nur **ohne Trennlinien** und in **Gate-Rot (#e2001a)**.
- `openscad/gate-board-text.scad`**1:1 aus `Puck_Entscheidung_mit_Text.svg`**, manifold (geprüft).
Wie oben + **„ENTSCHEIDUNG" als Wort im Kreis** um die Mulde (Original-Font als Pfade,
`txt_gate.svg`), von der Oberseite graviert **2,5 mm**.
## Gebaut & geprüft (5 Phasen-Boards mit Original-Schrift) ← FINAL
Quelle: die 5 SVGs `Puck_Design/Transition/Operation/Support/Review.svg` (Schrift als **Pfade**,
Font „Neulis Neue"). Vorgehen: parametrische 3D-Geometrie wie oben **+ Text aus SVG importiert**
(`import()`), graviert **2,5 mm**. RACI-Mapping: **R oben · A unten · C links · I rechts**;
Phasenname mittig in der Mulde.
- **`openscad/board-common.scad`** — gemeinsame Geometrie + Gravur-Logik (Modul `phase_board`).
- **`openscad/board-<phase>.scad`** — 5 dünne Wrapper, je mit richtiger Farbe:
- `board-design.scad`**#2f80c9**
- `board-transition.scad`**#e8862b**
- `board-operation.scad`**#2f9e57**
- `board-support.scad`**#18a9a0**
- `board-review.scad`**#8358c6**
- **Text-SVGs** (in `openscad/`, von `import()` genutzt): `txt_raci.svg` (R/A/C/I, in allen gleich,
graviert von der **Oberseite**) + `word_<phase>.svg` (Phasenname, graviert in den **Mulden-Boden**).
- Alle 5 gerendert; `board-design` als STL geprüft → **manifold**. STL: jeweils `board-<phase>.scad` öffnen → F6 → Export.
- **Wichtig (OpenSCAD 2021.01):** `import()` respektiert `width=200mm`; Board-Mitte liegt bei
(100,100), daher `translate([-100,-100])` in `board-common.scad`. Kein zusätzliches `scale()`.
- **Manifold-Fix:** importierte SVG-Pfade extrudieren beim F6/CGAL sonst zu „mesh not closed"
(Gravur fällt im STL weg). Lösung: `svg2d()` schickt den Import durch ein `offset`-Roundtrip
(`offset(delta=0.02) offset(delta=-0.02)`, Clipper) → saubere Konturen. Geprüft: Gate + Transition
**Simple: yes** (Vertices steigen, d. h. Text ist wirklich im STL).
### Überholte Zwischenstände (können bleiben/weg)
- `raci-board.scad` (Blank, ohne Text) — Geometrie-Referenz.
- `raci-board-text.scad` — Beschriftung via OpenSCAD-Font (Liberation Sans); durch die
SVG-Import-Variante mit Original-Font **ersetzt**.
## Gebaut & geprüft (Phasenmodell — 5 Einzelteile) ← FINAL
Quelle: `phasenmodell.svg` (300×300 mm, 5-Segment-Ring/„Windrad", Phasennamen + Icons als **Pfade**).
Jedes Teil = sein Segment-Umriss extrudiert **5 mm**, minus die gesamte Text+Icon-Gravur (1,2 mm);
nur was auf dem Segment liegt, schneidet → kein Aufteilen nötig.
- **`openscad/phasenmodell-common.scad`** — Modul `phase_part(seg_svg, col)` (Dicke/Tiefe als Parameter).
- **`openscad/phasenmodell-<phase>.scad`** — 5 Einzelteile, je mit Projekt-Phasenfarbe:
design #2f80c9 · transition #e8862b · operation #2f9e57 · support #18a9a0 · review #8358c6.
- **`openscad/phasenmodell-alle.scad`** — Zusammenbau-Vorschau (alle 5, nicht zum Druck).
- **SVGs** (in `openscad/`): `seg_<phase>.svg` (5 Segment-Umrisse) + `pm_engrave.svg` (alle
Phasennamen + alle Icons als Pfade, gemeinsam graviert).
- **Segment→Phase→Farbe** (aus Icon-IDs + Position bestätigt): cls-4/oben-links=Design,
cls-5/oben-rechts=Transition, cls-3/rechts=Operation, cls-1/links=Support, cls-6/unten=Review.
- **Geometrie:** Ring Ø300 außen, Ø~200 Innenloch; Doku-Mitte (150,150) → `translate([-150,-150])`.
- **Manifold-Fix:** die Icon-Pfade (Zahnrad etc.) haben Selbstüberschneidungen; der 0,02-mm-
Offset (wie bei den Pucks) reicht hier NICHT → in `phasenmodell-common.scad` ist der
`svg2d()`-Offset auf **0,1 mm** erhöht. Damit `phasenmodell-design` STL → **Simple: yes**.
- Alle 5 gerendert (Vorschau ok); `phasenmodell-design` als STL geprüft → **manifold**.
## Gebaut (Stationschips) ← FINAL
Quelle: `stationschip.svg` (Ø40-Kreis). Chip = **Ø40 × 2 mm Vollscheibe**, liegt in der Ø50-Mulde;
Avery-Rundetikett (`puck-etiketten.csv`) kommt oben drauf.
- **`openscad/stationschip-common.scad`** — Modul `chip(col)`.
- **`openscad/stationschip-<sorte>.scad`** — 6 farbige Wrapper (design/transition/operation/
support/review/entscheidung), Farben = Projekt-Palette + Gate `#e2001a`.
- **Auflage: 3 komplette Sets/Kits** (alles ×3). Chips: Stationen×3 **+2 Backup gesamt** je Sorte →
Design 14 · Transition 29 · Operation 23 · Support 35 · Review 17 · Entscheidung 11 = **129 Chips**.
Boards je ×3 (18 gesamt), Phasenmodell-Segmente je ×3 (15 gesamt). Gates (tr1/9/12) = rot/Entscheidung.
- **Druckliste für den Produzenten:** `01_3D-Druck/3D-Druckliste.md` (Chips + Boards + Phasenmodell,
inkl. Mengen je Filamentfarbe).
## Offene Punkte / nächste Schritte
1. **Sockel-Spiel** Ø32,6 bestätigen (sonst exakt Ø32).
2. **Optional:** Greifkerbe an der Chip-Mulde (Chip-Wechsel); Kartenschlitz-Neigung.
3. **Druck:** 5 Phasen-Boards in Farbe + 1 **roter Gate-Puck** (`gate-board.scad`) = 6 Stück
(H2D, ≤300×300; Ø200 passt).
4. **Commit** der aktuellen Dateien steht noch aus.
## Verworfen / geparkt
- **Blender** (`blender/raci-board.py`) — User: „Vollkatastrophe"; **OpenSCAD ist der Weg**.
Datei kann gelöscht oder als „geparkt" belassen werden.
- **Nano-Banana → Meshy** (`blender/nano-banana-prompts.md`) — nur **Optik-Referenz**,
nicht maßhaltig; für das druckbare Teil zählt OpenSCAD.

File diff suppressed because one or more lines are too long

View file

@ -1,63 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Ebene_1" data-name="Ebene 1" xmlns="http://www.w3.org/2000/svg" width="200mm" height="200mm" viewBox="0 0 566.93 566.93">
<defs>
<style>
.cls-1 {
fill: #0071bc;
}
.cls-2, .cls-3 {
fill: #2e3192;
}
.cls-4, .cls-5 {
fill: #3fa9f5;
}
.cls-5 {
stroke-width: 5.67px;
}
.cls-5, .cls-3 {
stroke: #0071bc;
stroke-miterlimit: 10;
}
.cls-3 {
stroke-width: 5.67px;
}
</style>
</defs>
<path class="cls-1" d="M283.54,17.01c35.61,0,70.19,6.92,102.78,20.58,31.52,13.21,59.89,32.13,84.32,56.25,24.45,24.13,43.75,52.26,57.36,83.62,14.09,32.46,21.46,67.01,21.9,102.71.45,35.98-6.17,70.95-19.65,103.96-13.03,31.89-31.89,60.62-56.06,85.4-24.17,24.78-52.43,44.34-83.99,58.15-32.66,14.3-67.47,21.77-103.44,22.21-1.12.01-2.25.02-3.37.02-35.62,0-70.2-6.92-102.79-20.58-31.52-13.2-59.89-32.13-84.32-56.24-24.45-24.13-43.74-52.26-57.36-83.62-14.09-32.46-21.46-67.02-21.9-102.72-.45-35.98,6.17-70.95,19.65-103.96,13.03-31.89,31.89-60.62,56.06-85.4,24.17-24.78,52.43-44.34,83.99-58.15,32.66-14.3,67.47-21.77,103.44-22.21,1.12-.01,2.25-.02,3.37-.02h0M283.54,0c-1.19,0-2.39,0-3.58.02C123.42,1.96-1.92,130.43.02,286.97c1.92,155.35,128.45,279.96,283.37,279.96,1.19,0,2.39,0,3.58-.02,156.54-1.94,281.87-130.41,279.93-286.95C564.99,124.61,438.45,0,283.54,0h0Z"/>
<circle class="cls-4" cx="283.47" cy="283.47" r="269.29"/>
<circle class="cls-1" cx="286.1" cy="496.05" r="45.35"/>
<circle class="cls-1" cx="400.61" cy="460.88" r="45.35"/>
<circle class="cls-1" cx="477.93" cy="369.38" r="45.35"/>
<circle class="cls-1" cx="493.51" cy="250.61" r="45.35"/>
<circle class="cls-1" cx="442.4" cy="142.26" r="45.35"/>
<circle class="cls-1" cx="337.37" cy="98.19" r="45.35"/>
<circle class="cls-1" cx="233.22" cy="98.19" r="45.35"/>
<circle class="cls-1" cx="121.08" cy="146.24" r="45.35"/>
<circle class="cls-1" cx="72.67" cy="255.82" r="45.35"/>
<circle class="cls-1" cx="91.19" cy="374.17" r="45.35"/>
<circle class="cls-1" cx="170.75" cy="463.72" r="45.35"/>
<line class="cls-3" x1="281.52" y1="282.55" x2="211.98" y2="543.82"/>
<line class="cls-3" x1="285.45" y1="283.66" x2="361.73" y2="541.96"/>
<line class="cls-3" x1="289.31" y1="283.47" x2="429.32" y2="57.06"/>
<line class="cls-3" x1="288.31" y1="282.27" x2="134.98" y2="58.22"/>
<circle class="cls-5" cx="285.05" cy="282.29" r="90.69" transform="translate(-3.47 3.55) rotate(-.71)"/>
<circle class="cls-1" cx="285.06" cy="283.56" r="70.87"/>
<rect class="cls-1" x="181.26" y="38.59" width="198.43" height="5.67" transform="translate(-.49 3.47) rotate(-.71)"/>
<path class="cls-1" d="M269.84,137.22h18.42c7.98,0,14.04,5.82,14.04,13.56,0,6.24-4.08,11.1-9.96,12.6l2.88,4.14c1.56,2.22,3.66,3.3,6.24,3.3h1.68v7.8h-2.58c-6.06,0-10.38-2.34-13.08-7.2l-4.74-7.56h-4.62v14.76h-8.28v-41.4ZM278.12,145.02v11.64h9.96c3.24,0,5.7-2.52,5.7-5.82s-2.46-5.82-5.7-5.82h-9.96Z"/>
<path class="cls-1" d="M280.89,385.96h9.78l15.9,41.4h-9.06l-2.94-8.04h-17.82l-2.88,8.04h-8.94l15.96-41.4ZM291.75,411.7l-6.06-16.62-6.12,16.62h12.18Z"/>
<path class="cls-1" d="M138.79,281.68c0-12.18,9.36-21.42,21.84-21.42,10.5,0,18.9,6.72,20.82,16.14h-8.76c-1.68-4.86-6.42-8.16-12.06-8.16-7.62,0-13.38,5.76-13.38,13.44s5.76,13.44,13.38,13.44c5.64,0,10.38-3.3,12.06-8.16h8.76c-1.92,9.42-10.32,16.14-20.82,16.14-12.48,0-21.84-9.24-21.84-21.42Z"/>
<path class="cls-1" d="M401.24,260.98h8.28v41.4h-8.28v-41.4Z"/>
<g>
<path class="cls-2" d="M247.41,275.43h5.67c4.22,0,7.39,3.11,7.39,7.24s-3.17,7.24-7.39,7.24h-5.67v-14.49ZM250.31,278.16v9.03h2.71c2.56,0,4.47-1.93,4.47-4.51s-1.91-4.51-4.47-4.51h-2.71Z"/>
<path class="cls-2" d="M262.7,275.43h9.53v2.73h-6.63v3.11h5.94v2.73h-5.94v3.19h6.74v2.73h-9.64v-14.49Z"/>
<path class="cls-2" d="M273.83,285.63h2.98c0,1.09,1.09,1.95,2.48,1.95,1.28,0,2.33-.69,2.33-1.68,0-2.54-7.56-1.41-7.56-6.34,0-2.67,2.27-4.39,5.12-4.39s5.19,1.87,5.19,4.35h-2.98c0-1.01-.97-1.76-2.25-1.76-1.13,0-2.1.61-2.1,1.57,0,2.58,7.56,1.22,7.56,6.24,0,2.79-2.35,4.6-5.33,4.6s-5.44-1.97-5.44-4.54Z"/>
<path class="cls-2" d="M286.79,275.43h2.9v14.49h-2.9v-14.49Z"/>
<path class="cls-2" d="M291.91,282.67c0-4.26,3.28-7.5,7.64-7.5,3.4,0,6.24,2,7.08,4.81h-3.23c-.78-1.24-2.18-2.02-3.84-2.02-2.67,0-4.68,2.02-4.68,4.7s2.02,4.7,4.68,4.7c2.08,0,3.67-1.22,4.22-2.98h-3.76v-2.62h6.89v8.15h-2.46v-2.18c-1.01,1.6-2.69,2.44-4.89,2.44-4.37,0-7.64-3.23-7.64-7.5Z"/>
<path class="cls-2" d="M309.4,275.43h2.94l6.59,9.53v-9.53h2.9v14.49h-2.94l-6.59-9.53v9.53h-2.9v-14.49Z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 4.5 KiB

View file

@ -1,62 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Ebene_1" data-name="Ebene 1" xmlns="http://www.w3.org/2000/svg" width="200mm" height="200mm" viewBox="0 0 566.93 566.93">
<defs>
<style>
.cls-1 {
fill: #c1272d;
}
.cls-2, .cls-3 {
fill: #ed1c24;
}
.cls-3 {
stroke: #c1272d;
stroke-miterlimit: 10;
stroke-width: 5.67px;
}
</style>
</defs>
<path class="cls-1" d="M283.54,17.01c35.61,0,70.19,6.92,102.78,20.58,31.52,13.21,59.89,32.13,84.32,56.25,24.45,24.13,43.75,52.26,57.36,83.62,14.09,32.46,21.46,67.01,21.9,102.71.45,35.98-6.17,70.95-19.65,103.96-13.03,31.89-31.89,60.62-56.06,85.4-24.17,24.78-52.43,44.34-83.99,58.15-32.66,14.3-67.47,21.77-103.44,22.21-1.12.01-2.25.02-3.37.02-35.62,0-70.2-6.92-102.79-20.58-31.52-13.2-59.89-32.13-84.32-56.24-24.45-24.13-43.74-52.26-57.36-83.62-14.09-32.46-21.46-67.02-21.9-102.72-.45-35.98,6.17-70.95,19.65-103.96,13.03-31.89,31.89-60.62,56.06-85.4,24.17-24.78,52.43-44.34,83.99-58.15,32.66-14.3,67.47-21.77,103.44-22.21,1.12-.01,2.25-.02,3.37-.02h0M283.54,0c-1.19,0-2.39,0-3.58.02C123.42,1.96-1.92,130.43.02,286.97c1.92,155.35,128.45,279.96,283.37,279.96,1.19,0,2.39,0,3.58-.02,156.54-1.94,281.87-130.41,279.93-286.95C564.99,124.61,438.45,0,283.54,0h0Z"/>
<circle class="cls-2" cx="283.47" cy="283.47" r="269.29"/>
<circle class="cls-1" cx="285.56" cy="496.02" r="45.35"/>
<circle class="cls-1" cx="400.08" cy="460.85" r="45.35"/>
<circle class="cls-1" cx="477.4" cy="369.35" r="45.35"/>
<circle class="cls-1" cx="492.98" cy="250.58" r="45.35"/>
<circle class="cls-1" cx="441.87" cy="142.23" r="45.35"/>
<circle class="cls-1" cx="336.84" cy="98.16" r="45.35"/>
<circle class="cls-1" cx="232.69" cy="98.16" r="45.35"/>
<circle class="cls-1" cx="120.55" cy="146.21" r="45.35"/>
<circle class="cls-1" cx="72.14" cy="255.79" r="45.35"/>
<circle class="cls-1" cx="90.65" cy="374.14" r="45.35"/>
<circle class="cls-1" cx="170.21" cy="463.69" r="45.35"/>
<circle class="cls-3" cx="284.52" cy="282.26" r="90.69" transform="translate(-3.47 3.54) rotate(-.71)"/>
<circle class="cls-1" cx="283.47" cy="283.47" r="70.87"/>
<polygon class="cls-1" points="379.15 42.79 180.79 44.93 180.72 39.99 379.08 37.85 379.15 42.79"/>
<g>
<path class="cls-1" d="M417.33,288.2l-1.81,17.9-5.13-.52,1.26-12.46-5.84-.59-1.13,11.16-5.13-.52,1.13-11.16-5.99-.61-1.28,12.66-5.12-.52,1.83-18.1,27.21,2.76Z"/>
<path class="cls-1" d="M413.77,315.2l-1.8,5.25-21.07,5.92,17.02,5.85-1.78,5.17-25.86-8.89,1.8-5.25,21.07-5.92-17.02-5.85,1.78-5.17,25.86,8.89Z"/>
<path class="cls-1" d="M393.88,348.71l3.98-6.3,4.36,2.75-10.89,17.22-4.36-2.75,3.98-6.3-18.76-11.86,2.92-4.62,18.77,11.86Z"/>
<path class="cls-1" d="M373.79,353.7l-3.89,4.06c-1.49-1.42-4.09-1.06-5.9.83-1.67,1.75-2.1,4.08-.75,5.37,3.46,3.32,11.79-8.47,18.52-2.03,3.64,3.48,3.02,8.82-.71,12.72-3.84,4.01-9.32,4.63-12.7,1.4l3.89-4.07c1.38,1.32,3.67.99,5.34-.76,1.48-1.55,1.91-3.66.6-4.92-3.52-3.37-11.53,8.72-18.37,2.16-3.81-3.65-3.2-9.21.69-13.28,4.06-4.24,9.79-4.84,13.29-1.49Z"/>
<path class="cls-1" d="M360.5,375.52c4.3,6.8,2.35,15.26-4.62,19.67-5.86,3.71-12.92,2.93-17.33-1.65l4.89-3.1c2.65,2.12,6.47,2.28,9.62.29,4.25-2.69,5.43-7.94,2.72-12.23-2.71-4.29-7.97-5.47-12.22-2.77-3.15,1.99-4.63,5.51-3.85,8.82l-4.89,3.1c-2.26-5.94.06-12.66,5.92-16.37,6.97-4.41,15.46-2.56,19.76,4.24Z"/>
<path class="cls-1" d="M335.07,405.87l-5.23,1.6-3.23-10.54-11.6,3.55,3.23,10.54-5.23,1.6-8.01-26.15,5.23-1.6,3.28,10.69,11.6-3.55-3.28-10.69,5.23-1.6,8.01,26.15Z"/>
<path class="cls-1" d="M302.72,414.17l-17.95,1.2-.34-5.14,12.5-.83-.39-5.85-11.19.75-.34-5.14,11.19-.75-.4-6.01-12.69.85-.34-5.14,18.15-1.21,1.82,27.29Z"/>
<path class="cls-1" d="M277.19,414.79l-5.45-.46,2.33-27.26,5.45.47-2.33,27.26Z"/>
<path class="cls-1" d="M262.46,413.48l-10.33-2.8c-7.69-2.08-11.93-9.31-9.89-16.85,2.04-7.54,9.35-11.63,17.04-9.55l10.33,2.8-7.15,26.4ZM258.53,407.08l4.46-16.45-4.93-1.34c-4.67-1.26-9.1,1.31-10.38,6.02-1.27,4.71,1.25,9.17,5.92,10.43l4.94,1.34Z"/>
<path class="cls-1" d="M238.67,388.84l-8.28,14.59-4.76-2.7,8.24-14.52c1.64-2.9.72-6.34-2.21-8-2.93-1.66-6.36-.69-8,2.21l-8.24,14.52-4.76-2.7,8.28-14.59c3.11-5.48,9.7-7.21,15.32-4.03,5.62,3.19,7.51,9.73,4.4,15.22Z"/>
<path class="cls-1" d="M202.29,386.01l-3.98-3.87,3.62-21.58-12.55,12.91-3.92-3.82,19.07-19.61,3.98,3.87-3.62,21.58,12.55-12.9,3.92,3.81-19.07,19.61Z"/>
<path class="cls-1" d="M190.86,355.12c-6.96,4.04-15.34,1.76-19.49-5.37-3.23-5.55-2.66-12.07,1.14-16.11l3.07,5.28c-1.29,2.44-1.22,5.48.35,8.19,2.53,4.35,7.73,5.73,12.12,3.18,4.39-2.55,5.77-7.75,3.24-12.11-1.97-3.39-5.47-4.84-8.87-4.06l3.57,6.14-4.29,2.49-6.53-11.25,13.3-7.73,2.33,4.01-3.57,2.07c3.56.13,6.53,2.08,8.62,5.68,4.14,7.13,1.97,15.55-4.99,19.59Z"/>
<path class="cls-1" d="M155.07,264.63l3.72-17.61,5.04,1.07-2.59,12.25,5.74,1.21,2.32-10.97,5.04,1.06-2.32,10.98,5.9,1.25,2.63-12.45,5.04,1.06-3.76,17.8-26.76-5.65Z"/>
<path class="cls-1" d="M161.47,238.16l2.35-5.03,21.58-3.64-16.3-7.63,2.32-4.96,24.78,11.59-2.35,5.03-21.58,3.65,16.3,7.63-2.32,4.96-24.78-11.6Z"/>
<path class="cls-1" d="M184.83,206.96l-4.63,5.84-4.04-3.2,12.67-15.96,4.04,3.2-4.63,5.84,17.39,13.8-3.4,4.29-17.39-13.8Z"/>
<path class="cls-1" d="M205.33,204.17l4.31-3.63c1.33,1.58,3.95,1.49,5.95-.2,1.85-1.56,2.52-3.84,1.32-5.26-3.09-3.67-12.62,7.17-18.63.04-3.25-3.85-2.07-9.1,2.06-12.57,4.24-3.58,9.76-3.61,12.78-.04l-4.31,3.63c-1.23-1.46-3.54-1.37-5.39.19-1.64,1.38-2.29,3.43-1.11,4.83,3.14,3.73,12.4-7.44,18.5-.19,3.4,4.03,2.2,9.5-2.11,13.13-4.49,3.78-10.25,3.77-13.37.07Z"/>
<path class="cls-1" d="M220.89,183.88c-3.56-7.22-.71-15.43,6.68-19.07,6.22-3.07,13.16-1.54,17.05,3.48l-5.19,2.56c-2.42-2.39-6.19-2.96-9.53-1.31-4.52,2.22-6.25,7.32-4,11.87,2.24,4.55,7.34,6.28,11.86,4.06,3.34-1.65,5.19-4.99,4.76-8.36l5.19-2.56c1.61,6.14-1.4,12.58-7.62,15.65-7.4,3.65-15.64.91-19.2-6.31Z"/>
<path class="cls-1" d="M249.39,156.4l5.37-1.04,2.09,10.82,11.91-2.3-2.09-10.82,5.37-1.04,5.19,26.86-5.37,1.04-2.12-10.98-11.91,2.3,2.12,10.98-5.37,1.04-5.19-26.86Z"/>
<path class="cls-1" d="M282.47,151.61l17.98.74-.21,5.15-12.52-.51-.24,5.86,11.21.46-.21,5.15-11.21-.46-.25,6.02,12.71.52-.21,5.15-18.18-.75,1.12-27.33Z"/>
<path class="cls-1" d="M307.92,153.74l5.37,1.05-5.23,26.85-5.37-1.05,5.23-26.85Z"/>
<path class="cls-1" d="M322.37,156.59l9.98,3.87c7.43,2.88,10.89,10.52,8.06,17.8-2.83,7.28-10.53,10.59-17.96,7.7l-9.98-3.87,9.89-25.5ZM325.6,163.38l-6.17,15.89,4.77,1.85c4.51,1.75,9.19-.35,10.96-4.89,1.76-4.54-.28-9.25-4.79-11l-4.77-1.85Z"/>
<path class="cls-1" d="M343.44,183.62l9.8-13.61,4.44,3.2-9.75,13.54c-1.94,2.7-1.4,6.22,1.33,8.19,2.74,1.97,6.24,1.37,8.19-1.33l9.75-13.54,4.44,3.2-9.8,13.61c-3.68,5.11-10.42,6.13-15.66,2.35-5.24-3.77-6.42-10.48-2.74-15.6Z"/>
<path class="cls-1" d="M379.29,190.34l3.54,4.27-5.91,21.07,13.86-11.49,3.49,4.21-21.06,17.46-3.54-4.27,5.91-21.07-13.86,11.49-3.49-4.21,21.06-17.46Z"/>
<path class="cls-1" d="M387.36,222.27c7.35-3.28,15.44-.12,18.8,7.41,2.62,5.86,1.36,12.28-2.85,15.9l-2.49-5.58c1.54-2.29,1.79-5.31.52-8.17-2.05-4.6-7.08-6.52-11.71-4.45-4.63,2.07-6.56,7.09-4.51,11.69,1.6,3.58,4.93,5.4,8.39,4.98l-2.89-6.48,4.52-2.02,5.3,11.87-14.04,6.27-1.89-4.23,3.76-1.68c-3.53-.51-6.27-2.76-7.96-6.56-3.36-7.53-.3-15.66,7.04-18.94Z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 7.2 KiB

File diff suppressed because one or more lines are too long

View file

@ -1,36 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Ebene_1" data-name="Ebene 1" xmlns="http://www.w3.org/2000/svg" width="200mm" height="200mm" viewBox="0 0 566.93 566.93">
<defs>
<style>
.cls-1 {
fill: #c1272d;
}
.cls-2, .cls-3 {
fill: #ed1c24;
}
.cls-3 {
stroke: #c1272d;
stroke-miterlimit: 10;
stroke-width: 5.67px;
}
</style>
</defs>
<path class="cls-1" d="M283.54,17.01c35.61,0,70.19,6.92,102.78,20.58,31.52,13.21,59.89,32.13,84.32,56.25,24.45,24.13,43.75,52.26,57.36,83.62,14.09,32.46,21.46,67.01,21.9,102.71.45,35.98-6.17,70.95-19.65,103.96-13.03,31.89-31.89,60.62-56.06,85.4-24.17,24.78-52.43,44.34-83.99,58.15-32.66,14.3-67.47,21.77-103.44,22.21-1.12.01-2.25.02-3.37.02-35.62,0-70.2-6.92-102.79-20.58-31.52-13.2-59.89-32.13-84.32-56.24-24.45-24.13-43.74-52.26-57.36-83.62-14.09-32.46-21.46-67.02-21.9-102.72-.45-35.98,6.17-70.95,19.65-103.96,13.03-31.89,31.89-60.62,56.06-85.4,24.17-24.78,52.43-44.34,83.99-58.15,32.66-14.3,67.47-21.77,103.44-22.21,1.12-.01,2.25-.02,3.37-.02h0M283.54,0c-1.19,0-2.39,0-3.58.02C123.42,1.96-1.92,130.43.02,286.97c1.92,155.35,128.45,279.96,283.37,279.96,1.19,0,2.39,0,3.58-.02,156.54-1.94,281.87-130.41,279.93-286.95C564.99,124.61,438.45,0,283.54,0h0Z"/>
<circle class="cls-2" cx="283.47" cy="283.47" r="269.29"/>
<circle class="cls-1" cx="285.56" cy="496.02" r="45.35"/>
<circle class="cls-1" cx="400.08" cy="460.85" r="45.35"/>
<circle class="cls-1" cx="477.4" cy="369.35" r="45.35"/>
<circle class="cls-1" cx="492.98" cy="250.58" r="45.35"/>
<circle class="cls-1" cx="441.87" cy="142.23" r="45.35"/>
<circle class="cls-1" cx="336.84" cy="98.16" r="45.35"/>
<circle class="cls-1" cx="232.69" cy="98.16" r="45.35"/>
<circle class="cls-1" cx="120.55" cy="146.21" r="45.35"/>
<circle class="cls-1" cx="72.14" cy="255.79" r="45.35"/>
<circle class="cls-1" cx="90.65" cy="374.14" r="45.35"/>
<circle class="cls-1" cx="170.21" cy="463.69" r="45.35"/>
<circle class="cls-3" cx="284.52" cy="282.26" r="90.69" transform="translate(-3.47 3.54) rotate(-.71)"/>
<circle class="cls-1" cx="283.47" cy="283.47" r="70.87"/>
<polygon class="cls-1" points="379.15 42.79 180.79 44.93 180.72 39.99 379.08 37.85 379.15 42.79"/>
</svg>

Before

Width:  |  Height:  |  Size: 2.2 KiB

File diff suppressed because one or more lines are too long

View file

@ -1,66 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Ebene_1" data-name="Ebene 1" xmlns="http://www.w3.org/2000/svg" width="200mm" height="200mm" viewBox="0 0 566.93 566.93">
<defs>
<style>
.cls-1 {
fill: #0071bc;
}
.cls-2, .cls-3 {
fill: #2e3192;
}
.cls-4, .cls-5 {
fill: #3fa9f5;
}
.cls-5 {
stroke-width: 5.67px;
}
.cls-5, .cls-3 {
stroke: #0071bc;
stroke-miterlimit: 10;
}
.cls-3 {
stroke-width: 5.67px;
}
</style>
</defs>
<path class="cls-1" d="M283.54,17.01c35.61,0,70.19,6.92,102.78,20.58,31.52,13.21,59.89,32.13,84.32,56.25,24.45,24.13,43.75,52.26,57.36,83.62,14.09,32.46,21.46,67.01,21.9,102.71.45,35.98-6.17,70.95-19.65,103.96-13.03,31.89-31.89,60.62-56.06,85.4-24.17,24.78-52.43,44.34-83.99,58.15-32.66,14.3-67.47,21.77-103.44,22.21-1.12.01-2.25.02-3.37.02-35.62,0-70.2-6.92-102.79-20.58-31.52-13.2-59.89-32.13-84.32-56.24-24.45-24.13-43.74-52.26-57.36-83.62-14.09-32.46-21.46-67.02-21.9-102.72-.45-35.98,6.17-70.95,19.65-103.96,13.03-31.89,31.89-60.62,56.06-85.4,24.17-24.78,52.43-44.34,83.99-58.15,32.66-14.3,67.47-21.77,103.44-22.21,1.12-.01,2.25-.02,3.37-.02h0M283.54,0c-1.19,0-2.39,0-3.58.02C123.42,1.96-1.92,130.43.02,286.97c1.92,155.35,128.45,279.96,283.37,279.96,1.19,0,2.39,0,3.58-.02,156.54-1.94,281.87-130.41,279.93-286.95C564.99,124.61,438.45,0,283.54,0h0Z"/>
<circle class="cls-4" cx="283.47" cy="283.47" r="269.29"/>
<circle class="cls-1" cx="286.1" cy="496.05" r="45.35"/>
<circle class="cls-1" cx="400.61" cy="460.88" r="45.35"/>
<circle class="cls-1" cx="477.93" cy="369.38" r="45.35"/>
<circle class="cls-1" cx="493.51" cy="250.61" r="45.35"/>
<circle class="cls-1" cx="442.4" cy="142.26" r="45.35"/>
<circle class="cls-1" cx="337.37" cy="98.19" r="45.35"/>
<circle class="cls-1" cx="233.22" cy="98.19" r="45.35"/>
<circle class="cls-1" cx="121.08" cy="146.24" r="45.35"/>
<circle class="cls-1" cx="72.67" cy="255.82" r="45.35"/>
<circle class="cls-1" cx="91.19" cy="374.17" r="45.35"/>
<circle class="cls-1" cx="170.75" cy="463.72" r="45.35"/>
<line class="cls-3" x1="281.52" y1="282.55" x2="211.98" y2="543.82"/>
<line class="cls-3" x1="285.45" y1="283.66" x2="361.73" y2="541.96"/>
<line class="cls-3" x1="289.31" y1="283.47" x2="429.32" y2="57.06"/>
<line class="cls-3" x1="288.31" y1="282.27" x2="134.98" y2="58.22"/>
<circle class="cls-5" cx="285.05" cy="282.29" r="90.69" transform="translate(-3.47 3.55) rotate(-.71)"/>
<circle class="cls-1" cx="285.06" cy="283.56" r="70.87"/>
<rect class="cls-1" x="181.26" y="38.59" width="198.43" height="5.67" transform="translate(-.49 3.47) rotate(-.71)"/>
<path class="cls-1" d="M269.84,137.22h18.42c7.98,0,14.04,5.82,14.04,13.56,0,6.24-4.08,11.1-9.96,12.6l2.88,4.14c1.56,2.22,3.66,3.3,6.24,3.3h1.68v7.8h-2.58c-6.06,0-10.38-2.34-13.08-7.2l-4.74-7.56h-4.62v14.76h-8.28v-41.4ZM278.12,145.02v11.64h9.96c3.24,0,5.7-2.52,5.7-5.82s-2.46-5.82-5.7-5.82h-9.96Z"/>
<path class="cls-1" d="M280.89,385.96h9.78l15.9,41.4h-9.06l-2.94-8.04h-17.82l-2.88,8.04h-8.94l15.96-41.4ZM291.75,411.7l-6.06-16.62-6.12,16.62h12.18Z"/>
<path class="cls-1" d="M138.79,281.68c0-12.18,9.36-21.42,21.84-21.42,10.5,0,18.9,6.72,20.82,16.14h-8.76c-1.68-4.86-6.42-8.16-12.06-8.16-7.62,0-13.38,5.76-13.38,13.44s5.76,13.44,13.38,13.44c5.64,0,10.38-3.3,12.06-8.16h8.76c-1.92,9.42-10.32,16.14-20.82,16.14-12.48,0-21.84-9.24-21.84-21.42Z"/>
<path class="cls-1" d="M401.24,260.98h8.28v41.4h-8.28v-41.4Z"/>
<g>
<path class="cls-2" d="M224.81,282.67c0-4.26,3.28-7.5,7.64-7.5s7.64,3.23,7.64,7.5-3.3,7.5-7.64,7.5-7.64-3.23-7.64-7.5ZM237.12,282.67c0-2.69-2.02-4.7-4.66-4.7s-4.68,2.02-4.68,4.7,2.02,4.7,4.68,4.7,4.66-2.02,4.66-4.7Z"/>
<path class="cls-2" d="M242.31,275.43h6.59c2.81,0,4.98,2.08,4.98,4.83s-2.16,4.83-4.98,4.83h-3.7v4.83h-2.9v-14.49ZM245.21,278.16v4.2h3.63c1.18,0,2.06-.9,2.06-2.1s-.88-2.1-2.06-2.1h-3.63Z"/>
<path class="cls-2" d="M255.79,275.43h9.53v2.73h-6.63v3.11h5.94v2.73h-5.94v3.19h6.74v2.73h-9.64v-14.49Z"/>
<path class="cls-2" d="M267.65,275.43h6.45c2.79,0,4.91,2.04,4.91,4.75,0,2.18-1.43,3.88-3.49,4.41l1.01,1.45c.55.78,1.28,1.16,2.18,1.16h.59v2.73h-.9c-2.12,0-3.63-.82-4.58-2.52l-1.66-2.65h-1.62v5.17h-2.9v-14.49ZM270.55,278.16v4.07h3.49c1.13,0,1.99-.88,1.99-2.04s-.86-2.04-1.99-2.04h-3.49Z"/>
<path class="cls-2" d="M285.55,275.43h3.42l5.56,14.49h-3.17l-1.03-2.81h-6.24l-1.01,2.81h-3.13l5.58-14.49ZM289.35,284.44l-2.12-5.82-2.14,5.82h4.26Z"/>
<path class="cls-2" d="M297.49,278.16h-3.95v-2.73h10.79v2.73h-3.95v11.76h-2.9v-11.76Z"/>
<path class="cls-2" d="M306.36,275.43h2.9v14.49h-2.9v-14.49Z"/>
<path class="cls-2" d="M311.48,282.67c0-4.26,3.28-7.5,7.64-7.5s7.64,3.23,7.64,7.5-3.3,7.5-7.64,7.5-7.64-3.23-7.64-7.5ZM323.79,282.67c0-2.69-2.02-4.7-4.66-4.7s-4.68,2.02-4.68,4.7,2.02,4.7,4.68,4.7,4.66-2.02,4.66-4.7Z"/>
<path class="cls-2" d="M328.97,275.43h2.94l6.59,9.53v-9.53h2.9v14.49h-2.94l-6.59-9.53v9.53h-2.9v-14.49Z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 4.9 KiB

File diff suppressed because one or more lines are too long

View file

@ -1,63 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Ebene_1" data-name="Ebene 1" xmlns="http://www.w3.org/2000/svg" width="200mm" height="200mm" viewBox="0 0 566.93 566.93">
<defs>
<style>
.cls-1 {
fill: #0071bc;
}
.cls-2, .cls-3 {
fill: #2e3192;
}
.cls-4, .cls-5 {
fill: #3fa9f5;
}
.cls-5 {
stroke-width: 5.67px;
}
.cls-5, .cls-3 {
stroke: #0071bc;
stroke-miterlimit: 10;
}
.cls-3 {
stroke-width: 5.67px;
}
</style>
</defs>
<path class="cls-1" d="M283.54,17.01c35.61,0,70.19,6.92,102.78,20.58,31.52,13.21,59.89,32.13,84.32,56.25,24.45,24.13,43.75,52.26,57.36,83.62,14.09,32.46,21.46,67.01,21.9,102.71.45,35.98-6.17,70.95-19.65,103.96-13.03,31.89-31.89,60.62-56.06,85.4-24.17,24.78-52.43,44.34-83.99,58.15-32.66,14.3-67.47,21.77-103.44,22.21-1.12.01-2.25.02-3.37.02-35.62,0-70.2-6.92-102.79-20.58-31.52-13.2-59.89-32.13-84.32-56.24-24.45-24.13-43.74-52.26-57.36-83.62-14.09-32.46-21.46-67.02-21.9-102.72-.45-35.98,6.17-70.95,19.65-103.96,13.03-31.89,31.89-60.62,56.06-85.4,24.17-24.78,52.43-44.34,83.99-58.15,32.66-14.3,67.47-21.77,103.44-22.21,1.12-.01,2.25-.02,3.37-.02h0M283.54,0c-1.19,0-2.39,0-3.58.02C123.42,1.96-1.92,130.43.02,286.97c1.92,155.35,128.45,279.96,283.37,279.96,1.19,0,2.39,0,3.58-.02,156.54-1.94,281.87-130.41,279.93-286.95C564.99,124.61,438.45,0,283.54,0h0Z"/>
<circle class="cls-4" cx="283.47" cy="283.47" r="269.29"/>
<circle class="cls-1" cx="286.1" cy="496.05" r="45.35"/>
<circle class="cls-1" cx="400.61" cy="460.88" r="45.35"/>
<circle class="cls-1" cx="477.93" cy="369.38" r="45.35"/>
<circle class="cls-1" cx="493.51" cy="250.61" r="45.35"/>
<circle class="cls-1" cx="442.4" cy="142.26" r="45.35"/>
<circle class="cls-1" cx="337.37" cy="98.19" r="45.35"/>
<circle class="cls-1" cx="233.22" cy="98.19" r="45.35"/>
<circle class="cls-1" cx="121.08" cy="146.24" r="45.35"/>
<circle class="cls-1" cx="72.67" cy="255.82" r="45.35"/>
<circle class="cls-1" cx="91.19" cy="374.17" r="45.35"/>
<circle class="cls-1" cx="170.75" cy="463.72" r="45.35"/>
<line class="cls-3" x1="281.52" y1="282.55" x2="211.98" y2="543.82"/>
<line class="cls-3" x1="285.45" y1="283.66" x2="361.73" y2="541.96"/>
<line class="cls-3" x1="289.31" y1="283.47" x2="429.32" y2="57.06"/>
<line class="cls-3" x1="288.31" y1="282.27" x2="134.98" y2="58.22"/>
<circle class="cls-5" cx="285.05" cy="282.29" r="90.69" transform="translate(-3.47 3.55) rotate(-.71)"/>
<circle class="cls-1" cx="285.06" cy="283.56" r="70.87"/>
<rect class="cls-1" x="181.26" y="38.59" width="198.43" height="5.67" transform="translate(-.49 3.47) rotate(-.71)"/>
<path class="cls-1" d="M269.84,137.22h18.42c7.98,0,14.04,5.82,14.04,13.56,0,6.24-4.08,11.1-9.96,12.6l2.88,4.14c1.56,2.22,3.66,3.3,6.24,3.3h1.68v7.8h-2.58c-6.06,0-10.38-2.34-13.08-7.2l-4.74-7.56h-4.62v14.76h-8.28v-41.4ZM278.12,145.02v11.64h9.96c3.24,0,5.7-2.52,5.7-5.82s-2.46-5.82-5.7-5.82h-9.96Z"/>
<path class="cls-1" d="M280.89,385.96h9.78l15.9,41.4h-9.06l-2.94-8.04h-17.82l-2.88,8.04h-8.94l15.96-41.4ZM291.75,411.7l-6.06-16.62-6.12,16.62h12.18Z"/>
<path class="cls-1" d="M138.79,281.68c0-12.18,9.36-21.42,21.84-21.42,10.5,0,18.9,6.72,20.82,16.14h-8.76c-1.68-4.86-6.42-8.16-12.06-8.16-7.62,0-13.38,5.76-13.38,13.44s5.76,13.44,13.38,13.44c5.64,0,10.38-3.3,12.06-8.16h8.76c-1.92,9.42-10.32,16.14-20.82,16.14-12.48,0-21.84-9.24-21.84-21.42Z"/>
<path class="cls-1" d="M401.24,260.98h8.28v41.4h-8.28v-41.4Z"/>
<g>
<path class="cls-2" d="M248.22,275.43h6.45c2.79,0,4.91,2.04,4.91,4.75,0,2.18-1.43,3.88-3.49,4.41l1.01,1.45c.55.78,1.28,1.16,2.18,1.16h.59v2.73h-.9c-2.12,0-3.63-.82-4.58-2.52l-1.66-2.65h-1.62v5.17h-2.9v-14.49ZM251.12,278.16v4.07h3.49c1.13,0,2-.88,2-2.04s-.86-2.04-2-2.04h-3.49Z"/>
<path class="cls-2" d="M261.83,275.43h9.53v2.73h-6.63v3.11h5.94v2.73h-5.94v3.19h6.74v2.73h-9.64v-14.49Z"/>
<path class="cls-2" d="M272.47,275.43h3.23l4.03,10.65,4.05-10.65h3.17l-5.75,14.49h-2.98l-5.75-14.49Z"/>
<path class="cls-2" d="M288.6,275.43h2.9v14.49h-2.9v-14.49Z"/>
<path class="cls-2" d="M294.44,275.43h9.53v2.73h-6.63v3.11h5.94v2.73h-5.94v3.19h6.74v2.73h-9.64v-14.49Z"/>
<path class="cls-2" d="M305.15,275.43h3.21l3.23,10.5,3.25-10.5h2.65l3.28,10.5,3.21-10.5h3.11l-4.89,14.49h-2.92l-3.15-10.06-3.11,10.06h-2.94l-4.93-14.49Z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 4.3 KiB

File diff suppressed because one or more lines are too long

View file

@ -1,64 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Ebene_1" data-name="Ebene 1" xmlns="http://www.w3.org/2000/svg" width="200mm" height="200mm" viewBox="0 0 566.93 566.93">
<defs>
<style>
.cls-1 {
fill: #0071bc;
}
.cls-2, .cls-3 {
fill: #2e3192;
}
.cls-4, .cls-5 {
fill: #3fa9f5;
}
.cls-5 {
stroke-width: 5.67px;
}
.cls-5, .cls-3 {
stroke: #0071bc;
stroke-miterlimit: 10;
}
.cls-3 {
stroke-width: 5.67px;
}
</style>
</defs>
<path class="cls-1" d="M283.54,17.01c35.61,0,70.19,6.92,102.78,20.58,31.52,13.21,59.89,32.13,84.32,56.25,24.45,24.13,43.75,52.26,57.36,83.62,14.09,32.46,21.46,67.01,21.9,102.71.45,35.98-6.17,70.95-19.65,103.96-13.03,31.89-31.89,60.62-56.06,85.4-24.17,24.78-52.43,44.34-83.99,58.15-32.66,14.3-67.47,21.77-103.44,22.21-1.12.01-2.25.02-3.37.02-35.62,0-70.2-6.92-102.79-20.58-31.52-13.2-59.89-32.13-84.32-56.24-24.45-24.13-43.74-52.26-57.36-83.62-14.09-32.46-21.46-67.02-21.9-102.72-.45-35.98,6.17-70.95,19.65-103.96,13.03-31.89,31.89-60.62,56.06-85.4,24.17-24.78,52.43-44.34,83.99-58.15,32.66-14.3,67.47-21.77,103.44-22.21,1.12-.01,2.25-.02,3.37-.02h0M283.54,0c-1.19,0-2.39,0-3.58.02C123.42,1.96-1.92,130.43.02,286.97c1.92,155.35,128.45,279.96,283.37,279.96,1.19,0,2.39,0,3.58-.02,156.54-1.94,281.87-130.41,279.93-286.95C564.99,124.61,438.45,0,283.54,0h0Z"/>
<circle class="cls-4" cx="283.47" cy="283.47" r="269.29"/>
<circle class="cls-1" cx="286.1" cy="496.05" r="45.35"/>
<circle class="cls-1" cx="400.61" cy="460.88" r="45.35"/>
<circle class="cls-1" cx="477.93" cy="369.38" r="45.35"/>
<circle class="cls-1" cx="493.51" cy="250.61" r="45.35"/>
<circle class="cls-1" cx="442.4" cy="142.26" r="45.35"/>
<circle class="cls-1" cx="337.37" cy="98.19" r="45.35"/>
<circle class="cls-1" cx="233.22" cy="98.19" r="45.35"/>
<circle class="cls-1" cx="121.08" cy="146.24" r="45.35"/>
<circle class="cls-1" cx="72.67" cy="255.82" r="45.35"/>
<circle class="cls-1" cx="91.19" cy="374.17" r="45.35"/>
<circle class="cls-1" cx="170.75" cy="463.72" r="45.35"/>
<line class="cls-3" x1="281.52" y1="282.55" x2="211.98" y2="543.82"/>
<line class="cls-3" x1="285.45" y1="283.66" x2="361.73" y2="541.96"/>
<line class="cls-3" x1="289.31" y1="283.47" x2="429.32" y2="57.06"/>
<line class="cls-3" x1="288.31" y1="282.27" x2="134.98" y2="58.22"/>
<circle class="cls-5" cx="285.05" cy="282.29" r="90.69" transform="translate(-3.47 3.55) rotate(-.71)"/>
<circle class="cls-1" cx="285.06" cy="283.56" r="70.87"/>
<rect class="cls-1" x="181.26" y="38.59" width="198.43" height="5.67" transform="translate(-.49 3.47) rotate(-.71)"/>
<path class="cls-1" d="M269.84,137.22h18.42c7.98,0,14.04,5.82,14.04,13.56,0,6.24-4.08,11.1-9.96,12.6l2.88,4.14c1.56,2.22,3.66,3.3,6.24,3.3h1.68v7.8h-2.58c-6.06,0-10.38-2.34-13.08-7.2l-4.74-7.56h-4.62v14.76h-8.28v-41.4ZM278.12,145.02v11.64h9.96c3.24,0,5.7-2.52,5.7-5.82s-2.46-5.82-5.7-5.82h-9.96Z"/>
<path class="cls-1" d="M280.89,385.96h9.78l15.9,41.4h-9.06l-2.94-8.04h-17.82l-2.88,8.04h-8.94l15.96-41.4ZM291.75,411.7l-6.06-16.62-6.12,16.62h12.18Z"/>
<path class="cls-1" d="M138.79,281.68c0-12.18,9.36-21.42,21.84-21.42,10.5,0,18.9,6.72,20.82,16.14h-8.76c-1.68-4.86-6.42-8.16-12.06-8.16-7.62,0-13.38,5.76-13.38,13.44s5.76,13.44,13.38,13.44c5.64,0,10.38-3.3,12.06-8.16h8.76c-1.92,9.42-10.32,16.14-20.82,16.14-12.48,0-21.84-9.24-21.84-21.42Z"/>
<path class="cls-1" d="M401.24,260.98h8.28v41.4h-8.28v-41.4Z"/>
<g>
<path class="cls-2" d="M238.62,285.63h2.98c0,1.09,1.09,1.95,2.48,1.95,1.28,0,2.33-.69,2.33-1.68,0-2.54-7.56-1.41-7.56-6.34,0-2.67,2.27-4.39,5.12-4.39s5.19,1.87,5.19,4.35h-2.98c0-1.01-.97-1.76-2.25-1.76-1.13,0-2.1.61-2.1,1.57,0,2.58,7.56,1.22,7.56,6.24,0,2.79-2.35,4.6-5.33,4.6s-5.44-1.97-5.44-4.54Z"/>
<path class="cls-2" d="M251.31,284.31v-8.88h2.9v8.84c0,1.76,1.32,3.11,3.11,3.11s3.11-1.34,3.11-3.11v-8.84h2.9v8.88c0,3.34-2.58,5.86-6,5.86s-6-2.52-6-5.86Z"/>
<path class="cls-2" d="M265.99,275.43h6.59c2.81,0,4.98,2.08,4.98,4.83s-2.16,4.83-4.98,4.83h-3.7v4.83h-2.9v-14.49ZM268.88,278.16v4.2h3.63c1.18,0,2.06-.9,2.06-2.1s-.88-2.1-2.06-2.1h-3.63Z"/>
<path class="cls-2" d="M279.47,275.43h6.59c2.81,0,4.98,2.08,4.98,4.83s-2.16,4.83-4.98,4.83h-3.7v4.83h-2.9v-14.49ZM282.37,278.16v4.2h3.63c1.18,0,2.06-.9,2.06-2.1s-.88-2.1-2.06-2.1h-3.63Z"/>
<path class="cls-2" d="M292.17,282.67c0-4.26,3.28-7.5,7.64-7.5s7.64,3.23,7.64,7.5-3.3,7.5-7.64,7.5-7.64-3.23-7.64-7.5ZM304.48,282.67c0-2.69-2.02-4.7-4.66-4.7s-4.68,2.02-4.68,4.7,2.02,4.7,4.68,4.7,4.66-2.02,4.66-4.7Z"/>
<path class="cls-2" d="M309.67,275.43h6.45c2.79,0,4.91,2.04,4.91,4.75,0,2.18-1.43,3.88-3.49,4.41l1.01,1.45c.55.78,1.28,1.16,2.18,1.16h.59v2.73h-.9c-2.12,0-3.63-.82-4.58-2.52l-1.66-2.65h-1.62v5.17h-2.9v-14.49ZM312.56,278.16v4.07h3.49c1.13,0,1.99-.88,1.99-2.04s-.86-2.04-1.99-2.04h-3.49Z"/>
<path class="cls-2" d="M326.03,278.16h-3.95v-2.73h10.79v2.73h-3.95v11.76h-2.9v-11.76Z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 4.9 KiB

File diff suppressed because one or more lines are too long

View file

@ -1,67 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Ebene_1" data-name="Ebene 1" xmlns="http://www.w3.org/2000/svg" width="200mm" height="200mm" viewBox="0 0 566.93 566.93">
<defs>
<style>
.cls-1 {
fill: #0071bc;
}
.cls-2, .cls-3 {
fill: #2e3192;
}
.cls-4, .cls-5 {
fill: #3fa9f5;
}
.cls-5 {
stroke-width: 5.67px;
}
.cls-5, .cls-3 {
stroke: #0071bc;
stroke-miterlimit: 10;
}
.cls-3 {
stroke-width: 5.67px;
}
</style>
</defs>
<path class="cls-1" d="M283.54,17.01c35.61,0,70.19,6.92,102.78,20.58,31.52,13.21,59.89,32.13,84.32,56.25,24.45,24.13,43.75,52.26,57.36,83.62,14.09,32.46,21.46,67.01,21.9,102.71.45,35.98-6.17,70.95-19.65,103.96-13.03,31.89-31.89,60.62-56.06,85.4-24.17,24.78-52.43,44.34-83.99,58.15-32.66,14.3-67.47,21.77-103.44,22.21-1.12.01-2.25.02-3.37.02-35.62,0-70.2-6.92-102.79-20.58-31.52-13.2-59.89-32.13-84.32-56.24-24.45-24.13-43.74-52.26-57.36-83.62-14.09-32.46-21.46-67.02-21.9-102.72-.45-35.98,6.17-70.95,19.65-103.96,13.03-31.89,31.89-60.62,56.06-85.4,24.17-24.78,52.43-44.34,83.99-58.15,32.66-14.3,67.47-21.77,103.44-22.21,1.12-.01,2.25-.02,3.37-.02h0M283.54,0c-1.19,0-2.39,0-3.58.02C123.42,1.96-1.92,130.43.02,286.97c1.92,155.35,128.45,279.96,283.37,279.96,1.19,0,2.39,0,3.58-.02,156.54-1.94,281.87-130.41,279.93-286.95C564.99,124.61,438.45,0,283.54,0h0Z"/>
<circle class="cls-4" cx="283.47" cy="283.47" r="269.29"/>
<circle class="cls-1" cx="286.1" cy="496.05" r="45.35"/>
<circle class="cls-1" cx="400.61" cy="460.88" r="45.35"/>
<circle class="cls-1" cx="477.93" cy="369.38" r="45.35"/>
<circle class="cls-1" cx="493.51" cy="250.61" r="45.35"/>
<circle class="cls-1" cx="442.4" cy="142.26" r="45.35"/>
<circle class="cls-1" cx="337.37" cy="98.19" r="45.35"/>
<circle class="cls-1" cx="233.22" cy="98.19" r="45.35"/>
<circle class="cls-1" cx="121.08" cy="146.24" r="45.35"/>
<circle class="cls-1" cx="72.67" cy="255.82" r="45.35"/>
<circle class="cls-1" cx="91.19" cy="374.17" r="45.35"/>
<circle class="cls-1" cx="170.75" cy="463.72" r="45.35"/>
<line class="cls-3" x1="281.52" y1="282.55" x2="211.98" y2="543.82"/>
<line class="cls-3" x1="285.45" y1="283.66" x2="361.73" y2="541.96"/>
<line class="cls-3" x1="289.31" y1="283.47" x2="429.32" y2="57.06"/>
<line class="cls-3" x1="288.31" y1="282.27" x2="134.98" y2="58.22"/>
<circle class="cls-5" cx="285.05" cy="282.29" r="90.69" transform="translate(-3.47 3.55) rotate(-.71)"/>
<circle class="cls-1" cx="285.06" cy="283.56" r="70.87"/>
<rect class="cls-1" x="181.26" y="38.59" width="198.43" height="5.67" transform="translate(-.49 3.47) rotate(-.71)"/>
<path class="cls-1" d="M269.84,137.22h18.42c7.98,0,14.04,5.82,14.04,13.56,0,6.24-4.08,11.1-9.96,12.6l2.88,4.14c1.56,2.22,3.66,3.3,6.24,3.3h1.68v7.8h-2.58c-6.06,0-10.38-2.34-13.08-7.2l-4.74-7.56h-4.62v14.76h-8.28v-41.4ZM278.12,145.02v11.64h9.96c3.24,0,5.7-2.52,5.7-5.82s-2.46-5.82-5.7-5.82h-9.96Z"/>
<path class="cls-1" d="M280.89,385.96h9.78l15.9,41.4h-9.06l-2.94-8.04h-17.82l-2.88,8.04h-8.94l15.96-41.4ZM291.75,411.7l-6.06-16.62-6.12,16.62h12.18Z"/>
<path class="cls-1" d="M138.79,281.68c0-12.18,9.36-21.42,21.84-21.42,10.5,0,18.9,6.72,20.82,16.14h-8.76c-1.68-4.86-6.42-8.16-12.06-8.16-7.62,0-13.38,5.76-13.38,13.44s5.76,13.44,13.38,13.44c5.64,0,10.38-3.3,12.06-8.16h8.76c-1.92,9.42-10.32,16.14-20.82,16.14-12.48,0-21.84-9.24-21.84-21.42Z"/>
<path class="cls-1" d="M401.24,260.98h8.28v41.4h-8.28v-41.4Z"/>
<g>
<path class="cls-2" d="M228.18,278.16h-3.95v-2.73h10.79v2.73h-3.95v11.76h-2.9v-11.76Z"/>
<path class="cls-2" d="M237.04,275.43h6.45c2.79,0,4.91,2.04,4.91,4.75,0,2.18-1.43,3.88-3.49,4.41l1.01,1.45c.55.78,1.28,1.16,2.18,1.16h.59v2.73h-.9c-2.12,0-3.63-.82-4.58-2.52l-1.66-2.65h-1.62v5.17h-2.9v-14.49ZM239.94,278.16v4.07h3.49c1.13,0,2-.88,2-2.04s-.86-2.04-2-2.04h-3.49Z"/>
<path class="cls-2" d="M254.93,275.43h3.42l5.56,14.49h-3.17l-1.03-2.81h-6.24l-1.01,2.81h-3.13l5.58-14.49ZM258.73,284.44l-2.12-5.82-2.14,5.82h4.26Z"/>
<path class="cls-2" d="M265.41,275.43h2.94l6.59,9.53v-9.53h2.9v14.49h-2.94l-6.59-9.53v9.53h-2.9v-14.49Z"/>
<path class="cls-2" d="M280.03,285.63h2.98c0,1.09,1.09,1.95,2.48,1.95,1.28,0,2.33-.69,2.33-1.68,0-2.54-7.56-1.41-7.56-6.34,0-2.67,2.27-4.39,5.12-4.39s5.19,1.87,5.19,4.35h-2.98c0-1.01-.97-1.76-2.25-1.76-1.13,0-2.1.61-2.1,1.57,0,2.58,7.56,1.22,7.56,6.24,0,2.79-2.35,4.6-5.33,4.6s-5.44-1.97-5.44-4.54Z"/>
<path class="cls-2" d="M292.98,275.43h2.9v14.49h-2.9v-14.49Z"/>
<path class="cls-2" d="M301.84,278.16h-3.95v-2.73h10.79v2.73h-3.95v11.76h-2.9v-11.76Z"/>
<path class="cls-2" d="M310.71,275.43h2.9v14.49h-2.9v-14.49Z"/>
<path class="cls-2" d="M315.83,282.67c0-4.26,3.28-7.5,7.64-7.5s7.64,3.23,7.64,7.5-3.3,7.5-7.64,7.5-7.64-3.23-7.64-7.5ZM328.13,282.67c0-2.69-2.02-4.7-4.66-4.7s-4.68,2.02-4.68,4.7,2.02,4.7,4.68,4.7,4.66-2.02,4.66-4.7Z"/>
<path class="cls-2" d="M333.32,275.43h2.94l6.59,9.53v-9.53h2.9v14.49h-2.94l-6.59-9.53v9.53h-2.9v-14.49Z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 4.9 KiB

File diff suppressed because one or more lines are too long

View file

@ -1,77 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Ebene_1" data-name="Ebene 1" xmlns="http://www.w3.org/2000/svg" width="200mm" height="200mm" viewBox="0 0 566.93 566.93">
<defs>
<style>
.cls-1 {
letter-spacing: 0em;
}
.cls-2, .cls-3 {
fill: #0071bc;
}
.cls-4, .cls-5 {
fill: #3fa9f5;
}
.cls-6 {
font-size: 21px;
}
.cls-6, .cls-3 {
font-family: NeulisNeue-SemiBold, 'Neulis Neue';
font-weight: 600;
}
.cls-6, .cls-7 {
fill: #2e3192;
}
.cls-5 {
stroke-width: 5.67px;
}
.cls-5, .cls-7 {
stroke: #0071bc;
stroke-miterlimit: 10;
}
.cls-3 {
font-size: 60px;
}
.cls-8 {
letter-spacing: 0em;
}
.cls-7 {
stroke-width: 5.67px;
}
</style>
</defs>
<path class="cls-2" d="M283.54,17.01c35.61,0,70.19,6.92,102.78,20.58,31.52,13.21,59.89,32.13,84.32,56.25,24.45,24.13,43.75,52.26,57.36,83.62,14.09,32.46,21.46,67.01,21.9,102.71.45,35.98-6.17,70.95-19.65,103.96-13.03,31.89-31.89,60.62-56.06,85.4-24.17,24.78-52.43,44.34-83.99,58.15-32.66,14.3-67.47,21.77-103.44,22.21-1.12.01-2.25.02-3.37.02-35.62,0-70.2-6.92-102.79-20.58-31.52-13.2-59.89-32.13-84.32-56.24-24.45-24.13-43.74-52.26-57.36-83.62-14.09-32.46-21.46-67.02-21.9-102.72-.45-35.98,6.17-70.95,19.65-103.96,13.03-31.89,31.89-60.62,56.06-85.4,24.17-24.78,52.43-44.34,83.99-58.15,32.66-14.3,67.47-21.77,103.44-22.21,1.12-.01,2.25-.02,3.37-.02h0M283.54,0c-1.19,0-2.39,0-3.58.02C123.42,1.96-1.92,130.43.02,286.97c1.92,155.35,128.45,279.96,283.37,279.96,1.19,0,2.39,0,3.58-.02,156.54-1.94,281.87-130.41,279.93-286.95C564.99,124.61,438.45,0,283.54,0h0Z"/>
<circle class="cls-4" cx="283.47" cy="283.47" r="269.29"/>
<circle class="cls-2" cx="286.1" cy="496.05" r="45.35"/>
<circle class="cls-2" cx="400.61" cy="460.88" r="45.35"/>
<circle class="cls-2" cx="477.93" cy="369.38" r="45.35"/>
<circle class="cls-2" cx="493.51" cy="250.61" r="45.35"/>
<circle class="cls-2" cx="442.4" cy="142.26" r="45.35"/>
<circle class="cls-2" cx="337.37" cy="98.19" r="45.35"/>
<circle class="cls-2" cx="233.22" cy="98.19" r="45.35"/>
<circle class="cls-2" cx="121.08" cy="146.24" r="45.35"/>
<circle class="cls-2" cx="72.67" cy="255.82" r="45.35"/>
<circle class="cls-2" cx="91.19" cy="374.17" r="45.35"/>
<circle class="cls-2" cx="170.75" cy="463.72" r="45.35"/>
<line class="cls-7" x1="281.52" y1="282.55" x2="211.98" y2="543.82"/>
<line class="cls-7" x1="285.45" y1="283.66" x2="361.73" y2="541.96"/>
<line class="cls-7" x1="289.31" y1="283.47" x2="429.32" y2="57.06"/>
<line class="cls-7" x1="288.31" y1="282.27" x2="134.98" y2="58.22"/>
<circle class="cls-5" cx="285.05" cy="282.29" r="90.69" transform="translate(-3.47 3.55) rotate(-.71)"/>
<circle class="cls-2" cx="285.06" cy="283.56" r="70.87"/>
<rect class="cls-2" x="181.26" y="38.59" width="198.43" height="5.67" transform="translate(-.49 3.47) rotate(-.71)"/>
<text class="cls-3" transform="translate(265.64 178.62)"><tspan x="0" y="0">R</tspan></text>
<text class="cls-3" transform="translate(264.88 427.36)"><tspan x="0" y="0">A</tspan></text>
<text class="cls-3" transform="translate(136.63 302.38)"><tspan x="0" y="0">C</tspan></text>
<text class="cls-3" transform="translate(397.04 302.38)"><tspan x="0" y="0">I</tspan></text>
<text class="cls-6" transform="translate(223.68 289.92)"><tspan x="0" y="0">T</tspan><tspan class="cls-8" x="11.89" y="0">R</tspan><tspan class="cls-1" x="25.64" y="0">ANSITION</tspan></text>
</svg>

Before

Width:  |  Height:  |  Size: 3.5 KiB

File diff suppressed because one or more lines are too long

View file

@ -1,48 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Ebene_1" data-name="Ebene 1" xmlns="http://www.w3.org/2000/svg" width="200mm" height="200mm" viewBox="0 0 566.93 566.93">
<defs>
<style>
.cls-1 {
fill: #0071bc;
}
.cls-2, .cls-3 {
fill: #3fa9f5;
}
.cls-3 {
stroke-width: 5.67px;
}
.cls-3, .cls-4 {
stroke: #0071bc;
stroke-miterlimit: 10;
}
.cls-4 {
fill: #2e3192;
stroke-width: 5.67px;
}
</style>
</defs>
<path class="cls-1" d="M283.54,17.01c35.61,0,70.19,6.92,102.78,20.58,31.52,13.21,59.89,32.13,84.32,56.25,24.45,24.13,43.75,52.26,57.36,83.62,14.09,32.46,21.46,67.01,21.9,102.71.45,35.98-6.17,70.95-19.65,103.96-13.03,31.89-31.89,60.62-56.06,85.4-24.17,24.78-52.43,44.34-83.99,58.15-32.66,14.3-67.47,21.77-103.44,22.21-1.12.01-2.25.02-3.37.02-35.62,0-70.2-6.92-102.79-20.58-31.52-13.2-59.89-32.13-84.32-56.24-24.45-24.13-43.74-52.26-57.36-83.62-14.09-32.46-21.46-67.02-21.9-102.72-.45-35.98,6.17-70.95,19.65-103.96,13.03-31.89,31.89-60.62,56.06-85.4,24.17-24.78,52.43-44.34,83.99-58.15,32.66-14.3,67.47-21.77,103.44-22.21,1.12-.01,2.25-.02,3.37-.02h0M283.54,0c-1.19,0-2.39,0-3.58.02C123.42,1.96-1.92,130.43.02,286.97c1.92,155.35,128.45,279.96,283.37,279.96,1.19,0,2.39,0,3.58-.02,156.54-1.94,281.87-130.41,279.93-286.95C564.99,124.61,438.45,0,283.54,0h0Z"/>
<circle class="cls-2" cx="283.47" cy="283.47" r="269.29"/>
<circle class="cls-1" cx="285.56" cy="496.02" r="45.35"/>
<circle class="cls-1" cx="400.08" cy="460.85" r="45.35"/>
<circle class="cls-1" cx="477.4" cy="369.35" r="45.35"/>
<circle class="cls-1" cx="492.98" cy="250.58" r="45.35"/>
<circle class="cls-1" cx="441.87" cy="142.23" r="45.35"/>
<circle class="cls-1" cx="336.84" cy="98.16" r="45.35"/>
<circle class="cls-1" cx="232.69" cy="98.16" r="45.35"/>
<circle class="cls-1" cx="120.55" cy="146.21" r="45.35"/>
<circle class="cls-1" cx="72.14" cy="255.79" r="45.35"/>
<circle class="cls-1" cx="90.65" cy="374.14" r="45.35"/>
<circle class="cls-1" cx="170.21" cy="463.69" r="45.35"/>
<line class="cls-4" x1="282.93" y1="283.43" x2="211.45" y2="543.78"/>
<line class="cls-4" x1="282.93" y1="283.43" x2="361.2" y2="541.93"/>
<line class="cls-4" x1="285.47" y1="283.43" x2="428.79" y2="57.03"/>
<line class="cls-4" x1="284.52" y1="285.05" x2="134.45" y2="58.19"/>
<circle class="cls-3" cx="284.52" cy="282.26" r="90.69" transform="translate(-3.47 3.54) rotate(-.71)"/>
<circle class="cls-1" cx="283.47" cy="283.47" r="70.87"/>
<rect class="cls-1" x="180.72" y="38.56" width="198.43" height="5.67" transform="translate(-.49 3.47) rotate(-.71)"/>
</svg>

Before

Width:  |  Height:  |  Size: 2.6 KiB

View file

@ -31,7 +31,7 @@ Verankerung und Steckmechanik.
Avery-Standard — Bezugsquelle prüfen.)
- **Figuren werden gestellt/reingestellt** (Sockel Ø 20, kein Pin): am Puck in Mulden
Ø 22, am Aktiv-Feld auf flachen Standfeldern Ø 22 (gleiche Größe).
- **Materialempfehlung:** PLA für Pucks/Aktiv-Feld (formstabil, günstig).
- **Materialempfehlung:** PLA für Pucks/Aktiv-Feld/Chips (formstabil, günstig).
- **Kein Action-Stein mehr:** Das Szenario (Action Card) liegt flach an der aktuellen
Station; die aktuelle Station führt die App / zeigen die gestellten Figuren.

View file

@ -1,42 +0,0 @@
# RACI-Konsolen-Board — Workflow & Spec
Rundes „Konsolen"-Board (ersetzt das alte 40-Puck-System-Denken für die RACI-Station):
zentrale Acryl-Chip-Mulde (Stations-ID, pro Zug getauscht), Ring aus 10 Figuren-Sockeln
in 4 RACI-Sektoren, Action-Card-Steckhalter. Gedruckt **6×** in den Phasenfarben.
## Aktueller Workflow (Look via KI, Präzision via CAD)
1. **Referenzbilder** in Nano Banana 2 erzeugen — saubere, isolierte Ansichten (siehe
[`nano-banana-prompts.md`](nano-banana-prompts.md): Varianten **mit Labels** und
**textfrei**).
2. **Meshy** (Image-to-3D) macht daraus die **gestylte Schale** (GLB).
3. **CAD-Finisher** (folgt) schneidet die **exakten Passungen** + scharfen Labels rein —
Maße siehe Spec unten / `raci-board.py`.
`raci-board.py` ist der **Funktions-Blank** (Blender): korrekte Maße/Anordnung, schlicht.
Er dient als **Maß-Referenz** und liefert per Render eine **saubere, neutrale Vorlage**
(`raci_preview.png`) als Meshy-Eingang.
## raci-board.py ausführen
- **Blender** (gratis, 4.2 LTS): https://www.blender.org/download/
- Blender → Reiter **Scripting****Open** `raci-board.py`**▷ Run Script**.
Ausgabe: `raci_preview.png` (neutrale Vorschau für Meshy) + `raci-board.stl`.
- Headless: `blender -b -P raci-board.py`.
## Spec (Maße — der „Vertrag", gilt in jedem Tool)
| Element | Wert |
|---|---|
| Board | **rund Ø260 × 14 mm**, Rand gefast |
| Mittelmulde (Chip) | Ø **50** × Tiefe **2,2** mm (+ Greifkerbe Ø14) |
| Figuren-Sockel | **10×** Ø **32,8** × Tiefe **2,0** mm (Figuren-Sockel Ø32 + Spiel) |
| Sektoren | **4 gleich große 90°-Sektoren**, symmetrisches **Kreuz** (Trennlinien bei 0/90/180/270); Sockel je Sektor gleichmäßig verteilt; Ring-Radius 88 mm |
| RACI-Verteilung | **R 3 · A 1 · C 4 · I 2** (= 10) |
| Labels | RESPONSIBLE/ACCOUNTABLE/CONSULTED/INFORMED **gleich groß**; Phasenname (z. B. **DESIGN**) in der Chip-Mulde |
| Action-Card-Halter | Steh-Schlitz **70 × 5 mm, ~27 mm tief** (fast volle Höhe), ~12° geneigt (Karte 60 × 90), oben |
| Druck | **6×** je Phasenfarbe (Design/Transition/Operation/Support/Review + Gate-Rot) |
## Ehrliche Einordnung
- Nano Banana/Meshy liefern **Form & Look****nicht maßhaltig** (Sockel-Zahl/Text
ungenau, Mesh oft nicht-manifold). Darum die exakten Mulden + scharfen Labels **im CAD**.
- Sehr feine Gravuren/Muster überleben Meshy oft nicht — als echtes Relief besser im CAD.
- Funktioniert ein Meshy-Mesh nicht sauber booleschen → anderes Ergebnis nehmen oder vorher
säubern (Remesh/Cleanup).

View file

@ -1,52 +0,0 @@
# Nano-Banana-Prompts — RACI-Board (Referenzbilder für Meshy)
Zweck: in **Gemini Nano Banana 2** **saubere, isolierte** Referenzbilder des RACI-Boards
erzeugen → in **Meshy** (Image-to-3D) übertragen. Wichtig für Meshy: **nur das Objekt**,
plain Hintergrund, **leeres** Board (keine Figuren/Karte), klare Geometrie.
Workflow: Nano Banana (Look/Form) → Meshy GLB → **CAD-Finisher** schneidet die exakten
Passungen (Chip Ø40,6 · Sockel Ø25,3 · Kartenschlitz) + scharfe Labels rein (siehe
`README.md` / `raci-board.py` für die Maße).
> Hinweis: Bildmodelle verzählen Sockel gern und vermatschen Text. Nano Banana liefert
> **Form & Look**; **Präzision** (Maße, scharfe Schrift) kommt im CAD-Finisher.
---
## Bausteine (in jeden Prompt kopieren)
### A) Stil-/Isolations-Block (immer voranstellen)
```
Single isolated 3D-printable board-game part, centered, filling ~80% of the frame, on a seamless plain light-grey studio backdrop. NOTHING else in the scene: no table, no miniatures, no cards, no dice, no hands, no text overlays, no logos, no props, no environment, no strong reflections. Soft even studio lighting, minimal soft contact shadow only. Near-orthographic lens for accurate proportions. Matte single-color blue plastic (#2f80c9). Clean, precise, CAD-like surfaces with crisp edges.
```
### B1) Objekt-Block — MIT Beschriftung
```
The object is a single ROUND flat disc board (thin: thickness ≈ 1/15 of its diameter), ~210 mm across, with a softly chamfered rim. KEEP PROPORTIONS ACCURATE. In the EXACT CENTER: one large recessed circular WELL whose diameter is about ONE QUARTER of the board; the word "DESIGN" is engraved on the FLOOR of this central well, centered (and nowhere else). Around the center: ONE ring of ten shallow identical circular sockets — each socket LARGE, about TWO-THIRDS the diameter of the central well — arranged in FOUR EQUAL sectors forming a symmetric CROSS — straight radial divider lines at the 12, 3, 6 and 9 o'clock positions split the ring into four equal quarters; within each sector the sockets are spread EVENLY. Counts: upper-left 3 (RESPONSIBLE), upper-right 1 (ACCOUNTABLE), lower-right 4 (CONSULTED), lower-left 2 (INFORMED) — total 10; the whole layout looks perfectly symmetric. A thin rectangular CARD-HOLDER SLOT (~70 mm long, ~5 mm wide, recessed deep, empty, slightly tilted back) sits at the very TOP on the 12 o'clock divider line, in the gap between the two upper sectors; ACCOUNTABLE's label is engraved just below the slot. All FOUR sector labels — RESPONSIBLE, ACCOUNTABLE, CONSULTED, INFORMED — engraved in the SAME small, subtle font size, each near its own sector. No other text anywhere. Empty board: no tokens, no figures, no card inserted.
```
### B2) Objekt-Block — TEXTFREI (für Meshy; Schriften später im CAD)
```
The object is a single ROUND flat disc board (thin: thickness ≈ 1/15 of its diameter), ~210 mm across, with a softly chamfered rim. KEEP PROPORTIONS ACCURATE. In the EXACT CENTER: one large recessed circular WELL whose diameter is about ONE QUARTER of the board, smooth and blank inside. Around the center: ONE ring of ten shallow identical circular sockets — each socket LARGE, about TWO-THIRDS the diameter of the central well — arranged in FOUR EQUAL sectors forming a symmetric CROSS — straight radial divider lines at the 12, 3, 6 and 9 o'clock positions split the ring into four equal quarters; within each sector the sockets are spread EVENLY; counts 3, 1, 4 and 2 (total 10); perfectly symmetric layout. A thin rectangular CARD-HOLDER SLOT (~70 mm long, ~5 mm wide, recessed deep, empty, slightly tilted back) sits at the very TOP on the 12 o'clock divider line, between the two upper sectors. Absolutely NO text, NO letters, NO numbers, NO engraved words or symbols anywhere — all surfaces completely blank. Empty board: no tokens, no figures, no card inserted.
```
### Kamera-Zeilen (eine anhängen) — Multi-View-Set für Meshy
- **Vogelperspektive (Top-down):** `Camera: exact top-down orthographic view straight from above; the disc reads as a perfect circle (no ellipse), perfectly centered; all ten sockets, the four sector gaps and the central well clearly visible.`
- **Seitenperspektive (Side):** `Camera: straight side elevation at table height (orthographic, no perspective distortion), showing the thin disc profile, the chamfered rim, the recess depths and the upright card-holder standing above the top edge.`
- **Untersicht (von unten):** `Camera: view from directly underneath, showing the flat closed bottom of the disc and the chamfered rim; no sockets on the underside.`
- **Hero 3/4 (optional):** `Camera: three-quarter view from front-right, ~35° elevated, full object centered in frame.`
> **Meshy-Multi-View:** Erzeuge dasselbe Objekt in **Top-down + Seite + Untersicht** (+ optional Hero),
> identischer Maßstab/Hintergrund → das gibt Meshy die beste 3D-Rekonstruktion.
---
## Tipps
- **Konsistenz:** Erst Hero generieren; für weitere Ansichten das Hero-Bild als Referenz
mitgeben + „*same exact object, identical design/proportions/colors, plain background,
only change the camera angle to …*".
- **Isolation verschärfen** (falls Würfel/Karten/Tisch auftauchen): „*pure empty background,
the object only*".
- **Text unterdrücken** (B2): „*no typography, no writing of any kind; smooth blank surfaces only*".
- **Meshy:** Single-Image → Hero; Multi-Image → Hero + Top-down (+ Front/Rück), alle gleiches
Objekt/Maßstab. Export als **GLB**.

Binary file not shown.

View file

@ -1,187 +0,0 @@
# RACI-Konsolen-Board (rund) — FUNKTIONS-BLANK · Blender-Generator (bpy)
# SLC-Workshop Tabletop · 1 Blender-Unit = 1 mm
# Ziel: korrekt & schlicht (Maße/Passungen stimmen). Der edle Look wird SEPARAT
# interaktiv draufmodelliert. Hier nur: runde Platte, Chip-Mulde, 10 Sockel in
# 4 klar getrennten RACI-Sektoren (R3 A1 C4 I2), Kartenschlitz, lesbare Labels.
import bpy, math, os
# ----------------------------- Parameter (mm) -----------------------------
R_BOARD, BASE_H = 130.0, 14.0
EDGE_BEVEL, EDGE_SEG = 1.6, 3
CHIP_D, CHIP_DEP = 50.0, 2.2 # Mittelmulde Ø50 (Chip)
NOTCH_D = 14.0
SOCK_D, SOCK_DEP = 32.8, 2.0 # Figuren-Sockel Ø32 + 0,8 Spiel
RING_R = 88.0
PHASE_NAME, PHASE_COLOR = "DESIGN", (0.184, 0.502, 0.788, 1) # #2f80c9
# Sektor: Name, Label-Mittenwinkel, Sockel-Winkel (Grad; 90=oben, Top frei fuer Karte).
# Lücken zwischen den Sektoren (34-36°) > Lücken innerhalb (28°) -> Gruppen klar sichtbar.
# B+ : symmetrisches 90°-Kreuz (Trennlinien bei 0/90/180/270), Sektoren in den
# Diagonalen, Sockel je Sektor gleichmaessig ueber den Sektor verteilt. Karte oben.
SECTORS = [
("RESPONSIBLE", 135, [111, 135, 159]),
("ACCOUNTABLE", 45, [45]),
("CONSULTED", -45, [-9, -33, -57, -81]),
("INFORMED", -135, [-120, -150]),
]
DIVIDERS = [0, 90, 180, 270]
WORD_R = RING_R + SOCK_D/2 + 9 # Labels ausserhalb der Sockel
WORD_SIZE, WORD_DEP = 6.0, 0.9
DESIGN_SIZE, DESIGN_DEP, DESIGN_POS = 9.0, 1.0, (0, -48)
CARD_CY, CARD_BW, CARD_BD, CARD_BH = 116.0, 84.0, 22.0, 16.0
SLOT_W, SLOT_T, SLOT_DEPTH, SLOT_TILT = 70.0, 5.0, 27.0, 12.0 # tief bis ~3 mm vorm Boden
TOP = BASE_H
def _outdir():
d = os.path.dirname(bpy.data.filepath)
if d: return d
try: return os.path.dirname(os.path.abspath(__file__))
except NameError: return os.path.expanduser("~")
HERE = _outdir()
STL_OUT, PNG_OUT = os.path.join(HERE, "raci-board.stl"), os.path.join(HERE, "raci_preview.png")
print("Ausgabe-Ordner:", HERE)
# ----------------------------- Helfer -----------------------------
def clear_scene():
bpy.ops.object.select_all(action='SELECT'); bpy.ops.object.delete(use_global=False)
for blk in (bpy.data.meshes, bpy.data.materials, bpy.data.curves):
for d in list(blk):
if d.users == 0: blk.remove(d)
def cube(sx, sy, sz, loc):
bpy.ops.mesh.primitive_cube_add(size=1, location=loc)
o = bpy.context.object; o.scale = (sx, sy, sz)
bpy.ops.object.transform_apply(scale=True); return o
def cyl(d, h, loc, verts=96):
bpy.ops.mesh.primitive_cylinder_add(radius=d/2.0, depth=h, location=loc, vertices=verts)
return bpy.context.object
def boolean(obj, tool, op='DIFFERENCE'):
m = obj.modifiers.new("bool", 'BOOLEAN'); m.operation = op; m.object = tool
try: m.solver = 'EXACT'
except Exception: pass
bpy.context.view_layer.objects.active = obj
bpy.ops.object.modifier_apply(modifier=m.name); bpy.data.objects.remove(tool, do_unlink=True)
def apply_bevel(obj, width=EDGE_BEVEL, seg=EDGE_SEG, ang=30):
m = obj.modifiers.new("bevel", 'BEVEL'); m.width = width; m.segments = seg
m.limit_method = 'ANGLE'; m.angle_limit = math.radians(ang)
bpy.context.view_layer.objects.active = obj
bpy.ops.object.modifier_apply(modifier=m.name)
def engrave(board, body, x, y, rotz=0, size=WORD_SIZE, dep=WORD_DEP, ztop=None):
z0 = (TOP if ztop is None else ztop) - dep
try:
bpy.ops.object.text_add(location=(x, y, z0))
t = bpy.context.object; t.data.body = body; t.data.size = size
t.data.extrude = dep + 1.5; t.data.align_x='CENTER'; t.data.align_y='CENTER'
t.rotation_euler = (0, 0, math.radians(rotz))
bpy.ops.object.convert(target='MESH'); boolean(board, t, 'DIFFERENCE')
except Exception as e:
print("Label uebersprungen (%s): %s" % (body, e))
# ----------------------------- Aufbau -----------------------------
clear_scene()
base = cyl(R_BOARD*2, BASE_H, (0, 0, BASE_H/2), verts=160)
apply_bevel(base)
block = cube(CARD_BW, CARD_BD, BASE_H + CARD_BH, (0, CARD_CY, (BASE_H + CARD_BH)/2))
apply_bevel(block, width=1.0)
boolean(base, block, 'UNION')
# Chip-Mulde + Greifkerbe
boolean(base, cyl(CHIP_D, 6, (0, 0, TOP - CHIP_DEP + 3)), 'DIFFERENCE')
boolean(base, cyl(NOTCH_D, 6, (0, -CHIP_D/2, TOP - CHIP_DEP + 3)), 'DIFFERENCE')
# Sockelmulden (4 Sektoren, ueber Luecken getrennt)
for _, _, angles in SECTORS:
for a in angles:
boolean(base, cyl(SOCK_D, 6, (RING_R*math.cos(math.radians(a)),
RING_R*math.sin(math.radians(a)), TOP - SOCK_DEP + 3)), 'DIFFERENCE')
# Sektor-Trennlinien — symmetrisches Kreuz (0/90/180/270), flach graviert
_di, _do = CHIP_D/2 + 5, RING_R + SOCK_D/2 + 6
for a in DIVIDERS:
g = cube(_do - _di, 2.6, 1.4, (0, 0, 0))
g.rotation_euler = (0, 0, math.radians(a))
g.location = (((_di+_do)/2)*math.cos(math.radians(a)),
((_di+_do)/2)*math.sin(math.radians(a)), TOP - 0.7)
boolean(base, g, 'DIFFERENCE')
# Action-Card-Schlitz (oben offen, 70x5 mm, tief bis ~3 mm vorm Boden, leicht geneigt)
_sb = BASE_H + CARD_BH - SLOT_DEPTH; _sh = SLOT_DEPTH + 20
slot = cube(SLOT_W, SLOT_T, _sh, (0, CARD_CY, _sb + _sh/2))
slot.rotation_euler = (math.radians(-SLOT_TILT), 0, 0); bpy.ops.object.transform_apply(rotation=True)
boolean(base, slot, 'DIFFERENCE')
# dezente Rand-Linie
rim = cyl((R_BOARD-7)*2, 1.4, (0, 0, TOP-0.7))
boolean(rim, cyl((R_BOARD-8.6)*2, 2.0, (0, 0, TOP-0.7)), 'DIFFERENCE')
boolean(base, rim, 'DIFFERENCE')
# Sektor-Labels (gleich gross): links/rechts vertikal, oben/unten waagerecht -> lesbar & passt
for name, wc, _ in SECTORS:
rot = (wc - 90) if math.sin(math.radians(wc)) >= 0 else (wc + 90) # tangential, lesbar
engrave(base, name, WORD_R*math.cos(math.radians(wc)), WORD_R*math.sin(math.radians(wc)), rot)
# Phasenname in die Chip-Mulde (Boden) graviert — durch den klaren Chip sichtbar
engrave(base, PHASE_NAME, 0, 0, 0, DESIGN_SIZE, DESIGN_DEP, ztop=TOP - CHIP_DEP)
base.name = "RACI-Board"
try: bpy.ops.object.shade_auto_smooth(angle=math.radians(30))
except Exception:
try: bpy.ops.object.shade_flat()
except Exception: pass
# Material (Kontext-Farbe; fuer den Blank zweitrangig)
mat = bpy.data.materials.new("Phase"); mat.use_nodes = True
bsdf = next((n for n in mat.node_tree.nodes if n.type == 'BSDF_PRINCIPLED'), None)
if bsdf:
bsdf.inputs["Base Color"].default_value = PHASE_COLOR
try: bsdf.inputs["Roughness"].default_value = 0.5
except Exception: pass
base.data.materials.clear(); base.data.materials.append(mat)
# ----------------------------- Vorschau-Render -----------------------------
try:
sc = bpy.context.scene
# Meshy-tauglich: heller, neutraler Hintergrund + gleichmaessiges Licht
try:
bg = next((n for n in sc.world.node_tree.nodes if n.type == 'BACKGROUND'), None)
if bg:
bg.inputs[0].default_value = (0.92, 0.92, 0.92, 1)
bg.inputs[1].default_value = 1.6
except Exception: pass
bpy.ops.object.light_add(type='SUN', location=(140, -180, 260)); bpy.context.object.data.energy = 2.2
bpy.ops.object.light_add(type='AREA', location=(-140, -60, 180))
bpy.context.object.data.energy = 9000; bpy.context.object.data.size = 320
bpy.ops.object.empty_add(location=(0, 0, 5)); tgt = bpy.context.object
bpy.ops.object.camera_add(location=(330, -410, 370)); cam = bpy.context.object
cam.data.lens = 50
con = cam.constraints.new('TRACK_TO'); con.target = tgt
con.track_axis = 'TRACK_NEGATIVE_Z'; con.up_axis = 'UP_Y'
sc.camera = cam
sc.render.resolution_x, sc.render.resolution_y = 1500, 1100; sc.render.filepath = PNG_OUT
try: sc.render.engine = 'BLENDER_EEVEE_NEXT'
except Exception:
try: sc.render.engine = 'BLENDER_EEVEE'
except Exception: pass
bpy.ops.render.render(write_still=True); print("Vorschau:", PNG_OUT)
except Exception as e:
print("Render uebersprungen:", e)
# ----------------------------- STL-Export -----------------------------
bpy.ops.object.select_all(action='DESELECT'); base.select_set(True)
bpy.context.view_layer.objects.active = base
try:
bpy.ops.wm.stl_export(filepath=STL_OUT, export_selected_objects=True)
except Exception:
try: bpy.ops.export_mesh.stl(filepath=STL_OUT, use_selection=True)
except Exception as e: print("STL-Export manuell noetig:", e)
print("STL:", STL_OUT)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1,021 KiB

View file

@ -1,8 +1,8 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1576 846" font-family="Arial, Helvetica, sans-serif">
<rect x="0" y="0" width="1576" height="846" fill="#f7f7f5"/>
<defs><marker id="ah" markerWidth="9" markerHeight="9" refX="7" refY="3" orient="auto" markerUnits="strokeWidth"><path d="M0,0 L7,3 L0,6 Z" fill="#666"/></marker></defs>
<text x="30" y="44" font-size="26" font-weight="800" fill="#1a1a1a">Service-Lifecycle — Board-Layout (39 Pucks)</text>
<text x="30" y="68" font-size="14" fill="#555">36 Aktivitaeten + 3 Gate-Pucks · 1 Puck = &#216;100 mm · lose Bahn, Sequenz links nach rechts</text>
<text x="30" y="44" font-size="26" font-weight="800" fill="#1a1a1a">Service-Lifecycle — Board-Layout (40 Pucks)</text>
<text x="30" y="68" font-size="14" fill="#555">37 Aktivitaeten + 3 Gate-Pucks · 1 Puck = &#216;100 mm · lose Bahn, Sequenz links nach rechts</text>
<rect x="30" y="96" width="150" height="86" rx="9" fill="#2F80C9"/>
<text x="105.0" y="137.0" text-anchor="middle" font-size="17" font-weight="800" fill="#fff">DESIGN</text>
<text x="105.0" y="157.0" text-anchor="middle" font-size="12" fill="#fff">4 Pucks</text>
@ -428,7 +428,7 @@
<path d="M 1223.0 560 V 580.0 H 243.0 V 598" fill="none" stroke="#999" stroke-width="2.2" stroke-dasharray="5 4" marker-end="url(#ah)"/>
<rect x="30" y="600" width="150" height="86" rx="9" fill="#8E63B5"/>
<text x="105.0" y="641.0" text-anchor="middle" font-size="17" font-weight="800" fill="#fff">REVIEW</text>
<text x="105.0" y="661.0" text-anchor="middle" font-size="12" fill="#fff">5 Pucks</text>
<text x="105.0" y="661.0" text-anchor="middle" font-size="12" fill="#fff">6 Pucks</text>
<circle cx="243.0" cy="643.0" r="35" fill="#f3eff7" stroke="#8E63B5" stroke-width="2"/>
<circle cx="243.0" cy="616.0" r="3" fill="none" stroke="#8E63B5" stroke-width="1.1" opacity="0.6"/>
<circle cx="264.1" cy="626.2" r="3" fill="none" stroke="#8E63B5" stroke-width="1.1" opacity="0.6"/>
@ -439,7 +439,7 @@
<circle cx="221.9" cy="626.2" r="3" fill="none" stroke="#8E63B5" stroke-width="1.1" opacity="0.6"/>
<circle cx="243.0" cy="643.0" r="16" fill="#ffffff" opacity="0.92" stroke="#8E63B5" stroke-width="0.8"/>
<text x="243.0" y="643.5" text-anchor="middle" font-size="11.5" font-weight="700" fill="#1a1a1a">rv_01</text>
<text x="243.0" y="690.0" text-anchor="middle" font-size="9.5" fill="#333">Service-Reviews durchf.</text>
<text x="243.0" y="690.0" text-anchor="middle" font-size="9.5" fill="#333">Taktische RCA + KPIs</text>
<line x1="294" y1="643.0" x2="296" y2="643.0" stroke="#666" stroke-width="2.2" marker-end="url(#ah)"/>
<circle cx="341.0" cy="643.0" r="35" fill="#f3eff7" stroke="#8E63B5" stroke-width="2"/>
<circle cx="341.0" cy="616.0" r="3" fill="none" stroke="#8E63B5" stroke-width="1.1" opacity="0.6"/>
@ -451,7 +451,7 @@
<circle cx="319.9" cy="626.2" r="3" fill="none" stroke="#8E63B5" stroke-width="1.1" opacity="0.6"/>
<circle cx="341.0" cy="643.0" r="16" fill="#ffffff" opacity="0.92" stroke="#8E63B5" stroke-width="0.8"/>
<text x="341.0" y="643.5" text-anchor="middle" font-size="11.5" font-weight="700" fill="#1a1a1a">rv_02</text>
<text x="341.0" y="690.0" text-anchor="middle" font-size="9.5" fill="#333">Bewertung d. Ergebnisse</text>
<text x="341.0" y="690.0" text-anchor="middle" font-size="9.5" fill="#333">Performance &amp; Improvement</text>
<line x1="392" y1="643.0" x2="394" y2="643.0" stroke="#666" stroke-width="2.2" marker-end="url(#ah)"/>
<circle cx="439.0" cy="643.0" r="35" fill="#f3eff7" stroke="#8E63B5" stroke-width="2"/>
<circle cx="439.0" cy="616.0" r="3" fill="none" stroke="#8E63B5" stroke-width="1.1" opacity="0.6"/>
@ -463,7 +463,7 @@
<circle cx="417.9" cy="626.2" r="3" fill="none" stroke="#8E63B5" stroke-width="1.1" opacity="0.6"/>
<circle cx="439.0" cy="643.0" r="16" fill="#ffffff" opacity="0.92" stroke="#8E63B5" stroke-width="0.8"/>
<text x="439.0" y="643.5" text-anchor="middle" font-size="11.5" font-weight="700" fill="#1a1a1a">rv_03</text>
<text x="439.0" y="690.0" text-anchor="middle" font-size="9.5" fill="#333">Aenderungen definieren</text>
<text x="439.0" y="690.0" text-anchor="middle" font-size="9.5" fill="#333">SOR Periodischer Review</text>
<line x1="490" y1="643.0" x2="492" y2="643.0" stroke="#666" stroke-width="2.2" marker-end="url(#ah)"/>
<circle cx="537.0" cy="643.0" r="35" fill="#f3eff7" stroke="#8E63B5" stroke-width="2"/>
<circle cx="537.0" cy="616.0" r="3" fill="none" stroke="#8E63B5" stroke-width="1.1" opacity="0.6"/>
@ -475,7 +475,7 @@
<circle cx="515.9" cy="626.2" r="3" fill="none" stroke="#8E63B5" stroke-width="1.1" opacity="0.6"/>
<circle cx="537.0" cy="643.0" r="16" fill="#ffffff" opacity="0.92" stroke="#8E63B5" stroke-width="0.8"/>
<text x="537.0" y="643.5" text-anchor="middle" font-size="11.5" font-weight="700" fill="#1a1a1a">rv_04</text>
<text x="537.0" y="690.0" text-anchor="middle" font-size="9.5" fill="#333">Aenderungen starten</text>
<text x="537.0" y="690.0" text-anchor="middle" font-size="9.5" fill="#333">Service Improvement</text>
<line x1="588" y1="643.0" x2="590" y2="643.0" stroke="#666" stroke-width="2.2" marker-end="url(#ah)"/>
<circle cx="635.0" cy="643.0" r="35" fill="#f3eff7" stroke="#8E63B5" stroke-width="2"/>
<circle cx="635.0" cy="616.0" r="3" fill="none" stroke="#8E63B5" stroke-width="1.1" opacity="0.6"/>
@ -487,12 +487,24 @@
<circle cx="613.9" cy="626.2" r="3" fill="none" stroke="#8E63B5" stroke-width="1.1" opacity="0.6"/>
<circle cx="635.0" cy="643.0" r="16" fill="#ffffff" opacity="0.92" stroke="#8E63B5" stroke-width="0.8"/>
<text x="635.0" y="643.5" text-anchor="middle" font-size="11.5" font-weight="700" fill="#1a1a1a">rv_05</text>
<text x="635.0" y="690.0" text-anchor="middle" font-size="9.5" fill="#333">Aenderungen umsetzen</text>
<text x="635.0" y="690.0" text-anchor="middle" font-size="9.5" fill="#333">Redesign / Erweiterung</text>
<line x1="686" y1="643.0" x2="688" y2="643.0" stroke="#666" stroke-width="2.2" marker-end="url(#ah)"/>
<circle cx="733.0" cy="643.0" r="35" fill="#f3eff7" stroke="#8E63B5" stroke-width="2"/>
<circle cx="733.0" cy="616.0" r="3" fill="none" stroke="#8E63B5" stroke-width="1.1" opacity="0.6"/>
<circle cx="754.1" cy="626.2" r="3" fill="none" stroke="#8E63B5" stroke-width="1.1" opacity="0.6"/>
<circle cx="759.3" cy="649.0" r="3" fill="none" stroke="#8E63B5" stroke-width="1.1" opacity="0.6"/>
<circle cx="744.7" cy="667.3" r="3" fill="none" stroke="#8E63B5" stroke-width="1.1" opacity="0.6"/>
<circle cx="721.3" cy="667.3" r="3" fill="none" stroke="#8E63B5" stroke-width="1.1" opacity="0.6"/>
<circle cx="706.7" cy="649.0" r="3" fill="none" stroke="#8E63B5" stroke-width="1.1" opacity="0.6"/>
<circle cx="711.9" cy="626.2" r="3" fill="none" stroke="#8E63B5" stroke-width="1.1" opacity="0.6"/>
<circle cx="733.0" cy="643.0" r="16" fill="#ffffff" opacity="0.92" stroke="#8E63B5" stroke-width="0.8"/>
<text x="733.0" y="643.5" text-anchor="middle" font-size="11.5" font-weight="700" fill="#1a1a1a">rv_06</text>
<text x="733.0" y="690.0" text-anchor="middle" font-size="9.5" fill="#333">Ausserbetriebnahme</text>
<path d="M 22 391.0 C 4 391.0, 4 517.0, 22 517.0" fill="none" stroke="#d23" stroke-width="2.6" marker-end="url(#ah)" marker-start="url(#ah)"/>
<text x="2" y="454.0" font-size="11" fill="#d23" transform="rotate(-90 8 454.0)" text-anchor="middle">Betriebs-Loop</text>
<line x1="684" y1="643.0" x2="748" y2="643.0" stroke="#8E63B5" stroke-width="2.6" marker-end="url(#ah)"/>
<text x="756" y="637.0" font-size="12.5" font-weight="700" fill="#8E63B5">zurueck in DPM</text>
<text x="756" y="655.0" font-size="11" fill="#666">rv_05 Redesign / rv_06 Retirement</text>
<line x1="782" y1="643.0" x2="846" y2="643.0" stroke="#8E63B5" stroke-width="2.6" marker-end="url(#ah)"/>
<text x="854" y="637.0" font-size="12.5" font-weight="700" fill="#8E63B5">zurueck in DPM</text>
<text x="854" y="655.0" font-size="11" fill="#666">rv_05 Redesign / rv_06 Retirement</text>
<circle cx="43" cy="791" r="10" fill="#d23"/>
<text x="60" y="796" font-size="12.5" fill="#333">Gate-Puck (rot, Etikett G1/G2/G3 + Icon)</text>
<circle cx="373" cy="791" r="10" fill="#eaf2f9" stroke="#2F80C9" stroke-width="2"/>

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 51 KiB

Before After
Before After

View file

@ -1,61 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Ebene_1" data-name="Ebene 1" xmlns="http://www.w3.org/2000/svg" width="200mm" height="200mm" viewBox="0 0 566.92 566.93">
<defs>
<style>
.cls-1 {
stroke: #c1272d;
stroke-miterlimit: 10;
stroke-width: 5.67px;
}
.cls-1, .cls-2 {
fill: #ed1c24;
}
.cls-3 {
fill: #c1272d;
}
</style>
</defs>
<path class="cls-3" d="M283.54,17.01c35.61,0,70.19,6.92,102.78,20.58,31.52,13.21,59.89,32.13,84.32,56.25,24.45,24.13,43.75,52.26,57.36,83.62,14.09,32.46,21.46,67.01,21.9,102.71.45,35.98-6.17,70.95-19.65,103.96-13.03,31.89-31.89,60.62-56.06,85.4-24.17,24.78-52.43,44.34-83.99,58.15-32.66,14.3-67.47,21.77-103.44,22.21-1.12.01-2.25.02-3.37.02-35.62,0-70.2-6.92-102.79-20.58-31.52-13.2-59.89-32.13-84.32-56.24-24.45-24.13-43.74-52.26-57.36-83.62-14.09-32.46-21.46-67.02-21.9-102.72-.45-35.98,6.17-70.95,19.65-103.96,13.03-31.89,31.89-60.62,56.06-85.4,24.17-24.78,52.43-44.34,83.99-58.15,32.66-14.3,67.47-21.77,103.44-22.21,1.12-.01,2.25-.02,3.37-.02h0M283.54,0c-1.19,0-2.39,0-3.58.02C123.42,1.96-1.92,130.43.02,286.97c1.92,155.35,128.45,279.96,283.37,279.96,1.19,0,2.39,0,3.58-.02,156.54-1.94,281.87-130.41,279.93-286.95C564.99,124.61,438.45,0,283.54,0h0Z"/>
<circle class="cls-2" cx="283.47" cy="283.47" r="269.29"/>
<circle class="cls-3" cx="285.56" cy="496.02" r="45.35"/>
<circle class="cls-3" cx="400.08" cy="460.85" r="45.35"/>
<circle class="cls-3" cx="477.4" cy="369.35" r="45.35"/>
<circle class="cls-3" cx="492.98" cy="250.58" r="45.35"/>
<circle class="cls-3" cx="441.87" cy="142.23" r="45.35"/>
<circle class="cls-3" cx="341.4" cy="83.16" r="45.35"/>
<circle class="cls-3" cx="221.37" cy="85.16" r="45.35"/>
<circle class="cls-3" cx="120.55" cy="146.21" r="45.35"/>
<circle class="cls-3" cx="72.14" cy="255.79" r="45.35"/>
<circle class="cls-3" cx="90.65" cy="374.14" r="45.35"/>
<circle class="cls-3" cx="170.21" cy="463.69" r="45.35" transform="translate(-304.38 600.6) rotate(-85.93)"/>
<circle class="cls-1" cx="284.53" cy="282.25" r="90.69"/>
<circle class="cls-3" cx="283.47" cy="283.47" r="70.87"/>
<g>
<path class="cls-3" d="M417.33,288.2l-1.81,17.9-5.13-.52,1.26-12.46-5.84-.59-1.13,11.16-5.13-.52,1.13-11.16-5.99-.61-1.28,12.66-5.12-.52,1.83-18.1,27.21,2.76h0Z"/>
<path class="cls-3" d="M413.77,315.2l-1.8,5.25-21.07,5.92,17.02,5.85-1.78,5.17-25.86-8.89,1.8-5.25,21.07-5.92-17.02-5.85,1.78-5.17,25.86,8.89h0Z"/>
<path class="cls-3" d="M393.88,348.71l3.98-6.3,4.36,2.75-10.89,17.22-4.36-2.75,3.98-6.3-18.76-11.86,2.92-4.62,18.77,11.86h0Z"/>
<path class="cls-3" d="M373.79,353.7l-3.89,4.06c-1.49-1.42-4.09-1.06-5.9.83-1.67,1.75-2.1,4.08-.75,5.37,3.46,3.32,11.79-8.47,18.52-2.03,3.64,3.48,3.02,8.82-.71,12.72-3.84,4.01-9.32,4.63-12.7,1.4l3.89-4.07c1.38,1.32,3.67.99,5.34-.76,1.48-1.55,1.91-3.66.6-4.92-3.52-3.37-11.53,8.72-18.37,2.16-3.81-3.65-3.2-9.21.69-13.28,4.06-4.24,9.79-4.84,13.29-1.49h-.01Z"/>
<path class="cls-3" d="M360.5,375.52c4.3,6.8,2.35,15.26-4.62,19.67-5.86,3.71-12.92,2.93-17.33-1.65l4.89-3.1c2.65,2.12,6.47,2.28,9.62.29,4.25-2.69,5.43-7.94,2.72-12.23s-7.97-5.47-12.22-2.77c-3.15,1.99-4.63,5.51-3.85,8.82l-4.89,3.1c-2.26-5.94.06-12.66,5.92-16.37,6.97-4.41,15.46-2.56,19.76,4.24h0Z"/>
<path class="cls-3" d="M335.07,405.87l-5.23,1.6-3.23-10.54-11.6,3.55,3.23,10.54-5.23,1.6-8.01-26.15,5.23-1.6,3.28,10.69,11.6-3.55-3.28-10.69,5.23-1.6,8.01,26.15Z"/>
<path class="cls-3" d="M302.72,414.17l-17.95,1.2-.34-5.14,12.5-.83-.39-5.85-11.19.75-.34-5.14,11.19-.75-.4-6.01-12.69.85-.34-5.14,18.15-1.21,1.82,27.29-.02-.02Z"/>
<path class="cls-3" d="M277.19,414.79l-5.45-.46,2.33-27.26,5.45.47-2.33,27.26h0Z"/>
<path class="cls-3" d="M262.46,413.48l-10.33-2.8c-7.69-2.08-11.93-9.31-9.89-16.85,2.04-7.54,9.35-11.63,17.04-9.55l10.33,2.8-7.15,26.4ZM258.53,407.08l4.46-16.45-4.93-1.34c-4.67-1.26-9.1,1.31-10.38,6.02-1.27,4.71,1.25,9.17,5.92,10.43l4.94,1.34h0Z"/>
<path class="cls-3" d="M238.67,388.84l-8.28,14.59-4.76-2.7,8.24-14.52c1.64-2.9.72-6.34-2.21-8-2.93-1.66-6.36-.69-8,2.21l-8.24,14.52-4.76-2.7,8.28-14.59c3.11-5.48,9.7-7.21,15.32-4.03,5.62,3.19,7.51,9.73,4.4,15.22h0Z"/>
<path class="cls-3" d="M202.29,386.01l-3.98-3.87,3.62-21.58-12.55,12.91-3.92-3.82,19.07-19.61,3.98,3.87-3.62,21.58,12.55-12.9,3.92,3.81-19.07,19.61h0Z"/>
<path class="cls-3" d="M190.86,355.12c-6.96,4.04-15.34,1.76-19.49-5.37-3.23-5.55-2.66-12.07,1.14-16.11l3.07,5.28c-1.29,2.44-1.22,5.48.35,8.19,2.53,4.35,7.73,5.73,12.12,3.18,4.39-2.55,5.77-7.75,3.24-12.11-1.97-3.39-5.47-4.84-8.87-4.06l3.57,6.14-4.29,2.49-6.53-11.25,13.3-7.73,2.33,4.01-3.57,2.07c3.56.13,6.53,2.08,8.62,5.68,4.14,7.13,1.97,15.55-4.99,19.59h0Z"/>
<path class="cls-3" d="M155.07,264.63l3.72-17.61,5.04,1.07-2.59,12.25,5.74,1.21,2.32-10.97,5.04,1.06-2.32,10.98,5.9,1.25,2.63-12.45,5.04,1.06-3.76,17.8-26.76-5.65h0Z"/>
<path class="cls-3" d="M161.47,238.16l2.35-5.03,21.58-3.64-16.3-7.63,2.32-4.96,24.78,11.59-2.35,5.03-21.58,3.65,16.3,7.63-2.32,4.96-24.78-11.6h0Z"/>
<path class="cls-3" d="M184.83,206.96l-4.63,5.84-4.04-3.2,12.67-15.96,4.04,3.2-4.63,5.84,17.39,13.8-3.4,4.29-17.39-13.8h0Z"/>
<path class="cls-3" d="M205.33,204.17l4.31-3.63c1.33,1.58,3.95,1.49,5.95-.2,1.85-1.56,2.52-3.84,1.32-5.26-3.09-3.67-12.62,7.17-18.63.04-3.25-3.85-2.07-9.1,2.06-12.57,4.24-3.58,9.76-3.61,12.78-.04l-4.31,3.63c-1.23-1.46-3.54-1.37-5.39.19-1.64,1.38-2.29,3.43-1.11,4.83,3.14,3.73,12.4-7.44,18.5-.19,3.4,4.03,2.2,9.5-2.11,13.13-4.49,3.78-10.25,3.77-13.37.07h0Z"/>
<path class="cls-3" d="M220.89,183.88c-3.56-7.22-.71-15.43,6.68-19.07,6.22-3.07,13.16-1.54,17.05,3.48l-5.19,2.56c-2.42-2.39-6.19-2.96-9.53-1.31-4.52,2.22-6.25,7.32-4,11.87,2.24,4.55,7.34,6.28,11.86,4.06,3.34-1.65,5.19-4.99,4.76-8.36l5.19-2.56c1.61,6.14-1.4,12.58-7.62,15.65-7.4,3.65-15.64.91-19.2-6.31h0Z"/>
<path class="cls-3" d="M249.39,156.4l5.37-1.04,2.09,10.82,11.91-2.3-2.09-10.82,5.37-1.04,5.19,26.86-5.37,1.04-2.12-10.98-11.91,2.3,2.12,10.98-5.37,1.04-5.19-26.86h0Z"/>
<path class="cls-3" d="M282.47,151.61l17.98.74-.21,5.15-12.52-.51-.24,5.86,11.21.46-.21,5.15-11.21-.46-.25,6.02,12.71.52-.21,5.15-18.18-.75,1.12-27.33h0Z"/>
<path class="cls-3" d="M307.92,153.74l5.37,1.05-5.23,26.85-5.37-1.05,5.23-26.85Z"/>
<path class="cls-3" d="M322.37,156.59l9.98,3.87c7.43,2.88,10.89,10.52,8.06,17.8-2.83,7.28-10.53,10.59-17.96,7.7l-9.98-3.87,9.89-25.5h0ZM325.6,163.38l-6.17,15.89,4.77,1.85c4.51,1.75,9.19-.35,10.96-4.89,1.76-4.54-.28-9.25-4.79-11l-4.77-1.85h0Z"/>
<path class="cls-3" d="M343.44,183.62l9.8-13.61,4.44,3.2-9.75,13.54c-1.94,2.7-1.4,6.22,1.33,8.19,2.74,1.97,6.24,1.37,8.19-1.33l9.75-13.54,4.44,3.2-9.8,13.61c-3.68,5.11-10.42,6.13-15.66,2.35-5.24-3.77-6.42-10.48-2.74-15.6h0Z"/>
<path class="cls-3" d="M379.29,190.34l3.54,4.27-5.91,21.07,13.86-11.49,3.49,4.21-21.06,17.46-3.54-4.27,5.91-21.07-13.86,11.49-3.49-4.21,21.06-17.46Z"/>
<path class="cls-3" d="M387.36,222.27c7.35-3.28,15.44-.12,18.8,7.41,2.62,5.86,1.36,12.28-2.85,15.9l-2.49-5.58c1.54-2.29,1.79-5.31.52-8.17-2.05-4.6-7.08-6.52-11.71-4.45s-6.56,7.09-4.51,11.69c1.6,3.58,4.93,5.4,8.39,4.98l-2.89-6.48,4.52-2.02,5.3,11.87-14.04,6.27-1.89-4.23,3.76-1.68c-3.53-.51-6.27-2.76-7.96-6.56-3.36-7.53-.3-15.66,7.04-18.94h.01Z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 7.1 KiB

View file

@ -1,72 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Ebene_1" data-name="Ebene 1" xmlns="http://www.w3.org/2000/svg" width="200mm" height="200mm" viewBox="0 0 566.92 566.93">
<defs>
<style>
.cls-1, .cls-2 {
fill: #0071bc;
}
.cls-3 {
fill: #2e3192;
}
.cls-4, .cls-5 {
fill: #3fa9f5;
}
.cls-5 {
stroke-miterlimit: 10;
stroke-width: 5.67px;
}
.cls-5, .cls-6 {
stroke: #0071bc;
}
.cls-2 {
stroke: #fcec48;
stroke-width: 5px;
}
.cls-2, .cls-6 {
stroke-miterlimit: 10;
}
.cls-6 {
fill: none;
stroke-width: 5.67px;
}
</style>
</defs>
<path class="cls-1" d="M283.54,17.01c35.61,0,70.19,6.92,102.78,20.58,31.52,13.21,59.89,32.13,84.32,56.25,24.45,24.13,43.75,52.26,57.36,83.62,14.09,32.46,21.46,67.01,21.9,102.71.45,35.98-6.17,70.95-19.65,103.96-13.03,31.89-31.89,60.62-56.06,85.4-24.17,24.78-52.43,44.34-83.99,58.15-32.66,14.3-67.47,21.77-103.44,22.21-1.12.01-2.25.02-3.37.02-35.62,0-70.2-6.92-102.79-20.58-31.52-13.2-59.89-32.13-84.32-56.24-24.45-24.13-43.74-52.26-57.36-83.62-14.09-32.46-21.46-67.02-21.9-102.72-.45-35.98,6.17-70.95,19.65-103.96,13.03-31.89,31.89-60.62,56.06-85.4,24.17-24.78,52.43-44.34,83.99-58.15,32.66-14.3,67.47-21.77,103.44-22.21,1.12-.01,2.25-.02,3.37-.02h0M283.54,0c-1.19,0-2.39,0-3.58.02C123.42,1.96-1.92,130.43.02,286.97c1.92,155.35,128.45,279.96,283.37,279.96,1.19,0,2.39,0,3.58-.02,156.54-1.94,281.87-130.41,279.93-286.95C564.99,124.61,438.45,0,283.54,0h0Z"/>
<circle class="cls-4" cx="283.47" cy="283.47" r="269.29"/>
<circle class="cls-2" cx="340.92" cy="78.82" r="45.35" transform="translate(44.12 264.15) rotate(-45)"/>
<circle class="cls-2" cx="222.6" cy="82.11" r="45.35"/>
<circle class="cls-1" cx="124.84" cy="148.83" r="45.35" transform="translate(-68.68 131.87) rotate(-45)"/>
<circle class="cls-1" cx="78.68" cy="257.82" r="45.35" transform="translate(-184.03 318.21) rotate(-85.97)"/>
<circle class="cls-1" cx="98.77" cy="374.47" r="45.35" transform="translate(-119.11 54.29) rotate(-19.46)"/>
<circle class="cls-1" cx="178.73" cy="461.74" r="45.35" transform="translate(-274.15 261.62) rotate(-45)"/>
<circle class="cls-2" cx="293.18" cy="491.92" r="45.35"/>
<circle class="cls-1" cx="405.78" cy="455.44" r="45.35" transform="translate(-203.19 420.32) rotate(-45)"/>
<circle class="cls-1" cx="480.78" cy="363.87" r="45.35" transform="translate(-2.5 724.41) rotate(-73.84)"/>
<circle class="cls-1" cx="494.37" cy="246.29" r="45.35" transform="translate(-28.47 68.25) rotate(-7.68)"/>
<circle class="cls-1" cx="442.23" cy="140.03" r="45.35" transform="translate(30.51 353.72) rotate(-45)"/>
<line class="cls-6" x1="285.95" y1="283.56" x2="214.19" y2="549.91"/>
<line class="cls-6" x1="284.79" y1="281.68" x2="372" y2="543.82"/>
<line class="cls-6" x1="289.31" y1="283.47" x2="428" y2="48.89"/>
<line class="cls-6" x1="288.31" y1="282.27" x2="134.98" y2="58.22"/>
<circle class="cls-5" cx="285.06" cy="282.29" r="90.69"/>
<circle class="cls-1" cx="285.06" cy="283.56" r="70.87"/>
<path class="cls-1" d="M269.84,137.22h18.42c7.98,0,14.04,5.82,14.04,13.56,0,6.24-4.08,11.1-9.96,12.6l2.88,4.14c1.56,2.22,3.66,3.3,6.24,3.3h1.68v7.8h-2.58c-6.06,0-10.38-2.34-13.08-7.2l-4.74-7.56h-4.62v14.76h-8.28v-41.4h0ZM278.12,145.02v11.64h9.96c3.24,0,5.7-2.52,5.7-5.82s-2.46-5.82-5.7-5.82h-9.96Z"/>
<path class="cls-1" d="M280.89,385.96h9.78l15.9,41.4h-9.06l-2.94-8.04h-17.82l-2.88,8.04h-8.94l15.96-41.4h0ZM291.75,411.7l-6.06-16.62-6.12,16.62h12.18Z"/>
<path class="cls-1" d="M138.79,281.68c0-12.18,9.36-21.42,21.84-21.42,10.5,0,18.9,6.72,20.82,16.14h-8.76c-1.68-4.86-6.42-8.16-12.06-8.16-7.62,0-13.38,5.76-13.38,13.44s5.76,13.44,13.38,13.44c5.64,0,10.38-3.3,12.06-8.16h8.76c-1.92,9.42-10.32,16.14-20.82,16.14-12.48,0-21.84-9.24-21.84-21.42h0Z"/>
<path class="cls-1" d="M401.24,260.98h8.28v41.4h-8.28v-41.4Z"/>
<g>
<path class="cls-3" d="M247.58,274.44h5.67c4.22,0,7.39,3.11,7.39,7.24s-3.17,7.24-7.39,7.24h-5.67v-14.49h0ZM250.48,277.17v9.03h2.71c2.56,0,4.47-1.93,4.47-4.51s-1.91-4.51-4.47-4.51h-2.71,0Z"/>
<path class="cls-3" d="M262.87,274.44h9.53v2.73h-6.63v3.11h5.94v2.73h-5.94v3.19h6.74v2.73h-9.64v-14.49h0Z"/>
<path class="cls-3" d="M274,284.64h2.98c0,1.09,1.09,1.95,2.48,1.95,1.28,0,2.33-.69,2.33-1.68,0-2.54-7.56-1.41-7.56-6.34,0-2.67,2.27-4.39,5.12-4.39s5.19,1.87,5.19,4.35h-2.98c0-1.01-.97-1.76-2.25-1.76-1.13,0-2.1.61-2.1,1.57,0,2.58,7.56,1.22,7.56,6.24,0,2.79-2.35,4.6-5.33,4.6s-5.44-1.97-5.44-4.54Z"/>
<path class="cls-3" d="M286.96,274.44h2.9v14.49h-2.9v-14.49Z"/>
<path class="cls-3" d="M292.08,281.68c0-4.26,3.28-7.5,7.64-7.5,3.4,0,6.24,2,7.08,4.81h-3.23c-.78-1.24-2.18-2.02-3.84-2.02-2.67,0-4.68,2.02-4.68,4.7s2.02,4.7,4.68,4.7c2.08,0,3.67-1.22,4.22-2.98h-3.76v-2.62h6.89v8.15h-2.46v-2.18c-1.01,1.6-2.69,2.44-4.89,2.44-4.37,0-7.64-3.23-7.64-7.5h0Z"/>
<path class="cls-3" d="M309.57,274.44h2.94l6.59,9.53v-9.53h2.9v14.49h-2.94l-6.59-9.53v9.53h-2.9v-14.49Z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 5 KiB

View file

@ -1,75 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Ebene_1" data-name="Ebene 1" xmlns="http://www.w3.org/2000/svg" width="200mm" height="200mm" viewBox="0 0 566.92 566.93">
<defs>
<style>
.cls-1, .cls-2 {
fill: #0071bc;
}
.cls-3 {
fill: #2e3192;
}
.cls-4, .cls-5 {
fill: #3fa9f5;
}
.cls-5 {
stroke-miterlimit: 10;
stroke-width: 5.67px;
}
.cls-5, .cls-6 {
stroke: #0071bc;
}
.cls-2 {
stroke: #fcec48;
stroke-width: 5px;
}
.cls-2, .cls-6 {
stroke-miterlimit: 10;
}
.cls-6 {
fill: none;
stroke-width: 5.67px;
}
</style>
</defs>
<path class="cls-1" d="M283.54,17.01c35.61,0,70.19,6.92,102.78,20.58,31.52,13.21,59.89,32.13,84.32,56.25,24.45,24.13,43.75,52.26,57.36,83.62,14.09,32.46,21.46,67.01,21.9,102.71.45,35.98-6.17,70.95-19.65,103.96-13.03,31.89-31.89,60.62-56.06,85.4-24.17,24.78-52.43,44.34-83.99,58.15-32.66,14.3-67.47,21.77-103.44,22.21-1.12.01-2.25.02-3.37.02-35.62,0-70.2-6.92-102.79-20.58-31.52-13.2-59.89-32.13-84.32-56.24-24.45-24.13-43.74-52.26-57.36-83.62-14.09-32.46-21.46-67.02-21.9-102.72-.45-35.98,6.17-70.95,19.65-103.96,13.03-31.89,31.89-60.62,56.06-85.4,24.17-24.78,52.43-44.34,83.99-58.15,32.66-14.3,67.47-21.77,103.44-22.21,1.12-.01,2.25-.02,3.37-.02h0M283.54,0c-1.19,0-2.39,0-3.58.02C123.42,1.96-1.92,130.43.02,286.97c1.92,155.35,128.45,279.96,283.37,279.96,1.19,0,2.39,0,3.58-.02,156.54-1.94,281.87-130.41,279.93-286.95C564.99,124.61,438.45,0,283.54,0h0Z"/>
<circle class="cls-4" cx="283.47" cy="283.47" r="269.29"/>
<circle class="cls-2" cx="340.92" cy="78.82" r="45.35" transform="translate(44.12 264.15) rotate(-45)"/>
<circle class="cls-2" cx="222.6" cy="82.11" r="45.35"/>
<circle class="cls-1" cx="124.84" cy="148.83" r="45.35" transform="translate(-68.68 131.87) rotate(-45)"/>
<circle class="cls-1" cx="78.68" cy="257.82" r="45.35" transform="translate(-184.03 318.21) rotate(-85.97)"/>
<circle class="cls-1" cx="98.77" cy="374.47" r="45.35" transform="translate(-119.11 54.29) rotate(-19.46)"/>
<circle class="cls-1" cx="178.73" cy="461.74" r="45.35" transform="translate(-274.15 261.62) rotate(-45)"/>
<circle class="cls-2" cx="293.18" cy="491.92" r="45.35"/>
<circle class="cls-1" cx="405.78" cy="455.44" r="45.35" transform="translate(-203.19 420.32) rotate(-45)"/>
<circle class="cls-1" cx="480.78" cy="363.87" r="45.35" transform="translate(-2.5 724.41) rotate(-73.84)"/>
<circle class="cls-1" cx="494.37" cy="246.29" r="45.35" transform="translate(-28.47 68.25) rotate(-7.68)"/>
<circle class="cls-1" cx="442.23" cy="140.03" r="45.35" transform="translate(30.51 353.72) rotate(-45)"/>
<line class="cls-6" x1="285.95" y1="283.56" x2="214.19" y2="549.91"/>
<line class="cls-6" x1="284.79" y1="281.68" x2="372" y2="543.82"/>
<line class="cls-6" x1="289.31" y1="283.47" x2="428" y2="48.89"/>
<line class="cls-6" x1="288.31" y1="282.27" x2="134.98" y2="58.22"/>
<circle class="cls-5" cx="285.06" cy="282.29" r="90.69"/>
<circle class="cls-1" cx="285.06" cy="283.56" r="70.87"/>
<path class="cls-1" d="M269.84,137.22h18.42c7.98,0,14.04,5.82,14.04,13.56,0,6.24-4.08,11.1-9.96,12.6l2.88,4.14c1.56,2.22,3.66,3.3,6.24,3.3h1.68v7.8h-2.58c-6.06,0-10.38-2.34-13.08-7.2l-4.74-7.56h-4.62v14.76h-8.28v-41.4h0ZM278.12,145.02v11.64h9.96c3.24,0,5.7-2.52,5.7-5.82s-2.46-5.82-5.7-5.82h-9.96Z"/>
<path class="cls-1" d="M280.89,385.96h9.78l15.9,41.4h-9.06l-2.94-8.04h-17.82l-2.88,8.04h-8.94l15.96-41.4h0ZM291.75,411.7l-6.06-16.62-6.12,16.62h12.18Z"/>
<path class="cls-1" d="M138.79,281.68c0-12.18,9.36-21.42,21.84-21.42,10.5,0,18.9,6.72,20.82,16.14h-8.76c-1.68-4.86-6.42-8.16-12.06-8.16-7.62,0-13.38,5.76-13.38,13.44s5.76,13.44,13.38,13.44c5.64,0,10.38-3.3,12.06-8.16h8.76c-1.92,9.42-10.32,16.14-20.82,16.14-12.48,0-21.84-9.24-21.84-21.42h0Z"/>
<path class="cls-1" d="M401.24,260.98h8.28v41.4h-8.28v-41.4Z"/>
<g>
<path class="cls-3" d="M225.21,283.89c0-4.26,3.28-7.5,7.64-7.5s7.64,3.23,7.64,7.5-3.3,7.5-7.64,7.5-7.64-3.23-7.64-7.5ZM237.51,283.89c0-2.69-2.02-4.7-4.66-4.7s-4.68,2.02-4.68,4.7,2.02,4.7,4.68,4.7,4.66-2.02,4.66-4.7Z"/>
<path class="cls-3" d="M242.7,276.65h6.59c2.81,0,4.98,2.08,4.98,4.83s-2.16,4.83-4.98,4.83h-3.7v4.83h-2.9v-14.49ZM245.6,279.38v4.2h3.63c1.18,0,2.06-.9,2.06-2.1s-.88-2.1-2.06-2.1h-3.63Z"/>
<path class="cls-3" d="M256.18,276.65h9.53v2.73h-6.63v3.11h5.94v2.73h-5.94v3.19h6.74v2.73h-9.64v-14.49Z"/>
<path class="cls-3" d="M268.05,276.65h6.45c2.79,0,4.91,2.04,4.91,4.75,0,2.18-1.43,3.88-3.49,4.41l1.01,1.45c.55.78,1.28,1.16,2.18,1.16h.59v2.73h-.9c-2.12,0-3.63-.82-4.58-2.52l-1.66-2.65h-1.62v5.17h-2.9v-14.49ZM270.95,279.38v4.07h3.49c1.13,0,1.99-.88,1.99-2.04s-.86-2.04-1.99-2.04h-3.49Z"/>
<path class="cls-3" d="M285.94,276.65h3.42l5.56,14.49h-3.17l-1.03-2.81h-6.24l-1.01,2.81h-3.13l5.58-14.49ZM289.74,285.65l-2.12-5.82-2.14,5.82h4.26Z"/>
<path class="cls-3" d="M297.89,279.38h-3.95v-2.73h10.79v2.73h-3.95v11.76h-2.9v-11.76Z"/>
<path class="cls-3" d="M306.75,276.65h2.9v14.49h-2.9v-14.49Z"/>
<path class="cls-3" d="M311.87,283.89c0-4.26,3.28-7.5,7.64-7.5s7.64,3.23,7.64,7.5-3.3,7.5-7.64,7.5-7.64-3.23-7.64-7.5ZM324.18,283.89c0-2.69-2.02-4.7-4.66-4.7s-4.68,2.02-4.68,4.7,2.02,4.7,4.68,4.7,4.66-2.02,4.66-4.7Z"/>
<path class="cls-3" d="M329.37,276.65h2.94l6.59,9.53v-9.53h2.9v14.49h-2.94l-6.59-9.53v9.53h-2.9v-14.49Z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 5.3 KiB

View file

@ -1,72 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Ebene_1" data-name="Ebene 1" xmlns="http://www.w3.org/2000/svg" width="200mm" height="200mm" viewBox="0 0 566.92 566.93">
<defs>
<style>
.cls-1, .cls-2 {
fill: #0071bc;
}
.cls-3 {
fill: #2e3192;
}
.cls-4, .cls-5 {
fill: #3fa9f5;
}
.cls-5 {
stroke-miterlimit: 10;
stroke-width: 5.67px;
}
.cls-5, .cls-6 {
stroke: #0071bc;
}
.cls-2 {
stroke: #fcec48;
stroke-width: 5px;
}
.cls-2, .cls-6 {
stroke-miterlimit: 10;
}
.cls-6 {
fill: none;
stroke-width: 5.67px;
}
</style>
</defs>
<path class="cls-1" d="M283.54,17.01c35.61,0,70.19,6.92,102.78,20.58,31.52,13.21,59.89,32.13,84.32,56.25,24.45,24.13,43.75,52.26,57.36,83.62,14.09,32.46,21.46,67.01,21.9,102.71.45,35.98-6.17,70.95-19.65,103.96-13.03,31.89-31.89,60.62-56.06,85.4-24.17,24.78-52.43,44.34-83.99,58.15-32.66,14.3-67.47,21.77-103.44,22.21-1.12.01-2.25.02-3.37.02-35.62,0-70.2-6.92-102.79-20.58-31.52-13.2-59.89-32.13-84.32-56.24-24.45-24.13-43.74-52.26-57.36-83.62-14.09-32.46-21.46-67.02-21.9-102.72-.45-35.98,6.17-70.95,19.65-103.96,13.03-31.89,31.89-60.62,56.06-85.4,24.17-24.78,52.43-44.34,83.99-58.15,32.66-14.3,67.47-21.77,103.44-22.21,1.12-.01,2.25-.02,3.37-.02h0M283.54,0c-1.19,0-2.39,0-3.58.02C123.42,1.96-1.92,130.43.02,286.97c1.92,155.35,128.45,279.96,283.37,279.96,1.19,0,2.39,0,3.58-.02,156.54-1.94,281.87-130.41,279.93-286.95C564.99,124.61,438.45,0,283.54,0h0Z"/>
<circle class="cls-4" cx="283.47" cy="283.47" r="269.29"/>
<circle class="cls-2" cx="340.92" cy="78.82" r="45.35" transform="translate(44.12 264.15) rotate(-45)"/>
<circle class="cls-2" cx="222.6" cy="82.11" r="45.35"/>
<circle class="cls-1" cx="124.84" cy="148.83" r="45.35" transform="translate(-68.68 131.87) rotate(-45)"/>
<circle class="cls-1" cx="78.68" cy="257.82" r="45.35" transform="translate(-184.03 318.21) rotate(-85.97)"/>
<circle class="cls-1" cx="98.77" cy="374.47" r="45.35" transform="translate(-119.11 54.29) rotate(-19.46)"/>
<circle class="cls-1" cx="178.73" cy="461.74" r="45.35" transform="translate(-274.15 261.62) rotate(-45)"/>
<circle class="cls-2" cx="293.18" cy="491.92" r="45.35"/>
<circle class="cls-1" cx="405.78" cy="455.44" r="45.35" transform="translate(-203.19 420.32) rotate(-45)"/>
<circle class="cls-1" cx="480.78" cy="363.87" r="45.35" transform="translate(-2.5 724.41) rotate(-73.84)"/>
<circle class="cls-1" cx="494.37" cy="246.29" r="45.35" transform="translate(-28.47 68.25) rotate(-7.68)"/>
<circle class="cls-1" cx="442.23" cy="140.03" r="45.35" transform="translate(30.51 353.72) rotate(-45)"/>
<line class="cls-6" x1="285.95" y1="283.56" x2="214.19" y2="549.91"/>
<line class="cls-6" x1="284.79" y1="281.68" x2="372" y2="543.82"/>
<line class="cls-6" x1="289.31" y1="283.47" x2="428" y2="48.89"/>
<line class="cls-6" x1="288.31" y1="282.27" x2="134.98" y2="58.22"/>
<circle class="cls-5" cx="285.06" cy="282.29" r="90.69"/>
<circle class="cls-1" cx="285.06" cy="283.56" r="70.87"/>
<path class="cls-1" d="M269.84,137.22h18.42c7.98,0,14.04,5.82,14.04,13.56,0,6.24-4.08,11.1-9.96,12.6l2.88,4.14c1.56,2.22,3.66,3.3,6.24,3.3h1.68v7.8h-2.58c-6.06,0-10.38-2.34-13.08-7.2l-4.74-7.56h-4.62v14.76h-8.28v-41.4h0ZM278.12,145.02v11.64h9.96c3.24,0,5.7-2.52,5.7-5.82s-2.46-5.82-5.7-5.82h-9.96Z"/>
<path class="cls-1" d="M280.89,385.96h9.78l15.9,41.4h-9.06l-2.94-8.04h-17.82l-2.88,8.04h-8.94l15.96-41.4h0ZM291.75,411.7l-6.06-16.62-6.12,16.62h12.18Z"/>
<path class="cls-1" d="M138.79,281.68c0-12.18,9.36-21.42,21.84-21.42,10.5,0,18.9,6.72,20.82,16.14h-8.76c-1.68-4.86-6.42-8.16-12.06-8.16-7.62,0-13.38,5.76-13.38,13.44s5.76,13.44,13.38,13.44c5.64,0,10.38-3.3,12.06-8.16h8.76c-1.92,9.42-10.32,16.14-20.82,16.14-12.48,0-21.84-9.24-21.84-21.42h0Z"/>
<path class="cls-1" d="M401.24,260.98h8.28v41.4h-8.28v-41.4Z"/>
<g>
<path class="cls-3" d="M244.07,276.65h6.45c2.79,0,4.91,2.04,4.91,4.75,0,2.18-1.43,3.88-3.49,4.41l1.01,1.45c.55.78,1.28,1.16,2.18,1.16h.59v2.73h-.9c-2.12,0-3.63-.82-4.58-2.52l-1.66-2.65h-1.62v5.17h-2.9v-14.49ZM246.96,279.38v4.07h3.49c1.13,0,2-.88,2-2.04s-.86-2.04-2-2.04h-3.49Z"/>
<path class="cls-3" d="M257.68,276.65h9.53v2.73h-6.63v3.11h5.94v2.73h-5.94v3.19h6.74v2.73h-9.64v-14.49Z"/>
<path class="cls-3" d="M268.32,276.65h3.23l4.03,10.65,4.05-10.65h3.17l-5.75,14.49h-2.98l-5.75-14.49Z"/>
<path class="cls-3" d="M284.45,276.65h2.9v14.49h-2.9v-14.49Z"/>
<path class="cls-3" d="M290.29,276.65h9.53v2.73h-6.63v3.11h5.94v2.73h-5.94v3.19h6.74v2.73h-9.64v-14.49Z"/>
<path class="cls-3" d="M301,276.65h3.21l3.23,10.5,3.25-10.5h2.65l3.28,10.5,3.21-10.5h3.11l-4.89,14.49h-2.92l-3.15-10.06-3.11,10.06h-2.94l-4.93-14.49Z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 4.7 KiB

View file

@ -1,73 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Ebene_1" data-name="Ebene 1" xmlns="http://www.w3.org/2000/svg" width="200mm" height="200mm" viewBox="0 0 566.92 566.93">
<defs>
<style>
.cls-1, .cls-2 {
fill: #0071bc;
}
.cls-3 {
fill: #2e3192;
}
.cls-4, .cls-5 {
fill: #3fa9f5;
}
.cls-5 {
stroke-miterlimit: 10;
stroke-width: 5.67px;
}
.cls-5, .cls-6 {
stroke: #0071bc;
}
.cls-2 {
stroke: #fcec48;
stroke-width: 5px;
}
.cls-2, .cls-6 {
stroke-miterlimit: 10;
}
.cls-6 {
fill: none;
stroke-width: 5.67px;
}
</style>
</defs>
<path class="cls-1" d="M283.54,17.01c35.61,0,70.19,6.92,102.78,20.58,31.52,13.21,59.89,32.13,84.32,56.25,24.45,24.13,43.75,52.26,57.36,83.62,14.09,32.46,21.46,67.01,21.9,102.71.45,35.98-6.17,70.95-19.65,103.96-13.03,31.89-31.89,60.62-56.06,85.4-24.17,24.78-52.43,44.34-83.99,58.15-32.66,14.3-67.47,21.77-103.44,22.21-1.12.01-2.25.02-3.37.02-35.62,0-70.2-6.92-102.79-20.58-31.52-13.2-59.89-32.13-84.32-56.24-24.45-24.13-43.74-52.26-57.36-83.62-14.09-32.46-21.46-67.02-21.9-102.72-.45-35.98,6.17-70.95,19.65-103.96,13.03-31.89,31.89-60.62,56.06-85.4,24.17-24.78,52.43-44.34,83.99-58.15,32.66-14.3,67.47-21.77,103.44-22.21,1.12-.01,2.25-.02,3.37-.02h0M283.54,0c-1.19,0-2.39,0-3.58.02C123.42,1.96-1.92,130.43.02,286.97c1.92,155.35,128.45,279.96,283.37,279.96,1.19,0,2.39,0,3.58-.02,156.54-1.94,281.87-130.41,279.93-286.95C564.99,124.61,438.45,0,283.54,0h0Z"/>
<circle class="cls-4" cx="283.47" cy="283.47" r="269.29"/>
<circle class="cls-2" cx="340.92" cy="78.82" r="45.35" transform="translate(44.12 264.15) rotate(-45)"/>
<circle class="cls-2" cx="222.6" cy="82.11" r="45.35"/>
<circle class="cls-1" cx="124.84" cy="148.83" r="45.35" transform="translate(-68.68 131.87) rotate(-45)"/>
<circle class="cls-1" cx="78.68" cy="257.82" r="45.35" transform="translate(-184.03 318.21) rotate(-85.97)"/>
<circle class="cls-1" cx="98.77" cy="374.47" r="45.35" transform="translate(-119.11 54.29) rotate(-19.46)"/>
<circle class="cls-1" cx="178.73" cy="461.74" r="45.35" transform="translate(-274.15 261.62) rotate(-45)"/>
<circle class="cls-2" cx="293.18" cy="491.92" r="45.35"/>
<circle class="cls-1" cx="405.78" cy="455.44" r="45.35" transform="translate(-203.19 420.32) rotate(-45)"/>
<circle class="cls-1" cx="480.78" cy="363.87" r="45.35" transform="translate(-2.5 724.41) rotate(-73.84)"/>
<circle class="cls-1" cx="494.37" cy="246.29" r="45.35" transform="translate(-28.47 68.25) rotate(-7.68)"/>
<circle class="cls-1" cx="442.23" cy="140.03" r="45.35" transform="translate(30.51 353.72) rotate(-45)"/>
<line class="cls-6" x1="285.95" y1="283.56" x2="214.19" y2="549.91"/>
<line class="cls-6" x1="284.79" y1="281.68" x2="372" y2="543.82"/>
<line class="cls-6" x1="289.31" y1="283.47" x2="428" y2="48.89"/>
<line class="cls-6" x1="288.31" y1="282.27" x2="134.98" y2="58.22"/>
<circle class="cls-5" cx="285.06" cy="282.29" r="90.69"/>
<circle class="cls-1" cx="285.06" cy="283.56" r="70.87"/>
<path class="cls-1" d="M269.84,137.22h18.42c7.98,0,14.04,5.82,14.04,13.56,0,6.24-4.08,11.1-9.96,12.6l2.88,4.14c1.56,2.22,3.66,3.3,6.24,3.3h1.68v7.8h-2.58c-6.06,0-10.38-2.34-13.08-7.2l-4.74-7.56h-4.62v14.76h-8.28v-41.4h0ZM278.12,145.02v11.64h9.96c3.24,0,5.7-2.52,5.7-5.82s-2.46-5.82-5.7-5.82h-9.96Z"/>
<path class="cls-1" d="M280.89,385.96h9.78l15.9,41.4h-9.06l-2.94-8.04h-17.82l-2.88,8.04h-8.94l15.96-41.4h0ZM291.75,411.7l-6.06-16.62-6.12,16.62h12.18Z"/>
<path class="cls-1" d="M138.79,281.68c0-12.18,9.36-21.42,21.84-21.42,10.5,0,18.9,6.72,20.82,16.14h-8.76c-1.68-4.86-6.42-8.16-12.06-8.16-7.62,0-13.38,5.76-13.38,13.44s5.76,13.44,13.38,13.44c5.64,0,10.38-3.3,12.06-8.16h8.76c-1.92,9.42-10.32,16.14-20.82,16.14-12.48,0-21.84-9.24-21.84-21.42h0Z"/>
<path class="cls-1" d="M401.24,260.98h8.28v41.4h-8.28v-41.4Z"/>
<g>
<path class="cls-3" d="M236.38,286.85h2.98c0,1.09,1.09,1.95,2.48,1.95,1.28,0,2.33-.69,2.33-1.68,0-2.54-7.56-1.41-7.56-6.34,0-2.67,2.27-4.39,5.12-4.39s5.19,1.87,5.19,4.35h-2.98c0-1.01-.97-1.76-2.25-1.76-1.13,0-2.1.61-2.1,1.57,0,2.58,7.56,1.22,7.56,6.24,0,2.79-2.35,4.6-5.33,4.6s-5.44-1.97-5.44-4.54h0Z"/>
<path class="cls-3" d="M249.07,285.53v-8.88h2.9v8.84c0,1.76,1.32,3.11,3.11,3.11s3.11-1.34,3.11-3.11v-8.84h2.9v8.88c0,3.34-2.58,5.86-6,5.86s-6-2.52-6-5.86h-.02Z"/>
<path class="cls-3" d="M263.75,276.65h6.59c2.81,0,4.98,2.08,4.98,4.83s-2.16,4.83-4.98,4.83h-3.7v4.83h-2.9v-14.49h.01ZM266.64,279.38v4.2h3.63c1.18,0,2.06-.9,2.06-2.1s-.88-2.1-2.06-2.1h-3.63Z"/>
<path class="cls-3" d="M277.23,276.65h6.59c2.81,0,4.98,2.08,4.98,4.83s-2.16,4.83-4.98,4.83h-3.7v4.83h-2.9v-14.49h.01ZM280.13,279.38v4.2h3.63c1.18,0,2.06-.9,2.06-2.1s-.88-2.1-2.06-2.1h-3.63Z"/>
<path class="cls-3" d="M289.93,283.89c0-4.26,3.28-7.5,7.64-7.5s7.64,3.23,7.64,7.5-3.3,7.5-7.64,7.5-7.64-3.23-7.64-7.5ZM302.24,283.89c0-2.69-2.02-4.7-4.66-4.7s-4.68,2.02-4.68,4.7,2.02,4.7,4.68,4.7,4.66-2.02,4.66-4.7Z"/>
<path class="cls-3" d="M307.43,276.65h6.45c2.79,0,4.91,2.04,4.91,4.75,0,2.18-1.43,3.88-3.49,4.41l1.01,1.45c.55.78,1.28,1.16,2.18,1.16h.59v2.73h-.9c-2.12,0-3.63-.82-4.58-2.52l-1.66-2.65h-1.62v5.17h-2.9v-14.49h0ZM310.32,279.38v4.07h3.49c1.13,0,1.99-.88,1.99-2.04s-.86-2.04-1.99-2.04h-3.49Z"/>
<path class="cls-3" d="M323.79,279.38h-3.95v-2.73h10.79v2.73h-3.95v11.76h-2.9v-11.76h.01Z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 5.3 KiB

View file

@ -1,76 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Ebene_1" data-name="Ebene 1" xmlns="http://www.w3.org/2000/svg" width="200mm" height="200mm" viewBox="0 0 566.92 566.93">
<defs>
<style>
.cls-1, .cls-2 {
fill: #0071bc;
}
.cls-3 {
fill: #2e3192;
}
.cls-4, .cls-5 {
fill: #3fa9f5;
}
.cls-5 {
stroke-miterlimit: 10;
stroke-width: 5.67px;
}
.cls-5, .cls-6 {
stroke: #0071bc;
}
.cls-2 {
stroke: #fcec48;
stroke-width: 5px;
}
.cls-2, .cls-6 {
stroke-miterlimit: 10;
}
.cls-6 {
fill: none;
stroke-width: 5.67px;
}
</style>
</defs>
<path class="cls-1" d="M283.54,17.01c35.61,0,70.19,6.92,102.78,20.58,31.52,13.21,59.89,32.13,84.32,56.25,24.45,24.13,43.75,52.26,57.36,83.62,14.09,32.46,21.46,67.01,21.9,102.71.45,35.98-6.17,70.95-19.65,103.96-13.03,31.89-31.89,60.62-56.06,85.4-24.17,24.78-52.43,44.34-83.99,58.15-32.66,14.3-67.47,21.77-103.44,22.21-1.12.01-2.25.02-3.37.02-35.62,0-70.2-6.92-102.79-20.58-31.52-13.2-59.89-32.13-84.32-56.24-24.45-24.13-43.74-52.26-57.36-83.62-14.09-32.46-21.46-67.02-21.9-102.72-.45-35.98,6.17-70.95,19.65-103.96,13.03-31.89,31.89-60.62,56.06-85.4,24.17-24.78,52.43-44.34,83.99-58.15,32.66-14.3,67.47-21.77,103.44-22.21,1.12-.01,2.25-.02,3.37-.02h0M283.54,0c-1.19,0-2.39,0-3.58.02C123.42,1.96-1.92,130.43.02,286.97c1.92,155.35,128.45,279.96,283.37,279.96,1.19,0,2.39,0,3.58-.02,156.54-1.94,281.87-130.41,279.93-286.95C564.99,124.61,438.45,0,283.54,0h0Z"/>
<circle class="cls-4" cx="283.47" cy="283.47" r="269.29"/>
<circle class="cls-2" cx="340.92" cy="78.82" r="45.35" transform="translate(44.12 264.15) rotate(-45)"/>
<circle class="cls-2" cx="222.6" cy="82.11" r="45.35"/>
<circle class="cls-1" cx="124.84" cy="148.83" r="45.35" transform="translate(-68.68 131.87) rotate(-45)"/>
<circle class="cls-1" cx="78.68" cy="257.82" r="45.35" transform="translate(-184.03 318.21) rotate(-85.97)"/>
<circle class="cls-1" cx="98.77" cy="374.47" r="45.35" transform="translate(-119.11 54.29) rotate(-19.46)"/>
<circle class="cls-1" cx="178.73" cy="461.74" r="45.35" transform="translate(-274.15 261.62) rotate(-45)"/>
<circle class="cls-2" cx="293.18" cy="491.92" r="45.35"/>
<circle class="cls-1" cx="405.78" cy="455.44" r="45.35" transform="translate(-203.19 420.32) rotate(-45)"/>
<circle class="cls-1" cx="480.78" cy="363.87" r="45.35" transform="translate(-2.5 724.41) rotate(-73.84)"/>
<circle class="cls-1" cx="494.37" cy="246.29" r="45.35" transform="translate(-28.47 68.25) rotate(-7.68)"/>
<circle class="cls-1" cx="442.23" cy="140.03" r="45.35" transform="translate(30.51 353.72) rotate(-45)"/>
<line class="cls-6" x1="285.95" y1="283.56" x2="214.19" y2="549.91"/>
<line class="cls-6" x1="284.79" y1="281.68" x2="372" y2="543.82"/>
<line class="cls-6" x1="289.31" y1="283.47" x2="428" y2="48.89"/>
<line class="cls-6" x1="288.31" y1="282.27" x2="134.98" y2="58.22"/>
<circle class="cls-5" cx="285.06" cy="282.29" r="90.69"/>
<circle class="cls-1" cx="285.06" cy="283.56" r="70.87"/>
<path class="cls-1" d="M269.84,137.22h18.42c7.98,0,14.04,5.82,14.04,13.56,0,6.24-4.08,11.1-9.96,12.6l2.88,4.14c1.56,2.22,3.66,3.3,6.24,3.3h1.68v7.8h-2.58c-6.06,0-10.38-2.34-13.08-7.2l-4.74-7.56h-4.62v14.76h-8.28v-41.4h0ZM278.12,145.02v11.64h9.96c3.24,0,5.7-2.52,5.7-5.82s-2.46-5.82-5.7-5.82h-9.96Z"/>
<path class="cls-1" d="M280.89,385.96h9.78l15.9,41.4h-9.06l-2.94-8.04h-17.82l-2.88,8.04h-8.94l15.96-41.4h0ZM291.75,411.7l-6.06-16.62-6.12,16.62h12.18Z"/>
<path class="cls-1" d="M138.79,281.68c0-12.18,9.36-21.42,21.84-21.42,10.5,0,18.9,6.72,20.82,16.14h-8.76c-1.68-4.86-6.42-8.16-12.06-8.16-7.62,0-13.38,5.76-13.38,13.44s5.76,13.44,13.38,13.44c5.64,0,10.38-3.3,12.06-8.16h8.76c-1.92,9.42-10.32,16.14-20.82,16.14-12.48,0-21.84-9.24-21.84-21.42h0Z"/>
<path class="cls-1" d="M401.24,260.98h8.28v41.4h-8.28v-41.4Z"/>
<g>
<path class="cls-3" d="M226.69,279.38h-3.95v-2.73h10.79v2.73h-3.95v11.76h-2.9v-11.76Z"/>
<path class="cls-3" d="M235.55,276.65h6.45c2.79,0,4.91,2.04,4.91,4.75,0,2.18-1.43,3.88-3.49,4.41l1.01,1.45c.55.78,1.28,1.16,2.18,1.16h.59v2.73h-.9c-2.12,0-3.63-.82-4.58-2.52l-1.66-2.65h-1.62v5.17h-2.9v-14.49ZM238.45,279.38v4.07h3.49c1.13,0,2-.88,2-2.04s-.86-2.04-2-2.04h-3.49Z"/>
<path class="cls-3" d="M253.44,276.65h3.42l5.56,14.49h-3.17l-1.03-2.81h-6.24l-1.01,2.81h-3.13l5.58-14.49ZM257.24,285.65l-2.12-5.82-2.14,5.82h4.26Z"/>
<path class="cls-3" d="M263.92,276.65h2.94l6.59,9.53v-9.53h2.9v14.49h-2.94l-6.59-9.53v9.53h-2.9v-14.49Z"/>
<path class="cls-3" d="M278.54,286.85h2.98c0,1.09,1.09,1.95,2.48,1.95,1.28,0,2.33-.69,2.33-1.68,0-2.54-7.56-1.41-7.56-6.34,0-2.67,2.27-4.39,5.12-4.39s5.19,1.87,5.19,4.35h-2.98c0-1.01-.97-1.76-2.25-1.76-1.13,0-2.1.61-2.1,1.57,0,2.58,7.56,1.22,7.56,6.24,0,2.79-2.35,4.6-5.33,4.6s-5.44-1.97-5.44-4.54Z"/>
<path class="cls-3" d="M291.49,276.65h2.9v14.49h-2.9v-14.49Z"/>
<path class="cls-3" d="M300.36,279.38h-3.95v-2.73h10.79v2.73h-3.95v11.76h-2.9v-11.76Z"/>
<path class="cls-3" d="M309.22,276.65h2.9v14.49h-2.9v-14.49Z"/>
<path class="cls-3" d="M314.34,283.89c0-4.26,3.28-7.5,7.64-7.5s7.64,3.23,7.64,7.5-3.3,7.5-7.64,7.5-7.64-3.23-7.64-7.5ZM326.65,283.89c0-2.69-2.02-4.7-4.66-4.7s-4.68,2.02-4.68,4.7,2.02,4.7,4.68,4.7,4.66-2.02,4.66-4.7Z"/>
<path class="cls-3" d="M331.83,276.65h2.94l6.59,9.53v-9.53h2.9v14.49h-2.94l-6.59-9.53v9.53h-2.9v-14.49Z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 5.4 KiB

View file

@ -1,16 +0,0 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../semver/bin/semver.js" "$@"
else
exec node "$basedir/../semver/bin/semver.js" "$@"
fi

View file

@ -1,17 +0,0 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0
IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\semver\bin\semver.js" %*

View file

@ -1,28 +0,0 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../semver/bin/semver.js" $args
} else {
& "$basedir/node$exe" "$basedir/../semver/bin/semver.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../semver/bin/semver.js" $args
} else {
& "node$exe" "$basedir/../semver/bin/semver.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret

View file

@ -1,101 +0,0 @@
{
"name": "build",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"node_modules/@img/colour": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@img/colour/-/colour-1.1.0.tgz",
"integrity": "sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==",
"license": "MIT",
"engines": {
"node": ">=18"
}
},
"node_modules/@img/sharp-win32-x64": {
"version": "0.34.5",
"resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.34.5.tgz",
"integrity": "sha512-+29YMsqY2/9eFEiW93eqWnuLcWcufowXewwSNIT6UwZdUUCrM3oFjMWH/Z6/TMmb4hlFenmfAVbpWeup2jryCw==",
"cpu": [
"x64"
],
"license": "Apache-2.0 AND LGPL-3.0-or-later",
"optional": true,
"os": [
"win32"
],
"engines": {
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
},
"funding": {
"url": "https://opencollective.com/libvips"
}
},
"node_modules/detect-libc": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
"integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
"license": "Apache-2.0",
"engines": {
"node": ">=8"
}
},
"node_modules/semver": {
"version": "7.8.4",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.8.4.tgz",
"integrity": "sha512-rUCObTnP32Q08R2uuIrt7r9PlEonuTmtuXYcW6s5kjdlj3xbnwe+21yXptAUYcMAABLkYYTtnmzb3w3EDZfueA==",
"license": "ISC",
"bin": {
"semver": "bin/semver.js"
},
"engines": {
"node": ">=10"
}
},
"node_modules/sharp": {
"version": "0.34.5",
"resolved": "https://registry.npmjs.org/sharp/-/sharp-0.34.5.tgz",
"integrity": "sha512-Ou9I5Ft9WNcCbXrU9cMgPBcCK8LiwLqcbywW3t4oDV37n1pzpuNLsYiAV8eODnjbtQlSDwZ2cUEeQz4E54Hltg==",
"hasInstallScript": true,
"license": "Apache-2.0",
"dependencies": {
"@img/colour": "^1.0.0",
"detect-libc": "^2.1.2",
"semver": "^7.7.3"
},
"engines": {
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
},
"funding": {
"url": "https://opencollective.com/libvips"
},
"optionalDependencies": {
"@img/sharp-darwin-arm64": "0.34.5",
"@img/sharp-darwin-x64": "0.34.5",
"@img/sharp-libvips-darwin-arm64": "1.2.4",
"@img/sharp-libvips-darwin-x64": "1.2.4",
"@img/sharp-libvips-linux-arm": "1.2.4",
"@img/sharp-libvips-linux-arm64": "1.2.4",
"@img/sharp-libvips-linux-ppc64": "1.2.4",
"@img/sharp-libvips-linux-riscv64": "1.2.4",
"@img/sharp-libvips-linux-s390x": "1.2.4",
"@img/sharp-libvips-linux-x64": "1.2.4",
"@img/sharp-libvips-linuxmusl-arm64": "1.2.4",
"@img/sharp-libvips-linuxmusl-x64": "1.2.4",
"@img/sharp-linux-arm": "0.34.5",
"@img/sharp-linux-arm64": "0.34.5",
"@img/sharp-linux-ppc64": "0.34.5",
"@img/sharp-linux-riscv64": "0.34.5",
"@img/sharp-linux-s390x": "0.34.5",
"@img/sharp-linux-x64": "0.34.5",
"@img/sharp-linuxmusl-arm64": "0.34.5",
"@img/sharp-linuxmusl-x64": "0.34.5",
"@img/sharp-wasm32": "0.34.5",
"@img/sharp-win32-arm64": "0.34.5",
"@img/sharp-win32-ia32": "0.34.5",
"@img/sharp-win32-x64": "0.34.5"
}
}
}
}

View file

@ -1,82 +0,0 @@
# Licensing
## color
Copyright (c) 2012 Heather Arthur
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
## color-convert
Copyright (c) 2011-2016 Heather Arthur <fayearthur@gmail.com>.
Copyright (c) 2016-2021 Josh Junon <josh@junon.me>.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
## color-string
Copyright (c) 2011 Heather Arthur <fayearthur@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
## color-name
The MIT License (MIT)
Copyright (c) 2015 Dmitry Ivanov
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View file

@ -1,15 +0,0 @@
# `@img/colour`
The latest version of the
[color](https://www.npmjs.com/package/color)
package is now ESM-only,
however some JavaScript runtimes do not yet support this,
which includes versions of Node.js prior to 20.19.0.
This package converts the `color` package and its dependencies,
all of which are MIT-licensed, to CommonJS.
- [color](https://www.npmjs.com/package/color)
- [color-convert](https://www.npmjs.com/package/color-convert)
- [color-string](https://www.npmjs.com/package/color-string)
- [color-name](https://www.npmjs.com/package/color-name)

File diff suppressed because it is too large Load diff

View file

@ -1 +0,0 @@
module.exports = require("./color.cjs").default;

View file

@ -1,929 +0,0 @@
// Generated by dts-bundle-generator v9.5.1
type Channels = number;
type RGB = [
r: number,
g: number,
b: number
];
type HSL = [
h: number,
s: number,
l: number
];
type HSV = [
h: number,
s: number,
v: number
];
type CMYK = [
c: number,
m: number,
y: number,
k: number
];
type LAB = [
l: number,
a: number,
b: number
];
type LCH = [
l: number,
c: number,
h: number
];
type HCG = [
h: number,
c: number,
g: number
];
type HWB = [
h: number,
w: number,
b: number
];
type XYZ = [
x: number,
y: number,
z: number
];
type Apple = [
r16: number,
g16: number,
b16: number
];
type Gray = [
gray: number
];
type ANSI16 = number;
type ANSI256 = number;
type Keyword = string;
type HEX = string;
declare namespace route {
type rgb = {
hsl(from: RGB): HSL;
hsl(...from: RGB): HSL;
hsl(from: RGB): HSL;
hsl(...from: RGB): HSL;
hsv(from: RGB): HSV;
hsv(...from: RGB): HSV;
hwb(from: RGB): HWB;
hwb(...from: RGB): HWB;
cmyk(from: RGB): CMYK;
cmyk(...from: RGB): CMYK;
xyz(from: RGB): XYZ;
xyz(...from: RGB): XYZ;
lab(from: RGB): LAB;
lab(...from: RGB): LAB;
lch(from: RGB): LCH;
lch(...from: RGB): LCH;
hex(from: RGB): HEX;
hex(...from: RGB): HEX;
keyword(from: RGB): Keyword;
keyword(...from: RGB): Keyword;
ansi16(from: RGB): ANSI16;
ansi16(...from: RGB): ANSI16;
ansi256(from: RGB): ANSI256;
ansi256(...from: RGB): ANSI256;
hcg(from: RGB): HCG;
hcg(...from: RGB): HCG;
apple(from: RGB): Apple;
apple(...from: RGB): Apple;
gray(from: RGB): Gray;
gray(...from: RGB): Gray;
};
type hsl = {
rgb(from: HSL): RGB;
rgb(...from: HSL): RGB;
hsv(from: HSL): HSV;
hsv(...from: HSL): HSV;
hwb(from: HSL): HWB;
hwb(...from: HSL): HWB;
cmyk(from: HSL): CMYK;
cmyk(...from: HSL): CMYK;
xyz(from: HSL): XYZ;
xyz(...from: HSL): XYZ;
lab(from: HSL): LAB;
lab(...from: HSL): LAB;
lch(from: HSL): LCH;
lch(...from: HSL): LCH;
hex(from: HSL): HEX;
hex(...from: HSL): HEX;
keyword(from: HSL): Keyword;
keyword(...from: HSL): Keyword;
ansi16(from: HSL): ANSI16;
ansi16(...from: HSL): ANSI16;
ansi256(from: HSL): ANSI256;
ansi256(...from: HSL): ANSI256;
hcg(from: HSL): HCG;
hcg(...from: HSL): HCG;
apple(from: HSL): Apple;
apple(...from: HSL): Apple;
gray(from: HSL): Gray;
gray(...from: HSL): Gray;
};
type hsv = {
rgb(from: HSV): RGB;
rgb(...from: HSV): RGB;
hsl(from: HSV): HSL;
hsl(...from: HSV): HSL;
hwb(from: HSV): HWB;
hwb(...from: HSV): HWB;
cmyk(from: HSV): CMYK;
cmyk(...from: HSV): CMYK;
xyz(from: HSV): XYZ;
xyz(...from: HSV): XYZ;
lab(from: HSV): LAB;
lab(...from: HSV): LAB;
lch(from: HSV): LCH;
lch(...from: HSV): LCH;
hex(from: HSV): HEX;
hex(...from: HSV): HEX;
keyword(from: HSV): Keyword;
keyword(...from: HSV): Keyword;
ansi16(from: HSV): ANSI16;
ansi16(...from: HSV): ANSI16;
ansi256(from: HSV): ANSI256;
ansi256(...from: HSV): ANSI256;
hcg(from: HSV): HCG;
hcg(...from: HSV): HCG;
apple(from: HSV): Apple;
apple(...from: HSV): Apple;
gray(from: HSV): Gray;
gray(...from: HSV): Gray;
};
type hwb = {
rgb(from: HWB): RGB;
rgb(...from: HWB): RGB;
hsl(from: HWB): HSL;
hsl(...from: HWB): HSL;
hsv(from: HWB): HSV;
hsv(...from: HWB): HSV;
cmyk(from: HWB): CMYK;
cmyk(...from: HWB): CMYK;
xyz(from: HWB): XYZ;
xyz(...from: HWB): XYZ;
lab(from: HWB): LAB;
lab(...from: HWB): LAB;
lch(from: HWB): LCH;
lch(...from: HWB): LCH;
hex(from: HWB): HEX;
hex(...from: HWB): HEX;
keyword(from: HWB): Keyword;
keyword(...from: HWB): Keyword;
ansi16(from: HWB): ANSI16;
ansi16(...from: HWB): ANSI16;
ansi256(from: HWB): ANSI256;
ansi256(...from: HWB): ANSI256;
hcg(from: HWB): HCG;
hcg(...from: HWB): HCG;
apple(from: HWB): Apple;
apple(...from: HWB): Apple;
gray(from: HWB): Gray;
gray(...from: HWB): Gray;
};
type cmyk = {
rgb(from: CMYK): RGB;
rgb(...from: CMYK): RGB;
hsl(from: CMYK): HSL;
hsl(...from: CMYK): HSL;
hsv(from: CMYK): HSV;
hsv(...from: CMYK): HSV;
hwb(from: CMYK): HWB;
hwb(...from: CMYK): HWB;
xyz(from: CMYK): XYZ;
xyz(...from: CMYK): XYZ;
lab(from: CMYK): LAB;
lab(...from: CMYK): LAB;
lch(from: CMYK): LCH;
lch(...from: CMYK): LCH;
hex(from: CMYK): HEX;
hex(...from: CMYK): HEX;
keyword(from: CMYK): Keyword;
keyword(...from: CMYK): Keyword;
ansi16(from: CMYK): ANSI16;
ansi16(...from: CMYK): ANSI16;
ansi256(from: CMYK): ANSI256;
ansi256(...from: CMYK): ANSI256;
hcg(from: CMYK): HCG;
hcg(...from: CMYK): HCG;
apple(from: CMYK): Apple;
apple(...from: CMYK): Apple;
gray(from: CMYK): Gray;
gray(...from: CMYK): Gray;
};
type xyz = {
rgb(from: XYZ): RGB;
rgb(...from: XYZ): RGB;
hsl(from: XYZ): HSL;
hsl(...from: XYZ): HSL;
hsv(from: XYZ): HSV;
hsv(...from: XYZ): HSV;
hwb(from: XYZ): HWB;
hwb(...from: XYZ): HWB;
cmyk(from: XYZ): CMYK;
cmyk(...from: XYZ): CMYK;
lab(from: XYZ): LAB;
lab(...from: XYZ): LAB;
lch(from: XYZ): LCH;
lch(...from: XYZ): LCH;
hex(from: XYZ): HEX;
hex(...from: XYZ): HEX;
keyword(from: XYZ): Keyword;
keyword(...from: XYZ): Keyword;
ansi16(from: XYZ): ANSI16;
ansi16(...from: XYZ): ANSI16;
ansi256(from: XYZ): ANSI256;
ansi256(...from: XYZ): ANSI256;
hcg(from: XYZ): HCG;
hcg(...from: XYZ): HCG;
apple(from: XYZ): Apple;
apple(...from: XYZ): Apple;
gray(from: XYZ): Gray;
gray(...from: XYZ): Gray;
};
type lab = {
rgb(from: LAB): RGB;
rgb(...from: LAB): RGB;
hsl(from: LAB): HSL;
hsl(...from: LAB): HSL;
hsv(from: LAB): HSV;
hsv(...from: LAB): HSV;
hwb(from: LAB): HWB;
hwb(...from: LAB): HWB;
cmyk(from: LAB): CMYK;
cmyk(...from: LAB): CMYK;
xyz(from: LAB): XYZ;
xyz(...from: LAB): XYZ;
lch(from: LAB): LCH;
lch(...from: LAB): LCH;
hex(from: LAB): HEX;
hex(...from: LAB): HEX;
keyword(from: LAB): Keyword;
keyword(...from: LAB): Keyword;
ansi16(from: LAB): ANSI16;
ansi16(...from: LAB): ANSI16;
ansi256(from: LAB): ANSI256;
ansi256(...from: LAB): ANSI256;
hcg(from: LAB): HCG;
hcg(...from: LAB): HCG;
apple(from: LAB): Apple;
apple(...from: LAB): Apple;
gray(from: LAB): Gray;
gray(...from: LAB): Gray;
};
type lch = {
rgb(from: LCH): RGB;
rgb(...from: LCH): RGB;
hsl(from: LCH): HSL;
hsl(...from: LCH): HSL;
hsv(from: LCH): HSV;
hsv(...from: LCH): HSV;
hwb(from: LCH): HWB;
hwb(...from: LCH): HWB;
cmyk(from: LCH): CMYK;
cmyk(...from: LCH): CMYK;
xyz(from: LCH): XYZ;
xyz(...from: LCH): XYZ;
lab(from: LCH): LAB;
lab(...from: LCH): LAB;
hex(from: LCH): HEX;
hex(...from: LCH): HEX;
keyword(from: LCH): Keyword;
keyword(...from: LCH): Keyword;
ansi16(from: LCH): ANSI16;
ansi16(...from: LCH): ANSI16;
ansi256(from: LCH): ANSI256;
ansi256(...from: LCH): ANSI256;
hcg(from: LCH): HCG;
hcg(...from: LCH): HCG;
apple(from: LCH): Apple;
apple(...from: LCH): Apple;
gray(from: LCH): Gray;
gray(...from: LCH): Gray;
};
type hex = {
rgb(from: HEX): RGB;
hsl(from: HEX): HSL;
hsv(from: HEX): HSV;
hwb(from: HEX): HWB;
cmyk(from: HEX): CMYK;
xyz(from: HEX): XYZ;
lab(from: HEX): LAB;
lch(from: HEX): LCH;
keyword(from: HEX): Keyword;
ansi16(from: HEX): ANSI16;
ansi256(from: HEX): ANSI256;
hcg(from: HEX): HCG;
apple(from: HEX): Apple;
gray(from: HEX): Gray;
};
type keyword = {
rgb(from: Keyword): RGB;
hsl(from: Keyword): HSL;
hsv(from: Keyword): HSV;
hwb(from: Keyword): HWB;
cmyk(from: Keyword): CMYK;
xyz(from: Keyword): XYZ;
lab(from: Keyword): LAB;
lch(from: Keyword): LCH;
hex(from: Keyword): HEX;
ansi16(from: Keyword): ANSI16;
ansi256(from: Keyword): ANSI256;
hcg(from: Keyword): HCG;
apple(from: Keyword): Apple;
gray(from: Keyword): Gray;
};
type ansi16 = {
rgb(from: ANSI16): RGB;
hsl(from: ANSI16): HSL;
hsv(from: ANSI16): HSV;
hwb(from: ANSI16): HWB;
cmyk(from: ANSI16): CMYK;
xyz(from: ANSI16): XYZ;
lab(from: ANSI16): LAB;
lch(from: ANSI16): LCH;
hex(from: ANSI16): HEX;
keyword(from: ANSI16): Keyword;
ansi256(from: ANSI16): ANSI256;
hcg(from: ANSI16): HCG;
apple(from: ANSI16): Apple;
gray(from: ANSI16): Gray;
};
type ansi256 = {
rgb(from: ANSI256): RGB;
hsl(from: ANSI256): HSL;
hsv(from: ANSI256): HSV;
hwb(from: ANSI256): HWB;
cmyk(from: ANSI256): CMYK;
xyz(from: ANSI256): XYZ;
lab(from: ANSI256): LAB;
lch(from: ANSI256): LCH;
hex(from: ANSI256): HEX;
keyword(from: ANSI256): Keyword;
ansi16(from: ANSI256): ANSI16;
hcg(from: ANSI256): HCG;
apple(from: ANSI256): Apple;
gray(from: ANSI256): Gray;
};
type hcg = {
rgb(from: HCG): RGB;
rgb(...from: HCG): RGB;
hsl(from: HCG): HSL;
hsl(...from: HCG): HSL;
hsv(from: HCG): HSV;
hsv(...from: HCG): HSV;
hwb(from: HCG): HWB;
hwb(...from: HCG): HWB;
cmyk(from: HCG): CMYK;
cmyk(...from: HCG): CMYK;
xyz(from: HCG): XYZ;
xyz(...from: HCG): XYZ;
lab(from: HCG): LAB;
lab(...from: HCG): LAB;
lch(from: HCG): LCH;
lch(...from: HCG): LCH;
hex(from: HCG): HEX;
hex(...from: HCG): HEX;
keyword(from: HCG): Keyword;
keyword(...from: HCG): Keyword;
ansi16(from: HCG): ANSI16;
ansi16(...from: HCG): ANSI16;
ansi256(from: HCG): ANSI256;
ansi256(...from: HCG): ANSI256;
apple(from: HCG): Apple;
apple(...from: HCG): Apple;
gray(from: HCG): Gray;
gray(...from: HCG): Gray;
};
type apple = {
rgb(from: Apple): RGB;
rgb(...from: Apple): RGB;
hsl(from: Apple): HSL;
hsl(...from: Apple): HSL;
hsv(from: Apple): HSV;
hsv(...from: Apple): HSV;
hwb(from: Apple): HWB;
hwb(...from: Apple): HWB;
cmyk(from: Apple): CMYK;
cmyk(...from: Apple): CMYK;
xyz(from: Apple): XYZ;
xyz(...from: Apple): XYZ;
lab(from: Apple): LAB;
lab(...from: Apple): LAB;
lch(from: Apple): LCH;
lch(...from: Apple): LCH;
hex(from: Apple): HEX;
hex(...from: Apple): HEX;
keyword(from: Apple): Keyword;
keyword(...from: Apple): Keyword;
ansi16(from: Apple): ANSI16;
ansi16(...from: Apple): ANSI16;
ansi256(from: Apple): ANSI256;
ansi256(...from: Apple): ANSI256;
hcg(from: Apple): HCG;
hcg(...from: Apple): HCG;
gray(from: Apple): Gray;
gray(...from: Apple): Gray;
};
type gray = {
rgb(from: Gray): RGB;
rgb(...from: Gray): RGB;
hsl(from: Gray): HSL;
hsl(...from: Gray): HSL;
hsv(from: Gray): HSV;
hsv(...from: Gray): HSV;
hwb(from: Gray): HWB;
hwb(...from: Gray): HWB;
cmyk(from: Gray): CMYK;
cmyk(...from: Gray): CMYK;
xyz(from: Gray): XYZ;
xyz(...from: Gray): XYZ;
lab(from: Gray): LAB;
lab(...from: Gray): LAB;
lch(from: Gray): LCH;
lch(...from: Gray): LCH;
hex(from: Gray): HEX;
hex(...from: Gray): HEX;
keyword(from: Gray): Keyword;
keyword(...from: Gray): Keyword;
ansi16(from: Gray): ANSI16;
ansi16(...from: Gray): ANSI16;
ansi256(from: Gray): ANSI256;
ansi256(...from: Gray): ANSI256;
hcg(from: Gray): HCG;
hcg(...from: Gray): HCG;
apple(from: Gray): Apple;
apple(...from: Gray): Apple;
};
}
declare function route(fromModel: "rgb"): route.rgb;
declare function route(fromModel: "hsl"): route.hsl;
declare function route(fromModel: "hsv"): route.hsv;
declare function route(fromModel: "hwb"): route.hwb;
declare function route(fromModel: "cmyk"): route.cmyk;
declare function route(fromModel: "xyz"): route.xyz;
declare function route(fromModel: "lab"): route.lab;
declare function route(fromModel: "lch"): route.lch;
declare function route(fromModel: "hex"): route.hex;
declare function route(fromModel: "keyword"): route.keyword;
declare function route(fromModel: "ansi16"): route.ansi16;
declare function route(fromModel: "ansi256"): route.ansi256;
declare function route(fromModel: "hcg"): route.hcg;
declare function route(fromModel: "apple"): route.apple;
declare function route(fromModel: "gray"): route.gray;
type Convert = {
rgb: {
channels: Channels;
labels: "rgb";
hsl: {
(...rgb: RGB): HSL;
raw: (...rgb: RGB) => HSL;
};
hsv: {
(...rgb: RGB): HSV;
raw: (...rgb: RGB) => HSV;
};
hwb: {
(...rgb: RGB): HWB;
raw: (...rgb: RGB) => HWB;
};
hcg: {
(...rgb: RGB): HCG;
raw: (...rgb: RGB) => HCG;
};
cmyk: {
(...rgb: RGB): CMYK;
raw: (...rgb: RGB) => CMYK;
};
keyword: {
(...rgb: RGB): Keyword;
raw: (...rgb: RGB) => Keyword;
};
ansi16: {
(...rgb: RGB): ANSI16;
raw: (...rgb: RGB) => ANSI16;
};
ansi256: {
(...rgb: RGB): ANSI256;
raw: (...rgb: RGB) => ANSI256;
};
apple: {
(...rgb: RGB): Apple;
raw: (...rgb: RGB) => Apple;
};
hex: {
(...rgb: RGB): HEX;
raw: (...rgb: RGB) => HEX;
};
gray: {
(...rgb: RGB): Gray;
raw: (...rgb: RGB) => Gray;
};
} & route.rgb & {
[F in keyof route.rgb]: {
raw: route.rgb[F];
};
};
keyword: {
channels: Channels;
rgb: {
(keyword: Keyword): RGB;
raw: (keyword: Keyword) => RGB;
};
} & route.keyword & {
[F in keyof route.keyword]: {
raw: route.keyword[F];
};
};
hsl: {
channels: Channels;
labels: "hsl";
rgb: {
(...hsl: HSL): RGB;
raw: (...hsl: HSL) => RGB;
};
hsv: {
(...hsl: HSL): HSV;
raw: (...hsl: HSL) => HSV;
};
hcg: {
(...hsl: HSL): HCG;
raw: (...hsl: HSL) => HCG;
};
} & route.hsl & {
[F in keyof route.hsl]: {
raw: route.hsl[F];
};
};
hsv: {
channels: Channels;
labels: "hsv";
hcg: {
(...hsv: HSV): HCG;
raw: (...hsv: HSV) => HCG;
};
rgb: {
(...hsv: HSV): RGB;
raw: (...hsv: HSV) => RGB;
};
hsv: {
(...hsv: HSV): HSV;
raw: (...hsv: HSV) => HSV;
};
hsl: {
(...hsv: HSV): HSL;
raw: (...hsv: HSV) => HSL;
};
hwb: {
(...hsv: HSV): HWB;
raw: (...hsv: HSV) => HWB;
};
ansi16: {
(...hsv: HSV): ANSI16;
raw: (...hsv: HSV) => ANSI16;
};
} & route.hsv & {
[F in keyof route.hsv]: {
raw: route.hsv[F];
};
};
hwb: {
channels: Channels;
labels: "hwb";
hcg: {
(...hwb: HWB): HCG;
raw: (...hwb: HWB) => HCG;
};
rgb: {
(...hwb: HWB): RGB;
raw: (...hwb: HWB) => RGB;
};
} & route.hwb & {
[F in keyof route.hwb]: {
raw: route.hwb[F];
};
};
cmyk: {
channels: Channels;
labels: "cmyk";
rgb: {
(...cmyk: CMYK): RGB;
raw: (...cmyk: CMYK) => RGB;
};
} & route.cmyk & {
[F in keyof route.cmyk]: {
raw: route.cmyk[F];
};
};
xyz: {
channels: Channels;
labels: "xyz";
rgb: {
(...xyz: XYZ): RGB;
raw: (...xyz: XYZ) => RGB;
};
lab: {
(...xyz: XYZ): LAB;
raw: (...xyz: XYZ) => LAB;
};
} & route.xyz & {
[F in keyof route.xyz]: {
raw: route.xyz[F];
};
};
lab: {
channels: Channels;
labels: "lab";
xyz: {
(...lab: LAB): XYZ;
raw: (...lab: LAB) => XYZ;
};
lch: {
(...lab: LAB): LCH;
raw: (...lab: LAB) => LCH;
};
} & route.lab & {
[F in keyof route.lab]: {
raw: route.lab[F];
};
};
lch: {
channels: Channels;
labels: "lch";
lab: {
(...lch: LCH): LAB;
raw: (...lch: LCH) => LAB;
};
} & route.lch & {
[F in keyof route.lch]: {
raw: route.lch[F];
};
};
hex: {
channels: Channels;
labels: [
"hex"
];
rgb: {
(hex: HEX): RGB;
raw: (hex: HEX) => RGB;
};
} & route.hex & {
[F in keyof route.hex]: {
raw: route.hex[F];
};
};
ansi16: {
channels: Channels;
labels: [
"ansi16"
];
rgb: {
(ansi16: ANSI16): RGB;
raw: (ansi16: ANSI16) => RGB;
};
} & route.ansi16 & {
[F in keyof route.ansi16]: {
raw: route.ansi16[F];
};
};
ansi256: {
channels: Channels;
labels: [
"ansi256"
];
rgb: {
(ansi256: ANSI256): RGB;
raw: (ansi256: ANSI256) => RGB;
};
} & route.ansi256 & {
[F in keyof route.ansi256]: {
raw: route.ansi256[F];
};
};
hcg: {
channels: Channels;
labels: [
"h",
"c",
"g"
];
rgb: {
(...hcg: HCG): RGB;
raw: (...hcg: HCG) => RGB;
};
hsv: {
(...hcg: HCG): HSV;
raw: (...hcg: HCG) => HSV;
};
hwb: {
(...hcg: HCG): HWB;
raw: (...hcg: HCG) => HWB;
};
} & route.hcg & {
[F in keyof route.hcg]: {
raw: route.hcg[F];
};
};
apple: {
channels: Channels;
labels: [
"r16",
"g16",
"b16"
];
rgb: {
(...apple: Apple): RGB;
raw: (...apple: Apple) => RGB;
};
} & route.apple & {
[F in keyof route.apple]: {
raw: route.apple[F];
};
};
gray: {
channels: Channels;
labels: [
"gray"
];
rgb: {
(...gray: Gray): RGB;
raw: (...gray: Gray) => RGB;
};
hsl: {
(...gray: Gray): HSL;
raw: (...gray: Gray) => HSL;
};
hsv: {
(...gray: Gray): HSV;
raw: (...gray: Gray) => HSV;
};
hwb: {
(...gray: Gray): HWB;
raw: (...gray: Gray) => HWB;
};
cmyk: {
(...gray: Gray): CMYK;
raw: (...gray: Gray) => CMYK;
};
lab: {
(...gray: Gray): LAB;
raw: (...gray: Gray) => LAB;
};
hex: {
(...gray: Gray): HEX;
raw: (...gray: Gray) => HEX;
};
} & route.gray & {
[F in keyof route.gray]: {
raw: route.gray[F];
};
};
};
declare const convert: Convert;
export type ColorLike = ColorInstance | string | ArrayLike<number> | number | Record<string, any>;
export type ColorJson = {
model: string;
color: number[];
valpha: number;
};
export type ColorObject = {
alpha?: number | undefined;
} & Record<string, number>;
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions
export interface ColorInstance {
toString(): string;
// eslint-disable-next-line @typescript-eslint/naming-convention
toJSON(): ColorJson;
string(places?: number): string;
percentString(places?: number): string;
array(): number[];
object(): ColorObject;
unitArray(): number[];
unitObject(): {
r: number;
g: number;
b: number;
alpha?: number | undefined;
};
round(places?: number): ColorInstance;
alpha(): number;
alpha(value: number): ColorInstance;
red(): number;
red(value: number): ColorInstance;
green(): number;
green(value: number): ColorInstance;
blue(): number;
blue(value: number): ColorInstance;
hue(): number;
hue(value: number): ColorInstance;
saturationl(): number;
saturationl(value: number): ColorInstance;
lightness(): number;
lightness(value: number): ColorInstance;
saturationv(): number;
saturationv(value: number): ColorInstance;
value(): number;
value(value: number): ColorInstance;
chroma(): number;
chroma(value: number): ColorInstance;
gray(): number;
gray(value: number): ColorInstance;
white(): number;
white(value: number): ColorInstance;
wblack(): number;
wblack(value: number): ColorInstance;
cyan(): number;
cyan(value: number): ColorInstance;
magenta(): number;
magenta(value: number): ColorInstance;
yellow(): number;
yellow(value: number): ColorInstance;
black(): number;
black(value: number): ColorInstance;
x(): number;
x(value: number): ColorInstance;
y(): number;
y(value: number): ColorInstance;
z(): number;
z(value: number): ColorInstance;
l(): number;
l(value: number): ColorInstance;
a(): number;
a(value: number): ColorInstance;
b(): number;
b(value: number): ColorInstance;
keyword(): string;
keyword<V extends string>(value: V): ColorInstance;
hex(): string;
hex<V extends string>(value: V): ColorInstance;
hexa(): string;
hexa<V extends string>(value: V): ColorInstance;
rgbNumber(): number;
luminosity(): number;
contrast(color2: ColorInstance): number;
level(color2: ColorInstance): "AAA" | "AA" | "";
isDark(): boolean;
isLight(): boolean;
negate(): ColorInstance;
lighten(ratio: number): ColorInstance;
darken(ratio: number): ColorInstance;
saturate(ratio: number): ColorInstance;
desaturate(ratio: number): ColorInstance;
whiten(ratio: number): ColorInstance;
blacken(ratio: number): ColorInstance;
grayscale(): ColorInstance;
fade(ratio: number): ColorInstance;
opaquer(ratio: number): ColorInstance;
rotate(degrees: number): ColorInstance;
mix(mixinColor: ColorInstance, weight?: number): ColorInstance;
rgb(...arguments_: number[]): ColorInstance;
hsl(...arguments_: number[]): ColorInstance;
hsv(...arguments_: number[]): ColorInstance;
hwb(...arguments_: number[]): ColorInstance;
cmyk(...arguments_: number[]): ColorInstance;
xyz(...arguments_: number[]): ColorInstance;
lab(...arguments_: number[]): ColorInstance;
lch(...arguments_: number[]): ColorInstance;
ansi16(...arguments_: number[]): ColorInstance;
ansi256(...arguments_: number[]): ColorInstance;
hcg(...arguments_: number[]): ColorInstance;
apple(...arguments_: number[]): ColorInstance;
}
export type ColorConstructor = {
(object?: ColorLike, model?: keyof (typeof convert)): ColorInstance;
new (object?: ColorLike, model?: keyof (typeof convert)): ColorInstance;
rgb(...value: number[]): ColorInstance;
rgb(color: ColorLike): ColorInstance;
hsl(...value: number[]): ColorInstance;
hsl(color: ColorLike): ColorInstance;
hsv(...value: number[]): ColorInstance;
hsv(color: ColorLike): ColorInstance;
hwb(...value: number[]): ColorInstance;
hwb(color: ColorLike): ColorInstance;
cmyk(...value: number[]): ColorInstance;
cmyk(color: ColorLike): ColorInstance;
xyz(...value: number[]): ColorInstance;
xyz(color: ColorLike): ColorInstance;
lab(...value: number[]): ColorInstance;
lab(color: ColorLike): ColorInstance;
lch(...value: number[]): ColorInstance;
lch(color: ColorLike): ColorInstance;
ansi16(...value: number[]): ColorInstance;
ansi16(color: ColorLike): ColorInstance;
ansi256(...value: number[]): ColorInstance;
ansi256(color: ColorLike): ColorInstance;
hcg(...value: number[]): ColorInstance;
hcg(color: ColorLike): ColorInstance;
apple(...value: number[]): ColorInstance;
apple(color: ColorLike): ColorInstance;
};
// eslint-disable-next-line @typescript-eslint/naming-convention
declare const Color: ColorConstructor;
export {
Color as default,
};
export {};

View file

@ -1,58 +0,0 @@
{
"name": "@img/colour",
"version": "1.1.0",
"description": "The ESM-only 'color' package made compatible for use with CommonJS runtimes",
"license": "MIT",
"main": "index.cjs",
"types": "index.d.ts",
"exports": {
".": {
"types": "./index.d.ts",
"require": "./index.cjs",
"default": "./index.cjs"
},
"./package.json": "./package.json"
},
"authors": [
"Heather Arthur <fayearthur@gmail.com>",
"Josh Junon <josh@junon.me>",
"Maxime Thirouin",
"Dyma Ywanov <dfcreative@gmail.com>",
"LitoMore (https://github.com/LitoMore)"
],
"engines": {
"node": ">=18"
},
"files": [
"color.cjs",
"index.d.ts"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/lovell/colour.git"
},
"type": "commonjs",
"keywords": [
"color",
"colour",
"cjs",
"commonjs"
],
"scripts": {
"build:cjs": "esbuild node_modules/color/index.js --bundle --platform=node --outfile=color.cjs",
"build:dts": "dts-bundle-generator ./dts-src.ts -o index.d.ts --project tsconfig.build.json --external-inlines color --external-inlines color-convert --export-referenced-types=false",
"build": "npm run build:cjs && npm run build:dts",
"test": "node --test"
},
"devDependencies": {
"color": "5.0.3",
"color-convert": "3.1.3",
"color-name": "2.1.0",
"color-string": "2.1.4",
"dts-bundle-generator": "^9.5.1",
"esbuild": "^0.27.3"
}
}

View file

@ -1,191 +0,0 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction, and
distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by the copyright
owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all other entities
that control, are controlled by, or are under common control with that entity.
For the purposes of this definition, "control" means (i) the power, direct or
indirect, to cause the direction or management of such entity, whether by
contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity exercising
permissions granted by this License.
"Source" form shall mean the preferred form for making modifications, including
but not limited to software source code, documentation source, and configuration
files.
"Object" form shall mean any form resulting from mechanical transformation or
translation of a Source form, including but not limited to compiled object code,
generated documentation, and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or Object form, made
available under the License, as indicated by a copyright notice that is included
in or attached to the work (an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object form, that
is based on (or derived from) the Work and for which the editorial revisions,
annotations, elaborations, or other modifications represent, as a whole, an
original work of authorship. For the purposes of this License, Derivative Works
shall not include works that remain separable from, or merely link (or bind by
name) to the interfaces of, the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including the original version
of the Work and any modifications or additions to that Work or Derivative Works
thereof, that is intentionally submitted to Licensor for inclusion in the Work
by the copyright owner or by an individual or Legal Entity authorized to submit
on behalf of the copyright owner. For the purposes of this definition,
"submitted" means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems, and
issue tracking systems that are managed by, or on behalf of, the Licensor for
the purpose of discussing and improving the Work, but excluding communication
that is conspicuously marked or otherwise designated in writing by the copyright
owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf
of whom a Contribution has been received by Licensor and subsequently
incorporated within the Work.
2. Grant of Copyright License.
Subject to the terms and conditions of this License, each Contributor hereby
grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
irrevocable copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the Work and such
Derivative Works in Source or Object form.
3. Grant of Patent License.
Subject to the terms and conditions of this License, each Contributor hereby
grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
irrevocable (except as stated in this section) patent license to make, have
made, use, offer to sell, sell, import, and otherwise transfer the Work, where
such license applies only to those patent claims licensable by such Contributor
that are necessarily infringed by their Contribution(s) alone or by combination
of their Contribution(s) with the Work to which such Contribution(s) was
submitted. If You institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work or a
Contribution incorporated within the Work constitutes direct or contributory
patent infringement, then any patent licenses granted to You under this License
for that Work shall terminate as of the date such litigation is filed.
4. Redistribution.
You may reproduce and distribute copies of the Work or Derivative Works thereof
in any medium, with or without modifications, and in Source or Object form,
provided that You meet the following conditions:
You must give any other recipients of the Work or Derivative Works a copy of
this License; and
You must cause any modified files to carry prominent notices stating that You
changed the files; and
You must retain, in the Source form of any Derivative Works that You distribute,
all copyright, patent, trademark, and attribution notices from the Source form
of the Work, excluding those notices that do not pertain to any part of the
Derivative Works; and
If the Work includes a "NOTICE" text file as part of its distribution, then any
Derivative Works that You distribute must include a readable copy of the
attribution notices contained within such NOTICE file, excluding those notices
that do not pertain to any part of the Derivative Works, in at least one of the
following places: within a NOTICE text file distributed as part of the
Derivative Works; within the Source form or documentation, if provided along
with the Derivative Works; or, within a display generated by the Derivative
Works, if and wherever such third-party notices normally appear. The contents of
the NOTICE file are for informational purposes only and do not modify the
License. You may add Your own attribution notices within Derivative Works that
You distribute, alongside or as an addendum to the NOTICE text from the Work,
provided that such additional attribution notices cannot be construed as
modifying the License.
You may add Your own copyright statement to Your modifications and may provide
additional or different license terms and conditions for use, reproduction, or
distribution of Your modifications, or for any such Derivative Works as a whole,
provided Your use, reproduction, and distribution of the Work otherwise complies
with the conditions stated in this License.
5. Submission of Contributions.
Unless You explicitly state otherwise, any Contribution intentionally submitted
for inclusion in the Work by You to the Licensor shall be under the terms and
conditions of this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify the terms of
any separate license agreement you may have executed with Licensor regarding
such Contributions.
6. Trademarks.
This License does not grant permission to use the trade names, trademarks,
service marks, or product names of the Licensor, except as required for
reasonable and customary use in describing the origin of the Work and
reproducing the content of the NOTICE file.
7. Disclaimer of Warranty.
Unless required by applicable law or agreed to in writing, Licensor provides the
Work (and each Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied,
including, without limitation, any warranties or conditions of TITLE,
NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are
solely responsible for determining the appropriateness of using or
redistributing the Work and assume any risks associated with Your exercise of
permissions under this License.
8. Limitation of Liability.
In no event and under no legal theory, whether in tort (including negligence),
contract, or otherwise, unless required by applicable law (such as deliberate
and grossly negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special, incidental,
or consequential damages of any character arising as a result of this License or
out of the use or inability to use the Work (including but not limited to
damages for loss of goodwill, work stoppage, computer failure or malfunction, or
any and all other commercial damages or losses), even if such Contributor has
been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability.
While redistributing the Work or Derivative Works thereof, You may choose to
offer, and charge a fee for, acceptance of support, warranty, indemnity, or
other liability obligations and/or rights consistent with this License. However,
in accepting such obligations, You may act only on Your own behalf and on Your
sole responsibility, not on behalf of any other Contributor, and only if You
agree to indemnify, defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason of your
accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work
To apply the Apache License to your work, attach the following boilerplate
notice, with the fields enclosed by brackets "[]" replaced with your own
identifying information. (Don't include the brackets!) The text should be
enclosed in the appropriate comment syntax for the file format. We also
recommend that a file or class name and description of purpose be included on
the same "printed page" as the copyright notice for easier identification within
third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

View file

@ -1,59 +0,0 @@
# `@img/sharp-win32-x64`
Prebuilt sharp for use with Windows x64.
## Licensing
Copyright 2013 Lovell Fuller and others.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
[https://www.apache.org/licenses/LICENSE-2.0](https://www.apache.org/licenses/LICENSE-2.0)
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
This software contains third-party libraries
used under the terms of the following licences:
| Library | Used under the terms of |
|---------------|-----------------------------------------------------------------------------------------------------------|
| aom | BSD 2-Clause + [Alliance for Open Media Patent License 1.0](https://aomedia.org/license/patent-license/) |
| cairo | Mozilla Public License 2.0 |
| cgif | MIT Licence |
| expat | MIT Licence |
| fontconfig | [fontconfig Licence](https://gitlab.freedesktop.org/fontconfig/fontconfig/blob/main/COPYING) (BSD-like) |
| freetype | [freetype Licence](https://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/docs/FTL.TXT) (BSD-like) |
| fribidi | LGPLv3 |
| glib | LGPLv3 |
| harfbuzz | MIT Licence |
| highway | Apache-2.0 License, BSD 3-Clause |
| lcms | MIT Licence |
| libarchive | BSD 2-Clause |
| libexif | LGPLv3 |
| libffi | MIT Licence |
| libheif | LGPLv3 |
| libimagequant | [BSD 2-Clause](https://github.com/lovell/libimagequant/blob/main/COPYRIGHT) |
| libnsgif | MIT Licence |
| libpng | [libpng License](https://github.com/pnggroup/libpng/blob/master/LICENSE) |
| librsvg | LGPLv3 |
| libspng | [BSD 2-Clause, libpng License](https://github.com/randy408/libspng/blob/master/LICENSE) |
| libtiff | [libtiff License](https://gitlab.com/libtiff/libtiff/blob/master/LICENSE.md) (BSD-like) |
| libvips | LGPLv3 |
| libwebp | New BSD License |
| libxml2 | MIT Licence |
| mozjpeg | [zlib License, IJG License, BSD-3-Clause](https://github.com/mozilla/mozjpeg/blob/master/LICENSE.md) |
| pango | LGPLv3 |
| pixman | MIT Licence |
| proxy-libintl | LGPLv3 |
| zlib-ng | [zlib Licence](https://github.com/zlib-ng/zlib-ng/blob/develop/LICENSE.md) |
Use of libraries under the terms of the LGPLv3 is via the
"any later version" clause of the LGPLv2 or LGPLv2.1.
Please report any errors or omissions via
https://github.com/lovell/sharp-libvips/issues/new

View file

@ -1,39 +0,0 @@
{
"name": "@img/sharp-win32-x64",
"version": "0.34.5",
"description": "Prebuilt sharp for use with Windows x64",
"author": "Lovell Fuller <npm@lovell.info>",
"homepage": "https://sharp.pixelplumbing.com",
"repository": {
"type": "git",
"url": "git+https://github.com/lovell/sharp.git",
"directory": "npm/win32-x64"
},
"license": "Apache-2.0 AND LGPL-3.0-or-later",
"funding": {
"url": "https://opencollective.com/libvips"
},
"preferUnplugged": true,
"files": [
"lib",
"versions.json"
],
"publishConfig": {
"access": "public"
},
"type": "commonjs",
"exports": {
"./sharp.node": "./lib/sharp-win32-x64.node",
"./package": "./package.json",
"./versions": "./versions.json"
},
"engines": {
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
},
"os": [
"win32"
],
"cpu": [
"x64"
]
}

View file

@ -1,30 +0,0 @@
{
"aom": "3.13.1",
"archive": "3.8.2",
"cairo": "1.18.4",
"cgif": "0.5.0",
"exif": "0.6.25",
"expat": "2.7.3",
"ffi": "3.5.2",
"fontconfig": "2.17.1",
"freetype": "2.14.1",
"fribidi": "1.0.16",
"glib": "2.86.1",
"harfbuzz": "12.1.0",
"heif": "1.20.2",
"highway": "1.3.0",
"imagequant": "2.4.1",
"lcms": "2.17",
"mozjpeg": "0826579",
"pango": "1.57.0",
"pixman": "0.46.4",
"png": "1.6.50",
"proxy-libintl": "0.5",
"rsvg": "2.61.2",
"spng": "0.7.4",
"tiff": "4.7.1",
"vips": "8.17.3",
"webp": "1.6.0",
"xml2": "2.15.1",
"zlib-ng": "2.2.5"
}

View file

@ -1,201 +0,0 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "{}"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright {yyyy} {name of copyright owner}
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

View file

@ -1,163 +0,0 @@
# detect-libc
Node.js module to detect details of the C standard library (libc)
implementation provided by a given Linux system.
Currently supports detection of GNU glibc and MUSL libc.
Provides asychronous and synchronous functions for the
family (e.g. `glibc`, `musl`) and version (e.g. `1.23`, `1.2.3`).
The version numbers of libc implementations
are not guaranteed to be semver-compliant.
For previous v1.x releases, please see the
[v1](https://github.com/lovell/detect-libc/tree/v1) branch.
## Install
```sh
npm install detect-libc
```
## API
### GLIBC
```ts
const GLIBC: string = 'glibc';
```
A String constant containing the value `glibc`.
### MUSL
```ts
const MUSL: string = 'musl';
```
A String constant containing the value `musl`.
### family
```ts
function family(): Promise<string | null>;
```
Resolves asychronously with:
* `glibc` or `musl` when the libc family can be determined
* `null` when the libc family cannot be determined
* `null` when run on a non-Linux platform
```js
const { family, GLIBC, MUSL } = require('detect-libc');
switch (await family()) {
case GLIBC: ...
case MUSL: ...
case null: ...
}
```
### familySync
```ts
function familySync(): string | null;
```
Synchronous version of `family()`.
```js
const { familySync, GLIBC, MUSL } = require('detect-libc');
switch (familySync()) {
case GLIBC: ...
case MUSL: ...
case null: ...
}
```
### version
```ts
function version(): Promise<string | null>;
```
Resolves asychronously with:
* The version when it can be determined
* `null` when the libc family cannot be determined
* `null` when run on a non-Linux platform
```js
const { version } = require('detect-libc');
const v = await version();
if (v) {
const [major, minor, patch] = v.split('.');
}
```
### versionSync
```ts
function versionSync(): string | null;
```
Synchronous version of `version()`.
```js
const { versionSync } = require('detect-libc');
const v = versionSync();
if (v) {
const [major, minor, patch] = v.split('.');
}
```
### isNonGlibcLinux
```ts
function isNonGlibcLinux(): Promise<boolean>;
```
Resolves asychronously with:
* `false` when the libc family is `glibc`
* `true` when the libc family is not `glibc`
* `false` when run on a non-Linux platform
```js
const { isNonGlibcLinux } = require('detect-libc');
if (await isNonGlibcLinux()) { ... }
```
### isNonGlibcLinuxSync
```ts
function isNonGlibcLinuxSync(): boolean;
```
Synchronous version of `isNonGlibcLinux()`.
```js
const { isNonGlibcLinuxSync } = require('detect-libc');
if (isNonGlibcLinuxSync()) { ... }
```
## Licensing
Copyright 2017 Lovell Fuller and others.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0.html)
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

View file

@ -1,14 +0,0 @@
// Copyright 2017 Lovell Fuller and others.
// SPDX-License-Identifier: Apache-2.0
export const GLIBC: 'glibc';
export const MUSL: 'musl';
export function family(): Promise<string | null>;
export function familySync(): string | null;
export function isNonGlibcLinux(): Promise<boolean>;
export function isNonGlibcLinuxSync(): boolean;
export function version(): Promise<string | null>;
export function versionSync(): string | null;

View file

@ -1,313 +0,0 @@
// Copyright 2017 Lovell Fuller and others.
// SPDX-License-Identifier: Apache-2.0
'use strict';
const childProcess = require('child_process');
const { isLinux, getReport } = require('./process');
const { LDD_PATH, SELF_PATH, readFile, readFileSync } = require('./filesystem');
const { interpreterPath } = require('./elf');
let cachedFamilyInterpreter;
let cachedFamilyFilesystem;
let cachedVersionFilesystem;
const command = 'getconf GNU_LIBC_VERSION 2>&1 || true; ldd --version 2>&1 || true';
let commandOut = '';
const safeCommand = () => {
if (!commandOut) {
return new Promise((resolve) => {
childProcess.exec(command, (err, out) => {
commandOut = err ? ' ' : out;
resolve(commandOut);
});
});
}
return commandOut;
};
const safeCommandSync = () => {
if (!commandOut) {
try {
commandOut = childProcess.execSync(command, { encoding: 'utf8' });
} catch (_err) {
commandOut = ' ';
}
}
return commandOut;
};
/**
* A String constant containing the value `glibc`.
* @type {string}
* @public
*/
const GLIBC = 'glibc';
/**
* A Regexp constant to get the GLIBC Version.
* @type {string}
*/
const RE_GLIBC_VERSION = /LIBC[a-z0-9 \-).]*?(\d+\.\d+)/i;
/**
* A String constant containing the value `musl`.
* @type {string}
* @public
*/
const MUSL = 'musl';
const isFileMusl = (f) => f.includes('libc.musl-') || f.includes('ld-musl-');
const familyFromReport = () => {
const report = getReport();
if (report.header && report.header.glibcVersionRuntime) {
return GLIBC;
}
if (Array.isArray(report.sharedObjects)) {
if (report.sharedObjects.some(isFileMusl)) {
return MUSL;
}
}
return null;
};
const familyFromCommand = (out) => {
const [getconf, ldd1] = out.split(/[\r\n]+/);
if (getconf && getconf.includes(GLIBC)) {
return GLIBC;
}
if (ldd1 && ldd1.includes(MUSL)) {
return MUSL;
}
return null;
};
const familyFromInterpreterPath = (path) => {
if (path) {
if (path.includes('/ld-musl-')) {
return MUSL;
} else if (path.includes('/ld-linux-')) {
return GLIBC;
}
}
return null;
};
const getFamilyFromLddContent = (content) => {
content = content.toString();
if (content.includes('musl')) {
return MUSL;
}
if (content.includes('GNU C Library')) {
return GLIBC;
}
return null;
};
const familyFromFilesystem = async () => {
if (cachedFamilyFilesystem !== undefined) {
return cachedFamilyFilesystem;
}
cachedFamilyFilesystem = null;
try {
const lddContent = await readFile(LDD_PATH);
cachedFamilyFilesystem = getFamilyFromLddContent(lddContent);
} catch (e) {}
return cachedFamilyFilesystem;
};
const familyFromFilesystemSync = () => {
if (cachedFamilyFilesystem !== undefined) {
return cachedFamilyFilesystem;
}
cachedFamilyFilesystem = null;
try {
const lddContent = readFileSync(LDD_PATH);
cachedFamilyFilesystem = getFamilyFromLddContent(lddContent);
} catch (e) {}
return cachedFamilyFilesystem;
};
const familyFromInterpreter = async () => {
if (cachedFamilyInterpreter !== undefined) {
return cachedFamilyInterpreter;
}
cachedFamilyInterpreter = null;
try {
const selfContent = await readFile(SELF_PATH);
const path = interpreterPath(selfContent);
cachedFamilyInterpreter = familyFromInterpreterPath(path);
} catch (e) {}
return cachedFamilyInterpreter;
};
const familyFromInterpreterSync = () => {
if (cachedFamilyInterpreter !== undefined) {
return cachedFamilyInterpreter;
}
cachedFamilyInterpreter = null;
try {
const selfContent = readFileSync(SELF_PATH);
const path = interpreterPath(selfContent);
cachedFamilyInterpreter = familyFromInterpreterPath(path);
} catch (e) {}
return cachedFamilyInterpreter;
};
/**
* Resolves with the libc family when it can be determined, `null` otherwise.
* @returns {Promise<?string>}
*/
const family = async () => {
let family = null;
if (isLinux()) {
family = await familyFromInterpreter();
if (!family) {
family = await familyFromFilesystem();
if (!family) {
family = familyFromReport();
}
if (!family) {
const out = await safeCommand();
family = familyFromCommand(out);
}
}
}
return family;
};
/**
* Returns the libc family when it can be determined, `null` otherwise.
* @returns {?string}
*/
const familySync = () => {
let family = null;
if (isLinux()) {
family = familyFromInterpreterSync();
if (!family) {
family = familyFromFilesystemSync();
if (!family) {
family = familyFromReport();
}
if (!family) {
const out = safeCommandSync();
family = familyFromCommand(out);
}
}
}
return family;
};
/**
* Resolves `true` only when the platform is Linux and the libc family is not `glibc`.
* @returns {Promise<boolean>}
*/
const isNonGlibcLinux = async () => isLinux() && await family() !== GLIBC;
/**
* Returns `true` only when the platform is Linux and the libc family is not `glibc`.
* @returns {boolean}
*/
const isNonGlibcLinuxSync = () => isLinux() && familySync() !== GLIBC;
const versionFromFilesystem = async () => {
if (cachedVersionFilesystem !== undefined) {
return cachedVersionFilesystem;
}
cachedVersionFilesystem = null;
try {
const lddContent = await readFile(LDD_PATH);
const versionMatch = lddContent.match(RE_GLIBC_VERSION);
if (versionMatch) {
cachedVersionFilesystem = versionMatch[1];
}
} catch (e) {}
return cachedVersionFilesystem;
};
const versionFromFilesystemSync = () => {
if (cachedVersionFilesystem !== undefined) {
return cachedVersionFilesystem;
}
cachedVersionFilesystem = null;
try {
const lddContent = readFileSync(LDD_PATH);
const versionMatch = lddContent.match(RE_GLIBC_VERSION);
if (versionMatch) {
cachedVersionFilesystem = versionMatch[1];
}
} catch (e) {}
return cachedVersionFilesystem;
};
const versionFromReport = () => {
const report = getReport();
if (report.header && report.header.glibcVersionRuntime) {
return report.header.glibcVersionRuntime;
}
return null;
};
const versionSuffix = (s) => s.trim().split(/\s+/)[1];
const versionFromCommand = (out) => {
const [getconf, ldd1, ldd2] = out.split(/[\r\n]+/);
if (getconf && getconf.includes(GLIBC)) {
return versionSuffix(getconf);
}
if (ldd1 && ldd2 && ldd1.includes(MUSL)) {
return versionSuffix(ldd2);
}
return null;
};
/**
* Resolves with the libc version when it can be determined, `null` otherwise.
* @returns {Promise<?string>}
*/
const version = async () => {
let version = null;
if (isLinux()) {
version = await versionFromFilesystem();
if (!version) {
version = versionFromReport();
}
if (!version) {
const out = await safeCommand();
version = versionFromCommand(out);
}
}
return version;
};
/**
* Returns the libc version when it can be determined, `null` otherwise.
* @returns {?string}
*/
const versionSync = () => {
let version = null;
if (isLinux()) {
version = versionFromFilesystemSync();
if (!version) {
version = versionFromReport();
}
if (!version) {
const out = safeCommandSync();
version = versionFromCommand(out);
}
}
return version;
};
module.exports = {
GLIBC,
MUSL,
family,
familySync,
isNonGlibcLinux,
isNonGlibcLinuxSync,
version,
versionSync
};

View file

@ -1,39 +0,0 @@
// Copyright 2017 Lovell Fuller and others.
// SPDX-License-Identifier: Apache-2.0
'use strict';
const interpreterPath = (elf) => {
if (elf.length < 64) {
return null;
}
if (elf.readUInt32BE(0) !== 0x7F454C46) {
// Unexpected magic bytes
return null;
}
if (elf.readUInt8(4) !== 2) {
// Not a 64-bit ELF
return null;
}
if (elf.readUInt8(5) !== 1) {
// Not little-endian
return null;
}
const offset = elf.readUInt32LE(32);
const size = elf.readUInt16LE(54);
const count = elf.readUInt16LE(56);
for (let i = 0; i < count; i++) {
const headerOffset = offset + (i * size);
const type = elf.readUInt32LE(headerOffset);
if (type === 3) {
const fileOffset = elf.readUInt32LE(headerOffset + 8);
const fileSize = elf.readUInt32LE(headerOffset + 32);
return elf.subarray(fileOffset, fileOffset + fileSize).toString().replace(/\0.*$/g, '');
}
}
return null;
};
module.exports = {
interpreterPath
};

View file

@ -1,51 +0,0 @@
// Copyright 2017 Lovell Fuller and others.
// SPDX-License-Identifier: Apache-2.0
'use strict';
const fs = require('fs');
const LDD_PATH = '/usr/bin/ldd';
const SELF_PATH = '/proc/self/exe';
const MAX_LENGTH = 2048;
/**
* Read the content of a file synchronous
*
* @param {string} path
* @returns {Buffer}
*/
const readFileSync = (path) => {
const fd = fs.openSync(path, 'r');
const buffer = Buffer.alloc(MAX_LENGTH);
const bytesRead = fs.readSync(fd, buffer, 0, MAX_LENGTH, 0);
fs.close(fd, () => {});
return buffer.subarray(0, bytesRead);
};
/**
* Read the content of a file
*
* @param {string} path
* @returns {Promise<Buffer>}
*/
const readFile = (path) => new Promise((resolve, reject) => {
fs.open(path, 'r', (err, fd) => {
if (err) {
reject(err);
} else {
const buffer = Buffer.alloc(MAX_LENGTH);
fs.read(fd, buffer, 0, MAX_LENGTH, 0, (_, bytesRead) => {
resolve(buffer.subarray(0, bytesRead));
fs.close(fd, () => {});
});
}
});
});
module.exports = {
LDD_PATH,
SELF_PATH,
readFileSync,
readFile
};

View file

@ -1,24 +0,0 @@
// Copyright 2017 Lovell Fuller and others.
// SPDX-License-Identifier: Apache-2.0
'use strict';
const isLinux = () => process.platform === 'linux';
let report = null;
const getReport = () => {
if (!report) {
/* istanbul ignore next */
if (isLinux() && process.report) {
const orig = process.report.excludeNetwork;
process.report.excludeNetwork = true;
report = process.report.getReport();
process.report.excludeNetwork = orig;
} else {
report = {};
}
}
return report;
};
module.exports = { isLinux, getReport };

View file

@ -1,44 +0,0 @@
{
"name": "detect-libc",
"version": "2.1.2",
"description": "Node.js module to detect the C standard library (libc) implementation family and version",
"main": "lib/detect-libc.js",
"files": [
"lib/",
"index.d.ts"
],
"scripts": {
"test": "semistandard && nyc --reporter=text --check-coverage --branches=100 ava test/unit.js",
"changelog": "conventional-changelog -i CHANGELOG.md -s",
"bench": "node benchmark/detect-libc",
"bench:calls": "node benchmark/call-familySync.js && sleep 1 && node benchmark/call-isNonGlibcLinuxSync.js && sleep 1 && node benchmark/call-versionSync.js"
},
"repository": {
"type": "git",
"url": "git://github.com/lovell/detect-libc.git"
},
"keywords": [
"libc",
"glibc",
"musl"
],
"author": "Lovell Fuller <npm@lovell.info>",
"contributors": [
"Niklas Salmoukas <niklas@salmoukas.com>",
"Vinícius Lourenço <vinyygamerlol@gmail.com>"
],
"license": "Apache-2.0",
"devDependencies": {
"ava": "^2.4.0",
"benchmark": "^2.1.4",
"conventional-changelog-cli": "^5.0.0",
"eslint-config-standard": "^13.0.1",
"nyc": "^15.1.0",
"proxyquire": "^2.1.3",
"semistandard": "^14.2.3"
},
"engines": {
"node": ">=8"
},
"types": "index.d.ts"
}

View file

@ -1,15 +0,0 @@
The ISC License
Copyright (c) Isaac Z. Schlueter and Contributors
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

View file

@ -1,680 +0,0 @@
semver(1) -- The semantic versioner for npm
===========================================
## Install
```bash
npm install semver
````
## Usage
As a node module:
```js
const semver = require('semver')
semver.valid('1.2.3') // '1.2.3'
semver.valid('a.b.c') // null
semver.clean(' =v1.2.3 ') // '1.2.3'
semver.satisfies('1.2.3', '1.x || >=2.5.0 || 5.0.0 - 7.2.3') // true
semver.gt('1.2.3', '9.8.7') // false
semver.lt('1.2.3', '9.8.7') // true
semver.minVersion('>=1.0.0') // '1.0.0'
semver.valid(semver.coerce('v2')) // '2.0.0'
semver.valid(semver.coerce('42.6.7.9.3-alpha')) // '42.6.7'
```
You can also just load the module for the function that you care about if
you'd like to minimize your footprint.
```js
// load the whole API at once in a single object
const semver = require('semver')
// or just load the bits you need
// all of them listed here, just pick and choose what you want
// classes
const SemVer = require('semver/classes/semver')
const Comparator = require('semver/classes/comparator')
const Range = require('semver/classes/range')
// functions for working with versions
const semverParse = require('semver/functions/parse')
const semverValid = require('semver/functions/valid')
const semverClean = require('semver/functions/clean')
const semverInc = require('semver/functions/inc')
const semverDiff = require('semver/functions/diff')
const semverMajor = require('semver/functions/major')
const semverMinor = require('semver/functions/minor')
const semverPatch = require('semver/functions/patch')
const semverPrerelease = require('semver/functions/prerelease')
const semverCompare = require('semver/functions/compare')
const semverRcompare = require('semver/functions/rcompare')
const semverCompareLoose = require('semver/functions/compare-loose')
const semverCompareBuild = require('semver/functions/compare-build')
const semverSort = require('semver/functions/sort')
const semverRsort = require('semver/functions/rsort')
const semverTruncate = require('semver/functions/truncate')
// low-level comparators between versions
const semverGt = require('semver/functions/gt')
const semverLt = require('semver/functions/lt')
const semverEq = require('semver/functions/eq')
const semverNeq = require('semver/functions/neq')
const semverGte = require('semver/functions/gte')
const semverLte = require('semver/functions/lte')
const semverCmp = require('semver/functions/cmp')
const semverCoerce = require('semver/functions/coerce')
// working with ranges
const semverSatisfies = require('semver/functions/satisfies')
const semverMaxSatisfying = require('semver/ranges/max-satisfying')
const semverMinSatisfying = require('semver/ranges/min-satisfying')
const semverToComparators = require('semver/ranges/to-comparators')
const semverMinVersion = require('semver/ranges/min-version')
const semverValidRange = require('semver/ranges/valid')
const semverOutside = require('semver/ranges/outside')
const semverGtr = require('semver/ranges/gtr')
const semverLtr = require('semver/ranges/ltr')
const semverIntersects = require('semver/ranges/intersects')
const semverSimplifyRange = require('semver/ranges/simplify')
const semverRangeSubset = require('semver/ranges/subset')
```
As a command-line utility:
```
$ semver -h
A JavaScript implementation of the https://semver.org/ specification
Copyright Isaac Z. Schlueter
Usage: semver [options] <version> [<version> [...]]
Prints valid versions sorted by SemVer precedence
Options:
-r --range <range>
Print versions that match the specified range.
-i --increment [<level>]
Increment a version by the specified level. Level can
be one of: major, minor, patch, premajor, preminor,
prepatch, prerelease, or release. Default level is 'patch'.
Only one version may be specified.
--preid <identifier>
Identifier to be used to prefix premajor, preminor,
prepatch or prerelease version increments.
-l --loose
Interpret versions and ranges loosely
-n <0|1|false>
Base number for prerelease identifier (default: 0).
Use false to omit the number altogether.
-p --include-prerelease
Always include prerelease versions in range matching
-c --coerce
Coerce a string into SemVer if possible
(does not imply --loose)
--rtl
Coerce version strings right to left
--ltr
Coerce version strings left to right (default)
Program exits successfully if any valid version satisfies
all supplied ranges, and prints all satisfying versions.
If no satisfying versions are found, then exits failure.
Versions are printed in ascending order, so supplying
multiple versions to the utility will just sort them.
```
## Versions
A "version" is described by the `v2.0.0` specification found at
<https://semver.org/>.
A leading `"="` or `"v"` character is stripped off and ignored.
Support for stripping a leading "v" is kept for compatibility with `v1.0.0` of the SemVer
specification but should not be used anymore.
## Ranges
A `version range` is a set of `comparators` that specify versions
that satisfy the range.
A `comparator` is composed of an `operator` and a `version`. The set
of primitive `operators` is:
* `<` Less than
* `<=` Less than or equal to
* `>` Greater than
* `>=` Greater than or equal to
* `=` Equal. If no operator is specified, then equality is assumed,
so this operator is optional but MAY be included.
For example, the comparator `>=1.2.7` would match the versions
`1.2.7`, `1.2.8`, `2.5.3`, and `1.3.9`, but not the versions `1.2.6`
or `1.1.0`. The comparator `>1` is equivalent to `>=2.0.0` and
would match the versions `2.0.0` and `3.1.0`, but not the versions
`1.0.1` or `1.1.0`.
Comparators can be joined by whitespace to form a `comparator set`,
which is satisfied by the **intersection** of all of the comparators
it includes.
A range is composed of one or more comparator sets, joined by `||`. A
version matches a range if and only if every comparator in at least
one of the `||`-separated comparator sets is satisfied by the version.
For example, the range `>=1.2.7 <1.3.0` would match the versions
`1.2.7`, `1.2.8`, and `1.2.99`, but not the versions `1.2.6`, `1.3.0`,
or `1.1.0`.
The range `1.2.7 || >=1.2.9 <2.0.0` would match the versions `1.2.7`,
`1.2.9`, and `1.4.6`, but not the versions `1.2.8` or `2.0.0`.
### Prerelease Tags
If a version has a prerelease tag (for example, `1.2.3-alpha.3`) then
it will only be allowed to satisfy comparator sets if at least one
comparator with the same `[major, minor, patch]` tuple also has a
prerelease tag.
For example, the range `>1.2.3-alpha.3` would be allowed to match the
version `1.2.3-alpha.7`, but it would *not* be satisfied by
`3.4.5-alpha.9`, even though `3.4.5-alpha.9` is technically "greater
than" `1.2.3-alpha.3` according to the SemVer sort rules. The version
range only accepts prerelease tags on the `1.2.3` version.
Version `3.4.5` *would* satisfy the range because it does not have a
prerelease flag, and `3.4.5` is greater than `1.2.3-alpha.7`.
The purpose of this behavior is twofold. First, prerelease versions
frequently are updated very quickly, and contain many breaking changes
that are (by the author's design) not yet fit for public consumption.
Therefore, by default, they are excluded from range-matching
semantics.
Second, a user who has opted into using a prerelease version has
indicated the intent to use *that specific* set of
alpha/beta/rc versions. By including a prerelease tag in the range,
the user is indicating that they are aware of the risk. However, it
is still not appropriate to assume that they have opted into taking a
similar risk on the *next* set of prerelease versions.
Note that this behavior can be suppressed (treating all prerelease
versions as if they were normal versions, for range-matching)
by setting the `includePrerelease` flag on the options
object to any
[functions](https://github.com/npm/node-semver#functions) that do
range matching.
#### Prerelease Identifiers
The method `.inc` takes an additional `identifier` string argument that
will append the value of the string as a prerelease identifier:
```javascript
semver.inc('1.2.3', 'prerelease', 'beta')
// '1.2.4-beta.0'
```
command-line example:
```bash
$ semver 1.2.3 -i prerelease --preid beta
1.2.4-beta.0
```
Which then can be used to increment further:
```bash
$ semver 1.2.4-beta.0 -i prerelease
1.2.4-beta.1
```
To get out of the prerelease phase, use the `release` option:
```bash
$ semver 1.2.4-beta.1 -i release
1.2.4
```
#### Prerelease Identifier Base
The method `.inc` takes an optional parameter 'identifierBase' string
that will let you let your prerelease number as zero-based or one-based.
Set to `false` to omit the prerelease number altogether.
If you do not specify this parameter, it will default to zero-based.
```javascript
semver.inc('1.2.3', 'prerelease', 'beta', '1')
// '1.2.4-beta.1'
```
```javascript
semver.inc('1.2.3', 'prerelease', 'beta', false)
// '1.2.4-beta'
```
command-line example:
```bash
$ semver 1.2.3 -i prerelease --preid beta -n 1
1.2.4-beta.1
```
```bash
$ semver 1.2.3 -i prerelease --preid beta -n false
1.2.4-beta
```
### Advanced Range Syntax
Advanced range syntax desugars to primitive comparators in
deterministic ways.
Advanced ranges may be combined in the same way as primitive
comparators using white space or `||`.
#### Hyphen Ranges `X.Y.Z - A.B.C`
Specifies an inclusive set.
* `1.2.3 - 2.3.4` := `>=1.2.3 <=2.3.4`
If a partial version is provided as the first version in the inclusive
range, then the missing pieces are replaced with zeroes.
* `1.2 - 2.3.4` := `>=1.2.0 <=2.3.4`
If a partial version is provided as the second version in the
inclusive range, then all versions that start with the supplied parts
of the tuple are accepted, but nothing that would be greater than the
provided tuple parts.
* `1.2.3 - 2.3` := `>=1.2.3 <2.4.0-0`
* `1.2.3 - 2` := `>=1.2.3 <3.0.0-0`
#### X-Ranges `1.2.x` `1.X` `1.2.*` `*`
Any of `X`, `x`, or `*` may be used to "stand in" for one of the
numeric values in the `[major, minor, patch]` tuple.
* `*` := `>=0.0.0` (Any non-prerelease version satisfies, unless
`includePrerelease` is specified, in which case any version at all
satisfies)
* `1.x` := `>=1.0.0 <2.0.0-0` (Matching major version)
* `1.2.x` := `>=1.2.0 <1.3.0-0` (Matching major and minor versions)
A partial version range is treated as an X-Range, so the special
character is in fact optional.
* `""` (empty string) := `*` := `>=0.0.0`
* `1` := `1.x.x` := `>=1.0.0 <2.0.0-0`
* `1.2` := `1.2.x` := `>=1.2.0 <1.3.0-0`
#### Tilde Ranges `~1.2.3` `~1.2` `~1`
Allows patch-level changes if a minor version is specified on the
comparator. Allows minor-level changes if not.
* `~1.2.3` := `>=1.2.3 <1.(2+1).0` := `>=1.2.3 <1.3.0-0`
* `~1.2` := `>=1.2.0 <1.(2+1).0` := `>=1.2.0 <1.3.0-0` (Same as `1.2.x`)
* `~1` := `>=1.0.0 <(1+1).0.0` := `>=1.0.0 <2.0.0-0` (Same as `1.x`)
* `~0.2.3` := `>=0.2.3 <0.(2+1).0` := `>=0.2.3 <0.3.0-0`
* `~0.2` := `>=0.2.0 <0.(2+1).0` := `>=0.2.0 <0.3.0-0` (Same as `0.2.x`)
* `~0` := `>=0.0.0 <(0+1).0.0` := `>=0.0.0 <1.0.0-0` (Same as `0.x`)
* `~1.2.3-beta.2` := `>=1.2.3-beta.2 <1.3.0-0` Note that prereleases in
the `1.2.3` version will be allowed, if they are greater than or
equal to `beta.2`. So, `1.2.3-beta.4` would be allowed, but
`1.2.4-beta.2` would not, because it is a prerelease of a
different `[major, minor, patch]` tuple.
#### Caret Ranges `^1.2.3` `^0.2.5` `^0.0.4`
Allows changes that do not modify the left-most non-zero element in the
`[major, minor, patch]` tuple. In other words, this allows patch and
minor updates for versions `1.0.0` and above, patch updates for
versions `0.X >=0.1.0`, and *no* updates for versions `0.0.X`.
Many authors treat a `0.x` version as if the `x` were the major
"breaking-change" indicator.
Caret ranges are ideal when an author may make breaking changes
between `0.2.4` and `0.3.0` releases, which is a common practice.
However, it presumes that there will *not* be breaking changes between
`0.2.4` and `0.2.5`. It allows for changes that are presumed to be
additive (but non-breaking), according to commonly observed practices.
* `^1.2.3` := `>=1.2.3 <2.0.0-0`
* `^0.2.3` := `>=0.2.3 <0.3.0-0`
* `^0.0.3` := `>=0.0.3 <0.0.4-0`
* `^1.2.3-beta.2` := `>=1.2.3-beta.2 <2.0.0-0` Note that prereleases in
the `1.2.3` version will be allowed, if they are greater than or
equal to `beta.2`. So, `1.2.3-beta.4` would be allowed, but
`1.2.4-beta.2` would not, because it is a prerelease of a
different `[major, minor, patch]` tuple.
* `^0.0.3-beta` := `>=0.0.3-beta <0.0.4-0` Note that prereleases in the
`0.0.3` version *only* will be allowed, if they are greater than or
equal to `beta`. So, `0.0.3-pr.2` would be allowed.
When parsing caret ranges, a missing `patch` value desugars to the
number `0`, but will allow flexibility within that value, even if the
major and minor versions are both `0`.
* `^1.2.x` := `>=1.2.0 <2.0.0-0`
* `^0.0.x` := `>=0.0.0 <0.1.0-0`
* `^0.0` := `>=0.0.0 <0.1.0-0`
A missing `minor` and `patch` values will desugar to zero, but also
allow flexibility within those values, even if the major version is
zero.
* `^1.x` := `>=1.0.0 <2.0.0-0`
* `^0.x` := `>=0.0.0 <1.0.0-0`
### Range Grammar
Putting all this together, here is a Backus-Naur grammar for ranges,
for the benefit of parser authors:
```bnf
range-set ::= range ( logical-or range ) *
logical-or ::= ( ' ' ) * '||' ( ' ' ) *
range ::= hyphen | simple ( ' ' simple ) * | ''
hyphen ::= partial ' - ' partial
simple ::= primitive | partial | tilde | caret
primitive ::= ( '<' | '>' | '>=' | '<=' | '=' ) partial
partial ::= xr ( '.' xr ( '.' xr qualifier ? )? )?
xr ::= 'x' | 'X' | '*' | nr
nr ::= '0' | ['1'-'9'] ( ['0'-'9'] ) *
tilde ::= '~' partial
caret ::= '^' partial
qualifier ::= ( '-' pre )? ( '+' build )?
pre ::= prepart ( '.' prepart ) *
prepart ::= nr | alphanumid
build ::= buildid ( '.' buildid ) *
alphanumid ::= ( ['0'-'9'] ) * [-A-Za-z] [-0-9A-Za-z] *
buildid ::= [-0-9A-Za-z]+
```
Note: Prerelease identifiers (`pre`) use `nr` for numeric parts, which
disallows leading zeros (e.g., `1.2.3-00` is invalid). Build metadata
identifiers (`build`) allow any alphanumeric string including leading
zeros (e.g., `1.2.3+00` is valid). This matches the
[SemVer 2.0.0 specification](https://semver.org/#spec-item-9).
## Functions
All methods and classes take a final `options` object argument. All
options in this object are `false` by default. The options supported
are:
- `loose`: Be more forgiving about not-quite-valid semver strings.
(Any resulting output will always be 100% strict compliant, of
course.) For backwards compatibility reasons, if the `options`
argument is a boolean value instead of an object, it is interpreted
to be the `loose` param.
- `includePrerelease`: Set to suppress the [default
behavior](https://github.com/npm/node-semver#prerelease-tags) of
excluding prerelease tagged versions from ranges unless they are
explicitly opted into.
Strict-mode Comparators and Ranges will be strict about the SemVer
strings that they parse.
* `valid(v)`: Return the parsed version, or null if it's not valid.
* `inc(v, releaseType, options, identifier, identifierBase)`:
Return the version incremented by the release
type (`major`, `premajor`, `minor`, `preminor`, `patch`,
`prepatch`, `prerelease`, or `release`), or null if it's not valid
* `premajor` in one call will bump the version up to the next major
version and down to a prerelease of that major version.
`preminor`, and `prepatch` work the same way.
* If called from a non-prerelease version, `prerelease` will work the
same as `prepatch`. It increments the patch version and then makes a
prerelease. If the input version is already a prerelease it simply
increments it.
* `release` will remove any prerelease part of the version.
* `identifier` can be used to prefix `premajor`, `preminor`,
`prepatch`, or `prerelease` version increments. `identifierBase`
is the base to be used for the `prerelease` identifier.
* `prerelease(v)`: Returns an array of prerelease components, or null
if none exist. Example: `prerelease('1.2.3-alpha.1') -> ['alpha', 1]`
* `major(v)`: Return the major version number.
* `minor(v)`: Return the minor version number.
* `patch(v)`: Return the patch version number.
* `intersects(r1, r2, loose)`: Return true if the two supplied ranges
or comparators intersect.
* `parse(v)`: Attempt to parse a string as a semantic version, returning either
a `SemVer` object or `null`.
* `truncate(v, releaseType)`: Return the version with components _lower_
than `releaseType` dropped off, e.g.:
* `major` removes build & prerelease info and sets minor & patch to 0.
* `minor` removes build & prerelease info, and sets patch to 0
* `patch` removes build & prerelease info
* All prerelease types remove build info only
### Comparison
* `gt(v1, v2)`: `v1 > v2`
* `gte(v1, v2)`: `v1 >= v2`
* `lt(v1, v2)`: `v1 < v2`
* `lte(v1, v2)`: `v1 <= v2`
* `eq(v1, v2)`: `v1 == v2` This is true if they're logically equivalent,
even if they're not the same string. You already know how to
compare strings.
* `neq(v1, v2)`: `v1 != v2` The opposite of `eq`.
* `cmp(v1, comparator, v2)`: Pass in a comparison string, and it'll call
the corresponding function above. `"==="` and `"!=="` do simple
string comparison, but are included for completeness. Throws if an
invalid comparison string is provided.
* `compare(v1, v2)`: Return `0` if `v1 == v2`, or `1` if `v1` is greater, or `-1` if
`v2` is greater. Sorts in ascending order if passed to `Array.sort()`.
* `rcompare(v1, v2)`: The reverse of `compare`. Sorts an array of versions
in descending order when passed to `Array.sort()`.
* `compareBuild(v1, v2)`: The same as `compare` but considers `build` when two versions
are equal. Sorts in ascending order if passed to `Array.sort()`.
* `compareLoose(v1, v2)`: Short for `compare(v1, v2, { loose: true })`.
* `diff(v1, v2)`: Returns the difference between two versions by the release type
(`major`, `premajor`, `minor`, `preminor`, `patch`, `prepatch`, or `prerelease`),
or null if the versions are the same.
### Sorting
* `sort(versions)`: Returns a sorted array of versions based on the `compareBuild`
function.
* `rsort(versions)`: The reverse of `sort`. Returns an array of versions based on
the `compareBuild` function in descending order.
### Comparators
* `intersects(comparator)`: Return true if the comparators intersect
### Ranges
* `validRange(range)`: Return the valid range or null if it's not valid.
* `satisfies(version, range)`: Return true if the version satisfies the
range.
* `maxSatisfying(versions, range)`: Return the highest version in the list
that satisfies the range, or `null` if none of them do.
* `minSatisfying(versions, range)`: Return the lowest version in the list
that satisfies the range, or `null` if none of them do.
* `minVersion(range)`: Return the lowest version that can match
the given range.
* `gtr(version, range)`: Return `true` if the version is greater than all the
versions possible in the range.
* `ltr(version, range)`: Return `true` if the version is less than all the
versions possible in the range.
* `outside(version, range, hilo)`: Return true if the version is outside
the bounds of the range in either the high or low direction. The
`hilo` argument must be either the string `'>'` or `'<'`. (This is
the function called by `gtr` and `ltr`.)
* `intersects(range)`: Return true if any of the range comparators intersect.
* `simplifyRange(versions, range)`: Return a "simplified" range that
matches the same items in the `versions` list as the range specified. Note
that it does *not* guarantee that it would match the same versions in all
cases, only for the set of versions provided. This is useful when
generating ranges by joining together multiple versions with `||`
programmatically, to provide the user with something a bit more
ergonomic. If the provided range is shorter in string-length than the
generated range, then that is returned.
* `subset(subRange, superRange)`: Return `true` if the `subRange` range is
entirely contained by the `superRange` range.
Note that, since ranges may be non-contiguous, a version might not be
greater than a range, less than a range, *or* satisfy a range! For
example, the range `1.2 <1.2.9 || >2.0.0` would have a hole from `1.2.9`
until `2.0.0`, so version `1.2.10` would not be greater than the
range (because `2.0.1` satisfies, which is higher), nor less than the
range (since `1.2.8` satisfies, which is lower), and it also does not
satisfy the range.
If you want to know if a version satisfies or does not satisfy a
range, use the `satisfies(version, range)` function.
### Coercion
* `coerce(version, options)`: Coerces a string to semver if possible
This aims to provide a very forgiving translation of a non-semver string to
semver. It looks for the first digit in a string and consumes all
remaining characters which satisfy at least a partial semver (e.g., `1`,
`1.2`, `1.2.3`) up to the max permitted length (256 characters). Longer
versions are simply truncated (`4.6.3.9.2-alpha2` becomes `4.6.3`). All
surrounding text is simply ignored (`v3.4 replaces v3.3.1` becomes
`3.4.0`). Only text which lacks digits will fail coercion (`version one`
is not valid). The maximum length for any semver component considered for
coercion is 16 characters; longer components will be ignored
(`10000000000000000.4.7.4` becomes `4.7.4`). The maximum value for any
semver component is `Number.MAX_SAFE_INTEGER || (2**53 - 1)`; higher value
components are invalid (`9999999999999999.4.7.4` is likely invalid).
If the `options.rtl` flag is set, then `coerce` will return the right-most
coercible tuple that does not share an ending index with a longer coercible
tuple. For example, `1.2.3.4` will return `2.3.4` in rtl mode, not
`4.0.0`. `1.2.3/4` will return `4.0.0`, because the `4` is not a part of
any other overlapping SemVer tuple.
If the `options.includePrerelease` flag is set, then the `coerce` result will contain
prerelease and build parts of a version. For example, `1.2.3.4-rc.1+rev.2`
will preserve prerelease `rc.1` and build `rev.2` in the result.
### Clean
* `clean(version)`: Clean a string to be a valid semver if possible
This will return a cleaned and trimmed semver version. If the provided
version is not valid a null will be returned. This does not work for
ranges.
ex.
* `s.clean(' = v 2.1.5foo')`: `null`
* `s.clean(' = v 2.1.5foo', { loose: true })`: `'2.1.5-foo'`
* `s.clean(' = v 2.1.5-foo')`: `null`
* `s.clean(' = v 2.1.5-foo', { loose: true })`: `'2.1.5-foo'`
* `s.clean('=v2.1.5')`: `'2.1.5'`
* `s.clean(' =v2.1.5')`: `'2.1.5'`
* `s.clean(' 2.1.5 ')`: `'2.1.5'`
* `s.clean('~1.0.0')`: `null`
## Constants
As a convenience, helper constants are exported to provide information about what `node-semver` supports:
### `RELEASE_TYPES`
- major
- premajor
- minor
- preminor
- patch
- prepatch
- prerelease
```
const semver = require('semver');
if (semver.RELEASE_TYPES.includes(arbitraryUserInput)) {
console.log('This is a valid release type!');
} else {
console.warn('This is NOT a valid release type!');
}
```
### `SEMVER_SPEC_VERSION`
2.0.0
```
const semver = require('semver');
console.log('We are currently using the semver specification version:', semver.SEMVER_SPEC_VERSION);
```
## Exported Modules
<!--
TODO: Make sure that all of these items are documented (classes aren't,
eg), and then pull the module name into the documentation for that specific
thing.
-->
You may pull in just the part of this semver utility that you need if you
are sensitive to packing and tree-shaking concerns. The main
`require('semver')` export uses getter functions to lazily load the parts
of the API that are used.
The following modules are available:
* `require('semver')`
* `require('semver/classes')`
* `require('semver/classes/comparator')`
* `require('semver/classes/range')`
* `require('semver/classes/semver')`
* `require('semver/functions/clean')`
* `require('semver/functions/cmp')`
* `require('semver/functions/coerce')`
* `require('semver/functions/compare')`
* `require('semver/functions/compare-build')`
* `require('semver/functions/compare-loose')`
* `require('semver/functions/diff')`
* `require('semver/functions/eq')`
* `require('semver/functions/gt')`
* `require('semver/functions/gte')`
* `require('semver/functions/inc')`
* `require('semver/functions/lt')`
* `require('semver/functions/lte')`
* `require('semver/functions/major')`
* `require('semver/functions/minor')`
* `require('semver/functions/neq')`
* `require('semver/functions/parse')`
* `require('semver/functions/patch')`
* `require('semver/functions/prerelease')`
* `require('semver/functions/rcompare')`
* `require('semver/functions/rsort')`
* `require('semver/functions/satisfies')`
* `require('semver/functions/sort')`
* `require('semver/functions/truncate')`
* `require('semver/functions/valid')`
* `require('semver/ranges/gtr')`
* `require('semver/ranges/intersects')`
* `require('semver/ranges/ltr')`
* `require('semver/ranges/max-satisfying')`
* `require('semver/ranges/min-satisfying')`
* `require('semver/ranges/min-version')`
* `require('semver/ranges/outside')`
* `require('semver/ranges/simplify')`
* `require('semver/ranges/subset')`
* `require('semver/ranges/to-comparators')`
* `require('semver/ranges/valid')`

View file

@ -1,195 +0,0 @@
#!/usr/bin/env node
// Standalone semver comparison program.
// Exits successfully and prints matching version(s) if
// any supplied version is valid and passes all tests.
'use strict'
const argv = process.argv.slice(2)
let versions = []
const range = []
let inc = null
const version = require('../package.json').version
let loose = false
let includePrerelease = false
let coerce = false
let rtl = false
let identifier
let identifierBase
const semver = require('../')
const parseOptions = require('../internal/parse-options')
let reverse = false
let options = {}
const main = () => {
if (!argv.length) {
return help()
}
while (argv.length) {
let a = argv.shift()
const indexOfEqualSign = a.indexOf('=')
if (indexOfEqualSign !== -1) {
const value = a.slice(indexOfEqualSign + 1)
a = a.slice(0, indexOfEqualSign)
argv.unshift(value)
}
switch (a) {
case '-rv': case '-rev': case '--rev': case '--reverse':
reverse = true
break
case '-l': case '--loose':
loose = true
break
case '-p': case '--include-prerelease':
includePrerelease = true
break
case '-v': case '--version':
versions.push(argv.shift())
break
case '-i': case '--inc': case '--increment':
if (semver.RELEASE_TYPES.includes(argv[0]) || (argv[0] === 'release')) {
inc = { value: argv.shift(), maybeErrantValue: null, option: a }
} else {
inc = { value: 'patch', maybeErrantValue: argv[0], option: a }
}
break
case '--preid':
identifier = argv.shift()
break
case '-r': case '--range':
range.push(argv.shift())
break
case '-n':
identifierBase = argv.shift()
if (identifierBase === 'false') {
identifierBase = false
}
break
case '-c': case '--coerce':
coerce = true
break
case '--rtl':
rtl = true
break
case '--ltr':
rtl = false
break
case '-h': case '--help': case '-?':
return help()
default:
versions.push(a)
break
}
}
options = parseOptions({ loose, includePrerelease, rtl })
if (
inc &&
versions.includes(inc.maybeErrantValue) &&
!semver.valid(inc.maybeErrantValue, options)
) {
console.warn(`Invalid value for ${inc.option}; defaulting to 'patch'. This may become a failure in future major versions.`)
}
versions = versions.map((v) => {
return coerce ? (semver.coerce(v, options) || { version: v }).version : v
}).filter((v) => {
return semver.valid(v, options)
})
if (!versions.length) {
return fail()
}
if (inc && (versions.length !== 1 || range.length)) {
return failInc()
}
for (let i = 0, l = range.length; i < l; i++) {
versions = versions.filter((v) => {
return semver.satisfies(v, range[i], options)
})
if (!versions.length) {
return fail()
}
}
versions
.sort((a, b) => semver[reverse ? 'rcompare' : 'compare'](a, b, options))
.map(v => semver.clean(v, options))
.map(v => inc ? semver.inc(v, inc.value, options, identifier, identifierBase) : v)
.forEach(v => console.log(v))
}
const failInc = () => {
console.error('--inc can only be used on a single version with no range')
fail()
}
const fail = () => process.exit(1)
const help = () => console.log(
`SemVer ${version}
A JavaScript implementation of the https://semver.org/ specification
Copyright Isaac Z. Schlueter
Usage: semver [options] <version> [<version> [...]]
Prints valid versions sorted by SemVer precedence
Options:
-r --range <range>
Print versions that match the specified range.
-i --increment [<level>]
Increment a version by the specified level. Level can
be one of: major, minor, patch, premajor, preminor,
prepatch, prerelease, or release. Default level is 'patch'.
Only one version may be specified.
--preid <identifier>
Identifier to be used to prefix premajor, preminor,
prepatch or prerelease version increments.
-l --loose
Interpret versions and ranges loosely
-p --include-prerelease
Always include prerelease versions in range matching
-c --coerce
Coerce a string into SemVer if possible
(does not imply --loose)
--rtl
Coerce version strings right to left
--ltr
Coerce version strings left to right (default)
-n <base>
Base number to be used for the prerelease identifier.
Can be either 0 or 1, or false to omit the number altogether.
Defaults to 0.
Program exits successfully if any valid version satisfies
all supplied ranges, and prints all satisfying versions.
If no satisfying versions are found, then exits failure.
Versions are printed in ascending order, so supplying
multiple versions to the utility will just sort them.`)
main()

View file

@ -1,143 +0,0 @@
'use strict'
const ANY = Symbol('SemVer ANY')
// hoisted class for cyclic dependency
class Comparator {
static get ANY () {
return ANY
}
constructor (comp, options) {
options = parseOptions(options)
if (comp instanceof Comparator) {
if (comp.loose === !!options.loose) {
return comp
} else {
comp = comp.value
}
}
comp = comp.trim().split(/\s+/).join(' ')
debug('comparator', comp, options)
this.options = options
this.loose = !!options.loose
this.parse(comp)
if (this.semver === ANY) {
this.value = ''
} else {
this.value = this.operator + this.semver.version
}
debug('comp', this)
}
parse (comp) {
const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]
const m = comp.match(r)
if (!m) {
throw new TypeError(`Invalid comparator: ${comp}`)
}
this.operator = m[1] !== undefined ? m[1] : ''
if (this.operator === '=') {
this.operator = ''
}
// if it literally is just '>' or '' then allow anything.
if (!m[2]) {
this.semver = ANY
} else {
this.semver = new SemVer(m[2], this.options.loose)
}
}
toString () {
return this.value
}
test (version) {
debug('Comparator.test', version, this.options.loose)
if (this.semver === ANY || version === ANY) {
return true
}
if (typeof version === 'string') {
try {
version = new SemVer(version, this.options)
} catch (er) {
return false
}
}
return cmp(version, this.operator, this.semver, this.options)
}
intersects (comp, options) {
if (!(comp instanceof Comparator)) {
throw new TypeError('a Comparator is required')
}
if (this.operator === '') {
if (this.value === '') {
return true
}
return new Range(comp.value, options).test(this.value)
} else if (comp.operator === '') {
if (comp.value === '') {
return true
}
return new Range(this.value, options).test(comp.semver)
}
options = parseOptions(options)
// Special cases where nothing can possibly be lower
if (options.includePrerelease &&
(this.value === '<0.0.0-0' || comp.value === '<0.0.0-0')) {
return false
}
if (!options.includePrerelease &&
(this.value.startsWith('<0.0.0') || comp.value.startsWith('<0.0.0'))) {
return false
}
// Same direction increasing (> or >=)
if (this.operator.startsWith('>') && comp.operator.startsWith('>')) {
return true
}
// Same direction decreasing (< or <=)
if (this.operator.startsWith('<') && comp.operator.startsWith('<')) {
return true
}
// same SemVer and both sides are inclusive (<= or >=)
if (
(this.semver.version === comp.semver.version) &&
this.operator.includes('=') && comp.operator.includes('=')) {
return true
}
// opposite directions less than
if (cmp(this.semver, '<', comp.semver, options) &&
this.operator.startsWith('>') && comp.operator.startsWith('<')) {
return true
}
// opposite directions greater than
if (cmp(this.semver, '>', comp.semver, options) &&
this.operator.startsWith('<') && comp.operator.startsWith('>')) {
return true
}
return false
}
}
module.exports = Comparator
const parseOptions = require('../internal/parse-options')
const { safeRe: re, t } = require('../internal/re')
const cmp = require('../functions/cmp')
const debug = require('../internal/debug')
const SemVer = require('./semver')
const Range = require('./range')

View file

@ -1,7 +0,0 @@
'use strict'
module.exports = {
SemVer: require('./semver.js'),
Range: require('./range.js'),
Comparator: require('./comparator.js'),
}

View file

@ -1,573 +0,0 @@
'use strict'
const SPACE_CHARACTERS = /\s+/g
// hoisted class for cyclic dependency
class Range {
constructor (range, options) {
options = parseOptions(options)
if (range instanceof Range) {
if (
range.loose === !!options.loose &&
range.includePrerelease === !!options.includePrerelease
) {
return range
} else {
return new Range(range.raw, options)
}
}
if (range instanceof Comparator) {
// just put it in the set and return
this.raw = range.value
this.set = [[range]]
this.formatted = undefined
return this
}
this.options = options
this.loose = !!options.loose
this.includePrerelease = !!options.includePrerelease
// First reduce all whitespace as much as possible so we do not have to rely
// on potentially slow regexes like \s*. This is then stored and used for
// future error messages as well.
this.raw = range.trim().replace(SPACE_CHARACTERS, ' ')
// First, split on ||
this.set = this.raw
.split('||')
// map the range to a 2d array of comparators
.map(r => this.parseRange(r.trim()))
// throw out any comparator lists that are empty
// this generally means that it was not a valid range, which is allowed
// in loose mode, but will still throw if the WHOLE range is invalid.
.filter(c => c.length)
if (!this.set.length) {
throw new TypeError(`Invalid SemVer Range: ${this.raw}`)
}
// if we have any that are not the null set, throw out null sets.
if (this.set.length > 1) {
// keep the first one, in case they're all null sets
const first = this.set[0]
this.set = this.set.filter(c => !isNullSet(c[0]))
if (this.set.length === 0) {
this.set = [first]
} else if (this.set.length > 1) {
// if we have any that are *, then the range is just *
for (const c of this.set) {
if (c.length === 1 && isAny(c[0])) {
this.set = [c]
break
}
}
}
}
this.formatted = undefined
}
get range () {
if (this.formatted === undefined) {
this.formatted = ''
for (let i = 0; i < this.set.length; i++) {
if (i > 0) {
this.formatted += '||'
}
const comps = this.set[i]
for (let k = 0; k < comps.length; k++) {
if (k > 0) {
this.formatted += ' '
}
this.formatted += comps[k].toString().trim()
}
}
}
return this.formatted
}
format () {
return this.range
}
toString () {
return this.range
}
parseRange (range) {
// strip build metadata so it can't bleed into the version
range = range.replace(BUILDSTRIPRE, '')
// memoize range parsing for performance.
// this is a very hot path, and fully deterministic.
const memoOpts =
(this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) |
(this.options.loose && FLAG_LOOSE)
const memoKey = memoOpts + ':' + range
const cached = cache.get(memoKey)
if (cached) {
return cached
}
const loose = this.options.loose
// `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`
const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE]
range = range.replace(hr, hyphenReplace(this.options.includePrerelease))
debug('hyphen replace', range)
// `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`
range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace)
debug('comparator trim', range)
// `~ 1.2.3` => `~1.2.3`
range = range.replace(re[t.TILDETRIM], tildeTrimReplace)
debug('tilde trim', range)
// `^ 1.2.3` => `^1.2.3`
range = range.replace(re[t.CARETTRIM], caretTrimReplace)
debug('caret trim', range)
// At this point, the range is completely trimmed and
// ready to be split into comparators.
let rangeList = range
.split(' ')
.map(comp => parseComparator(comp, this.options))
.join(' ')
.split(/\s+/)
// >=0.0.0 is equivalent to *
.map(comp => replaceGTE0(comp, this.options))
if (loose) {
// in loose mode, throw out any that are not valid comparators
rangeList = rangeList.filter(comp => {
debug('loose invalid filter', comp, this.options)
return !!comp.match(re[t.COMPARATORLOOSE])
})
}
debug('range list', rangeList)
// if any comparators are the null set, then replace with JUST null set
// if more than one comparator, remove any * comparators
// also, don't include the same comparator more than once
const rangeMap = new Map()
const comparators = rangeList.map(comp => new Comparator(comp, this.options))
for (const comp of comparators) {
if (isNullSet(comp)) {
return [comp]
}
rangeMap.set(comp.value, comp)
}
if (rangeMap.size > 1 && rangeMap.has('')) {
rangeMap.delete('')
}
const result = [...rangeMap.values()]
cache.set(memoKey, result)
return result
}
intersects (range, options) {
if (!(range instanceof Range)) {
throw new TypeError('a Range is required')
}
return this.set.some((thisComparators) => {
return (
isSatisfiable(thisComparators, options) &&
range.set.some((rangeComparators) => {
return (
isSatisfiable(rangeComparators, options) &&
thisComparators.every((thisComparator) => {
return rangeComparators.every((rangeComparator) => {
return thisComparator.intersects(rangeComparator, options)
})
})
)
})
)
})
}
// if ANY of the sets match ALL of its comparators, then pass
test (version) {
if (!version) {
return false
}
if (typeof version === 'string') {
try {
version = new SemVer(version, this.options)
} catch (er) {
return false
}
}
for (let i = 0; i < this.set.length; i++) {
if (testSet(this.set[i], version, this.options)) {
return true
}
}
return false
}
}
module.exports = Range
const LRU = require('../internal/lrucache')
const cache = new LRU()
const parseOptions = require('../internal/parse-options')
const Comparator = require('./comparator')
const debug = require('../internal/debug')
const SemVer = require('./semver')
const {
safeRe: re,
src,
t,
comparatorTrimReplace,
tildeTrimReplace,
caretTrimReplace,
} = require('../internal/re')
const { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require('../internal/constants')
// unbounded global build-metadata stripper used by parseRange
const BUILDSTRIPRE = new RegExp(src[t.BUILD], 'g')
const isNullSet = c => c.value === '<0.0.0-0'
const isAny = c => c.value === ''
// take a set of comparators and determine whether there
// exists a version which can satisfy it
const isSatisfiable = (comparators, options) => {
let result = true
const remainingComparators = comparators.slice()
let testComparator = remainingComparators.pop()
while (result && remainingComparators.length) {
result = remainingComparators.every((otherComparator) => {
return testComparator.intersects(otherComparator, options)
})
testComparator = remainingComparators.pop()
}
return result
}
// comprised of xranges, tildes, stars, and gtlt's at this point.
// already replaced the hyphen ranges
// turn into a set of JUST comparators.
const parseComparator = (comp, options) => {
comp = comp.replace(re[t.BUILD], '')
debug('comp', comp, options)
comp = replaceCarets(comp, options)
debug('caret', comp)
comp = replaceTildes(comp, options)
debug('tildes', comp)
comp = replaceXRanges(comp, options)
debug('xrange', comp)
comp = replaceStars(comp, options)
debug('stars', comp)
return comp
}
const isX = id => !id || id.toLowerCase() === 'x' || id === '*'
const invalidXRangeOrder = (M, m, p) => (
(isX(M) && !isX(m)) ||
(isX(m) && p && !isX(p))
)
// ~, ~> --> * (any, kinda silly)
// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0-0
// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0-0
// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0-0
// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0-0
// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0-0
// ~0.0.1 --> >=0.0.1 <0.1.0-0
const replaceTildes = (comp, options) => {
return comp
.trim()
.split(/\s+/)
.map((c) => replaceTilde(c, options))
.join(' ')
}
const replaceTilde = (comp, options) => {
const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE]
return comp.replace(r, (_, M, m, p, pr) => {
debug('tilde', comp, _, M, m, p, pr)
let ret
if (isX(M)) {
ret = ''
} else if (isX(m)) {
ret = `>=${M}.0.0 <${+M + 1}.0.0-0`
} else if (isX(p)) {
// ~1.2 == >=1.2.0 <1.3.0-0
ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`
} else if (pr) {
debug('replaceTilde pr', pr)
ret = `>=${M}.${m}.${p}-${pr
} <${M}.${+m + 1}.0-0`
} else {
// ~1.2.3 == >=1.2.3 <1.3.0-0
ret = `>=${M}.${m}.${p
} <${M}.${+m + 1}.0-0`
}
debug('tilde return', ret)
return ret
})
}
// ^ --> * (any, kinda silly)
// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0-0
// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0-0
// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0-0
// ^1.2.3 --> >=1.2.3 <2.0.0-0
// ^1.2.0 --> >=1.2.0 <2.0.0-0
// ^0.0.1 --> >=0.0.1 <0.0.2-0
// ^0.1.0 --> >=0.1.0 <0.2.0-0
const replaceCarets = (comp, options) => {
return comp
.trim()
.split(/\s+/)
.map((c) => replaceCaret(c, options))
.join(' ')
}
const replaceCaret = (comp, options) => {
debug('caret', comp, options)
const r = options.loose ? re[t.CARETLOOSE] : re[t.CARET]
const z = options.includePrerelease ? '-0' : ''
return comp.replace(r, (_, M, m, p, pr) => {
debug('caret', comp, _, M, m, p, pr)
let ret
if (isX(M)) {
ret = ''
} else if (isX(m)) {
ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`
} else if (isX(p)) {
if (M === '0') {
ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`
} else {
ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`
}
} else if (pr) {
debug('replaceCaret pr', pr)
if (M === '0') {
if (m === '0') {
ret = `>=${M}.${m}.${p}-${pr
} <${M}.${m}.${+p + 1}-0`
} else {
ret = `>=${M}.${m}.${p}-${pr
} <${M}.${+m + 1}.0-0`
}
} else {
ret = `>=${M}.${m}.${p}-${pr
} <${+M + 1}.0.0-0`
}
} else {
debug('no pr')
if (M === '0') {
if (m === '0') {
ret = `>=${M}.${m}.${p
} <${M}.${m}.${+p + 1}-0`
} else {
ret = `>=${M}.${m}.${p
} <${M}.${+m + 1}.0-0`
}
} else {
ret = `>=${M}.${m}.${p
} <${+M + 1}.0.0-0`
}
}
debug('caret return', ret)
return ret
})
}
const replaceXRanges = (comp, options) => {
debug('replaceXRanges', comp, options)
return comp
.split(/\s+/)
.map((c) => replaceXRange(c, options))
.join(' ')
}
const replaceXRange = (comp, options) => {
comp = comp.trim()
const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE]
return comp.replace(r, (ret, gtlt, M, m, p, pr) => {
debug('xRange', comp, ret, gtlt, M, m, p, pr)
if (invalidXRangeOrder(M, m, p)) {
return comp
}
const xM = isX(M)
const xm = xM || isX(m)
const xp = xm || isX(p)
const anyX = xp
if (gtlt === '=' && anyX) {
gtlt = ''
}
// if we're including prereleases in the match, then we need
// to fix this to -0, the lowest possible prerelease value
pr = options.includePrerelease ? '-0' : ''
if (xM) {
if (gtlt === '>' || gtlt === '<') {
// nothing is allowed
ret = '<0.0.0-0'
} else {
// nothing is forbidden
ret = '*'
}
} else if (gtlt && anyX) {
// we know patch is an x, because we have any x at all.
// replace X with 0
if (xm) {
m = 0
}
p = 0
if (gtlt === '>') {
// >1 => >=2.0.0
// >1.2 => >=1.3.0
gtlt = '>='
if (xm) {
M = +M + 1
m = 0
p = 0
} else {
m = +m + 1
p = 0
}
} else if (gtlt === '<=') {
// <=0.7.x is actually <0.8.0, since any 0.7.x should
// pass. Similarly, <=7.x is actually <8.0.0, etc.
gtlt = '<'
if (xm) {
M = +M + 1
} else {
m = +m + 1
}
}
if (gtlt === '<') {
pr = '-0'
}
ret = `${gtlt + M}.${m}.${p}${pr}`
} else if (xm) {
ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`
} else if (xp) {
ret = `>=${M}.${m}.0${pr
} <${M}.${+m + 1}.0-0`
}
debug('xRange return', ret)
return ret
})
}
// Because * is AND-ed with everything else in the comparator,
// and '' means "any version", just remove the *s entirely.
const replaceStars = (comp, options) => {
debug('replaceStars', comp, options)
// Looseness is ignored here. star is always as loose as it gets!
return comp
.trim()
.replace(re[t.STAR], '')
}
const replaceGTE0 = (comp, options) => {
debug('replaceGTE0', comp, options)
return comp
.trim()
.replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], '')
}
// This function is passed to string.replace(re[t.HYPHENRANGE])
// M, m, patch, prerelease, build
// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5
// 1.2.3 - 3.4 => >=1.2.0 <3.5.0-0 Any 3.4.x will do
// 1.2 - 3.4 => >=1.2.0 <3.5.0-0
// TODO build?
const hyphenReplace = incPr => ($0,
from, fM, fm, fp, fpr, fb,
to, tM, tm, tp, tpr) => {
if (isX(fM)) {
from = ''
} else if (isX(fm)) {
from = `>=${fM}.0.0${incPr ? '-0' : ''}`
} else if (isX(fp)) {
from = `>=${fM}.${fm}.0${incPr ? '-0' : ''}`
} else if (fpr) {
from = `>=${from}`
} else {
from = `>=${from}${incPr ? '-0' : ''}`
}
if (isX(tM)) {
to = ''
} else if (isX(tm)) {
to = `<${+tM + 1}.0.0-0`
} else if (isX(tp)) {
to = `<${tM}.${+tm + 1}.0-0`
} else if (tpr) {
to = `<=${tM}.${tm}.${tp}-${tpr}`
} else if (incPr) {
to = `<${tM}.${tm}.${+tp + 1}-0`
} else {
to = `<=${to}`
}
return `${from} ${to}`.trim()
}
const testSet = (set, version, options) => {
for (let i = 0; i < set.length; i++) {
if (!set[i].test(version)) {
return false
}
}
if (version.prerelease.length && !options.includePrerelease) {
// Find the set of versions that are allowed to have prereleases
// For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0
// That should allow `1.2.3-pr.2` to pass.
// However, `1.2.4-alpha.notready` should NOT be allowed,
// even though it's within the range set by the comparators.
for (let i = 0; i < set.length; i++) {
debug(set[i].semver)
if (set[i].semver === Comparator.ANY) {
continue
}
if (set[i].semver.prerelease.length > 0) {
const allowed = set[i].semver
if (allowed.major === version.major &&
allowed.minor === version.minor &&
allowed.patch === version.patch) {
return true
}
}
}
// Version has a -pre, but it's not one of the ones we like.
return false
}
return true
}

View file

@ -1,350 +0,0 @@
'use strict'
const debug = require('../internal/debug')
const { MAX_LENGTH, MAX_SAFE_INTEGER } = require('../internal/constants')
const { safeRe: re, t } = require('../internal/re')
const parseOptions = require('../internal/parse-options')
const { compareIdentifiers } = require('../internal/identifiers')
const isPrereleaseIdentifier = (prerelease, identifier) => {
const identifiers = identifier.split('.')
if (identifiers.length > prerelease.length) {
return false
}
for (let i = 0; i < identifiers.length; i++) {
if (compareIdentifiers(prerelease[i], identifiers[i]) !== 0) {
return false
}
}
return true
}
class SemVer {
constructor (version, options) {
options = parseOptions(options)
if (version instanceof SemVer) {
if (version.loose === !!options.loose &&
version.includePrerelease === !!options.includePrerelease) {
return version
} else {
version = version.version
}
} else if (typeof version !== 'string') {
throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`)
}
if (version.length > MAX_LENGTH) {
throw new TypeError(
`version is longer than ${MAX_LENGTH} characters`
)
}
debug('SemVer', version, options)
this.options = options
this.loose = !!options.loose
// this isn't actually relevant for versions, but keep it so that we
// don't run into trouble passing this.options around.
this.includePrerelease = !!options.includePrerelease
const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL])
if (!m) {
throw new TypeError(`Invalid Version: ${version}`)
}
this.raw = version
// these are actually numbers
this.major = +m[1]
this.minor = +m[2]
this.patch = +m[3]
if (this.major > MAX_SAFE_INTEGER || this.major < 0) {
throw new TypeError('Invalid major version')
}
if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {
throw new TypeError('Invalid minor version')
}
if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {
throw new TypeError('Invalid patch version')
}
// numberify any prerelease numeric ids
if (!m[4]) {
this.prerelease = []
} else {
this.prerelease = m[4].split('.').map((id) => {
if (/^[0-9]+$/.test(id)) {
const num = +id
if (num >= 0 && num < MAX_SAFE_INTEGER) {
return num
}
}
return id
})
}
this.build = m[5] ? m[5].split('.') : []
this.format()
}
format () {
this.version = `${this.major}.${this.minor}.${this.patch}`
if (this.prerelease.length) {
this.version += `-${this.prerelease.join('.')}`
}
return this.version
}
toString () {
return this.version
}
compare (other) {
debug('SemVer.compare', this.version, this.options, other)
if (!(other instanceof SemVer)) {
if (typeof other === 'string' && other === this.version) {
return 0
}
other = new SemVer(other, this.options)
}
if (other.version === this.version) {
return 0
}
return this.compareMain(other) || this.comparePre(other)
}
compareMain (other) {
if (!(other instanceof SemVer)) {
other = new SemVer(other, this.options)
}
if (this.major < other.major) {
return -1
}
if (this.major > other.major) {
return 1
}
if (this.minor < other.minor) {
return -1
}
if (this.minor > other.minor) {
return 1
}
if (this.patch < other.patch) {
return -1
}
if (this.patch > other.patch) {
return 1
}
return 0
}
comparePre (other) {
if (!(other instanceof SemVer)) {
other = new SemVer(other, this.options)
}
// NOT having a prerelease is > having one
if (this.prerelease.length && !other.prerelease.length) {
return -1
} else if (!this.prerelease.length && other.prerelease.length) {
return 1
} else if (!this.prerelease.length && !other.prerelease.length) {
return 0
}
let i = 0
do {
const a = this.prerelease[i]
const b = other.prerelease[i]
debug('prerelease compare', i, a, b)
if (a === undefined && b === undefined) {
return 0
} else if (b === undefined) {
return 1
} else if (a === undefined) {
return -1
} else if (a === b) {
continue
} else {
return compareIdentifiers(a, b)
}
} while (++i)
}
compareBuild (other) {
if (!(other instanceof SemVer)) {
other = new SemVer(other, this.options)
}
let i = 0
do {
const a = this.build[i]
const b = other.build[i]
debug('build compare', i, a, b)
if (a === undefined && b === undefined) {
return 0
} else if (b === undefined) {
return 1
} else if (a === undefined) {
return -1
} else if (a === b) {
continue
} else {
return compareIdentifiers(a, b)
}
} while (++i)
}
// preminor will bump the version up to the next minor release, and immediately
// down to pre-release. premajor and prepatch work the same way.
inc (release, identifier, identifierBase) {
if (release.startsWith('pre')) {
if (!identifier && identifierBase === false) {
throw new Error('invalid increment argument: identifier is empty')
}
// Avoid an invalid semver results
if (identifier) {
const match = `-${identifier}`.match(this.options.loose ? re[t.PRERELEASELOOSE] : re[t.PRERELEASE])
if (!match || match[1] !== identifier) {
throw new Error(`invalid identifier: ${identifier}`)
}
}
}
switch (release) {
case 'premajor':
this.prerelease.length = 0
this.patch = 0
this.minor = 0
this.major++
this.inc('pre', identifier, identifierBase)
break
case 'preminor':
this.prerelease.length = 0
this.patch = 0
this.minor++
this.inc('pre', identifier, identifierBase)
break
case 'prepatch':
// If this is already a prerelease, it will bump to the next version
// drop any prereleases that might already exist, since they are not
// relevant at this point.
this.prerelease.length = 0
this.inc('patch', identifier, identifierBase)
this.inc('pre', identifier, identifierBase)
break
// If the input is a non-prerelease version, this acts the same as
// prepatch.
case 'prerelease':
if (this.prerelease.length === 0) {
this.inc('patch', identifier, identifierBase)
}
this.inc('pre', identifier, identifierBase)
break
case 'release':
if (this.prerelease.length === 0) {
throw new Error(`version ${this.raw} is not a prerelease`)
}
this.prerelease.length = 0
break
case 'major':
// If this is a pre-major version, bump up to the same major version.
// Otherwise increment major.
// 1.0.0-5 bumps to 1.0.0
// 1.1.0 bumps to 2.0.0
if (
this.minor !== 0 ||
this.patch !== 0 ||
this.prerelease.length === 0
) {
this.major++
}
this.minor = 0
this.patch = 0
this.prerelease = []
break
case 'minor':
// If this is a pre-minor version, bump up to the same minor version.
// Otherwise increment minor.
// 1.2.0-5 bumps to 1.2.0
// 1.2.1 bumps to 1.3.0
if (this.patch !== 0 || this.prerelease.length === 0) {
this.minor++
}
this.patch = 0
this.prerelease = []
break
case 'patch':
// If this is not a pre-release version, it will increment the patch.
// If it is a pre-release it will bump up to the same patch version.
// 1.2.0-5 patches to 1.2.0
// 1.2.0 patches to 1.2.1
if (this.prerelease.length === 0) {
this.patch++
}
this.prerelease = []
break
// This probably shouldn't be used publicly.
// 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.
case 'pre': {
const base = Number(identifierBase) ? 1 : 0
if (this.prerelease.length === 0) {
this.prerelease = [base]
} else {
let i = this.prerelease.length
while (--i >= 0) {
if (typeof this.prerelease[i] === 'number') {
this.prerelease[i]++
i = -2
}
}
if (i === -1) {
// didn't increment anything
if (identifier === this.prerelease.join('.') && identifierBase === false) {
throw new Error('invalid increment argument: identifier already exists')
}
this.prerelease.push(base)
}
}
if (identifier) {
// 1.2.0-beta.1 bumps to 1.2.0-beta.2,
// 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0
let prerelease = [identifier, base]
if (identifierBase === false) {
prerelease = [identifier]
}
if (isPrereleaseIdentifier(this.prerelease, identifier)) {
const prereleaseBase = this.prerelease[identifier.split('.').length]
if (isNaN(prereleaseBase)) {
this.prerelease = prerelease
}
} else {
this.prerelease = prerelease
}
}
break
}
default:
throw new Error(`invalid increment argument: ${release}`)
}
this.raw = this.format()
if (this.build.length) {
this.raw += `+${this.build.join('.')}`
}
return this
}
}
module.exports = SemVer

View file

@ -1,8 +0,0 @@
'use strict'
const parse = require('./parse')
const clean = (version, options) => {
const s = parse(version.trim().replace(/^[=v]+/, ''), options)
return s ? s.version : null
}
module.exports = clean

View file

@ -1,54 +0,0 @@
'use strict'
const eq = require('./eq')
const neq = require('./neq')
const gt = require('./gt')
const gte = require('./gte')
const lt = require('./lt')
const lte = require('./lte')
const cmp = (a, op, b, loose) => {
switch (op) {
case '===':
if (typeof a === 'object') {
a = a.version
}
if (typeof b === 'object') {
b = b.version
}
return a === b
case '!==':
if (typeof a === 'object') {
a = a.version
}
if (typeof b === 'object') {
b = b.version
}
return a !== b
case '':
case '=':
case '==':
return eq(a, b, loose)
case '!=':
return neq(a, b, loose)
case '>':
return gt(a, b, loose)
case '>=':
return gte(a, b, loose)
case '<':
return lt(a, b, loose)
case '<=':
return lte(a, b, loose)
default:
throw new TypeError(`Invalid operator: ${op}`)
}
}
module.exports = cmp

View file

@ -1,62 +0,0 @@
'use strict'
const SemVer = require('../classes/semver')
const parse = require('./parse')
const { safeRe: re, t } = require('../internal/re')
const coerce = (version, options) => {
if (version instanceof SemVer) {
return version
}
if (typeof version === 'number') {
version = String(version)
}
if (typeof version !== 'string') {
return null
}
options = options || {}
let match = null
if (!options.rtl) {
match = version.match(options.includePrerelease ? re[t.COERCEFULL] : re[t.COERCE])
} else {
// Find the right-most coercible string that does not share
// a terminus with a more left-ward coercible string.
// Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4'
// With includePrerelease option set, '1.2.3.4-rc' wants to coerce '2.3.4-rc', not '2.3.4'
//
// Walk through the string checking with a /g regexp
// Manually set the index so as to pick up overlapping matches.
// Stop when we get a match that ends at the string end, since no
// coercible string can be more right-ward without the same terminus.
const coerceRtlRegex = options.includePrerelease ? re[t.COERCERTLFULL] : re[t.COERCERTL]
let next
while ((next = coerceRtlRegex.exec(version)) &&
(!match || match.index + match[0].length !== version.length)
) {
if (!match ||
next.index + next[0].length !== match.index + match[0].length) {
match = next
}
coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length
}
// leave it in a clean state
coerceRtlRegex.lastIndex = -1
}
if (match === null) {
return null
}
const major = match[2]
const minor = match[3] || '0'
const patch = match[4] || '0'
const prerelease = options.includePrerelease && match[5] ? `-${match[5]}` : ''
const build = options.includePrerelease && match[6] ? `+${match[6]}` : ''
return parse(`${major}.${minor}.${patch}${prerelease}${build}`, options)
}
module.exports = coerce

View file

@ -1,9 +0,0 @@
'use strict'
const SemVer = require('../classes/semver')
const compareBuild = (a, b, loose) => {
const versionA = new SemVer(a, loose)
const versionB = new SemVer(b, loose)
return versionA.compare(versionB) || versionA.compareBuild(versionB)
}
module.exports = compareBuild

View file

@ -1,5 +0,0 @@
'use strict'
const compare = require('./compare')
const compareLoose = (a, b) => compare(a, b, true)
module.exports = compareLoose

View file

@ -1,7 +0,0 @@
'use strict'
const SemVer = require('../classes/semver')
const compare = (a, b, loose) =>
new SemVer(a, loose).compare(new SemVer(b, loose))
module.exports = compare

View file

@ -1,60 +0,0 @@
'use strict'
const parse = require('./parse.js')
const diff = (version1, version2) => {
const v1 = parse(version1, null, true)
const v2 = parse(version2, null, true)
const comparison = v1.compare(v2)
if (comparison === 0) {
return null
}
const v1Higher = comparison > 0
const highVersion = v1Higher ? v1 : v2
const lowVersion = v1Higher ? v2 : v1
const highHasPre = !!highVersion.prerelease.length
const lowHasPre = !!lowVersion.prerelease.length
if (lowHasPre && !highHasPre) {
// Going from prerelease -> no prerelease requires some special casing
// If the low version has only a major, then it will always be a major
// Some examples:
// 1.0.0-1 -> 1.0.0
// 1.0.0-1 -> 1.1.1
// 1.0.0-1 -> 2.0.0
if (!lowVersion.patch && !lowVersion.minor) {
return 'major'
}
// If the main part has no difference
if (lowVersion.compareMain(highVersion) === 0) {
if (lowVersion.minor && !lowVersion.patch) {
return 'minor'
}
return 'patch'
}
}
// add the `pre` prefix if we are going to a prerelease version
const prefix = highHasPre ? 'pre' : ''
if (v1.major !== v2.major) {
return prefix + 'major'
}
if (v1.minor !== v2.minor) {
return prefix + 'minor'
}
if (v1.patch !== v2.patch) {
return prefix + 'patch'
}
// high and low are prereleases
return 'prerelease'
}
module.exports = diff

View file

@ -1,5 +0,0 @@
'use strict'
const compare = require('./compare')
const eq = (a, b, loose) => compare(a, b, loose) === 0
module.exports = eq

View file

@ -1,5 +0,0 @@
'use strict'
const compare = require('./compare')
const gt = (a, b, loose) => compare(a, b, loose) > 0
module.exports = gt

View file

@ -1,5 +0,0 @@
'use strict'
const compare = require('./compare')
const gte = (a, b, loose) => compare(a, b, loose) >= 0
module.exports = gte

View file

@ -1,21 +0,0 @@
'use strict'
const SemVer = require('../classes/semver')
const inc = (version, release, options, identifier, identifierBase) => {
if (typeof (options) === 'string') {
identifierBase = identifier
identifier = options
options = undefined
}
try {
return new SemVer(
version instanceof SemVer ? version.version : version,
options
).inc(release, identifier, identifierBase).version
} catch (er) {
return null
}
}
module.exports = inc

View file

@ -1,5 +0,0 @@
'use strict'
const compare = require('./compare')
const lt = (a, b, loose) => compare(a, b, loose) < 0
module.exports = lt

View file

@ -1,5 +0,0 @@
'use strict'
const compare = require('./compare')
const lte = (a, b, loose) => compare(a, b, loose) <= 0
module.exports = lte

View file

@ -1,5 +0,0 @@
'use strict'
const SemVer = require('../classes/semver')
const major = (a, loose) => new SemVer(a, loose).major
module.exports = major

View file

@ -1,5 +0,0 @@
'use strict'
const SemVer = require('../classes/semver')
const minor = (a, loose) => new SemVer(a, loose).minor
module.exports = minor

View file

@ -1,5 +0,0 @@
'use strict'
const compare = require('./compare')
const neq = (a, b, loose) => compare(a, b, loose) !== 0
module.exports = neq

View file

@ -1,18 +0,0 @@
'use strict'
const SemVer = require('../classes/semver')
const parse = (version, options, throwErrors = false) => {
if (version instanceof SemVer) {
return version
}
try {
return new SemVer(version, options)
} catch (er) {
if (!throwErrors) {
return null
}
throw er
}
}
module.exports = parse

View file

@ -1,5 +0,0 @@
'use strict'
const SemVer = require('../classes/semver')
const patch = (a, loose) => new SemVer(a, loose).patch
module.exports = patch

View file

@ -1,8 +0,0 @@
'use strict'
const parse = require('./parse')
const prerelease = (version, options) => {
const parsed = parse(version, options)
return (parsed && parsed.prerelease.length) ? parsed.prerelease : null
}
module.exports = prerelease

View file

@ -1,5 +0,0 @@
'use strict'
const compare = require('./compare')
const rcompare = (a, b, loose) => compare(b, a, loose)
module.exports = rcompare

View file

@ -1,5 +0,0 @@
'use strict'
const compareBuild = require('./compare-build')
const rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose))
module.exports = rsort

View file

@ -1,12 +0,0 @@
'use strict'
const Range = require('../classes/range')
const satisfies = (version, range, options) => {
try {
range = new Range(range, options)
} catch (er) {
return false
}
return range.test(version)
}
module.exports = satisfies

View file

@ -1,5 +0,0 @@
'use strict'
const compareBuild = require('./compare-build')
const sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose))
module.exports = sort

View file

@ -1,48 +0,0 @@
'use strict'
const parse = require('./parse')
const constants = require('../internal/constants')
const SemVer = require('../classes/semver')
const truncate = (version, truncation, options) => {
if (!constants.RELEASE_TYPES.includes(truncation)) {
return null
}
const clonedVersion = cloneInputVersion(version, options)
return clonedVersion && doTruncation(clonedVersion, truncation)
}
const cloneInputVersion = (version, options) => {
const versionStringToParse = (
version instanceof SemVer ? version.version : version
)
return parse(versionStringToParse, options)
}
const doTruncation = (version, truncation) => {
if (isPrerelease(truncation)) {
return version.version
}
version.prerelease = []
switch (truncation) {
case 'major':
version.minor = 0
version.patch = 0
break
case 'minor':
version.patch = 0
break
}
return version.format()
}
const isPrerelease = (type) => {
return type.startsWith('pre')
}
module.exports = truncate

View file

@ -1,8 +0,0 @@
'use strict'
const parse = require('./parse')
const valid = (version, options) => {
const v = parse(version, options)
return v ? v.version : null
}
module.exports = valid

View file

@ -1,93 +0,0 @@
'use strict'
// just pre-load all the stuff that index.js lazily exports
const internalRe = require('./internal/re')
const constants = require('./internal/constants')
const SemVer = require('./classes/semver')
const identifiers = require('./internal/identifiers')
const parse = require('./functions/parse')
const valid = require('./functions/valid')
const clean = require('./functions/clean')
const inc = require('./functions/inc')
const diff = require('./functions/diff')
const major = require('./functions/major')
const minor = require('./functions/minor')
const patch = require('./functions/patch')
const prerelease = require('./functions/prerelease')
const compare = require('./functions/compare')
const rcompare = require('./functions/rcompare')
const compareLoose = require('./functions/compare-loose')
const compareBuild = require('./functions/compare-build')
const sort = require('./functions/sort')
const rsort = require('./functions/rsort')
const gt = require('./functions/gt')
const lt = require('./functions/lt')
const eq = require('./functions/eq')
const neq = require('./functions/neq')
const gte = require('./functions/gte')
const lte = require('./functions/lte')
const cmp = require('./functions/cmp')
const coerce = require('./functions/coerce')
const truncate = require('./functions/truncate')
const Comparator = require('./classes/comparator')
const Range = require('./classes/range')
const satisfies = require('./functions/satisfies')
const toComparators = require('./ranges/to-comparators')
const maxSatisfying = require('./ranges/max-satisfying')
const minSatisfying = require('./ranges/min-satisfying')
const minVersion = require('./ranges/min-version')
const validRange = require('./ranges/valid')
const outside = require('./ranges/outside')
const gtr = require('./ranges/gtr')
const ltr = require('./ranges/ltr')
const intersects = require('./ranges/intersects')
const simplifyRange = require('./ranges/simplify')
const subset = require('./ranges/subset')
module.exports = {
parse,
valid,
clean,
inc,
diff,
major,
minor,
patch,
prerelease,
compare,
rcompare,
compareLoose,
compareBuild,
sort,
rsort,
gt,
lt,
eq,
neq,
gte,
lte,
cmp,
coerce,
truncate,
Comparator,
Range,
satisfies,
toComparators,
maxSatisfying,
minSatisfying,
minVersion,
validRange,
outside,
gtr,
ltr,
intersects,
simplifyRange,
subset,
SemVer,
re: internalRe.re,
src: internalRe.src,
tokens: internalRe.t,
SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,
RELEASE_TYPES: constants.RELEASE_TYPES,
compareIdentifiers: identifiers.compareIdentifiers,
rcompareIdentifiers: identifiers.rcompareIdentifiers,
}

View file

@ -1,37 +0,0 @@
'use strict'
// Note: this is the semver.org version of the spec that it implements
// Not necessarily the package version of this code.
const SEMVER_SPEC_VERSION = '2.0.0'
const MAX_LENGTH = 256
const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||
/* istanbul ignore next */ 9007199254740991
// Max safe segment length for coercion.
const MAX_SAFE_COMPONENT_LENGTH = 16
// Max safe length for a build identifier. The max length minus 6 characters for
// the shortest version with a build 0.0.0+BUILD.
const MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6
const RELEASE_TYPES = [
'major',
'premajor',
'minor',
'preminor',
'patch',
'prepatch',
'prerelease',
]
module.exports = {
MAX_LENGTH,
MAX_SAFE_COMPONENT_LENGTH,
MAX_SAFE_BUILD_LENGTH,
MAX_SAFE_INTEGER,
RELEASE_TYPES,
SEMVER_SPEC_VERSION,
FLAG_INCLUDE_PRERELEASE: 0b001,
FLAG_LOOSE: 0b010,
}

View file

@ -1,11 +0,0 @@
'use strict'
const debug = (
typeof process === 'object' &&
process.env &&
process.env.NODE_DEBUG &&
/\bsemver\b/i.test(process.env.NODE_DEBUG)
) ? (...args) => console.error('SEMVER', ...args)
: () => {}
module.exports = debug

View file

@ -1,29 +0,0 @@
'use strict'
const numeric = /^[0-9]+$/
const compareIdentifiers = (a, b) => {
if (typeof a === 'number' && typeof b === 'number') {
return a === b ? 0 : a < b ? -1 : 1
}
const anum = numeric.test(a)
const bnum = numeric.test(b)
if (anum && bnum) {
a = +a
b = +b
}
return a === b ? 0
: (anum && !bnum) ? -1
: (bnum && !anum) ? 1
: a < b ? -1
: 1
}
const rcompareIdentifiers = (a, b) => compareIdentifiers(b, a)
module.exports = {
compareIdentifiers,
rcompareIdentifiers,
}

View file

@ -1,42 +0,0 @@
'use strict'
class LRUCache {
constructor () {
this.max = 1000
this.map = new Map()
}
get (key) {
const value = this.map.get(key)
if (value === undefined) {
return undefined
} else {
// Remove the key from the map and add it to the end
this.map.delete(key)
this.map.set(key, value)
return value
}
}
delete (key) {
return this.map.delete(key)
}
set (key, value) {
const deleted = this.delete(key)
if (!deleted && value !== undefined) {
// If cache is full, delete the least recently used item
if (this.map.size >= this.max) {
const firstKey = this.map.keys().next().value
this.delete(firstKey)
}
this.map.set(key, value)
}
return this
}
}
module.exports = LRUCache

View file

@ -1,17 +0,0 @@
'use strict'
// parse out just the options we care about
const looseOption = Object.freeze({ loose: true })
const emptyOpts = Object.freeze({ })
const parseOptions = options => {
if (!options) {
return emptyOpts
}
if (typeof options !== 'object') {
return looseOption
}
return options
}
module.exports = parseOptions

Some files were not shown because too many files have changed in this diff Show more