@nomalism-com/types 0.49.1 → 0.49.2

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 (2) hide show
  1. package/dist/index.cjs +20 -3
  2. package/package.json +2 -3
package/dist/index.cjs CHANGED
@@ -1,8 +1,28 @@
1
+ "use strict";
1
2
  var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
2
6
  var __export = (target, all) => {
3
7
  for (var name in all)
4
8
  __defProp(target, name, { get: all[name], enumerable: true });
5
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);
19
+
20
+ // src/index.ts
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
+ default: () => index_default
24
+ });
25
+ module.exports = __toCommonJS(index_exports);
6
26
 
7
27
  // src/main.ts
8
28
  var main_exports = {};
@@ -2110,6 +2130,3 @@ var IBrokerTopic = /* @__PURE__ */ ((IBrokerTopic2) => {
2110
2130
 
2111
2131
  // src/index.ts
2112
2132
  var index_default = main_exports;
2113
- export {
2114
- index_default as default
2115
- };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nomalism-com/types",
3
3
  "description": "A nomalism package with all necessary types and validations for developing APIs",
4
- "version": "0.49.1",
4
+ "version": "0.49.2",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -22,7 +22,6 @@
22
22
  "lint": "eslint . --fix && prettier --write . --log-level warn",
23
23
  "prebuild": "rm -rf dist",
24
24
  "build": "tsc --emitDeclarationOnly && tsup",
25
- "postbuild": "cp dist/index.js dist/index.cjs",
26
25
  "prepack": "npm run lint && npm run build",
27
26
  "prepare": "husky"
28
27
  },
@@ -40,7 +39,7 @@
40
39
  "lint-staged": "^17.5.0",
41
40
  "prettier": "^3.9.6",
42
41
  "tsup": "^8.5.1",
43
- "typescript-eslint": "^8.69.0"
42
+ "typescript-eslint": "^8.70.0"
44
43
  },
45
44
  "repository": {
46
45
  "type": "git",