@warp-drive-mirror/utilities 5.10.0-alpha.20 → 5.10.0-alpha.22

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.
@@ -1,3 +1,7 @@
1
+ /**
2
+ * @module
3
+ * @summary The `concat` derivation, which joins a record's listed fields into one string with an optional separator.
4
+ */
1
5
  import { Type } from "@warp-drive-mirror/core/types/symbols";
2
6
  import { ReactiveResource } from "@warp-drive-mirror/core/reactive";
3
7
  interface ConcatDerivation {
@@ -1 +1 @@
1
- {"version":3,"file":"derivations.d.ts","names":[],"sources":["../src/derivations.ts"],"mappings":";;UAQU;GAEN,QAAQ;;KACR,SAAS,gCACT;GAED;;;;;;;;;;;;;;;;;;;;;qBAsBU,QAAQ"}
1
+ {"version":3,"file":"derivations.d.ts","names":[],"sources":["../src/derivations.ts"],"mappings":";;;;;;UAQU;GAEN,QAAQ;;KACR,SAAS,gCACT;GAED;;;;;;;;;;;;;;;;;;;;;qBAsBU,QAAQ"}
@@ -1,3 +1,11 @@
1
+ /**
2
+ * A selection of pre-built request handlers for handling common
3
+ * request scenarios.
4
+ *
5
+ * @summary Ready-made request handlers for body compression, conditional handling, and meta-only responses, plus
6
+ * tracing helpers.
7
+ * @module
8
+ */
1
9
  import { RequestContext, StructuredDataDocument } from "@warp-drive-mirror/core/types/request";
2
10
  import { Future, Handler, NextFn } from "@warp-drive-mirror/core/request";
3
11
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"handlers.d.ts","names":[],"sources":["../src/-private/handlers/auto-compress.ts","../src/-private/handlers/gated.ts","../src/-private/handlers/meta-doc.ts","../src/-private/handlers/utils.ts"],"mappings":";;;;;;;;;;qBAgBa;;;;;;;;UAuBI;;;;;;EAMf;;;;;;EAMA;;;;;;EAMA;;;;;;EAMA;;;;;;EAMA;;;;;;;;UASe;;;;;;;;EAQf,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BT;;;;;;;;EASA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiCA,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA0CH,wBAAwB;;;;;EAKnC,SAAiB,SAAS;;;;IAIxB,aAAa,SAAS;;EAGxB,YAAY,UAAS;EAUrB,QAAQ,KAAK,WAAW,gBAAgB,MAAM,OAAO,KAAK,QAAQ,KAAK,OAAO;;;;;;KCrN3E,WAAW,SAAS;;;;;;;;qBASZ,gBAAgB;;;;EAI3B,SAAiB;;;;EAIjB,SAAiB;EAEjB,YAAY,SAAS,SAAS,SAAS;EAKvC,QAAQ,aAAa,SAAS,gBAAgB,MAAM,OAAO,KAAK,QAAQ,IAAI,uBAAuB,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBCmBrG,gBAAgB;;;;;;;;;;qBCbhB;;;;;;;qBAOA;;;;;;;;;;;;;;wBAeG,eAAe,SAAS,UAAU;;;;;;;;qBAcrC;;;;;;;;;;wBAWG,uBAAuB"}
1
+ {"version":3,"file":"handlers.d.ts","names":[],"sources":["../src/-private/handlers/auto-compress.ts","../src/-private/handlers/gated.ts","../src/-private/handlers/meta-doc.ts","../src/-private/handlers/utils.ts"],"mappings":";;;;;;;;;;;;;;;;;;qBAgBa;;;;;;;;UAuBI;;;;;;EAMf;;;;;;EAMA;;;;;;EAMA;;;;;;EAMA;;;;;;EAMA;;;;;;;;UASe;;;;;;;;EAQf,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BT;;;;;;;;EASA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiCA,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA0CH,wBAAwB;;;;;EAKnC,SAAiB,SAAS;;;;IAIxB,aAAa,SAAS;;EAGxB,YAAY,UAAS;EAUrB,QAAQ,KAAK,WAAW,gBAAgB,MAAM,OAAO,KAAK,QAAQ,KAAK,OAAO;;;;;;KCrN3E,WAAW,SAAS;;;;;;;;qBASZ,gBAAgB;;;;EAI3B,SAAiB;;;;EAIjB,SAAiB;EAEjB,YAAY,SAAS,SAAS,SAAS;EAKvC,QAAQ,aAAa,SAAS,gBAAgB,MAAM,OAAO,KAAK,QAAQ,IAAI,uBAAuB,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBCmBrG,gBAAgB;;;;;;;;;;qBCbhB;;;;;;;qBAOA;;;;;;;;;;;;;;wBAeG,eAAe,SAAS,UAAU;;;;;;;;qBAcrC;;;;;;;;;;wBAWG,uBAAuB"}
package/dist/string.d.ts CHANGED
@@ -1,3 +1,17 @@
1
+ /**
2
+ * String utilities for transforming and inflecting strings useful for
3
+ * when the format provided by the server is not the format you want to use
4
+ * in your application.
5
+ *
6
+ * Each transformation function stores its results in an LRUCache to avoid
7
+ * recomputing the same value multiple times. The cache size can be set
8
+ * using the `setMaxLRUCacheSize` function. The default size is 10,000.
9
+ *
10
+ * @summary Cached case-conversion and English pluralization helpers, with configurable inflection rules, for mapping
11
+ * server names.
12
+ * @module
13
+ * @public
14
+ */
1
15
  /**
2
16
  * Marks a word as uncountable. Uncountable words are not pluralized
3
17
  * or singularized.
@@ -1 +1 @@
1
- {"version":3,"file":"string.d.ts","names":[],"sources":["../src/-private/string/inflect.ts","../src/-private/string/transform.ts"],"mappings":";;;;;;;;wBA+BgB,YAAY;;;;;;;;;wBAYZ,gBAAgB;;;;;;;;;;wBAehB,UAAU,gBAAgB;;;;;;;;;wBAkB1B,cAAc,gBAAgB;;;;;;;;wBAoB9B;;;;;;;;wBAYA;;;;;;;;;wBAgBA;;;;;;;;wBAiBA,YAAY;;;;;;;;wBAaZ,UAAU;;;;;;;;wBAsBV,OAAO,OAAO,QAAQ;;;;;;;;wBAiBtB,SAAS,OAAO,QAAQ;;;;;;;;;;;;;;;;;;qBCzJ3B,YAAY;;;;;;;;;;;;;;;;;;;;wBAqBT,SAAS;;;;;;;;;;;;;;;;;;wBAqBT,WAAW;;;;;;;;;;;;;;;;;;wBAqBX,WAAW;;;;;;;;;;wBAaX,mBAAmB"}
1
+ {"version":3,"file":"string.d.ts","names":[],"sources":["../src/-private/string/inflect.ts","../src/-private/string/transform.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;wBA+BgB,YAAY;;;;;;;;;wBAYZ,gBAAgB;;;;;;;;;;wBAehB,UAAU,gBAAgB;;;;;;;;;wBAkB1B,cAAc,gBAAgB;;;;;;;;wBAoB9B;;;;;;;;wBAYA;;;;;;;;;wBAgBA;;;;;;;;wBAiBA,YAAY;;;;;;;;wBAaZ,UAAU;;;;;;;;wBAsBV,OAAO,OAAO,QAAQ;;;;;;;;wBAiBtB,SAAS,OAAO,QAAQ;;;;;;;;;;;;;;;;;;qBCzJ3B,YAAY;;;;;;;;;;;;;;;;;;;;wBAqBT,SAAS;;;;;;;;;;;;;;;;;;wBAqBT,WAAW;;;;;;;;;;;;;;;;;;wBAqBX,WAAW;;;;;;;;;;wBAaX,mBAAmB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@warp-drive-mirror/utilities",
3
- "version": "5.10.0-alpha.20",
3
+ "version": "5.10.0-alpha.22",
4
4
  "description": "Request-building utilities for WarpDrive, including URL and query-param helpers such as `buildBaseURL` and ready-made request builders for JSON:API, REST and ActiveRecord APIs.",
5
5
  "keywords": [
6
6
  "ember-addon"
@@ -44,7 +44,7 @@
44
44
  }
45
45
  },
46
46
  "peerDependencies": {
47
- "@warp-drive-mirror/core": "5.10.0-alpha.20"
47
+ "@warp-drive-mirror/core": "5.10.0-alpha.22"
48
48
  },
49
49
  "dependencies": {
50
50
  "@embroider/macros": "^1.21.4"
@@ -53,11 +53,11 @@
53
53
  "@babel/core": "^7.29.7",
54
54
  "@babel/plugin-transform-typescript": "^7.29.9",
55
55
  "@babel/preset-typescript": "^7.29.7",
56
- "@warp-drive-mirror/core": "5.10.0-alpha.20",
57
- "@warp-drive/internal-config": "5.10.0-alpha.20",
56
+ "@warp-drive-mirror/core": "5.10.0-alpha.22",
57
+ "@warp-drive/internal-config": "5.10.0-alpha.22",
58
58
  "decorator-transforms": "^2.4.0",
59
59
  "expect-type": "^1.4.0",
60
- "tsdown": "^0.23.2",
60
+ "tsdown": "^0.23.4",
61
61
  "typescript-7": "npm:typescript@7.1.0-beta"
62
62
  },
63
63
  "ember-addon": {