git-url-parse
Advanced tools
Comparing version 11.4.4 to 11.5.0
@@ -192,3 +192,3 @@ "use strict"; | ||
var bitbucket = /(projects|users)\/(.*?)\/repos\/(.*?)\/(raw|browse)(?:\/(?:$|(.+?)))?$/; | ||
var bitbucket = /(projects|users)\/(.*?)\/repos\/(.*?)((\/.*$)|$)/; | ||
var matches = bitbucket.exec(urlInfo.pathname); | ||
@@ -205,4 +205,14 @@ if (matches != null) { | ||
urlInfo.name = matches[3]; | ||
urlInfo.filepathtype = matches[4]; | ||
urlInfo.filepath = matches[5]; | ||
splits = matches[4].split("/"); | ||
if (splits.length > 1) { | ||
if (["raw", "browse"].indexOf(splits[1]) >= 0) { | ||
urlInfo.filepathtype = splits[1]; | ||
if (splits.length > 2) { | ||
urlInfo.filepath = splits[2]; | ||
} | ||
} else if (splits[1] === "commits" && splits.length > 2) { | ||
urlInfo.commit = splits[2]; | ||
} | ||
} | ||
urlInfo.full_name = urlInfo.owner + "/" + urlInfo.name; | ||
@@ -209,0 +219,0 @@ |
{ | ||
"name": "git-url-parse", | ||
"version": "11.4.4", | ||
"version": "11.5.0", | ||
"description": "A high level git url parser for common git providers.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
196
README.md
@@ -272,34 +272,40 @@ <!-- Please do not edit this file. Edit the `blah` field in the `package.json` instead. If in doubt, open an issue. --> | ||
- `@storybook/storybook-deployer` | ||
- `@backstage/plugin-catalog` | ||
- `@backstage/backend-common` | ||
- `@backstage/integration` | ||
- `@kadira/storybook-deployer` | ||
- `gatsby-source-git` | ||
- `apify-shared` | ||
- `umi-build-dev` | ||
- `@era-ci/utils` | ||
- `@atomist/automation-client-ext-raven` | ||
- `@era-ci/utils` | ||
- `apify-shared` | ||
- `workspace-tools` | ||
- `semantic-release-gitmoji` | ||
- `git-source` | ||
- `@nuxt/telemetry` | ||
- `@qiwi/semantic-release-gh-pages-plugin` | ||
- `strapi-generate-new` | ||
- `@git-stack/server-core` | ||
- `@atomist/sdm-pack-analysis` | ||
- `semantic-release-gitmoji` | ||
- `@nuxt/telemetry` | ||
- `@backstage/integration` | ||
- `workspace-tools` | ||
- `@lerna/github-client` | ||
- `common-boilerplate` | ||
- `@umijs/block-sdk` | ||
- `@appirio/appirio` | ||
- `@backstage/plugin-catalog` | ||
- `@s-ui/studio` | ||
- `@instructure/ui-scripts` | ||
- `@backstage/techdocs-common` | ||
- `lambda-service` | ||
- `@wetrial/block-sdk` | ||
- `hzero-block-sdk` | ||
- `@micro-app/shared-utils` | ||
- `remax-stats` | ||
- `scaffolder-core` | ||
- `@feizheng/next-git-url` | ||
- `@radjs/block-sdk` | ||
- `@micro-app/shared-utils` | ||
- `@log4brains/core` | ||
- `@xdn/cli` | ||
- `@zeplin/cli` | ||
- `beachball` | ||
- `@xdn/cli` | ||
- `@backstage/plugin-scaffolder` | ||
- `query-registry` | ||
- `@backstage/techdocs-common` | ||
- `@backstage/plugin-catalog-backend` | ||
- `@appworks/project-utils` | ||
- `@atomist/skill` | ||
- `renovate` | ||
@@ -315,6 +321,2 @@ - `gitbook-start-plugin-iaas-ull-es-noejaco2017` | ||
- `@0x-lerna-fork/github-client` | ||
- `common-boilerplate` | ||
- `@brisk-docs/website` | ||
- `@hawkingnetwork/react-native-tab-view` | ||
- `miguelcostero-ng2-toasty` | ||
- `docula-ui` | ||
@@ -326,15 +328,21 @@ - `@brisk-docs/gatsby-generator` | ||
- `@facadecompany/ignition-ui` | ||
- `@geut/git-url-parse` | ||
- `@temporg/rds-scripts` | ||
- `@git-stack/hemera-plugin` | ||
- `@vamsikc/plugin-catalog` | ||
- `@pubbo/github-client` | ||
- `@koumoul/gh-pages-multi` | ||
- `@jaredpalmer/workspace-tools` | ||
- `@iceworks/project-utils` | ||
- `sync-repos` | ||
- `@sanv/apify-shared` | ||
- `@atomist/cli` | ||
- `@git-stack/hemera-plugin` | ||
- `@yarnpkg/plugin-git` | ||
- `@vamsikc/plugin-catalog` | ||
- `@pubbo/github-client` | ||
- `@atomist/uhura` | ||
- `wiby` | ||
- `lambda-service` | ||
- `@s-ui/mono` | ||
- `@zeplin/cli` | ||
- `@atomist/skill` | ||
- `@yarnpkg/plugin-git` | ||
- `@backstage/plugin-scaffolder` | ||
- `fotingo` | ||
- `@geut/git-url-parse` | ||
- `@pmworks/project-utils` | ||
- `committing` | ||
@@ -390,3 +398,2 @@ - `gitbook-start-https-alex-moi` | ||
- `auto-changelog-vsts` | ||
- `harry-reporter` | ||
- `@campus-online/gatsby-source-git` | ||
@@ -430,3 +437,2 @@ - `gtni` | ||
- `@belt/repo` | ||
- `@arcanis/sherlock` | ||
- `@dandean/storybook-deployer` | ||
@@ -436,6 +442,3 @@ - `git-upstream` | ||
- `@tjmonsi/generator-uplb-hci-lab-project-template` | ||
- `@tagoro9/git` | ||
- `tldw` | ||
- `gatsby-theme-hansin` | ||
- `aral-vps-test` | ||
- `generate-preview` | ||
@@ -447,3 +450,2 @@ - `@temporg/ui-scripts` | ||
- `auto-clone` | ||
- `create-n` | ||
- `aral-server` | ||
@@ -453,3 +455,2 @@ - `gatsby-source-git-remotes` | ||
- `@stavalfi/ci` | ||
- `cirodown` | ||
- `@apardellass/react-native-audio-stream` | ||
@@ -460,3 +461,2 @@ - `gatsby-theme-cone` | ||
- `l2forlerna` | ||
- `@patrickhulce/scripts` | ||
- `@cilyn/bitbucket` | ||
@@ -468,10 +468,7 @@ - `react-native-plugpag-wrapper` | ||
- `ssh-remote` | ||
- `@senti-techlabs/generator-senti-project-template` | ||
- `react-native-pulsator-native` | ||
- `@epranka/create-package` | ||
- `git-lab-cli` | ||
- `@csmith/release-it` | ||
- `cetus-cli` | ||
- `react-native-kakao-maps` | ||
- `generate-github-directory` | ||
- `configorama` | ||
@@ -482,10 +479,4 @@ - `@geeky-apo/react-native-advanced-clipboard` | ||
- `@tahini/nc` | ||
- `@shopgate/pwa-releaser` | ||
- `native-kakao-login` | ||
- `@hemith/react-native-tnk` | ||
- `@cyber-tools/cyber-npm` | ||
- `@pagedip/tool-autorelease` | ||
- `@tcorley/storybook-addon-material-ui` | ||
- `mira` | ||
- `@elestu/actions-dependacop` | ||
- `react-native-contact-list` | ||
@@ -498,7 +489,3 @@ - `branch-release` | ||
- `git-origin-check` | ||
- `@cloudoki/donderflow` | ||
- `git-multi-profile` | ||
- `gatsby-source-npmjs` | ||
- `@atomist/ci-sdm` | ||
- `documentation-markdown-themes` | ||
- `@git-stack/module-server` | ||
@@ -508,45 +495,104 @@ - `@alitajs/block-sdk` | ||
- `actions-package-update` | ||
- `@theowenyoung/gatsby-source-git` | ||
- `github-action-readme` | ||
- `canarist` | ||
- `@tru_id/tru-sdk-react-native` | ||
- `@datalogic/react-native-datalogic-module` | ||
- `fotingo` | ||
- `@rescribe/cli` | ||
- `react-native-responsive-size` | ||
- `sinanews-flutter-boot` | ||
- `@bcgov/gatsby-source-github-raw` | ||
- `@s-ui/ci` | ||
- `@s-ui/changelog` | ||
- `learning-journal-ci` | ||
- `query-registry` | ||
- `react-native-flyy` | ||
- `react-native-esc-pos-sahaab` | ||
- `@s-ui/ssr` | ||
- `wiby` | ||
- `@gvhinks/wiby` | ||
- `git-push-pr` | ||
- `mdnext-loader` | ||
- `next-mdx-books` | ||
- `mdxbook` | ||
- `ftl-renovate` | ||
- `mdxbook` | ||
- `@emedvedev/renovate` | ||
- `create-sourcegraph-extension` | ||
- `@hnp/package-scripts` | ||
- `react-native-test-module-hhh` | ||
- `git-multi-profile` | ||
- `react-native-is7` | ||
- `@s-ui/changelog` | ||
- `generate-github-directory` | ||
- `create-n` | ||
- `@wpbrothers/sbcli` | ||
- `@turborepo/workspace-tools` | ||
- `learning-journal-ci` | ||
- `@arcanis/sherlock` | ||
- `@carrotwu/wcli` | ||
- `@zalando-backstage/plugin-catalog` | ||
- `mira` | ||
- `github-assistant` | ||
- `@cloudoki/donderflow` | ||
- `gatsby-theme-zh` | ||
- `@vicoders/cli2` | ||
- `patchanon-cli` | ||
- `bridgewwater-cli` | ||
- `@gasket/plugin-metrics` | ||
- `myrenobatebot` | ||
- `myrenovatebot` | ||
- `@buganto/client` | ||
- `@patrickhulce/scripts` | ||
- `gatsby-theme-nestx` | ||
- `kit-command` | ||
- `@datalogic/react-native-datalogic-module` | ||
- `@pipelinedoc/cli` | ||
- `@atomist/ci-sdm` | ||
- `@cyber-tools/cyber-npm` | ||
- `@domestika/mono` | ||
- `cirodown` | ||
- `vuepress-theme-next` | ||
- `canarist` | ||
- `pbc` | ||
- `@1coin178/github-compare` | ||
- `documentation-markdown-themes` | ||
- `@elestu/actions-dependacop` | ||
- `@senti-techlabs/generator-senti-project-template` | ||
- `@stackbit/cli` | ||
- `@rbi-backstage/plugin-scaffolder-backend` | ||
- `@lerna-test-v1/git` | ||
- `git-lab-cli` | ||
- `birken-react-native-community-image-editor` | ||
- `sinanews-flutter-boot` | ||
- `detect-node-support` | ||
- `nmrium-cli` | ||
- `fster` | ||
- `@tagoro9/git` | ||
- `native-kakao-login` | ||
- `github-books` | ||
- `blog-flutter-boot` | ||
- `@bcgov/gatsby-source-github-raw` | ||
- `@rianfowler/backstage-backend-common` | ||
- `react-native-modal-progress-bar` | ||
- `@lerna-test-v1/markdown` | ||
- `@brisk-docs/website` | ||
- `@hawkingnetwork/react-native-tab-view` | ||
- `miguelcostero-ng2-toasty` | ||
- `dx-scanner` | ||
- `@emedvedev/renovate` | ||
- `@gasket/plugin-metrics` | ||
- `react-native-flyy` | ||
- `harry-reporter` | ||
- `tldw` | ||
- `react-native-dsphoto-module` | ||
- `@flareapp/ignition-ui` | ||
- `@oat-sa/tao-extension-release` | ||
- `aral-vps-test` | ||
- `@wolfe-labs/du-luac` | ||
- `@vicoders/cli2` | ||
- `@wpbrothers/sbcli` | ||
- `git-push-pr` | ||
- `lage` | ||
- `@generates/kdot` | ||
- `rn-custom-tabview` | ||
- `semantic-release-telegram` | ||
- `drowl-base-theme-iconset` | ||
- `@shopgate/pwa-releaser` | ||
- `@apify/git` | ||
- `@reshiftsecurity/reshift-plugin-npm` | ||
- `detect-node-support` | ||
- `@myetherwallet/mew-components` | ||
- `@theowenyoung/gatsby-source-git` | ||
- `@s-ui/ssr` | ||
- `copy-github-directory` | ||
- `git-yoink` | ||
- `create-strapi-starter` | ||
- `@layer0/cli` | ||
- `@antv/gatsby-theme-antv` | ||
- `@backstage/plugin-catalog-import` | ||
- `@guardian/cdk` | ||
- `@dvcorg/cml` | ||
- `@myetherwallet/mew-components` | ||
- `lage` | ||
- `fster` | ||
- `vuepress-theme-next` | ||
- `create-sourcegraph-extension` | ||
- `@hnp/package-scripts` | ||
- `@backstage/plugin-catalog-backend` | ||
- `@ntt_app/react-native-custom-notification` | ||
- `@apify/markdown` | ||
- `@backstage/plugin-scaffolder-backend` | ||
- `@backstage/plugin-catalog-import` | ||
- `pr-log` | ||
@@ -553,0 +599,0 @@ - `git-issues` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29197
265
618