Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Bump path-to-regexp from 3.2.0 to 5.0.0 #191

Merged
merged 1 commit into from
Nov 15, 2019

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps path-to-regexp from 3.2.0 to 5.0.0.

Release notes

Sourced from path-to-regexp's releases.

Remove Default Encode URI Component

Not changes to path rules since 3.x, except support for nested RegEx parts in 4.x.

Changed

  • Rename RegexpOptions interface to TokensToRegexpOptions
  • Remove normalizePathname from library, document solution in README
  • Encode using identity function as default, not encodeURIComponent

Decode URI

Removed

  • Remove whitelist in favor of decodeURI (advanced behavior can happen outside path-to-regexp)

Remove String#normalize

Fixed

  • Remove usage of String.prototype.normalize to continue supporting IE

Normalize Path Whitelist

Added

  • Add normalize whitelist of characters (defaults to /%.-)

Allow RegexpOptions in match

Fixed

  • Allow RegexpOptions in match(...) function

Fix Spelling of Regexp

Fixed

  • Normalize regexp spelling across 4.x

ES2015 Package for Bundlers

All path rules are backward compatible with 3.x, except for nested () and other RegEx special characters that were previously ignored.

Changed

  • Export names have changed to support ES2015 modules in bundlers
  • match does not default to decodeURIComponent

Added

  • New normalizePathname utility for supporting unicode paths in libraries
  • Support nested non-capturing groups within parameters
  • Add tree-shaking (via ES2015 modules) for webpack and other bundlers
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Nov 15, 2019
@afc163
Copy link
Member

afc163 commented Nov 15, 2019

ci 老是挂。

@chenshuai2144
Copy link
Collaborator

/rebase

@github-actions github-actions bot force-pushed the dependabot/npm_and_yarn/path-to-regexp-5.0.0 branch from 03066da to 1049bd9 Compare November 15, 2019 12:24
@chenshuai2144 chenshuai2144 merged commit 5dbc7b1 into master Nov 15, 2019
@chenshuai2144 chenshuai2144 deleted the dependabot/npm_and_yarn/path-to-regexp-5.0.0 branch November 15, 2019 12:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants