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

fix(deps): update dependency url-template to v3 - autoclosed #4

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 4, 2023

Mend Renovate logo banner

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.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: Enabled.

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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/url-template-3.x branch from eab30d8 to 2bbd948 Compare November 4, 2023 14:57
@renovate renovate bot changed the title Update dependency url-template to v3 fix(deps): update dependency url-template to v3 Nov 4, 2023
@renovate renovate bot force-pushed the renovate/url-template-3.x branch from 2bbd948 to f0483eb Compare November 4, 2023 15:00
@renovate renovate bot force-pushed the renovate/url-template-3.x branch 4 times, most recently from 9368925 to 15caf59 Compare November 25, 2023 12:36
@renovate renovate bot force-pushed the renovate/url-template-3.x branch from 15caf59 to f51c688 Compare November 25, 2023 12:40
@renovate renovate bot changed the title fix(deps): update dependency url-template to v3 fix(deps): update dependency url-template to v3 - autoclosed Nov 25, 2023
@renovate renovate bot closed this Nov 25, 2023
@renovate renovate bot deleted the renovate/url-template-3.x branch November 25, 2023 13:09
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