@factor/plugin-sitemap
Advanced tools
Comparing version 1.4.6 to 1.4.11
@@ -10,2 +10,3 @@ import { createGzip } from "zlib" | ||
import { WebpackCopyItemConfig } from "@factor/build/types" | ||
import { PostStatus } from "@factor/post/types" | ||
let sitemap: Buffer | ||
@@ -59,3 +60,7 @@ | ||
const posts = await getModel("post").find( | ||
{ permalink: { $ne: null }, status: "published", source: setting("package.name") }, | ||
{ | ||
permalink: { $ne: undefined }, | ||
status: PostStatus.Published, | ||
source: setting("package.name") | ||
}, | ||
"permalink postType", | ||
@@ -62,0 +67,0 @@ { limit: 2000 } |
{ | ||
"name": "@factor/plugin-sitemap", | ||
"description": "This plugin generates a sitemap by crawling your Factor app.", | ||
"version": "1.4.6", | ||
"version": "1.4.11", | ||
"license": "GPL-2.0", | ||
@@ -18,3 +18,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "0c1a926cbcea452389a8e354f101a712588acdb9", | ||
"gitHead": "8a1c6b7d6874ccf74430ee358e1bce2e734d0e8f", | ||
"keywords": [ | ||
@@ -21,0 +21,0 @@ "factor", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31821
130