sitemaps
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -0,5 +1,6 @@ | ||
type ChangeFreq = 'always' | 'hourly' | 'daily' | 'weekly' | 'monthly' | 'yearly' | 'never'; | ||
export interface UrlItem { | ||
loc: string; | ||
lastmod?: string; | ||
changefreq?: 'always' | 'hourly' | 'daily' | 'weekly' | 'monthly' | 'yearly' | 'never'; | ||
changefreq?: ChangeFreq | string; | ||
priority?: number; | ||
@@ -12,1 +13,2 @@ } | ||
export declare function createSitemap({ filePath, urls }: CreateSitemapOptions): string; | ||
export {}; |
{ | ||
"name": "sitemaps", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "A simple sitemap.xml generator.", | ||
@@ -10,3 +10,3 @@ "main": "dist/index.js", | ||
"build": "tsc", | ||
"test": "mocha \"**/*.test.js\" --exit", | ||
"test": "jest --verbose", | ||
"prepublish": "npm run build" | ||
@@ -34,3 +34,3 @@ }, | ||
"devDependencies": { | ||
"@types/lodash": "4.14.191", | ||
"@types/jest": "29.4.0", | ||
"@types/node": "18.14.2", | ||
@@ -45,7 +45,7 @@ "@typescript-eslint/eslint-plugin": "5.53.0", | ||
"eslint-plugin-prettier": "4.2.1", | ||
"lodash": "4.17.2", | ||
"mocha": "8.1.1", | ||
"jest": "29.4.3", | ||
"prettier": "2.8.4", | ||
"ts-jest": "29.0.5", | ||
"typescript": "4.9.5" | ||
} | ||
} |
11362
131