@ls-stack/utils 3.2.4 → 3.2.6

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/dist/main.cjs CHANGED
@@ -1,4 +1,32 @@
1
1
  "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
2
19
 
3
20
  // src/main.ts
4
- throw new Error("do not use this file");
21
+ var main_exports = {};
22
+ __export(main_exports, {
23
+ _doNotUseThis: () => _doNotUseThis
24
+ });
25
+ module.exports = __toCommonJS(main_exports);
26
+ var _doNotUseThis = () => {
27
+ throw new Error("do not use this file");
28
+ };
29
+ // Annotate the CommonJS export names for ESM import in node:
30
+ 0 && (module.exports = {
31
+ _doNotUseThis
32
+ });
package/dist/main.d.cts CHANGED
@@ -1,2 +1,3 @@
1
+ declare const _doNotUseThis: () => never;
1
2
 
2
- export { }
3
+ export { _doNotUseThis };
package/dist/main.d.ts CHANGED
@@ -1,2 +1,3 @@
1
+ declare const _doNotUseThis: () => never;
1
2
 
2
- export { }
3
+ export { _doNotUseThis };
package/dist/main.js CHANGED
@@ -1,2 +1,7 @@
1
1
  // src/main.ts
2
- throw new Error("do not use this file");
2
+ var _doNotUseThis = () => {
3
+ throw new Error("do not use this file");
4
+ };
5
+ export {
6
+ _doNotUseThis
7
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ls-stack/utils",
3
3
  "description": "Typescript utils",
4
- "version": "3.2.4",
4
+ "version": "3.2.6",
5
5
  "license": "MIT",
6
6
  "files": [
7
7
  "dist"
@@ -10,6 +10,7 @@
10
10
  "author": "Lucas Santos",
11
11
  "type": "module",
12
12
  "sideEffects": false,
13
+ "main": "./dist/main.cjs",
13
14
  "module": "./dist/main.js",
14
15
  "exports": {
15
16
  ".": {