Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@factor/plugin-sitemap

Package Overview
Dependencies
Maintainers
2
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@factor/plugin-sitemap - npm Package Compare versions

Comparing version 1.0.0-alpha.5 to 1.0.0-alpha.15

13

index.js

@@ -26,3 +26,7 @@ export default Factor => {

async getPermalinks() {
const results = await Factor.$db.run({ method: "find", conditions: {}, limit: 1000 })
const results = await Factor.$db.run({
method: "find",
conditions: {},
limit: 1000
})

@@ -56,3 +60,2 @@ const urls = results.data

// console.log("content routes", contentRoutes)
return theRoutes.map(perm => `${Factor.$config.setting("url")}${perm}`)

@@ -69,3 +72,7 @@ }

const _p =
parent && !_.path.startsWith("/") ? `${parent}/${_.path}` : parent && _.path == "/" ? parent : _.path
parent && !_.path.startsWith("/")
? `${parent}/${_.path}`
: parent && _.path == "/"
? parent
: _.path

@@ -72,0 +79,0 @@ out.push(_p)

{
"name": "@factor/plugin-sitemap",
"version": "1.0.0-alpha.5",
"version": "1.0.0-alpha.15",
"license": "GPL-2.0",

@@ -16,3 +16,3 @@ "publishConfig": {

},
"gitHead": "3537bf16da77a27d03c8a79cc61e09611c73ddfd"
"gitHead": "e2c60fdf9e1f43f53615d1258dfd66203577a103"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc