diff --git a/.nvmrc b/.nvmrc index bf79505..535e1cc 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v16.14.0 +v22.6.0 diff --git a/package.json b/package.json index d0295e7..9feb658 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "eleventy-plus-vite", "version": "1.2.0", - "type": "module", + "type": "module", "description": "A clean and simple Eleventy 2 Starter Kit with Vite", "browserslist": [ "> 0.5%", @@ -30,26 +30,26 @@ "@11ty/eleventy": "^3.0.0-alpha.14", "@11ty/eleventy-img": "^4.0.2", "@11ty/eleventy-navigation": "^0.3.5", - "@11ty/eleventy-plugin-rss": "^1.2.0", + "@11ty/eleventy-plugin-rss": "^2.0.2", "@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0", "@11ty/eleventy-plugin-vite": "^5.0.0-alpha.1", - "autoprefixer": "^10.4.16", - "cssnano": "^6.0.1", + "autoprefixer": "^10.4.20", + "cssnano": "^7.0.5", "cssremedy": "^0.1.0-beta.2", "del-cli": "^5.1.0", - "eslint": "^8.54.0", - "eslint-config-standard": "^17.0.0", - "eslint-plugin-import": "^2.26.0", - "eslint-plugin-n": "^16.3.1", - "eslint-plugin-promise": "^6.0.0", - "focus-visible": "^5.2.0", - "luxon": "^3.4.4", - "markdown-it": "^14.0.0", - "markdown-it-anchor": "^8.6.7", + "eslint": "^8.57.0", + "eslint-config-standard": "^17.1.0", + "eslint-plugin-import": "^2.29.1", + "eslint-plugin-n": "^16.6.2", + "eslint-plugin-promise": "^6.6.0", + "focus-visible": "^5.2.1", + "luxon": "^3.5.0", + "markdown-it": "^14.1.0", + "markdown-it-anchor": "^9.0.1", "npm-run-all": "^4.1.5", - "postcss-nesting": "^12.0.1", + "postcss-nesting": "^13.0.0", "rollup-plugin-critical": "^1.0.13", - "sass": "^1.69.5", - "vite": "^5.3.3" + "sass": "^1.77.8", + "vite": "^5.4.1" } } diff --git a/src/feed.xml.njk b/src/feed.xml.njk index 44edd3a..deedc8c 100644 --- a/src/feed.xml.njk +++ b/src/feed.xml.njk @@ -12,7 +12,7 @@ eleventyExcludeFromCollections: true {{ meta.title }} {% if collections.posts %} - {{ collections.posts | rssLastUpdatedDate }} + {{ collections.posts | getNewestCollectionItemDate | dateToRfc3339 }} {% endif %} {{ meta.url }}/ {%- for post in collections.posts | reverse -%} @@ -20,7 +20,7 @@ eleventyExcludeFromCollections: true {{ post.data.title }} - {{ post.date | rssDate }} + {{ post.date | dateToRfc3339 }} {{ absolutePostUrl }}