Socket
Socket
Sign inDemoInstall

sitemaps

Package Overview
Dependencies
0
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.1 to 2.0.2

dist/test/createSitemap.test.d.ts

4

dist/lib/createSitemap.d.ts

@@ -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"
}
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc