Skip to content

Bump sitemap from 1.13.0 to 4.0.1#56

Closed
dependabot-preview[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/sitemap-4.0.1
Closed

Bump sitemap from 1.13.0 to 4.0.1#56
dependabot-preview[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/sitemap-4.0.1

Conversation

@dependabot-preview
Copy link
Copy Markdown

Bumps sitemap from 1.13.0 to 4.0.1.

Release notes

Sourced from sitemap's releases.

4.0.1

Added checks for xmllint

v4

4.0.0

This release is geared around overhauling the public api for this library. Many
options have been introduced over the years and this has lead to some inconsistencies
that make the library hard to use. Most have been cleaned up but a couple notable
items remain, including the confusing names of buildSitemapIndex and createSitemapIndex

  • A new experimental CLI
    • stream in a list of urls stream out xml
    • validate your generated sitemap
  • Sitemap video item now supports id element
  • Several schema errors have been cleaned up.
  • Docs have been updated and streamlined.

breaking changes

  • lastmod option parses all ISO8601 date-only strings as being in UTC rather than local time
    • lastmodISO is deprecated as it is equivalent to lastmod
    • lastmodfile now includes the file's time as well
    • lastmodrealtime is no longer necessary
  • The default export of sitemap lib is now just createSitemap
  • Sitemap constructor now uses a object for its constructor
  const { Sitemap } = require('sitemap');
  const siteMap = new Sitemap({
    urls = [],
    hostname: 'https://example.com', // optional
    cacheTime = 0,
    xslUrl,
    xmlNs,
    level = 'warn'
  })
  • Sitemap no longer accepts a single string for its url
  • Drop support for node 6
  • Remove callback on toXML - This had no performance benefit
  • Direct modification of urls property on Sitemap has been dropped. Use add/remove/contains
  • When a Sitemap item is generated with invalid options it no longer throws by default
    • instead it console warns.
    • if you'd like to pre-verify your data the validateSMIOptions function is
      now available
    • To get the previous behavior pass level createSitemap({...otheropts, level: 'throw' }) // ErrorLevel.THROW for TS users
      #215 has all the changes

revert https change, fix lastmod issue

3.2.2

  • revert https everywhere added in 3.2.0. xmlns is not url.
  • adds alias for lastmod in the form of lastmodiso
... (truncated)
Changelog

Sourced from sitemap's changelog.

4.0.1

Validation functions which depend on xmllint will now warn if you do not have xmllint installed.

4.0.0

This release is geared around overhauling the public api for this library. Many
options have been introduced over the years and this has lead to some inconsistencies
that make the library hard to use. Most have been cleaned up but a couple notable
items remain, including the confusing names of buildSitemapIndex and createSitemapIndex

  • A new experimental CLI
    • stream in a list of urls stream out xml
    • validate your generated sitemap
  • Sitemap video item now supports id element
  • Several schema errors have been cleaned up.
  • Docs have been updated and streamlined.

breaking changes

  • lastmod option parses all ISO8601 date-only strings as being in UTC rather than local time
    • lastmodISO is deprecated as it is equivalent to lastmod
    • lastmodfile now includes the file's time as well
    • lastmodrealtime is no longer necessary
  • The default export of sitemap lib is now just createSitemap
  • Sitemap constructor now uses a object for its constructor
  const { Sitemap } = require('sitemap');
  const siteMap = new Sitemap({
    urls = [],
    hostname: 'https://example.com', // optional
    cacheTime = 0,
    xslUrl,
    xmlNs,
    level = 'warn'
  })
  • Sitemap no longer accepts a single string for its url
  • Drop support for node 6
  • Remove callback on toXML - This had no performance benefit
  • Direct modification of urls property on Sitemap has been dropped. Use add/remove/contains
  • When a Sitemap item is generated with invalid options it no longer throws by default
    • instead it console warns.
    • if you'd like to pre-verify your data the validateSMIOptions function is
      now available
    • To get the previous behavior pass level createSitemap({...otheropts, level: 'throw' }) // ErrorLevel.THROW for TS users

3.2.2

  • revert https everywhere added in 3.2.0. xmlns is not url.
  • adds alias for lastmod in the form of lastmodiso
  • fixes bug in lastmod option for buildSitemapIndex where option would be overwritten if a lastmod option was provided with a single url
  • fixes #201, fixes #203

3.2.1

  • no really fixes ts errors for real this time
... (truncated)
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.


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)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

Bumps [sitemap](https://github.com/ekalinin/sitemap.js) from 1.13.0 to 4.0.1.
- [Release notes](https://github.com/ekalinin/sitemap.js/releases)
- [Changelog](https://github.com/ekalinin/sitemap.js/blob/master/CHANGELOG.md)
- [Commits](ekalinin/sitemap.js@1.13.0...4.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview Bot added the dependencies Pull requests that update a dependency file label Aug 13, 2019
@dependabot-preview
Copy link
Copy Markdown
Author

Superseded by #57.

@dependabot-preview dependabot-preview Bot deleted the dependabot/npm_and_yarn/sitemap-4.0.1 branch August 14, 2019 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants