@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.
@@ -1,6 +1,6 @@
1
1
 
2
2
  
3
- > @lisergia/utilities@2.0.0 build
3
+ > @lisergia/utilities@4.0.0 build
4
4
  > tsup src/index.ts --format cjs,esm --dts
5
5
 
6
6
  CLI Building entry: src/index.ts
@@ -9,12 +9,12 @@
9
9
  CLI Target: node16
10
10
  CJS Build start
11
11
  ESM Build start
12
- ESM dist/index.js 4.21 KB
13
- ESM ⚡️ Build success in 16ms
14
- CJS dist/index.cjs 4.41 KB
15
- CJS ⚡️ Build success in 16ms
12
+ ESM dist/index.js 2.97 KB
13
+ ESM ⚡️ Build success in 18ms
14
+ CJS dist/index.cjs 4.10 KB
15
+ CJS ⚡️ Build success in 18ms
16
16
  DTS Build start
17
- DTS ⚡️ Build success in 1070ms
18
- DTS dist/index.d.cts 1.05 KB
19
- DTS dist/index.d.ts 1.05 KB
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
  ⠙
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @lisergia/utilities
2
2
 
3
+ ## 4.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - Update build.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+ - @lisergia/config-tsconfig@4.0.0
13
+
3
14
  ## 3.0.0
4
15
 
5
16
  ### Major Changes
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
@@ -1,5 +1,3 @@
1
- export * from 'gsap/src/SplitText';
2
-
3
1
  declare function trim(canvas: HTMLCanvasElement): HTMLCanvasElement;
4
2
  declare const CanvasUtils: {
5
3
  trim: typeof trim;
package/dist/index.d.mts CHANGED
@@ -1,5 +1,3 @@
1
- export * from 'gsap/src/SplitText';
2
-
3
1
  declare function trim(canvas: HTMLCanvasElement): HTMLCanvasElement;
4
2
  declare const CanvasUtils: {
5
3
  trim: typeof trim;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,3 @@
1
- export * from 'gsap/src/SplitText';
2
-
3
1
  declare function trim(canvas: HTMLCanvasElement): HTMLCanvasElement;
4
2
  declare const CanvasUtils: {
5
3
  trim: typeof trim;
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.0.0",
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": "3.0.0",
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
@@ -4,4 +4,3 @@ export * from './Canvas'
4
4
  export * from './Detection'
5
5
  export * from './DOM'
6
6
  export * from './Math'
7
- export * from './Text'
package/src/Text.ts DELETED
@@ -1 +0,0 @@
1
- export * from 'gsap/src/SplitText'