@alessiofrittoli/type-utils 1.7.0 → 1.8.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/dist/index.js CHANGED
@@ -1,2 +1 @@
1
- 'use strict';//# sourceMappingURL=index.js.map
2
- //# sourceMappingURL=index.js.map
1
+ "use strict";var r=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var a=(o,e,l,p)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of x(e))!y.call(o,t)&&t!==l&&r(o,t,{get:()=>e[t],enumerable:!(p=s(e,t))||p.enumerable});return o};var b=o=>a(r({},"__esModule",{value:!0}),o);var f={};module.exports=b(f);
package/dist/index.mjs CHANGED
@@ -1,2 +0,0 @@
1
- //# sourceMappingURL=index.mjs.map
2
- //# sourceMappingURL=index.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alessiofrittoli/type-utils",
3
- "version": "1.7.0",
3
+ "version": "1.8.0",
4
4
  "description": "Lightweight TypeScript types utilities",
5
5
  "author": {
6
6
  "name": "Alessio Frittoli",
@@ -35,24 +35,25 @@
35
35
  "scripts/postinstall"
36
36
  ],
37
37
  "scripts": {
38
- "build": "pnpm lint && tsup",
39
- "build:watch": "tsup --watch",
38
+ "dev": "NODE_ENV=development tsup --watch",
39
+ "build:prod": "NODE_ENV=production tsup",
40
+ "build": "pnpm lint && pnpm build:prod",
40
41
  "lint": "eslint",
41
42
  "release": "node scripts/publish.js --verbose --npm",
42
43
  "postinstall": "node scripts/postinstall/index.js"
43
44
  },
44
45
  "devDependencies": {
45
- "@eslint/js": "^9.22.0",
46
- "@types/node": "^22.13.11",
47
- "eslint": "^9.22.0",
46
+ "@eslint/js": "^9.25.1",
47
+ "@types/node": "^22.15.3",
48
+ "eslint": "^9.25.1",
48
49
  "globals": "^16.0.0",
49
50
  "tsup": "^8.4.0",
50
- "typescript": "^5.8.2",
51
- "typescript-eslint": "^8.27.0"
51
+ "typescript": "^5.8.3",
52
+ "typescript-eslint": "^8.31.1"
52
53
  },
53
54
  "dependencies": {
54
- "@alessiofrittoli/chain-functions": "^2.2.0",
55
- "@alessiofrittoli/node-scripts": "2.4.0"
55
+ "@alessiofrittoli/chain-functions": "^2.3.0",
56
+ "@alessiofrittoli/node-scripts": "2.5.0"
56
57
  },
57
58
  "pnpm": {
58
59
  "onlyBuiltDependencies": [
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}