@design-edito/tools 0.3.17 → 0.4.1

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 (148) hide show
  1. package/agnostic/colors/index.d.ts +1 -1
  2. package/agnostic/colors/index.js +1 -1
  3. package/agnostic/css/bem/index.js +3 -3
  4. package/agnostic/css/index.d.ts +1 -1
  5. package/agnostic/css/index.js +1 -1
  6. package/agnostic/css/scale/index.js +3 -3
  7. package/agnostic/html/hyper-json/cast/index.js +8 -9
  8. package/agnostic/html/hyper-json/index.d.ts +1 -0
  9. package/agnostic/html/hyper-json/index.js +13 -12
  10. package/agnostic/html/hyper-json/method/index.d.ts +2 -2
  11. package/agnostic/html/hyper-json/serialize/index.js +2 -2
  12. package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +8 -9
  13. package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +8 -9
  14. package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +8 -9
  15. package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +8 -9
  16. package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +8 -9
  17. package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +8 -9
  18. package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +8 -9
  19. package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +8 -9
  20. package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +8 -9
  21. package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +8 -9
  22. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +8 -9
  23. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +8 -9
  24. package/agnostic/html/hyper-json/smart-tags/coalesced/hjparse/index.js +8 -9
  25. package/agnostic/html/hyper-json/smart-tags/coalesced/hjstringify/index.js +8 -9
  26. package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +8 -9
  27. package/agnostic/html/hyper-json/smart-tags/coalesced/index.d.ts +6 -6
  28. package/agnostic/html/hyper-json/smart-tags/coalesced/index.js +6 -6
  29. package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +8 -9
  30. package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +8 -9
  31. package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +8 -9
  32. package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +8 -9
  33. package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +8 -9
  34. package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +8 -9
  35. package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +8 -9
  36. package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +8 -9
  37. package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +8 -9
  38. package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +8 -9
  39. package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +8 -9
  40. package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +8 -9
  41. package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +8 -9
  42. package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +8 -9
  43. package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +8 -9
  44. package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +8 -9
  45. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +8 -9
  46. package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +8 -9
  47. package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +8 -9
  48. package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +8 -9
  49. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +8 -9
  50. package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +8 -9
  51. package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +8 -9
  52. package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +8 -9
  53. package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +8 -9
  54. package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +8 -9
  55. package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +8 -9
  56. package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +8 -9
  57. package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +8 -9
  58. package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +8 -9
  59. package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +8 -9
  60. package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +8 -9
  61. package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +8 -9
  62. package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +8 -9
  63. package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +8 -9
  64. package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +8 -9
  65. package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +8 -9
  66. package/agnostic/html/hyper-json/smart-tags/index.d.ts +8 -1
  67. package/agnostic/html/hyper-json/smart-tags/index.js +2 -2
  68. package/agnostic/html/hyper-json/smart-tags/isolated/any/index.d.ts +3 -1
  69. package/agnostic/html/hyper-json/smart-tags/isolated/any/index.js +3 -3
  70. package/agnostic/html/hyper-json/smart-tags/isolated/array/index.d.ts +3 -1
  71. package/agnostic/html/hyper-json/smart-tags/isolated/array/index.js +3 -3
  72. package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +8 -9
  73. package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +8 -9
  74. package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +8 -9
  75. package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +8 -9
  76. package/agnostic/html/hyper-json/smart-tags/isolated/index.d.ts +2 -3
  77. package/agnostic/html/hyper-json/smart-tags/isolated/index.js +2 -3
  78. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.d.ts +2 -1
  79. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +8 -9
  80. package/agnostic/html/hyper-json/smart-tags/isolated/null/index.d.ts +3 -1
  81. package/agnostic/html/hyper-json/smart-tags/isolated/null/index.js +3 -3
  82. package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +8 -9
  83. package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +8 -9
  84. package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +8 -9
  85. package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +8 -9
  86. package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +8 -9
  87. package/agnostic/html/hyper-json/transformer/index.d.ts +7 -7
  88. package/agnostic/html/hyper-json/transformer/index.js +1 -1
  89. package/agnostic/html/hyper-json/tree/index.d.ts +3 -5
  90. package/agnostic/html/hyper-json/tree/index.js +8 -9
  91. package/agnostic/html/hyper-json/types/index.d.ts +4 -10
  92. package/agnostic/html/hyper-json/utils/index.js +8 -9
  93. package/agnostic/html/index.d.ts +2 -2
  94. package/agnostic/html/index.js +2 -2
  95. package/agnostic/index.d.ts +4 -4
  96. package/agnostic/index.js +4 -4
  97. package/agnostic/misc/index.d.ts +5 -5
  98. package/agnostic/misc/index.js +5 -5
  99. package/agnostic/misc/logs/index.d.ts +1 -1
  100. package/agnostic/misc/logs/index.js +1 -1
  101. package/agnostic/numbers/index.d.ts +1 -1
  102. package/agnostic/numbers/index.js +1 -1
  103. package/agnostic/objects/index.d.ts +3 -3
  104. package/agnostic/objects/index.js +3 -3
  105. package/agnostic/optim/index.d.ts +1 -1
  106. package/agnostic/optim/index.js +1 -1
  107. package/agnostic/sanitization/index.d.ts +1 -1
  108. package/agnostic/sanitization/index.js +1 -1
  109. package/agnostic/strings/index.d.ts +3 -3
  110. package/agnostic/strings/index.js +3 -3
  111. package/agnostic/strings/replace-all/index.js +14 -3
  112. package/chunks/{chunk-FJH35B3Q.js → chunk-B4HGXMP3.js} +2 -2
  113. package/chunks/{chunk-QQPOSZFR.js → chunk-E33STMH3.js} +37 -64
  114. package/chunks/{chunk-QDHET2TE.js → chunk-HYGUIF2O.js} +5 -2
  115. package/chunks/{chunk-4STX5SQX.js → chunk-LEBGVBYD.js} +9 -2
  116. package/chunks/{chunk-FCABYQRX.js → chunk-MSU7JU63.js} +13 -1
  117. package/chunks/{chunk-H4KLHV6B.js → chunk-O32IRXDX.js} +1 -1
  118. package/chunks/{chunk-DU6U226H.js → chunk-RJRNYRPM.js} +2 -2
  119. package/components/index.d.ts +2 -2
  120. package/components/index.js +2 -2
  121. package/index.d.ts +1 -1
  122. package/index.js +1 -1
  123. package/node/@aws-s3/storage/file/index.d.ts +2 -2
  124. package/node/@aws-s3/storage/file/index.js +2 -2
  125. package/node/@google-cloud/storage/directory/index.d.ts +1 -1
  126. package/node/@google-cloud/storage/directory/index.js +1 -1
  127. package/node/@google-cloud/storage/file/index.d.ts +3 -3
  128. package/node/@google-cloud/storage/file/index.js +3 -3
  129. package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +3 -3
  130. package/node/cloud-storage/index.d.ts +1 -1
  131. package/node/cloud-storage/index.js +1 -1
  132. package/node/cloud-storage/operations/index.d.ts +2 -2
  133. package/node/cloud-storage/operations/index.js +2 -2
  134. package/node/ftps/file/index.d.ts +2 -2
  135. package/node/ftps/file/index.js +2 -2
  136. package/node/images/transform/index.js +28 -28
  137. package/node/images/transform/operations/index.d.ts +5 -5
  138. package/node/images/transform/operations/index.js +5 -5
  139. package/node/index.d.ts +2 -2
  140. package/node/index.js +2 -2
  141. package/node/process/index.d.ts +1 -1
  142. package/node/process/index.js +1 -1
  143. package/node/sftp/directory/index.d.ts +1 -1
  144. package/node/sftp/directory/index.js +1 -1
  145. package/package.json +1 -8
  146. package/agnostic/html/hyper-json/smart-tags/isolated/global/index.d.ts +0 -2
  147. package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +0 -25
  148. package/chunks/chunk-EPUHVR7J.js +0 -17
@@ -1,5 +1,4 @@
1
1
  import type * as Outcome from '../../../misc/outcome/index.js';
2
- import { type Logger } from '../../../misc/logs/logger/index.js';
3
2
  import { type Tree as TreeNamespace } from '../tree/index.js';
4
3
  import { type Transformer } from '../transformer/index.js';
5
4
  import { type Method } from '../method/index.js';
@@ -24,11 +23,11 @@ export declare namespace Types {
24
23
  name: string;
25
24
  sourceTree: TreeNamespace.Tree;
26
25
  };
27
- type Function<Main extends Tree.RestingValue, Args extends Tree.Value[], Out extends Tree.RestingValue> = (mainValue: Main, args: Args, details: FunctionDetailsArg) => Outcome.Either<Out, FunctionFailurePayload>;
26
+ type Function<Main extends Tree.RestingValue | undefined, Args extends Tree.Value[], Out extends Tree.RestingValue> = (mainValue: Main, args: Args, details: FunctionDetailsArg) => Outcome.Either<Out, FunctionFailurePayload>;
28
27
  type FailurePayloadCore = {
29
28
  transformerName: string;
30
29
  path: string;
31
- mainValue: Tree.RestingValue;
30
+ mainValue?: Tree.RestingValue;
32
31
  argsValue: Tree.RestingArrayValue;
33
32
  };
34
33
  type MainValueFailurePayload = FailurePayloadCore & FunctionMainValueFailure & {
@@ -77,11 +76,6 @@ export declare namespace Types {
77
76
  type ValueTypeName = keyof ValuesTypesNamesIndex;
78
77
  type ValueTypeFromNames<N extends ValueTypeName[]> = ValuesTypesNamesIndex[N[number]];
79
78
  type Resolver = (path: TreeNamespace.Tree['path']) => TreeNamespace.Tree | undefined;
80
- type Options = {
81
- globalObject: RestingRecordValue;
82
- logger: Logger | null;
83
- loggerThread: string | undefined;
84
- };
85
79
  type Serialized = {
86
80
  type: 'null';
87
81
  value: null;
@@ -118,7 +112,7 @@ export declare namespace Types {
118
112
  };
119
113
  }
120
114
  namespace SmartTags {
121
- type SmartTag<Main extends Types.Tree.RestingValue = Types.Tree.RestingValue, Args extends Types.Tree.RestingArrayValue = Types.Tree.RestingArrayValue, Output extends Types.Tree.RestingValue = Types.Tree.RestingValue> = {
115
+ type SmartTag<Main extends Types.Tree.RestingValue | undefined = Types.Tree.RestingValue | undefined, Args extends Types.Tree.RestingArrayValue = Types.Tree.RestingArrayValue, Output extends Types.Tree.RestingValue = Types.Tree.RestingValue> = {
122
116
  defaultMode: Types.Tree.Mode;
123
117
  isolationInitType: Exclude<Types.Tree.ValueTypeName, 'transformer' | 'method'>;
124
118
  generator: (innerValue: Types.Tree.RestingValue, mode: Types.Tree.Mode, sourceTree: TreeNamespace.Tree) => {
@@ -126,7 +120,7 @@ export declare namespace Types {
126
120
  method: Method<Main, Args, Output>;
127
121
  };
128
122
  };
129
- type Descriptor<Main extends Types.Tree.RestingValue = Types.Tree.RestingValue, Args extends Types.Tree.RestingArrayValue = Types.Tree.RestingArrayValue, Output extends Types.Tree.RestingValue = Types.Tree.RestingValue> = {
123
+ type Descriptor<Main extends Types.Tree.RestingValue | undefined = Types.Tree.RestingValue | undefined, Args extends Types.Tree.RestingArrayValue = Types.Tree.RestingArrayValue, Output extends Types.Tree.RestingValue = Types.Tree.RestingValue> = {
130
124
  name: string;
131
125
  defaultMode: Types.Tree.Mode;
132
126
  isolationInitType: Exclude<Types.Tree.ValueTypeName, 'transformer' | 'method'>;
@@ -1,20 +1,19 @@
1
1
  import {
2
2
  Utils
3
- } from "../../../../chunks/chunk-QQPOSZFR.js";
4
- import "../../../../chunks/chunk-FJH35B3Q.js";
5
- import "../../../../chunks/chunk-DU6U226H.js";
6
- import "../../../../chunks/chunk-QDHET2TE.js";
7
- import "../../../../chunks/chunk-FCABYQRX.js";
8
- import "../../../../chunks/chunk-H4KLHV6B.js";
9
- import "../../../../chunks/chunk-4STX5SQX.js";
10
- import "../../../../chunks/chunk-RW7VAKJW.js";
3
+ } from "../../../../chunks/chunk-E33STMH3.js";
4
+ import "../../../../chunks/chunk-B4HGXMP3.js";
11
5
  import "../../../../chunks/chunk-XEQ2PBT2.js";
6
+ import "../../../../chunks/chunk-RJRNYRPM.js";
7
+ import "../../../../chunks/chunk-HYGUIF2O.js";
8
+ import "../../../../chunks/chunk-MSU7JU63.js";
9
+ import "../../../../chunks/chunk-O32IRXDX.js";
10
+ import "../../../../chunks/chunk-LEBGVBYD.js";
11
+ import "../../../../chunks/chunk-RW7VAKJW.js";
12
12
  import "../../../../chunks/chunk-XA4HVHJ4.js";
13
13
  import "../../../../chunks/chunk-XNF5MLCQ.js";
14
14
  import "../../../../chunks/chunk-E6MSDKON.js";
15
15
  import "../../../../chunks/chunk-YDIBNEGA.js";
16
16
  import "../../../../chunks/chunk-6XL25OZX.js";
17
- import "../../../../chunks/chunk-EPUHVR7J.js";
18
17
  import "../../../../chunks/chunk-LUAYN7VJ.js";
19
18
  import "../../../../chunks/chunk-57YKZBJR.js";
20
19
  import "../../../../chunks/chunk-HQLRJ7XW.js";
@@ -1,8 +1,8 @@
1
1
  export * as getNodeAncestors from './get-node-ancestors/index.js'
2
2
  export * as getPositionInsideParent from './get-position-inside-parent/index.js'
3
+ export * as hyperJson from './hyper-json/index.js'
4
+ export * as insertNode from './insert-node/index.js'
3
5
  export * as placeholders from './placeholders/index.js'
4
6
  export * as replaceInElement from './replace-in-element/index.js'
5
- export * as insertNode from './insert-node/index.js'
6
7
  export * as selectorToElement from './selector-to-element/index.js'
7
8
  export * as stringToNodes from './string-to-nodes/index.js'
8
- export * as hyperJson from './hyper-json/index.js'
@@ -1,8 +1,8 @@
1
1
  export * as getNodeAncestors from './get-node-ancestors/index.js'
2
2
  export * as getPositionInsideParent from './get-position-inside-parent/index.js'
3
+ export * as hyperJson from './hyper-json/index.js'
4
+ export * as insertNode from './insert-node/index.js'
3
5
  export * as placeholders from './placeholders/index.js'
4
6
  export * as replaceInElement from './replace-in-element/index.js'
5
- export * as insertNode from './insert-node/index.js'
6
7
  export * as selectorToElement from './selector-to-element/index.js'
7
8
  export * as stringToNodes from './string-to-nodes/index.js'
8
- export * as hyperJson from './hyper-json/index.js'
@@ -3,14 +3,14 @@ export * as booleans from './booleans/index.js'
3
3
  export * as colors from './colors/index.js'
4
4
  export * as css from './css/index.js'
5
5
  export * as errors from './errors/index.js'
6
- export * as misc from './misc/index.js'
7
6
  export * as html from './html/index.js'
8
- export * as objects from './objects/index.js'
7
+ export * as misc from './misc/index.js'
9
8
  export * as numbers from './numbers/index.js'
9
+ export * as objects from './objects/index.js'
10
10
  export * as optim from './optim/index.js'
11
11
  export * as random from './random/index.js'
12
+ export * as regexps from './regexps/index.js'
12
13
  export * as sanitization from './sanitization/index.js'
13
- export * as time from './time/index.js'
14
14
  export * as strings from './strings/index.js'
15
+ export * as time from './time/index.js'
15
16
  export * as typescript from './typescript/index.js'
16
- export * as regexps from './regexps/index.js'
package/agnostic/index.js CHANGED
@@ -3,14 +3,14 @@ export * as booleans from './booleans/index.js'
3
3
  export * as colors from './colors/index.js'
4
4
  export * as css from './css/index.js'
5
5
  export * as errors from './errors/index.js'
6
- export * as misc from './misc/index.js'
7
6
  export * as html from './html/index.js'
8
- export * as objects from './objects/index.js'
7
+ export * as misc from './misc/index.js'
9
8
  export * as numbers from './numbers/index.js'
9
+ export * as objects from './objects/index.js'
10
10
  export * as optim from './optim/index.js'
11
11
  export * as random from './random/index.js'
12
+ export * as regexps from './regexps/index.js'
12
13
  export * as sanitization from './sanitization/index.js'
13
- export * as time from './time/index.js'
14
14
  export * as strings from './strings/index.js'
15
+ export * as time from './time/index.js'
15
16
  export * as typescript from './typescript/index.js'
16
- export * as regexps from './regexps/index.js'
@@ -1,12 +1,12 @@
1
- export * as connection from './connection/index.js'
2
1
  export * as assert from './assert/index.js'
2
+ export * as cast from './cast/index.js'
3
+ export * as connection from './connection/index.js'
3
4
  export * as crawler from './crawler/index.js'
4
- export * as dataSize from './data-size/index.js'
5
5
  export * as crossenv from './crossenv/index.js'
6
- export * as cast from './cast/index.js'
6
+ export * as dataSize from './data-size/index.js'
7
7
  export * as isNullish from './is-nullish/index.js'
8
- export * as loremIpsum from './lorem-ipsum/index.js'
8
+ export * as isConstructorFunction from './is-constructor-function/index.js'
9
9
  export * as logs from './logs/index.js'
10
+ export * as loremIpsum from './lorem-ipsum/index.js'
10
11
  export * as normalizeExtension from './normalize-extension/index.js'
11
- export * as isConstructorFunction from './is-constructor-function/index.js'
12
12
  export * as outcome from './outcome/index.js'
@@ -1,12 +1,12 @@
1
- export * as connection from './connection/index.js'
2
1
  export * as assert from './assert/index.js'
2
+ export * as cast from './cast/index.js'
3
+ export * as connection from './connection/index.js'
3
4
  export * as crawler from './crawler/index.js'
4
- export * as dataSize from './data-size/index.js'
5
5
  export * as crossenv from './crossenv/index.js'
6
- export * as cast from './cast/index.js'
6
+ export * as dataSize from './data-size/index.js'
7
7
  export * as isNullish from './is-nullish/index.js'
8
- export * as loremIpsum from './lorem-ipsum/index.js'
8
+ export * as isConstructorFunction from './is-constructor-function/index.js'
9
9
  export * as logs from './logs/index.js'
10
+ export * as loremIpsum from './lorem-ipsum/index.js'
10
11
  export * as normalizeExtension from './normalize-extension/index.js'
11
- export * as isConstructorFunction from './is-constructor-function/index.js'
12
12
  export * as outcome from './outcome/index.js'
@@ -1,3 +1,3 @@
1
1
  export * as logger from './logger/index.js'
2
- export * as makeTextBlock from './make-text-block/index.js'
3
2
  export * as styles from './styles/index.js'
3
+ export * as makeTextBlock from './make-text-block/index.js'
@@ -1,3 +1,3 @@
1
1
  export * as logger from './logger/index.js'
2
- export * as makeTextBlock from './make-text-block/index.js'
3
2
  export * as styles from './styles/index.js'
3
+ export * as makeTextBlock from './make-text-block/index.js'
@@ -1,6 +1,6 @@
1
1
  export * as absoluteModulo from './absolute-modulo/index.js'
2
+ export * as approximateRational from './approximate-rational/index.js'
2
3
  export * as clamp from './clamp/index.js'
3
4
  export * as geometricProgressions from './geometric-progressions/index.js'
4
5
  export * as interpolate from './interpolate/index.js'
5
- export * as approximateRational from './approximate-rational/index.js'
6
6
  export * as round from './round/index.js'
@@ -1,6 +1,6 @@
1
1
  export * as absoluteModulo from './absolute-modulo/index.js'
2
+ export * as approximateRational from './approximate-rational/index.js'
2
3
  export * as clamp from './clamp/index.js'
3
4
  export * as geometricProgressions from './geometric-progressions/index.js'
4
5
  export * as interpolate from './interpolate/index.js'
5
- export * as approximateRational from './approximate-rational/index.js'
6
6
  export * as round from './round/index.js'
@@ -1,9 +1,9 @@
1
- export * as flattenGetters from './flatten-getters/index.js'
2
1
  export * as deepGetProperty from './deep-get-property/index.js'
3
2
  export * as enums from './enums/index.js'
3
+ export * as flattenGetters from './flatten-getters/index.js'
4
4
  export * as isObject from './is-object/index.js'
5
5
  export * as isRecord from './is-record/index.js'
6
- export * as sortKeys from './sort-keys/index.js'
6
+ export * as recordMap from './record-map/index.js'
7
7
  export * as recordFormat from './record-format/index.js'
8
+ export * as sortKeys from './sort-keys/index.js'
8
9
  export * as validation from './validation/index.js'
9
- export * as recordMap from './record-map/index.js'
@@ -1,9 +1,9 @@
1
- export * as flattenGetters from './flatten-getters/index.js'
2
1
  export * as deepGetProperty from './deep-get-property/index.js'
3
2
  export * as enums from './enums/index.js'
3
+ export * as flattenGetters from './flatten-getters/index.js'
4
4
  export * as isObject from './is-object/index.js'
5
5
  export * as isRecord from './is-record/index.js'
6
- export * as sortKeys from './sort-keys/index.js'
6
+ export * as recordMap from './record-map/index.js'
7
7
  export * as recordFormat from './record-format/index.js'
8
+ export * as sortKeys from './sort-keys/index.js'
8
9
  export * as validation from './validation/index.js'
9
- export * as recordMap from './record-map/index.js'
@@ -1,2 +1,2 @@
1
- export * as throttleDebounce from './throttle-debounce/index.js'
2
1
  export * as memoize from './memoize/index.js'
2
+ export * as throttleDebounce from './throttle-debounce/index.js'
@@ -1,2 +1,2 @@
1
- export * as throttleDebounce from './throttle-debounce/index.js'
2
1
  export * as memoize from './memoize/index.js'
2
+ export * as throttleDebounce from './throttle-debounce/index.js'
@@ -1,4 +1,4 @@
1
+ export * as fileName from './file-name/index.js'
1
2
  export * as html from './html/index.js'
2
3
  export * as path from './path/index.js'
3
- export * as fileName from './file-name/index.js'
4
4
  export * as userInput from './user-input/index.js'
@@ -1,4 +1,4 @@
1
+ export * as fileName from './file-name/index.js'
1
2
  export * as html from './html/index.js'
2
3
  export * as path from './path/index.js'
3
- export * as fileName from './file-name/index.js'
4
4
  export * as userInput from './user-input/index.js'
@@ -1,7 +1,7 @@
1
- export * as matches from './matches/index.js'
2
1
  export * as charCodes from './char-codes/index.js'
2
+ export * as normalizeIndent from './normalize-indent/index.js'
3
+ export * as matches from './matches/index.js'
3
4
  export * as parseTable from './parse-table/index.js'
4
5
  export * as replaceAll from './replace-all/index.js'
5
- export * as trim from './trim/index.js'
6
6
  export * as toAlphanum from './to-alphanum/index.js'
7
- export * as normalizeIndent from './normalize-indent/index.js'
7
+ export * as trim from './trim/index.js'
@@ -1,7 +1,7 @@
1
- export * as matches from './matches/index.js'
2
1
  export * as charCodes from './char-codes/index.js'
2
+ export * as normalizeIndent from './normalize-indent/index.js'
3
+ export * as matches from './matches/index.js'
3
4
  export * as parseTable from './parse-table/index.js'
4
5
  export * as replaceAll from './replace-all/index.js'
5
- export * as trim from './trim/index.js'
6
6
  export * as toAlphanum from './to-alphanum/index.js'
7
- export * as normalizeIndent from './normalize-indent/index.js'
7
+ export * as trim from './trim/index.js'
@@ -1,7 +1,18 @@
1
- import {
2
- replaceAll
3
- } from "../../../chunks/chunk-EPUHVR7J.js";
4
1
  import "../../../chunks/chunk-WSFCRVEQ.js";
2
+
3
+ // src/agnostic/strings/replace-all/index.ts
4
+ function replaceAll(input, pattern, replacer) {
5
+ console.warn("[DEPRECATED] Use String.replaceAll instead");
6
+ const found = Array.from(input.match(pattern) ?? []);
7
+ const foundReplaced = typeof replacer === "string" ? found.map(() => replacer) : found.map((e) => replacer(e));
8
+ const splitted = input.split(pattern);
9
+ const replaced = splitted.map((chunk, chunkPos) => {
10
+ const isLast = chunkPos === splitted.length - 1;
11
+ if (isLast) return [chunk];
12
+ return [chunk, foundReplaced[chunkPos] ?? ""];
13
+ }).flat().join("");
14
+ return replaced;
15
+ }
5
16
  export {
6
17
  replaceAll
7
18
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SmartTags
3
- } from "./chunk-FCABYQRX.js";
3
+ } from "./chunk-MSU7JU63.js";
4
4
  import {
5
5
  makeSuccess
6
6
  } from "./chunk-LUAYN7VJ.js";
@@ -10,7 +10,7 @@ var nullFunc = SmartTags.makeSmartTag({
10
10
  name: "null",
11
11
  defaultMode: "isolation",
12
12
  isolationInitType: "null",
13
- mainValueCheck: (i) => ({ success: true, payload: i }),
13
+ mainValueCheck: (i) => makeSuccess(i),
14
14
  argsValueCheck: (a) => makeSuccess(a),
15
15
  func: () => makeSuccess(null)
16
16
  });