@utrecht/web-component-library-stencil 1.0.0-alpha.32 → 1.0.0-alpha.320
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +51 -0
- package/dist/cjs/clsx.m-b81c6b86.js +5 -0
- package/dist/cjs/{index-fe92e5ce.js → index-e1ed72fb.js} +254 -84
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/utrecht-article.cjs.entry.js +3 -3
- package/dist/cjs/utrecht-backdrop.cjs.entry.js +21 -0
- package/dist/cjs/utrecht-badge-counter.cjs.entry.js +5 -5
- package/dist/cjs/utrecht-badge-data.cjs.entry.js +3 -3
- package/dist/cjs/utrecht-badge-status.cjs.entry.js +4 -4
- package/dist/cjs/utrecht-breadcrumb.cjs.entry.js +5 -5
- package/dist/cjs/utrecht-button.cjs.entry.js +30 -5
- package/dist/cjs/utrecht-checkbox.cjs.entry.js +32 -0
- package/dist/cjs/utrecht-contact-card-template.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-custom-checkbox.cjs.entry.js +52 -0
- package/dist/cjs/utrecht-digid-button.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-digid-logo.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-document.cjs.entry.js +3 -3
- package/dist/cjs/utrecht-eherkenning-logo.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-eidas-logo.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-form-field-checkbox.cjs.entry.js +34 -0
- package/dist/cjs/utrecht-form-field-description.cjs.entry.js +22 -0
- package/dist/cjs/utrecht-form-field-textarea.cjs.entry.js +34 -0
- package/dist/cjs/utrecht-form-field-textbox.cjs.entry.js +39 -0
- package/dist/cjs/utrecht-form-toggle.cjs.entry.js +48 -0
- package/dist/cjs/utrecht-heading-1.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-heading-2_3.cjs.entry.js +46 -0
- package/dist/cjs/utrecht-heading-4.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-heading-5.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-heading-6.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-heading.cjs.entry.js +3 -3
- package/dist/cjs/utrecht-html-content.cjs.entry.js +3 -3
- package/dist/cjs/utrecht-icon-afspraak-maken.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-afval-container.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-afval-containerpas.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-afval-kalender.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-afval-scheiden.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-afval.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-afvalkalender.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-alleen.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-arrow.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-bestemmingsplan.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-betaaldatum.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-bewijsstukken.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-bijstand.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-blad.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-bouwproject.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-brandgevaar.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-checkmark.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-college-b-w.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-container-bio.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-container.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-cross.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-dakloos.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-dementie.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-duurzaam.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-eenzaamheid.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-eikenprocessie.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-energie-vergoeding.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-energietransitie.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-error.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-evenementen.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-facebook.cjs.entry.js +6 -6
- package/dist/cjs/utrecht-icon-fiets.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-filter.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-gebruiker-centraal.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-gegevenswoordenboek.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-gemeenteraad.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-grofvuil.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-horeca.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-huishoudelijk-geweld.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-hulp-huishouden.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-hulp-vervoer.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-hulp-zorg.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-hulpverlening.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-information.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-innovatie.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-instagram.cjs.entry.js +6 -6
- package/dist/cjs/utrecht-icon-kalender.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-kerstbomen.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-klachten.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-kroon.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-laadpaal.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-lantaarnpaal.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-leren.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-let-op.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-linkedin.cjs.entry.js +6 -6
- package/dist/cjs/utrecht-icon-list.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-loupe.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-markt.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-melding-klacht.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-melding.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-menselijk.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-milieu-ontheffing.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-natuur.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-nieuw-huis.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-nummerbord.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-omgeving.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-omgevingsvisie.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-omgevingswet.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-onderhoud.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-openingstijden.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-panden.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-park.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-parkeerkaart.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-parkeervergunning.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-parken.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-parkeren-bedrijven.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-parkeren-betalen.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-participatie-campagne.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-paspoort.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-rijbewijs.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-rolstoel.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-shoppen.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-sinterklaas.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-sport.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-stookverbod.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-strooien.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-subsidie-gezin.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-toeslag.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-trein.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-trouwen.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-twitter.cjs.entry.js +6 -6
- package/dist/cjs/utrecht-icon-vaccinatie.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-veilige-wijk.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-vergoeding.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-verhuizen.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-verkiezingen.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-verslaving.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-vervoersvoorziening.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-virus.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-vluchtelingen.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-voorzieningen-vervoer.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-vrijwilligerswerk.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-vuurwerk.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-wandelstok.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-warm.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-warning.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-werken.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-werkzaamheden.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-whatsapp.cjs.entry.js +6 -6
- package/dist/cjs/utrecht-icon-wonen-kosten.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-woning-zoeken.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-youtube.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-zelfstandig-wonen.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-zoomin.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-zoomout.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-zorg-huis.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon-zwemmen.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-icon.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-logo-button.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-logo.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-page-content.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-page-footer.cjs.entry.js +3 -3
- package/dist/cjs/utrecht-page.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-pagination.cjs.entry.js +38 -0
- package/dist/cjs/utrecht-separator.cjs.entry.js +3 -3
- package/dist/cjs/utrecht-sidenav.cjs.entry.js +5 -5
- package/dist/cjs/utrecht-table-body.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-table-caption.cjs.entry.js +20 -0
- package/dist/cjs/utrecht-table-cell.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-table-footer.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-table-header-cell.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-table-header.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-table-row.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-table.cjs.entry.js +19 -0
- package/dist/cjs/utrecht-textbox.cjs.entry.js +39 -0
- package/dist/cjs/utrecht.cjs.js +3 -3
- package/dist/collection/article/web-component/index.css +26 -0
- package/dist/collection/article/{stencil.js → web-component/index.stencil.js} +8 -3
- package/dist/collection/backdrop/web-component/index.css +40 -0
- package/dist/collection/{button/stencil.js → backdrop/web-component/index.stencil.js} +15 -9
- package/dist/collection/badge-counter/{bem.css → web-component/index.css} +13 -21
- package/dist/collection/badge-counter/{stencil.js → web-component/index.stencil.js} +7 -6
- package/dist/collection/badge-data/{bem.css → web-component/index.css} +21 -7
- package/dist/collection/badge-data/{stencil.js → web-component/index.stencil.js} +5 -4
- package/dist/collection/badge-status/{bem.css → web-component/index.css} +26 -7
- package/dist/collection/badge-status/{stencil.js → web-component/index.stencil.js} +6 -5
- package/dist/collection/breadcrumb/web-component/index.css +341 -0
- package/dist/collection/breadcrumb/{stencil.js → web-component/index.stencil.js} +6 -6
- package/dist/collection/breadcrumb/web-component/template.js +4 -0
- package/dist/collection/button/web-component/index.css +234 -0
- package/dist/collection/button/web-component/index.stencil.js +140 -0
- package/dist/collection/checkbox/web-component/index.css +69 -0
- package/dist/collection/checkbox/web-component/index.stencil.js +164 -0
- package/dist/collection/collection-manifest.json +166 -20
- package/dist/collection/custom-checkbox/web-component/index.css +273 -0
- package/dist/collection/custom-checkbox/web-component/index.stencil.js +205 -0
- package/dist/collection/digid-button/web-component/index.css +24 -0
- package/dist/collection/digid-button/web-component/index.stencil.js +40 -0
- package/dist/collection/digid-logo/web-component/index.css +18 -0
- package/dist/collection/digid-logo/web-component/index.stencil.js +23 -0
- package/dist/collection/document/web-component/index.css +37 -0
- package/dist/collection/document/{stencil.js → web-component/index.stencil.js} +3 -3
- package/dist/collection/eherkenning-logo/web-component/index.css +18 -0
- package/dist/collection/eherkenning-logo/web-component/index.stencil.js +26 -0
- package/dist/collection/eidas-logo/web-component/index.css +18 -0
- package/dist/collection/eidas-logo/web-component/index.stencil.js +28 -0
- package/dist/collection/form-field-checkbox/web-component/index.css +130 -0
- package/dist/collection/form-field-checkbox/web-component/index.stencil.js +190 -0
- package/dist/collection/form-field-description/web-component/index.css +44 -0
- package/dist/collection/form-field-description/web-component/index.stencil.js +44 -0
- package/dist/collection/form-field-textarea/web-component/index.css +179 -0
- package/dist/collection/form-field-textarea/web-component/index.stencil.js +205 -0
- package/dist/collection/form-field-textbox/web-component/index.css +192 -0
- package/dist/collection/form-field-textbox/web-component/index.stencil.js +300 -0
- package/dist/collection/form-toggle/web-component/index.css +115 -0
- package/dist/collection/form-toggle/web-component/index.stencil.js +148 -0
- package/dist/collection/heading/web-component/index.css +221 -0
- package/dist/collection/heading/{stencil.js → web-component/index.stencil.js} +3 -3
- package/dist/collection/heading-1/web-component/index.css +46 -0
- package/dist/collection/heading-1/web-component/index.stencil.js +15 -0
- package/dist/collection/heading-2/web-component/index.css +46 -0
- package/dist/collection/heading-2/web-component/index.stencil.js +15 -0
- package/dist/collection/heading-3/web-component/index.css +46 -0
- package/dist/collection/heading-3/web-component/index.stencil.js +15 -0
- package/dist/collection/heading-4/web-component/index.css +46 -0
- package/dist/collection/heading-4/web-component/index.stencil.js +15 -0
- package/dist/collection/heading-5/web-component/index.css +46 -0
- package/dist/collection/heading-5/web-component/index.stencil.js +15 -0
- package/dist/collection/heading-6/web-component/index.css +46 -0
- package/dist/collection/heading-6/web-component/index.stencil.js +15 -0
- package/dist/collection/html-content/web-component/index.css +1188 -0
- package/dist/collection/html-content/{stencil.js → web-component/index.stencil.js} +3 -3
- package/dist/collection/icon/src/build.js +97 -0
- package/dist/collection/icon/src/component_templates.js +66 -0
- package/dist/collection/icon/src/svg/afspraak-maken.svg +1 -0
- package/dist/collection/icon/src/svg/afval-container.svg +1 -0
- package/dist/collection/icon/src/svg/afval-containerpas.svg +1 -0
- package/dist/collection/icon/src/svg/afval-kalender.svg +1 -0
- package/dist/collection/icon/src/svg/afval-scheiden.svg +1 -0
- package/dist/collection/icon/src/svg/afval.svg +1 -0
- package/dist/collection/icon/src/svg/afvalkalender.svg +1 -0
- package/dist/collection/icon/src/svg/alleen.svg +1 -0
- package/dist/collection/icon/src/svg/arrow.svg +9 -0
- package/dist/collection/icon/src/svg/bestemmingsplan.svg +1 -0
- package/dist/collection/icon/src/svg/betaaldatum.svg +1 -0
- package/dist/collection/icon/src/svg/bewijsstukken.svg +1 -0
- package/dist/collection/icon/src/svg/bijstand.svg +1 -0
- package/dist/collection/icon/src/svg/blad.svg +1 -0
- package/dist/collection/icon/src/svg/bouwproject.svg +1 -0
- package/dist/collection/icon/src/svg/brandgevaar.svg +1 -0
- package/dist/collection/icon/src/svg/checkmark.svg +9 -0
- package/dist/collection/icon/src/svg/college-b-w.svg +1 -0
- package/dist/collection/icon/src/svg/container-bio.svg +1 -0
- package/dist/collection/icon/src/svg/cross.svg +9 -0
- package/dist/collection/icon/src/svg/dakloos.svg +1 -0
- package/dist/collection/icon/src/svg/dementie.svg +1 -0
- package/dist/collection/icon/src/svg/duurzaam.svg +1 -0
- package/dist/collection/icon/src/svg/eenzaamheid.svg +1 -0
- package/dist/collection/icon/src/svg/eikenprocessie.svg +1 -0
- package/dist/collection/icon/src/svg/energie-vergoeding.svg +1 -0
- package/dist/collection/icon/src/svg/energietransitie.svg +1 -0
- package/dist/collection/icon/src/svg/error.svg +15 -0
- package/dist/collection/icon/src/svg/evenementen.svg +1 -0
- package/dist/collection/icon/src/svg/facebook.svg +1 -0
- package/dist/collection/icon/src/svg/fiets.svg +1 -0
- package/dist/collection/icon/src/svg/filter.svg +6 -0
- package/dist/collection/icon/src/svg/gebruiker-centraal.svg +1 -0
- package/dist/collection/icon/src/svg/gegevenswoordenboek.svg +1 -0
- package/dist/collection/icon/src/svg/gemeenteraad.svg +1 -0
- package/dist/collection/icon/src/svg/grofvuil.svg +1 -0
- package/dist/collection/icon/src/svg/horeca.svg +1 -0
- package/dist/collection/icon/src/svg/huishoudelijk-geweld.svg +1 -0
- package/dist/collection/icon/src/svg/hulp-huishouden.svg +1 -0
- package/dist/collection/icon/src/svg/hulp-vervoer.svg +1 -0
- package/dist/collection/icon/src/svg/hulp-zorg.svg +1 -0
- package/dist/collection/icon/src/svg/hulpverlening.svg +1 -0
- package/dist/collection/icon/src/svg/information.svg +14 -0
- package/dist/collection/icon/src/svg/innovatie.svg +1 -0
- package/dist/collection/icon/src/svg/instagram.svg +1 -0
- package/dist/collection/icon/src/svg/kalender.svg +1 -0
- package/dist/collection/icon/src/svg/kerstbomen.svg +1 -0
- package/dist/collection/icon/src/svg/klachten.svg +1 -0
- package/dist/collection/icon/src/svg/kroon.svg +1 -0
- package/dist/collection/icon/src/svg/laadpaal.svg +1 -0
- package/dist/collection/icon/src/svg/lantaarnpaal.svg +1 -0
- package/dist/collection/icon/src/svg/leren.svg +1 -0
- package/dist/collection/icon/src/svg/let-op.svg +1 -0
- package/dist/collection/icon/src/svg/linkedin.svg +1 -0
- package/dist/collection/icon/src/svg/list.svg +9 -0
- package/dist/collection/icon/src/svg/loupe.svg +11 -0
- package/dist/collection/icon/src/svg/markt.svg +1 -0
- package/dist/collection/icon/src/svg/melding-klacht.svg +1 -0
- package/dist/collection/icon/src/svg/melding.svg +5 -0
- package/dist/collection/icon/src/svg/menselijk.svg +1 -0
- package/dist/collection/icon/src/svg/milieu-ontheffing.svg +1 -0
- package/dist/collection/icon/src/svg/natuur.svg +1 -0
- package/dist/collection/icon/src/svg/nieuw-huis.svg +1 -0
- package/dist/collection/icon/src/svg/nummerbord.svg +1 -0
- package/dist/collection/icon/src/svg/omgeving.svg +1 -0
- package/dist/collection/icon/src/svg/omgevingsvisie.svg +1 -0
- package/dist/collection/icon/src/svg/omgevingswet.svg +1 -0
- package/dist/collection/icon/src/svg/onderhoud.svg +1 -0
- package/dist/collection/icon/src/svg/openingstijden.svg +1 -0
- package/dist/collection/icon/src/svg/panden.svg +1 -0
- package/dist/collection/icon/src/svg/park.svg +1 -0
- package/dist/collection/icon/src/svg/parkeerkaart.svg +1 -0
- package/dist/collection/icon/src/svg/parkeervergunning.svg +1 -0
- package/dist/collection/icon/src/svg/parken.svg +1 -0
- package/dist/collection/icon/src/svg/parkeren-bedrijven.svg +1 -0
- package/dist/collection/icon/src/svg/parkeren-betalen.svg +1 -0
- package/dist/collection/icon/src/svg/participatie-campagne.svg +1 -0
- package/dist/collection/icon/src/svg/paspoort.svg +1 -0
- package/dist/collection/icon/src/svg/rijbewijs.svg +1 -0
- package/dist/collection/icon/src/svg/rolstoel.svg +1 -0
- package/dist/collection/icon/src/svg/shoppen.svg +1 -0
- package/dist/collection/icon/src/svg/sinterklaas.svg +1 -0
- package/dist/collection/icon/src/svg/sport.svg +1 -0
- package/dist/collection/icon/src/svg/stookverbod.svg +1 -0
- package/dist/collection/icon/src/svg/strooien.svg +1 -0
- package/dist/collection/icon/src/svg/subsidie-gezin.svg +1 -0
- package/dist/collection/icon/src/svg/toeslag.svg +5 -0
- package/dist/collection/icon/src/svg/trein.svg +1 -0
- package/dist/collection/icon/src/svg/trouwen.svg +1 -0
- package/dist/collection/icon/src/svg/twitter.svg +1 -0
- package/dist/collection/icon/src/svg/vaccinatie.svg +1 -0
- package/dist/collection/icon/src/svg/veilige-wijk.svg +1 -0
- package/dist/collection/icon/src/svg/vergoeding.svg +1 -0
- package/dist/collection/icon/src/svg/verhuizen.svg +1 -0
- package/dist/collection/icon/src/svg/verkiezingen.svg +1 -0
- package/dist/collection/icon/src/svg/verslaving.svg +1 -0
- package/dist/collection/icon/src/svg/vervoersvoorziening.svg +1 -0
- package/dist/collection/icon/src/svg/virus.svg +1 -0
- package/dist/collection/icon/src/svg/vluchtelingen.svg +1 -0
- package/dist/collection/icon/src/svg/voorzieningen-vervoer.svg +1 -0
- package/dist/collection/icon/src/svg/vrijwilligerswerk.svg +1 -0
- package/dist/collection/icon/src/svg/vuurwerk.svg +1 -0
- package/dist/collection/icon/src/svg/wandelstok.svg +1 -0
- package/dist/collection/icon/src/svg/warm.svg +1 -0
- package/dist/collection/icon/src/svg/warning.svg +19 -0
- package/dist/collection/icon/src/svg/werken.svg +1 -0
- package/dist/collection/icon/src/svg/werkzaamheden.svg +1 -0
- package/dist/collection/icon/src/svg/whatsapp.svg +1 -0
- package/dist/collection/icon/src/svg/wonen-kosten.svg +1 -0
- package/dist/collection/icon/src/svg/woning-zoeken.svg +1 -0
- package/dist/collection/icon/src/svg/youtube.svg +1 -0
- package/dist/collection/icon/src/svg/zelfstandig-wonen.svg +1 -0
- package/dist/collection/icon/src/svg/zoomin.svg +13 -0
- package/dist/collection/icon/src/svg/zoomout.svg +9 -0
- package/dist/collection/icon/src/svg/zorg-huis.svg +1 -0
- package/dist/collection/icon/src/svg/zwemmen.svg +1 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-afspraak-maken/utrecht-icon-afspraak-maken.stencil.js +16 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-afval/utrecht-icon-afval.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-afval-container/utrecht-icon-afval-container.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-afval-containerpas/utrecht-icon-afval-containerpas.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-afval-kalender/utrecht-icon-afval-kalender.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-afval-scheiden/utrecht-icon-afval-scheiden.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-afvalkalender/utrecht-icon-afvalkalender.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-alleen/utrecht-icon-alleen.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-arrow/utrecht-icon-arrow.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-bestemmingsplan/utrecht-icon-bestemmingsplan.stencil.js +16 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-betaaldatum/utrecht-icon-betaaldatum.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-bewijsstukken/utrecht-icon-bewijsstukken.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-bijstand/utrecht-icon-bijstand.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-blad/utrecht-icon-blad.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-bouwproject/utrecht-icon-bouwproject.stencil.js +16 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-brandgevaar/utrecht-icon-brandgevaar.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-checkmark/utrecht-icon-checkmark.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-college-b-w/utrecht-icon-college-b-w.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-container/utrecht-icon-container.css +6 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-container/utrecht-icon-container.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-container-bio/utrecht-icon-container-bio.stencil.js +17 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-cross/utrecht-icon-cross.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-dakloos/utrecht-icon-dakloos.stencil.js +16 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-dementie/utrecht-icon-dementie.stencil.js +16 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-duurzaam/utrecht-icon-duurzaam.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-eenzaamheid/utrecht-icon-eenzaamheid.stencil.js +19 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-eikenprocessie/utrecht-icon-eikenprocessie.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-energie-vergoeding/utrecht-icon-energie-vergoeding.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-energietransitie/utrecht-icon-energietransitie.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-error/utrecht-icon-error.stencil.js +16 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-evenementen/utrecht-icon-evenementen.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-facebook/utrecht-icon-facebook.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-fiets/utrecht-icon-fiets.stencil.js +16 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-filter/utrecht-icon-filter.stencil.js +17 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-gebruiker-centraal/utrecht-icon-gebruiker-centraal.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-gegevenswoordenboek/utrecht-icon-gegevenswoordenboek.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-gemeenteraad/utrecht-icon-gemeenteraad.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-grofvuil/utrecht-icon-grofvuil.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-horeca/utrecht-icon-horeca.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-huishoudelijk-geweld/utrecht-icon-huishoudelijk-geweld.stencil.js +16 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-hulp-huishouden/utrecht-icon-hulp-huishouden.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-hulp-vervoer/utrecht-icon-hulp-vervoer.stencil.js +16 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-hulp-zorg/utrecht-icon-hulp-zorg.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-hulpverlening/utrecht-icon-hulpverlening.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-information/utrecht-icon-information.stencil.js +17 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-innovatie/utrecht-icon-innovatie.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-instagram/utrecht-icon-instagram.stencil.js +17 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-kalender/utrecht-icon-kalender.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-kerstbomen/utrecht-icon-kerstbomen.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-klachten/utrecht-icon-klachten.stencil.js +16 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-kroon/utrecht-icon-kroon.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-laadpaal/utrecht-icon-laadpaal.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-lantaarnpaal/utrecht-icon-lantaarnpaal.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-leren/utrecht-icon-leren.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-let-op/utrecht-icon-let-op.stencil.js +16 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-linkedin/utrecht-icon-linkedin.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-list/utrecht-icon-list.stencil.js +20 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-loupe/utrecht-icon-loupe.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-markt/utrecht-icon-markt.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-melding/utrecht-icon-melding.stencil.js +16 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-melding-klacht/utrecht-icon-melding-klacht.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-menselijk/utrecht-icon-menselijk.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-milieu-ontheffing/utrecht-icon-milieu-ontheffing.stencil.js +16 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-natuur/utrecht-icon-natuur.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-nieuw-huis/utrecht-icon-nieuw-huis.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-nummerbord/utrecht-icon-nummerbord.stencil.js +17 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-omgeving/utrecht-icon-omgeving.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-omgevingsvisie/utrecht-icon-omgevingsvisie.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-omgevingswet/utrecht-icon-omgevingswet.stencil.js +17 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-onderhoud/utrecht-icon-onderhoud.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-openingstijden/utrecht-icon-openingstijden.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-panden/utrecht-icon-panden.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-park/utrecht-icon-park.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-parkeerkaart/utrecht-icon-parkeerkaart.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-parkeervergunning/utrecht-icon-parkeervergunning.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-parken/utrecht-icon-parken.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-parkeren-bedrijven/utrecht-icon-parkeren-bedrijven.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-parkeren-betalen/utrecht-icon-parkeren-betalen.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-participatie-campagne/utrecht-icon-participatie-campagne.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-paspoort/utrecht-icon-paspoort.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-rijbewijs/utrecht-icon-rijbewijs.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-rolstoel/utrecht-icon-rolstoel.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-shoppen/utrecht-icon-shoppen.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-sinterklaas/utrecht-icon-sinterklaas.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-sport/utrecht-icon-sport.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-stookverbod/utrecht-icon-stookverbod.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-strooien/utrecht-icon-strooien.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-subsidie-gezin/utrecht-icon-subsidie-gezin.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-toeslag/utrecht-icon-toeslag.stencil.js +16 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-trein/utrecht-icon-trein.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-trouwen/utrecht-icon-trouwen.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-twitter/utrecht-icon-twitter.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-vaccinatie/utrecht-icon-vaccinatie.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-veilige-wijk/utrecht-icon-veilige-wijk.stencil.js +16 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-vergoeding/utrecht-icon-vergoeding.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-verhuizen/utrecht-icon-verhuizen.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-verkiezingen/utrecht-icon-verkiezingen.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-verslaving/utrecht-icon-verslaving.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-vervoersvoorziening/utrecht-icon-vervoersvoorziening.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-virus/utrecht-icon-virus.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-vluchtelingen/utrecht-icon-vluchtelingen.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-voorzieningen-vervoer/utrecht-icon-voorzieningen-vervoer.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-vrijwilligerswerk/utrecht-icon-vrijwilligerswerk.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-vuurwerk/utrecht-icon-vuurwerk.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-wandelstok/utrecht-icon-wandelstok.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-warm/utrecht-icon-warm.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-warning/utrecht-icon-warning.stencil.js +17 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-werken/utrecht-icon-werken.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-werkzaamheden/utrecht-icon-werkzaamheden.stencil.js +16 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-whatsapp/utrecht-icon-whatsapp.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-wonen-kosten/utrecht-icon-wonen-kosten.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-woning-zoeken/utrecht-icon-woning-zoeken.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-youtube/utrecht-icon-youtube.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-zelfstandig-wonen/utrecht-icon-zelfstandig-wonen.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-zoomin/utrecht-icon-zoomin.stencil.js +16 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-zoomout/utrecht-icon-zoomout.stencil.js +15 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-zorg-huis/utrecht-icon-zorg-huis.stencil.js +16 -0
- package/dist/collection/icon/tmp/components/utrecht-icon-zwemmen/utrecht-icon-zwemmen.stencil.js +15 -0
- package/dist/collection/icon/tmp/optimized-svgs/afspraak-maken.svg +4 -0
- package/dist/collection/icon/tmp/optimized-svgs/afval-container.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/afval-containerpas.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/afval-kalender.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/afval-scheiden.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/afval.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/afvalkalender.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/alleen.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/arrow.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/bestemmingsplan.svg +4 -0
- package/dist/collection/icon/tmp/optimized-svgs/betaaldatum.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/bewijsstukken.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/bijstand.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/blad.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/bouwproject.svg +4 -0
- package/dist/collection/icon/tmp/optimized-svgs/brandgevaar.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/checkmark.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/college-b-w.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/container-bio.svg +5 -0
- package/dist/collection/icon/tmp/optimized-svgs/cross.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/dakloos.svg +4 -0
- package/dist/collection/icon/tmp/optimized-svgs/dementie.svg +4 -0
- package/dist/collection/icon/tmp/optimized-svgs/duurzaam.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/eenzaamheid.svg +7 -0
- package/dist/collection/icon/tmp/optimized-svgs/eikenprocessie.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/energie-vergoeding.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/energietransitie.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/error.svg +4 -0
- package/dist/collection/icon/tmp/optimized-svgs/evenementen.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/facebook.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/fiets.svg +4 -0
- package/dist/collection/icon/tmp/optimized-svgs/filter.svg +5 -0
- package/dist/collection/icon/tmp/optimized-svgs/gebruiker-centraal.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/gegevenswoordenboek.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/gemeenteraad.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/grofvuil.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/horeca.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/huishoudelijk-geweld.svg +4 -0
- package/dist/collection/icon/tmp/optimized-svgs/hulp-huishouden.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/hulp-vervoer.svg +4 -0
- package/dist/collection/icon/tmp/optimized-svgs/hulp-zorg.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/hulpverlening.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/information.svg +5 -0
- package/dist/collection/icon/tmp/optimized-svgs/innovatie.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/instagram.svg +5 -0
- package/dist/collection/icon/tmp/optimized-svgs/kalender.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/kerstbomen.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/klachten.svg +4 -0
- package/dist/collection/icon/tmp/optimized-svgs/kroon.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/laadpaal.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/lantaarnpaal.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/leren.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/let-op.svg +4 -0
- package/dist/collection/icon/tmp/optimized-svgs/linkedin.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/list.svg +8 -0
- package/dist/collection/icon/tmp/optimized-svgs/loupe.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/markt.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/melding-klacht.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/melding.svg +4 -0
- package/dist/collection/icon/tmp/optimized-svgs/menselijk.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/milieu-ontheffing.svg +4 -0
- package/dist/collection/icon/tmp/optimized-svgs/natuur.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/nieuw-huis.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/nummerbord.svg +5 -0
- package/dist/collection/icon/tmp/optimized-svgs/omgeving.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/omgevingsvisie.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/omgevingswet.svg +5 -0
- package/dist/collection/icon/tmp/optimized-svgs/onderhoud.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/openingstijden.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/panden.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/park.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/parkeerkaart.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/parkeervergunning.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/parken.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/parkeren-bedrijven.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/parkeren-betalen.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/participatie-campagne.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/paspoort.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/rijbewijs.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/rolstoel.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/shoppen.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/sinterklaas.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/sport.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/stookverbod.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/strooien.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/subsidie-gezin.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/toeslag.svg +4 -0
- package/dist/collection/icon/tmp/optimized-svgs/trein.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/trouwen.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/twitter.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/vaccinatie.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/veilige-wijk.svg +4 -0
- package/dist/collection/icon/tmp/optimized-svgs/vergoeding.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/verhuizen.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/verkiezingen.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/verslaving.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/vervoersvoorziening.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/virus.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/vluchtelingen.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/voorzieningen-vervoer.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/vrijwilligerswerk.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/vuurwerk.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/wandelstok.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/warm.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/warning.svg +5 -0
- package/dist/collection/icon/tmp/optimized-svgs/werken.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/werkzaamheden.svg +4 -0
- package/dist/collection/icon/tmp/optimized-svgs/whatsapp.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/wonen-kosten.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/woning-zoeken.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/youtube.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/zelfstandig-wonen.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/zoomin.svg +4 -0
- package/dist/collection/icon/tmp/optimized-svgs/zoomout.svg +3 -0
- package/dist/collection/icon/tmp/optimized-svgs/zorg-huis.svg +4 -0
- package/dist/collection/icon/tmp/optimized-svgs/zwemmen.svg +3 -0
- package/dist/collection/icon/web-component/index.css +18 -0
- package/dist/collection/icon/web-component/index.stencil.js +14 -0
- package/dist/collection/logo/web-component/index.css +40 -0
- package/dist/collection/logo/web-component/index.stencil.js +26 -0
- package/dist/collection/logo-button/web-component/index.css +31 -0
- package/dist/collection/logo-button/web-component/index.stencil.js +41 -0
- package/dist/collection/navigatie sidenav/web-component/index.css +189 -0
- package/dist/collection/navigatie sidenav/web-component/index.stencil.js +50 -0
- package/dist/collection/node_modules/@babel/core/lib/config/cache-contexts.js +1 -0
- package/dist/collection/node_modules/@babel/core/lib/config/caching.js +326 -0
- package/dist/collection/node_modules/@babel/core/lib/config/config-chain.js +566 -0
- package/dist/collection/node_modules/@babel/core/lib/config/config-descriptors.js +246 -0
- package/dist/collection/node_modules/@babel/core/lib/config/files/configuration.js +360 -0
- package/dist/collection/node_modules/@babel/core/lib/config/files/import-meta-resolve.js +43 -0
- package/dist/collection/node_modules/@babel/core/lib/config/files/index-browser.js +69 -0
- package/dist/collection/node_modules/@babel/core/lib/config/files/index.js +87 -0
- package/dist/collection/node_modules/@babel/core/lib/config/files/module-types.js +121 -0
- package/dist/collection/node_modules/@babel/core/lib/config/files/package.js +77 -0
- package/dist/collection/node_modules/@babel/core/lib/config/files/plugins.js +275 -0
- package/dist/collection/node_modules/@babel/core/lib/config/files/types.js +1 -0
- package/dist/collection/node_modules/@babel/core/lib/config/files/utils.js +46 -0
- package/dist/collection/node_modules/@babel/core/lib/config/full.js +380 -0
- package/dist/collection/node_modules/@babel/core/lib/config/helpers/config-api.js +109 -0
- package/dist/collection/node_modules/@babel/core/lib/config/helpers/deep-array.js +26 -0
- package/dist/collection/node_modules/@babel/core/lib/config/helpers/environment.js +12 -0
- package/dist/collection/node_modules/@babel/core/lib/config/index.js +83 -0
- package/dist/collection/node_modules/@babel/core/lib/config/item.js +77 -0
- package/dist/collection/node_modules/@babel/core/lib/config/partial.js +198 -0
- package/dist/collection/node_modules/@babel/core/lib/config/pattern-to-regex.js +46 -0
- package/dist/collection/node_modules/@babel/core/lib/config/plugin.js +35 -0
- package/dist/collection/node_modules/@babel/core/lib/config/printer.js +140 -0
- package/dist/collection/node_modules/@babel/core/lib/config/resolve-targets-browser.js +47 -0
- package/dist/collection/node_modules/@babel/core/lib/config/resolve-targets.js +73 -0
- package/dist/collection/node_modules/@babel/core/lib/config/util.js +33 -0
- package/dist/collection/node_modules/@babel/core/lib/config/validation/option-assertions.js +354 -0
- package/dist/collection/node_modules/@babel/core/lib/config/validation/options.js +213 -0
- package/dist/collection/node_modules/@babel/core/lib/config/validation/plugins.js +73 -0
- package/dist/collection/node_modules/@babel/core/lib/config/validation/removed.js +67 -0
- package/dist/collection/node_modules/@babel/core/lib/gensync-utils/async.js +114 -0
- package/dist/collection/node_modules/@babel/core/lib/gensync-utils/fs.js +41 -0
- package/dist/collection/node_modules/@babel/core/lib/index.js +268 -0
- package/dist/collection/node_modules/@babel/core/lib/parse.js +54 -0
- package/dist/collection/node_modules/@babel/core/lib/parser/index.js +97 -0
- package/dist/collection/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js +325 -0
- package/dist/collection/node_modules/@babel/core/lib/tools/build-external-helpers.js +166 -0
- package/dist/collection/node_modules/@babel/core/lib/transform-ast.js +55 -0
- package/dist/collection/node_modules/@babel/core/lib/transform-file-browser.js +28 -0
- package/dist/collection/node_modules/@babel/core/lib/transform-file.js +42 -0
- package/dist/collection/node_modules/@babel/core/lib/transform.js +54 -0
- package/dist/collection/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js +95 -0
- package/dist/collection/node_modules/@babel/core/lib/transformation/file/file.js +255 -0
- package/dist/collection/node_modules/@babel/core/lib/transformation/file/generate.js +96 -0
- package/dist/collection/node_modules/@babel/core/lib/transformation/file/merge-map.js +45 -0
- package/dist/collection/node_modules/@babel/core/lib/transformation/index.js +129 -0
- package/dist/collection/node_modules/@babel/core/lib/transformation/normalize-file.js +169 -0
- package/dist/collection/node_modules/@babel/core/lib/transformation/normalize-opts.js +64 -0
- package/dist/collection/node_modules/@babel/core/lib/transformation/plugin-pass.js +55 -0
- package/dist/collection/node_modules/@babel/core/lib/transformation/util/clone-deep.js +41 -0
- package/dist/collection/node_modules/@babel/core/lib/vendor/import-meta-resolve.js +3557 -0
- package/dist/collection/node_modules/react/cjs/react-jsx-dev-runtime.development.js +1296 -0
- package/dist/collection/node_modules/react/cjs/react-jsx-dev-runtime.production.min.js +10 -0
- package/dist/collection/node_modules/react/cjs/react-jsx-dev-runtime.profiling.min.js +10 -0
- package/dist/collection/node_modules/react/cjs/react-jsx-runtime.development.js +1314 -0
- package/dist/collection/node_modules/react/cjs/react-jsx-runtime.production.min.js +11 -0
- package/dist/collection/node_modules/react/cjs/react-jsx-runtime.profiling.min.js +11 -0
- package/dist/collection/node_modules/react/cjs/react.development.js +2739 -0
- package/dist/collection/node_modules/react/cjs/react.production.min.js +26 -0
- package/dist/collection/node_modules/react/cjs/react.shared-subset.development.js +20 -0
- package/dist/collection/node_modules/react/cjs/react.shared-subset.production.min.js +10 -0
- package/dist/collection/node_modules/react/index.js +7 -0
- package/dist/collection/node_modules/react/jsx-dev-runtime.js +7 -0
- package/dist/collection/node_modules/react/jsx-runtime.js +7 -0
- package/dist/collection/node_modules/react/react.shared-subset.js +7 -0
- package/dist/collection/node_modules/react/umd/react.development.js +3342 -0
- package/dist/collection/node_modules/react/umd/react.production.min.js +31 -0
- package/dist/collection/node_modules/react/umd/react.profiling.min.js +31 -0
- package/dist/collection/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +7018 -0
- package/dist/collection/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +93 -0
- package/dist/collection/node_modules/react-dom/cjs/react-dom-server-legacy.node.development.js +7078 -0
- package/dist/collection/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js +101 -0
- package/dist/collection/node_modules/react-dom/cjs/react-dom-server.browser.development.js +7003 -0
- package/dist/collection/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js +96 -0
- package/dist/collection/node_modules/react-dom/cjs/react-dom-server.node.development.js +7059 -0
- package/dist/collection/node_modules/react-dom/cjs/react-dom-server.node.production.min.js +102 -0
- package/dist/collection/node_modules/react-dom/cjs/react-dom-test-utils.development.js +1741 -0
- package/dist/collection/node_modules/react-dom/cjs/react-dom-test-utils.production.min.js +40 -0
- package/dist/collection/node_modules/react-dom/cjs/react-dom.development.js +29868 -0
- package/dist/collection/node_modules/react-dom/cjs/react-dom.production.min.js +323 -0
- package/dist/collection/node_modules/react-dom/cjs/react-dom.profiling.min.js +367 -0
- package/dist/collection/node_modules/react-dom/client.js +25 -0
- package/dist/collection/node_modules/react-dom/index.js +38 -0
- package/dist/collection/node_modules/react-dom/profiling.js +38 -0
- package/dist/collection/node_modules/react-dom/server.browser.js +17 -0
- package/dist/collection/node_modules/react-dom/server.js +3 -0
- package/dist/collection/node_modules/react-dom/server.node.js +17 -0
- package/dist/collection/node_modules/react-dom/test-utils.js +7 -0
- package/dist/collection/node_modules/react-dom/umd/react-dom-server-legacy.browser.development.js +7015 -0
- package/dist/collection/node_modules/react-dom/umd/react-dom-server-legacy.browser.production.min.js +75 -0
- package/dist/collection/node_modules/react-dom/umd/react-dom-server.browser.development.js +7000 -0
- package/dist/collection/node_modules/react-dom/umd/react-dom-server.browser.production.min.js +76 -0
- package/dist/collection/node_modules/react-dom/umd/react-dom-test-utils.development.js +1737 -0
- package/dist/collection/node_modules/react-dom/umd/react-dom-test-utils.production.min.js +33 -0
- package/dist/collection/node_modules/react-dom/umd/react-dom.development.js +29869 -0
- package/dist/collection/node_modules/react-dom/umd/react-dom.production.min.js +267 -0
- package/dist/collection/node_modules/react-dom/umd/react-dom.profiling.min.js +285 -0
- package/dist/collection/node_modules/sass/sass.dart.js +101212 -0
- package/dist/collection/node_modules/sass/sass.default.dart.js +4 -0
- package/dist/collection/node_modules/sass/sass.js +9 -0
- package/dist/collection/node_modules/scheduler/cjs/scheduler-unstable_mock.development.js +700 -0
- package/dist/collection/node_modules/scheduler/cjs/scheduler-unstable_mock.production.min.js +20 -0
- package/dist/collection/node_modules/scheduler/cjs/scheduler-unstable_post_task.development.js +207 -0
- package/dist/collection/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js +14 -0
- package/dist/collection/node_modules/scheduler/cjs/scheduler.development.js +634 -0
- package/dist/collection/node_modules/scheduler/cjs/scheduler.production.min.js +19 -0
- package/dist/collection/node_modules/scheduler/index.js +7 -0
- package/dist/collection/node_modules/scheduler/umd/scheduler-unstable_mock.development.js +699 -0
- package/dist/collection/node_modules/scheduler/umd/scheduler-unstable_mock.production.min.js +19 -0
- package/dist/collection/node_modules/scheduler/umd/scheduler.development.js +152 -0
- package/dist/collection/node_modules/scheduler/umd/scheduler.production.min.js +146 -0
- package/dist/collection/node_modules/scheduler/umd/scheduler.profiling.min.js +146 -0
- package/dist/collection/node_modules/scheduler/unstable_mock.js +7 -0
- package/dist/collection/node_modules/scheduler/unstable_post_task.js +7 -0
- package/dist/collection/node_modules/semver/bin/semver.js +174 -0
- package/dist/collection/node_modules/semver/semver.js +1596 -0
- package/dist/collection/page/web-component/index.css +35 -0
- package/dist/collection/page/web-component/index.stencil.js +20 -0
- package/dist/collection/page-content/web-component/index.css +36 -0
- package/dist/collection/page-content/web-component/index.stencil.js +20 -0
- package/dist/collection/page-footer/{bem.css → web-component/index.css} +35 -12
- package/dist/collection/page-footer/{stencil.js → web-component/index.stencil.js} +3 -3
- package/dist/collection/pagination/web-component/index.css +138 -0
- package/dist/collection/pagination/web-component/index.stencil.js +110 -0
- package/dist/collection/paragraph/web-component/index.css +40 -0
- package/dist/collection/paragraph/{stencil.js → web-component/index.stencil.js} +5 -5
- package/dist/collection/separator/web-component/index.css +35 -0
- package/dist/collection/separator/{stencil.js → web-component/index.stencil.js} +3 -3
- package/dist/collection/table/web-component/table-body.css +13 -0
- package/dist/collection/table/web-component/table-body.stencil.js +15 -0
- package/dist/collection/table/web-component/table-caption.css +22 -0
- package/dist/collection/table/web-component/table-caption.stencil.js +15 -0
- package/dist/collection/table/web-component/table-cell.css +21 -0
- package/dist/collection/table/web-component/table-cell.stencil.js +15 -0
- package/dist/collection/table/web-component/table-footer.css +12 -0
- package/dist/collection/table/web-component/table-footer.stencil.js +15 -0
- package/dist/collection/table/web-component/table-header-cell.css +17 -0
- package/dist/collection/table/web-component/table-header-cell.stencil.js +34 -0
- package/dist/collection/table/web-component/table-header.css +18 -0
- package/dist/collection/table/web-component/table-header.stencil.js +15 -0
- package/dist/collection/table/web-component/table-row.css +13 -0
- package/dist/collection/table/web-component/table-row.stencil.js +15 -0
- package/dist/collection/table/web-component/table.css +21 -0
- package/dist/collection/table/web-component/table.stencil.js +15 -0
- package/dist/collection/templates/contact-card-template/web-component/index.css +220 -0
- package/dist/collection/templates/contact-card-template/web-component/index.stencil.js +25 -0
- package/dist/collection/textbox/web-component/index.css +151 -0
- package/dist/collection/textbox/web-component/index.stencil.js +297 -0
- package/dist/components/clsx.m.js +3 -0
- package/dist/components/index.d.ts +185 -0
- package/dist/components/index.js +165 -0
- package/dist/components/index.stencil.js +61 -0
- package/dist/components/index.stencil2.js +30 -0
- package/dist/components/index.stencil3.js +30 -0
- package/dist/components/index.stencil4.js +30 -0
- package/dist/components/index.stencil5.js +33 -0
- package/dist/components/utrecht-article.d.ts +11 -0
- package/dist/components/utrecht-article.js +33 -0
- package/dist/components/utrecht-backdrop.d.ts +11 -0
- package/dist/components/utrecht-backdrop.js +37 -0
- package/dist/components/utrecht-badge-counter.d.ts +11 -0
- package/dist/components/utrecht-badge-counter.js +41 -0
- package/dist/components/utrecht-badge-data.d.ts +11 -0
- package/dist/components/utrecht-badge-data.js +33 -0
- package/dist/components/utrecht-badge-status.d.ts +11 -0
- package/dist/components/utrecht-badge-status.js +35 -0
- package/dist/components/utrecht-breadcrumb.d.ts +11 -0
- package/dist/components/utrecht-breadcrumb.js +40 -0
- package/dist/components/utrecht-button.d.ts +11 -0
- package/dist/components/utrecht-button.js +6 -0
- package/dist/components/utrecht-checkbox.d.ts +11 -0
- package/dist/components/utrecht-checkbox.js +51 -0
- package/dist/components/utrecht-contact-card-template.d.ts +11 -0
- package/dist/components/utrecht-contact-card-template.js +51 -0
- package/dist/components/utrecht-custom-checkbox.d.ts +11 -0
- package/dist/components/utrecht-custom-checkbox.js +78 -0
- package/dist/components/utrecht-digid-button.d.ts +11 -0
- package/dist/components/utrecht-digid-button.js +41 -0
- package/dist/components/utrecht-digid-logo.d.ts +11 -0
- package/dist/components/utrecht-digid-logo.js +6 -0
- package/dist/components/utrecht-document.d.ts +11 -0
- package/dist/components/utrecht-document.js +33 -0
- package/dist/components/utrecht-eherkenning-logo.d.ts +11 -0
- package/dist/components/utrecht-eherkenning-logo.js +33 -0
- package/dist/components/utrecht-eidas-logo.d.ts +11 -0
- package/dist/components/utrecht-eidas-logo.js +33 -0
- package/dist/components/utrecht-form-field-checkbox.d.ts +11 -0
- package/dist/components/utrecht-form-field-checkbox.js +55 -0
- package/dist/components/utrecht-form-field-description.d.ts +11 -0
- package/dist/components/utrecht-form-field-description.js +38 -0
- package/dist/components/utrecht-form-field-textarea.d.ts +11 -0
- package/dist/components/utrecht-form-field-textarea.js +55 -0
- package/dist/components/utrecht-form-field-textbox.d.ts +11 -0
- package/dist/components/utrecht-form-field-textbox.js +65 -0
- package/dist/components/utrecht-form-toggle.d.ts +11 -0
- package/dist/components/utrecht-form-toggle.js +65 -0
- package/dist/components/utrecht-heading-1.d.ts +11 -0
- package/dist/components/utrecht-heading-1.js +33 -0
- package/dist/components/utrecht-heading-2.d.ts +11 -0
- package/dist/components/utrecht-heading-2.js +6 -0
- package/dist/components/utrecht-heading-3.d.ts +11 -0
- package/dist/components/utrecht-heading-3.js +6 -0
- package/dist/components/utrecht-heading-4.d.ts +11 -0
- package/dist/components/utrecht-heading-4.js +33 -0
- package/dist/components/utrecht-heading-5.d.ts +11 -0
- package/dist/components/utrecht-heading-5.js +33 -0
- package/dist/components/utrecht-heading-6.d.ts +11 -0
- package/dist/components/utrecht-heading-6.js +33 -0
- package/dist/components/utrecht-heading.d.ts +11 -0
- package/dist/components/utrecht-heading.js +55 -0
- package/dist/components/utrecht-html-content.d.ts +11 -0
- package/dist/components/utrecht-html-content.js +32 -0
- package/dist/components/utrecht-icon-afspraak-maken.d.ts +11 -0
- package/dist/components/utrecht-icon-afspraak-maken.js +33 -0
- package/dist/components/utrecht-icon-afval-container.d.ts +11 -0
- package/dist/components/utrecht-icon-afval-container.js +33 -0
- package/dist/components/utrecht-icon-afval-containerpas.d.ts +11 -0
- package/dist/components/utrecht-icon-afval-containerpas.js +33 -0
- package/dist/components/utrecht-icon-afval-kalender.d.ts +11 -0
- package/dist/components/utrecht-icon-afval-kalender.js +33 -0
- package/dist/components/utrecht-icon-afval-scheiden.d.ts +11 -0
- package/dist/components/utrecht-icon-afval-scheiden.js +33 -0
- package/dist/components/utrecht-icon-afval.d.ts +11 -0
- package/dist/components/utrecht-icon-afval.js +33 -0
- package/dist/components/utrecht-icon-afvalkalender.d.ts +11 -0
- package/dist/components/utrecht-icon-afvalkalender.js +33 -0
- package/dist/components/utrecht-icon-alleen.d.ts +11 -0
- package/dist/components/utrecht-icon-alleen.js +33 -0
- package/dist/components/utrecht-icon-arrow.d.ts +11 -0
- package/dist/components/utrecht-icon-arrow.js +33 -0
- package/dist/components/utrecht-icon-bestemmingsplan.d.ts +11 -0
- package/dist/components/utrecht-icon-bestemmingsplan.js +33 -0
- package/dist/components/utrecht-icon-betaaldatum.d.ts +11 -0
- package/dist/components/utrecht-icon-betaaldatum.js +33 -0
- package/dist/components/utrecht-icon-bewijsstukken.d.ts +11 -0
- package/dist/components/utrecht-icon-bewijsstukken.js +33 -0
- package/dist/components/utrecht-icon-bijstand.d.ts +11 -0
- package/dist/components/utrecht-icon-bijstand.js +33 -0
- package/dist/components/utrecht-icon-blad.d.ts +11 -0
- package/dist/components/utrecht-icon-blad.js +33 -0
- package/dist/components/utrecht-icon-bouwproject.d.ts +11 -0
- package/dist/components/utrecht-icon-bouwproject.js +33 -0
- package/dist/components/utrecht-icon-brandgevaar.d.ts +11 -0
- package/dist/components/utrecht-icon-brandgevaar.js +33 -0
- package/dist/components/utrecht-icon-checkmark.d.ts +11 -0
- package/dist/components/utrecht-icon-checkmark.js +6 -0
- package/dist/components/utrecht-icon-checkmark.stencil.js +30 -0
- package/dist/components/utrecht-icon-college-b-w.d.ts +11 -0
- package/dist/components/utrecht-icon-college-b-w.js +33 -0
- package/dist/components/utrecht-icon-container-bio.d.ts +11 -0
- package/dist/components/utrecht-icon-container-bio.js +33 -0
- package/dist/components/utrecht-icon-container.d.ts +11 -0
- package/dist/components/utrecht-icon-container.js +33 -0
- package/dist/components/utrecht-icon-cross.d.ts +11 -0
- package/dist/components/utrecht-icon-cross.js +33 -0
- package/dist/components/utrecht-icon-dakloos.d.ts +11 -0
- package/dist/components/utrecht-icon-dakloos.js +33 -0
- package/dist/components/utrecht-icon-dementie.d.ts +11 -0
- package/dist/components/utrecht-icon-dementie.js +33 -0
- package/dist/components/utrecht-icon-duurzaam.d.ts +11 -0
- package/dist/components/utrecht-icon-duurzaam.js +33 -0
- package/dist/components/utrecht-icon-eenzaamheid.d.ts +11 -0
- package/dist/components/utrecht-icon-eenzaamheid.js +33 -0
- package/dist/components/utrecht-icon-eikenprocessie.d.ts +11 -0
- package/dist/components/utrecht-icon-eikenprocessie.js +33 -0
- package/dist/components/utrecht-icon-energie-vergoeding.d.ts +11 -0
- package/dist/components/utrecht-icon-energie-vergoeding.js +33 -0
- package/dist/components/utrecht-icon-energietransitie.d.ts +11 -0
- package/dist/components/utrecht-icon-energietransitie.js +33 -0
- package/dist/components/utrecht-icon-error.d.ts +11 -0
- package/dist/components/utrecht-icon-error.js +33 -0
- package/dist/components/utrecht-icon-evenementen.d.ts +11 -0
- package/dist/components/utrecht-icon-evenementen.js +33 -0
- package/dist/components/utrecht-icon-facebook.d.ts +11 -0
- package/dist/components/utrecht-icon-facebook.js +33 -0
- package/dist/components/utrecht-icon-fiets.d.ts +11 -0
- package/dist/components/utrecht-icon-fiets.js +33 -0
- package/dist/components/utrecht-icon-filter.d.ts +11 -0
- package/dist/components/utrecht-icon-filter.js +33 -0
- package/dist/components/utrecht-icon-gebruiker-centraal.d.ts +11 -0
- package/dist/components/utrecht-icon-gebruiker-centraal.js +33 -0
- package/dist/components/utrecht-icon-gegevenswoordenboek.d.ts +11 -0
- package/dist/components/utrecht-icon-gegevenswoordenboek.js +33 -0
- package/dist/components/utrecht-icon-gemeenteraad.d.ts +11 -0
- package/dist/components/utrecht-icon-gemeenteraad.js +33 -0
- package/dist/components/utrecht-icon-grofvuil.d.ts +11 -0
- package/dist/components/utrecht-icon-grofvuil.js +33 -0
- package/dist/components/utrecht-icon-horeca.d.ts +11 -0
- package/dist/components/utrecht-icon-horeca.js +33 -0
- package/dist/components/utrecht-icon-huishoudelijk-geweld.d.ts +11 -0
- package/dist/components/utrecht-icon-huishoudelijk-geweld.js +33 -0
- package/dist/components/utrecht-icon-hulp-huishouden.d.ts +11 -0
- package/dist/components/utrecht-icon-hulp-huishouden.js +33 -0
- package/dist/components/utrecht-icon-hulp-vervoer.d.ts +11 -0
- package/dist/components/utrecht-icon-hulp-vervoer.js +33 -0
- package/dist/components/utrecht-icon-hulp-zorg.d.ts +11 -0
- package/dist/components/utrecht-icon-hulp-zorg.js +33 -0
- package/dist/components/utrecht-icon-hulpverlening.d.ts +11 -0
- package/dist/components/utrecht-icon-hulpverlening.js +33 -0
- package/dist/components/utrecht-icon-information.d.ts +11 -0
- package/dist/components/utrecht-icon-information.js +33 -0
- package/dist/components/utrecht-icon-innovatie.d.ts +11 -0
- package/dist/components/utrecht-icon-innovatie.js +33 -0
- package/dist/components/utrecht-icon-instagram.d.ts +11 -0
- package/dist/components/utrecht-icon-instagram.js +33 -0
- package/dist/components/utrecht-icon-kalender.d.ts +11 -0
- package/dist/components/utrecht-icon-kalender.js +33 -0
- package/dist/components/utrecht-icon-kerstbomen.d.ts +11 -0
- package/dist/components/utrecht-icon-kerstbomen.js +33 -0
- package/dist/components/utrecht-icon-klachten.d.ts +11 -0
- package/dist/components/utrecht-icon-klachten.js +33 -0
- package/dist/components/utrecht-icon-kroon.d.ts +11 -0
- package/dist/components/utrecht-icon-kroon.js +33 -0
- package/dist/components/utrecht-icon-laadpaal.d.ts +11 -0
- package/dist/components/utrecht-icon-laadpaal.js +33 -0
- package/dist/components/utrecht-icon-lantaarnpaal.d.ts +11 -0
- package/dist/components/utrecht-icon-lantaarnpaal.js +33 -0
- package/dist/components/utrecht-icon-leren.d.ts +11 -0
- package/dist/components/utrecht-icon-leren.js +33 -0
- package/dist/components/utrecht-icon-let-op.d.ts +11 -0
- package/dist/components/utrecht-icon-let-op.js +33 -0
- package/dist/components/utrecht-icon-linkedin.d.ts +11 -0
- package/dist/components/utrecht-icon-linkedin.js +33 -0
- package/dist/components/utrecht-icon-list.d.ts +11 -0
- package/dist/components/utrecht-icon-list.js +33 -0
- package/dist/components/utrecht-icon-loupe.d.ts +11 -0
- package/dist/components/utrecht-icon-loupe.js +33 -0
- package/dist/components/utrecht-icon-markt.d.ts +11 -0
- package/dist/components/utrecht-icon-markt.js +33 -0
- package/dist/components/utrecht-icon-melding-klacht.d.ts +11 -0
- package/dist/components/utrecht-icon-melding-klacht.js +33 -0
- package/dist/components/utrecht-icon-melding.d.ts +11 -0
- package/dist/components/utrecht-icon-melding.js +33 -0
- package/dist/components/utrecht-icon-menselijk.d.ts +11 -0
- package/dist/components/utrecht-icon-menselijk.js +33 -0
- package/dist/components/utrecht-icon-milieu-ontheffing.d.ts +11 -0
- package/dist/components/utrecht-icon-milieu-ontheffing.js +33 -0
- package/dist/components/utrecht-icon-natuur.d.ts +11 -0
- package/dist/components/utrecht-icon-natuur.js +33 -0
- package/dist/components/utrecht-icon-nieuw-huis.d.ts +11 -0
- package/dist/components/utrecht-icon-nieuw-huis.js +33 -0
- package/dist/components/utrecht-icon-nummerbord.d.ts +11 -0
- package/dist/components/utrecht-icon-nummerbord.js +33 -0
- package/dist/components/utrecht-icon-omgeving.d.ts +11 -0
- package/dist/components/utrecht-icon-omgeving.js +33 -0
- package/dist/components/utrecht-icon-omgevingsvisie.d.ts +11 -0
- package/dist/components/utrecht-icon-omgevingsvisie.js +33 -0
- package/dist/components/utrecht-icon-omgevingswet.d.ts +11 -0
- package/dist/components/utrecht-icon-omgevingswet.js +33 -0
- package/dist/components/utrecht-icon-onderhoud.d.ts +11 -0
- package/dist/components/utrecht-icon-onderhoud.js +33 -0
- package/dist/components/utrecht-icon-openingstijden.d.ts +11 -0
- package/dist/components/utrecht-icon-openingstijden.js +33 -0
- package/dist/components/utrecht-icon-panden.d.ts +11 -0
- package/dist/components/utrecht-icon-panden.js +33 -0
- package/dist/components/utrecht-icon-park.d.ts +11 -0
- package/dist/components/utrecht-icon-park.js +33 -0
- package/dist/components/utrecht-icon-parkeerkaart.d.ts +11 -0
- package/dist/components/utrecht-icon-parkeerkaart.js +33 -0
- package/dist/components/utrecht-icon-parkeervergunning.d.ts +11 -0
- package/dist/components/utrecht-icon-parkeervergunning.js +33 -0
- package/dist/components/utrecht-icon-parken.d.ts +11 -0
- package/dist/components/utrecht-icon-parken.js +33 -0
- package/dist/components/utrecht-icon-parkeren-bedrijven.d.ts +11 -0
- package/dist/components/utrecht-icon-parkeren-bedrijven.js +33 -0
- package/dist/components/utrecht-icon-parkeren-betalen.d.ts +11 -0
- package/dist/components/utrecht-icon-parkeren-betalen.js +33 -0
- package/dist/components/utrecht-icon-participatie-campagne.d.ts +11 -0
- package/dist/components/utrecht-icon-participatie-campagne.js +33 -0
- package/dist/components/utrecht-icon-paspoort.d.ts +11 -0
- package/dist/components/utrecht-icon-paspoort.js +33 -0
- package/dist/components/utrecht-icon-rijbewijs.d.ts +11 -0
- package/dist/components/utrecht-icon-rijbewijs.js +33 -0
- package/dist/components/utrecht-icon-rolstoel.d.ts +11 -0
- package/dist/components/utrecht-icon-rolstoel.js +33 -0
- package/dist/components/utrecht-icon-shoppen.d.ts +11 -0
- package/dist/components/utrecht-icon-shoppen.js +33 -0
- package/dist/components/utrecht-icon-sinterklaas.d.ts +11 -0
- package/dist/components/utrecht-icon-sinterklaas.js +33 -0
- package/dist/components/utrecht-icon-sport.d.ts +11 -0
- package/dist/components/utrecht-icon-sport.js +33 -0
- package/dist/components/utrecht-icon-stookverbod.d.ts +11 -0
- package/dist/components/utrecht-icon-stookverbod.js +33 -0
- package/dist/components/utrecht-icon-strooien.d.ts +11 -0
- package/dist/components/utrecht-icon-strooien.js +33 -0
- package/dist/components/utrecht-icon-subsidie-gezin.d.ts +11 -0
- package/dist/components/utrecht-icon-subsidie-gezin.js +33 -0
- package/dist/components/utrecht-icon-toeslag.d.ts +11 -0
- package/dist/components/utrecht-icon-toeslag.js +33 -0
- package/dist/components/utrecht-icon-trein.d.ts +11 -0
- package/dist/components/utrecht-icon-trein.js +33 -0
- package/dist/components/utrecht-icon-trouwen.d.ts +11 -0
- package/dist/components/utrecht-icon-trouwen.js +33 -0
- package/dist/components/utrecht-icon-twitter.d.ts +11 -0
- package/dist/components/utrecht-icon-twitter.js +33 -0
- package/dist/components/utrecht-icon-vaccinatie.d.ts +11 -0
- package/dist/components/utrecht-icon-vaccinatie.js +33 -0
- package/dist/components/utrecht-icon-veilige-wijk.d.ts +11 -0
- package/dist/components/utrecht-icon-veilige-wijk.js +33 -0
- package/dist/components/utrecht-icon-vergoeding.d.ts +11 -0
- package/dist/components/utrecht-icon-vergoeding.js +33 -0
- package/dist/components/utrecht-icon-verhuizen.d.ts +11 -0
- package/dist/components/utrecht-icon-verhuizen.js +33 -0
- package/dist/components/utrecht-icon-verkiezingen.d.ts +11 -0
- package/dist/components/utrecht-icon-verkiezingen.js +33 -0
- package/dist/components/utrecht-icon-verslaving.d.ts +11 -0
- package/dist/components/utrecht-icon-verslaving.js +33 -0
- package/dist/components/utrecht-icon-vervoersvoorziening.d.ts +11 -0
- package/dist/components/utrecht-icon-vervoersvoorziening.js +33 -0
- package/dist/components/utrecht-icon-virus.d.ts +11 -0
- package/dist/components/utrecht-icon-virus.js +33 -0
- package/dist/components/utrecht-icon-vluchtelingen.d.ts +11 -0
- package/dist/components/utrecht-icon-vluchtelingen.js +33 -0
- package/dist/components/utrecht-icon-voorzieningen-vervoer.d.ts +11 -0
- package/dist/components/utrecht-icon-voorzieningen-vervoer.js +33 -0
- package/dist/components/utrecht-icon-vrijwilligerswerk.d.ts +11 -0
- package/dist/components/utrecht-icon-vrijwilligerswerk.js +33 -0
- package/dist/components/utrecht-icon-vuurwerk.d.ts +11 -0
- package/dist/components/utrecht-icon-vuurwerk.js +33 -0
- package/dist/components/utrecht-icon-wandelstok.d.ts +11 -0
- package/dist/components/utrecht-icon-wandelstok.js +33 -0
- package/dist/components/utrecht-icon-warm.d.ts +11 -0
- package/dist/components/utrecht-icon-warm.js +33 -0
- package/dist/components/utrecht-icon-warning.d.ts +11 -0
- package/dist/components/utrecht-icon-warning.js +33 -0
- package/dist/components/utrecht-icon-werken.d.ts +11 -0
- package/dist/components/utrecht-icon-werken.js +33 -0
- package/dist/components/utrecht-icon-werkzaamheden.d.ts +11 -0
- package/dist/components/utrecht-icon-werkzaamheden.js +33 -0
- package/dist/components/utrecht-icon-whatsapp.d.ts +11 -0
- package/dist/components/utrecht-icon-whatsapp.js +33 -0
- package/dist/components/utrecht-icon-wonen-kosten.d.ts +11 -0
- package/dist/components/utrecht-icon-wonen-kosten.js +33 -0
- package/dist/components/utrecht-icon-woning-zoeken.d.ts +11 -0
- package/dist/components/utrecht-icon-woning-zoeken.js +33 -0
- package/dist/components/utrecht-icon-youtube.d.ts +11 -0
- package/dist/components/utrecht-icon-youtube.js +33 -0
- package/dist/components/utrecht-icon-zelfstandig-wonen.d.ts +11 -0
- package/dist/components/utrecht-icon-zelfstandig-wonen.js +33 -0
- package/dist/components/utrecht-icon-zoomin.d.ts +11 -0
- package/dist/components/utrecht-icon-zoomin.js +33 -0
- package/dist/components/utrecht-icon-zoomout.d.ts +11 -0
- package/dist/components/utrecht-icon-zoomout.js +33 -0
- package/dist/components/utrecht-icon-zorg-huis.d.ts +11 -0
- package/dist/components/utrecht-icon-zorg-huis.js +33 -0
- package/dist/components/utrecht-icon-zwemmen.d.ts +11 -0
- package/dist/components/utrecht-icon-zwemmen.js +33 -0
- package/dist/components/utrecht-icon.d.ts +11 -0
- package/dist/components/utrecht-icon.js +33 -0
- package/dist/components/utrecht-logo-button.d.ts +11 -0
- package/dist/components/utrecht-logo-button.js +47 -0
- package/dist/components/utrecht-logo.d.ts +11 -0
- package/dist/components/utrecht-logo.js +33 -0
- package/dist/components/utrecht-page-content.d.ts +11 -0
- package/dist/components/utrecht-page-content.js +33 -0
- package/dist/components/utrecht-page-footer.d.ts +11 -0
- package/dist/components/utrecht-page-footer.js +33 -0
- package/dist/components/utrecht-page.d.ts +11 -0
- package/dist/components/utrecht-page.js +33 -0
- package/dist/components/utrecht-pagination.d.ts +11 -0
- package/dist/components/utrecht-pagination.js +57 -0
- package/dist/components/utrecht-paragraph.d.ts +11 -0
- package/dist/components/utrecht-paragraph.js +6 -0
- package/dist/components/utrecht-separator.d.ts +11 -0
- package/dist/components/utrecht-separator.js +33 -0
- package/dist/components/utrecht-sidenav.d.ts +11 -0
- package/dist/components/utrecht-sidenav.js +37 -0
- package/dist/components/utrecht-table-body.d.ts +11 -0
- package/dist/components/utrecht-table-body.js +33 -0
- package/dist/components/utrecht-table-caption.d.ts +11 -0
- package/dist/components/utrecht-table-caption.js +34 -0
- package/dist/components/utrecht-table-cell.d.ts +11 -0
- package/dist/components/utrecht-table-cell.js +33 -0
- package/dist/components/utrecht-table-footer.d.ts +11 -0
- package/dist/components/utrecht-table-footer.js +33 -0
- package/dist/components/utrecht-table-header-cell.d.ts +11 -0
- package/dist/components/utrecht-table-header-cell.js +35 -0
- package/dist/components/utrecht-table-header.d.ts +11 -0
- package/dist/components/utrecht-table-header.js +33 -0
- package/dist/components/utrecht-table-row.d.ts +11 -0
- package/dist/components/utrecht-table-row.js +33 -0
- package/dist/components/utrecht-table.d.ts +11 -0
- package/dist/components/utrecht-table.js +33 -0
- package/dist/components/utrecht-textbox.d.ts +11 -0
- package/dist/components/utrecht-textbox.js +65 -0
- package/dist/esm/clsx.m-25174a58.js +3 -0
- package/dist/esm/{index-cabfbb36.js → index-31022c39.js} +252 -85
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/utrecht-article.entry.js +3 -3
- package/dist/esm/utrecht-backdrop.entry.js +17 -0
- package/dist/esm/utrecht-badge-counter.entry.js +5 -5
- package/dist/esm/utrecht-badge-data.entry.js +3 -3
- package/dist/esm/utrecht-badge-status.entry.js +4 -4
- package/dist/esm/utrecht-breadcrumb.entry.js +5 -5
- package/dist/esm/utrecht-button.entry.js +30 -5
- package/dist/esm/utrecht-checkbox.entry.js +28 -0
- package/dist/esm/utrecht-contact-card-template.entry.js +15 -0
- package/dist/esm/utrecht-custom-checkbox.entry.js +48 -0
- package/dist/esm/utrecht-digid-button.entry.js +15 -0
- package/dist/esm/utrecht-digid-logo.entry.js +15 -0
- package/dist/esm/utrecht-document.entry.js +3 -3
- package/dist/esm/utrecht-eherkenning-logo.entry.js +15 -0
- package/dist/esm/utrecht-eidas-logo.entry.js +15 -0
- package/dist/esm/utrecht-form-field-checkbox.entry.js +30 -0
- package/dist/esm/utrecht-form-field-description.entry.js +18 -0
- package/dist/esm/utrecht-form-field-textarea.entry.js +30 -0
- package/dist/esm/utrecht-form-field-textbox.entry.js +35 -0
- package/dist/esm/utrecht-form-toggle.entry.js +44 -0
- package/dist/esm/utrecht-heading-1.entry.js +15 -0
- package/dist/esm/utrecht-heading-2_3.entry.js +40 -0
- package/dist/esm/utrecht-heading-4.entry.js +15 -0
- package/dist/esm/utrecht-heading-5.entry.js +15 -0
- package/dist/esm/utrecht-heading-6.entry.js +15 -0
- package/dist/esm/utrecht-heading.entry.js +3 -3
- package/dist/esm/utrecht-html-content.entry.js +3 -3
- package/dist/esm/utrecht-icon-afspraak-maken.entry.js +15 -0
- package/dist/esm/utrecht-icon-afval-container.entry.js +15 -0
- package/dist/esm/utrecht-icon-afval-containerpas.entry.js +15 -0
- package/dist/esm/utrecht-icon-afval-kalender.entry.js +15 -0
- package/dist/esm/utrecht-icon-afval-scheiden.entry.js +15 -0
- package/dist/esm/utrecht-icon-afval.entry.js +15 -0
- package/dist/esm/utrecht-icon-afvalkalender.entry.js +15 -0
- package/dist/esm/utrecht-icon-alleen.entry.js +15 -0
- package/dist/esm/utrecht-icon-arrow.entry.js +15 -0
- package/dist/esm/utrecht-icon-bestemmingsplan.entry.js +15 -0
- package/dist/esm/utrecht-icon-betaaldatum.entry.js +15 -0
- package/dist/esm/utrecht-icon-bewijsstukken.entry.js +15 -0
- package/dist/esm/utrecht-icon-bijstand.entry.js +15 -0
- package/dist/esm/utrecht-icon-blad.entry.js +15 -0
- package/dist/esm/utrecht-icon-bouwproject.entry.js +15 -0
- package/dist/esm/utrecht-icon-brandgevaar.entry.js +15 -0
- package/dist/esm/utrecht-icon-checkmark.entry.js +15 -0
- package/dist/esm/utrecht-icon-college-b-w.entry.js +15 -0
- package/dist/esm/utrecht-icon-container-bio.entry.js +15 -0
- package/dist/esm/utrecht-icon-container.entry.js +15 -0
- package/dist/esm/utrecht-icon-cross.entry.js +15 -0
- package/dist/esm/utrecht-icon-dakloos.entry.js +15 -0
- package/dist/esm/utrecht-icon-dementie.entry.js +15 -0
- package/dist/esm/utrecht-icon-duurzaam.entry.js +15 -0
- package/dist/esm/utrecht-icon-eenzaamheid.entry.js +15 -0
- package/dist/esm/utrecht-icon-eikenprocessie.entry.js +15 -0
- package/dist/esm/utrecht-icon-energie-vergoeding.entry.js +15 -0
- package/dist/esm/utrecht-icon-energietransitie.entry.js +15 -0
- package/dist/esm/utrecht-icon-error.entry.js +15 -0
- package/dist/esm/utrecht-icon-evenementen.entry.js +15 -0
- package/dist/esm/utrecht-icon-facebook.entry.js +6 -6
- package/dist/esm/utrecht-icon-fiets.entry.js +15 -0
- package/dist/esm/utrecht-icon-filter.entry.js +15 -0
- package/dist/esm/utrecht-icon-gebruiker-centraal.entry.js +15 -0
- package/dist/esm/utrecht-icon-gegevenswoordenboek.entry.js +15 -0
- package/dist/esm/utrecht-icon-gemeenteraad.entry.js +15 -0
- package/dist/esm/utrecht-icon-grofvuil.entry.js +15 -0
- package/dist/esm/utrecht-icon-horeca.entry.js +15 -0
- package/dist/esm/utrecht-icon-huishoudelijk-geweld.entry.js +15 -0
- package/dist/esm/utrecht-icon-hulp-huishouden.entry.js +15 -0
- package/dist/esm/utrecht-icon-hulp-vervoer.entry.js +15 -0
- package/dist/esm/utrecht-icon-hulp-zorg.entry.js +15 -0
- package/dist/esm/utrecht-icon-hulpverlening.entry.js +15 -0
- package/dist/esm/utrecht-icon-information.entry.js +15 -0
- package/dist/esm/utrecht-icon-innovatie.entry.js +15 -0
- package/dist/esm/utrecht-icon-instagram.entry.js +6 -6
- package/dist/esm/utrecht-icon-kalender.entry.js +15 -0
- package/dist/esm/utrecht-icon-kerstbomen.entry.js +15 -0
- package/dist/esm/utrecht-icon-klachten.entry.js +15 -0
- package/dist/esm/utrecht-icon-kroon.entry.js +15 -0
- package/dist/esm/utrecht-icon-laadpaal.entry.js +15 -0
- package/dist/esm/utrecht-icon-lantaarnpaal.entry.js +15 -0
- package/dist/esm/utrecht-icon-leren.entry.js +15 -0
- package/dist/esm/utrecht-icon-let-op.entry.js +15 -0
- package/dist/esm/utrecht-icon-linkedin.entry.js +6 -6
- package/dist/esm/utrecht-icon-list.entry.js +15 -0
- package/dist/esm/utrecht-icon-loupe.entry.js +15 -0
- package/dist/esm/utrecht-icon-markt.entry.js +15 -0
- package/dist/esm/utrecht-icon-melding-klacht.entry.js +15 -0
- package/dist/esm/utrecht-icon-melding.entry.js +15 -0
- package/dist/esm/utrecht-icon-menselijk.entry.js +15 -0
- package/dist/esm/utrecht-icon-milieu-ontheffing.entry.js +15 -0
- package/dist/esm/utrecht-icon-natuur.entry.js +15 -0
- package/dist/esm/utrecht-icon-nieuw-huis.entry.js +15 -0
- package/dist/esm/utrecht-icon-nummerbord.entry.js +15 -0
- package/dist/esm/utrecht-icon-omgeving.entry.js +15 -0
- package/dist/esm/utrecht-icon-omgevingsvisie.entry.js +15 -0
- package/dist/esm/utrecht-icon-omgevingswet.entry.js +15 -0
- package/dist/esm/utrecht-icon-onderhoud.entry.js +15 -0
- package/dist/esm/utrecht-icon-openingstijden.entry.js +15 -0
- package/dist/esm/utrecht-icon-panden.entry.js +15 -0
- package/dist/esm/utrecht-icon-park.entry.js +15 -0
- package/dist/esm/utrecht-icon-parkeerkaart.entry.js +15 -0
- package/dist/esm/utrecht-icon-parkeervergunning.entry.js +15 -0
- package/dist/esm/utrecht-icon-parken.entry.js +15 -0
- package/dist/esm/utrecht-icon-parkeren-bedrijven.entry.js +15 -0
- package/dist/esm/utrecht-icon-parkeren-betalen.entry.js +15 -0
- package/dist/esm/utrecht-icon-participatie-campagne.entry.js +15 -0
- package/dist/esm/utrecht-icon-paspoort.entry.js +15 -0
- package/dist/esm/utrecht-icon-rijbewijs.entry.js +15 -0
- package/dist/esm/utrecht-icon-rolstoel.entry.js +15 -0
- package/dist/esm/utrecht-icon-shoppen.entry.js +15 -0
- package/dist/esm/utrecht-icon-sinterklaas.entry.js +15 -0
- package/dist/esm/utrecht-icon-sport.entry.js +15 -0
- package/dist/esm/utrecht-icon-stookverbod.entry.js +15 -0
- package/dist/esm/utrecht-icon-strooien.entry.js +15 -0
- package/dist/esm/utrecht-icon-subsidie-gezin.entry.js +15 -0
- package/dist/esm/utrecht-icon-toeslag.entry.js +15 -0
- package/dist/esm/utrecht-icon-trein.entry.js +15 -0
- package/dist/esm/utrecht-icon-trouwen.entry.js +15 -0
- package/dist/esm/utrecht-icon-twitter.entry.js +6 -6
- package/dist/esm/utrecht-icon-vaccinatie.entry.js +15 -0
- package/dist/esm/utrecht-icon-veilige-wijk.entry.js +15 -0
- package/dist/esm/utrecht-icon-vergoeding.entry.js +15 -0
- package/dist/esm/utrecht-icon-verhuizen.entry.js +15 -0
- package/dist/esm/utrecht-icon-verkiezingen.entry.js +15 -0
- package/dist/esm/utrecht-icon-verslaving.entry.js +15 -0
- package/dist/esm/utrecht-icon-vervoersvoorziening.entry.js +15 -0
- package/dist/esm/utrecht-icon-virus.entry.js +15 -0
- package/dist/esm/utrecht-icon-vluchtelingen.entry.js +15 -0
- package/dist/esm/utrecht-icon-voorzieningen-vervoer.entry.js +15 -0
- package/dist/esm/utrecht-icon-vrijwilligerswerk.entry.js +15 -0
- package/dist/esm/utrecht-icon-vuurwerk.entry.js +15 -0
- package/dist/esm/utrecht-icon-wandelstok.entry.js +15 -0
- package/dist/esm/utrecht-icon-warm.entry.js +15 -0
- package/dist/esm/utrecht-icon-warning.entry.js +15 -0
- package/dist/esm/utrecht-icon-werken.entry.js +15 -0
- package/dist/esm/utrecht-icon-werkzaamheden.entry.js +15 -0
- package/dist/esm/utrecht-icon-whatsapp.entry.js +6 -6
- package/dist/esm/utrecht-icon-wonen-kosten.entry.js +15 -0
- package/dist/esm/utrecht-icon-woning-zoeken.entry.js +15 -0
- package/dist/esm/utrecht-icon-youtube.entry.js +15 -0
- package/dist/esm/utrecht-icon-zelfstandig-wonen.entry.js +15 -0
- package/dist/esm/utrecht-icon-zoomin.entry.js +15 -0
- package/dist/esm/utrecht-icon-zoomout.entry.js +15 -0
- package/dist/esm/utrecht-icon-zorg-huis.entry.js +15 -0
- package/dist/esm/utrecht-icon-zwemmen.entry.js +15 -0
- package/dist/esm/utrecht-icon.entry.js +15 -0
- package/dist/esm/utrecht-logo-button.entry.js +15 -0
- package/dist/esm/utrecht-logo.entry.js +15 -0
- package/dist/esm/utrecht-page-content.entry.js +15 -0
- package/dist/esm/utrecht-page-footer.entry.js +3 -3
- package/dist/esm/utrecht-page.entry.js +15 -0
- package/dist/esm/utrecht-pagination.entry.js +34 -0
- package/dist/esm/utrecht-separator.entry.js +3 -3
- package/dist/esm/utrecht-sidenav.entry.js +5 -5
- package/dist/esm/utrecht-table-body.entry.js +15 -0
- package/dist/esm/utrecht-table-caption.entry.js +16 -0
- package/dist/esm/utrecht-table-cell.entry.js +15 -0
- package/dist/esm/utrecht-table-footer.entry.js +15 -0
- package/dist/esm/utrecht-table-header-cell.entry.js +15 -0
- package/dist/esm/utrecht-table-header.entry.js +15 -0
- package/dist/esm/utrecht-table-row.entry.js +15 -0
- package/dist/esm/utrecht-table.entry.js +15 -0
- package/dist/esm/utrecht-textbox.entry.js +35 -0
- package/dist/esm/utrecht.js +3 -3
- package/dist/packages/web-component-library-stencil/sequential-output-targets.js +11 -0
- package/dist/packages/web-component-library-stencil/stencil.config.js +75 -0
- package/dist/types/article/web-component/index.stencil.d.ts +8 -0
- package/dist/types/backdrop/web-component/index.stencil.d.ts +9 -0
- package/dist/types/badge-counter/web-component/index.stencil.d.ts +11 -0
- package/dist/types/badge-data/web-component/index.stencil.d.ts +8 -0
- package/dist/types/badge-status/web-component/index.stencil.d.ts +9 -0
- package/dist/types/breadcrumb/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
- package/dist/types/button/web-component/index.stencil.d.ts +11 -0
- package/dist/types/checkbox/web-component/index.stencil.d.ts +16 -0
- package/dist/types/components.d.ts +2142 -70
- package/dist/types/custom-checkbox/web-component/index.stencil.d.ts +17 -0
- package/dist/types/digid-button/web-component/index.stencil.d.ts +9 -0
- package/dist/types/digid-logo/web-component/index.stencil.d.ts +8 -0
- package/dist/types/document/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
- package/dist/types/eherkenning-logo/web-component/index.stencil.d.ts +8 -0
- package/dist/types/eidas-logo/web-component/index.stencil.d.ts +8 -0
- package/dist/types/form-field-checkbox/web-component/index.stencil.d.ts +18 -0
- package/dist/types/form-field-description/web-component/index.stencil.d.ts +8 -0
- package/dist/types/form-field-textarea/web-component/index.stencil.d.ts +18 -0
- package/dist/types/form-field-textbox/web-component/index.stencil.d.ts +23 -0
- package/dist/types/form-toggle/web-component/index.stencil.d.ts +14 -0
- package/dist/types/heading/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
- package/dist/types/heading-1/web-component/index.stencil.d.ts +3 -0
- package/dist/types/heading-2/web-component/index.stencil.d.ts +3 -0
- package/dist/types/heading-3/web-component/index.stencil.d.ts +3 -0
- package/dist/types/heading-4/web-component/index.stencil.d.ts +3 -0
- package/dist/types/heading-5/web-component/index.stencil.d.ts +3 -0
- package/dist/types/heading-6/web-component/index.stencil.d.ts +3 -0
- package/dist/types/home/runner/work/utrecht/utrecht/packages/web-component-library-stencil/.stencil/packages/web-component-library-stencil/sequential-output-targets.d.ts +7 -0
- package/dist/types/home/runner/work/utrecht/utrecht/packages/web-component-library-stencil/.stencil/packages/web-component-library-stencil/stencil.config.d.ts +2 -0
- package/dist/types/html-content/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
- package/dist/types/icon/tmp/components/utrecht-icon-afspraak-maken/utrecht-icon-afspraak-maken.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-afval/utrecht-icon-afval.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-afval-container/utrecht-icon-afval-container.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-afval-containerpas/utrecht-icon-afval-containerpas.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-afval-kalender/utrecht-icon-afval-kalender.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-afval-scheiden/utrecht-icon-afval-scheiden.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-afvalkalender/utrecht-icon-afvalkalender.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-alleen/utrecht-icon-alleen.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-arrow/utrecht-icon-arrow.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-bestemmingsplan/utrecht-icon-bestemmingsplan.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-betaaldatum/utrecht-icon-betaaldatum.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-bewijsstukken/utrecht-icon-bewijsstukken.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-bijstand/utrecht-icon-bijstand.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-blad/utrecht-icon-blad.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-bouwproject/utrecht-icon-bouwproject.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-brandgevaar/utrecht-icon-brandgevaar.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-checkmark/utrecht-icon-checkmark.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-college-b-w/utrecht-icon-college-b-w.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-container/utrecht-icon-container.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-container-bio/utrecht-icon-container-bio.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-cross/utrecht-icon-cross.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-dakloos/utrecht-icon-dakloos.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-dementie/utrecht-icon-dementie.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-duurzaam/utrecht-icon-duurzaam.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-eenzaamheid/utrecht-icon-eenzaamheid.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-eikenprocessie/utrecht-icon-eikenprocessie.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-energie-vergoeding/utrecht-icon-energie-vergoeding.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-energietransitie/utrecht-icon-energietransitie.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-error/utrecht-icon-error.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-evenementen/utrecht-icon-evenementen.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-facebook/utrecht-icon-facebook.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-fiets/utrecht-icon-fiets.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-filter/utrecht-icon-filter.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-gebruiker-centraal/utrecht-icon-gebruiker-centraal.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-gegevenswoordenboek/utrecht-icon-gegevenswoordenboek.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-gemeenteraad/utrecht-icon-gemeenteraad.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-grofvuil/utrecht-icon-grofvuil.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-horeca/utrecht-icon-horeca.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-huishoudelijk-geweld/utrecht-icon-huishoudelijk-geweld.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-hulp-huishouden/utrecht-icon-hulp-huishouden.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-hulp-vervoer/utrecht-icon-hulp-vervoer.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-hulp-zorg/utrecht-icon-hulp-zorg.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-hulpverlening/utrecht-icon-hulpverlening.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-information/utrecht-icon-information.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-innovatie/utrecht-icon-innovatie.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-instagram/utrecht-icon-instagram.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-kalender/utrecht-icon-kalender.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-kerstbomen/utrecht-icon-kerstbomen.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-klachten/utrecht-icon-klachten.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-kroon/utrecht-icon-kroon.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-laadpaal/utrecht-icon-laadpaal.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-lantaarnpaal/utrecht-icon-lantaarnpaal.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-leren/utrecht-icon-leren.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-let-op/utrecht-icon-let-op.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-linkedin/utrecht-icon-linkedin.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-list/utrecht-icon-list.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-loupe/utrecht-icon-loupe.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-markt/utrecht-icon-markt.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-melding/utrecht-icon-melding.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-melding-klacht/utrecht-icon-melding-klacht.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-menselijk/utrecht-icon-menselijk.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-milieu-ontheffing/utrecht-icon-milieu-ontheffing.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-natuur/utrecht-icon-natuur.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-nieuw-huis/utrecht-icon-nieuw-huis.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-nummerbord/utrecht-icon-nummerbord.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-omgeving/utrecht-icon-omgeving.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-omgevingsvisie/utrecht-icon-omgevingsvisie.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-omgevingswet/utrecht-icon-omgevingswet.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-onderhoud/utrecht-icon-onderhoud.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-openingstijden/utrecht-icon-openingstijden.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-panden/utrecht-icon-panden.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-park/utrecht-icon-park.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-parkeerkaart/utrecht-icon-parkeerkaart.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-parkeervergunning/utrecht-icon-parkeervergunning.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-parken/utrecht-icon-parken.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-parkeren-bedrijven/utrecht-icon-parkeren-bedrijven.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-parkeren-betalen/utrecht-icon-parkeren-betalen.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-participatie-campagne/utrecht-icon-participatie-campagne.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-paspoort/utrecht-icon-paspoort.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-rijbewijs/utrecht-icon-rijbewijs.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-rolstoel/utrecht-icon-rolstoel.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-shoppen/utrecht-icon-shoppen.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-sinterklaas/utrecht-icon-sinterklaas.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-sport/utrecht-icon-sport.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-stookverbod/utrecht-icon-stookverbod.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-strooien/utrecht-icon-strooien.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-subsidie-gezin/utrecht-icon-subsidie-gezin.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-toeslag/utrecht-icon-toeslag.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-trein/utrecht-icon-trein.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-trouwen/utrecht-icon-trouwen.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-twitter/utrecht-icon-twitter.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-vaccinatie/utrecht-icon-vaccinatie.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-veilige-wijk/utrecht-icon-veilige-wijk.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-vergoeding/utrecht-icon-vergoeding.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-verhuizen/utrecht-icon-verhuizen.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-verkiezingen/utrecht-icon-verkiezingen.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-verslaving/utrecht-icon-verslaving.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-vervoersvoorziening/utrecht-icon-vervoersvoorziening.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-virus/utrecht-icon-virus.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-vluchtelingen/utrecht-icon-vluchtelingen.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-voorzieningen-vervoer/utrecht-icon-voorzieningen-vervoer.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-vrijwilligerswerk/utrecht-icon-vrijwilligerswerk.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-vuurwerk/utrecht-icon-vuurwerk.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-wandelstok/utrecht-icon-wandelstok.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-warm/utrecht-icon-warm.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-warning/utrecht-icon-warning.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-werken/utrecht-icon-werken.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-werkzaamheden/utrecht-icon-werkzaamheden.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-whatsapp/utrecht-icon-whatsapp.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-wonen-kosten/utrecht-icon-wonen-kosten.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-woning-zoeken/utrecht-icon-woning-zoeken.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-youtube/utrecht-icon-youtube.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-zelfstandig-wonen/utrecht-icon-zelfstandig-wonen.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-zoomin/utrecht-icon-zoomin.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-zoomout/utrecht-icon-zoomout.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-zorg-huis/utrecht-icon-zorg-huis.stencil.d.ts +3 -0
- package/dist/types/icon/tmp/components/utrecht-icon-zwemmen/utrecht-icon-zwemmen.stencil.d.ts +3 -0
- package/dist/types/icon/web-component/index.stencil.d.ts +3 -0
- package/dist/types/logo/web-component/index.stencil.d.ts +7 -0
- package/dist/types/logo-button/web-component/index.stencil.d.ts +9 -0
- package/dist/types/navigatie sidenav/web-component/index.stencil.d.ts +9 -0
- package/dist/types/page/web-component/index.stencil.d.ts +7 -0
- package/dist/types/page-content/web-component/index.stencil.d.ts +7 -0
- package/dist/types/page-footer/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
- package/dist/types/pagination/web-component/index.stencil.d.ts +11 -0
- package/dist/types/paragraph/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
- package/dist/types/separator/{stencil.d.ts → web-component/index.stencil.d.ts} +0 -0
- package/dist/types/stencil-public-runtime.d.ts +189 -186
- package/dist/types/table/web-component/table-body.stencil.d.ts +3 -0
- package/dist/types/table/web-component/table-caption.stencil.d.ts +3 -0
- package/dist/types/table/web-component/table-cell.stencil.d.ts +3 -0
- package/dist/types/table/web-component/table-footer.stencil.d.ts +3 -0
- package/dist/types/table/web-component/table-header-cell.stencil.d.ts +4 -0
- package/dist/types/table/web-component/table-header.stencil.d.ts +3 -0
- package/dist/types/table/web-component/table-row.stencil.d.ts +3 -0
- package/dist/types/table/web-component/table.stencil.d.ts +3 -0
- package/dist/types/templates/contact-card-template/web-component/index.stencil.d.ts +3 -0
- package/dist/types/textbox/web-component/index.stencil.d.ts +23 -0
- package/dist/utrecht/p-00393cb1.entry.js +1 -0
- package/dist/utrecht/p-01f0d09b.entry.js +1 -0
- package/dist/utrecht/p-0202176a.entry.js +1 -0
- package/dist/utrecht/p-0692a33f.entry.js +1 -0
- package/dist/utrecht/p-070136c1.entry.js +1 -0
- package/dist/utrecht/p-077bae85.entry.js +1 -0
- package/dist/utrecht/p-09261e31.entry.js +1 -0
- package/dist/utrecht/p-0a737ff0.entry.js +1 -0
- package/dist/utrecht/p-0c45ccef.entry.js +1 -0
- package/dist/utrecht/p-0f3e6d13.entry.js +1 -0
- package/dist/utrecht/p-10244d7c.entry.js +1 -0
- package/dist/utrecht/p-154c0cea.entry.js +1 -0
- package/dist/utrecht/p-15d31966.entry.js +1 -0
- package/dist/utrecht/p-1873187b.entry.js +1 -0
- package/dist/utrecht/p-193a168f.entry.js +1 -0
- package/dist/utrecht/p-1b6ce708.entry.js +1 -0
- package/dist/utrecht/p-24b294ac.entry.js +1 -0
- package/dist/utrecht/p-270a5477.entry.js +1 -0
- package/dist/utrecht/p-28256eb1.entry.js +1 -0
- package/dist/utrecht/p-29481186.entry.js +1 -0
- package/dist/utrecht/p-2a514cf6.entry.js +1 -0
- package/dist/utrecht/p-2b554f02.entry.js +1 -0
- package/dist/utrecht/p-2c87727b.entry.js +1 -0
- package/dist/utrecht/p-3434211c.entry.js +1 -0
- package/dist/utrecht/p-35ce3e90.entry.js +1 -0
- package/dist/utrecht/p-3619ee9b.entry.js +1 -0
- package/dist/utrecht/p-38e4ecfb.entry.js +1 -0
- package/dist/utrecht/p-391806f0.entry.js +1 -0
- package/dist/utrecht/p-3b3fce43.entry.js +1 -0
- package/dist/utrecht/p-3bac542a.entry.js +1 -0
- package/dist/utrecht/p-3c77d3be.entry.js +1 -0
- package/dist/utrecht/p-3de4ab46.entry.js +1 -0
- package/dist/utrecht/p-3e56b65c.entry.js +1 -0
- package/dist/utrecht/p-405f5847.entry.js +1 -0
- package/dist/utrecht/p-4091cf21.entry.js +1 -0
- package/dist/utrecht/p-419f6d2d.entry.js +1 -0
- package/dist/utrecht/p-44b68e0e.entry.js +1 -0
- package/dist/utrecht/p-44df3e48.entry.js +1 -0
- package/dist/utrecht/p-46dd5029.entry.js +1 -0
- package/dist/utrecht/p-47df8ba8.entry.js +1 -0
- package/dist/utrecht/p-4804fc29.entry.js +1 -0
- package/dist/utrecht/p-49f36cea.entry.js +1 -0
- package/dist/utrecht/p-4b62771f.entry.js +1 -0
- package/dist/utrecht/p-4cfaf299.entry.js +1 -0
- package/dist/utrecht/p-4d1f50d7.entry.js +1 -0
- package/dist/utrecht/p-4d763b58.entry.js +1 -0
- package/dist/utrecht/p-5124a70b.entry.js +1 -0
- package/dist/utrecht/p-54a1fa96.entry.js +1 -0
- package/dist/utrecht/p-55fbd6b6.entry.js +1 -0
- package/dist/utrecht/p-567c1f71.entry.js +1 -0
- package/dist/utrecht/p-56d561c9.entry.js +1 -0
- package/dist/utrecht/p-56ee4092.entry.js +1 -0
- package/dist/utrecht/p-58b4dc8e.entry.js +1 -0
- package/dist/utrecht/p-5ad4ddf9.entry.js +1 -0
- package/dist/utrecht/p-6075bbb0.entry.js +1 -0
- package/dist/utrecht/p-61ad2275.entry.js +1 -0
- package/dist/utrecht/p-627c10d6.entry.js +1 -0
- package/dist/utrecht/p-650f2134.entry.js +1 -0
- package/dist/utrecht/p-6867a4ab.entry.js +1 -0
- package/dist/utrecht/p-68ccfb8a.entry.js +1 -0
- package/dist/utrecht/{p-4070c1e5.js → p-6a1980b4.js} +0 -0
- package/dist/utrecht/p-6d3a5ce5.entry.js +1 -0
- package/dist/utrecht/p-6e0b84a4.entry.js +1 -0
- package/dist/utrecht/p-6f42bed0.entry.js +1 -0
- package/dist/utrecht/p-7010201b.entry.js +1 -0
- package/dist/utrecht/p-712dd2cd.entry.js +1 -0
- package/dist/utrecht/p-75ccfcd1.entry.js +1 -0
- package/dist/utrecht/p-79253b4f.entry.js +1 -0
- package/dist/utrecht/p-795ab431.entry.js +1 -0
- package/dist/utrecht/p-7a27b94e.entry.js +1 -0
- package/dist/utrecht/p-7aaae388.entry.js +1 -0
- package/dist/utrecht/p-7bc07e5c.entry.js +1 -0
- package/dist/utrecht/p-7c98abd4.entry.js +1 -0
- package/dist/utrecht/p-7ca89d3d.entry.js +1 -0
- package/dist/utrecht/p-7efdd5eb.entry.js +1 -0
- package/dist/utrecht/p-80fcd76f.entry.js +1 -0
- package/dist/utrecht/p-8134b7bc.entry.js +1 -0
- package/dist/utrecht/p-85c26014.entry.js +1 -0
- package/dist/utrecht/p-873696a6.entry.js +1 -0
- package/dist/utrecht/p-88b3d815.entry.js +1 -0
- package/dist/utrecht/p-8aafc809.entry.js +1 -0
- package/dist/utrecht/p-8ac0a17f.entry.js +1 -0
- package/dist/utrecht/p-8b1cc1a5.entry.js +1 -0
- package/dist/utrecht/p-8c84d65a.entry.js +1 -0
- package/dist/utrecht/p-8ea29e35.entry.js +1 -0
- package/dist/utrecht/p-9057a6e2.entry.js +1 -0
- package/dist/utrecht/p-90b189dd.entry.js +1 -0
- package/dist/utrecht/p-940e724e.entry.js +1 -0
- package/dist/utrecht/p-942d15be.entry.js +1 -0
- package/dist/utrecht/p-962375b6.entry.js +1 -0
- package/dist/utrecht/p-96a7e1f8.entry.js +1 -0
- package/dist/utrecht/p-9874be92.entry.js +1 -0
- package/dist/utrecht/p-9af7cee6.entry.js +1 -0
- package/dist/utrecht/p-9cfb3c52.entry.js +1 -0
- package/dist/utrecht/p-9e3b2739.entry.js +1 -0
- package/dist/utrecht/p-9efa4d5f.entry.js +1 -0
- package/dist/utrecht/p-9f960f2d.entry.js +1 -0
- package/dist/utrecht/p-aa3a805a.entry.js +1 -0
- package/dist/utrecht/p-ab0a3e43.entry.js +1 -0
- package/dist/utrecht/p-abb4c14b.entry.js +1 -0
- package/dist/utrecht/p-ac06367a.entry.js +1 -0
- package/dist/utrecht/p-ac5ed87e.entry.js +1 -0
- package/dist/utrecht/p-acc2e3b9.entry.js +1 -0
- package/dist/utrecht/p-acd6ba06.entry.js +1 -0
- package/dist/utrecht/p-adcd8c63.entry.js +1 -0
- package/dist/utrecht/p-aef7af8e.entry.js +1 -0
- package/dist/utrecht/p-b0fa6943.entry.js +1 -0
- package/dist/utrecht/p-b135eec3.entry.js +1 -0
- package/dist/utrecht/p-b218111a.entry.js +1 -0
- package/dist/utrecht/p-b2460b25.entry.js +1 -0
- package/dist/utrecht/p-b3318258.entry.js +1 -0
- package/dist/utrecht/p-b63c9ec9.entry.js +1 -0
- package/dist/utrecht/p-b6f76527.entry.js +1 -0
- package/dist/utrecht/p-b8234857.entry.js +1 -0
- package/dist/utrecht/p-b92bba48.entry.js +1 -0
- package/dist/utrecht/p-ba0a6613.entry.js +1 -0
- package/dist/utrecht/p-ba7f3313.entry.js +1 -0
- package/dist/utrecht/p-bc235426.entry.js +1 -0
- package/dist/utrecht/p-be93e13a.entry.js +1 -0
- package/dist/utrecht/p-bf112b00.entry.js +1 -0
- package/dist/utrecht/p-c06fb855.entry.js +1 -0
- package/dist/utrecht/p-c0fde5fd.entry.js +1 -0
- package/dist/utrecht/p-c1413e06.entry.js +1 -0
- package/dist/utrecht/p-c542ceb7.entry.js +1 -0
- package/dist/utrecht/p-c731a267.entry.js +1 -0
- package/dist/utrecht/p-c8742440.entry.js +1 -0
- package/dist/utrecht/p-cc7ba5ea.js +2 -0
- package/dist/utrecht/p-cd8c7eeb.entry.js +1 -0
- package/dist/utrecht/p-ce34de67.entry.js +1 -0
- package/dist/utrecht/p-cf9d185f.entry.js +1 -0
- package/dist/utrecht/p-d208231d.entry.js +1 -0
- package/dist/utrecht/p-d22d8b34.entry.js +1 -0
- package/dist/utrecht/p-d5471e96.entry.js +1 -0
- package/dist/utrecht/p-d58be764.entry.js +1 -0
- package/dist/utrecht/p-d5abd0ef.entry.js +1 -0
- package/dist/utrecht/p-d5c22fed.entry.js +1 -0
- package/dist/utrecht/p-d6d851cd.entry.js +1 -0
- package/dist/utrecht/p-d6de79fe.entry.js +1 -0
- package/dist/utrecht/p-d95ab582.entry.js +1 -0
- package/dist/utrecht/p-da69ffbd.entry.js +1 -0
- package/dist/utrecht/p-da746900.entry.js +1 -0
- package/dist/utrecht/p-db983440.entry.js +1 -0
- package/dist/utrecht/p-dc0a7278.entry.js +1 -0
- package/dist/utrecht/p-dfe49e36.entry.js +1 -0
- package/dist/utrecht/p-e1d68c0e.entry.js +1 -0
- package/dist/utrecht/p-e40d4833.entry.js +1 -0
- package/dist/utrecht/p-e457c152.entry.js +1 -0
- package/dist/utrecht/p-e5692c95.entry.js +1 -0
- package/dist/utrecht/p-e70e26e9.entry.js +1 -0
- package/dist/utrecht/p-e7bc97bb.entry.js +1 -0
- package/dist/utrecht/p-e7ca4395.entry.js +1 -0
- package/dist/utrecht/p-e97fb2e1.entry.js +1 -0
- package/dist/utrecht/p-eacaa9fb.entry.js +1 -0
- package/dist/utrecht/p-eea541e5.entry.js +1 -0
- package/dist/utrecht/p-f46eea53.entry.js +1 -0
- package/dist/utrecht/p-f4f40d17.entry.js +1 -0
- package/dist/utrecht/p-f503797f.entry.js +1 -0
- package/dist/utrecht/p-f6aa1012.entry.js +1 -0
- package/dist/utrecht/p-f77ac16a.entry.js +1 -0
- package/dist/utrecht/p-f9b13f48.entry.js +1 -0
- package/dist/utrecht/p-fc613baa.entry.js +1 -0
- package/dist/utrecht/p-fdc6d056.entry.js +1 -0
- package/dist/utrecht/p-fe21b1c5.entry.js +1 -0
- package/dist/utrecht/p-fe45d3d6.entry.js +1 -0
- package/dist/utrecht/utrecht.esm.js +1 -1
- package/loader/index.d.ts +0 -1
- package/package.json +21 -17
- package/dist/article/stencil.js +0 -21
- package/dist/badge-counter/stencil.js +0 -37
- package/dist/badge-data/stencil.js +0 -25
- package/dist/badge-status/stencil.js +0 -28
- package/dist/breadcrumb/stencil.js +0 -38
- package/dist/button/stencil.js +0 -25
- package/dist/cjs/clsx.m-b00fa5e1.js +0 -44
- package/dist/cjs/utrecht-paragraph.cjs.entry.js +0 -20
- package/dist/collection/article/bem.css +0 -8
- package/dist/collection/breadcrumb/stencil.css +0 -140
- package/dist/collection/button/bem.css +0 -48
- package/dist/collection/document/bem.css +0 -12
- package/dist/collection/heading/bem.css +0 -114
- package/dist/collection/html-content/html.css +0 -672
- package/dist/collection/icon/facebook.stencil.js +0 -17
- package/dist/collection/icon/instagram.stencil.js +0 -19
- package/dist/collection/icon/linkedin.stencil.js +0 -18
- package/dist/collection/icon/stencil.css +0 -5
- package/dist/collection/icon/twitter.stencil.js +0 -17
- package/dist/collection/icon/whatsapp.stencil.js +0 -17
- package/dist/collection/menulijst/pijltje.svg +0 -1
- package/dist/collection/navigatie sidenav/bem.css +0 -248
- package/dist/collection/navigatie sidenav/stencil.js +0 -40
- package/dist/collection/paragraph/bem.css +0 -22
- package/dist/collection/separator/bem.css +0 -14
- package/dist/custom-elements/index.d.ts +0 -147
- package/dist/custom-elements/index.js +0 -371
- package/dist/document/stencil.js +0 -21
- package/dist/esm/clsx.m-071989db.js +0 -42
- package/dist/esm/utrecht-paragraph.entry.js +0 -16
- package/dist/heading/stencil.js +0 -50
- package/dist/html-content/stencil.js +0 -25
- package/dist/icon/facebook.stencil.js +0 -23
- package/dist/icon/instagram.stencil.js +0 -25
- package/dist/icon/linkedin.stencil.js +0 -24
- package/dist/icon/twitter.stencil.js +0 -23
- package/dist/icon/whatsapp.stencil.js +0 -23
- package/dist/navigatie sidenav/stencil.js +0 -30
- package/dist/page-footer/stencil.js +0 -25
- package/dist/paragraph/stencil.js +0 -25
- package/dist/separator/stencil.js +0 -20
- package/dist/types/article/stencil.d.ts +0 -3
- package/dist/types/badge-counter/stencil.d.ts +0 -6
- package/dist/types/badge-data/stencil.d.ts +0 -3
- package/dist/types/badge-status/stencil.d.ts +0 -4
- package/dist/types/button/stencil.d.ts +0 -4
- package/dist/types/icon/facebook.stencil.d.ts +0 -3
- package/dist/types/icon/instagram.stencil.d.ts +0 -3
- package/dist/types/icon/linkedin.stencil.d.ts +0 -3
- package/dist/types/icon/twitter.stencil.d.ts +0 -3
- package/dist/types/icon/whatsapp.stencil.d.ts +0 -3
- package/dist/types/navigatie sidenav/stencil.d.ts +0 -4
- package/dist/utrecht/p-17654be7.entry.js +0 -1
- package/dist/utrecht/p-23656727.entry.js +0 -1
- package/dist/utrecht/p-3002d652.entry.js +0 -1
- package/dist/utrecht/p-4c08114a.entry.js +0 -1
- package/dist/utrecht/p-5e5b2def.entry.js +0 -1
- package/dist/utrecht/p-70f242e7.entry.js +0 -1
- package/dist/utrecht/p-71ff8803.js +0 -1
- package/dist/utrecht/p-739118a2.entry.js +0 -1
- package/dist/utrecht/p-78ef912a.entry.js +0 -1
- package/dist/utrecht/p-9121775a.entry.js +0 -1
- package/dist/utrecht/p-94646ba9.entry.js +0 -1
- package/dist/utrecht/p-95232ed5.entry.js +0 -1
- package/dist/utrecht/p-b209192f.entry.js +0 -1
- package/dist/utrecht/p-c0f2bb08.entry.js +0 -1
- package/dist/utrecht/p-c92b0f7b.entry.js +0 -1
- package/dist/utrecht/p-cf055806.entry.js +0 -1
- package/dist/utrecht/p-d11302c3.entry.js +0 -1
- package/dist/utrecht/p-dab4e8a9.entry.js +0 -1
- package/dist/utrecht/p-f6c64e78.entry.js +0 -1
|
@@ -0,0 +1,3557 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.moduleResolve = moduleResolve;
|
|
7
|
+
exports.resolve = resolve;
|
|
8
|
+
|
|
9
|
+
function _url() {
|
|
10
|
+
const data = require("url");
|
|
11
|
+
|
|
12
|
+
_url = function () {
|
|
13
|
+
return data;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
return data;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
function _fs() {
|
|
20
|
+
const data = _interopRequireWildcard(require("fs"), true);
|
|
21
|
+
|
|
22
|
+
_fs = function () {
|
|
23
|
+
return data;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
return data;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
function _path() {
|
|
30
|
+
const data = require("path");
|
|
31
|
+
|
|
32
|
+
_path = function () {
|
|
33
|
+
return data;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
return data;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function _assert() {
|
|
40
|
+
const data = require("assert");
|
|
41
|
+
|
|
42
|
+
_assert = function () {
|
|
43
|
+
return data;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
return data;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
function _util() {
|
|
50
|
+
const data = require("util");
|
|
51
|
+
|
|
52
|
+
_util = function () {
|
|
53
|
+
return data;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
return data;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
60
|
+
|
|
61
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
62
|
+
|
|
63
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
64
|
+
|
|
65
|
+
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
66
|
+
|
|
67
|
+
var re$3 = {
|
|
68
|
+
exports: {}
|
|
69
|
+
};
|
|
70
|
+
const SEMVER_SPEC_VERSION = '2.0.0';
|
|
71
|
+
const MAX_LENGTH$2 = 256;
|
|
72
|
+
const MAX_SAFE_INTEGER$1 = Number.MAX_SAFE_INTEGER || 9007199254740991;
|
|
73
|
+
const MAX_SAFE_COMPONENT_LENGTH = 16;
|
|
74
|
+
var constants = {
|
|
75
|
+
SEMVER_SPEC_VERSION,
|
|
76
|
+
MAX_LENGTH: MAX_LENGTH$2,
|
|
77
|
+
MAX_SAFE_INTEGER: MAX_SAFE_INTEGER$1,
|
|
78
|
+
MAX_SAFE_COMPONENT_LENGTH
|
|
79
|
+
};
|
|
80
|
+
const debug$1 = typeof process === 'object' && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error('SEMVER', ...args) : () => {};
|
|
81
|
+
var debug_1 = debug$1;
|
|
82
|
+
|
|
83
|
+
(function (module, exports) {
|
|
84
|
+
const {
|
|
85
|
+
MAX_SAFE_COMPONENT_LENGTH
|
|
86
|
+
} = constants;
|
|
87
|
+
const debug = debug_1;
|
|
88
|
+
exports = module.exports = {};
|
|
89
|
+
const re = exports.re = [];
|
|
90
|
+
const src = exports.src = [];
|
|
91
|
+
const t = exports.t = {};
|
|
92
|
+
let R = 0;
|
|
93
|
+
|
|
94
|
+
const createToken = (name, value, isGlobal) => {
|
|
95
|
+
const index = R++;
|
|
96
|
+
debug(name, index, value);
|
|
97
|
+
t[name] = index;
|
|
98
|
+
src[index] = value;
|
|
99
|
+
re[index] = new RegExp(value, isGlobal ? 'g' : undefined);
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
createToken('NUMERICIDENTIFIER', '0|[1-9]\\d*');
|
|
103
|
+
createToken('NUMERICIDENTIFIERLOOSE', '[0-9]+');
|
|
104
|
+
createToken('NONNUMERICIDENTIFIER', '\\d*[a-zA-Z-][a-zA-Z0-9-]*');
|
|
105
|
+
createToken('MAINVERSION', `(${src[t.NUMERICIDENTIFIER]})\\.` + `(${src[t.NUMERICIDENTIFIER]})\\.` + `(${src[t.NUMERICIDENTIFIER]})`);
|
|
106
|
+
createToken('MAINVERSIONLOOSE', `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.` + `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.` + `(${src[t.NUMERICIDENTIFIERLOOSE]})`);
|
|
107
|
+
createToken('PRERELEASEIDENTIFIER', `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`);
|
|
108
|
+
createToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`);
|
|
109
|
+
createToken('PRERELEASE', `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`);
|
|
110
|
+
createToken('PRERELEASELOOSE', `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);
|
|
111
|
+
createToken('BUILDIDENTIFIER', '[0-9A-Za-z-]+');
|
|
112
|
+
createToken('BUILD', `(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`);
|
|
113
|
+
createToken('FULLPLAIN', `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);
|
|
114
|
+
createToken('FULL', `^${src[t.FULLPLAIN]}$`);
|
|
115
|
+
createToken('LOOSEPLAIN', `[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);
|
|
116
|
+
createToken('LOOSE', `^${src[t.LOOSEPLAIN]}$`);
|
|
117
|
+
createToken('GTLT', '((?:<|>)?=?)');
|
|
118
|
+
createToken('XRANGEIDENTIFIERLOOSE', `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
|
|
119
|
+
createToken('XRANGEIDENTIFIER', `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`);
|
|
120
|
+
createToken('XRANGEPLAIN', `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})` + `(?:\\.(${src[t.XRANGEIDENTIFIER]})` + `(?:\\.(${src[t.XRANGEIDENTIFIER]})` + `(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?` + `)?)?`);
|
|
121
|
+
createToken('XRANGEPLAINLOOSE', `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?` + `)?)?`);
|
|
122
|
+
createToken('XRANGE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`);
|
|
123
|
+
createToken('XRANGELOOSE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
|
|
124
|
+
createToken('COERCE', `${'(^|[^\\d])' + '(\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` + `(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` + `(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` + `(?:$|[^\\d])`);
|
|
125
|
+
createToken('COERCERTL', src[t.COERCE], true);
|
|
126
|
+
createToken('LONETILDE', '(?:~>?)');
|
|
127
|
+
createToken('TILDETRIM', `(\\s*)${src[t.LONETILDE]}\\s+`, true);
|
|
128
|
+
exports.tildeTrimReplace = '$1~';
|
|
129
|
+
createToken('TILDE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);
|
|
130
|
+
createToken('TILDELOOSE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);
|
|
131
|
+
createToken('LONECARET', '(?:\\^)');
|
|
132
|
+
createToken('CARETTRIM', `(\\s*)${src[t.LONECARET]}\\s+`, true);
|
|
133
|
+
exports.caretTrimReplace = '$1^';
|
|
134
|
+
createToken('CARET', `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);
|
|
135
|
+
createToken('CARETLOOSE', `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);
|
|
136
|
+
createToken('COMPARATORLOOSE', `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`);
|
|
137
|
+
createToken('COMPARATOR', `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`);
|
|
138
|
+
createToken('COMPARATORTRIM', `(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);
|
|
139
|
+
exports.comparatorTrimReplace = '$1$2$3';
|
|
140
|
+
createToken('HYPHENRANGE', `^\\s*(${src[t.XRANGEPLAIN]})` + `\\s+-\\s+` + `(${src[t.XRANGEPLAIN]})` + `\\s*$`);
|
|
141
|
+
createToken('HYPHENRANGELOOSE', `^\\s*(${src[t.XRANGEPLAINLOOSE]})` + `\\s+-\\s+` + `(${src[t.XRANGEPLAINLOOSE]})` + `\\s*$`);
|
|
142
|
+
createToken('STAR', '(<|>)?=?\\s*\\*');
|
|
143
|
+
createToken('GTE0', '^\\s*>=\\s*0\\.0\\.0\\s*$');
|
|
144
|
+
createToken('GTE0PRE', '^\\s*>=\\s*0\\.0\\.0-0\\s*$');
|
|
145
|
+
})(re$3, re$3.exports);
|
|
146
|
+
|
|
147
|
+
const opts = ['includePrerelease', 'loose', 'rtl'];
|
|
148
|
+
|
|
149
|
+
const parseOptions$2 = options => !options ? {} : typeof options !== 'object' ? {
|
|
150
|
+
loose: true
|
|
151
|
+
} : opts.filter(k => options[k]).reduce((o, k) => {
|
|
152
|
+
o[k] = true;
|
|
153
|
+
return o;
|
|
154
|
+
}, {});
|
|
155
|
+
|
|
156
|
+
var parseOptions_1 = parseOptions$2;
|
|
157
|
+
const numeric = /^[0-9]+$/;
|
|
158
|
+
|
|
159
|
+
const compareIdentifiers$1 = (a, b) => {
|
|
160
|
+
const anum = numeric.test(a);
|
|
161
|
+
const bnum = numeric.test(b);
|
|
162
|
+
|
|
163
|
+
if (anum && bnum) {
|
|
164
|
+
a = +a;
|
|
165
|
+
b = +b;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
const rcompareIdentifiers = (a, b) => compareIdentifiers$1(b, a);
|
|
172
|
+
|
|
173
|
+
var identifiers = {
|
|
174
|
+
compareIdentifiers: compareIdentifiers$1,
|
|
175
|
+
rcompareIdentifiers
|
|
176
|
+
};
|
|
177
|
+
const debug = debug_1;
|
|
178
|
+
const {
|
|
179
|
+
MAX_LENGTH: MAX_LENGTH$1,
|
|
180
|
+
MAX_SAFE_INTEGER
|
|
181
|
+
} = constants;
|
|
182
|
+
const {
|
|
183
|
+
re: re$2,
|
|
184
|
+
t: t$2
|
|
185
|
+
} = re$3.exports;
|
|
186
|
+
const parseOptions$1 = parseOptions_1;
|
|
187
|
+
const {
|
|
188
|
+
compareIdentifiers
|
|
189
|
+
} = identifiers;
|
|
190
|
+
|
|
191
|
+
class SemVer$c {
|
|
192
|
+
constructor(version, options) {
|
|
193
|
+
options = parseOptions$1(options);
|
|
194
|
+
|
|
195
|
+
if (version instanceof SemVer$c) {
|
|
196
|
+
if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) {
|
|
197
|
+
return version;
|
|
198
|
+
} else {
|
|
199
|
+
version = version.version;
|
|
200
|
+
}
|
|
201
|
+
} else if (typeof version !== 'string') {
|
|
202
|
+
throw new TypeError(`Invalid Version: ${version}`);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
if (version.length > MAX_LENGTH$1) {
|
|
206
|
+
throw new TypeError(`version is longer than ${MAX_LENGTH$1} characters`);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
debug('SemVer', version, options);
|
|
210
|
+
this.options = options;
|
|
211
|
+
this.loose = !!options.loose;
|
|
212
|
+
this.includePrerelease = !!options.includePrerelease;
|
|
213
|
+
const m = version.trim().match(options.loose ? re$2[t$2.LOOSE] : re$2[t$2.FULL]);
|
|
214
|
+
|
|
215
|
+
if (!m) {
|
|
216
|
+
throw new TypeError(`Invalid Version: ${version}`);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
this.raw = version;
|
|
220
|
+
this.major = +m[1];
|
|
221
|
+
this.minor = +m[2];
|
|
222
|
+
this.patch = +m[3];
|
|
223
|
+
|
|
224
|
+
if (this.major > MAX_SAFE_INTEGER || this.major < 0) {
|
|
225
|
+
throw new TypeError('Invalid major version');
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {
|
|
229
|
+
throw new TypeError('Invalid minor version');
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {
|
|
233
|
+
throw new TypeError('Invalid patch version');
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
if (!m[4]) {
|
|
237
|
+
this.prerelease = [];
|
|
238
|
+
} else {
|
|
239
|
+
this.prerelease = m[4].split('.').map(id => {
|
|
240
|
+
if (/^[0-9]+$/.test(id)) {
|
|
241
|
+
const num = +id;
|
|
242
|
+
|
|
243
|
+
if (num >= 0 && num < MAX_SAFE_INTEGER) {
|
|
244
|
+
return num;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
return id;
|
|
249
|
+
});
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
this.build = m[5] ? m[5].split('.') : [];
|
|
253
|
+
this.format();
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
format() {
|
|
257
|
+
this.version = `${this.major}.${this.minor}.${this.patch}`;
|
|
258
|
+
|
|
259
|
+
if (this.prerelease.length) {
|
|
260
|
+
this.version += `-${this.prerelease.join('.')}`;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
return this.version;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
toString() {
|
|
267
|
+
return this.version;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
compare(other) {
|
|
271
|
+
debug('SemVer.compare', this.version, this.options, other);
|
|
272
|
+
|
|
273
|
+
if (!(other instanceof SemVer$c)) {
|
|
274
|
+
if (typeof other === 'string' && other === this.version) {
|
|
275
|
+
return 0;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
other = new SemVer$c(other, this.options);
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
if (other.version === this.version) {
|
|
282
|
+
return 0;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
return this.compareMain(other) || this.comparePre(other);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
compareMain(other) {
|
|
289
|
+
if (!(other instanceof SemVer$c)) {
|
|
290
|
+
other = new SemVer$c(other, this.options);
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
comparePre(other) {
|
|
297
|
+
if (!(other instanceof SemVer$c)) {
|
|
298
|
+
other = new SemVer$c(other, this.options);
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
if (this.prerelease.length && !other.prerelease.length) {
|
|
302
|
+
return -1;
|
|
303
|
+
} else if (!this.prerelease.length && other.prerelease.length) {
|
|
304
|
+
return 1;
|
|
305
|
+
} else if (!this.prerelease.length && !other.prerelease.length) {
|
|
306
|
+
return 0;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
let i = 0;
|
|
310
|
+
|
|
311
|
+
do {
|
|
312
|
+
const a = this.prerelease[i];
|
|
313
|
+
const b = other.prerelease[i];
|
|
314
|
+
debug('prerelease compare', i, a, b);
|
|
315
|
+
|
|
316
|
+
if (a === undefined && b === undefined) {
|
|
317
|
+
return 0;
|
|
318
|
+
} else if (b === undefined) {
|
|
319
|
+
return 1;
|
|
320
|
+
} else if (a === undefined) {
|
|
321
|
+
return -1;
|
|
322
|
+
} else if (a === b) {
|
|
323
|
+
continue;
|
|
324
|
+
} else {
|
|
325
|
+
return compareIdentifiers(a, b);
|
|
326
|
+
}
|
|
327
|
+
} while (++i);
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
compareBuild(other) {
|
|
331
|
+
if (!(other instanceof SemVer$c)) {
|
|
332
|
+
other = new SemVer$c(other, this.options);
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
let i = 0;
|
|
336
|
+
|
|
337
|
+
do {
|
|
338
|
+
const a = this.build[i];
|
|
339
|
+
const b = other.build[i];
|
|
340
|
+
debug('prerelease compare', i, a, b);
|
|
341
|
+
|
|
342
|
+
if (a === undefined && b === undefined) {
|
|
343
|
+
return 0;
|
|
344
|
+
} else if (b === undefined) {
|
|
345
|
+
return 1;
|
|
346
|
+
} else if (a === undefined) {
|
|
347
|
+
return -1;
|
|
348
|
+
} else if (a === b) {
|
|
349
|
+
continue;
|
|
350
|
+
} else {
|
|
351
|
+
return compareIdentifiers(a, b);
|
|
352
|
+
}
|
|
353
|
+
} while (++i);
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
inc(release, identifier) {
|
|
357
|
+
switch (release) {
|
|
358
|
+
case 'premajor':
|
|
359
|
+
this.prerelease.length = 0;
|
|
360
|
+
this.patch = 0;
|
|
361
|
+
this.minor = 0;
|
|
362
|
+
this.major++;
|
|
363
|
+
this.inc('pre', identifier);
|
|
364
|
+
break;
|
|
365
|
+
|
|
366
|
+
case 'preminor':
|
|
367
|
+
this.prerelease.length = 0;
|
|
368
|
+
this.patch = 0;
|
|
369
|
+
this.minor++;
|
|
370
|
+
this.inc('pre', identifier);
|
|
371
|
+
break;
|
|
372
|
+
|
|
373
|
+
case 'prepatch':
|
|
374
|
+
this.prerelease.length = 0;
|
|
375
|
+
this.inc('patch', identifier);
|
|
376
|
+
this.inc('pre', identifier);
|
|
377
|
+
break;
|
|
378
|
+
|
|
379
|
+
case 'prerelease':
|
|
380
|
+
if (this.prerelease.length === 0) {
|
|
381
|
+
this.inc('patch', identifier);
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
this.inc('pre', identifier);
|
|
385
|
+
break;
|
|
386
|
+
|
|
387
|
+
case 'major':
|
|
388
|
+
if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) {
|
|
389
|
+
this.major++;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
this.minor = 0;
|
|
393
|
+
this.patch = 0;
|
|
394
|
+
this.prerelease = [];
|
|
395
|
+
break;
|
|
396
|
+
|
|
397
|
+
case 'minor':
|
|
398
|
+
if (this.patch !== 0 || this.prerelease.length === 0) {
|
|
399
|
+
this.minor++;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
this.patch = 0;
|
|
403
|
+
this.prerelease = [];
|
|
404
|
+
break;
|
|
405
|
+
|
|
406
|
+
case 'patch':
|
|
407
|
+
if (this.prerelease.length === 0) {
|
|
408
|
+
this.patch++;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
this.prerelease = [];
|
|
412
|
+
break;
|
|
413
|
+
|
|
414
|
+
case 'pre':
|
|
415
|
+
if (this.prerelease.length === 0) {
|
|
416
|
+
this.prerelease = [0];
|
|
417
|
+
} else {
|
|
418
|
+
let i = this.prerelease.length;
|
|
419
|
+
|
|
420
|
+
while (--i >= 0) {
|
|
421
|
+
if (typeof this.prerelease[i] === 'number') {
|
|
422
|
+
this.prerelease[i]++;
|
|
423
|
+
i = -2;
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
if (i === -1) {
|
|
428
|
+
this.prerelease.push(0);
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
if (identifier) {
|
|
433
|
+
if (compareIdentifiers(this.prerelease[0], identifier) === 0) {
|
|
434
|
+
if (isNaN(this.prerelease[1])) {
|
|
435
|
+
this.prerelease = [identifier, 0];
|
|
436
|
+
}
|
|
437
|
+
} else {
|
|
438
|
+
this.prerelease = [identifier, 0];
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
break;
|
|
443
|
+
|
|
444
|
+
default:
|
|
445
|
+
throw new Error(`invalid increment argument: ${release}`);
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
this.format();
|
|
449
|
+
this.raw = this.version;
|
|
450
|
+
return this;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
var semver$2 = SemVer$c;
|
|
456
|
+
const {
|
|
457
|
+
MAX_LENGTH
|
|
458
|
+
} = constants;
|
|
459
|
+
const {
|
|
460
|
+
re: re$1,
|
|
461
|
+
t: t$1
|
|
462
|
+
} = re$3.exports;
|
|
463
|
+
const SemVer$b = semver$2;
|
|
464
|
+
const parseOptions = parseOptions_1;
|
|
465
|
+
|
|
466
|
+
const parse$5 = (version, options) => {
|
|
467
|
+
options = parseOptions(options);
|
|
468
|
+
|
|
469
|
+
if (version instanceof SemVer$b) {
|
|
470
|
+
return version;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
if (typeof version !== 'string') {
|
|
474
|
+
return null;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
if (version.length > MAX_LENGTH) {
|
|
478
|
+
return null;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
const r = options.loose ? re$1[t$1.LOOSE] : re$1[t$1.FULL];
|
|
482
|
+
|
|
483
|
+
if (!r.test(version)) {
|
|
484
|
+
return null;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
try {
|
|
488
|
+
return new SemVer$b(version, options);
|
|
489
|
+
} catch (er) {
|
|
490
|
+
return null;
|
|
491
|
+
}
|
|
492
|
+
};
|
|
493
|
+
|
|
494
|
+
var parse_1 = parse$5;
|
|
495
|
+
const parse$4 = parse_1;
|
|
496
|
+
|
|
497
|
+
const valid$1 = (version, options) => {
|
|
498
|
+
const v = parse$4(version, options);
|
|
499
|
+
return v ? v.version : null;
|
|
500
|
+
};
|
|
501
|
+
|
|
502
|
+
var valid_1 = valid$1;
|
|
503
|
+
const parse$3 = parse_1;
|
|
504
|
+
|
|
505
|
+
const clean = (version, options) => {
|
|
506
|
+
const s = parse$3(version.trim().replace(/^[=v]+/, ''), options);
|
|
507
|
+
return s ? s.version : null;
|
|
508
|
+
};
|
|
509
|
+
|
|
510
|
+
var clean_1 = clean;
|
|
511
|
+
const SemVer$a = semver$2;
|
|
512
|
+
|
|
513
|
+
const inc = (version, release, options, identifier) => {
|
|
514
|
+
if (typeof options === 'string') {
|
|
515
|
+
identifier = options;
|
|
516
|
+
options = undefined;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
try {
|
|
520
|
+
return new SemVer$a(version instanceof SemVer$a ? version.version : version, options).inc(release, identifier).version;
|
|
521
|
+
} catch (er) {
|
|
522
|
+
return null;
|
|
523
|
+
}
|
|
524
|
+
};
|
|
525
|
+
|
|
526
|
+
var inc_1 = inc;
|
|
527
|
+
const SemVer$9 = semver$2;
|
|
528
|
+
|
|
529
|
+
const compare$a = (a, b, loose) => new SemVer$9(a, loose).compare(new SemVer$9(b, loose));
|
|
530
|
+
|
|
531
|
+
var compare_1 = compare$a;
|
|
532
|
+
const compare$9 = compare_1;
|
|
533
|
+
|
|
534
|
+
const eq$2 = (a, b, loose) => compare$9(a, b, loose) === 0;
|
|
535
|
+
|
|
536
|
+
var eq_1 = eq$2;
|
|
537
|
+
const parse$2 = parse_1;
|
|
538
|
+
const eq$1 = eq_1;
|
|
539
|
+
|
|
540
|
+
const diff = (version1, version2) => {
|
|
541
|
+
if (eq$1(version1, version2)) {
|
|
542
|
+
return null;
|
|
543
|
+
} else {
|
|
544
|
+
const v1 = parse$2(version1);
|
|
545
|
+
const v2 = parse$2(version2);
|
|
546
|
+
const hasPre = v1.prerelease.length || v2.prerelease.length;
|
|
547
|
+
const prefix = hasPre ? 'pre' : '';
|
|
548
|
+
const defaultResult = hasPre ? 'prerelease' : '';
|
|
549
|
+
|
|
550
|
+
for (const key in v1) {
|
|
551
|
+
if (key === 'major' || key === 'minor' || key === 'patch') {
|
|
552
|
+
if (v1[key] !== v2[key]) {
|
|
553
|
+
return prefix + key;
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
return defaultResult;
|
|
559
|
+
}
|
|
560
|
+
};
|
|
561
|
+
|
|
562
|
+
var diff_1 = diff;
|
|
563
|
+
const SemVer$8 = semver$2;
|
|
564
|
+
|
|
565
|
+
const major = (a, loose) => new SemVer$8(a, loose).major;
|
|
566
|
+
|
|
567
|
+
var major_1 = major;
|
|
568
|
+
const SemVer$7 = semver$2;
|
|
569
|
+
|
|
570
|
+
const minor = (a, loose) => new SemVer$7(a, loose).minor;
|
|
571
|
+
|
|
572
|
+
var minor_1 = minor;
|
|
573
|
+
const SemVer$6 = semver$2;
|
|
574
|
+
|
|
575
|
+
const patch = (a, loose) => new SemVer$6(a, loose).patch;
|
|
576
|
+
|
|
577
|
+
var patch_1 = patch;
|
|
578
|
+
const parse$1 = parse_1;
|
|
579
|
+
|
|
580
|
+
const prerelease = (version, options) => {
|
|
581
|
+
const parsed = parse$1(version, options);
|
|
582
|
+
return parsed && parsed.prerelease.length ? parsed.prerelease : null;
|
|
583
|
+
};
|
|
584
|
+
|
|
585
|
+
var prerelease_1 = prerelease;
|
|
586
|
+
const compare$8 = compare_1;
|
|
587
|
+
|
|
588
|
+
const rcompare = (a, b, loose) => compare$8(b, a, loose);
|
|
589
|
+
|
|
590
|
+
var rcompare_1 = rcompare;
|
|
591
|
+
const compare$7 = compare_1;
|
|
592
|
+
|
|
593
|
+
const compareLoose = (a, b) => compare$7(a, b, true);
|
|
594
|
+
|
|
595
|
+
var compareLoose_1 = compareLoose;
|
|
596
|
+
const SemVer$5 = semver$2;
|
|
597
|
+
|
|
598
|
+
const compareBuild$2 = (a, b, loose) => {
|
|
599
|
+
const versionA = new SemVer$5(a, loose);
|
|
600
|
+
const versionB = new SemVer$5(b, loose);
|
|
601
|
+
return versionA.compare(versionB) || versionA.compareBuild(versionB);
|
|
602
|
+
};
|
|
603
|
+
|
|
604
|
+
var compareBuild_1 = compareBuild$2;
|
|
605
|
+
const compareBuild$1 = compareBuild_1;
|
|
606
|
+
|
|
607
|
+
const sort = (list, loose) => list.sort((a, b) => compareBuild$1(a, b, loose));
|
|
608
|
+
|
|
609
|
+
var sort_1 = sort;
|
|
610
|
+
const compareBuild = compareBuild_1;
|
|
611
|
+
|
|
612
|
+
const rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
|
|
613
|
+
|
|
614
|
+
var rsort_1 = rsort;
|
|
615
|
+
const compare$6 = compare_1;
|
|
616
|
+
|
|
617
|
+
const gt$3 = (a, b, loose) => compare$6(a, b, loose) > 0;
|
|
618
|
+
|
|
619
|
+
var gt_1 = gt$3;
|
|
620
|
+
const compare$5 = compare_1;
|
|
621
|
+
|
|
622
|
+
const lt$2 = (a, b, loose) => compare$5(a, b, loose) < 0;
|
|
623
|
+
|
|
624
|
+
var lt_1 = lt$2;
|
|
625
|
+
const compare$4 = compare_1;
|
|
626
|
+
|
|
627
|
+
const neq$1 = (a, b, loose) => compare$4(a, b, loose) !== 0;
|
|
628
|
+
|
|
629
|
+
var neq_1 = neq$1;
|
|
630
|
+
const compare$3 = compare_1;
|
|
631
|
+
|
|
632
|
+
const gte$2 = (a, b, loose) => compare$3(a, b, loose) >= 0;
|
|
633
|
+
|
|
634
|
+
var gte_1 = gte$2;
|
|
635
|
+
const compare$2 = compare_1;
|
|
636
|
+
|
|
637
|
+
const lte$2 = (a, b, loose) => compare$2(a, b, loose) <= 0;
|
|
638
|
+
|
|
639
|
+
var lte_1 = lte$2;
|
|
640
|
+
const eq = eq_1;
|
|
641
|
+
const neq = neq_1;
|
|
642
|
+
const gt$2 = gt_1;
|
|
643
|
+
const gte$1 = gte_1;
|
|
644
|
+
const lt$1 = lt_1;
|
|
645
|
+
const lte$1 = lte_1;
|
|
646
|
+
|
|
647
|
+
const cmp = (a, op, b, loose) => {
|
|
648
|
+
switch (op) {
|
|
649
|
+
case '===':
|
|
650
|
+
if (typeof a === 'object') {
|
|
651
|
+
a = a.version;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
if (typeof b === 'object') {
|
|
655
|
+
b = b.version;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
return a === b;
|
|
659
|
+
|
|
660
|
+
case '!==':
|
|
661
|
+
if (typeof a === 'object') {
|
|
662
|
+
a = a.version;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
if (typeof b === 'object') {
|
|
666
|
+
b = b.version;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
return a !== b;
|
|
670
|
+
|
|
671
|
+
case '':
|
|
672
|
+
case '=':
|
|
673
|
+
case '==':
|
|
674
|
+
return eq(a, b, loose);
|
|
675
|
+
|
|
676
|
+
case '!=':
|
|
677
|
+
return neq(a, b, loose);
|
|
678
|
+
|
|
679
|
+
case '>':
|
|
680
|
+
return gt$2(a, b, loose);
|
|
681
|
+
|
|
682
|
+
case '>=':
|
|
683
|
+
return gte$1(a, b, loose);
|
|
684
|
+
|
|
685
|
+
case '<':
|
|
686
|
+
return lt$1(a, b, loose);
|
|
687
|
+
|
|
688
|
+
case '<=':
|
|
689
|
+
return lte$1(a, b, loose);
|
|
690
|
+
|
|
691
|
+
default:
|
|
692
|
+
throw new TypeError(`Invalid operator: ${op}`);
|
|
693
|
+
}
|
|
694
|
+
};
|
|
695
|
+
|
|
696
|
+
var cmp_1 = cmp;
|
|
697
|
+
const SemVer$4 = semver$2;
|
|
698
|
+
const parse = parse_1;
|
|
699
|
+
const {
|
|
700
|
+
re,
|
|
701
|
+
t
|
|
702
|
+
} = re$3.exports;
|
|
703
|
+
|
|
704
|
+
const coerce = (version, options) => {
|
|
705
|
+
if (version instanceof SemVer$4) {
|
|
706
|
+
return version;
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
if (typeof version === 'number') {
|
|
710
|
+
version = String(version);
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
if (typeof version !== 'string') {
|
|
714
|
+
return null;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
options = options || {};
|
|
718
|
+
let match = null;
|
|
719
|
+
|
|
720
|
+
if (!options.rtl) {
|
|
721
|
+
match = version.match(re[t.COERCE]);
|
|
722
|
+
} else {
|
|
723
|
+
let next;
|
|
724
|
+
|
|
725
|
+
while ((next = re[t.COERCERTL].exec(version)) && (!match || match.index + match[0].length !== version.length)) {
|
|
726
|
+
if (!match || next.index + next[0].length !== match.index + match[0].length) {
|
|
727
|
+
match = next;
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
re[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
re[t.COERCERTL].lastIndex = -1;
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
if (match === null) {
|
|
737
|
+
return null;
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
return parse(`${match[2]}.${match[3] || '0'}.${match[4] || '0'}`, options);
|
|
741
|
+
};
|
|
742
|
+
|
|
743
|
+
var coerce_1 = coerce;
|
|
744
|
+
var iterator;
|
|
745
|
+
var hasRequiredIterator;
|
|
746
|
+
|
|
747
|
+
function requireIterator() {
|
|
748
|
+
if (hasRequiredIterator) return iterator;
|
|
749
|
+
hasRequiredIterator = 1;
|
|
750
|
+
|
|
751
|
+
iterator = function (Yallist) {
|
|
752
|
+
Yallist.prototype[Symbol.iterator] = function* () {
|
|
753
|
+
for (let walker = this.head; walker; walker = walker.next) {
|
|
754
|
+
yield walker.value;
|
|
755
|
+
}
|
|
756
|
+
};
|
|
757
|
+
};
|
|
758
|
+
|
|
759
|
+
return iterator;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
var yallist;
|
|
763
|
+
var hasRequiredYallist;
|
|
764
|
+
|
|
765
|
+
function requireYallist() {
|
|
766
|
+
if (hasRequiredYallist) return yallist;
|
|
767
|
+
hasRequiredYallist = 1;
|
|
768
|
+
yallist = Yallist;
|
|
769
|
+
Yallist.Node = Node;
|
|
770
|
+
Yallist.create = Yallist;
|
|
771
|
+
|
|
772
|
+
function Yallist(list) {
|
|
773
|
+
var self = this;
|
|
774
|
+
|
|
775
|
+
if (!(self instanceof Yallist)) {
|
|
776
|
+
self = new Yallist();
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
self.tail = null;
|
|
780
|
+
self.head = null;
|
|
781
|
+
self.length = 0;
|
|
782
|
+
|
|
783
|
+
if (list && typeof list.forEach === 'function') {
|
|
784
|
+
list.forEach(function (item) {
|
|
785
|
+
self.push(item);
|
|
786
|
+
});
|
|
787
|
+
} else if (arguments.length > 0) {
|
|
788
|
+
for (var i = 0, l = arguments.length; i < l; i++) {
|
|
789
|
+
self.push(arguments[i]);
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
return self;
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
Yallist.prototype.removeNode = function (node) {
|
|
797
|
+
if (node.list !== this) {
|
|
798
|
+
throw new Error('removing node which does not belong to this list');
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
var next = node.next;
|
|
802
|
+
var prev = node.prev;
|
|
803
|
+
|
|
804
|
+
if (next) {
|
|
805
|
+
next.prev = prev;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
if (prev) {
|
|
809
|
+
prev.next = next;
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
if (node === this.head) {
|
|
813
|
+
this.head = next;
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
if (node === this.tail) {
|
|
817
|
+
this.tail = prev;
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
node.list.length--;
|
|
821
|
+
node.next = null;
|
|
822
|
+
node.prev = null;
|
|
823
|
+
node.list = null;
|
|
824
|
+
return next;
|
|
825
|
+
};
|
|
826
|
+
|
|
827
|
+
Yallist.prototype.unshiftNode = function (node) {
|
|
828
|
+
if (node === this.head) {
|
|
829
|
+
return;
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
if (node.list) {
|
|
833
|
+
node.list.removeNode(node);
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
var head = this.head;
|
|
837
|
+
node.list = this;
|
|
838
|
+
node.next = head;
|
|
839
|
+
|
|
840
|
+
if (head) {
|
|
841
|
+
head.prev = node;
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
this.head = node;
|
|
845
|
+
|
|
846
|
+
if (!this.tail) {
|
|
847
|
+
this.tail = node;
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
this.length++;
|
|
851
|
+
};
|
|
852
|
+
|
|
853
|
+
Yallist.prototype.pushNode = function (node) {
|
|
854
|
+
if (node === this.tail) {
|
|
855
|
+
return;
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
if (node.list) {
|
|
859
|
+
node.list.removeNode(node);
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
var tail = this.tail;
|
|
863
|
+
node.list = this;
|
|
864
|
+
node.prev = tail;
|
|
865
|
+
|
|
866
|
+
if (tail) {
|
|
867
|
+
tail.next = node;
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
this.tail = node;
|
|
871
|
+
|
|
872
|
+
if (!this.head) {
|
|
873
|
+
this.head = node;
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
this.length++;
|
|
877
|
+
};
|
|
878
|
+
|
|
879
|
+
Yallist.prototype.push = function () {
|
|
880
|
+
for (var i = 0, l = arguments.length; i < l; i++) {
|
|
881
|
+
push(this, arguments[i]);
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
return this.length;
|
|
885
|
+
};
|
|
886
|
+
|
|
887
|
+
Yallist.prototype.unshift = function () {
|
|
888
|
+
for (var i = 0, l = arguments.length; i < l; i++) {
|
|
889
|
+
unshift(this, arguments[i]);
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
return this.length;
|
|
893
|
+
};
|
|
894
|
+
|
|
895
|
+
Yallist.prototype.pop = function () {
|
|
896
|
+
if (!this.tail) {
|
|
897
|
+
return undefined;
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
var res = this.tail.value;
|
|
901
|
+
this.tail = this.tail.prev;
|
|
902
|
+
|
|
903
|
+
if (this.tail) {
|
|
904
|
+
this.tail.next = null;
|
|
905
|
+
} else {
|
|
906
|
+
this.head = null;
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
this.length--;
|
|
910
|
+
return res;
|
|
911
|
+
};
|
|
912
|
+
|
|
913
|
+
Yallist.prototype.shift = function () {
|
|
914
|
+
if (!this.head) {
|
|
915
|
+
return undefined;
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
var res = this.head.value;
|
|
919
|
+
this.head = this.head.next;
|
|
920
|
+
|
|
921
|
+
if (this.head) {
|
|
922
|
+
this.head.prev = null;
|
|
923
|
+
} else {
|
|
924
|
+
this.tail = null;
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
this.length--;
|
|
928
|
+
return res;
|
|
929
|
+
};
|
|
930
|
+
|
|
931
|
+
Yallist.prototype.forEach = function (fn, thisp) {
|
|
932
|
+
thisp = thisp || this;
|
|
933
|
+
|
|
934
|
+
for (var walker = this.head, i = 0; walker !== null; i++) {
|
|
935
|
+
fn.call(thisp, walker.value, i, this);
|
|
936
|
+
walker = walker.next;
|
|
937
|
+
}
|
|
938
|
+
};
|
|
939
|
+
|
|
940
|
+
Yallist.prototype.forEachReverse = function (fn, thisp) {
|
|
941
|
+
thisp = thisp || this;
|
|
942
|
+
|
|
943
|
+
for (var walker = this.tail, i = this.length - 1; walker !== null; i--) {
|
|
944
|
+
fn.call(thisp, walker.value, i, this);
|
|
945
|
+
walker = walker.prev;
|
|
946
|
+
}
|
|
947
|
+
};
|
|
948
|
+
|
|
949
|
+
Yallist.prototype.get = function (n) {
|
|
950
|
+
for (var i = 0, walker = this.head; walker !== null && i < n; i++) {
|
|
951
|
+
walker = walker.next;
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
if (i === n && walker !== null) {
|
|
955
|
+
return walker.value;
|
|
956
|
+
}
|
|
957
|
+
};
|
|
958
|
+
|
|
959
|
+
Yallist.prototype.getReverse = function (n) {
|
|
960
|
+
for (var i = 0, walker = this.tail; walker !== null && i < n; i++) {
|
|
961
|
+
walker = walker.prev;
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
if (i === n && walker !== null) {
|
|
965
|
+
return walker.value;
|
|
966
|
+
}
|
|
967
|
+
};
|
|
968
|
+
|
|
969
|
+
Yallist.prototype.map = function (fn, thisp) {
|
|
970
|
+
thisp = thisp || this;
|
|
971
|
+
var res = new Yallist();
|
|
972
|
+
|
|
973
|
+
for (var walker = this.head; walker !== null;) {
|
|
974
|
+
res.push(fn.call(thisp, walker.value, this));
|
|
975
|
+
walker = walker.next;
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
return res;
|
|
979
|
+
};
|
|
980
|
+
|
|
981
|
+
Yallist.prototype.mapReverse = function (fn, thisp) {
|
|
982
|
+
thisp = thisp || this;
|
|
983
|
+
var res = new Yallist();
|
|
984
|
+
|
|
985
|
+
for (var walker = this.tail; walker !== null;) {
|
|
986
|
+
res.push(fn.call(thisp, walker.value, this));
|
|
987
|
+
walker = walker.prev;
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
return res;
|
|
991
|
+
};
|
|
992
|
+
|
|
993
|
+
Yallist.prototype.reduce = function (fn, initial) {
|
|
994
|
+
var acc;
|
|
995
|
+
var walker = this.head;
|
|
996
|
+
|
|
997
|
+
if (arguments.length > 1) {
|
|
998
|
+
acc = initial;
|
|
999
|
+
} else if (this.head) {
|
|
1000
|
+
walker = this.head.next;
|
|
1001
|
+
acc = this.head.value;
|
|
1002
|
+
} else {
|
|
1003
|
+
throw new TypeError('Reduce of empty list with no initial value');
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
for (var i = 0; walker !== null; i++) {
|
|
1007
|
+
acc = fn(acc, walker.value, i);
|
|
1008
|
+
walker = walker.next;
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
return acc;
|
|
1012
|
+
};
|
|
1013
|
+
|
|
1014
|
+
Yallist.prototype.reduceReverse = function (fn, initial) {
|
|
1015
|
+
var acc;
|
|
1016
|
+
var walker = this.tail;
|
|
1017
|
+
|
|
1018
|
+
if (arguments.length > 1) {
|
|
1019
|
+
acc = initial;
|
|
1020
|
+
} else if (this.tail) {
|
|
1021
|
+
walker = this.tail.prev;
|
|
1022
|
+
acc = this.tail.value;
|
|
1023
|
+
} else {
|
|
1024
|
+
throw new TypeError('Reduce of empty list with no initial value');
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
for (var i = this.length - 1; walker !== null; i--) {
|
|
1028
|
+
acc = fn(acc, walker.value, i);
|
|
1029
|
+
walker = walker.prev;
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
return acc;
|
|
1033
|
+
};
|
|
1034
|
+
|
|
1035
|
+
Yallist.prototype.toArray = function () {
|
|
1036
|
+
var arr = new Array(this.length);
|
|
1037
|
+
|
|
1038
|
+
for (var i = 0, walker = this.head; walker !== null; i++) {
|
|
1039
|
+
arr[i] = walker.value;
|
|
1040
|
+
walker = walker.next;
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
return arr;
|
|
1044
|
+
};
|
|
1045
|
+
|
|
1046
|
+
Yallist.prototype.toArrayReverse = function () {
|
|
1047
|
+
var arr = new Array(this.length);
|
|
1048
|
+
|
|
1049
|
+
for (var i = 0, walker = this.tail; walker !== null; i++) {
|
|
1050
|
+
arr[i] = walker.value;
|
|
1051
|
+
walker = walker.prev;
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
return arr;
|
|
1055
|
+
};
|
|
1056
|
+
|
|
1057
|
+
Yallist.prototype.slice = function (from, to) {
|
|
1058
|
+
to = to || this.length;
|
|
1059
|
+
|
|
1060
|
+
if (to < 0) {
|
|
1061
|
+
to += this.length;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
from = from || 0;
|
|
1065
|
+
|
|
1066
|
+
if (from < 0) {
|
|
1067
|
+
from += this.length;
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
var ret = new Yallist();
|
|
1071
|
+
|
|
1072
|
+
if (to < from || to < 0) {
|
|
1073
|
+
return ret;
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
if (from < 0) {
|
|
1077
|
+
from = 0;
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
if (to > this.length) {
|
|
1081
|
+
to = this.length;
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
for (var i = 0, walker = this.head; walker !== null && i < from; i++) {
|
|
1085
|
+
walker = walker.next;
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
for (; walker !== null && i < to; i++, walker = walker.next) {
|
|
1089
|
+
ret.push(walker.value);
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
return ret;
|
|
1093
|
+
};
|
|
1094
|
+
|
|
1095
|
+
Yallist.prototype.sliceReverse = function (from, to) {
|
|
1096
|
+
to = to || this.length;
|
|
1097
|
+
|
|
1098
|
+
if (to < 0) {
|
|
1099
|
+
to += this.length;
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
from = from || 0;
|
|
1103
|
+
|
|
1104
|
+
if (from < 0) {
|
|
1105
|
+
from += this.length;
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
var ret = new Yallist();
|
|
1109
|
+
|
|
1110
|
+
if (to < from || to < 0) {
|
|
1111
|
+
return ret;
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
if (from < 0) {
|
|
1115
|
+
from = 0;
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
if (to > this.length) {
|
|
1119
|
+
to = this.length;
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
for (var i = this.length, walker = this.tail; walker !== null && i > to; i--) {
|
|
1123
|
+
walker = walker.prev;
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
for (; walker !== null && i > from; i--, walker = walker.prev) {
|
|
1127
|
+
ret.push(walker.value);
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
return ret;
|
|
1131
|
+
};
|
|
1132
|
+
|
|
1133
|
+
Yallist.prototype.splice = function (start, deleteCount, ...nodes) {
|
|
1134
|
+
if (start > this.length) {
|
|
1135
|
+
start = this.length - 1;
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
if (start < 0) {
|
|
1139
|
+
start = this.length + start;
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
for (var i = 0, walker = this.head; walker !== null && i < start; i++) {
|
|
1143
|
+
walker = walker.next;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
var ret = [];
|
|
1147
|
+
|
|
1148
|
+
for (var i = 0; walker && i < deleteCount; i++) {
|
|
1149
|
+
ret.push(walker.value);
|
|
1150
|
+
walker = this.removeNode(walker);
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
if (walker === null) {
|
|
1154
|
+
walker = this.tail;
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
if (walker !== this.head && walker !== this.tail) {
|
|
1158
|
+
walker = walker.prev;
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
for (var i = 0; i < nodes.length; i++) {
|
|
1162
|
+
walker = insert(this, walker, nodes[i]);
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
return ret;
|
|
1166
|
+
};
|
|
1167
|
+
|
|
1168
|
+
Yallist.prototype.reverse = function () {
|
|
1169
|
+
var head = this.head;
|
|
1170
|
+
var tail = this.tail;
|
|
1171
|
+
|
|
1172
|
+
for (var walker = head; walker !== null; walker = walker.prev) {
|
|
1173
|
+
var p = walker.prev;
|
|
1174
|
+
walker.prev = walker.next;
|
|
1175
|
+
walker.next = p;
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
this.head = tail;
|
|
1179
|
+
this.tail = head;
|
|
1180
|
+
return this;
|
|
1181
|
+
};
|
|
1182
|
+
|
|
1183
|
+
function insert(self, node, value) {
|
|
1184
|
+
var inserted = node === self.head ? new Node(value, null, node, self) : new Node(value, node, node.next, self);
|
|
1185
|
+
|
|
1186
|
+
if (inserted.next === null) {
|
|
1187
|
+
self.tail = inserted;
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
if (inserted.prev === null) {
|
|
1191
|
+
self.head = inserted;
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
self.length++;
|
|
1195
|
+
return inserted;
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
function push(self, item) {
|
|
1199
|
+
self.tail = new Node(item, self.tail, null, self);
|
|
1200
|
+
|
|
1201
|
+
if (!self.head) {
|
|
1202
|
+
self.head = self.tail;
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
self.length++;
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
function unshift(self, item) {
|
|
1209
|
+
self.head = new Node(item, null, self.head, self);
|
|
1210
|
+
|
|
1211
|
+
if (!self.tail) {
|
|
1212
|
+
self.tail = self.head;
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
self.length++;
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
function Node(value, prev, next, list) {
|
|
1219
|
+
if (!(this instanceof Node)) {
|
|
1220
|
+
return new Node(value, prev, next, list);
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1223
|
+
this.list = list;
|
|
1224
|
+
this.value = value;
|
|
1225
|
+
|
|
1226
|
+
if (prev) {
|
|
1227
|
+
prev.next = this;
|
|
1228
|
+
this.prev = prev;
|
|
1229
|
+
} else {
|
|
1230
|
+
this.prev = null;
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
if (next) {
|
|
1234
|
+
next.prev = this;
|
|
1235
|
+
this.next = next;
|
|
1236
|
+
} else {
|
|
1237
|
+
this.next = null;
|
|
1238
|
+
}
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
try {
|
|
1242
|
+
requireIterator()(Yallist);
|
|
1243
|
+
} catch (er) {}
|
|
1244
|
+
|
|
1245
|
+
return yallist;
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
var lruCache;
|
|
1249
|
+
var hasRequiredLruCache;
|
|
1250
|
+
|
|
1251
|
+
function requireLruCache() {
|
|
1252
|
+
if (hasRequiredLruCache) return lruCache;
|
|
1253
|
+
hasRequiredLruCache = 1;
|
|
1254
|
+
const Yallist = requireYallist();
|
|
1255
|
+
const MAX = Symbol('max');
|
|
1256
|
+
const LENGTH = Symbol('length');
|
|
1257
|
+
const LENGTH_CALCULATOR = Symbol('lengthCalculator');
|
|
1258
|
+
const ALLOW_STALE = Symbol('allowStale');
|
|
1259
|
+
const MAX_AGE = Symbol('maxAge');
|
|
1260
|
+
const DISPOSE = Symbol('dispose');
|
|
1261
|
+
const NO_DISPOSE_ON_SET = Symbol('noDisposeOnSet');
|
|
1262
|
+
const LRU_LIST = Symbol('lruList');
|
|
1263
|
+
const CACHE = Symbol('cache');
|
|
1264
|
+
const UPDATE_AGE_ON_GET = Symbol('updateAgeOnGet');
|
|
1265
|
+
|
|
1266
|
+
const naiveLength = () => 1;
|
|
1267
|
+
|
|
1268
|
+
class LRUCache {
|
|
1269
|
+
constructor(options) {
|
|
1270
|
+
if (typeof options === 'number') options = {
|
|
1271
|
+
max: options
|
|
1272
|
+
};
|
|
1273
|
+
if (!options) options = {};
|
|
1274
|
+
if (options.max && (typeof options.max !== 'number' || options.max < 0)) throw new TypeError('max must be a non-negative number');
|
|
1275
|
+
this[MAX] = options.max || Infinity;
|
|
1276
|
+
const lc = options.length || naiveLength;
|
|
1277
|
+
this[LENGTH_CALCULATOR] = typeof lc !== 'function' ? naiveLength : lc;
|
|
1278
|
+
this[ALLOW_STALE] = options.stale || false;
|
|
1279
|
+
if (options.maxAge && typeof options.maxAge !== 'number') throw new TypeError('maxAge must be a number');
|
|
1280
|
+
this[MAX_AGE] = options.maxAge || 0;
|
|
1281
|
+
this[DISPOSE] = options.dispose;
|
|
1282
|
+
this[NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false;
|
|
1283
|
+
this[UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false;
|
|
1284
|
+
this.reset();
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1287
|
+
set max(mL) {
|
|
1288
|
+
if (typeof mL !== 'number' || mL < 0) throw new TypeError('max must be a non-negative number');
|
|
1289
|
+
this[MAX] = mL || Infinity;
|
|
1290
|
+
trim(this);
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
get max() {
|
|
1294
|
+
return this[MAX];
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
set allowStale(allowStale) {
|
|
1298
|
+
this[ALLOW_STALE] = !!allowStale;
|
|
1299
|
+
}
|
|
1300
|
+
|
|
1301
|
+
get allowStale() {
|
|
1302
|
+
return this[ALLOW_STALE];
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1305
|
+
set maxAge(mA) {
|
|
1306
|
+
if (typeof mA !== 'number') throw new TypeError('maxAge must be a non-negative number');
|
|
1307
|
+
this[MAX_AGE] = mA;
|
|
1308
|
+
trim(this);
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1311
|
+
get maxAge() {
|
|
1312
|
+
return this[MAX_AGE];
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
set lengthCalculator(lC) {
|
|
1316
|
+
if (typeof lC !== 'function') lC = naiveLength;
|
|
1317
|
+
|
|
1318
|
+
if (lC !== this[LENGTH_CALCULATOR]) {
|
|
1319
|
+
this[LENGTH_CALCULATOR] = lC;
|
|
1320
|
+
this[LENGTH] = 0;
|
|
1321
|
+
this[LRU_LIST].forEach(hit => {
|
|
1322
|
+
hit.length = this[LENGTH_CALCULATOR](hit.value, hit.key);
|
|
1323
|
+
this[LENGTH] += hit.length;
|
|
1324
|
+
});
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1327
|
+
trim(this);
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1330
|
+
get lengthCalculator() {
|
|
1331
|
+
return this[LENGTH_CALCULATOR];
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
get length() {
|
|
1335
|
+
return this[LENGTH];
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
get itemCount() {
|
|
1339
|
+
return this[LRU_LIST].length;
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1342
|
+
rforEach(fn, thisp) {
|
|
1343
|
+
thisp = thisp || this;
|
|
1344
|
+
|
|
1345
|
+
for (let walker = this[LRU_LIST].tail; walker !== null;) {
|
|
1346
|
+
const prev = walker.prev;
|
|
1347
|
+
forEachStep(this, fn, walker, thisp);
|
|
1348
|
+
walker = prev;
|
|
1349
|
+
}
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
forEach(fn, thisp) {
|
|
1353
|
+
thisp = thisp || this;
|
|
1354
|
+
|
|
1355
|
+
for (let walker = this[LRU_LIST].head; walker !== null;) {
|
|
1356
|
+
const next = walker.next;
|
|
1357
|
+
forEachStep(this, fn, walker, thisp);
|
|
1358
|
+
walker = next;
|
|
1359
|
+
}
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
keys() {
|
|
1363
|
+
return this[LRU_LIST].toArray().map(k => k.key);
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
values() {
|
|
1367
|
+
return this[LRU_LIST].toArray().map(k => k.value);
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
reset() {
|
|
1371
|
+
if (this[DISPOSE] && this[LRU_LIST] && this[LRU_LIST].length) {
|
|
1372
|
+
this[LRU_LIST].forEach(hit => this[DISPOSE](hit.key, hit.value));
|
|
1373
|
+
}
|
|
1374
|
+
|
|
1375
|
+
this[CACHE] = new Map();
|
|
1376
|
+
this[LRU_LIST] = new Yallist();
|
|
1377
|
+
this[LENGTH] = 0;
|
|
1378
|
+
}
|
|
1379
|
+
|
|
1380
|
+
dump() {
|
|
1381
|
+
return this[LRU_LIST].map(hit => isStale(this, hit) ? false : {
|
|
1382
|
+
k: hit.key,
|
|
1383
|
+
v: hit.value,
|
|
1384
|
+
e: hit.now + (hit.maxAge || 0)
|
|
1385
|
+
}).toArray().filter(h => h);
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
dumpLru() {
|
|
1389
|
+
return this[LRU_LIST];
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1392
|
+
set(key, value, maxAge) {
|
|
1393
|
+
maxAge = maxAge || this[MAX_AGE];
|
|
1394
|
+
if (maxAge && typeof maxAge !== 'number') throw new TypeError('maxAge must be a number');
|
|
1395
|
+
const now = maxAge ? Date.now() : 0;
|
|
1396
|
+
const len = this[LENGTH_CALCULATOR](value, key);
|
|
1397
|
+
|
|
1398
|
+
if (this[CACHE].has(key)) {
|
|
1399
|
+
if (len > this[MAX]) {
|
|
1400
|
+
del(this, this[CACHE].get(key));
|
|
1401
|
+
return false;
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
const node = this[CACHE].get(key);
|
|
1405
|
+
const item = node.value;
|
|
1406
|
+
|
|
1407
|
+
if (this[DISPOSE]) {
|
|
1408
|
+
if (!this[NO_DISPOSE_ON_SET]) this[DISPOSE](key, item.value);
|
|
1409
|
+
}
|
|
1410
|
+
|
|
1411
|
+
item.now = now;
|
|
1412
|
+
item.maxAge = maxAge;
|
|
1413
|
+
item.value = value;
|
|
1414
|
+
this[LENGTH] += len - item.length;
|
|
1415
|
+
item.length = len;
|
|
1416
|
+
this.get(key);
|
|
1417
|
+
trim(this);
|
|
1418
|
+
return true;
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1421
|
+
const hit = new Entry(key, value, len, now, maxAge);
|
|
1422
|
+
|
|
1423
|
+
if (hit.length > this[MAX]) {
|
|
1424
|
+
if (this[DISPOSE]) this[DISPOSE](key, value);
|
|
1425
|
+
return false;
|
|
1426
|
+
}
|
|
1427
|
+
|
|
1428
|
+
this[LENGTH] += hit.length;
|
|
1429
|
+
this[LRU_LIST].unshift(hit);
|
|
1430
|
+
this[CACHE].set(key, this[LRU_LIST].head);
|
|
1431
|
+
trim(this);
|
|
1432
|
+
return true;
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
has(key) {
|
|
1436
|
+
if (!this[CACHE].has(key)) return false;
|
|
1437
|
+
const hit = this[CACHE].get(key).value;
|
|
1438
|
+
return !isStale(this, hit);
|
|
1439
|
+
}
|
|
1440
|
+
|
|
1441
|
+
get(key) {
|
|
1442
|
+
return get(this, key, true);
|
|
1443
|
+
}
|
|
1444
|
+
|
|
1445
|
+
peek(key) {
|
|
1446
|
+
return get(this, key, false);
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
pop() {
|
|
1450
|
+
const node = this[LRU_LIST].tail;
|
|
1451
|
+
if (!node) return null;
|
|
1452
|
+
del(this, node);
|
|
1453
|
+
return node.value;
|
|
1454
|
+
}
|
|
1455
|
+
|
|
1456
|
+
del(key) {
|
|
1457
|
+
del(this, this[CACHE].get(key));
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
load(arr) {
|
|
1461
|
+
this.reset();
|
|
1462
|
+
const now = Date.now();
|
|
1463
|
+
|
|
1464
|
+
for (let l = arr.length - 1; l >= 0; l--) {
|
|
1465
|
+
const hit = arr[l];
|
|
1466
|
+
const expiresAt = hit.e || 0;
|
|
1467
|
+
if (expiresAt === 0) this.set(hit.k, hit.v);else {
|
|
1468
|
+
const maxAge = expiresAt - now;
|
|
1469
|
+
|
|
1470
|
+
if (maxAge > 0) {
|
|
1471
|
+
this.set(hit.k, hit.v, maxAge);
|
|
1472
|
+
}
|
|
1473
|
+
}
|
|
1474
|
+
}
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1477
|
+
prune() {
|
|
1478
|
+
this[CACHE].forEach((value, key) => get(this, key, false));
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
}
|
|
1482
|
+
|
|
1483
|
+
const get = (self, key, doUse) => {
|
|
1484
|
+
const node = self[CACHE].get(key);
|
|
1485
|
+
|
|
1486
|
+
if (node) {
|
|
1487
|
+
const hit = node.value;
|
|
1488
|
+
|
|
1489
|
+
if (isStale(self, hit)) {
|
|
1490
|
+
del(self, node);
|
|
1491
|
+
if (!self[ALLOW_STALE]) return undefined;
|
|
1492
|
+
} else {
|
|
1493
|
+
if (doUse) {
|
|
1494
|
+
if (self[UPDATE_AGE_ON_GET]) node.value.now = Date.now();
|
|
1495
|
+
self[LRU_LIST].unshiftNode(node);
|
|
1496
|
+
}
|
|
1497
|
+
}
|
|
1498
|
+
|
|
1499
|
+
return hit.value;
|
|
1500
|
+
}
|
|
1501
|
+
};
|
|
1502
|
+
|
|
1503
|
+
const isStale = (self, hit) => {
|
|
1504
|
+
if (!hit || !hit.maxAge && !self[MAX_AGE]) return false;
|
|
1505
|
+
const diff = Date.now() - hit.now;
|
|
1506
|
+
return hit.maxAge ? diff > hit.maxAge : self[MAX_AGE] && diff > self[MAX_AGE];
|
|
1507
|
+
};
|
|
1508
|
+
|
|
1509
|
+
const trim = self => {
|
|
1510
|
+
if (self[LENGTH] > self[MAX]) {
|
|
1511
|
+
for (let walker = self[LRU_LIST].tail; self[LENGTH] > self[MAX] && walker !== null;) {
|
|
1512
|
+
const prev = walker.prev;
|
|
1513
|
+
del(self, walker);
|
|
1514
|
+
walker = prev;
|
|
1515
|
+
}
|
|
1516
|
+
}
|
|
1517
|
+
};
|
|
1518
|
+
|
|
1519
|
+
const del = (self, node) => {
|
|
1520
|
+
if (node) {
|
|
1521
|
+
const hit = node.value;
|
|
1522
|
+
if (self[DISPOSE]) self[DISPOSE](hit.key, hit.value);
|
|
1523
|
+
self[LENGTH] -= hit.length;
|
|
1524
|
+
self[CACHE].delete(hit.key);
|
|
1525
|
+
self[LRU_LIST].removeNode(node);
|
|
1526
|
+
}
|
|
1527
|
+
};
|
|
1528
|
+
|
|
1529
|
+
class Entry {
|
|
1530
|
+
constructor(key, value, length, now, maxAge) {
|
|
1531
|
+
this.key = key;
|
|
1532
|
+
this.value = value;
|
|
1533
|
+
this.length = length;
|
|
1534
|
+
this.now = now;
|
|
1535
|
+
this.maxAge = maxAge || 0;
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
}
|
|
1539
|
+
|
|
1540
|
+
const forEachStep = (self, fn, node, thisp) => {
|
|
1541
|
+
let hit = node.value;
|
|
1542
|
+
|
|
1543
|
+
if (isStale(self, hit)) {
|
|
1544
|
+
del(self, node);
|
|
1545
|
+
if (!self[ALLOW_STALE]) hit = undefined;
|
|
1546
|
+
}
|
|
1547
|
+
|
|
1548
|
+
if (hit) fn.call(thisp, hit.value, hit.key, self);
|
|
1549
|
+
};
|
|
1550
|
+
|
|
1551
|
+
lruCache = LRUCache;
|
|
1552
|
+
return lruCache;
|
|
1553
|
+
}
|
|
1554
|
+
|
|
1555
|
+
var range;
|
|
1556
|
+
var hasRequiredRange;
|
|
1557
|
+
|
|
1558
|
+
function requireRange() {
|
|
1559
|
+
if (hasRequiredRange) return range;
|
|
1560
|
+
hasRequiredRange = 1;
|
|
1561
|
+
|
|
1562
|
+
class Range {
|
|
1563
|
+
constructor(range, options) {
|
|
1564
|
+
options = parseOptions(options);
|
|
1565
|
+
|
|
1566
|
+
if (range instanceof Range) {
|
|
1567
|
+
if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) {
|
|
1568
|
+
return range;
|
|
1569
|
+
} else {
|
|
1570
|
+
return new Range(range.raw, options);
|
|
1571
|
+
}
|
|
1572
|
+
}
|
|
1573
|
+
|
|
1574
|
+
if (range instanceof Comparator) {
|
|
1575
|
+
this.raw = range.value;
|
|
1576
|
+
this.set = [[range]];
|
|
1577
|
+
this.format();
|
|
1578
|
+
return this;
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
this.options = options;
|
|
1582
|
+
this.loose = !!options.loose;
|
|
1583
|
+
this.includePrerelease = !!options.includePrerelease;
|
|
1584
|
+
this.raw = range;
|
|
1585
|
+
this.set = range.split('||').map(r => this.parseRange(r.trim())).filter(c => c.length);
|
|
1586
|
+
|
|
1587
|
+
if (!this.set.length) {
|
|
1588
|
+
throw new TypeError(`Invalid SemVer Range: ${range}`);
|
|
1589
|
+
}
|
|
1590
|
+
|
|
1591
|
+
if (this.set.length > 1) {
|
|
1592
|
+
const first = this.set[0];
|
|
1593
|
+
this.set = this.set.filter(c => !isNullSet(c[0]));
|
|
1594
|
+
|
|
1595
|
+
if (this.set.length === 0) {
|
|
1596
|
+
this.set = [first];
|
|
1597
|
+
} else if (this.set.length > 1) {
|
|
1598
|
+
for (const c of this.set) {
|
|
1599
|
+
if (c.length === 1 && isAny(c[0])) {
|
|
1600
|
+
this.set = [c];
|
|
1601
|
+
break;
|
|
1602
|
+
}
|
|
1603
|
+
}
|
|
1604
|
+
}
|
|
1605
|
+
}
|
|
1606
|
+
|
|
1607
|
+
this.format();
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1610
|
+
format() {
|
|
1611
|
+
this.range = this.set.map(comps => {
|
|
1612
|
+
return comps.join(' ').trim();
|
|
1613
|
+
}).join('||').trim();
|
|
1614
|
+
return this.range;
|
|
1615
|
+
}
|
|
1616
|
+
|
|
1617
|
+
toString() {
|
|
1618
|
+
return this.range;
|
|
1619
|
+
}
|
|
1620
|
+
|
|
1621
|
+
parseRange(range) {
|
|
1622
|
+
range = range.trim();
|
|
1623
|
+
const memoOpts = Object.keys(this.options).join(',');
|
|
1624
|
+
const memoKey = `parseRange:${memoOpts}:${range}`;
|
|
1625
|
+
const cached = cache.get(memoKey);
|
|
1626
|
+
|
|
1627
|
+
if (cached) {
|
|
1628
|
+
return cached;
|
|
1629
|
+
}
|
|
1630
|
+
|
|
1631
|
+
const loose = this.options.loose;
|
|
1632
|
+
const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE];
|
|
1633
|
+
range = range.replace(hr, hyphenReplace(this.options.includePrerelease));
|
|
1634
|
+
debug('hyphen replace', range);
|
|
1635
|
+
range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace);
|
|
1636
|
+
debug('comparator trim', range);
|
|
1637
|
+
range = range.replace(re[t.TILDETRIM], tildeTrimReplace);
|
|
1638
|
+
range = range.replace(re[t.CARETTRIM], caretTrimReplace);
|
|
1639
|
+
range = range.split(/\s+/).join(' ');
|
|
1640
|
+
let rangeList = range.split(' ').map(comp => parseComparator(comp, this.options)).join(' ').split(/\s+/).map(comp => replaceGTE0(comp, this.options));
|
|
1641
|
+
|
|
1642
|
+
if (loose) {
|
|
1643
|
+
rangeList = rangeList.filter(comp => {
|
|
1644
|
+
debug('loose invalid filter', comp, this.options);
|
|
1645
|
+
return !!comp.match(re[t.COMPARATORLOOSE]);
|
|
1646
|
+
});
|
|
1647
|
+
}
|
|
1648
|
+
|
|
1649
|
+
debug('range list', rangeList);
|
|
1650
|
+
const rangeMap = new Map();
|
|
1651
|
+
const comparators = rangeList.map(comp => new Comparator(comp, this.options));
|
|
1652
|
+
|
|
1653
|
+
for (const comp of comparators) {
|
|
1654
|
+
if (isNullSet(comp)) {
|
|
1655
|
+
return [comp];
|
|
1656
|
+
}
|
|
1657
|
+
|
|
1658
|
+
rangeMap.set(comp.value, comp);
|
|
1659
|
+
}
|
|
1660
|
+
|
|
1661
|
+
if (rangeMap.size > 1 && rangeMap.has('')) {
|
|
1662
|
+
rangeMap.delete('');
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1665
|
+
const result = [...rangeMap.values()];
|
|
1666
|
+
cache.set(memoKey, result);
|
|
1667
|
+
return result;
|
|
1668
|
+
}
|
|
1669
|
+
|
|
1670
|
+
intersects(range, options) {
|
|
1671
|
+
if (!(range instanceof Range)) {
|
|
1672
|
+
throw new TypeError('a Range is required');
|
|
1673
|
+
}
|
|
1674
|
+
|
|
1675
|
+
return this.set.some(thisComparators => {
|
|
1676
|
+
return isSatisfiable(thisComparators, options) && range.set.some(rangeComparators => {
|
|
1677
|
+
return isSatisfiable(rangeComparators, options) && thisComparators.every(thisComparator => {
|
|
1678
|
+
return rangeComparators.every(rangeComparator => {
|
|
1679
|
+
return thisComparator.intersects(rangeComparator, options);
|
|
1680
|
+
});
|
|
1681
|
+
});
|
|
1682
|
+
});
|
|
1683
|
+
});
|
|
1684
|
+
}
|
|
1685
|
+
|
|
1686
|
+
test(version) {
|
|
1687
|
+
if (!version) {
|
|
1688
|
+
return false;
|
|
1689
|
+
}
|
|
1690
|
+
|
|
1691
|
+
if (typeof version === 'string') {
|
|
1692
|
+
try {
|
|
1693
|
+
version = new SemVer(version, this.options);
|
|
1694
|
+
} catch (er) {
|
|
1695
|
+
return false;
|
|
1696
|
+
}
|
|
1697
|
+
}
|
|
1698
|
+
|
|
1699
|
+
for (let i = 0; i < this.set.length; i++) {
|
|
1700
|
+
if (testSet(this.set[i], version, this.options)) {
|
|
1701
|
+
return true;
|
|
1702
|
+
}
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
return false;
|
|
1706
|
+
}
|
|
1707
|
+
|
|
1708
|
+
}
|
|
1709
|
+
|
|
1710
|
+
range = Range;
|
|
1711
|
+
const LRU = requireLruCache();
|
|
1712
|
+
const cache = new LRU({
|
|
1713
|
+
max: 1000
|
|
1714
|
+
});
|
|
1715
|
+
const parseOptions = parseOptions_1;
|
|
1716
|
+
const Comparator = requireComparator();
|
|
1717
|
+
const debug = debug_1;
|
|
1718
|
+
const SemVer = semver$2;
|
|
1719
|
+
const {
|
|
1720
|
+
re,
|
|
1721
|
+
t,
|
|
1722
|
+
comparatorTrimReplace,
|
|
1723
|
+
tildeTrimReplace,
|
|
1724
|
+
caretTrimReplace
|
|
1725
|
+
} = re$3.exports;
|
|
1726
|
+
|
|
1727
|
+
const isNullSet = c => c.value === '<0.0.0-0';
|
|
1728
|
+
|
|
1729
|
+
const isAny = c => c.value === '';
|
|
1730
|
+
|
|
1731
|
+
const isSatisfiable = (comparators, options) => {
|
|
1732
|
+
let result = true;
|
|
1733
|
+
const remainingComparators = comparators.slice();
|
|
1734
|
+
let testComparator = remainingComparators.pop();
|
|
1735
|
+
|
|
1736
|
+
while (result && remainingComparators.length) {
|
|
1737
|
+
result = remainingComparators.every(otherComparator => {
|
|
1738
|
+
return testComparator.intersects(otherComparator, options);
|
|
1739
|
+
});
|
|
1740
|
+
testComparator = remainingComparators.pop();
|
|
1741
|
+
}
|
|
1742
|
+
|
|
1743
|
+
return result;
|
|
1744
|
+
};
|
|
1745
|
+
|
|
1746
|
+
const parseComparator = (comp, options) => {
|
|
1747
|
+
debug('comp', comp, options);
|
|
1748
|
+
comp = replaceCarets(comp, options);
|
|
1749
|
+
debug('caret', comp);
|
|
1750
|
+
comp = replaceTildes(comp, options);
|
|
1751
|
+
debug('tildes', comp);
|
|
1752
|
+
comp = replaceXRanges(comp, options);
|
|
1753
|
+
debug('xrange', comp);
|
|
1754
|
+
comp = replaceStars(comp, options);
|
|
1755
|
+
debug('stars', comp);
|
|
1756
|
+
return comp;
|
|
1757
|
+
};
|
|
1758
|
+
|
|
1759
|
+
const isX = id => !id || id.toLowerCase() === 'x' || id === '*';
|
|
1760
|
+
|
|
1761
|
+
const replaceTildes = (comp, options) => comp.trim().split(/\s+/).map(c => {
|
|
1762
|
+
return replaceTilde(c, options);
|
|
1763
|
+
}).join(' ');
|
|
1764
|
+
|
|
1765
|
+
const replaceTilde = (comp, options) => {
|
|
1766
|
+
const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE];
|
|
1767
|
+
return comp.replace(r, (_, M, m, p, pr) => {
|
|
1768
|
+
debug('tilde', comp, _, M, m, p, pr);
|
|
1769
|
+
let ret;
|
|
1770
|
+
|
|
1771
|
+
if (isX(M)) {
|
|
1772
|
+
ret = '';
|
|
1773
|
+
} else if (isX(m)) {
|
|
1774
|
+
ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;
|
|
1775
|
+
} else if (isX(p)) {
|
|
1776
|
+
ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`;
|
|
1777
|
+
} else if (pr) {
|
|
1778
|
+
debug('replaceTilde pr', pr);
|
|
1779
|
+
ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
|
|
1780
|
+
} else {
|
|
1781
|
+
ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`;
|
|
1782
|
+
}
|
|
1783
|
+
|
|
1784
|
+
debug('tilde return', ret);
|
|
1785
|
+
return ret;
|
|
1786
|
+
});
|
|
1787
|
+
};
|
|
1788
|
+
|
|
1789
|
+
const replaceCarets = (comp, options) => comp.trim().split(/\s+/).map(c => {
|
|
1790
|
+
return replaceCaret(c, options);
|
|
1791
|
+
}).join(' ');
|
|
1792
|
+
|
|
1793
|
+
const replaceCaret = (comp, options) => {
|
|
1794
|
+
debug('caret', comp, options);
|
|
1795
|
+
const r = options.loose ? re[t.CARETLOOSE] : re[t.CARET];
|
|
1796
|
+
const z = options.includePrerelease ? '-0' : '';
|
|
1797
|
+
return comp.replace(r, (_, M, m, p, pr) => {
|
|
1798
|
+
debug('caret', comp, _, M, m, p, pr);
|
|
1799
|
+
let ret;
|
|
1800
|
+
|
|
1801
|
+
if (isX(M)) {
|
|
1802
|
+
ret = '';
|
|
1803
|
+
} else if (isX(m)) {
|
|
1804
|
+
ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`;
|
|
1805
|
+
} else if (isX(p)) {
|
|
1806
|
+
if (M === '0') {
|
|
1807
|
+
ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`;
|
|
1808
|
+
} else {
|
|
1809
|
+
ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`;
|
|
1810
|
+
}
|
|
1811
|
+
} else if (pr) {
|
|
1812
|
+
debug('replaceCaret pr', pr);
|
|
1813
|
+
|
|
1814
|
+
if (M === '0') {
|
|
1815
|
+
if (m === '0') {
|
|
1816
|
+
ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0`;
|
|
1817
|
+
} else {
|
|
1818
|
+
ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
|
|
1819
|
+
}
|
|
1820
|
+
} else {
|
|
1821
|
+
ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`;
|
|
1822
|
+
}
|
|
1823
|
+
} else {
|
|
1824
|
+
debug('no pr');
|
|
1825
|
+
|
|
1826
|
+
if (M === '0') {
|
|
1827
|
+
if (m === '0') {
|
|
1828
|
+
ret = `>=${M}.${m}.${p}${z} <${M}.${m}.${+p + 1}-0`;
|
|
1829
|
+
} else {
|
|
1830
|
+
ret = `>=${M}.${m}.${p}${z} <${M}.${+m + 1}.0-0`;
|
|
1831
|
+
}
|
|
1832
|
+
} else {
|
|
1833
|
+
ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`;
|
|
1834
|
+
}
|
|
1835
|
+
}
|
|
1836
|
+
|
|
1837
|
+
debug('caret return', ret);
|
|
1838
|
+
return ret;
|
|
1839
|
+
});
|
|
1840
|
+
};
|
|
1841
|
+
|
|
1842
|
+
const replaceXRanges = (comp, options) => {
|
|
1843
|
+
debug('replaceXRanges', comp, options);
|
|
1844
|
+
return comp.split(/\s+/).map(c => {
|
|
1845
|
+
return replaceXRange(c, options);
|
|
1846
|
+
}).join(' ');
|
|
1847
|
+
};
|
|
1848
|
+
|
|
1849
|
+
const replaceXRange = (comp, options) => {
|
|
1850
|
+
comp = comp.trim();
|
|
1851
|
+
const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE];
|
|
1852
|
+
return comp.replace(r, (ret, gtlt, M, m, p, pr) => {
|
|
1853
|
+
debug('xRange', comp, ret, gtlt, M, m, p, pr);
|
|
1854
|
+
const xM = isX(M);
|
|
1855
|
+
const xm = xM || isX(m);
|
|
1856
|
+
const xp = xm || isX(p);
|
|
1857
|
+
const anyX = xp;
|
|
1858
|
+
|
|
1859
|
+
if (gtlt === '=' && anyX) {
|
|
1860
|
+
gtlt = '';
|
|
1861
|
+
}
|
|
1862
|
+
|
|
1863
|
+
pr = options.includePrerelease ? '-0' : '';
|
|
1864
|
+
|
|
1865
|
+
if (xM) {
|
|
1866
|
+
if (gtlt === '>' || gtlt === '<') {
|
|
1867
|
+
ret = '<0.0.0-0';
|
|
1868
|
+
} else {
|
|
1869
|
+
ret = '*';
|
|
1870
|
+
}
|
|
1871
|
+
} else if (gtlt && anyX) {
|
|
1872
|
+
if (xm) {
|
|
1873
|
+
m = 0;
|
|
1874
|
+
}
|
|
1875
|
+
|
|
1876
|
+
p = 0;
|
|
1877
|
+
|
|
1878
|
+
if (gtlt === '>') {
|
|
1879
|
+
gtlt = '>=';
|
|
1880
|
+
|
|
1881
|
+
if (xm) {
|
|
1882
|
+
M = +M + 1;
|
|
1883
|
+
m = 0;
|
|
1884
|
+
p = 0;
|
|
1885
|
+
} else {
|
|
1886
|
+
m = +m + 1;
|
|
1887
|
+
p = 0;
|
|
1888
|
+
}
|
|
1889
|
+
} else if (gtlt === '<=') {
|
|
1890
|
+
gtlt = '<';
|
|
1891
|
+
|
|
1892
|
+
if (xm) {
|
|
1893
|
+
M = +M + 1;
|
|
1894
|
+
} else {
|
|
1895
|
+
m = +m + 1;
|
|
1896
|
+
}
|
|
1897
|
+
}
|
|
1898
|
+
|
|
1899
|
+
if (gtlt === '<') {
|
|
1900
|
+
pr = '-0';
|
|
1901
|
+
}
|
|
1902
|
+
|
|
1903
|
+
ret = `${gtlt + M}.${m}.${p}${pr}`;
|
|
1904
|
+
} else if (xm) {
|
|
1905
|
+
ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`;
|
|
1906
|
+
} else if (xp) {
|
|
1907
|
+
ret = `>=${M}.${m}.0${pr} <${M}.${+m + 1}.0-0`;
|
|
1908
|
+
}
|
|
1909
|
+
|
|
1910
|
+
debug('xRange return', ret);
|
|
1911
|
+
return ret;
|
|
1912
|
+
});
|
|
1913
|
+
};
|
|
1914
|
+
|
|
1915
|
+
const replaceStars = (comp, options) => {
|
|
1916
|
+
debug('replaceStars', comp, options);
|
|
1917
|
+
return comp.trim().replace(re[t.STAR], '');
|
|
1918
|
+
};
|
|
1919
|
+
|
|
1920
|
+
const replaceGTE0 = (comp, options) => {
|
|
1921
|
+
debug('replaceGTE0', comp, options);
|
|
1922
|
+
return comp.trim().replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], '');
|
|
1923
|
+
};
|
|
1924
|
+
|
|
1925
|
+
const hyphenReplace = incPr => ($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb) => {
|
|
1926
|
+
if (isX(fM)) {
|
|
1927
|
+
from = '';
|
|
1928
|
+
} else if (isX(fm)) {
|
|
1929
|
+
from = `>=${fM}.0.0${incPr ? '-0' : ''}`;
|
|
1930
|
+
} else if (isX(fp)) {
|
|
1931
|
+
from = `>=${fM}.${fm}.0${incPr ? '-0' : ''}`;
|
|
1932
|
+
} else if (fpr) {
|
|
1933
|
+
from = `>=${from}`;
|
|
1934
|
+
} else {
|
|
1935
|
+
from = `>=${from}${incPr ? '-0' : ''}`;
|
|
1936
|
+
}
|
|
1937
|
+
|
|
1938
|
+
if (isX(tM)) {
|
|
1939
|
+
to = '';
|
|
1940
|
+
} else if (isX(tm)) {
|
|
1941
|
+
to = `<${+tM + 1}.0.0-0`;
|
|
1942
|
+
} else if (isX(tp)) {
|
|
1943
|
+
to = `<${tM}.${+tm + 1}.0-0`;
|
|
1944
|
+
} else if (tpr) {
|
|
1945
|
+
to = `<=${tM}.${tm}.${tp}-${tpr}`;
|
|
1946
|
+
} else if (incPr) {
|
|
1947
|
+
to = `<${tM}.${tm}.${+tp + 1}-0`;
|
|
1948
|
+
} else {
|
|
1949
|
+
to = `<=${to}`;
|
|
1950
|
+
}
|
|
1951
|
+
|
|
1952
|
+
return `${from} ${to}`.trim();
|
|
1953
|
+
};
|
|
1954
|
+
|
|
1955
|
+
const testSet = (set, version, options) => {
|
|
1956
|
+
for (let i = 0; i < set.length; i++) {
|
|
1957
|
+
if (!set[i].test(version)) {
|
|
1958
|
+
return false;
|
|
1959
|
+
}
|
|
1960
|
+
}
|
|
1961
|
+
|
|
1962
|
+
if (version.prerelease.length && !options.includePrerelease) {
|
|
1963
|
+
for (let i = 0; i < set.length; i++) {
|
|
1964
|
+
debug(set[i].semver);
|
|
1965
|
+
|
|
1966
|
+
if (set[i].semver === Comparator.ANY) {
|
|
1967
|
+
continue;
|
|
1968
|
+
}
|
|
1969
|
+
|
|
1970
|
+
if (set[i].semver.prerelease.length > 0) {
|
|
1971
|
+
const allowed = set[i].semver;
|
|
1972
|
+
|
|
1973
|
+
if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) {
|
|
1974
|
+
return true;
|
|
1975
|
+
}
|
|
1976
|
+
}
|
|
1977
|
+
}
|
|
1978
|
+
|
|
1979
|
+
return false;
|
|
1980
|
+
}
|
|
1981
|
+
|
|
1982
|
+
return true;
|
|
1983
|
+
};
|
|
1984
|
+
|
|
1985
|
+
return range;
|
|
1986
|
+
}
|
|
1987
|
+
|
|
1988
|
+
var comparator;
|
|
1989
|
+
var hasRequiredComparator;
|
|
1990
|
+
|
|
1991
|
+
function requireComparator() {
|
|
1992
|
+
if (hasRequiredComparator) return comparator;
|
|
1993
|
+
hasRequiredComparator = 1;
|
|
1994
|
+
const ANY = Symbol('SemVer ANY');
|
|
1995
|
+
|
|
1996
|
+
class Comparator {
|
|
1997
|
+
static get ANY() {
|
|
1998
|
+
return ANY;
|
|
1999
|
+
}
|
|
2000
|
+
|
|
2001
|
+
constructor(comp, options) {
|
|
2002
|
+
options = parseOptions(options);
|
|
2003
|
+
|
|
2004
|
+
if (comp instanceof Comparator) {
|
|
2005
|
+
if (comp.loose === !!options.loose) {
|
|
2006
|
+
return comp;
|
|
2007
|
+
} else {
|
|
2008
|
+
comp = comp.value;
|
|
2009
|
+
}
|
|
2010
|
+
}
|
|
2011
|
+
|
|
2012
|
+
debug('comparator', comp, options);
|
|
2013
|
+
this.options = options;
|
|
2014
|
+
this.loose = !!options.loose;
|
|
2015
|
+
this.parse(comp);
|
|
2016
|
+
|
|
2017
|
+
if (this.semver === ANY) {
|
|
2018
|
+
this.value = '';
|
|
2019
|
+
} else {
|
|
2020
|
+
this.value = this.operator + this.semver.version;
|
|
2021
|
+
}
|
|
2022
|
+
|
|
2023
|
+
debug('comp', this);
|
|
2024
|
+
}
|
|
2025
|
+
|
|
2026
|
+
parse(comp) {
|
|
2027
|
+
const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR];
|
|
2028
|
+
const m = comp.match(r);
|
|
2029
|
+
|
|
2030
|
+
if (!m) {
|
|
2031
|
+
throw new TypeError(`Invalid comparator: ${comp}`);
|
|
2032
|
+
}
|
|
2033
|
+
|
|
2034
|
+
this.operator = m[1] !== undefined ? m[1] : '';
|
|
2035
|
+
|
|
2036
|
+
if (this.operator === '=') {
|
|
2037
|
+
this.operator = '';
|
|
2038
|
+
}
|
|
2039
|
+
|
|
2040
|
+
if (!m[2]) {
|
|
2041
|
+
this.semver = ANY;
|
|
2042
|
+
} else {
|
|
2043
|
+
this.semver = new SemVer(m[2], this.options.loose);
|
|
2044
|
+
}
|
|
2045
|
+
}
|
|
2046
|
+
|
|
2047
|
+
toString() {
|
|
2048
|
+
return this.value;
|
|
2049
|
+
}
|
|
2050
|
+
|
|
2051
|
+
test(version) {
|
|
2052
|
+
debug('Comparator.test', version, this.options.loose);
|
|
2053
|
+
|
|
2054
|
+
if (this.semver === ANY || version === ANY) {
|
|
2055
|
+
return true;
|
|
2056
|
+
}
|
|
2057
|
+
|
|
2058
|
+
if (typeof version === 'string') {
|
|
2059
|
+
try {
|
|
2060
|
+
version = new SemVer(version, this.options);
|
|
2061
|
+
} catch (er) {
|
|
2062
|
+
return false;
|
|
2063
|
+
}
|
|
2064
|
+
}
|
|
2065
|
+
|
|
2066
|
+
return cmp(version, this.operator, this.semver, this.options);
|
|
2067
|
+
}
|
|
2068
|
+
|
|
2069
|
+
intersects(comp, options) {
|
|
2070
|
+
if (!(comp instanceof Comparator)) {
|
|
2071
|
+
throw new TypeError('a Comparator is required');
|
|
2072
|
+
}
|
|
2073
|
+
|
|
2074
|
+
if (!options || typeof options !== 'object') {
|
|
2075
|
+
options = {
|
|
2076
|
+
loose: !!options,
|
|
2077
|
+
includePrerelease: false
|
|
2078
|
+
};
|
|
2079
|
+
}
|
|
2080
|
+
|
|
2081
|
+
if (this.operator === '') {
|
|
2082
|
+
if (this.value === '') {
|
|
2083
|
+
return true;
|
|
2084
|
+
}
|
|
2085
|
+
|
|
2086
|
+
return new Range(comp.value, options).test(this.value);
|
|
2087
|
+
} else if (comp.operator === '') {
|
|
2088
|
+
if (comp.value === '') {
|
|
2089
|
+
return true;
|
|
2090
|
+
}
|
|
2091
|
+
|
|
2092
|
+
return new Range(this.value, options).test(comp.semver);
|
|
2093
|
+
}
|
|
2094
|
+
|
|
2095
|
+
const sameDirectionIncreasing = (this.operator === '>=' || this.operator === '>') && (comp.operator === '>=' || comp.operator === '>');
|
|
2096
|
+
const sameDirectionDecreasing = (this.operator === '<=' || this.operator === '<') && (comp.operator === '<=' || comp.operator === '<');
|
|
2097
|
+
const sameSemVer = this.semver.version === comp.semver.version;
|
|
2098
|
+
const differentDirectionsInclusive = (this.operator === '>=' || this.operator === '<=') && (comp.operator === '>=' || comp.operator === '<=');
|
|
2099
|
+
const oppositeDirectionsLessThan = cmp(this.semver, '<', comp.semver, options) && (this.operator === '>=' || this.operator === '>') && (comp.operator === '<=' || comp.operator === '<');
|
|
2100
|
+
const oppositeDirectionsGreaterThan = cmp(this.semver, '>', comp.semver, options) && (this.operator === '<=' || this.operator === '<') && (comp.operator === '>=' || comp.operator === '>');
|
|
2101
|
+
return sameDirectionIncreasing || sameDirectionDecreasing || sameSemVer && differentDirectionsInclusive || oppositeDirectionsLessThan || oppositeDirectionsGreaterThan;
|
|
2102
|
+
}
|
|
2103
|
+
|
|
2104
|
+
}
|
|
2105
|
+
|
|
2106
|
+
comparator = Comparator;
|
|
2107
|
+
const parseOptions = parseOptions_1;
|
|
2108
|
+
const {
|
|
2109
|
+
re,
|
|
2110
|
+
t
|
|
2111
|
+
} = re$3.exports;
|
|
2112
|
+
const cmp = cmp_1;
|
|
2113
|
+
const debug = debug_1;
|
|
2114
|
+
const SemVer = semver$2;
|
|
2115
|
+
const Range = requireRange();
|
|
2116
|
+
return comparator;
|
|
2117
|
+
}
|
|
2118
|
+
|
|
2119
|
+
const Range$8 = requireRange();
|
|
2120
|
+
|
|
2121
|
+
const satisfies$3 = (version, range, options) => {
|
|
2122
|
+
try {
|
|
2123
|
+
range = new Range$8(range, options);
|
|
2124
|
+
} catch (er) {
|
|
2125
|
+
return false;
|
|
2126
|
+
}
|
|
2127
|
+
|
|
2128
|
+
return range.test(version);
|
|
2129
|
+
};
|
|
2130
|
+
|
|
2131
|
+
var satisfies_1 = satisfies$3;
|
|
2132
|
+
const Range$7 = requireRange();
|
|
2133
|
+
|
|
2134
|
+
const toComparators = (range, options) => new Range$7(range, options).set.map(comp => comp.map(c => c.value).join(' ').trim().split(' '));
|
|
2135
|
+
|
|
2136
|
+
var toComparators_1 = toComparators;
|
|
2137
|
+
const SemVer$3 = semver$2;
|
|
2138
|
+
const Range$6 = requireRange();
|
|
2139
|
+
|
|
2140
|
+
const maxSatisfying = (versions, range, options) => {
|
|
2141
|
+
let max = null;
|
|
2142
|
+
let maxSV = null;
|
|
2143
|
+
let rangeObj = null;
|
|
2144
|
+
|
|
2145
|
+
try {
|
|
2146
|
+
rangeObj = new Range$6(range, options);
|
|
2147
|
+
} catch (er) {
|
|
2148
|
+
return null;
|
|
2149
|
+
}
|
|
2150
|
+
|
|
2151
|
+
versions.forEach(v => {
|
|
2152
|
+
if (rangeObj.test(v)) {
|
|
2153
|
+
if (!max || maxSV.compare(v) === -1) {
|
|
2154
|
+
max = v;
|
|
2155
|
+
maxSV = new SemVer$3(max, options);
|
|
2156
|
+
}
|
|
2157
|
+
}
|
|
2158
|
+
});
|
|
2159
|
+
return max;
|
|
2160
|
+
};
|
|
2161
|
+
|
|
2162
|
+
var maxSatisfying_1 = maxSatisfying;
|
|
2163
|
+
const SemVer$2 = semver$2;
|
|
2164
|
+
const Range$5 = requireRange();
|
|
2165
|
+
|
|
2166
|
+
const minSatisfying = (versions, range, options) => {
|
|
2167
|
+
let min = null;
|
|
2168
|
+
let minSV = null;
|
|
2169
|
+
let rangeObj = null;
|
|
2170
|
+
|
|
2171
|
+
try {
|
|
2172
|
+
rangeObj = new Range$5(range, options);
|
|
2173
|
+
} catch (er) {
|
|
2174
|
+
return null;
|
|
2175
|
+
}
|
|
2176
|
+
|
|
2177
|
+
versions.forEach(v => {
|
|
2178
|
+
if (rangeObj.test(v)) {
|
|
2179
|
+
if (!min || minSV.compare(v) === 1) {
|
|
2180
|
+
min = v;
|
|
2181
|
+
minSV = new SemVer$2(min, options);
|
|
2182
|
+
}
|
|
2183
|
+
}
|
|
2184
|
+
});
|
|
2185
|
+
return min;
|
|
2186
|
+
};
|
|
2187
|
+
|
|
2188
|
+
var minSatisfying_1 = minSatisfying;
|
|
2189
|
+
const SemVer$1 = semver$2;
|
|
2190
|
+
const Range$4 = requireRange();
|
|
2191
|
+
const gt$1 = gt_1;
|
|
2192
|
+
|
|
2193
|
+
const minVersion = (range, loose) => {
|
|
2194
|
+
range = new Range$4(range, loose);
|
|
2195
|
+
let minver = new SemVer$1('0.0.0');
|
|
2196
|
+
|
|
2197
|
+
if (range.test(minver)) {
|
|
2198
|
+
return minver;
|
|
2199
|
+
}
|
|
2200
|
+
|
|
2201
|
+
minver = new SemVer$1('0.0.0-0');
|
|
2202
|
+
|
|
2203
|
+
if (range.test(minver)) {
|
|
2204
|
+
return minver;
|
|
2205
|
+
}
|
|
2206
|
+
|
|
2207
|
+
minver = null;
|
|
2208
|
+
|
|
2209
|
+
for (let i = 0; i < range.set.length; ++i) {
|
|
2210
|
+
const comparators = range.set[i];
|
|
2211
|
+
let setMin = null;
|
|
2212
|
+
comparators.forEach(comparator => {
|
|
2213
|
+
const compver = new SemVer$1(comparator.semver.version);
|
|
2214
|
+
|
|
2215
|
+
switch (comparator.operator) {
|
|
2216
|
+
case '>':
|
|
2217
|
+
if (compver.prerelease.length === 0) {
|
|
2218
|
+
compver.patch++;
|
|
2219
|
+
} else {
|
|
2220
|
+
compver.prerelease.push(0);
|
|
2221
|
+
}
|
|
2222
|
+
|
|
2223
|
+
compver.raw = compver.format();
|
|
2224
|
+
|
|
2225
|
+
case '':
|
|
2226
|
+
case '>=':
|
|
2227
|
+
if (!setMin || gt$1(compver, setMin)) {
|
|
2228
|
+
setMin = compver;
|
|
2229
|
+
}
|
|
2230
|
+
|
|
2231
|
+
break;
|
|
2232
|
+
|
|
2233
|
+
case '<':
|
|
2234
|
+
case '<=':
|
|
2235
|
+
break;
|
|
2236
|
+
|
|
2237
|
+
default:
|
|
2238
|
+
throw new Error(`Unexpected operation: ${comparator.operator}`);
|
|
2239
|
+
}
|
|
2240
|
+
});
|
|
2241
|
+
|
|
2242
|
+
if (setMin && (!minver || gt$1(minver, setMin))) {
|
|
2243
|
+
minver = setMin;
|
|
2244
|
+
}
|
|
2245
|
+
}
|
|
2246
|
+
|
|
2247
|
+
if (minver && range.test(minver)) {
|
|
2248
|
+
return minver;
|
|
2249
|
+
}
|
|
2250
|
+
|
|
2251
|
+
return null;
|
|
2252
|
+
};
|
|
2253
|
+
|
|
2254
|
+
var minVersion_1 = minVersion;
|
|
2255
|
+
const Range$3 = requireRange();
|
|
2256
|
+
|
|
2257
|
+
const validRange = (range, options) => {
|
|
2258
|
+
try {
|
|
2259
|
+
return new Range$3(range, options).range || '*';
|
|
2260
|
+
} catch (er) {
|
|
2261
|
+
return null;
|
|
2262
|
+
}
|
|
2263
|
+
};
|
|
2264
|
+
|
|
2265
|
+
var valid = validRange;
|
|
2266
|
+
const SemVer = semver$2;
|
|
2267
|
+
const Comparator$1 = requireComparator();
|
|
2268
|
+
const {
|
|
2269
|
+
ANY: ANY$1
|
|
2270
|
+
} = Comparator$1;
|
|
2271
|
+
const Range$2 = requireRange();
|
|
2272
|
+
const satisfies$2 = satisfies_1;
|
|
2273
|
+
const gt = gt_1;
|
|
2274
|
+
const lt = lt_1;
|
|
2275
|
+
const lte = lte_1;
|
|
2276
|
+
const gte = gte_1;
|
|
2277
|
+
|
|
2278
|
+
const outside$2 = (version, range, hilo, options) => {
|
|
2279
|
+
version = new SemVer(version, options);
|
|
2280
|
+
range = new Range$2(range, options);
|
|
2281
|
+
let gtfn, ltefn, ltfn, comp, ecomp;
|
|
2282
|
+
|
|
2283
|
+
switch (hilo) {
|
|
2284
|
+
case '>':
|
|
2285
|
+
gtfn = gt;
|
|
2286
|
+
ltefn = lte;
|
|
2287
|
+
ltfn = lt;
|
|
2288
|
+
comp = '>';
|
|
2289
|
+
ecomp = '>=';
|
|
2290
|
+
break;
|
|
2291
|
+
|
|
2292
|
+
case '<':
|
|
2293
|
+
gtfn = lt;
|
|
2294
|
+
ltefn = gte;
|
|
2295
|
+
ltfn = gt;
|
|
2296
|
+
comp = '<';
|
|
2297
|
+
ecomp = '<=';
|
|
2298
|
+
break;
|
|
2299
|
+
|
|
2300
|
+
default:
|
|
2301
|
+
throw new TypeError('Must provide a hilo val of "<" or ">"');
|
|
2302
|
+
}
|
|
2303
|
+
|
|
2304
|
+
if (satisfies$2(version, range, options)) {
|
|
2305
|
+
return false;
|
|
2306
|
+
}
|
|
2307
|
+
|
|
2308
|
+
for (let i = 0; i < range.set.length; ++i) {
|
|
2309
|
+
const comparators = range.set[i];
|
|
2310
|
+
let high = null;
|
|
2311
|
+
let low = null;
|
|
2312
|
+
comparators.forEach(comparator => {
|
|
2313
|
+
if (comparator.semver === ANY$1) {
|
|
2314
|
+
comparator = new Comparator$1('>=0.0.0');
|
|
2315
|
+
}
|
|
2316
|
+
|
|
2317
|
+
high = high || comparator;
|
|
2318
|
+
low = low || comparator;
|
|
2319
|
+
|
|
2320
|
+
if (gtfn(comparator.semver, high.semver, options)) {
|
|
2321
|
+
high = comparator;
|
|
2322
|
+
} else if (ltfn(comparator.semver, low.semver, options)) {
|
|
2323
|
+
low = comparator;
|
|
2324
|
+
}
|
|
2325
|
+
});
|
|
2326
|
+
|
|
2327
|
+
if (high.operator === comp || high.operator === ecomp) {
|
|
2328
|
+
return false;
|
|
2329
|
+
}
|
|
2330
|
+
|
|
2331
|
+
if ((!low.operator || low.operator === comp) && ltefn(version, low.semver)) {
|
|
2332
|
+
return false;
|
|
2333
|
+
} else if (low.operator === ecomp && ltfn(version, low.semver)) {
|
|
2334
|
+
return false;
|
|
2335
|
+
}
|
|
2336
|
+
}
|
|
2337
|
+
|
|
2338
|
+
return true;
|
|
2339
|
+
};
|
|
2340
|
+
|
|
2341
|
+
var outside_1 = outside$2;
|
|
2342
|
+
const outside$1 = outside_1;
|
|
2343
|
+
|
|
2344
|
+
const gtr = (version, range, options) => outside$1(version, range, '>', options);
|
|
2345
|
+
|
|
2346
|
+
var gtr_1 = gtr;
|
|
2347
|
+
const outside = outside_1;
|
|
2348
|
+
|
|
2349
|
+
const ltr = (version, range, options) => outside(version, range, '<', options);
|
|
2350
|
+
|
|
2351
|
+
var ltr_1 = ltr;
|
|
2352
|
+
const Range$1 = requireRange();
|
|
2353
|
+
|
|
2354
|
+
const intersects = (r1, r2, options) => {
|
|
2355
|
+
r1 = new Range$1(r1, options);
|
|
2356
|
+
r2 = new Range$1(r2, options);
|
|
2357
|
+
return r1.intersects(r2);
|
|
2358
|
+
};
|
|
2359
|
+
|
|
2360
|
+
var intersects_1 = intersects;
|
|
2361
|
+
const satisfies$1 = satisfies_1;
|
|
2362
|
+
const compare$1 = compare_1;
|
|
2363
|
+
|
|
2364
|
+
var simplify = (versions, range, options) => {
|
|
2365
|
+
const set = [];
|
|
2366
|
+
let first = null;
|
|
2367
|
+
let prev = null;
|
|
2368
|
+
const v = versions.sort((a, b) => compare$1(a, b, options));
|
|
2369
|
+
|
|
2370
|
+
for (const version of v) {
|
|
2371
|
+
const included = satisfies$1(version, range, options);
|
|
2372
|
+
|
|
2373
|
+
if (included) {
|
|
2374
|
+
prev = version;
|
|
2375
|
+
|
|
2376
|
+
if (!first) {
|
|
2377
|
+
first = version;
|
|
2378
|
+
}
|
|
2379
|
+
} else {
|
|
2380
|
+
if (prev) {
|
|
2381
|
+
set.push([first, prev]);
|
|
2382
|
+
}
|
|
2383
|
+
|
|
2384
|
+
prev = null;
|
|
2385
|
+
first = null;
|
|
2386
|
+
}
|
|
2387
|
+
}
|
|
2388
|
+
|
|
2389
|
+
if (first) {
|
|
2390
|
+
set.push([first, null]);
|
|
2391
|
+
}
|
|
2392
|
+
|
|
2393
|
+
const ranges = [];
|
|
2394
|
+
|
|
2395
|
+
for (const [min, max] of set) {
|
|
2396
|
+
if (min === max) {
|
|
2397
|
+
ranges.push(min);
|
|
2398
|
+
} else if (!max && min === v[0]) {
|
|
2399
|
+
ranges.push('*');
|
|
2400
|
+
} else if (!max) {
|
|
2401
|
+
ranges.push(`>=${min}`);
|
|
2402
|
+
} else if (min === v[0]) {
|
|
2403
|
+
ranges.push(`<=${max}`);
|
|
2404
|
+
} else {
|
|
2405
|
+
ranges.push(`${min} - ${max}`);
|
|
2406
|
+
}
|
|
2407
|
+
}
|
|
2408
|
+
|
|
2409
|
+
const simplified = ranges.join(' || ');
|
|
2410
|
+
const original = typeof range.raw === 'string' ? range.raw : String(range);
|
|
2411
|
+
return simplified.length < original.length ? simplified : range;
|
|
2412
|
+
};
|
|
2413
|
+
|
|
2414
|
+
const Range = requireRange();
|
|
2415
|
+
const Comparator = requireComparator();
|
|
2416
|
+
const {
|
|
2417
|
+
ANY
|
|
2418
|
+
} = Comparator;
|
|
2419
|
+
const satisfies = satisfies_1;
|
|
2420
|
+
const compare = compare_1;
|
|
2421
|
+
|
|
2422
|
+
const subset = (sub, dom, options = {}) => {
|
|
2423
|
+
if (sub === dom) {
|
|
2424
|
+
return true;
|
|
2425
|
+
}
|
|
2426
|
+
|
|
2427
|
+
sub = new Range(sub, options);
|
|
2428
|
+
dom = new Range(dom, options);
|
|
2429
|
+
let sawNonNull = false;
|
|
2430
|
+
|
|
2431
|
+
OUTER: for (const simpleSub of sub.set) {
|
|
2432
|
+
for (const simpleDom of dom.set) {
|
|
2433
|
+
const isSub = simpleSubset(simpleSub, simpleDom, options);
|
|
2434
|
+
sawNonNull = sawNonNull || isSub !== null;
|
|
2435
|
+
|
|
2436
|
+
if (isSub) {
|
|
2437
|
+
continue OUTER;
|
|
2438
|
+
}
|
|
2439
|
+
}
|
|
2440
|
+
|
|
2441
|
+
if (sawNonNull) {
|
|
2442
|
+
return false;
|
|
2443
|
+
}
|
|
2444
|
+
}
|
|
2445
|
+
|
|
2446
|
+
return true;
|
|
2447
|
+
};
|
|
2448
|
+
|
|
2449
|
+
const simpleSubset = (sub, dom, options) => {
|
|
2450
|
+
if (sub === dom) {
|
|
2451
|
+
return true;
|
|
2452
|
+
}
|
|
2453
|
+
|
|
2454
|
+
if (sub.length === 1 && sub[0].semver === ANY) {
|
|
2455
|
+
if (dom.length === 1 && dom[0].semver === ANY) {
|
|
2456
|
+
return true;
|
|
2457
|
+
} else if (options.includePrerelease) {
|
|
2458
|
+
sub = [new Comparator('>=0.0.0-0')];
|
|
2459
|
+
} else {
|
|
2460
|
+
sub = [new Comparator('>=0.0.0')];
|
|
2461
|
+
}
|
|
2462
|
+
}
|
|
2463
|
+
|
|
2464
|
+
if (dom.length === 1 && dom[0].semver === ANY) {
|
|
2465
|
+
if (options.includePrerelease) {
|
|
2466
|
+
return true;
|
|
2467
|
+
} else {
|
|
2468
|
+
dom = [new Comparator('>=0.0.0')];
|
|
2469
|
+
}
|
|
2470
|
+
}
|
|
2471
|
+
|
|
2472
|
+
const eqSet = new Set();
|
|
2473
|
+
let gt, lt;
|
|
2474
|
+
|
|
2475
|
+
for (const c of sub) {
|
|
2476
|
+
if (c.operator === '>' || c.operator === '>=') {
|
|
2477
|
+
gt = higherGT(gt, c, options);
|
|
2478
|
+
} else if (c.operator === '<' || c.operator === '<=') {
|
|
2479
|
+
lt = lowerLT(lt, c, options);
|
|
2480
|
+
} else {
|
|
2481
|
+
eqSet.add(c.semver);
|
|
2482
|
+
}
|
|
2483
|
+
}
|
|
2484
|
+
|
|
2485
|
+
if (eqSet.size > 1) {
|
|
2486
|
+
return null;
|
|
2487
|
+
}
|
|
2488
|
+
|
|
2489
|
+
let gtltComp;
|
|
2490
|
+
|
|
2491
|
+
if (gt && lt) {
|
|
2492
|
+
gtltComp = compare(gt.semver, lt.semver, options);
|
|
2493
|
+
|
|
2494
|
+
if (gtltComp > 0) {
|
|
2495
|
+
return null;
|
|
2496
|
+
} else if (gtltComp === 0 && (gt.operator !== '>=' || lt.operator !== '<=')) {
|
|
2497
|
+
return null;
|
|
2498
|
+
}
|
|
2499
|
+
}
|
|
2500
|
+
|
|
2501
|
+
for (const eq of eqSet) {
|
|
2502
|
+
if (gt && !satisfies(eq, String(gt), options)) {
|
|
2503
|
+
return null;
|
|
2504
|
+
}
|
|
2505
|
+
|
|
2506
|
+
if (lt && !satisfies(eq, String(lt), options)) {
|
|
2507
|
+
return null;
|
|
2508
|
+
}
|
|
2509
|
+
|
|
2510
|
+
for (const c of dom) {
|
|
2511
|
+
if (!satisfies(eq, String(c), options)) {
|
|
2512
|
+
return false;
|
|
2513
|
+
}
|
|
2514
|
+
}
|
|
2515
|
+
|
|
2516
|
+
return true;
|
|
2517
|
+
}
|
|
2518
|
+
|
|
2519
|
+
let higher, lower;
|
|
2520
|
+
let hasDomLT, hasDomGT;
|
|
2521
|
+
let needDomLTPre = lt && !options.includePrerelease && lt.semver.prerelease.length ? lt.semver : false;
|
|
2522
|
+
let needDomGTPre = gt && !options.includePrerelease && gt.semver.prerelease.length ? gt.semver : false;
|
|
2523
|
+
|
|
2524
|
+
if (needDomLTPre && needDomLTPre.prerelease.length === 1 && lt.operator === '<' && needDomLTPre.prerelease[0] === 0) {
|
|
2525
|
+
needDomLTPre = false;
|
|
2526
|
+
}
|
|
2527
|
+
|
|
2528
|
+
for (const c of dom) {
|
|
2529
|
+
hasDomGT = hasDomGT || c.operator === '>' || c.operator === '>=';
|
|
2530
|
+
hasDomLT = hasDomLT || c.operator === '<' || c.operator === '<=';
|
|
2531
|
+
|
|
2532
|
+
if (gt) {
|
|
2533
|
+
if (needDomGTPre) {
|
|
2534
|
+
if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomGTPre.major && c.semver.minor === needDomGTPre.minor && c.semver.patch === needDomGTPre.patch) {
|
|
2535
|
+
needDomGTPre = false;
|
|
2536
|
+
}
|
|
2537
|
+
}
|
|
2538
|
+
|
|
2539
|
+
if (c.operator === '>' || c.operator === '>=') {
|
|
2540
|
+
higher = higherGT(gt, c, options);
|
|
2541
|
+
|
|
2542
|
+
if (higher === c && higher !== gt) {
|
|
2543
|
+
return false;
|
|
2544
|
+
}
|
|
2545
|
+
} else if (gt.operator === '>=' && !satisfies(gt.semver, String(c), options)) {
|
|
2546
|
+
return false;
|
|
2547
|
+
}
|
|
2548
|
+
}
|
|
2549
|
+
|
|
2550
|
+
if (lt) {
|
|
2551
|
+
if (needDomLTPre) {
|
|
2552
|
+
if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomLTPre.major && c.semver.minor === needDomLTPre.minor && c.semver.patch === needDomLTPre.patch) {
|
|
2553
|
+
needDomLTPre = false;
|
|
2554
|
+
}
|
|
2555
|
+
}
|
|
2556
|
+
|
|
2557
|
+
if (c.operator === '<' || c.operator === '<=') {
|
|
2558
|
+
lower = lowerLT(lt, c, options);
|
|
2559
|
+
|
|
2560
|
+
if (lower === c && lower !== lt) {
|
|
2561
|
+
return false;
|
|
2562
|
+
}
|
|
2563
|
+
} else if (lt.operator === '<=' && !satisfies(lt.semver, String(c), options)) {
|
|
2564
|
+
return false;
|
|
2565
|
+
}
|
|
2566
|
+
}
|
|
2567
|
+
|
|
2568
|
+
if (!c.operator && (lt || gt) && gtltComp !== 0) {
|
|
2569
|
+
return false;
|
|
2570
|
+
}
|
|
2571
|
+
}
|
|
2572
|
+
|
|
2573
|
+
if (gt && hasDomLT && !lt && gtltComp !== 0) {
|
|
2574
|
+
return false;
|
|
2575
|
+
}
|
|
2576
|
+
|
|
2577
|
+
if (lt && hasDomGT && !gt && gtltComp !== 0) {
|
|
2578
|
+
return false;
|
|
2579
|
+
}
|
|
2580
|
+
|
|
2581
|
+
if (needDomGTPre || needDomLTPre) {
|
|
2582
|
+
return false;
|
|
2583
|
+
}
|
|
2584
|
+
|
|
2585
|
+
return true;
|
|
2586
|
+
};
|
|
2587
|
+
|
|
2588
|
+
const higherGT = (a, b, options) => {
|
|
2589
|
+
if (!a) {
|
|
2590
|
+
return b;
|
|
2591
|
+
}
|
|
2592
|
+
|
|
2593
|
+
const comp = compare(a.semver, b.semver, options);
|
|
2594
|
+
return comp > 0 ? a : comp < 0 ? b : b.operator === '>' && a.operator === '>=' ? b : a;
|
|
2595
|
+
};
|
|
2596
|
+
|
|
2597
|
+
const lowerLT = (a, b, options) => {
|
|
2598
|
+
if (!a) {
|
|
2599
|
+
return b;
|
|
2600
|
+
}
|
|
2601
|
+
|
|
2602
|
+
const comp = compare(a.semver, b.semver, options);
|
|
2603
|
+
return comp < 0 ? a : comp > 0 ? b : b.operator === '<' && a.operator === '<=' ? b : a;
|
|
2604
|
+
};
|
|
2605
|
+
|
|
2606
|
+
var subset_1 = subset;
|
|
2607
|
+
const internalRe = re$3.exports;
|
|
2608
|
+
var semver$1 = {
|
|
2609
|
+
re: internalRe.re,
|
|
2610
|
+
src: internalRe.src,
|
|
2611
|
+
tokens: internalRe.t,
|
|
2612
|
+
SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,
|
|
2613
|
+
SemVer: semver$2,
|
|
2614
|
+
compareIdentifiers: identifiers.compareIdentifiers,
|
|
2615
|
+
rcompareIdentifiers: identifiers.rcompareIdentifiers,
|
|
2616
|
+
parse: parse_1,
|
|
2617
|
+
valid: valid_1,
|
|
2618
|
+
clean: clean_1,
|
|
2619
|
+
inc: inc_1,
|
|
2620
|
+
diff: diff_1,
|
|
2621
|
+
major: major_1,
|
|
2622
|
+
minor: minor_1,
|
|
2623
|
+
patch: patch_1,
|
|
2624
|
+
prerelease: prerelease_1,
|
|
2625
|
+
compare: compare_1,
|
|
2626
|
+
rcompare: rcompare_1,
|
|
2627
|
+
compareLoose: compareLoose_1,
|
|
2628
|
+
compareBuild: compareBuild_1,
|
|
2629
|
+
sort: sort_1,
|
|
2630
|
+
rsort: rsort_1,
|
|
2631
|
+
gt: gt_1,
|
|
2632
|
+
lt: lt_1,
|
|
2633
|
+
eq: eq_1,
|
|
2634
|
+
neq: neq_1,
|
|
2635
|
+
gte: gte_1,
|
|
2636
|
+
lte: lte_1,
|
|
2637
|
+
cmp: cmp_1,
|
|
2638
|
+
coerce: coerce_1,
|
|
2639
|
+
Comparator: requireComparator(),
|
|
2640
|
+
Range: requireRange(),
|
|
2641
|
+
satisfies: satisfies_1,
|
|
2642
|
+
toComparators: toComparators_1,
|
|
2643
|
+
maxSatisfying: maxSatisfying_1,
|
|
2644
|
+
minSatisfying: minSatisfying_1,
|
|
2645
|
+
minVersion: minVersion_1,
|
|
2646
|
+
validRange: valid,
|
|
2647
|
+
outside: outside_1,
|
|
2648
|
+
gtr: gtr_1,
|
|
2649
|
+
ltr: ltr_1,
|
|
2650
|
+
intersects: intersects_1,
|
|
2651
|
+
simplifyRange: simplify,
|
|
2652
|
+
subset: subset_1
|
|
2653
|
+
};
|
|
2654
|
+
var semver = semver$1;
|
|
2655
|
+
|
|
2656
|
+
var builtins = function ({
|
|
2657
|
+
version = process.version,
|
|
2658
|
+
experimental = false
|
|
2659
|
+
} = {}) {
|
|
2660
|
+
var coreModules = ['assert', 'buffer', 'child_process', 'cluster', 'console', 'constants', 'crypto', 'dgram', 'dns', 'domain', 'events', 'fs', 'http', 'https', 'module', 'net', 'os', 'path', 'punycode', 'querystring', 'readline', 'repl', 'stream', 'string_decoder', 'sys', 'timers', 'tls', 'tty', 'url', 'util', 'vm', 'zlib'];
|
|
2661
|
+
if (semver.lt(version, '6.0.0')) coreModules.push('freelist');
|
|
2662
|
+
if (semver.gte(version, '1.0.0')) coreModules.push('v8');
|
|
2663
|
+
if (semver.gte(version, '1.1.0')) coreModules.push('process');
|
|
2664
|
+
if (semver.gte(version, '8.0.0')) coreModules.push('inspector');
|
|
2665
|
+
if (semver.gte(version, '8.1.0')) coreModules.push('async_hooks');
|
|
2666
|
+
if (semver.gte(version, '8.4.0')) coreModules.push('http2');
|
|
2667
|
+
if (semver.gte(version, '8.5.0')) coreModules.push('perf_hooks');
|
|
2668
|
+
if (semver.gte(version, '10.0.0')) coreModules.push('trace_events');
|
|
2669
|
+
|
|
2670
|
+
if (semver.gte(version, '10.5.0') && (experimental || semver.gte(version, '12.0.0'))) {
|
|
2671
|
+
coreModules.push('worker_threads');
|
|
2672
|
+
}
|
|
2673
|
+
|
|
2674
|
+
if (semver.gte(version, '12.16.0') && experimental) {
|
|
2675
|
+
coreModules.push('wasi');
|
|
2676
|
+
}
|
|
2677
|
+
|
|
2678
|
+
return coreModules;
|
|
2679
|
+
};
|
|
2680
|
+
|
|
2681
|
+
const reader = {
|
|
2682
|
+
read
|
|
2683
|
+
};
|
|
2684
|
+
|
|
2685
|
+
function read(jsonPath) {
|
|
2686
|
+
return find(_path().dirname(jsonPath));
|
|
2687
|
+
}
|
|
2688
|
+
|
|
2689
|
+
function find(dir) {
|
|
2690
|
+
try {
|
|
2691
|
+
const string = _fs().default.readFileSync(_path().toNamespacedPath(_path().join(dir, 'package.json')), 'utf8');
|
|
2692
|
+
|
|
2693
|
+
return {
|
|
2694
|
+
string
|
|
2695
|
+
};
|
|
2696
|
+
} catch (error) {
|
|
2697
|
+
if (error.code === 'ENOENT') {
|
|
2698
|
+
const parent = _path().dirname(dir);
|
|
2699
|
+
|
|
2700
|
+
if (dir !== parent) return find(parent);
|
|
2701
|
+
return {
|
|
2702
|
+
string: undefined
|
|
2703
|
+
};
|
|
2704
|
+
}
|
|
2705
|
+
|
|
2706
|
+
throw error;
|
|
2707
|
+
}
|
|
2708
|
+
}
|
|
2709
|
+
|
|
2710
|
+
const isWindows = process.platform === 'win32';
|
|
2711
|
+
const own$1 = {}.hasOwnProperty;
|
|
2712
|
+
const codes = {};
|
|
2713
|
+
const messages = new Map();
|
|
2714
|
+
const nodeInternalPrefix = '__node_internal_';
|
|
2715
|
+
let userStackTraceLimit;
|
|
2716
|
+
codes.ERR_INVALID_MODULE_SPECIFIER = createError('ERR_INVALID_MODULE_SPECIFIER', (request, reason, base = undefined) => {
|
|
2717
|
+
return `Invalid module "${request}" ${reason}${base ? ` imported from ${base}` : ''}`;
|
|
2718
|
+
}, TypeError);
|
|
2719
|
+
codes.ERR_INVALID_PACKAGE_CONFIG = createError('ERR_INVALID_PACKAGE_CONFIG', (path, base, message) => {
|
|
2720
|
+
return `Invalid package config ${path}${base ? ` while importing ${base}` : ''}${message ? `. ${message}` : ''}`;
|
|
2721
|
+
}, Error);
|
|
2722
|
+
codes.ERR_INVALID_PACKAGE_TARGET = createError('ERR_INVALID_PACKAGE_TARGET', (pkgPath, key, target, isImport = false, base = undefined) => {
|
|
2723
|
+
const relError = typeof target === 'string' && !isImport && target.length > 0 && !target.startsWith('./');
|
|
2724
|
+
|
|
2725
|
+
if (key === '.') {
|
|
2726
|
+
_assert()(isImport === false);
|
|
2727
|
+
|
|
2728
|
+
return `Invalid "exports" main target ${JSON.stringify(target)} defined ` + `in the package config ${pkgPath}package.json${base ? ` imported from ${base}` : ''}${relError ? '; targets must start with "./"' : ''}`;
|
|
2729
|
+
}
|
|
2730
|
+
|
|
2731
|
+
return `Invalid "${isImport ? 'imports' : 'exports'}" target ${JSON.stringify(target)} defined for '${key}' in the package config ${pkgPath}package.json${base ? ` imported from ${base}` : ''}${relError ? '; targets must start with "./"' : ''}`;
|
|
2732
|
+
}, Error);
|
|
2733
|
+
codes.ERR_MODULE_NOT_FOUND = createError('ERR_MODULE_NOT_FOUND', (path, base, type = 'package') => {
|
|
2734
|
+
return `Cannot find ${type} '${path}' imported from ${base}`;
|
|
2735
|
+
}, Error);
|
|
2736
|
+
codes.ERR_PACKAGE_IMPORT_NOT_DEFINED = createError('ERR_PACKAGE_IMPORT_NOT_DEFINED', (specifier, packagePath, base) => {
|
|
2737
|
+
return `Package import specifier "${specifier}" is not defined${packagePath ? ` in package ${packagePath}package.json` : ''} imported from ${base}`;
|
|
2738
|
+
}, TypeError);
|
|
2739
|
+
codes.ERR_PACKAGE_PATH_NOT_EXPORTED = createError('ERR_PACKAGE_PATH_NOT_EXPORTED', (pkgPath, subpath, base = undefined) => {
|
|
2740
|
+
if (subpath === '.') return `No "exports" main defined in ${pkgPath}package.json${base ? ` imported from ${base}` : ''}`;
|
|
2741
|
+
return `Package subpath '${subpath}' is not defined by "exports" in ${pkgPath}package.json${base ? ` imported from ${base}` : ''}`;
|
|
2742
|
+
}, Error);
|
|
2743
|
+
codes.ERR_UNSUPPORTED_DIR_IMPORT = createError('ERR_UNSUPPORTED_DIR_IMPORT', "Directory import '%s' is not supported " + 'resolving ES modules imported from %s', Error);
|
|
2744
|
+
codes.ERR_UNKNOWN_FILE_EXTENSION = createError('ERR_UNKNOWN_FILE_EXTENSION', 'Unknown file extension "%s" for %s', TypeError);
|
|
2745
|
+
codes.ERR_INVALID_ARG_VALUE = createError('ERR_INVALID_ARG_VALUE', (name, value, reason = 'is invalid') => {
|
|
2746
|
+
let inspected = (0, _util().inspect)(value);
|
|
2747
|
+
|
|
2748
|
+
if (inspected.length > 128) {
|
|
2749
|
+
inspected = `${inspected.slice(0, 128)}...`;
|
|
2750
|
+
}
|
|
2751
|
+
|
|
2752
|
+
const type = name.includes('.') ? 'property' : 'argument';
|
|
2753
|
+
return `The ${type} '${name}' ${reason}. Received ${inspected}`;
|
|
2754
|
+
}, TypeError);
|
|
2755
|
+
codes.ERR_UNSUPPORTED_ESM_URL_SCHEME = createError('ERR_UNSUPPORTED_ESM_URL_SCHEME', url => {
|
|
2756
|
+
let message = 'Only file and data URLs are supported by the default ESM loader';
|
|
2757
|
+
|
|
2758
|
+
if (isWindows && url.protocol.length === 2) {
|
|
2759
|
+
message += '. On Windows, absolute paths must be valid file:// URLs';
|
|
2760
|
+
}
|
|
2761
|
+
|
|
2762
|
+
message += `. Received protocol '${url.protocol}'`;
|
|
2763
|
+
return message;
|
|
2764
|
+
}, Error);
|
|
2765
|
+
|
|
2766
|
+
function createError(sym, value, def) {
|
|
2767
|
+
messages.set(sym, value);
|
|
2768
|
+
return makeNodeErrorWithCode(def, sym);
|
|
2769
|
+
}
|
|
2770
|
+
|
|
2771
|
+
function makeNodeErrorWithCode(Base, key) {
|
|
2772
|
+
return NodeError;
|
|
2773
|
+
|
|
2774
|
+
function NodeError(...args) {
|
|
2775
|
+
const limit = Error.stackTraceLimit;
|
|
2776
|
+
if (isErrorStackTraceLimitWritable()) Error.stackTraceLimit = 0;
|
|
2777
|
+
const error = new Base();
|
|
2778
|
+
if (isErrorStackTraceLimitWritable()) Error.stackTraceLimit = limit;
|
|
2779
|
+
const message = getMessage(key, args, error);
|
|
2780
|
+
Object.defineProperty(error, 'message', {
|
|
2781
|
+
value: message,
|
|
2782
|
+
enumerable: false,
|
|
2783
|
+
writable: true,
|
|
2784
|
+
configurable: true
|
|
2785
|
+
});
|
|
2786
|
+
Object.defineProperty(error, 'toString', {
|
|
2787
|
+
value() {
|
|
2788
|
+
return `${this.name} [${key}]: ${this.message}`;
|
|
2789
|
+
},
|
|
2790
|
+
|
|
2791
|
+
enumerable: false,
|
|
2792
|
+
writable: true,
|
|
2793
|
+
configurable: true
|
|
2794
|
+
});
|
|
2795
|
+
addCodeToName(error, Base.name, key);
|
|
2796
|
+
error.code = key;
|
|
2797
|
+
return error;
|
|
2798
|
+
}
|
|
2799
|
+
}
|
|
2800
|
+
|
|
2801
|
+
const addCodeToName = hideStackFrames(function (error, name, code) {
|
|
2802
|
+
error = captureLargerStackTrace(error);
|
|
2803
|
+
error.name = `${name} [${code}]`;
|
|
2804
|
+
error.stack;
|
|
2805
|
+
|
|
2806
|
+
if (name === 'SystemError') {
|
|
2807
|
+
Object.defineProperty(error, 'name', {
|
|
2808
|
+
value: name,
|
|
2809
|
+
enumerable: false,
|
|
2810
|
+
writable: true,
|
|
2811
|
+
configurable: true
|
|
2812
|
+
});
|
|
2813
|
+
} else {
|
|
2814
|
+
delete error.name;
|
|
2815
|
+
}
|
|
2816
|
+
});
|
|
2817
|
+
|
|
2818
|
+
function isErrorStackTraceLimitWritable() {
|
|
2819
|
+
const desc = Object.getOwnPropertyDescriptor(Error, 'stackTraceLimit');
|
|
2820
|
+
|
|
2821
|
+
if (desc === undefined) {
|
|
2822
|
+
return Object.isExtensible(Error);
|
|
2823
|
+
}
|
|
2824
|
+
|
|
2825
|
+
return own$1.call(desc, 'writable') ? desc.writable : desc.set !== undefined;
|
|
2826
|
+
}
|
|
2827
|
+
|
|
2828
|
+
function hideStackFrames(fn) {
|
|
2829
|
+
const hidden = nodeInternalPrefix + fn.name;
|
|
2830
|
+
Object.defineProperty(fn, 'name', {
|
|
2831
|
+
value: hidden
|
|
2832
|
+
});
|
|
2833
|
+
return fn;
|
|
2834
|
+
}
|
|
2835
|
+
|
|
2836
|
+
const captureLargerStackTrace = hideStackFrames(function (error) {
|
|
2837
|
+
const stackTraceLimitIsWritable = isErrorStackTraceLimitWritable();
|
|
2838
|
+
|
|
2839
|
+
if (stackTraceLimitIsWritable) {
|
|
2840
|
+
userStackTraceLimit = Error.stackTraceLimit;
|
|
2841
|
+
Error.stackTraceLimit = Number.POSITIVE_INFINITY;
|
|
2842
|
+
}
|
|
2843
|
+
|
|
2844
|
+
Error.captureStackTrace(error);
|
|
2845
|
+
if (stackTraceLimitIsWritable) Error.stackTraceLimit = userStackTraceLimit;
|
|
2846
|
+
return error;
|
|
2847
|
+
});
|
|
2848
|
+
|
|
2849
|
+
function getMessage(key, args, self) {
|
|
2850
|
+
const message = messages.get(key);
|
|
2851
|
+
|
|
2852
|
+
if (typeof message === 'function') {
|
|
2853
|
+
_assert()(message.length <= args.length, `Code: ${key}; The provided arguments length (${args.length}) does not ` + `match the required ones (${message.length}).`);
|
|
2854
|
+
|
|
2855
|
+
return Reflect.apply(message, self, args);
|
|
2856
|
+
}
|
|
2857
|
+
|
|
2858
|
+
const expectedLength = (message.match(/%[dfijoOs]/g) || []).length;
|
|
2859
|
+
|
|
2860
|
+
_assert()(expectedLength === args.length, `Code: ${key}; The provided arguments length (${args.length}) does not ` + `match the required ones (${expectedLength}).`);
|
|
2861
|
+
|
|
2862
|
+
if (args.length === 0) return message;
|
|
2863
|
+
args.unshift(message);
|
|
2864
|
+
return Reflect.apply(_util().format, null, args);
|
|
2865
|
+
}
|
|
2866
|
+
|
|
2867
|
+
const {
|
|
2868
|
+
ERR_UNKNOWN_FILE_EXTENSION
|
|
2869
|
+
} = codes;
|
|
2870
|
+
const extensionFormatMap = {
|
|
2871
|
+
__proto__: null,
|
|
2872
|
+
'.cjs': 'commonjs',
|
|
2873
|
+
'.js': 'module',
|
|
2874
|
+
'.mjs': 'module'
|
|
2875
|
+
};
|
|
2876
|
+
|
|
2877
|
+
function defaultGetFormat(url) {
|
|
2878
|
+
if (url.startsWith('node:')) {
|
|
2879
|
+
return {
|
|
2880
|
+
format: 'builtin'
|
|
2881
|
+
};
|
|
2882
|
+
}
|
|
2883
|
+
|
|
2884
|
+
const parsed = new (_url().URL)(url);
|
|
2885
|
+
|
|
2886
|
+
if (parsed.protocol === 'data:') {
|
|
2887
|
+
const {
|
|
2888
|
+
1: mime
|
|
2889
|
+
} = /^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(parsed.pathname) || [null, null];
|
|
2890
|
+
const format = mime === 'text/javascript' ? 'module' : null;
|
|
2891
|
+
return {
|
|
2892
|
+
format
|
|
2893
|
+
};
|
|
2894
|
+
}
|
|
2895
|
+
|
|
2896
|
+
if (parsed.protocol === 'file:') {
|
|
2897
|
+
const ext = _path().extname(parsed.pathname);
|
|
2898
|
+
|
|
2899
|
+
let format;
|
|
2900
|
+
|
|
2901
|
+
if (ext === '.js') {
|
|
2902
|
+
format = getPackageType(parsed.href) === 'module' ? 'module' : 'commonjs';
|
|
2903
|
+
} else {
|
|
2904
|
+
format = extensionFormatMap[ext];
|
|
2905
|
+
}
|
|
2906
|
+
|
|
2907
|
+
if (!format) {
|
|
2908
|
+
throw new ERR_UNKNOWN_FILE_EXTENSION(ext, (0, _url().fileURLToPath)(url));
|
|
2909
|
+
}
|
|
2910
|
+
|
|
2911
|
+
return {
|
|
2912
|
+
format: format || null
|
|
2913
|
+
};
|
|
2914
|
+
}
|
|
2915
|
+
|
|
2916
|
+
return {
|
|
2917
|
+
format: null
|
|
2918
|
+
};
|
|
2919
|
+
}
|
|
2920
|
+
|
|
2921
|
+
const listOfBuiltins = builtins();
|
|
2922
|
+
const {
|
|
2923
|
+
ERR_INVALID_MODULE_SPECIFIER,
|
|
2924
|
+
ERR_INVALID_PACKAGE_CONFIG,
|
|
2925
|
+
ERR_INVALID_PACKAGE_TARGET,
|
|
2926
|
+
ERR_MODULE_NOT_FOUND,
|
|
2927
|
+
ERR_PACKAGE_IMPORT_NOT_DEFINED,
|
|
2928
|
+
ERR_PACKAGE_PATH_NOT_EXPORTED,
|
|
2929
|
+
ERR_UNSUPPORTED_DIR_IMPORT,
|
|
2930
|
+
ERR_UNSUPPORTED_ESM_URL_SCHEME,
|
|
2931
|
+
ERR_INVALID_ARG_VALUE
|
|
2932
|
+
} = codes;
|
|
2933
|
+
const own = {}.hasOwnProperty;
|
|
2934
|
+
const DEFAULT_CONDITIONS = Object.freeze(['node', 'import']);
|
|
2935
|
+
const DEFAULT_CONDITIONS_SET = new Set(DEFAULT_CONDITIONS);
|
|
2936
|
+
const invalidSegmentRegEx = /(^|\\|\/)(\.\.?|node_modules)(\\|\/|$)/;
|
|
2937
|
+
const patternRegEx = /\*/g;
|
|
2938
|
+
const encodedSepRegEx = /%2f|%2c/i;
|
|
2939
|
+
const emittedPackageWarnings = new Set();
|
|
2940
|
+
const packageJsonCache = new Map();
|
|
2941
|
+
|
|
2942
|
+
function emitFolderMapDeprecation(match, pjsonUrl, isExports, base) {
|
|
2943
|
+
const pjsonPath = (0, _url().fileURLToPath)(pjsonUrl);
|
|
2944
|
+
if (emittedPackageWarnings.has(pjsonPath + '|' + match)) return;
|
|
2945
|
+
emittedPackageWarnings.add(pjsonPath + '|' + match);
|
|
2946
|
+
process.emitWarning(`Use of deprecated folder mapping "${match}" in the ${isExports ? '"exports"' : '"imports"'} field module resolution of the package at ${pjsonPath}${base ? ` imported from ${(0, _url().fileURLToPath)(base)}` : ''}.\n` + `Update this package.json to use a subpath pattern like "${match}*".`, 'DeprecationWarning', 'DEP0148');
|
|
2947
|
+
}
|
|
2948
|
+
|
|
2949
|
+
function emitLegacyIndexDeprecation(url, packageJsonUrl, base, main) {
|
|
2950
|
+
const {
|
|
2951
|
+
format
|
|
2952
|
+
} = defaultGetFormat(url.href);
|
|
2953
|
+
if (format !== 'module') return;
|
|
2954
|
+
const path = (0, _url().fileURLToPath)(url.href);
|
|
2955
|
+
const pkgPath = (0, _url().fileURLToPath)(new (_url().URL)('.', packageJsonUrl));
|
|
2956
|
+
const basePath = (0, _url().fileURLToPath)(base);
|
|
2957
|
+
if (main) process.emitWarning(`Package ${pkgPath} has a "main" field set to ${JSON.stringify(main)}, ` + `excluding the full filename and extension to the resolved file at "${path.slice(pkgPath.length)}", imported from ${basePath}.\n Automatic extension resolution of the "main" field is` + 'deprecated for ES modules.', 'DeprecationWarning', 'DEP0151');else process.emitWarning(`No "main" or "exports" field defined in the package.json for ${pkgPath} resolving the main entry point "${path.slice(pkgPath.length)}", imported from ${basePath}.\nDefault "index" lookups for the main are deprecated for ES modules.`, 'DeprecationWarning', 'DEP0151');
|
|
2958
|
+
}
|
|
2959
|
+
|
|
2960
|
+
function getConditionsSet(conditions) {
|
|
2961
|
+
if (conditions !== undefined && conditions !== DEFAULT_CONDITIONS) {
|
|
2962
|
+
if (!Array.isArray(conditions)) {
|
|
2963
|
+
throw new ERR_INVALID_ARG_VALUE('conditions', conditions, 'expected an array');
|
|
2964
|
+
}
|
|
2965
|
+
|
|
2966
|
+
return new Set(conditions);
|
|
2967
|
+
}
|
|
2968
|
+
|
|
2969
|
+
return DEFAULT_CONDITIONS_SET;
|
|
2970
|
+
}
|
|
2971
|
+
|
|
2972
|
+
function tryStatSync(path) {
|
|
2973
|
+
try {
|
|
2974
|
+
return (0, _fs().statSync)(path);
|
|
2975
|
+
} catch (_unused) {
|
|
2976
|
+
return new (_fs().Stats)();
|
|
2977
|
+
}
|
|
2978
|
+
}
|
|
2979
|
+
|
|
2980
|
+
function getPackageConfig(path, specifier, base) {
|
|
2981
|
+
const existing = packageJsonCache.get(path);
|
|
2982
|
+
|
|
2983
|
+
if (existing !== undefined) {
|
|
2984
|
+
return existing;
|
|
2985
|
+
}
|
|
2986
|
+
|
|
2987
|
+
const source = reader.read(path).string;
|
|
2988
|
+
|
|
2989
|
+
if (source === undefined) {
|
|
2990
|
+
const packageConfig = {
|
|
2991
|
+
pjsonPath: path,
|
|
2992
|
+
exists: false,
|
|
2993
|
+
main: undefined,
|
|
2994
|
+
name: undefined,
|
|
2995
|
+
type: 'none',
|
|
2996
|
+
exports: undefined,
|
|
2997
|
+
imports: undefined
|
|
2998
|
+
};
|
|
2999
|
+
packageJsonCache.set(path, packageConfig);
|
|
3000
|
+
return packageConfig;
|
|
3001
|
+
}
|
|
3002
|
+
|
|
3003
|
+
let packageJson;
|
|
3004
|
+
|
|
3005
|
+
try {
|
|
3006
|
+
packageJson = JSON.parse(source);
|
|
3007
|
+
} catch (error) {
|
|
3008
|
+
throw new ERR_INVALID_PACKAGE_CONFIG(path, (base ? `"${specifier}" from ` : '') + (0, _url().fileURLToPath)(base || specifier), error.message);
|
|
3009
|
+
}
|
|
3010
|
+
|
|
3011
|
+
const {
|
|
3012
|
+
exports,
|
|
3013
|
+
imports,
|
|
3014
|
+
main,
|
|
3015
|
+
name,
|
|
3016
|
+
type
|
|
3017
|
+
} = packageJson;
|
|
3018
|
+
const packageConfig = {
|
|
3019
|
+
pjsonPath: path,
|
|
3020
|
+
exists: true,
|
|
3021
|
+
main: typeof main === 'string' ? main : undefined,
|
|
3022
|
+
name: typeof name === 'string' ? name : undefined,
|
|
3023
|
+
type: type === 'module' || type === 'commonjs' ? type : 'none',
|
|
3024
|
+
exports,
|
|
3025
|
+
imports: imports && typeof imports === 'object' ? imports : undefined
|
|
3026
|
+
};
|
|
3027
|
+
packageJsonCache.set(path, packageConfig);
|
|
3028
|
+
return packageConfig;
|
|
3029
|
+
}
|
|
3030
|
+
|
|
3031
|
+
function getPackageScopeConfig(resolved) {
|
|
3032
|
+
let packageJsonUrl = new (_url().URL)('./package.json', resolved);
|
|
3033
|
+
|
|
3034
|
+
while (true) {
|
|
3035
|
+
const packageJsonPath = packageJsonUrl.pathname;
|
|
3036
|
+
if (packageJsonPath.endsWith('node_modules/package.json')) break;
|
|
3037
|
+
const packageConfig = getPackageConfig((0, _url().fileURLToPath)(packageJsonUrl), resolved);
|
|
3038
|
+
if (packageConfig.exists) return packageConfig;
|
|
3039
|
+
const lastPackageJsonUrl = packageJsonUrl;
|
|
3040
|
+
packageJsonUrl = new (_url().URL)('../package.json', packageJsonUrl);
|
|
3041
|
+
if (packageJsonUrl.pathname === lastPackageJsonUrl.pathname) break;
|
|
3042
|
+
}
|
|
3043
|
+
|
|
3044
|
+
const packageJsonPath = (0, _url().fileURLToPath)(packageJsonUrl);
|
|
3045
|
+
const packageConfig = {
|
|
3046
|
+
pjsonPath: packageJsonPath,
|
|
3047
|
+
exists: false,
|
|
3048
|
+
main: undefined,
|
|
3049
|
+
name: undefined,
|
|
3050
|
+
type: 'none',
|
|
3051
|
+
exports: undefined,
|
|
3052
|
+
imports: undefined
|
|
3053
|
+
};
|
|
3054
|
+
packageJsonCache.set(packageJsonPath, packageConfig);
|
|
3055
|
+
return packageConfig;
|
|
3056
|
+
}
|
|
3057
|
+
|
|
3058
|
+
function fileExists(url) {
|
|
3059
|
+
return tryStatSync((0, _url().fileURLToPath)(url)).isFile();
|
|
3060
|
+
}
|
|
3061
|
+
|
|
3062
|
+
function legacyMainResolve(packageJsonUrl, packageConfig, base) {
|
|
3063
|
+
let guess;
|
|
3064
|
+
|
|
3065
|
+
if (packageConfig.main !== undefined) {
|
|
3066
|
+
guess = new (_url().URL)(`./${packageConfig.main}`, packageJsonUrl);
|
|
3067
|
+
if (fileExists(guess)) return guess;
|
|
3068
|
+
const tries = [`./${packageConfig.main}.js`, `./${packageConfig.main}.json`, `./${packageConfig.main}.node`, `./${packageConfig.main}/index.js`, `./${packageConfig.main}/index.json`, `./${packageConfig.main}/index.node`];
|
|
3069
|
+
let i = -1;
|
|
3070
|
+
|
|
3071
|
+
while (++i < tries.length) {
|
|
3072
|
+
guess = new (_url().URL)(tries[i], packageJsonUrl);
|
|
3073
|
+
if (fileExists(guess)) break;
|
|
3074
|
+
guess = undefined;
|
|
3075
|
+
}
|
|
3076
|
+
|
|
3077
|
+
if (guess) {
|
|
3078
|
+
emitLegacyIndexDeprecation(guess, packageJsonUrl, base, packageConfig.main);
|
|
3079
|
+
return guess;
|
|
3080
|
+
}
|
|
3081
|
+
}
|
|
3082
|
+
|
|
3083
|
+
const tries = ['./index.js', './index.json', './index.node'];
|
|
3084
|
+
let i = -1;
|
|
3085
|
+
|
|
3086
|
+
while (++i < tries.length) {
|
|
3087
|
+
guess = new (_url().URL)(tries[i], packageJsonUrl);
|
|
3088
|
+
if (fileExists(guess)) break;
|
|
3089
|
+
guess = undefined;
|
|
3090
|
+
}
|
|
3091
|
+
|
|
3092
|
+
if (guess) {
|
|
3093
|
+
emitLegacyIndexDeprecation(guess, packageJsonUrl, base, packageConfig.main);
|
|
3094
|
+
return guess;
|
|
3095
|
+
}
|
|
3096
|
+
|
|
3097
|
+
throw new ERR_MODULE_NOT_FOUND((0, _url().fileURLToPath)(new (_url().URL)('.', packageJsonUrl)), (0, _url().fileURLToPath)(base));
|
|
3098
|
+
}
|
|
3099
|
+
|
|
3100
|
+
function finalizeResolution(resolved, base) {
|
|
3101
|
+
if (encodedSepRegEx.test(resolved.pathname)) throw new ERR_INVALID_MODULE_SPECIFIER(resolved.pathname, 'must not include encoded "/" or "\\" characters', (0, _url().fileURLToPath)(base));
|
|
3102
|
+
const path = (0, _url().fileURLToPath)(resolved);
|
|
3103
|
+
const stats = tryStatSync(path.endsWith('/') ? path.slice(-1) : path);
|
|
3104
|
+
|
|
3105
|
+
if (stats.isDirectory()) {
|
|
3106
|
+
const error = new ERR_UNSUPPORTED_DIR_IMPORT(path, (0, _url().fileURLToPath)(base));
|
|
3107
|
+
error.url = String(resolved);
|
|
3108
|
+
throw error;
|
|
3109
|
+
}
|
|
3110
|
+
|
|
3111
|
+
if (!stats.isFile()) {
|
|
3112
|
+
throw new ERR_MODULE_NOT_FOUND(path || resolved.pathname, base && (0, _url().fileURLToPath)(base), 'module');
|
|
3113
|
+
}
|
|
3114
|
+
|
|
3115
|
+
return resolved;
|
|
3116
|
+
}
|
|
3117
|
+
|
|
3118
|
+
function throwImportNotDefined(specifier, packageJsonUrl, base) {
|
|
3119
|
+
throw new ERR_PACKAGE_IMPORT_NOT_DEFINED(specifier, packageJsonUrl && (0, _url().fileURLToPath)(new (_url().URL)('.', packageJsonUrl)), (0, _url().fileURLToPath)(base));
|
|
3120
|
+
}
|
|
3121
|
+
|
|
3122
|
+
function throwExportsNotFound(subpath, packageJsonUrl, base) {
|
|
3123
|
+
throw new ERR_PACKAGE_PATH_NOT_EXPORTED((0, _url().fileURLToPath)(new (_url().URL)('.', packageJsonUrl)), subpath, base && (0, _url().fileURLToPath)(base));
|
|
3124
|
+
}
|
|
3125
|
+
|
|
3126
|
+
function throwInvalidSubpath(subpath, packageJsonUrl, internal, base) {
|
|
3127
|
+
const reason = `request is not a valid subpath for the "${internal ? 'imports' : 'exports'}" resolution of ${(0, _url().fileURLToPath)(packageJsonUrl)}`;
|
|
3128
|
+
throw new ERR_INVALID_MODULE_SPECIFIER(subpath, reason, base && (0, _url().fileURLToPath)(base));
|
|
3129
|
+
}
|
|
3130
|
+
|
|
3131
|
+
function throwInvalidPackageTarget(subpath, target, packageJsonUrl, internal, base) {
|
|
3132
|
+
target = typeof target === 'object' && target !== null ? JSON.stringify(target, null, '') : `${target}`;
|
|
3133
|
+
throw new ERR_INVALID_PACKAGE_TARGET((0, _url().fileURLToPath)(new (_url().URL)('.', packageJsonUrl)), subpath, target, internal, base && (0, _url().fileURLToPath)(base));
|
|
3134
|
+
}
|
|
3135
|
+
|
|
3136
|
+
function resolvePackageTargetString(target, subpath, match, packageJsonUrl, base, pattern, internal, conditions) {
|
|
3137
|
+
if (subpath !== '' && !pattern && target[target.length - 1] !== '/') throwInvalidPackageTarget(match, target, packageJsonUrl, internal, base);
|
|
3138
|
+
|
|
3139
|
+
if (!target.startsWith('./')) {
|
|
3140
|
+
if (internal && !target.startsWith('../') && !target.startsWith('/')) {
|
|
3141
|
+
let isURL = false;
|
|
3142
|
+
|
|
3143
|
+
try {
|
|
3144
|
+
new (_url().URL)(target);
|
|
3145
|
+
isURL = true;
|
|
3146
|
+
} catch (_unused2) {}
|
|
3147
|
+
|
|
3148
|
+
if (!isURL) {
|
|
3149
|
+
const exportTarget = pattern ? target.replace(patternRegEx, subpath) : target + subpath;
|
|
3150
|
+
return packageResolve(exportTarget, packageJsonUrl, conditions);
|
|
3151
|
+
}
|
|
3152
|
+
}
|
|
3153
|
+
|
|
3154
|
+
throwInvalidPackageTarget(match, target, packageJsonUrl, internal, base);
|
|
3155
|
+
}
|
|
3156
|
+
|
|
3157
|
+
if (invalidSegmentRegEx.test(target.slice(2))) throwInvalidPackageTarget(match, target, packageJsonUrl, internal, base);
|
|
3158
|
+
const resolved = new (_url().URL)(target, packageJsonUrl);
|
|
3159
|
+
const resolvedPath = resolved.pathname;
|
|
3160
|
+
const packagePath = new (_url().URL)('.', packageJsonUrl).pathname;
|
|
3161
|
+
if (!resolvedPath.startsWith(packagePath)) throwInvalidPackageTarget(match, target, packageJsonUrl, internal, base);
|
|
3162
|
+
if (subpath === '') return resolved;
|
|
3163
|
+
if (invalidSegmentRegEx.test(subpath)) throwInvalidSubpath(match + subpath, packageJsonUrl, internal, base);
|
|
3164
|
+
if (pattern) return new (_url().URL)(resolved.href.replace(patternRegEx, subpath));
|
|
3165
|
+
return new (_url().URL)(subpath, resolved);
|
|
3166
|
+
}
|
|
3167
|
+
|
|
3168
|
+
function isArrayIndex(key) {
|
|
3169
|
+
const keyNumber = Number(key);
|
|
3170
|
+
if (`${keyNumber}` !== key) return false;
|
|
3171
|
+
return keyNumber >= 0 && keyNumber < 0xffffffff;
|
|
3172
|
+
}
|
|
3173
|
+
|
|
3174
|
+
function resolvePackageTarget(packageJsonUrl, target, subpath, packageSubpath, base, pattern, internal, conditions) {
|
|
3175
|
+
if (typeof target === 'string') {
|
|
3176
|
+
return resolvePackageTargetString(target, subpath, packageSubpath, packageJsonUrl, base, pattern, internal, conditions);
|
|
3177
|
+
}
|
|
3178
|
+
|
|
3179
|
+
if (Array.isArray(target)) {
|
|
3180
|
+
const targetList = target;
|
|
3181
|
+
if (targetList.length === 0) return null;
|
|
3182
|
+
let lastException;
|
|
3183
|
+
let i = -1;
|
|
3184
|
+
|
|
3185
|
+
while (++i < targetList.length) {
|
|
3186
|
+
const targetItem = targetList[i];
|
|
3187
|
+
let resolved;
|
|
3188
|
+
|
|
3189
|
+
try {
|
|
3190
|
+
resolved = resolvePackageTarget(packageJsonUrl, targetItem, subpath, packageSubpath, base, pattern, internal, conditions);
|
|
3191
|
+
} catch (error) {
|
|
3192
|
+
lastException = error;
|
|
3193
|
+
if (error.code === 'ERR_INVALID_PACKAGE_TARGET') continue;
|
|
3194
|
+
throw error;
|
|
3195
|
+
}
|
|
3196
|
+
|
|
3197
|
+
if (resolved === undefined) continue;
|
|
3198
|
+
|
|
3199
|
+
if (resolved === null) {
|
|
3200
|
+
lastException = null;
|
|
3201
|
+
continue;
|
|
3202
|
+
}
|
|
3203
|
+
|
|
3204
|
+
return resolved;
|
|
3205
|
+
}
|
|
3206
|
+
|
|
3207
|
+
if (lastException === undefined || lastException === null) {
|
|
3208
|
+
return lastException;
|
|
3209
|
+
}
|
|
3210
|
+
|
|
3211
|
+
throw lastException;
|
|
3212
|
+
}
|
|
3213
|
+
|
|
3214
|
+
if (typeof target === 'object' && target !== null) {
|
|
3215
|
+
const keys = Object.getOwnPropertyNames(target);
|
|
3216
|
+
let i = -1;
|
|
3217
|
+
|
|
3218
|
+
while (++i < keys.length) {
|
|
3219
|
+
const key = keys[i];
|
|
3220
|
+
|
|
3221
|
+
if (isArrayIndex(key)) {
|
|
3222
|
+
throw new ERR_INVALID_PACKAGE_CONFIG((0, _url().fileURLToPath)(packageJsonUrl), base, '"exports" cannot contain numeric property keys.');
|
|
3223
|
+
}
|
|
3224
|
+
}
|
|
3225
|
+
|
|
3226
|
+
i = -1;
|
|
3227
|
+
|
|
3228
|
+
while (++i < keys.length) {
|
|
3229
|
+
const key = keys[i];
|
|
3230
|
+
|
|
3231
|
+
if (key === 'default' || conditions && conditions.has(key)) {
|
|
3232
|
+
const conditionalTarget = target[key];
|
|
3233
|
+
const resolved = resolvePackageTarget(packageJsonUrl, conditionalTarget, subpath, packageSubpath, base, pattern, internal, conditions);
|
|
3234
|
+
if (resolved === undefined) continue;
|
|
3235
|
+
return resolved;
|
|
3236
|
+
}
|
|
3237
|
+
}
|
|
3238
|
+
|
|
3239
|
+
return undefined;
|
|
3240
|
+
}
|
|
3241
|
+
|
|
3242
|
+
if (target === null) {
|
|
3243
|
+
return null;
|
|
3244
|
+
}
|
|
3245
|
+
|
|
3246
|
+
throwInvalidPackageTarget(packageSubpath, target, packageJsonUrl, internal, base);
|
|
3247
|
+
}
|
|
3248
|
+
|
|
3249
|
+
function isConditionalExportsMainSugar(exports, packageJsonUrl, base) {
|
|
3250
|
+
if (typeof exports === 'string' || Array.isArray(exports)) return true;
|
|
3251
|
+
if (typeof exports !== 'object' || exports === null) return false;
|
|
3252
|
+
const keys = Object.getOwnPropertyNames(exports);
|
|
3253
|
+
let isConditionalSugar = false;
|
|
3254
|
+
let i = 0;
|
|
3255
|
+
let j = -1;
|
|
3256
|
+
|
|
3257
|
+
while (++j < keys.length) {
|
|
3258
|
+
const key = keys[j];
|
|
3259
|
+
const curIsConditionalSugar = key === '' || key[0] !== '.';
|
|
3260
|
+
|
|
3261
|
+
if (i++ === 0) {
|
|
3262
|
+
isConditionalSugar = curIsConditionalSugar;
|
|
3263
|
+
} else if (isConditionalSugar !== curIsConditionalSugar) {
|
|
3264
|
+
throw new ERR_INVALID_PACKAGE_CONFIG((0, _url().fileURLToPath)(packageJsonUrl), base, '"exports" cannot contain some keys starting with \'.\' and some not.' + ' The exports object must either be an object of package subpath keys' + ' or an object of main entry condition name keys only.');
|
|
3265
|
+
}
|
|
3266
|
+
}
|
|
3267
|
+
|
|
3268
|
+
return isConditionalSugar;
|
|
3269
|
+
}
|
|
3270
|
+
|
|
3271
|
+
function packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, base, conditions) {
|
|
3272
|
+
let exports = packageConfig.exports;
|
|
3273
|
+
if (isConditionalExportsMainSugar(exports, packageJsonUrl, base)) exports = {
|
|
3274
|
+
'.': exports
|
|
3275
|
+
};
|
|
3276
|
+
|
|
3277
|
+
if (own.call(exports, packageSubpath)) {
|
|
3278
|
+
const target = exports[packageSubpath];
|
|
3279
|
+
const resolved = resolvePackageTarget(packageJsonUrl, target, '', packageSubpath, base, false, false, conditions);
|
|
3280
|
+
if (resolved === null || resolved === undefined) throwExportsNotFound(packageSubpath, packageJsonUrl, base);
|
|
3281
|
+
return {
|
|
3282
|
+
resolved,
|
|
3283
|
+
exact: true
|
|
3284
|
+
};
|
|
3285
|
+
}
|
|
3286
|
+
|
|
3287
|
+
let bestMatch = '';
|
|
3288
|
+
const keys = Object.getOwnPropertyNames(exports);
|
|
3289
|
+
let i = -1;
|
|
3290
|
+
|
|
3291
|
+
while (++i < keys.length) {
|
|
3292
|
+
const key = keys[i];
|
|
3293
|
+
|
|
3294
|
+
if (key[key.length - 1] === '*' && packageSubpath.startsWith(key.slice(0, -1)) && packageSubpath.length >= key.length && key.length > bestMatch.length) {
|
|
3295
|
+
bestMatch = key;
|
|
3296
|
+
} else if (key[key.length - 1] === '/' && packageSubpath.startsWith(key) && key.length > bestMatch.length) {
|
|
3297
|
+
bestMatch = key;
|
|
3298
|
+
}
|
|
3299
|
+
}
|
|
3300
|
+
|
|
3301
|
+
if (bestMatch) {
|
|
3302
|
+
const target = exports[bestMatch];
|
|
3303
|
+
const pattern = bestMatch[bestMatch.length - 1] === '*';
|
|
3304
|
+
const subpath = packageSubpath.slice(bestMatch.length - (pattern ? 1 : 0));
|
|
3305
|
+
const resolved = resolvePackageTarget(packageJsonUrl, target, subpath, bestMatch, base, pattern, false, conditions);
|
|
3306
|
+
if (resolved === null || resolved === undefined) throwExportsNotFound(packageSubpath, packageJsonUrl, base);
|
|
3307
|
+
if (!pattern) emitFolderMapDeprecation(bestMatch, packageJsonUrl, true, base);
|
|
3308
|
+
return {
|
|
3309
|
+
resolved,
|
|
3310
|
+
exact: pattern
|
|
3311
|
+
};
|
|
3312
|
+
}
|
|
3313
|
+
|
|
3314
|
+
throwExportsNotFound(packageSubpath, packageJsonUrl, base);
|
|
3315
|
+
}
|
|
3316
|
+
|
|
3317
|
+
function packageImportsResolve(name, base, conditions) {
|
|
3318
|
+
if (name === '#' || name.startsWith('#/')) {
|
|
3319
|
+
const reason = 'is not a valid internal imports specifier name';
|
|
3320
|
+
throw new ERR_INVALID_MODULE_SPECIFIER(name, reason, (0, _url().fileURLToPath)(base));
|
|
3321
|
+
}
|
|
3322
|
+
|
|
3323
|
+
let packageJsonUrl;
|
|
3324
|
+
const packageConfig = getPackageScopeConfig(base);
|
|
3325
|
+
|
|
3326
|
+
if (packageConfig.exists) {
|
|
3327
|
+
packageJsonUrl = (0, _url().pathToFileURL)(packageConfig.pjsonPath);
|
|
3328
|
+
const imports = packageConfig.imports;
|
|
3329
|
+
|
|
3330
|
+
if (imports) {
|
|
3331
|
+
if (own.call(imports, name)) {
|
|
3332
|
+
const resolved = resolvePackageTarget(packageJsonUrl, imports[name], '', name, base, false, true, conditions);
|
|
3333
|
+
if (resolved !== null) return {
|
|
3334
|
+
resolved,
|
|
3335
|
+
exact: true
|
|
3336
|
+
};
|
|
3337
|
+
} else {
|
|
3338
|
+
let bestMatch = '';
|
|
3339
|
+
const keys = Object.getOwnPropertyNames(imports);
|
|
3340
|
+
let i = -1;
|
|
3341
|
+
|
|
3342
|
+
while (++i < keys.length) {
|
|
3343
|
+
const key = keys[i];
|
|
3344
|
+
|
|
3345
|
+
if (key[key.length - 1] === '*' && name.startsWith(key.slice(0, -1)) && name.length >= key.length && key.length > bestMatch.length) {
|
|
3346
|
+
bestMatch = key;
|
|
3347
|
+
} else if (key[key.length - 1] === '/' && name.startsWith(key) && key.length > bestMatch.length) {
|
|
3348
|
+
bestMatch = key;
|
|
3349
|
+
}
|
|
3350
|
+
}
|
|
3351
|
+
|
|
3352
|
+
if (bestMatch) {
|
|
3353
|
+
const target = imports[bestMatch];
|
|
3354
|
+
const pattern = bestMatch[bestMatch.length - 1] === '*';
|
|
3355
|
+
const subpath = name.slice(bestMatch.length - (pattern ? 1 : 0));
|
|
3356
|
+
const resolved = resolvePackageTarget(packageJsonUrl, target, subpath, bestMatch, base, pattern, true, conditions);
|
|
3357
|
+
|
|
3358
|
+
if (resolved !== null) {
|
|
3359
|
+
if (!pattern) emitFolderMapDeprecation(bestMatch, packageJsonUrl, false, base);
|
|
3360
|
+
return {
|
|
3361
|
+
resolved,
|
|
3362
|
+
exact: pattern
|
|
3363
|
+
};
|
|
3364
|
+
}
|
|
3365
|
+
}
|
|
3366
|
+
}
|
|
3367
|
+
}
|
|
3368
|
+
}
|
|
3369
|
+
|
|
3370
|
+
throwImportNotDefined(name, packageJsonUrl, base);
|
|
3371
|
+
}
|
|
3372
|
+
|
|
3373
|
+
function getPackageType(url) {
|
|
3374
|
+
const packageConfig = getPackageScopeConfig(url);
|
|
3375
|
+
return packageConfig.type;
|
|
3376
|
+
}
|
|
3377
|
+
|
|
3378
|
+
function parsePackageName(specifier, base) {
|
|
3379
|
+
let separatorIndex = specifier.indexOf('/');
|
|
3380
|
+
let validPackageName = true;
|
|
3381
|
+
let isScoped = false;
|
|
3382
|
+
|
|
3383
|
+
if (specifier[0] === '@') {
|
|
3384
|
+
isScoped = true;
|
|
3385
|
+
|
|
3386
|
+
if (separatorIndex === -1 || specifier.length === 0) {
|
|
3387
|
+
validPackageName = false;
|
|
3388
|
+
} else {
|
|
3389
|
+
separatorIndex = specifier.indexOf('/', separatorIndex + 1);
|
|
3390
|
+
}
|
|
3391
|
+
}
|
|
3392
|
+
|
|
3393
|
+
const packageName = separatorIndex === -1 ? specifier : specifier.slice(0, separatorIndex);
|
|
3394
|
+
let i = -1;
|
|
3395
|
+
|
|
3396
|
+
while (++i < packageName.length) {
|
|
3397
|
+
if (packageName[i] === '%' || packageName[i] === '\\') {
|
|
3398
|
+
validPackageName = false;
|
|
3399
|
+
break;
|
|
3400
|
+
}
|
|
3401
|
+
}
|
|
3402
|
+
|
|
3403
|
+
if (!validPackageName) {
|
|
3404
|
+
throw new ERR_INVALID_MODULE_SPECIFIER(specifier, 'is not a valid package name', (0, _url().fileURLToPath)(base));
|
|
3405
|
+
}
|
|
3406
|
+
|
|
3407
|
+
const packageSubpath = '.' + (separatorIndex === -1 ? '' : specifier.slice(separatorIndex));
|
|
3408
|
+
return {
|
|
3409
|
+
packageName,
|
|
3410
|
+
packageSubpath,
|
|
3411
|
+
isScoped
|
|
3412
|
+
};
|
|
3413
|
+
}
|
|
3414
|
+
|
|
3415
|
+
function packageResolve(specifier, base, conditions) {
|
|
3416
|
+
const {
|
|
3417
|
+
packageName,
|
|
3418
|
+
packageSubpath,
|
|
3419
|
+
isScoped
|
|
3420
|
+
} = parsePackageName(specifier, base);
|
|
3421
|
+
const packageConfig = getPackageScopeConfig(base);
|
|
3422
|
+
|
|
3423
|
+
if (packageConfig.exists) {
|
|
3424
|
+
const packageJsonUrl = (0, _url().pathToFileURL)(packageConfig.pjsonPath);
|
|
3425
|
+
|
|
3426
|
+
if (packageConfig.name === packageName && packageConfig.exports !== undefined && packageConfig.exports !== null) {
|
|
3427
|
+
return packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, base, conditions).resolved;
|
|
3428
|
+
}
|
|
3429
|
+
}
|
|
3430
|
+
|
|
3431
|
+
let packageJsonUrl = new (_url().URL)('./node_modules/' + packageName + '/package.json', base);
|
|
3432
|
+
let packageJsonPath = (0, _url().fileURLToPath)(packageJsonUrl);
|
|
3433
|
+
let lastPath;
|
|
3434
|
+
|
|
3435
|
+
do {
|
|
3436
|
+
const stat = tryStatSync(packageJsonPath.slice(0, -13));
|
|
3437
|
+
|
|
3438
|
+
if (!stat.isDirectory()) {
|
|
3439
|
+
lastPath = packageJsonPath;
|
|
3440
|
+
packageJsonUrl = new (_url().URL)((isScoped ? '../../../../node_modules/' : '../../../node_modules/') + packageName + '/package.json', packageJsonUrl);
|
|
3441
|
+
packageJsonPath = (0, _url().fileURLToPath)(packageJsonUrl);
|
|
3442
|
+
continue;
|
|
3443
|
+
}
|
|
3444
|
+
|
|
3445
|
+
const packageConfig = getPackageConfig(packageJsonPath, specifier, base);
|
|
3446
|
+
if (packageConfig.exports !== undefined && packageConfig.exports !== null) return packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, base, conditions).resolved;
|
|
3447
|
+
if (packageSubpath === '.') return legacyMainResolve(packageJsonUrl, packageConfig, base);
|
|
3448
|
+
return new (_url().URL)(packageSubpath, packageJsonUrl);
|
|
3449
|
+
} while (packageJsonPath.length !== lastPath.length);
|
|
3450
|
+
|
|
3451
|
+
throw new ERR_MODULE_NOT_FOUND(packageName, (0, _url().fileURLToPath)(base));
|
|
3452
|
+
}
|
|
3453
|
+
|
|
3454
|
+
function isRelativeSpecifier(specifier) {
|
|
3455
|
+
if (specifier[0] === '.') {
|
|
3456
|
+
if (specifier.length === 1 || specifier[1] === '/') return true;
|
|
3457
|
+
|
|
3458
|
+
if (specifier[1] === '.' && (specifier.length === 2 || specifier[2] === '/')) {
|
|
3459
|
+
return true;
|
|
3460
|
+
}
|
|
3461
|
+
}
|
|
3462
|
+
|
|
3463
|
+
return false;
|
|
3464
|
+
}
|
|
3465
|
+
|
|
3466
|
+
function shouldBeTreatedAsRelativeOrAbsolutePath(specifier) {
|
|
3467
|
+
if (specifier === '') return false;
|
|
3468
|
+
if (specifier[0] === '/') return true;
|
|
3469
|
+
return isRelativeSpecifier(specifier);
|
|
3470
|
+
}
|
|
3471
|
+
|
|
3472
|
+
function moduleResolve(specifier, base, conditions) {
|
|
3473
|
+
let resolved;
|
|
3474
|
+
|
|
3475
|
+
if (shouldBeTreatedAsRelativeOrAbsolutePath(specifier)) {
|
|
3476
|
+
resolved = new (_url().URL)(specifier, base);
|
|
3477
|
+
} else if (specifier[0] === '#') {
|
|
3478
|
+
({
|
|
3479
|
+
resolved
|
|
3480
|
+
} = packageImportsResolve(specifier, base, conditions));
|
|
3481
|
+
} else {
|
|
3482
|
+
try {
|
|
3483
|
+
resolved = new (_url().URL)(specifier);
|
|
3484
|
+
} catch (_unused3) {
|
|
3485
|
+
resolved = packageResolve(specifier, base, conditions);
|
|
3486
|
+
}
|
|
3487
|
+
}
|
|
3488
|
+
|
|
3489
|
+
return finalizeResolution(resolved, base);
|
|
3490
|
+
}
|
|
3491
|
+
|
|
3492
|
+
function defaultResolve(specifier, context = {}) {
|
|
3493
|
+
const {
|
|
3494
|
+
parentURL
|
|
3495
|
+
} = context;
|
|
3496
|
+
let parsed;
|
|
3497
|
+
|
|
3498
|
+
try {
|
|
3499
|
+
parsed = new (_url().URL)(specifier);
|
|
3500
|
+
|
|
3501
|
+
if (parsed.protocol === 'data:') {
|
|
3502
|
+
return {
|
|
3503
|
+
url: specifier
|
|
3504
|
+
};
|
|
3505
|
+
}
|
|
3506
|
+
} catch (_unused4) {}
|
|
3507
|
+
|
|
3508
|
+
if (parsed && parsed.protocol === 'node:') return {
|
|
3509
|
+
url: specifier
|
|
3510
|
+
};
|
|
3511
|
+
if (parsed && parsed.protocol !== 'file:' && parsed.protocol !== 'data:') throw new ERR_UNSUPPORTED_ESM_URL_SCHEME(parsed);
|
|
3512
|
+
|
|
3513
|
+
if (listOfBuiltins.includes(specifier)) {
|
|
3514
|
+
return {
|
|
3515
|
+
url: 'node:' + specifier
|
|
3516
|
+
};
|
|
3517
|
+
}
|
|
3518
|
+
|
|
3519
|
+
if (parentURL.startsWith('data:')) {
|
|
3520
|
+
new (_url().URL)(specifier, parentURL);
|
|
3521
|
+
}
|
|
3522
|
+
|
|
3523
|
+
const conditions = getConditionsSet(context.conditions);
|
|
3524
|
+
let url = moduleResolve(specifier, new (_url().URL)(parentURL), conditions);
|
|
3525
|
+
const urlPath = (0, _url().fileURLToPath)(url);
|
|
3526
|
+
const real = (0, _fs().realpathSync)(urlPath);
|
|
3527
|
+
const old = url;
|
|
3528
|
+
url = (0, _url().pathToFileURL)(real + (urlPath.endsWith(_path().sep) ? '/' : ''));
|
|
3529
|
+
url.search = old.search;
|
|
3530
|
+
url.hash = old.hash;
|
|
3531
|
+
return {
|
|
3532
|
+
url: `${url}`
|
|
3533
|
+
};
|
|
3534
|
+
}
|
|
3535
|
+
|
|
3536
|
+
function resolve(_x, _x2) {
|
|
3537
|
+
return _resolve.apply(this, arguments);
|
|
3538
|
+
}
|
|
3539
|
+
|
|
3540
|
+
function _resolve() {
|
|
3541
|
+
_resolve = _asyncToGenerator(function* (specifier, parent) {
|
|
3542
|
+
if (!parent) {
|
|
3543
|
+
throw new Error('Please pass `parent`: `import-meta-resolve` cannot ponyfill that');
|
|
3544
|
+
}
|
|
3545
|
+
|
|
3546
|
+
try {
|
|
3547
|
+
return defaultResolve(specifier, {
|
|
3548
|
+
parentURL: parent
|
|
3549
|
+
}).url;
|
|
3550
|
+
} catch (error) {
|
|
3551
|
+
return error.code === 'ERR_UNSUPPORTED_DIR_IMPORT' ? error.url : Promise.reject(error);
|
|
3552
|
+
}
|
|
3553
|
+
});
|
|
3554
|
+
return _resolve.apply(this, arguments);
|
|
3555
|
+
}
|
|
3556
|
+
|
|
3557
|
+
0 && 0;
|