@easy-cms/plugin-redirects 1.7.1 → 1.8.0

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.
package/dist/index.d.ts CHANGED
@@ -140,4 +140,5 @@ declare function resolveRedirect(cms: RedirectsCMS, input: string | URL, options
140
140
  declare const STATUSES: readonly [301, 302, 307, 308];
141
141
  type RedirectStatus = (typeof STATUSES)[number];
142
142
 
143
- export { type Redirect, type RedirectStatus, type RedirectsCollection, type RedirectsPluginOptions, type RedirectsPluginTypes, STATUSES, type UrlArgs, clearRedirects, normalizePath, redirectsPlugin, resolveRedirect };
143
+ export { STATUSES, clearRedirects, normalizePath, redirectsPlugin, resolveRedirect };
144
+ export type { Redirect, RedirectStatus, RedirectsCollection, RedirectsPluginOptions, RedirectsPluginTypes, UrlArgs };
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ var INFO = {
9
9
  name: "@easy-cms/plugin-redirects",
10
10
  // The plugin API it is written for (`PLUGIN_API_VERSION` of @easy-cms/core).
11
11
  apiVersion: 1,
12
- ...true ? { version: "1.7.1" } : {}
12
+ ...true ? { version: "1.8.0" } : {}
13
13
  };
14
14
 
15
15
  // src/shared.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easy-cms/plugin-redirects",
3
- "version": "1.7.1",
3
+ "version": "1.8.0",
4
4
  "description": "Redirects for Easy CMS: 301s managed in the admin, automatic redirects when a page's address changes",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -16,11 +16,11 @@
16
16
  "dist"
17
17
  ],
18
18
  "peerDependencies": {
19
- "@easy-cms/core": "^1.7.1"
19
+ "@easy-cms/core": "^1.8.0"
20
20
  },
21
21
  "devDependencies": {
22
- "@easy-cms/core": "^1.7.1",
23
- "@easy-cms/db-sqlite": "^1.7.1"
22
+ "@easy-cms/core": "^1.8.0",
23
+ "@easy-cms/db-sqlite": "^1.8.0"
24
24
  },
25
25
  "engines": {
26
26
  "node": ">=22.12"