@design-edito/tools 0.2.2 → 0.2.3

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 (127) hide show
  1. package/agnostic/arrays/index.js +2 -2
  2. package/agnostic/colors/index.js +10 -10
  3. package/agnostic/colors/lighten-color/index.js +2 -2
  4. package/agnostic/colors/saturate-color/index.js +2 -2
  5. package/agnostic/css/bem/index.js +2 -2
  6. package/agnostic/css/index.js +3 -3
  7. package/agnostic/html/hyper-json/cast/index.js +5 -5
  8. package/agnostic/html/hyper-json/index.js +6 -6
  9. package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +5 -5
  10. package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +5 -5
  11. package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +5 -5
  12. package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +5 -5
  13. package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +5 -5
  14. package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +5 -5
  15. package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +5 -5
  16. package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +5 -5
  17. package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +5 -5
  18. package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +5 -5
  19. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +5 -5
  20. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +5 -5
  21. package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +5 -5
  22. package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +5 -5
  23. package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +5 -5
  24. package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +5 -5
  25. package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +5 -5
  26. package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +5 -5
  27. package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +5 -5
  28. package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +5 -5
  29. package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +5 -5
  30. package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +5 -5
  31. package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +5 -5
  32. package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +5 -5
  33. package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +5 -5
  34. package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +5 -5
  35. package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +5 -5
  36. package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +5 -5
  37. package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +5 -5
  38. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +5 -5
  39. package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +5 -5
  40. package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +5 -5
  41. package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +5 -5
  42. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +5 -5
  43. package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +5 -5
  44. package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +5 -5
  45. package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +5 -5
  46. package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +5 -5
  47. package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +5 -5
  48. package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +5 -5
  49. package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +5 -5
  50. package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +5 -5
  51. package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +5 -5
  52. package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +5 -5
  53. package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +5 -5
  54. package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +5 -5
  55. package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +5 -5
  56. package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +5 -5
  57. package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +5 -5
  58. package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +5 -5
  59. package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +5 -5
  60. package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +5 -5
  61. package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +5 -5
  62. package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +5 -5
  63. package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +5 -5
  64. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +5 -5
  65. package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +5 -5
  66. package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +5 -5
  67. package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +5 -5
  68. package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +5 -5
  69. package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +5 -5
  70. package/agnostic/html/hyper-json/tree/index.js +5 -5
  71. package/agnostic/html/hyper-json/utils/index.js +5 -5
  72. package/agnostic/html/index.js +6 -6
  73. package/agnostic/misc/index.js +19 -19
  74. package/agnostic/misc/logs/index.js +2 -2
  75. package/agnostic/misc/lorem-ipsum/index.js +7 -7
  76. package/agnostic/numbers/index.js +8 -8
  77. package/agnostic/objects/index.js +15 -15
  78. package/agnostic/optim/index.js +3 -3
  79. package/agnostic/strings/index.js +7 -7
  80. package/agnostic/time/index.js +4 -4
  81. package/chunks/{chunk-FEIU5EB2.js → chunk-ALRRTVAV.js} +11 -11
  82. package/chunks/chunk-AQOBWV4U.js +232 -0
  83. package/chunks/{chunk-TY6PMUBC.js → chunk-BXHICIJO.js} +5 -5
  84. package/chunks/{chunk-TLX7ZDXI.js → chunk-SO7OVQK2.js} +2 -2
  85. package/chunks/{chunk-VQUF2TSY.js → chunk-VSCF32XO.js} +3 -3
  86. package/chunks/{chunk-4W7NAQMC.js → chunk-XLL7WERQ.js} +1 -1
  87. package/node/@aws-s3/index.js +8 -8
  88. package/node/@aws-s3/storage/directory/index.js +7 -7
  89. package/node/@aws-s3/storage/file/index.js +6 -6
  90. package/node/@aws-s3/storage/index.js +8 -8
  91. package/node/@google-cloud/index.js +12 -12
  92. package/node/@google-cloud/storage/bucket/index.js +5 -5
  93. package/node/@google-cloud/storage/directory/index.js +7 -7
  94. package/node/@google-cloud/storage/file/index.js +12 -12
  95. package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +2 -2
  96. package/node/@google-cloud/storage/index.js +16 -16
  97. package/node/cloud-storage/index.js +27 -27
  98. package/node/cloud-storage/operations/index.js +36 -36
  99. package/node/encryption/index.js +3 -3
  100. package/node/files/index.js +3 -3
  101. package/node/ftps/directory/index.js +7 -7
  102. package/node/ftps/file/index.js +6 -6
  103. package/node/ftps/index.js +7 -7
  104. package/node/images/index.js +8 -7
  105. package/node/images/transform/index.d.ts +19 -2
  106. package/node/images/transform/index.js +10 -7
  107. package/node/sftp/directory/index.js +7 -7
  108. package/node/sftp/file/index.js +6 -6
  109. package/node/sftp/index.js +7 -7
  110. package/package.json +1 -1
  111. package/chunks/chunk-B6AUVPAA.js +0 -181
  112. package/chunks/{chunk-AIC5YAJU.js → chunk-4HPG6TEE.js} +6 -6
  113. package/chunks/{chunk-ENCASRD5.js → chunk-4PISR74R.js} +5 -5
  114. package/chunks/{chunk-64TRCQ5C.js → chunk-BGMAL4RK.js} +5 -5
  115. package/chunks/{chunk-LSZVKXDZ.js → chunk-G5RRNREY.js} +3 -3
  116. package/chunks/{chunk-4OK2UH4M.js → chunk-G6C3VTOA.js} +6 -6
  117. package/chunks/{chunk-PGT5NXPS.js → chunk-GVGW5ZR6.js} +10 -10
  118. package/chunks/{chunk-74CFPDKM.js → chunk-IGFA7IDA.js} +6 -6
  119. package/chunks/{chunk-KOHJNRP7.js → chunk-JL6A5SAJ.js} +5 -5
  120. package/chunks/{chunk-7YW5HL6N.js → chunk-KIONYWA7.js} +3 -3
  121. package/chunks/{chunk-7KSMK42F.js → chunk-LE23WL3C.js} +6 -6
  122. package/chunks/{chunk-PXRLKO5Y.js → chunk-MB7HWF22.js} +3 -3
  123. package/chunks/{chunk-UXEKCYL7.js → chunk-OMTDHKJI.js} +4 -4
  124. package/chunks/{chunk-3LAWRHHB.js → chunk-U57Q62IN.js} +3 -3
  125. package/chunks/{chunk-PENYZ6S7.js → chunk-V3PGGLMH.js} +3 -3
  126. package/chunks/{chunk-HN7XLETR.js → chunk-WSKUUPV4.js} +14 -14
  127. package/chunks/{chunk-MJQF3YZO.js → chunk-X7KWB2VQ.js} +3 -3
@@ -1,28 +1,31 @@
1
1
  import {
2
2
  OpName,
3
+ TransformErrCodes,
3
4
  isOperationDescriptor,
4
5
  transform
5
- } from "../../../chunks/chunk-B6AUVPAA.js";
6
+ } from "../../../chunks/chunk-AQOBWV4U.js";
7
+ import "../../../chunks/chunk-IFH5LQHA.js";
6
8
  import "../../../chunks/chunk-DJJBT23A.js";
7
- import "../../../chunks/chunk-OVLFK3C3.js";
8
9
  import "../../../chunks/chunk-LIV7TJ46.js";
9
10
  import "../../../chunks/chunk-BHEWHO2M.js";
10
11
  import "../../../chunks/chunk-DL5G2SYX.js";
11
- import "../../../chunks/chunk-5OZAL6GW.js";
12
12
  import "../../../chunks/chunk-DOASQI7Y.js";
13
- import "../../../chunks/chunk-GZDDL6RB.js";
13
+ import "../../../chunks/chunk-5OZAL6GW.js";
14
14
  import "../../../chunks/chunk-5D472NLE.js";
15
+ import "../../../chunks/chunk-OVLFK3C3.js";
15
16
  import "../../../chunks/chunk-5EY3BYMT.js";
16
- import "../../../chunks/chunk-CLZY2DXU.js";
17
- import "../../../chunks/chunk-4UV3XIGE.js";
18
17
  import "../../../chunks/chunk-WNDMYNDU.js";
18
+ import "../../../chunks/chunk-GZDDL6RB.js";
19
19
  import "../../../chunks/chunk-YA2YCZUF.js";
20
- import "../../../chunks/chunk-IFH5LQHA.js";
20
+ import "../../../chunks/chunk-CLZY2DXU.js";
21
+ import "../../../chunks/chunk-4UV3XIGE.js";
21
22
  import "../../../chunks/chunk-OT4SVHDX.js";
22
23
  import "../../../chunks/chunk-JMU5PDBD.js";
24
+ import "../../../chunks/chunk-FENXVJYO.js";
23
25
  import "../../../chunks/chunk-WSFCRVEQ.js";
24
26
  export {
25
27
  OpName,
28
+ TransformErrCodes,
26
29
  isOperationDescriptor,
27
30
  transform
28
31
  };
@@ -1,16 +1,16 @@
1
- import "../../../chunks/chunk-74CFPDKM.js";
1
+ import "../../../chunks/chunk-IGFA7IDA.js";
2
+ import {
3
+ move_dir_exports
4
+ } from "../../../chunks/chunk-RWO53U4X.js";
5
+ import {
6
+ list_exports
7
+ } from "../../../chunks/chunk-UK2F7CWI.js";
2
8
  import {
3
9
  remove_dir_exports
4
10
  } from "../../../chunks/chunk-5ZJ3KJPK.js";
5
11
  import {
6
12
  copy_dir_exports
7
13
  } from "../../../chunks/chunk-WAHPAZQS.js";
8
- import {
9
- list_exports
10
- } from "../../../chunks/chunk-UK2F7CWI.js";
11
- import {
12
- move_dir_exports
13
- } from "../../../chunks/chunk-RWO53U4X.js";
14
14
  import "../../../chunks/chunk-JMU5PDBD.js";
15
15
  import "../../../chunks/chunk-FENXVJYO.js";
16
16
  import "../../../chunks/chunk-WSFCRVEQ.js";
@@ -1,10 +1,13 @@
1
- import "../../../chunks/chunk-KOHJNRP7.js";
1
+ import "../../../chunks/chunk-JL6A5SAJ.js";
2
2
  import {
3
- stat_exports
4
- } from "../../../chunks/chunk-TGVYEQIA.js";
3
+ remove_exports
4
+ } from "../../../chunks/chunk-ANPXBD2G.js";
5
5
  import {
6
6
  upload_exports
7
7
  } from "../../../chunks/chunk-QDVDHFMZ.js";
8
+ import {
9
+ stat_exports
10
+ } from "../../../chunks/chunk-TGVYEQIA.js";
8
11
  import {
9
12
  copy_exports
10
13
  } from "../../../chunks/chunk-QH64MYGA.js";
@@ -17,9 +20,6 @@ import {
17
20
  import {
18
21
  move_exports
19
22
  } from "../../../chunks/chunk-FE4DECBU.js";
20
- import {
21
- remove_exports
22
- } from "../../../chunks/chunk-ANPXBD2G.js";
23
23
  import "../../../chunks/chunk-JMU5PDBD.js";
24
24
  import "../../../chunks/chunk-FENXVJYO.js";
25
25
  import "../../../chunks/chunk-WSFCRVEQ.js";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  file_exports
3
- } from "../../chunks/chunk-KOHJNRP7.js";
3
+ } from "../../chunks/chunk-JL6A5SAJ.js";
4
4
  import {
5
5
  directory_exports
6
- } from "../../chunks/chunk-74CFPDKM.js";
7
- import "../../chunks/chunk-TGVYEQIA.js";
6
+ } from "../../chunks/chunk-IGFA7IDA.js";
7
+ import "../../chunks/chunk-RWO53U4X.js";
8
+ import "../../chunks/chunk-ANPXBD2G.js";
9
+ import "../../chunks/chunk-UK2F7CWI.js";
8
10
  import "../../chunks/chunk-QDVDHFMZ.js";
11
+ import "../../chunks/chunk-TGVYEQIA.js";
9
12
  import "../../chunks/chunk-5ZJ3KJPK.js";
10
- import "../../chunks/chunk-WAHPAZQS.js";
11
13
  import "../../chunks/chunk-QH64MYGA.js";
14
+ import "../../chunks/chunk-WAHPAZQS.js";
12
15
  import "../../chunks/chunk-QVPS2BCJ.js";
13
16
  import "../../chunks/chunk-HWEGQVBQ.js";
14
- import "../../chunks/chunk-UK2F7CWI.js";
15
- import "../../chunks/chunk-RWO53U4X.js";
16
17
  import "../../chunks/chunk-FE4DECBU.js";
17
- import "../../chunks/chunk-ANPXBD2G.js";
18
18
  import "../../chunks/chunk-JMU5PDBD.js";
19
19
  import "../../chunks/chunk-FENXVJYO.js";
20
20
  import "../../chunks/chunk-WSFCRVEQ.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@design-edito/tools",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "",
5
5
  "author": "Maxime Fabas",
6
6
  "license": "ISC",
@@ -1,181 +0,0 @@
1
- import {
2
- hue,
3
- isHueOperationParams
4
- } from "./chunk-DJJBT23A.js";
5
- import {
6
- extract,
7
- isExtractOperationParams
8
- } from "./chunk-OVLFK3C3.js";
9
- import {
10
- isLightenOperationParams,
11
- lighten
12
- } from "./chunk-LIV7TJ46.js";
13
- import {
14
- isNormalizeOperationParams,
15
- normalize
16
- } from "./chunk-BHEWHO2M.js";
17
- import {
18
- isResizeOperationParams,
19
- resize
20
- } from "./chunk-DL5G2SYX.js";
21
- import {
22
- isRotateOperationParams,
23
- rotate
24
- } from "./chunk-5OZAL6GW.js";
25
- import {
26
- isSaturateOperationParams,
27
- saturate
28
- } from "./chunk-DOASQI7Y.js";
29
- import {
30
- brighten,
31
- isBrightenOperationParams
32
- } from "./chunk-GZDDL6RB.js";
33
- import {
34
- blur,
35
- isBlurOperationParams
36
- } from "./chunk-5D472NLE.js";
37
- import {
38
- extend,
39
- isExtendOperationParams
40
- } from "./chunk-5EY3BYMT.js";
41
- import {
42
- flatten,
43
- isFlattenOperationParams
44
- } from "./chunk-CLZY2DXU.js";
45
- import {
46
- flip
47
- } from "./chunk-WNDMYNDU.js";
48
- import {
49
- flop
50
- } from "./chunk-YA2YCZUF.js";
51
- import {
52
- isLevelOperationParams,
53
- level
54
- } from "./chunk-IFH5LQHA.js";
55
- import {
56
- Outcome
57
- } from "./chunk-JMU5PDBD.js";
58
- import {
59
- __export
60
- } from "./chunk-WSFCRVEQ.js";
61
-
62
- // src/node/images/transform/index.ts
63
- var transform_exports = {};
64
- __export(transform_exports, {
65
- OpName: () => OpName,
66
- isOperationDescriptor: () => isOperationDescriptor,
67
- transform: () => transform
68
- });
69
- import sharp from "sharp";
70
- var OpName = /* @__PURE__ */ ((OpName2) => {
71
- OpName2["BLUR"] = "blur";
72
- OpName2["BRIGHTEN"] = "brighten";
73
- OpName2["EXTEND"] = "extend";
74
- OpName2["EXTRACT"] = "extract";
75
- OpName2["FLATTEN"] = "flatten";
76
- OpName2["FLIP"] = "flip";
77
- OpName2["FLOP"] = "flop";
78
- OpName2["HUE"] = "hue";
79
- OpName2["LEVEL"] = "level";
80
- OpName2["LIGHTEN"] = "lighten";
81
- OpName2["NORMALIZE"] = "normalize";
82
- OpName2["RESIZE"] = "resize";
83
- OpName2["ROTATE"] = "rotate";
84
- OpName2["SATURATE"] = "saturate";
85
- return OpName2;
86
- })(OpName || {});
87
- function isOperationDescriptor(obj) {
88
- if (typeof obj !== "object" || obj === null) return Outcome.makeFailure("Invalid operation descriptor");
89
- if (!("name" in obj) || typeof obj.name !== "string") return Outcome.makeFailure("Field named 'name' in operation descriptor is required and must be a string");
90
- const name = obj.name;
91
- const validateOperation = (validatorFn) => {
92
- const result = validatorFn(obj);
93
- if (result.success) return Outcome.makeSuccess({ name: obj.name, ...result.payload });
94
- return Outcome.makeFailure(result.error);
95
- };
96
- const validators = {
97
- ["blur" /* BLUR */]: isBlurOperationParams,
98
- ["brighten" /* BRIGHTEN */]: isBrightenOperationParams,
99
- ["extend" /* EXTEND */]: isExtendOperationParams,
100
- ["extract" /* EXTRACT */]: isExtractOperationParams,
101
- ["flatten" /* FLATTEN */]: isFlattenOperationParams,
102
- ["hue" /* HUE */]: isHueOperationParams,
103
- ["level" /* LEVEL */]: isLevelOperationParams,
104
- ["lighten" /* LIGHTEN */]: isLightenOperationParams,
105
- ["normalize" /* NORMALIZE */]: isNormalizeOperationParams,
106
- ["resize" /* RESIZE */]: isResizeOperationParams,
107
- ["rotate" /* ROTATE */]: isRotateOperationParams,
108
- ["saturate" /* SATURATE */]: isSaturateOperationParams
109
- };
110
- const simpleOperations = /* @__PURE__ */ new Set(["flip" /* FLIP */, "flop" /* FLOP */]);
111
- if (simpleOperations.has(name)) return Outcome.makeSuccess({ name });
112
- const validator = validators[name];
113
- if (validator) return validateOperation(validator);
114
- return Outcome.makeFailure("Invalid operation descriptor");
115
- }
116
- async function transform(input, operationsSequence) {
117
- if (Buffer.isBuffer(input)) return transformBuffer(input, operationsSequence);
118
- return transformSharpInstance(input, operationsSequence);
119
- }
120
- async function transformSharpInstance(sharpInstance, operationsSequence) {
121
- for (const operation of operationsSequence) {
122
- switch (operation.name) {
123
- case "blur" /* BLUR */:
124
- sharpInstance = await blur(sharpInstance, operation);
125
- break;
126
- case "brighten" /* BRIGHTEN */:
127
- sharpInstance = await brighten(sharpInstance, operation);
128
- break;
129
- case "extend" /* EXTEND */:
130
- sharpInstance = await extend(sharpInstance, operation);
131
- break;
132
- case "extract" /* EXTRACT */:
133
- sharpInstance = await extract(sharpInstance, operation);
134
- break;
135
- case "flatten" /* FLATTEN */:
136
- sharpInstance = await flatten(sharpInstance, operation);
137
- break;
138
- case "flip" /* FLIP */:
139
- sharpInstance = await flip(sharpInstance);
140
- break;
141
- case "flop" /* FLOP */:
142
- sharpInstance = await flop(sharpInstance);
143
- break;
144
- case "hue" /* HUE */:
145
- sharpInstance = await hue(sharpInstance, operation);
146
- break;
147
- case "level" /* LEVEL */:
148
- sharpInstance = await level(sharpInstance, operation);
149
- break;
150
- case "lighten" /* LIGHTEN */:
151
- sharpInstance = await lighten(sharpInstance, operation);
152
- break;
153
- case "normalize" /* NORMALIZE */:
154
- sharpInstance = await normalize(sharpInstance, operation);
155
- break;
156
- case "resize" /* RESIZE */:
157
- sharpInstance = await resize(sharpInstance, operation);
158
- break;
159
- case "rotate" /* ROTATE */:
160
- sharpInstance = await rotate(sharpInstance, operation);
161
- break;
162
- case "saturate" /* SATURATE */:
163
- sharpInstance = await saturate(sharpInstance, operation);
164
- break;
165
- default:
166
- sharpInstance = sharpInstance;
167
- }
168
- }
169
- return sharpInstance;
170
- }
171
- async function transformBuffer(fileBuffer, operationsSequence) {
172
- const sharpInstance = sharp(fileBuffer);
173
- return transformSharpInstance(sharpInstance, operationsSequence);
174
- }
175
-
176
- export {
177
- OpName,
178
- isOperationDescriptor,
179
- transform,
180
- transform_exports
181
- };
@@ -1,15 +1,15 @@
1
+ import {
2
+ move_dir_exports
3
+ } from "./chunk-BWYH445G.js";
4
+ import {
5
+ list_exports
6
+ } from "./chunk-37TRFYZT.js";
1
7
  import {
2
8
  remove_dir_exports
3
9
  } from "./chunk-QLDN574K.js";
4
10
  import {
5
11
  copy_dir_exports
6
12
  } from "./chunk-V3L55I2S.js";
7
- import {
8
- list_exports
9
- } from "./chunk-37TRFYZT.js";
10
- import {
11
- move_dir_exports
12
- } from "./chunk-BWYH445G.js";
13
13
  import {
14
14
  __export
15
15
  } from "./chunk-WSFCRVEQ.js";
@@ -1,9 +1,12 @@
1
1
  import {
2
- stat_exports
3
- } from "./chunk-VROZGPC5.js";
2
+ remove_exports
3
+ } from "./chunk-3TKBCG7Y.js";
4
4
  import {
5
5
  upload_exports
6
6
  } from "./chunk-FD5WR2A5.js";
7
+ import {
8
+ stat_exports
9
+ } from "./chunk-VROZGPC5.js";
7
10
  import {
8
11
  copy_exports
9
12
  } from "./chunk-C6QTHDDM.js";
@@ -16,9 +19,6 @@ import {
16
19
  import {
17
20
  move_exports
18
21
  } from "./chunk-QWZ4ZNFA.js";
19
- import {
20
- remove_exports
21
- } from "./chunk-3TKBCG7Y.js";
22
22
  import {
23
23
  __export
24
24
  } from "./chunk-WSFCRVEQ.js";
@@ -1,9 +1,12 @@
1
1
  import {
2
- stat_exports
3
- } from "./chunk-CNYSX2L2.js";
2
+ remove_exports
3
+ } from "./chunk-KJAEVOIW.js";
4
4
  import {
5
5
  upload_exports
6
6
  } from "./chunk-CVDCTI7F.js";
7
+ import {
8
+ stat_exports
9
+ } from "./chunk-CNYSX2L2.js";
7
10
  import {
8
11
  copy_exports
9
12
  } from "./chunk-NMYVJJXV.js";
@@ -16,9 +19,6 @@ import {
16
19
  import {
17
20
  move_exports
18
21
  } from "./chunk-HRNDUTZE.js";
19
- import {
20
- remove_exports
21
- } from "./chunk-KJAEVOIW.js";
22
22
  import {
23
23
  __export
24
24
  } from "./chunk-WSFCRVEQ.js";
@@ -1,12 +1,12 @@
1
+ import {
2
+ remove
3
+ } from "./chunk-7J7CYOXU.js";
1
4
  import {
2
5
  upload
3
6
  } from "./chunk-FB3GNE2B.js";
4
7
  import {
5
8
  download
6
9
  } from "./chunk-2JH4TCT2.js";
7
- import {
8
- remove
9
- } from "./chunk-7J7CYOXU.js";
10
10
  import {
11
11
  Outcome
12
12
  } from "./chunk-JMU5PDBD.js";
@@ -1,15 +1,15 @@
1
+ import {
2
+ move_dir_exports
3
+ } from "./chunk-ON6LC3HE.js";
4
+ import {
5
+ list_exports
6
+ } from "./chunk-ZSUG52DO.js";
1
7
  import {
2
8
  remove_dir_exports
3
9
  } from "./chunk-4XSDRT23.js";
4
10
  import {
5
11
  copy_dir_exports
6
12
  } from "./chunk-4XBUJAQU.js";
7
- import {
8
- list_exports
9
- } from "./chunk-ZSUG52DO.js";
10
- import {
11
- move_dir_exports
12
- } from "./chunk-ON6LC3HE.js";
13
13
  import {
14
14
  __export
15
15
  } from "./chunk-WSFCRVEQ.js";
@@ -26,8 +26,14 @@ import {
26
26
  insertNode
27
27
  } from "./chunk-XA4HVHJ4.js";
28
28
  import {
29
- Outcome
30
- } from "./chunk-JMU5PDBD.js";
29
+ isInEnum
30
+ } from "./chunk-E6MSDKON.js";
31
+ import {
32
+ isRecord
33
+ } from "./chunk-YDIBNEGA.js";
34
+ import {
35
+ recordMap
36
+ } from "./chunk-XNF5MLCQ.js";
31
37
  import {
32
38
  replaceAll
33
39
  } from "./chunk-ZTDVUXPR.js";
@@ -36,14 +42,8 @@ import {
36
42
  trimStart
37
43
  } from "./chunk-6XL25OZX.js";
38
44
  import {
39
- isRecord
40
- } from "./chunk-YDIBNEGA.js";
41
- import {
42
- recordMap
43
- } from "./chunk-XNF5MLCQ.js";
44
- import {
45
- isInEnum
46
- } from "./chunk-E6MSDKON.js";
45
+ Outcome
46
+ } from "./chunk-JMU5PDBD.js";
47
47
  import {
48
48
  Window
49
49
  } from "./chunk-RLJOYG64.js";
@@ -1,15 +1,15 @@
1
+ import {
2
+ move_dir_exports
3
+ } from "./chunk-RWO53U4X.js";
4
+ import {
5
+ list_exports
6
+ } from "./chunk-UK2F7CWI.js";
1
7
  import {
2
8
  remove_dir_exports
3
9
  } from "./chunk-5ZJ3KJPK.js";
4
10
  import {
5
11
  copy_dir_exports
6
12
  } from "./chunk-WAHPAZQS.js";
7
- import {
8
- list_exports
9
- } from "./chunk-UK2F7CWI.js";
10
- import {
11
- move_dir_exports
12
- } from "./chunk-RWO53U4X.js";
13
13
  import {
14
14
  __export
15
15
  } from "./chunk-WSFCRVEQ.js";
@@ -1,9 +1,12 @@
1
1
  import {
2
- stat_exports
3
- } from "./chunk-TGVYEQIA.js";
2
+ remove_exports
3
+ } from "./chunk-ANPXBD2G.js";
4
4
  import {
5
5
  upload_exports
6
6
  } from "./chunk-QDVDHFMZ.js";
7
+ import {
8
+ stat_exports
9
+ } from "./chunk-TGVYEQIA.js";
7
10
  import {
8
11
  copy_exports
9
12
  } from "./chunk-QH64MYGA.js";
@@ -16,9 +19,6 @@ import {
16
19
  import {
17
20
  move_exports
18
21
  } from "./chunk-FE4DECBU.js";
19
- import {
20
- remove_exports
21
- } from "./chunk-ANPXBD2G.js";
22
22
  import {
23
23
  __export
24
24
  } from "./chunk-WSFCRVEQ.js";
@@ -1,9 +1,9 @@
1
- import {
2
- isFalsy
3
- } from "./chunk-QXAJXTXV.js";
4
1
  import {
5
2
  isValidClassName
6
3
  } from "./chunk-W5A2TON3.js";
4
+ import {
5
+ isFalsy
6
+ } from "./chunk-QXAJXTXV.js";
7
7
 
8
8
  // src/agnostic/css/bem/getNamesArr.ts
9
9
  function getNamesArr(arg) {
@@ -1,15 +1,15 @@
1
+ import {
2
+ move_dir_exports
3
+ } from "./chunk-BE7OXZRK.js";
4
+ import {
5
+ list_exports
6
+ } from "./chunk-3CLGBOHN.js";
1
7
  import {
2
8
  remove_dir_exports
3
9
  } from "./chunk-BSUQNHAM.js";
4
10
  import {
5
11
  copy_dir_exports
6
12
  } from "./chunk-N2T672IG.js";
7
- import {
8
- list_exports
9
- } from "./chunk-3CLGBOHN.js";
10
- import {
11
- move_dir_exports
12
- } from "./chunk-BE7OXZRK.js";
13
13
  import {
14
14
  __export
15
15
  } from "./chunk-WSFCRVEQ.js";
@@ -1,9 +1,9 @@
1
- import {
2
- RGBToHSL
3
- } from "./chunk-YVLJKJV2.js";
4
1
  import {
5
2
  HSLToRGB
6
3
  } from "./chunk-QLC3A6PC.js";
4
+ import {
5
+ RGBToHSL
6
+ } from "./chunk-YVLJKJV2.js";
7
7
 
8
8
  // src/agnostic/colors/saturate-color/index.ts
9
9
  function saturateColor(color, intensity = 20) {
@@ -2,14 +2,14 @@ import {
2
2
  get_metadata_exports
3
3
  } from "./chunk-ZNA7SWFK.js";
4
4
  import {
5
- remove_dir_exports
6
- } from "./chunk-QLDN574K.js";
5
+ move_dir_exports
6
+ } from "./chunk-BWYH445G.js";
7
7
  import {
8
8
  list_exports
9
9
  } from "./chunk-37TRFYZT.js";
10
10
  import {
11
- move_dir_exports
12
- } from "./chunk-BWYH445G.js";
11
+ remove_dir_exports
12
+ } from "./chunk-QLDN574K.js";
13
13
  import {
14
14
  __export
15
15
  } from "./chunk-WSFCRVEQ.js";
@@ -1,9 +1,9 @@
1
- import {
2
- RGBToHSL
3
- } from "./chunk-YVLJKJV2.js";
4
1
  import {
5
2
  HSLToRGB
6
3
  } from "./chunk-QLC3A6PC.js";
4
+ import {
5
+ RGBToHSL
6
+ } from "./chunk-YVLJKJV2.js";
7
7
 
8
8
  // src/agnostic/colors/lighten-color/index.ts
9
9
  function lightenColor(color, intensity = 20) {
@@ -4,12 +4,12 @@ import {
4
4
  import {
5
5
  findDuplicates
6
6
  } from "./chunk-YS6WMSWC.js";
7
- import {
8
- isArrayOf
9
- } from "./chunk-6RGDWX4A.js";
10
7
  import {
11
8
  make
12
9
  } from "./chunk-RLAZR3NL.js";
10
+ import {
11
+ isArrayOf
12
+ } from "./chunk-6RGDWX4A.js";
13
13
  import {
14
14
  randomPick,
15
15
  randomPickMany
@@ -1,36 +1,36 @@
1
1
  import {
2
- stat_file_exports
3
- } from "./chunk-VRFYLKZW.js";
2
+ move_dir_exports
3
+ } from "./chunk-NAN5WRTL.js";
4
+ import {
5
+ remove_file_exports
6
+ } from "./chunk-RCCKFZCR.js";
7
+ import {
8
+ list_dir_exports
9
+ } from "./chunk-WWEDO42X.js";
4
10
  import {
5
11
  upload_file_exports
6
12
  } from "./chunk-3T67XKWX.js";
13
+ import {
14
+ stat_file_exports
15
+ } from "./chunk-VRFYLKZW.js";
7
16
  import {
8
17
  remove_dir_exports
9
18
  } from "./chunk-QT6N2QNW.js";
10
- import {
11
- copy_dir_exports
12
- } from "./chunk-GJGGDURA.js";
13
19
  import {
14
20
  copy_file_exports
15
21
  } from "./chunk-JVFAQFHD.js";
22
+ import {
23
+ copy_dir_exports
24
+ } from "./chunk-GJGGDURA.js";
16
25
  import {
17
26
  exists_file_exports
18
27
  } from "./chunk-MJCOPMAD.js";
19
28
  import {
20
29
  download_file_exports
21
30
  } from "./chunk-VTZRFTRR.js";
22
- import {
23
- list_dir_exports
24
- } from "./chunk-WWEDO42X.js";
25
- import {
26
- move_dir_exports
27
- } from "./chunk-NAN5WRTL.js";
28
31
  import {
29
32
  move_file_exports
30
33
  } from "./chunk-UWHQFQI2.js";
31
- import {
32
- remove_file_exports
33
- } from "./chunk-RCCKFZCR.js";
34
34
  import {
35
35
  __export
36
36
  } from "./chunk-WSFCRVEQ.js";
@@ -1,12 +1,12 @@
1
- import {
2
- Logger
3
- } from "./chunk-RASMASS4.js";
4
1
  import {
5
2
  styles
6
3
  } from "./chunk-L3OCRR3V.js";
7
4
  import {
8
5
  makeTextBlock
9
6
  } from "./chunk-H4PP6AHP.js";
7
+ import {
8
+ Logger
9
+ } from "./chunk-RASMASS4.js";
10
10
 
11
11
  // src/agnostic/misc/logs/index.ts
12
12
  var Logs;