@qwik.dev/devtools 0.0.2 → 0.0.4

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 (136) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +1 -47
  3. package/dist/component/_virtual/_commonjsHelpers.qwik.cjs +6 -0
  4. package/dist/component/_virtual/_commonjsHelpers.qwik.mjs +6 -0
  5. package/dist/component/devtools.css.qwik.cjs +3 -0
  6. package/dist/component/devtools.css.qwik.mjs +4 -0
  7. package/dist/component/devtools.qwik.cjs +537 -0
  8. package/dist/component/devtools.qwik.mjs +537 -0
  9. package/dist/component/index.qwik.cjs +4 -0
  10. package/dist/component/index.qwik.mjs +4 -0
  11. package/dist/component/lib-types/devtools/src/index.d.ts +1 -0
  12. package/dist/component/lib-types/devtools/src/utils/location.d.ts +1 -0
  13. package/dist/component/node_modules/.pnpm/@qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@5.4.10_@types_node@20.14.11__/node_modules/@qwikest/icons/lib/hi.qwik.qwik.cjs +60 -0
  14. package/dist/component/node_modules/.pnpm/@qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@5.4.10_@types_node@20.14.11__/node_modules/@qwikest/icons/lib/hi.qwik.qwik.mjs +60 -0
  15. package/dist/component/node_modules/.pnpm/@qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@5.4.10_@types_node@20.14.11__/node_modules/@qwikest/icons/lib/lu.qwik.qwik.cjs +32 -0
  16. package/dist/component/node_modules/.pnpm/@qwikest_icons@0.0.13_@builder.io_qwik@1.11.0_vite@5.4.10_@types_node@20.14.11__/node_modules/@qwikest/icons/lib/lu.qwik.qwik.mjs +32 -0
  17. package/dist/component/node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.qwik.cjs +54 -0
  18. package/dist/component/node_modules/.pnpm/balanced-match@1.0.2/node_modules/balanced-match/index.qwik.mjs +54 -0
  19. package/dist/component/node_modules/.pnpm/birpc@0.2.19/node_modules/birpc/dist/index.qwik.cjs +128 -0
  20. package/dist/component/node_modules/.pnpm/birpc@0.2.19/node_modules/birpc/dist/index.qwik.mjs +128 -0
  21. package/dist/component/node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.qwik.cjs +149 -0
  22. package/dist/component/node_modules/.pnpm/brace-expansion@2.0.1/node_modules/brace-expansion/index.qwik.mjs +150 -0
  23. package/dist/component/node_modules/.pnpm/copy-anything@3.0.5/node_modules/copy-anything/dist/index.qwik.cjs +36 -0
  24. package/dist/component/node_modules/.pnpm/copy-anything@3.0.5/node_modules/copy-anything/dist/index.qwik.mjs +36 -0
  25. package/dist/component/node_modules/.pnpm/dree@5.1.5/node_modules/dree/bundled/lib/esm/index.esm.qwik.cjs +12 -0
  26. package/dist/component/node_modules/.pnpm/dree@5.1.5/node_modules/dree/bundled/lib/esm/index.esm.qwik.mjs +12 -0
  27. package/dist/component/node_modules/.pnpm/is-what@4.1.16/node_modules/is-what/dist/index.qwik.cjs +17 -0
  28. package/dist/component/node_modules/.pnpm/is-what@4.1.16/node_modules/is-what/dist/index.qwik.mjs +17 -0
  29. package/dist/component/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/assert-valid-pattern.qwik.cjs +12 -0
  30. package/dist/component/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/assert-valid-pattern.qwik.mjs +12 -0
  31. package/dist/component/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/ast.qwik.cjs +513 -0
  32. package/dist/component/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/ast.qwik.mjs +513 -0
  33. package/dist/component/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/brace-expressions.qwik.cjs +110 -0
  34. package/dist/component/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/brace-expressions.qwik.mjs +110 -0
  35. package/dist/component/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/escape.qwik.cjs +6 -0
  36. package/dist/component/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/escape.qwik.mjs +6 -0
  37. package/dist/component/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/index.qwik.cjs +738 -0
  38. package/dist/component/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/index.qwik.mjs +738 -0
  39. package/dist/component/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/unescape.qwik.cjs +6 -0
  40. package/dist/component/node_modules/.pnpm/minimatch@10.0.1/node_modules/minimatch/dist/esm/unescape.qwik.mjs +6 -0
  41. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/accessDeep.qwik.cjs +120 -0
  42. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/accessDeep.qwik.mjs +120 -0
  43. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/class-registry.qwik.cjs +23 -0
  44. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/class-registry.qwik.mjs +23 -0
  45. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/custom-transformer-registry.qwik.cjs +18 -0
  46. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/custom-transformer-registry.qwik.mjs +18 -0
  47. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/double-indexed-kv.qwik.cjs +23 -0
  48. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/double-indexed-kv.qwik.mjs +23 -0
  49. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/index.qwik.cjs +91 -0
  50. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/index.qwik.mjs +91 -0
  51. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/is.qwik.cjs +51 -0
  52. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/is.qwik.mjs +51 -0
  53. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/pathstringifier.qwik.cjs +30 -0
  54. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/pathstringifier.qwik.mjs +30 -0
  55. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/plainer.qwik.cjs +148 -0
  56. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/plainer.qwik.mjs +148 -0
  57. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/registry.qwik.cjs +28 -0
  58. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/registry.qwik.mjs +28 -0
  59. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/transformer.qwik.cjs +203 -0
  60. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/transformer.qwik.mjs +203 -0
  61. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/util.qwik.cjs +47 -0
  62. package/dist/component/node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/util.qwik.mjs +47 -0
  63. package/dist/component/node_modules/.pnpm/vite-hot-client@0.2.4_vite@5.4.10_@types_node@20.14.11_/node_modules/vite-hot-client/dist/index.qwik.cjs +35 -0
  64. package/dist/component/node_modules/.pnpm/vite-hot-client@0.2.4_vite@5.4.10_@types_node@20.14.11_/node_modules/vite-hot-client/dist/index.qwik.mjs +35 -0
  65. package/dist/component/packages/kit/src/client.qwik.cjs +18 -0
  66. package/dist/component/packages/kit/src/client.qwik.mjs +18 -0
  67. package/dist/component/packages/kit/src/context.qwik.cjs +20 -0
  68. package/dist/component/packages/kit/src/context.qwik.mjs +20 -0
  69. package/dist/component/packages/kit/src/globals.qwik.cjs +6 -0
  70. package/dist/component/packages/kit/src/globals.qwik.mjs +6 -0
  71. package/dist/plugin/index.cjs +10504 -0
  72. package/dist/plugin/index.mjs +10492 -0
  73. package/package.json +24 -43
  74. package/lib/index.qwik.cjs +0 -4
  75. package/lib/index.qwik.mjs +0 -4
  76. package/lib/kit/context.qwik.cjs +0 -16
  77. package/lib/kit/context.qwik.mjs +0 -16
  78. package/lib/kit/globals.qwik.cjs +0 -6
  79. package/lib/kit/globals.qwik.mjs +0 -6
  80. package/lib/kit/server.qwik.cjs +0 -18
  81. package/lib/kit/server.qwik.mjs +0 -18
  82. package/lib/plugin/assets/index.qwik.cjs +0 -67
  83. package/lib/plugin/assets/index.qwik.mjs +0 -67
  84. package/lib/plugin/index.qwik.cjs +0 -49
  85. package/lib/plugin/index.qwik.mjs +0 -49
  86. package/lib/plugin/npm/index.qwik.cjs +0 -19
  87. package/lib/plugin/npm/index.qwik.mjs +0 -19
  88. package/lib/plugin/routes/index.qwik.cjs +0 -17
  89. package/lib/plugin/routes/index.qwik.mjs +0 -17
  90. package/lib/plugin/rpc/index.qwik.cjs +0 -14
  91. package/lib/plugin/rpc/index.qwik.mjs +0 -14
  92. package/lib-types/index.d.ts +0 -1
  93. package/lib-types/plugin/assets/index.d.ts +0 -5
  94. package/lib-types/plugin/components/index.d.ts +0 -0
  95. package/lib-types/plugin/index.d.ts +0 -2
  96. package/lib-types/plugin/npm/index.d.ts +0 -5
  97. package/lib-types/plugin/routes/index.d.ts +0 -5
  98. package/lib-types/plugin/rpc/index.d.ts +0 -3
  99. package/lib-types/plugin/types/index.d.ts +0 -5
  100. package/src/devtools.css +0 -558
  101. package/src/devtools.tsx +0 -411
  102. package/src/entry.dev.tsx +0 -17
  103. package/src/entry.ssr.tsx +0 -25
  104. package/src/index.ts +0 -1
  105. package/src/kit/client.ts +0 -21
  106. package/src/kit/constants.ts +0 -1
  107. package/src/kit/context.ts +0 -42
  108. package/src/kit/globals.ts +0 -22
  109. package/src/kit/index.ts +0 -4
  110. package/src/kit/server.ts +0 -21
  111. package/src/kit/shared.ts +0 -11
  112. package/src/kit/types.ts +0 -48
  113. package/src/plugin/assets/index.ts +0 -126
  114. package/src/plugin/components/index.ts +0 -0
  115. package/src/plugin/index.ts +0 -50
  116. package/src/plugin/npm/index.ts +0 -24
  117. package/src/plugin/routes/index.ts +0 -16
  118. package/src/plugin/rpc/index.ts +0 -14
  119. package/src/plugin/types/index.ts +0 -6
  120. package/src/root.tsx +0 -15
  121. /package/{lib-types → dist/component/lib-types/devtools/src}/devtools.d.ts +0 -0
  122. /package/{lib-types → dist/component/lib-types/devtools/src}/entry.dev.d.ts +0 -0
  123. /package/{lib-types → dist/component/lib-types/devtools/src}/entry.ssr.d.ts +0 -0
  124. /package/{lib-types → dist/component/lib-types/devtools/src}/root.d.ts +0 -0
  125. /package/{lib-types/kit → dist/component/lib-types/kit/src}/client.d.ts +0 -0
  126. /package/{lib-types/kit → dist/component/lib-types/kit/src}/constants.d.ts +0 -0
  127. /package/{lib-types/kit → dist/component/lib-types/kit/src}/context.d.ts +0 -0
  128. /package/{lib-types/kit → dist/component/lib-types/kit/src}/globals.d.ts +0 -0
  129. /package/{lib-types/kit → dist/component/lib-types/kit/src}/index.d.ts +0 -0
  130. /package/{lib-types/kit → dist/component/lib-types/kit/src}/server.d.ts +0 -0
  131. /package/{lib-types/kit → dist/component/lib-types/kit/src}/shared.d.ts +0 -0
  132. /package/{lib-types/kit → dist/component/lib-types/kit/src}/types.d.ts +0 -0
  133. /package/{lib/kit → dist/component/packages/kit/src}/constants.qwik.cjs +0 -0
  134. /package/{lib/kit → dist/component/packages/kit/src}/constants.qwik.mjs +0 -0
  135. /package/{lib/kit → dist/component/packages/kit/src}/shared.qwik.cjs +0 -0
  136. /package/{lib/kit → dist/component/packages/kit/src}/shared.qwik.mjs +0 -0
@@ -0,0 +1,150 @@
1
+ import { getDefaultExportFromCjs } from "../../../../../_virtual/_commonjsHelpers.qwik.mjs";
2
+ import { b as balancedMatch } from "../../../balanced-match@1.0.2/node_modules/balanced-match/index.qwik.mjs";
3
+ var balanced = balancedMatch;
4
+ var braceExpansion = expandTop;
5
+ var escSlash = "\0SLASH" + Math.random() + "\0";
6
+ var escOpen = "\0OPEN" + Math.random() + "\0";
7
+ var escClose = "\0CLOSE" + Math.random() + "\0";
8
+ var escComma = "\0COMMA" + Math.random() + "\0";
9
+ var escPeriod = "\0PERIOD" + Math.random() + "\0";
10
+ function numeric(str) {
11
+ return parseInt(str, 10) == str ? parseInt(str, 10) : str.charCodeAt(0);
12
+ }
13
+ function escapeBraces(str) {
14
+ return str.split("\\\\").join(escSlash).split("\\{").join(escOpen).split("\\}").join(escClose).split("\\,").join(escComma).split("\\.").join(escPeriod);
15
+ }
16
+ function unescapeBraces(str) {
17
+ return str.split(escSlash).join("\\").split(escOpen).join("{").split(escClose).join("}").split(escComma).join(",").split(escPeriod).join(".");
18
+ }
19
+ function parseCommaParts(str) {
20
+ if (!str)
21
+ return [""];
22
+ var parts = [];
23
+ var m = balanced("{", "}", str);
24
+ if (!m)
25
+ return str.split(",");
26
+ var pre = m.pre;
27
+ var body = m.body;
28
+ var post = m.post;
29
+ var p = pre.split(",");
30
+ p[p.length - 1] += "{" + body + "}";
31
+ var postParts = parseCommaParts(post);
32
+ if (post.length) {
33
+ p[p.length - 1] += postParts.shift();
34
+ p.push.apply(p, postParts);
35
+ }
36
+ parts.push.apply(parts, p);
37
+ return parts;
38
+ }
39
+ function expandTop(str) {
40
+ if (!str)
41
+ return [];
42
+ if (str.substr(0, 2) === "{}") {
43
+ str = "\\{\\}" + str.substr(2);
44
+ }
45
+ return expand(escapeBraces(str), true).map(unescapeBraces);
46
+ }
47
+ function embrace(str) {
48
+ return "{" + str + "}";
49
+ }
50
+ function isPadded(el) {
51
+ return /^-?0\d/.test(el);
52
+ }
53
+ function lte(i, y) {
54
+ return i <= y;
55
+ }
56
+ function gte(i, y) {
57
+ return i >= y;
58
+ }
59
+ function expand(str, isTop) {
60
+ var expansions = [];
61
+ var m = balanced("{", "}", str);
62
+ if (!m) return [str];
63
+ var pre = m.pre;
64
+ var post = m.post.length ? expand(m.post, false) : [""];
65
+ if (/\$$/.test(m.pre)) {
66
+ for (var k = 0; k < post.length; k++) {
67
+ var expansion = pre + "{" + m.body + "}" + post[k];
68
+ expansions.push(expansion);
69
+ }
70
+ } else {
71
+ var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body);
72
+ var isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body);
73
+ var isSequence = isNumericSequence || isAlphaSequence;
74
+ var isOptions = m.body.indexOf(",") >= 0;
75
+ if (!isSequence && !isOptions) {
76
+ if (m.post.match(/,.*\}/)) {
77
+ str = m.pre + "{" + m.body + escClose + m.post;
78
+ return expand(str);
79
+ }
80
+ return [str];
81
+ }
82
+ var n;
83
+ if (isSequence) {
84
+ n = m.body.split(/\.\./);
85
+ } else {
86
+ n = parseCommaParts(m.body);
87
+ if (n.length === 1) {
88
+ n = expand(n[0], false).map(embrace);
89
+ if (n.length === 1) {
90
+ return post.map(function(p) {
91
+ return m.pre + n[0] + p;
92
+ });
93
+ }
94
+ }
95
+ }
96
+ var N;
97
+ if (isSequence) {
98
+ var x = numeric(n[0]);
99
+ var y = numeric(n[1]);
100
+ var width = Math.max(n[0].length, n[1].length);
101
+ var incr = n.length == 3 ? Math.abs(numeric(n[2])) : 1;
102
+ var test = lte;
103
+ var reverse = y < x;
104
+ if (reverse) {
105
+ incr *= -1;
106
+ test = gte;
107
+ }
108
+ var pad = n.some(isPadded);
109
+ N = [];
110
+ for (var i = x; test(i, y); i += incr) {
111
+ var c;
112
+ if (isAlphaSequence) {
113
+ c = String.fromCharCode(i);
114
+ if (c === "\\")
115
+ c = "";
116
+ } else {
117
+ c = String(i);
118
+ if (pad) {
119
+ var need = width - c.length;
120
+ if (need > 0) {
121
+ var z = new Array(need + 1).join("0");
122
+ if (i < 0)
123
+ c = "-" + z + c.slice(1);
124
+ else
125
+ c = z + c;
126
+ }
127
+ }
128
+ }
129
+ N.push(c);
130
+ }
131
+ } else {
132
+ N = [];
133
+ for (var j = 0; j < n.length; j++) {
134
+ N.push.apply(N, expand(n[j], false));
135
+ }
136
+ }
137
+ for (var j = 0; j < N.length; j++) {
138
+ for (var k = 0; k < post.length; k++) {
139
+ var expansion = pre + N[j] + post[k];
140
+ if (!isTop || isSequence || expansion)
141
+ expansions.push(expansion);
142
+ }
143
+ }
144
+ }
145
+ return expansions;
146
+ }
147
+ const expand$1 = /* @__PURE__ */ getDefaultExportFromCjs(braceExpansion);
148
+ export {
149
+ expand$1 as default
150
+ };
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const index = require("../../../../is-what@4.1.16/node_modules/is-what/dist/index.qwik.cjs");
4
+ function assignProp(carry, key, newVal, originalObject, includeNonenumerable) {
5
+ const propType = {}.propertyIsEnumerable.call(originalObject, key) ? "enumerable" : "nonenumerable";
6
+ if (propType === "enumerable")
7
+ carry[key] = newVal;
8
+ if (includeNonenumerable && propType === "nonenumerable") {
9
+ Object.defineProperty(carry, key, {
10
+ value: newVal,
11
+ enumerable: false,
12
+ writable: true,
13
+ configurable: true
14
+ });
15
+ }
16
+ }
17
+ function copy(target, options = {}) {
18
+ if (index.isArray(target)) {
19
+ return target.map((item) => copy(item, options));
20
+ }
21
+ if (!index.isPlainObject(target)) {
22
+ return target;
23
+ }
24
+ const props = Object.getOwnPropertyNames(target);
25
+ const symbols = Object.getOwnPropertySymbols(target);
26
+ return [...props, ...symbols].reduce((carry, key) => {
27
+ if (index.isArray(options.props) && !options.props.includes(key)) {
28
+ return carry;
29
+ }
30
+ const val = target[key];
31
+ const newVal = copy(val, options);
32
+ assignProp(carry, key, newVal, target, options.nonenumerable);
33
+ return carry;
34
+ }, {});
35
+ }
36
+ exports.copy = copy;
@@ -0,0 +1,36 @@
1
+ import { isArray, isPlainObject } from "../../../../is-what@4.1.16/node_modules/is-what/dist/index.qwik.mjs";
2
+ function assignProp(carry, key, newVal, originalObject, includeNonenumerable) {
3
+ const propType = {}.propertyIsEnumerable.call(originalObject, key) ? "enumerable" : "nonenumerable";
4
+ if (propType === "enumerable")
5
+ carry[key] = newVal;
6
+ if (includeNonenumerable && propType === "nonenumerable") {
7
+ Object.defineProperty(carry, key, {
8
+ value: newVal,
9
+ enumerable: false,
10
+ writable: true,
11
+ configurable: true
12
+ });
13
+ }
14
+ }
15
+ function copy(target, options = {}) {
16
+ if (isArray(target)) {
17
+ return target.map((item) => copy(item, options));
18
+ }
19
+ if (!isPlainObject(target)) {
20
+ return target;
21
+ }
22
+ const props = Object.getOwnPropertyNames(target);
23
+ const symbols = Object.getOwnPropertySymbols(target);
24
+ return [...props, ...symbols].reduce((carry, key) => {
25
+ if (isArray(options.props) && !options.props.includes(key)) {
26
+ return carry;
27
+ }
28
+ const val = target[key];
29
+ const newVal = copy(val, options);
30
+ assignProp(carry, key, newVal, target, options.nonenumerable);
31
+ return carry;
32
+ }, {});
33
+ }
34
+ export {
35
+ copy
36
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ require("node:path");
4
+ require("node:os");
5
+ require("node:crypto");
6
+ require("node:fs");
7
+ require("node:fs/promises");
8
+ require("../../../../../../minimatch@10.0.1/node_modules/minimatch/dist/esm/index.qwik.cjs");
9
+ var re = ((n) => (n.DIRECTORY = "directory", n.FILE = "file", n))(re || {}), ne = ((l) => (l.ALPHABETICAL = "alpha", l.ALPHABETICAL_REVERSE = "antialpha", l.ALPHABETICAL_INSENSITIVE = "alpha-insensitive", l.ALPHABETICAL_INSENSITIVE_REVERSE = "antialpha-insensitive", l))(ne || {}), se = ((a) => (a.ALPHABETICAL = "alpha", a.ALPHABETICAL_REVERSE = "antialpha", a.ALPHABETICAL_INSENSITIVE = "alpha-insensitive", a.ALPHABETICAL_INSENSITIVE_REVERSE = "antialpha-insensitive", a.FOLDERS_FIRST = "folders-first", a.FILES_FIRST = "files-first", a))(se || {});
10
+ exports.PostSortMethodPredefined = se;
11
+ exports.SortMethodPredefined = ne;
12
+ exports.Type = re;
@@ -0,0 +1,12 @@
1
+ import "node:path";
2
+ import "node:os";
3
+ import "node:crypto";
4
+ import "node:fs";
5
+ import "node:fs/promises";
6
+ import "../../../../../../minimatch@10.0.1/node_modules/minimatch/dist/esm/index.qwik.mjs";
7
+ var re = ((n) => (n.DIRECTORY = "directory", n.FILE = "file", n))(re || {}), ne = ((l) => (l.ALPHABETICAL = "alpha", l.ALPHABETICAL_REVERSE = "antialpha", l.ALPHABETICAL_INSENSITIVE = "alpha-insensitive", l.ALPHABETICAL_INSENSITIVE_REVERSE = "antialpha-insensitive", l))(ne || {}), se = ((a) => (a.ALPHABETICAL = "alpha", a.ALPHABETICAL_REVERSE = "antialpha", a.ALPHABETICAL_INSENSITIVE = "alpha-insensitive", a.ALPHABETICAL_INSENSITIVE_REVERSE = "antialpha-insensitive", a.FOLDERS_FIRST = "folders-first", a.FILES_FIRST = "files-first", a))(se || {});
8
+ export {
9
+ se as PostSortMethodPredefined,
10
+ ne as SortMethodPredefined,
11
+ re as Type
12
+ };
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ function getType(payload) {
4
+ return Object.prototype.toString.call(payload).slice(8, -1);
5
+ }
6
+ function isArray(payload) {
7
+ return getType(payload) === "Array";
8
+ }
9
+ function isPlainObject(payload) {
10
+ if (getType(payload) !== "Object")
11
+ return false;
12
+ const prototype = Object.getPrototypeOf(payload);
13
+ return !!prototype && prototype.constructor === Object && prototype === Object.prototype;
14
+ }
15
+ exports.getType = getType;
16
+ exports.isArray = isArray;
17
+ exports.isPlainObject = isPlainObject;
@@ -0,0 +1,17 @@
1
+ function getType(payload) {
2
+ return Object.prototype.toString.call(payload).slice(8, -1);
3
+ }
4
+ function isArray(payload) {
5
+ return getType(payload) === "Array";
6
+ }
7
+ function isPlainObject(payload) {
8
+ if (getType(payload) !== "Object")
9
+ return false;
10
+ const prototype = Object.getPrototypeOf(payload);
11
+ return !!prototype && prototype.constructor === Object && prototype === Object.prototype;
12
+ }
13
+ export {
14
+ getType,
15
+ isArray,
16
+ isPlainObject
17
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const MAX_PATTERN_LENGTH = 1024 * 64;
4
+ const assertValidPattern = (pattern) => {
5
+ if (typeof pattern !== "string") {
6
+ throw new TypeError("invalid pattern");
7
+ }
8
+ if (pattern.length > MAX_PATTERN_LENGTH) {
9
+ throw new TypeError("pattern is too long");
10
+ }
11
+ };
12
+ exports.assertValidPattern = assertValidPattern;
@@ -0,0 +1,12 @@
1
+ const MAX_PATTERN_LENGTH = 1024 * 64;
2
+ const assertValidPattern = (pattern) => {
3
+ if (typeof pattern !== "string") {
4
+ throw new TypeError("invalid pattern");
5
+ }
6
+ if (pattern.length > MAX_PATTERN_LENGTH) {
7
+ throw new TypeError("pattern is too long");
8
+ }
9
+ };
10
+ export {
11
+ assertValidPattern
12
+ };