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

Update dependency url-template to v3 #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 16, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
url-template ^2.0.8 -> ^3.0.0 age adoption passing confidence

Release Notes

bramstein/url-template (url-template)

v3.1.1

Compare Source

Bug Fixes 🐞

  • Allow nested array values for expand() in type definition (see #​70)

v3.1.0

Compare Source

New Features ✨

  • A primitive value of null is now allowed by the TypeScript definitions (see #​56).

Bug Fixes 🐞

  • Missing TypeScript definitions for array and object values have been added (see #​56).

v3.0.0

Compare Source

New Features ✨

  • Package is now distributed in the ECMAScript module syntax (see #​36).
  • Definitions for TypeScript are now included out of the box (see #​37).

Enhancements 📝

  • The the NPM package only includes the production files (see #​23).

Breaking Changes 💥

  • Support for Bower has been dropped, use NPM or another package manager instead.
  • Some functions that were already marked as private are now no longer available (see #​37).
  • Support for CommonJS modules has been dropped, use the ES module import instead (see migration guide).
  • The default export has been changed to a named export (see migration guide).

Migration 🚚

Use the new import

Previously when importing a default export would be provided with methods attached to it, this has been replaced with a named one.

This means the following code:

const template = require('url-template');
const emailUrlTemplate = template.parse('/{email}/{folder}/{id}');

Will become:

import { parseTemplate } from 'url-template';
const emailUrlTemplate = parseTemplate('/{email}/{folder}/{id}');
TypeScript

If you are a user of TypeScript you can remove @types/url-template from your project. The type definitions are now included in the package itself, so it is no longer required to keep a separate dependency around.

npm uninstall @​types/url-template

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title Update dependency url-template to v3 Update dependency url-template to v3 - autoclosed Sep 16, 2022
@renovate renovate bot closed this Sep 16, 2022
@renovate renovate bot deleted the renovate/url-template-3.x branch September 16, 2022 07:41
@renovate renovate bot changed the title Update dependency url-template to v3 - autoclosed Update dependency url-template to v3 Sep 16, 2022
@renovate renovate bot reopened this Sep 16, 2022
@renovate renovate bot restored the renovate/url-template-3.x branch September 16, 2022 12:34
@bastianeicher bastianeicher force-pushed the master branch 2 times, most recently from a5bba59 to 0c173da Compare December 31, 2022 09:17
@renovate renovate bot force-pushed the renovate/url-template-3.x branch from aa4bccc to 22dd0e3 Compare April 3, 2023 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants