@sdxc/well-known 2026.10.13 → 2026.10.16
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/lib/json.js +2 -3
- package/package.json +5 -4
package/dist/lib/json.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { stringify } from "@sdxc/json-pointer";
|
|
1
2
|
import { failure, success } from "@sdxc/result";
|
|
2
3
|
import { WellKnownParseError } from "../parse-error.js";
|
|
3
4
|
/**
|
|
@@ -7,9 +8,7 @@ import { WellKnownParseError } from "../parse-error.js";
|
|
|
7
8
|
* @param segments - Member names and array indexes, outermost first.
|
|
8
9
|
*/
|
|
9
10
|
export function pointer(...segments) {
|
|
10
|
-
return segments
|
|
11
|
-
.map((segment) => `/${String(segment).replace(/~/g, "~0").replace(/\//g, "~1")}`)
|
|
12
|
-
.join("");
|
|
11
|
+
return stringify(segments);
|
|
13
12
|
}
|
|
14
13
|
/**
|
|
15
14
|
* Whether a decoded value is a plain JSON object.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sdxc/well-known",
|
|
3
|
-
"version": "2026.10.
|
|
3
|
+
"version": "2026.10.16",
|
|
4
4
|
"description": "Typed documents for well-known URIs: security.txt, WebFinger, NodeInfo, OAuth and OIDC metadata, JWKS and more",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -20,11 +20,12 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@remix-run/data-schema": "^1.0.0",
|
|
23
|
+
"@sdxc/json-pointer": "2026.10.14",
|
|
23
24
|
"@sdxc/result": "2026.10.13",
|
|
24
25
|
"@standard-schema/spec": "^1.1.0"
|
|
25
26
|
},
|
|
26
27
|
"peerDependencies": {
|
|
27
|
-
"@sdxc/http": "2026.10.
|
|
28
|
+
"@sdxc/http": "2026.10.16",
|
|
28
29
|
"remix": "3.0.0"
|
|
29
30
|
},
|
|
30
31
|
"peerDependenciesMeta": {
|
|
@@ -35,7 +36,7 @@
|
|
|
35
36
|
"optional": true
|
|
36
37
|
}
|
|
37
38
|
},
|
|
38
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "1e547d8431568f5ed9bdb079ca3046c936240fde",
|
|
39
40
|
"publishConfig": {
|
|
40
41
|
"access": "public"
|
|
41
42
|
},
|
|
@@ -44,7 +45,7 @@
|
|
|
44
45
|
"url": "git+https://github.com/sergiodxa/monorepo.git",
|
|
45
46
|
"directory": "packages/well-known"
|
|
46
47
|
},
|
|
47
|
-
"homepage": "https://sdxc.
|
|
48
|
+
"homepage": "https://sdxc.dev/api/well-known",
|
|
48
49
|
"author": {
|
|
49
50
|
"name": "Sergio Xalambrí",
|
|
50
51
|
"url": "https://sergiodxa.com"
|