New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vuepress-plugin-sitemap2

Package Overview
Dependencies
Maintainers
1
Versions
307
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vuepress-plugin-sitemap2 - npm Package Compare versions

Comparing version

to
2.0.0-rc.0

2

lib/node/index.js

@@ -6,3 +6,3 @@ import{getDirname as b,path as P,colors as w,fs as f}from"@vuepress/utils";import{ensureEndingSlash as U,Logger as D,isLinkHttp as M,removeEndingSlash as F,removeLeadingSlash as x,checkVersion as G}from"vuepress-shared/node";import{SitemapStream as N}from"sitemap";const k=b(import.meta.url),q=U(P.resolve(k,"../../templates")),L="vuepress-plugin-sitemap2",m=new D(L),O=({options:e,deprecatedOption:t,newOption:o,msg:s="",scope:l=""})=>{if(t in e){if(m.warn(`${w.magenta(t)} is ${w.yellow("deprecated")}${l?` in ${l}`:""}, please use "${w.magenta(o)}" instead.${s?`

Sitemap: ${l}${h}${d}
`;await f.writeFile(a,g,{flag:"w"}),m.succeed()}},_=(e,t=!0)=>o=>{t&&A(e),G(o,L,"2.0.0-beta.68"),o.env.isDebug&&m.info("Options:",e);const s={name:L};return e.hostname?{...s,onGenerated:l=>I(l,e)}:(m.error(`Option ${w.magenta("hostname")} is required!`),s)};export{_ as sitemapPlugin};
`;await f.writeFile(a,g,{flag:"w"}),m.succeed()}},_=(e,t=!0)=>o=>{t&&A(e),G(o,L,"2.0.0-rc.0"),o.env.isDebug&&m.info("Options:",e);const s={name:L};return e.hostname?{...s,onGenerated:l=>I(l,e)}:(m.error(`Option ${w.magenta("hostname")} is required!`),s)};export{_ as sitemapPlugin};
//# sourceMappingURL=index.js.map
{
"name": "vuepress-plugin-sitemap2",
"version": "2.0.0-beta.252",
"version": "2.0.0-rc.0",
"description": "Sitemap plugin for vuepress",

@@ -45,15 +45,15 @@ "keywords": [

"dependencies": {
"@vuepress/shared": "2.0.0-beta.68",
"@vuepress/utils": "2.0.0-beta.68",
"@vuepress/shared": "2.0.0-rc.0",
"@vuepress/utils": "2.0.0-rc.0",
"sitemap": "^7.1.1",
"vuepress-shared": "2.0.0-beta.252"
"vuepress-shared": "2.0.0-rc.0"
},
"devDependencies": {
"@vuepress/core": "2.0.0-beta.68",
"@vuepress/plugin-git": "2.0.0-beta.68"
"@vuepress/core": "2.0.0-rc.0",
"@vuepress/plugin-git": "2.0.0-rc.0"
},
"peerDependencies": {
"vuepress": "2.0.0-beta.68",
"vuepress-vite": "2.0.0-beta.68",
"vuepress-webpack": "2.0.0-beta.68"
"vuepress": "2.0.0-rc.0",
"vuepress-vite": "2.0.0-rc.0",
"vuepress-webpack": "2.0.0-rc.0"
},

@@ -60,0 +60,0 @@ "peerDependenciesMeta": {

Sorry, the diff of this file is not supported yet