@riebeckite/plugin-folder-pages 0.0.26 → 0.0.28

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 (2) hide show
  1. package/dist/index.js +1 -4
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  } from "@riebeckite/core";
5
5
 
6
6
  // src/folder_pages.ts
7
- import { resolveGeneratedFolderLocation } from "@riebeckite/core";
7
+ import { escapeRegExp, resolveGeneratedFolderLocation } from "@riebeckite/core";
8
8
  var ENTRY_BASENAMES = ["README", "index"];
9
9
  function collapseFolderEntryLocations(locations) {
10
10
  const owners = /* @__PURE__ */ new Map();
@@ -233,9 +233,6 @@ function stripTrailingSlash(url) {
233
233
  if (url.length > 1 && url.endsWith("/")) return url.slice(0, -1);
234
234
  return url;
235
235
  }
236
- function escapeRegExp(value) {
237
- return value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
238
- }
239
236
  function compareEntries(a, b) {
240
237
  return compareStrings(a.permalink, b.permalink) || compareStrings(a.title, b.title) || compareStrings(a.slug, b.slug);
241
238
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riebeckite/plugin-folder-pages",
3
- "version": "0.0.26",
3
+ "version": "0.0.28",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -14,12 +14,12 @@
14
14
  }
15
15
  },
16
16
  "dependencies": {
17
- "@riebeckite/core": "0.0.26"
17
+ "@riebeckite/core": "0.0.28"
18
18
  },
19
19
  "devDependencies": {
20
20
  "tsx": "^4.22.4",
21
- "@riebeckite/plugin-l10n": "0.0.26",
22
- "@riebeckite/plugin-taxonomy": "0.0.26"
21
+ "@riebeckite/plugin-taxonomy": "0.0.28",
22
+ "@riebeckite/plugin-l10n": "0.0.28"
23
23
  },
24
24
  "publishConfig": {
25
25
  "access": "public"