Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parse-url 9.0.0 #79

Merged
merged 2 commits into from
Jan 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
319 changes: 0 additions & 319 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,6 @@ For low-level path parsing, check out [`parse-path`](https://github.com/IonicaBi



## :cloud: Installation

```sh
# Using npm
npm install --save parse-url

# Using yarn
yarn add parse-url
```






Expand Down Expand Up @@ -165,49 +153,6 @@ There are few ways to get help:



## :memo: Documentation


### `interopDefaultLegacy()`
#__PURE__

### `parseUrl(url, normalize)`
Parses the input url.

**Note**: This *throws* if invalid urls are provided.

#### Params

- **String** `url`: The input url.
- **Boolean|Object** `normalize`: Whether to normalize the url or not. Default is `false`. If `true`, the url will
be normalized. If an object, it will be the
options object sent to [`normalize-url`](https://github.com/sindresorhus/normalize-url).

For SSH urls, normalize won't work.

#### Return
- **Object** An object containing the following fields:
- `protocols` (Array): An array with the url protocols (usually it has one element).
- `protocol` (String): The first protocol, `"ssh"` (if the url is a ssh url) or `"file"`.
- `port` (null|Number): The domain port.
- `resource` (String): The url domain (including subdomains).
- `host` (String): The fully qualified domain name of a network host, or its IP address.
- `user` (String): The authentication user (usually for ssh urls).
- `pathname` (String): The url pathname.
- `hash` (String): The url hash.
- `search` (String): The url querystring value.
- `href` (String): The input url.
- `query` (Object): The url querystring, parsed as object.
- `parse_failed` (Boolean): Whether the parsing failed or not.

### GIT_RE

([a-z_][a-z0-9_-]{0,31}) Try to match the user
([\w\.\-@]+) Match the host/resource
(([\~,\.\w,\-,\_,\/,\s]|%[0-9A-Fa-f]{2})+?(?:\.git|\/)?) Match the path, allowing spaces/white






Expand Down Expand Up @@ -256,270 +201,6 @@ Thanks! :heart:



## :dizzy: Where is this library used?
If you are using this library in one of your projects, add it in this list. :sparkles:

- `git-up`
- `@semantic-release/gitlab`
- `stun`
- `kakapo`
- `@open-wa/wa-automate`
- `parse-db-uri`
- `url-local`
- `fuge-runner`
- `build-plugin-ssr`
- `egg-muc-custom-loader`
- `hologit`
- `miguelcostero-ng2-toasty`
- `@praella/localisationist`
- `normalize-ssh`
- `@foundernetes/machines`
- `@enkeledi/react-native-week-month-date-picker`
- `react-native-shared-gesture`
- `@klevn/solid-router`
- `warp-api`
- `robots-agent`
- `react-native-nice-learning`
- `warp-server`
- `xl-git-up`
- `normalize-id`
- `fluent.adflow.reactnativesdk-alpha`
- `gaurav-react-native-loop`
- `gitlab-backup-util-harduino`
- `griffin-ui-library`
- `framework_test_library_sixdee`
- `khaled-salem-custom-components`
- `bilibili2local`
- `begg`
- `native-kakao-login`
- `@_nomtek/react-native-shimmer-animation`
- `rn-adyen-dropin`
- `rocomp`
- `react-native-progress-arrow`
- `react-native-reanimated-sortable-list`
- `react-native-rom-components`
- `react-native-test-comlibrary`
- `react-native-ghn-ekyc`
- `react-native-kakao-maps`
- `react-native-klc`
- `react-native-module-for-testing`
- `react-native-multiplier-component`
- `react-native-multiplier-demo`
- `react-native-multiplier2`
- `react-native-multiselector`
- `react-native-payu-payment-testing`
- `react-native-my-first-try-arun-ramya`
- `react-native-azure-communication-services`
- `react-native-android-video-player-view`
- `react-native-animate-text`
- `react-native-arunmeena1987`
- `react-native-basic-screen`
- `react-native-build-vesion-getter`
- `react-native-biometric-authenticate`
- `react-native-check-component`
- `react-native-bleccs-components`
- `react-native-contact-list`
- `react-native-create-video-thumbnail`
- `react-native-components-design`
- `react-native-manh-test`
- `react-native-library-testing-422522`
- `react-native-uvc-camera-android`
- `react-native-withframework-check`
- `react-native-ytximkit`
- `@hemith/react-native-tnk`
- `@kriblet/wa-automate`
- `@amiruldev/wajs`
- `@lehuyaa/my-assets`
- `@notnuzzel/crawl`
- `@safely-project/safely-ts`
- `@parallelnft/web3modal`
- `@status-im/react-native-transparent-video`
- `cli-live-tutorial`
- `checkbox-component`
- `@brantalikp/rn-resize`
- `biometric-st`
- `apaas-track`
- `graphmilker`
- `jrennsoh88-react-native-scroll-indicator`
- `fmsl`
- `@corelmax/react-native-my2c2p-sdk`
- `pyreswap-sdk`
- `react-native-ticker-tape`
- `rn_unique_device_id`
- `soajs.repositories`
- `vrt-cli`
- `vue-cli-plugin-ice-builder`
- `verify-aws-sns-signature`
- `winx-form-winx`
- `zeo-collect`
- `@felipesimmi/react-native-datalogic-module`
- `@hawkingnetwork/react-native-tab-view`
- `rn-check-btn`
- `react-native-arunjeyam1987`
- `react-native-basic-app`
- `react-native-bubble-chart`
- `react-native-awesome-module-two`
- `react-native-cplus`
- `react-native-dhp-printer`
- `react-native-flyy`
- `react-native-innity-remaster`
- `react-native-input-library`
- `@jprustv/sulla-hotfix`
- `react-native-rabbitmq-all`
- `react-native-sandycomponent`
- `react-native-savczuk-feature-library`
- `test-library-123`
- `@mergulhao/wa-automate`
- `@oiti/rn-liveness2d`
- `@taingo97/react-native-sunmi-printer`
- `@taingo97/react-native-telpo-printer`
- `@podpodium/common`
- `@react-18-pdf/root`
- `@navabi/react-native-ssl-pinning`
- `candlelabssdk`
- `blitzzz`
- `deploy-versioning`
- `awesome-module-kd`
- `@aysea/react-native-ui-library`
- `@azalpacir/react-native-dhp-printer`
- `eval-spider`
- `generator-bootstrap-boilerplate-template`
- `@con-test/react-native-concent-common`
- `iprogrammer-rn-android-location-enabler`
- `fixed_form_builder`
- `pasbeaucoupmoinsrave`
- `react-native-xprinter-thermal-ble`
- `react-native-app-bubble`
- `react-native-bridge-package`
- `react-native-aventonfacetec-aventon`
- `react-native-sp-test-common`
- `react-native-ui-components-library`
- `reat-native-multiplierkpr`
- `sourcecrumbs`
- `react-native-get-countries`
- `react-native-dsphoto-module`
- `react-native-lib-test-rn-1`
- `react-native-native-audio-engine`
- `react-native-onramp`
- `react-native-nghia-sharering`
- `react-native-recent-framework-update`
- `react-native-radio-bic-group-lib`
- `react-native-responsive-size`
- `react-native-sayhello-module`
- `react-native-screen-idle-timer`
- `react-native-awesome-module-latest`
- `vision-camera-base64-resized`
- `vision-camera-plugin-scan-faces`
- `@damruravihara/react-native-testing-package`
- `npm_one_12_34_1_`
- `npm_one_2_2`
- `native-modal-damage-vehicle`
- `genz-native-elements`
- `gh-monoproject-cli`
- `payutesting`
- `@everything-registry/sub-chunk-2411`
- `pnm-yph-react-native-custom-components`
- `@aabelmann/ui-layer`
- `michael-stun`
- `@qiwi/sourcecrumbs`
- `@taingo97/react-native-bluetooth-xprinter`
- `@taingo97/react-native-print-xprinter`
- `@roshub/api`
- `@saad27/react-native-bottom-tab-tour`
- `@apardellass/react-native-audio-stream`
- `microbe.js`
- `jawwy_library`
- `luojia-cli-dev`
- `delta-screen`
- `@yplabs-ltd/react-native-detector`
- `design-system-trial-milyasbpa`
- `get-tarball-cli`
- `fluent.adflow.reactnativesdk`
- `ndla-source-map-resolver`
- `birken-react-native-community-image-editor`
- `@foundernetes/metal-debian`
- `zzzxxxyyy321123`
- `wifi_configuration_package`
- `rn-session-multiplier-demo`
- `react-native-scroll-tab-to-index`
- `react-native-teknoctrl-components`
- `react-native-transtracker-library`
- `react-native-version-app`
- `react-native-pulsator-native`
- `react-native-plugpag-wrapper`
- `react-native-simple-timeline`
- `react-native-sixdee_test_lib`
- `react-native-wtf`
- `react-native-xiaomi-permissions`
- `new-awesome-4321`
- `rn-counter-demo`
- `reac-native-arun-ramya-test`
- `react-native-ctp-odp`
- `react-native-conekta-card-tokenizer`
- `react-native-omental-framework`
- `@tomw2w/my-nuxt-layer`
- `angularvezba`
- `@wecraftapps/react-native-use-keyboard`
- `astra-ufo-sdk`
- `ba-js-cookie-banner`
- `api-reach-react-native-fix`
- `fawatrak-online-payment`
- `expo-renavigate`
- `hubot-will-it-connect`
- `hui-plugin-wss`
- `@buganto/client`
- `demo-test-scrn`
- `scout-chatbot-widget`
- `sushi-sdk-ftm`
- `test-zeo-collect`
- `test-haptik-lib`
- `react-native-badge-control`
- `react-native-arps-authorize-net`
- `react-native-auth-service-client`
- `react-native-awesome-android-123-zeotap`
- `react-native-klarify-ui`
- `react-native-lowlatency`
- `react-native-manual-ios-sdk`
- `react-native-jsi-device-info`
- `react-native-line-login-android`
- `native-date-picker-module`
- `raact-native-arunramya151`
- `react-native-return-usb-data`
- `react-native-rtn-ips-poslin-test`
- `react-native-test-view`
- `react-native-volume-phisical`
- `rn-circular-chart`
- `react-native-bluetooth-device-detect`
- `ts-scraper`
- `normalize-ssh-url`
- `nuxtpaginations`
- `native-google-login`
- `jordy-frijters-test-lib`
- `l2forlerna`
- `wander-cli`
- `@jimengio/mocked-proxy`
- `@ndla/source-map-resolver`
- `@amirdiafi/react-native-ios-haptics`
- `@mockswitch/cli`
- `@phuocnb/semrelease-gitlab`
- `@thinxviewx/core-rn`
- `electron-info`
- `react-native-is7`
- `@positionex/position-sdk`
- `@phpboyscout/semantic-release-gitlab`
- `@npm_fluentco/adflow-react-native-sdk`
- `pangeling-ui`
- `fawaterak-online-payment`
- `@hstech/utils`
- `workpad`
- `@idas1/ui-component-lib`
- `smart_one_connect`
- `react-native-test-module-hhh`
- `@valifysolutions/react-native-vidvliveness`
- `rn-tm-notify`






Expand Down
Loading