@alessiofrittoli/crypto-cipher 2.2.0 → 3.0.0-alpha.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alessiofrittoli/crypto-cipher",
3
- "version": "2.2.0",
3
+ "version": "3.0.0-alpha.2",
4
4
  "description": "Node.js Cipher cryptograph utility library",
5
5
  "author": {
6
6
  "name": "Alessio Frittoli",
@@ -40,14 +40,22 @@
40
40
  ],
41
41
  "exports": {
42
42
  ".": {
43
- "types": "./dist/index.d.ts",
44
- "import": "./dist/index.mjs",
45
- "require": "./dist/index.js"
43
+ "import": {
44
+ "types": "./dist/index.d.mts",
45
+ "default": "./dist/index.mjs"
46
+ },
47
+ "require": {
48
+ "types": "./dist/index.d.ts",
49
+ "default": "./dist/index.js"
50
+ }
46
51
  },
47
52
  "./types": {
48
- "types": "./dist/types.d.ts",
49
- "import": "./dist/types.mjs",
50
- "require": "./dist/types.js"
53
+ "import": {
54
+ "types": "./dist/types.d.mts"
55
+ },
56
+ "require": {
57
+ "types": "./dist/types.d.ts"
58
+ }
51
59
  }
52
60
  },
53
61
  "sideEffects": false,
@@ -55,11 +63,11 @@
55
63
  "//1a": "*********************************************************************",
56
64
  "//1b": "******************** DEV - BUILD - LINT - RELEASE *******************",
57
65
  "//1c": "*********************************************************************",
58
- "dev": "NODE_ENV=development tsup --watch",
59
- "build:prod": "NODE_ENV=production tsup",
66
+ "dev": "cross-env NODE_ENV=development tsup --watch",
67
+ "build:prod": "cross-env NODE_ENV=production tsup",
60
68
  "build": "pnpm lint && pnpm test:ci && pnpm build:prod",
61
69
  "lint": "eslint",
62
- "release": "node scripts/publish.js --verbose --npm",
70
+ "release": "node scripts/release.js --verbose --npm",
63
71
  "//2a": "*********************************************************************",
64
72
  "//2b": "***************************** UNIT TESTS ****************************",
65
73
  "//2c": "*********************************************************************",
@@ -84,29 +92,27 @@
84
92
  "test:misc": "pnpm test:watch misc.test.ts"
85
93
  },
86
94
  "devDependencies": {
87
- "@alessiofrittoli/node-scripts": "^2.5.0",
88
- "@eslint/js": "^9.26.0",
89
- "@jest/globals": "^29.7.0",
90
- "@types/jest": "^29.5.14",
91
- "@types/node": "^22.15.3",
92
- "concurrently": "^9.1.2",
93
- "dotenv": "^16.5.0",
94
- "eslint": "^9.26.0",
95
- "globals": "^16.0.0",
95
+ "@alessiofrittoli/node-scripts": "^3.3.0",
96
+ "@eslint/js": "^9.39.2",
97
+ "@jest/globals": "^30.2.0",
98
+ "@types/jest": "^30.0.0",
99
+ "@types/node": "^25.0.3",
100
+ "concurrently": "^9.2.1",
101
+ "cross-env": "^10.1.0",
102
+ "dotenv": "^17.2.3",
103
+ "eslint": "^9.39.2",
104
+ "globals": "^16.5.0",
96
105
  "http-server": "^14.1.1",
97
- "jest": "^29.7.0",
98
- "ts-jest": "^29.3.2",
106
+ "jest": "^30.2.0",
107
+ "ts-jest": "^29.4.6",
99
108
  "ts-node": "^10.9.2",
100
- "tsup": "^8.4.0",
101
- "typescript": "^5.8.3",
102
- "typescript-eslint": "^8.31.1"
109
+ "tsup": "^8.5.1",
110
+ "typescript": "^5.9.3",
111
+ "typescript-eslint": "^8.50.1"
103
112
  },
104
113
  "dependencies": {
105
- "@alessiofrittoli/crypto-buffer": "^3.6.0"
106
- },
107
- "pnpm": {
108
- "onlyBuiltDependencies": [
109
- "esbuild"
110
- ]
114
+ "@alessiofrittoli/crypto-buffer": "^3.10.0",
115
+ "@alessiofrittoli/math-utils": "^1.17.0",
116
+ "@alessiofrittoli/stream-reader": "2.7.0-alpha.1"
111
117
  }
112
118
  }