@meith/settings 0.21.1 → 0.22.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meith/settings",
3
- "version": "0.21.1",
3
+ "version": "0.22.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "zod": "^4.4.3",
23
- "@meith/core": "0.21.1",
24
- "@meith/i18n": "0.21.1"
23
+ "@meith/core": "0.22.0",
24
+ "@meith/i18n": "0.22.0"
25
25
  }
26
26
  }
@@ -331,7 +331,7 @@ export const SETTING_DEFINITIONS = [
331
331
  description:
332
332
  'Minimum seconds between searches per user. Replaces the per-group ' +
333
333
  'searchfloodtime permission, which could not obey the numeric ' +
334
- 'combination rule — see docs/mybb-parity.md.',
334
+ 'combination rule — see docs/reference/mybb-parity.md.',
335
335
  schema: z.number().int().min(0).max(3600),
336
336
  default: 30,
337
337
  ui: { min: 0, max: 3600 },
package/src/origin.ts CHANGED
@@ -15,12 +15,6 @@ export function isUsableIssuer(value: string): boolean {
15
15
  return parsed.hostname !== '' && parsed.search === '' && parsed.hash === ''
16
16
  }
17
17
 
18
- /**
19
- * https, or plain http to a loopback address — the same allowance
20
- * `allowedRedirectHosts` gives a plugin route, for the same reason: a test
21
- * double never gets real TLS, and self-hosting a marketplace mirror should
22
- * not have to fake a certificate to be pointed at from a dev or e2e board.
23
- */
24
18
  export function isUsableFeedUrl(value: string): boolean {
25
19
  let parsed: URL
26
20
  try {