@sphido/sitemap 2.0.17 → 2.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/LICENSE +1 -1
  2. package/package.json +4 -4
  3. package/readme.md +3 -3
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 Roman Ožana (https://ozana.cz/)
3
+ Copyright (c) 2024 Roman Ožana (https://ozana.cz/)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sphido/sitemap",
3
- "version": "2.0.17",
3
+ "version": "2.0.19",
4
4
  "author": {
5
5
  "name": "Roman Ožana",
6
6
  "email": "roman@ozana.cz",
@@ -15,11 +15,11 @@
15
15
  "license": "MIT",
16
16
  "devDependencies": {
17
17
  "@sindresorhus/slugify": "^2.2.1",
18
- "ava": "^5.3.1",
19
- "got": "^13.0.0"
18
+ "ava": "^6.0.1",
19
+ "got": "^14.0.0"
20
20
  },
21
21
  "scripts": {
22
22
  "test": "ava"
23
23
  },
24
- "gitHead": "a54719f91b958d7d405d474b0717e1797a1bec3f"
24
+ "gitHead": "3bc3ae04cb1e37b209a531065725f6f1fd70c40a"
25
25
  }
package/readme.md CHANGED
@@ -20,14 +20,14 @@ import got from 'got';
20
20
  const pages = await getPages({path: 'content'});
21
21
  const map = await createSitemap('sitemap.xml');
22
22
 
23
- map.add({url: 'https://sphido.org', priority: 1});
23
+ map.add({url: 'https://sphido.cz', priority: 1});
24
24
 
25
25
  for (const page of await allPages(pages)) {
26
26
  page.slug = slugify(page.name) + '.html';
27
27
  page.output = join('/', relative('content', dirname(page.path)), page.slug);
28
28
 
29
29
  // prepare sitemap item properties
30
- page.url = new URL(page.slug, 'https://sphido.org');
30
+ page.url = new URL(page.slug, 'https://sphido.cz');
31
31
  page.date = new Date();
32
32
  page.priority = 0.5;
33
33
  page.changefreq = 'daily';
@@ -53,7 +53,7 @@ that it's changed. Alert Google about a sitemap only when it's new or updated;
53
53
  don't submit or ping unchanged sitemaps multiple times.
54
54
 
55
55
  You can use e.g. [got](https://github.com/sindresorhus/got) an HTTP request library for Node.js
56
- or visit [URL manually](https://www.google.com/webmasters/tools/ping?sitemap=https://sphido.org/sitemap.xml)
56
+ or visit [URL manually](https://www.google.com/webmasters/tools/ping?sitemap=https://sphido.cz/sitemap.xml)
57
57
 
58
58
  ```javascript
59
59
  import got from 'got';