@creatioart-js/express-storage 1.4.0 → 1.5.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/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  All notable changes to this project from 0.1.x forward will be documented in this file.
4
4
 
5
+ ## [v1.5.0] (2026-01-03)
6
+
7
+ - Update NodeJS versions
8
+ - Update to ECMAScript modules
9
+
5
10
  ## [v1.4.0] (2025-05-12)
6
11
 
7
12
  - Update core
package/README.md CHANGED
@@ -59,7 +59,7 @@ Service templates are public. `README.md` file for each template contains instru
59
59
 
60
60
  To build and run the application you need:
61
61
 
62
- - [Node.js 20](https://nodejs.org/dist/v20.18.0)
62
+ - [Node.js 24](https://nodejs.org/dist/v24.12.0)
63
63
  - Projects must configure [TypeScript](https://typescriptlang.org) to use types from the ECMAScript modules that have a:
64
64
  - [`compilerOptions.allowJs`](https://typescriptlang.org/tsconfig#allowJs) should be `true`.
65
65
  - [`compilerOptions.module`](https://typescriptlang.org/tsconfig#module) should be `"node16"` or `"nodenext"`.
@@ -74,13 +74,13 @@ The code is organized as follows:
74
74
 
75
75
  ## Building from Source
76
76
 
77
- 1. Install Node.js 20 - [Node.js 20 Download](https://nodejs.org/dist/v20.18.0)
77
+ 1. Install Node.js 24 - [Node.js 24 Download](https://nodejs.org/dist/v24.12.0)
78
78
  1. Install dependencies: npm install
79
79
  1. Run compile: npm run build
80
80
 
81
81
  ## Test the Artifact
82
82
 
83
- 1. Install Node.js 20 - [Node.js 20 Download](https://nodejs.org/dist/v20.18.0)
83
+ 1. Install Node.js 24 - [Node.js 24 Download](https://nodejs.org/dist/v24.12.0)
84
84
  1. Install dependencies: npm install
85
85
  1. Run test: npm run test
86
86
 
package/lib/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
1
  export { DatabaseType } from './enum/database.type.js';
2
2
  export { DatastoreOperatorType } from './enum/datastore.operator.type.js';
3
3
  export { FirestoreOperatorType } from './enum/firestore.operator.type.js';
4
- export { IRepository } from './repository/interface/iRepository.js';
5
- export { IRepositoryManager } from './repository/interface/iRepository.manager.repository.js';
4
+ export type { IRepository } from './repository/interface/iRepository.js';
5
+ export type { IRepositoryManager } from './repository/interface/iRepository.manager.repository.js';
6
6
  export { BaseDatastoreRepository } from './repository/base.datastore.repository.js';
7
7
  export { BaseFirestoreRepository } from './repository/base.firestore.repository.js';
8
- export { IBaseService } from './service/interface/ibase.service.js';
8
+ export type { IBaseService } from './service/interface/ibase.service.js';
9
9
  export { BaseService } from './service/base.service.js';
10
- export { IBigQueryService } from './service/interface/ibig.query.service.js';
10
+ export type { IBigQueryService } from './service/interface/ibig.query.service.js';
11
11
  export { BigQueryService } from './service/big.query.service.js';
12
- export { IRedisCacheService } from './service/interface/iredis.cache.service.js';
12
+ export type { IRedisCacheService } from './service/interface/iredis.cache.service.js';
13
13
  export { RedisCacheService } from './service/redis.cache.service.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@creatioart-js/express-storage",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "description": "CreatioART - Core storage library package for Express framework that contains storage management class",
5
5
  "keywords": [
6
6
  "package",
@@ -58,45 +58,45 @@
58
58
  ]
59
59
  },
60
60
  "dependencies": {
61
- "@creatioart-js/express-core": "^1.4.0",
62
- "@creatioart-js/express-error": "^1.4.0",
63
- "@creatioart-js/express-error-handler": "^1.4.0",
64
- "@creatioart-js/express-logging": "^1.4.0",
61
+ "@creatioart-js/express-core": "^1.5.0",
62
+ "@creatioart-js/express-error": "^1.5.0",
63
+ "@creatioart-js/express-error-handler": "^1.5.0",
64
+ "@creatioart-js/express-logging": "^1.5.0",
65
65
  "class-transformer": "^0.5.1",
66
- "class-validator": "^0.14.2",
67
- "redis": "^5.0.1",
66
+ "class-validator": "^0.14.3",
67
+ "redis": "^5.10.0",
68
68
  "reflect-metadata": "0.2.2",
69
69
  "typedi": "0.10.0"
70
70
  },
71
71
  "devDependencies": {
72
- "@jest/globals": "^29.7.0",
72
+ "@jest/globals": "^30.2.0",
73
73
  "@npm/types": "^2.1.0",
74
74
  "@types/eslint": "<9.0.0",
75
- "@types/glob": "^8.1.0",
76
- "@types/jest": "^29.5.14",
77
- "@types/morgan": "^1.9.9",
78
- "@types/node": "^22.15.17",
79
- "@types/validator": "^13.15.0",
80
- "@typescript-eslint/eslint-plugin": "^8.32.0",
81
- "@typescript-eslint/parser": "^8.32.0",
82
- "cross-env": "^7.0.3",
75
+ "@types/glob": "^9.0.0",
76
+ "@types/jest": "^30.0.0",
77
+ "@types/morgan": "^1.9.10",
78
+ "@types/node": "^25.0.3",
79
+ "@types/validator": "^13.15.10",
80
+ "@typescript-eslint/eslint-plugin": "^8.51.0",
81
+ "@typescript-eslint/parser": "^8.51.0",
82
+ "cross-env": "^10.1.0",
83
83
  "eslint": "<9.0.0",
84
- "eslint-plugin-n": "^17.18.0",
84
+ "eslint-plugin-n": "^17.23.1",
85
85
  "eslint-plugin-promise": "^7.2.1",
86
86
  "husky": "^9.1.7",
87
- "jest": "^29.7.0",
88
- "lint-staged": "^16.0.0",
87
+ "jest": "^30.2.0",
88
+ "lint-staged": "^16.2.7",
89
89
  "madge": "^8.0.0",
90
- "nock": "^14.0.4",
91
- "nodemon": "^3.1.10",
90
+ "nock": "^14.0.10",
91
+ "nodemon": "^3.1.11",
92
92
  "npm-run-all": "^4.1.5",
93
- "prettier": "^3.5.3",
94
- "ts-jest": "^29.3.2",
93
+ "prettier": "^3.7.4",
94
+ "ts-jest": "^29.4.6",
95
95
  "ts-node": "^10.9.2",
96
- "typedoc": "^0.28.4",
97
- "typescript": "^5.8.3"
96
+ "typedoc": "^0.28.15",
97
+ "typescript": "^5.9.3"
98
98
  },
99
99
  "engines": {
100
- "node": "20.x.x"
100
+ "node": "24.x.x"
101
101
  }
102
102
  }