@lisergia/utilities 3.0.0 → 4.0.0
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.
- package/.turbo/turbo-build.log +8 -8
- package/CHANGELOG.md +11 -0
- package/dist/index.cjs +0 -8
- package/dist/index.d.cts +0 -2
- package/dist/index.d.mts +0 -2
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -36
- package/dist/index.mjs +0 -36
- package/package.json +4 -3
- package/src/index.ts +0 -1
- package/src/Text.ts +0 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> @lisergia/utilities@
|
|
3
|
+
> @lisergia/utilities@4.0.0 build
|
|
4
4
|
> tsup src/index.ts --format cjs,esm --dts
|
|
5
5
|
|
|
6
6
|
[1G[0K[34mCLI[39m Building entry: src/index.ts
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
[34mCLI[39m Target: node16
|
|
10
10
|
[34mCJS[39m Build start
|
|
11
11
|
[34mESM[39m Build start
|
|
12
|
-
[32mESM[39m [1mdist/index.js [22m[
|
|
13
|
-
[32mESM[39m ⚡️ Build success in
|
|
14
|
-
[32mCJS[39m [1mdist/index.cjs [22m[32m4.
|
|
15
|
-
[32mCJS[39m ⚡️ Build success in
|
|
12
|
+
[32mESM[39m [1mdist/index.js [22m[32m2.97 KB[39m
|
|
13
|
+
[32mESM[39m ⚡️ Build success in 18ms
|
|
14
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m4.10 KB[39m
|
|
15
|
+
[32mCJS[39m ⚡️ Build success in 18ms
|
|
16
16
|
DTS Build start
|
|
17
|
-
DTS ⚡️ Build success in
|
|
18
|
-
DTS dist/index.d.cts 1.
|
|
19
|
-
DTS dist/index.d.ts 1.
|
|
17
|
+
DTS ⚡️ Build success in 695ms
|
|
18
|
+
DTS dist/index.d.cts 1.02 KB
|
|
19
|
+
DTS dist/index.d.ts 1.02 KB
|
|
20
20
|
[1G[0K⠙[1G[0K
|
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -15,7 +15,6 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
15
15
|
}
|
|
16
16
|
return to;
|
|
17
17
|
};
|
|
18
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
19
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
19
|
|
|
21
20
|
// src/index.ts
|
|
@@ -145,13 +144,6 @@ var MathUtils = {
|
|
|
145
144
|
map,
|
|
146
145
|
random
|
|
147
146
|
};
|
|
148
|
-
|
|
149
|
-
// src/Text.ts
|
|
150
|
-
var Text_exports = {};
|
|
151
|
-
__reExport(Text_exports, require("gsap/src/SplitText"));
|
|
152
|
-
|
|
153
|
-
// src/index.ts
|
|
154
|
-
__reExport(index_exports, Text_exports, module.exports);
|
|
155
147
|
// Annotate the CommonJS export names for ESM import in node:
|
|
156
148
|
0 && (module.exports = {
|
|
157
149
|
CanvasUtils,
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,31 +1,3 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
18
|
-
|
|
19
|
-
// src/index.ts
|
|
20
|
-
var index_exports = {};
|
|
21
|
-
__export(index_exports, {
|
|
22
|
-
CanvasUtils: () => CanvasUtils,
|
|
23
|
-
DOMUtils: () => DOMUtils,
|
|
24
|
-
Detection: () => Detection,
|
|
25
|
-
DetectionManager: () => DetectionManager,
|
|
26
|
-
MathUtils: () => MathUtils
|
|
27
|
-
});
|
|
28
|
-
|
|
29
1
|
// src/Polyfill.ts
|
|
30
2
|
var HTMLElementPrototype = HTMLElement.prototype;
|
|
31
3
|
var NodeListPrototype = NodeList.prototype;
|
|
@@ -142,14 +114,6 @@ var MathUtils = {
|
|
|
142
114
|
map,
|
|
143
115
|
random
|
|
144
116
|
};
|
|
145
|
-
|
|
146
|
-
// src/Text.ts
|
|
147
|
-
var Text_exports = {};
|
|
148
|
-
__reExport(Text_exports, SplitText_star);
|
|
149
|
-
import * as SplitText_star from "gsap/src/SplitText";
|
|
150
|
-
|
|
151
|
-
// src/index.ts
|
|
152
|
-
__reExport(index_exports, Text_exports);
|
|
153
117
|
export {
|
|
154
118
|
CanvasUtils,
|
|
155
119
|
DOMUtils,
|
package/dist/index.mjs
CHANGED
|
@@ -1,31 +1,3 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
18
|
-
|
|
19
|
-
// src/index.ts
|
|
20
|
-
var index_exports = {};
|
|
21
|
-
__export(index_exports, {
|
|
22
|
-
CanvasUtils: () => CanvasUtils,
|
|
23
|
-
DOMUtils: () => DOMUtils,
|
|
24
|
-
Detection: () => Detection,
|
|
25
|
-
DetectionManager: () => DetectionManager,
|
|
26
|
-
MathUtils: () => MathUtils
|
|
27
|
-
});
|
|
28
|
-
|
|
29
1
|
// src/Polyfill.ts
|
|
30
2
|
var HTMLElementPrototype = HTMLElement.prototype;
|
|
31
3
|
var NodeListPrototype = NodeList.prototype;
|
|
@@ -142,14 +114,6 @@ var MathUtils = {
|
|
|
142
114
|
map,
|
|
143
115
|
random
|
|
144
116
|
};
|
|
145
|
-
|
|
146
|
-
// src/Text.ts
|
|
147
|
-
var Text_exports = {};
|
|
148
|
-
__reExport(Text_exports, SplitText_star);
|
|
149
|
-
import * as SplitText_star from "gsap/src/SplitText";
|
|
150
|
-
|
|
151
|
-
// src/index.ts
|
|
152
|
-
__reExport(index_exports, Text_exports);
|
|
153
117
|
export {
|
|
154
118
|
CanvasUtils,
|
|
155
119
|
DOMUtils,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lisergia/utilities",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
"dev": "tsup src/index.ts --format cjs,esm --dts --watch"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@lisergia/config-tsconfig": "
|
|
14
|
-
"gsap": "^3.13.0"
|
|
13
|
+
"@lisergia/config-tsconfig": "4.0.0",
|
|
14
|
+
"gsap": "^3.13.0",
|
|
15
|
+
"tsup": "^8.5.0"
|
|
15
16
|
}
|
|
16
17
|
}
|
package/src/index.ts
CHANGED
package/src/Text.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from 'gsap/src/SplitText'
|