@stacksjs/actions 0.70.11 → 0.70.13

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.
Files changed (28) hide show
  1. package/dist/build.js +8 -8
  2. package/dist/{chunk-k2wcwm7g.js → chunk-030apzv1.js} +8 -8
  3. package/dist/{chunk-veja9rez.js → chunk-0crtxf8d.js} +19 -156
  4. package/dist/chunk-2m04vhea.js +145 -0
  5. package/dist/{chunk-q81mf99q.js → chunk-6vn0j49q.js} +13 -10
  6. package/dist/{chunk-76zhb40c.js → chunk-6xeh1279.js} +7 -6
  7. package/dist/{chunk-qkm8e752.js → chunk-8dsect0a.js} +5 -4
  8. package/dist/{chunk-t5em30ak.js → chunk-9menqd9a.js} +24 -16
  9. package/dist/{chunk-f6a9g4qa.js → chunk-ad9b7jvj.js} +5 -4
  10. package/dist/{chunk-7s5qcjkt.js → chunk-bh25aaf7.js} +17 -9
  11. package/dist/{chunk-zsm2c35w.js → chunk-f1cxwjkf.js} +6 -5
  12. package/dist/{chunk-8fdqje2t.js → chunk-f48dj1dk.js} +3 -3
  13. package/dist/{chunk-9exgwfkw.js → chunk-gdzs9jf4.js} +5 -4
  14. package/dist/{chunk-hsak03yh.js → chunk-ghp9nh6b.js} +34 -25
  15. package/dist/{chunk-1hqs8kt1.js → chunk-h46e5ha3.js} +95 -104
  16. package/dist/{chunk-3d7m14ee.js → chunk-hcfsx7e0.js} +21 -17
  17. package/dist/{chunk-djkz87qs.js → chunk-hcra1987.js} +8 -8
  18. package/dist/{chunk-38cnnp2b.js → chunk-hd6fdt5s.js} +6 -4
  19. package/dist/{chunk-pjjzff0p.js → chunk-kbw02372.js} +154 -38
  20. package/dist/{chunk-bst5srwz.js → chunk-q3gghmwn.js} +29 -33
  21. package/dist/{chunk-b5g5w1hh.js → chunk-xt9exr2c.js} +5 -6
  22. package/dist/database/seed.js +7 -7
  23. package/dist/generate/index.js +8 -8
  24. package/dist/index.js +8 -8
  25. package/dist/release.js +8 -8
  26. package/dist/upgrade.js +1 -1
  27. package/package.json +17 -17
  28. package/dist/chunk-zzerxbrm.js +0 -107
@@ -1,4 +1,5 @@
1
1
  import {
2
+ require_dist_cjs5 as require_dist_cjs2,
2
3
  require_protocols
3
4
  } from "./chunk-a7k3cdby.js";
4
5
  import {
@@ -1050,23 +1051,21 @@ class HttpResponse {
1050
1051
  return typeof resp.statusCode === "number" && typeof resp.headers === "object";
1051
1052
  }
1052
1053
  }
1053
- // ../../../../node_modules/@smithy/util-uri-escape/dist-es/escape-uri.js
1054
- var escapeUri = (uri) => encodeURIComponent(uri).replace(/[!'()*]/g, hexEncode);
1055
- var hexEncode = (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`;
1056
1054
  // ../../../../node_modules/@smithy/querystring-builder/dist-es/index.js
1055
+ var import_util_uri_escape = __toESM(require_dist_cjs2(), 1);
1057
1056
  function buildQueryString(query) {
1058
1057
  const parts = [];
1059
1058
  for (let key of Object.keys(query).sort()) {
1060
1059
  const value = query[key];
1061
- key = escapeUri(key);
1060
+ key = import_util_uri_escape.escapeUri(key);
1062
1061
  if (Array.isArray(value)) {
1063
1062
  for (let i = 0, iLen = value.length;i < iLen; i++) {
1064
- parts.push(`${key}=${escapeUri(value[i])}`);
1063
+ parts.push(`${key}=${import_util_uri_escape.escapeUri(value[i])}`);
1065
1064
  }
1066
1065
  } else {
1067
1066
  let qsEntry = key;
1068
1067
  if (value || typeof value === "string") {
1069
- qsEntry += `=${escapeUri(value)}`;
1068
+ qsEntry += `=${import_util_uri_escape.escapeUri(value)}`;
1070
1069
  }
1071
1070
  parts.push(qsEntry);
1072
1071
  }
@@ -1,22 +1,22 @@
1
1
  // @bun
2
2
  import {
3
3
  seed
4
- } from "../chunk-1hqs8kt1.js";
4
+ } from "../chunk-h46e5ha3.js";
5
5
  import"../chunk-mdj7x1vs.js";
6
6
  import"../chunk-p0c688mg.js";
7
- import"../chunk-qkm8e752.js";
7
+ import"../chunk-8dsect0a.js";
8
8
  import"../chunk-a13x0e43.js";
9
9
  import"../chunk-mdqphqep.js";
10
10
  import"../chunk-qhh0v93n.js";
11
- import"../chunk-pjjzff0p.js";
12
- import"../chunk-7s5qcjkt.js";
11
+ import"../chunk-kbw02372.js";
12
+ import"../chunk-bh25aaf7.js";
13
13
  import"../chunk-bf8bq8pc.js";
14
- import"../chunk-b5g5w1hh.js";
15
- import"../chunk-zzerxbrm.js";
16
- import"../chunk-veja9rez.js";
14
+ import"../chunk-xt9exr2c.js";
15
+ import"../chunk-0crtxf8d.js";
17
16
  import"../chunk-a7k3cdby.js";
18
17
  import"../chunk-frw3va9v.js";
19
18
  import"../chunk-saqpg5nd.js";
19
+ import"../chunk-2m04vhea.js";
20
20
  import"../chunk-2dvnt46s.js";
21
21
  import"../chunk-w6fdq4hk.js";
22
22
  import"../chunk-wkwtsvym.js";
@@ -1,29 +1,29 @@
1
1
  // @bun
2
2
  import {
3
3
  route
4
- } from "../chunk-8fdqje2t.js";
4
+ } from "../chunk-f48dj1dk.js";
5
5
  import {
6
6
  generateVsCodeCustomData
7
7
  } from "../helpers/vscode-custom-data.js";
8
8
  import"../chunk-494jp8d5.js";
9
9
  import {
10
10
  generateModelFiles
11
- } from "../chunk-1hqs8kt1.js";
11
+ } from "../chunk-h46e5ha3.js";
12
12
  import"../chunk-mdj7x1vs.js";
13
13
  import"../chunk-p0c688mg.js";
14
- import"../chunk-qkm8e752.js";
14
+ import"../chunk-8dsect0a.js";
15
15
  import"../chunk-a13x0e43.js";
16
16
  import"../chunk-mdqphqep.js";
17
17
  import"../chunk-qhh0v93n.js";
18
- import"../chunk-pjjzff0p.js";
19
- import"../chunk-7s5qcjkt.js";
18
+ import"../chunk-kbw02372.js";
19
+ import"../chunk-bh25aaf7.js";
20
20
  import"../chunk-bf8bq8pc.js";
21
- import"../chunk-b5g5w1hh.js";
22
- import"../chunk-zzerxbrm.js";
23
- import"../chunk-veja9rez.js";
21
+ import"../chunk-xt9exr2c.js";
22
+ import"../chunk-0crtxf8d.js";
24
23
  import"../chunk-a7k3cdby.js";
25
24
  import"../chunk-frw3va9v.js";
26
25
  import"../chunk-saqpg5nd.js";
26
+ import"../chunk-2m04vhea.js";
27
27
  import"../chunk-2dvnt46s.js";
28
28
  import"../chunk-w6fdq4hk.js";
29
29
  import"../chunk-wkwtsvym.js";
package/dist/index.js CHANGED
@@ -41,25 +41,25 @@ import {
41
41
  generateWebTypes,
42
42
  invoke
43
43
  } from "./generate/index.js";
44
- import"./chunk-8fdqje2t.js";
44
+ import"./chunk-f48dj1dk.js";
45
45
  import"./helpers/vscode-custom-data.js";
46
46
  import"./chunk-494jp8d5.js";
47
- import"./chunk-1hqs8kt1.js";
47
+ import"./chunk-h46e5ha3.js";
48
48
  import"./chunk-mdj7x1vs.js";
49
49
  import"./chunk-p0c688mg.js";
50
- import"./chunk-qkm8e752.js";
50
+ import"./chunk-8dsect0a.js";
51
51
  import"./chunk-a13x0e43.js";
52
52
  import"./chunk-mdqphqep.js";
53
53
  import"./chunk-qhh0v93n.js";
54
- import"./chunk-pjjzff0p.js";
55
- import"./chunk-7s5qcjkt.js";
54
+ import"./chunk-kbw02372.js";
55
+ import"./chunk-bh25aaf7.js";
56
56
  import"./chunk-bf8bq8pc.js";
57
- import"./chunk-b5g5w1hh.js";
58
- import"./chunk-zzerxbrm.js";
59
- import"./chunk-veja9rez.js";
57
+ import"./chunk-xt9exr2c.js";
58
+ import"./chunk-0crtxf8d.js";
60
59
  import"./chunk-a7k3cdby.js";
61
60
  import"./chunk-frw3va9v.js";
62
61
  import"./chunk-saqpg5nd.js";
62
+ import"./chunk-2m04vhea.js";
63
63
  import"./chunk-2dvnt46s.js";
64
64
  import"./chunk-w6fdq4hk.js";
65
65
  import"./chunk-wkwtsvym.js";
package/dist/release.js CHANGED
@@ -5,25 +5,25 @@ import"./commit.js";
5
5
  import"./make.js";
6
6
  import"./add.js";
7
7
  import"./generate/index.js";
8
- import"./chunk-8fdqje2t.js";
8
+ import"./chunk-f48dj1dk.js";
9
9
  import"./helpers/vscode-custom-data.js";
10
10
  import"./chunk-494jp8d5.js";
11
- import"./chunk-1hqs8kt1.js";
11
+ import"./chunk-h46e5ha3.js";
12
12
  import"./chunk-mdj7x1vs.js";
13
13
  import"./chunk-p0c688mg.js";
14
- import"./chunk-qkm8e752.js";
14
+ import"./chunk-8dsect0a.js";
15
15
  import"./chunk-a13x0e43.js";
16
16
  import"./chunk-mdqphqep.js";
17
17
  import"./chunk-qhh0v93n.js";
18
- import"./chunk-pjjzff0p.js";
19
- import"./chunk-7s5qcjkt.js";
18
+ import"./chunk-kbw02372.js";
19
+ import"./chunk-bh25aaf7.js";
20
20
  import"./chunk-bf8bq8pc.js";
21
- import"./chunk-b5g5w1hh.js";
22
- import"./chunk-zzerxbrm.js";
23
- import"./chunk-veja9rez.js";
21
+ import"./chunk-xt9exr2c.js";
22
+ import"./chunk-0crtxf8d.js";
24
23
  import"./chunk-a7k3cdby.js";
25
24
  import"./chunk-frw3va9v.js";
26
25
  import"./chunk-saqpg5nd.js";
26
+ import"./chunk-2m04vhea.js";
27
27
  import"./chunk-2dvnt46s.js";
28
28
  import"./chunk-w6fdq4hk.js";
29
29
  import"./chunk-wkwtsvym.js";
package/dist/upgrade.js CHANGED
@@ -9,7 +9,7 @@ import { log } from "@stacksjs/logging";
9
9
  import { projectPath } from "@stacksjs/path";
10
10
  import * as storage from "@stacksjs/storage";
11
11
  // package.json
12
- var version = "0.70.11";
12
+ var version = "0.70.13";
13
13
 
14
14
  // src/upgrade.ts
15
15
  function checkForUncommittedChanges(options) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/actions",
3
3
  "type": "module",
4
- "version": "0.70.11",
4
+ "version": "0.70.13",
5
5
  "description": "The Stacks actions.",
6
6
  "author": "Chris Breuer",
7
7
  "contributors": ["Chris Breuer <chris@stacksjs.org>"],
@@ -42,22 +42,22 @@
42
42
  "prepublishOnly": "bun run build"
43
43
  },
44
44
  "devDependencies": {
45
- "@stacksjs/api": "0.70.10",
46
- "@stacksjs/cli": "0.70.10",
47
- "@stacksjs/config": "0.70.10",
48
- "@stacksjs/database": "0.70.10",
49
- "@stacksjs/development": "0.70.10",
50
- "@stacksjs/dns": "0.70.10",
51
- "@stacksjs/enums": "0.70.10",
52
- "@stacksjs/env": "0.70.10",
53
- "@stacksjs/error-handling": "0.70.10",
54
- "@stacksjs/logging": "0.70.10",
55
- "@stacksjs/path": "0.70.10",
56
- "@stacksjs/security": "0.70.10",
57
- "@stacksjs/storage": "0.70.10",
58
- "@stacksjs/strings": "0.70.10",
59
- "@stacksjs/utils": "0.70.10",
60
- "@stacksjs/validation": "0.70.10",
45
+ "@stacksjs/api": "0.70.11",
46
+ "@stacksjs/cli": "0.70.11",
47
+ "@stacksjs/config": "0.70.11",
48
+ "@stacksjs/database": "0.70.11",
49
+ "@stacksjs/development": "0.70.11",
50
+ "@stacksjs/dns": "0.70.11",
51
+ "@stacksjs/enums": "0.70.11",
52
+ "@stacksjs/env": "0.70.11",
53
+ "@stacksjs/error-handling": "0.70.11",
54
+ "@stacksjs/logging": "0.70.11",
55
+ "@stacksjs/path": "0.70.11",
56
+ "@stacksjs/security": "0.70.11",
57
+ "@stacksjs/storage": "0.70.11",
58
+ "@stacksjs/strings": "0.70.11",
59
+ "@stacksjs/utils": "0.70.11",
60
+ "@stacksjs/validation": "0.70.11",
61
61
  "markdown-it": "^14.1.0",
62
62
  "vue-component-meta": "^2.2.8"
63
63
  }
@@ -1,107 +0,0 @@
1
- // ../../../../node_modules/@smithy/property-provider/dist-es/ProviderError.js
2
- class ProviderError extends Error {
3
- constructor(message, options = true) {
4
- let logger;
5
- let tryNextLink = true;
6
- if (typeof options === "boolean") {
7
- logger = undefined;
8
- tryNextLink = options;
9
- } else if (options != null && typeof options === "object") {
10
- logger = options.logger;
11
- tryNextLink = options.tryNextLink ?? true;
12
- }
13
- super(message);
14
- this.name = "ProviderError";
15
- this.tryNextLink = tryNextLink;
16
- Object.setPrototypeOf(this, ProviderError.prototype);
17
- logger?.debug?.(`@smithy/property-provider ${tryNextLink ? "->" : "(!)"} ${message}`);
18
- }
19
- static from(error, options = true) {
20
- return Object.assign(new this(error.message, options), error);
21
- }
22
- }
23
-
24
- // ../../../../node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js
25
- class CredentialsProviderError extends ProviderError {
26
- constructor(message, options = true) {
27
- super(message, options);
28
- this.name = "CredentialsProviderError";
29
- Object.setPrototypeOf(this, CredentialsProviderError.prototype);
30
- }
31
- }
32
- // ../../../../node_modules/@smithy/property-provider/dist-es/TokenProviderError.js
33
- class TokenProviderError extends ProviderError {
34
- constructor(message, options = true) {
35
- super(message, options);
36
- this.name = "TokenProviderError";
37
- Object.setPrototypeOf(this, TokenProviderError.prototype);
38
- }
39
- }
40
- // ../../../../node_modules/@smithy/property-provider/dist-es/chain.js
41
- var chain = (...providers) => async () => {
42
- if (providers.length === 0) {
43
- throw new ProviderError("No providers in chain");
44
- }
45
- let lastProviderError;
46
- for (const provider of providers) {
47
- try {
48
- const credentials = await provider();
49
- return credentials;
50
- } catch (err) {
51
- lastProviderError = err;
52
- if (err?.tryNextLink) {
53
- continue;
54
- }
55
- throw err;
56
- }
57
- }
58
- throw lastProviderError;
59
- };
60
- // ../../../../node_modules/@smithy/property-provider/dist-es/fromStatic.js
61
- var fromStatic = (staticValue) => () => Promise.resolve(staticValue);
62
- // ../../../../node_modules/@smithy/property-provider/dist-es/memoize.js
63
- var memoize = (provider, isExpired, requiresRefresh) => {
64
- let resolved;
65
- let pending;
66
- let hasResult;
67
- let isConstant = false;
68
- const coalesceProvider = async () => {
69
- if (!pending) {
70
- pending = provider();
71
- }
72
- try {
73
- resolved = await pending;
74
- hasResult = true;
75
- isConstant = false;
76
- } finally {
77
- pending = undefined;
78
- }
79
- return resolved;
80
- };
81
- if (isExpired === undefined) {
82
- return async (options) => {
83
- if (!hasResult || options?.forceRefresh) {
84
- resolved = await coalesceProvider();
85
- }
86
- return resolved;
87
- };
88
- }
89
- return async (options) => {
90
- if (!hasResult || options?.forceRefresh) {
91
- resolved = await coalesceProvider();
92
- }
93
- if (isConstant) {
94
- return resolved;
95
- }
96
- if (requiresRefresh && !requiresRefresh(resolved)) {
97
- isConstant = true;
98
- return resolved;
99
- }
100
- if (isExpired(resolved)) {
101
- await coalesceProvider();
102
- return resolved;
103
- }
104
- return resolved;
105
- };
106
- };
107
- export { ProviderError, CredentialsProviderError, TokenProviderError, chain, fromStatic, memoize };