@pithy-sh/i18n 0.14.0 → 0.15.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.
|
@@ -23,7 +23,7 @@ export type LayersFor = (locale: string) => readonly (MessageCatalog | undefined
|
|
|
23
23
|
* ## Why the query string is read off the URL here, and not through `validate`
|
|
24
24
|
*
|
|
25
25
|
* §HTTP's rule is that a route declares its request contract on the route line and a handler reads
|
|
26
|
-
* `c.req.valid(target)`; `plugins/no-raw-request-input.grit` enforces it by making the raw accessors
|
|
26
|
+
* `c.req.valid(target)`; `templates/starter/plugins/no-raw-request-input.grit` enforces it by making the raw accessors
|
|
27
27
|
* unreadable under every capability's `src/http/` tree. This is a **global middleware over every route**, so there
|
|
28
28
|
* is no route line to declare a validator on and no handler to hand a typed value to — the rule's
|
|
29
29
|
* replacement does not exist at this position.
|
package/dist/http/middleware.js
CHANGED
|
@@ -22,7 +22,7 @@ import { getCookie } from "hono/cookie";
|
|
|
22
22
|
* ## Why the query string is read off the URL here, and not through `validate`
|
|
23
23
|
*
|
|
24
24
|
* §HTTP's rule is that a route declares its request contract on the route line and a handler reads
|
|
25
|
-
* `c.req.valid(target)`; `plugins/no-raw-request-input.grit` enforces it by making the raw accessors
|
|
25
|
+
* `c.req.valid(target)`; `templates/starter/plugins/no-raw-request-input.grit` enforces it by making the raw accessors
|
|
26
26
|
* unreadable under every capability's `src/http/` tree. This is a **global middleware over every route**, so there
|
|
27
27
|
* is no route line to declare a validator on and no handler to hand a typed value to — the rule's
|
|
28
28
|
* replacement does not exist at this position.
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
/** This package's npm name — the join key against a release feed. */
|
|
4
4
|
export declare const PACKAGE_NAME = "@pithy-sh/i18n";
|
|
5
5
|
/** This package's version, stamped from its own package.json at generation time. */
|
|
6
|
-
export declare const PACKAGE_VERSION = "0.
|
|
6
|
+
export declare const PACKAGE_VERSION = "0.15.0";
|
|
7
7
|
//# sourceMappingURL=version.generated.d.ts.map
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
/** This package's npm name — the join key against a release feed. */
|
|
5
5
|
const PACKAGE_NAME = "@pithy-sh/i18n";
|
|
6
6
|
/** This package's version, stamped from its own package.json at generation time. */
|
|
7
|
-
const PACKAGE_VERSION = "0.
|
|
7
|
+
const PACKAGE_VERSION = "0.15.0";
|
|
8
8
|
//#endregion
|
|
9
9
|
export { PACKAGE_NAME, PACKAGE_VERSION };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pithy-sh/i18n",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"reset": "bun run clean && rm -rf node_modules"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@pithy-sh/core": "^0.
|
|
38
|
+
"@pithy-sh/core": "^0.15.0",
|
|
39
39
|
"@pithy-sh/ui-core": "^0.1.0",
|
|
40
40
|
"@react-native-async-storage/async-storage": "^2.2.0",
|
|
41
41
|
"expo-localization": "^57.0.2",
|
package/src/http/middleware.ts
CHANGED
|
@@ -30,7 +30,7 @@ export type LayersFor = (locale: string) => readonly (MessageCatalog | undefined
|
|
|
30
30
|
* ## Why the query string is read off the URL here, and not through `validate`
|
|
31
31
|
*
|
|
32
32
|
* §HTTP's rule is that a route declares its request contract on the route line and a handler reads
|
|
33
|
-
* `c.req.valid(target)`; `plugins/no-raw-request-input.grit` enforces it by making the raw accessors
|
|
33
|
+
* `c.req.valid(target)`; `templates/starter/plugins/no-raw-request-input.grit` enforces it by making the raw accessors
|
|
34
34
|
* unreadable under every capability's `src/http/` tree. This is a **global middleware over every route**, so there
|
|
35
35
|
* is no route line to declare a validator on and no handler to hand a typed value to — the rule's
|
|
36
36
|
* replacement does not exist at this position.
|
package/src/version.generated.ts
CHANGED