@ellipticltd/aml-utils 0.15.32 → 0.15.34
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/lib/errors/errors.d.ts +9 -0
- package/lib/errors/errors.js +19 -30
- package/lib/errors/errors.js.map +1 -0
- package/lib/file-parser/errors.d.ts +3 -0
- package/lib/file-parser/errors.js +11 -0
- package/lib/file-parser/errors.js.map +1 -0
- package/lib/file-parser/file-parser.d.ts +6 -0
- package/lib/file-parser/file-parser.js +60 -0
- package/lib/file-parser/file-parser.js.map +1 -0
- package/lib/file-parser/parse-row.d.ts +2 -0
- package/lib/file-parser/parse-row.js +40 -0
- package/lib/file-parser/parse-row.js.map +1 -0
- package/lib/file-parser/sanitizeRows.d.ts +5 -0
- package/lib/file-parser/sanitizeRows.js +15 -0
- package/lib/file-parser/sanitizeRows.js.map +1 -0
- package/lib/formatting/formatting.d.ts +2 -0
- package/lib/formatting/formatting.js +11 -12
- package/lib/formatting/formatting.js.map +1 -0
- package/lib/{index.ts → index.d.ts} +0 -1
- package/lib/index.js +21 -0
- package/lib/index.js.map +1 -0
- package/lib/middleware/middleware.d.ts +4 -0
- package/lib/middleware/middleware.js +14 -17
- package/lib/middleware/middleware.js.map +1 -0
- package/lib/orm-helpers/ormHelpers.d.ts +1 -0
- package/lib/orm-helpers/ormHelpers.js +7 -9
- package/lib/orm-helpers/ormHelpers.js.map +1 -0
- package/lib/structured-file-parser/errors.d.ts +12 -0
- package/lib/structured-file-parser/errors.js +33 -0
- package/lib/structured-file-parser/errors.js.map +1 -0
- package/lib/structured-file-parser/parse-row.d.ts +2 -0
- package/lib/structured-file-parser/parse-row.js +40 -0
- package/lib/structured-file-parser/parse-row.js.map +1 -0
- package/lib/structured-file-parser/sanitize-rows.d.ts +2 -0
- package/lib/structured-file-parser/sanitize-rows.js +14 -0
- package/lib/structured-file-parser/sanitize-rows.js.map +1 -0
- package/lib/structured-file-parser/structured-file-parser.d.ts +10 -0
- package/lib/structured-file-parser/structured-file-parser.js +96 -0
- package/lib/structured-file-parser/structured-file-parser.js.map +1 -0
- package/lib/types/types.d.ts +11 -0
- package/lib/types/types.js +190 -200
- package/lib/types/types.js.map +1 -0
- package/lib/validations/validations.d.ts +179 -0
- package/lib/validations/validations.js +500 -505
- package/lib/validations/validations.js.map +1 -0
- package/package.json +15 -1
- package/.eslintrc.js +0 -22
- package/jest.config.ts +0 -13
- package/lib/errors/errors.spec.js +0 -49
- package/lib/file-parser/__tests/parse-row.spec.js +0 -34
- package/lib/file-parser/__tests/sanitize-rows.spec.js +0 -85
- package/lib/file-parser/errors.ts +0 -6
- package/lib/file-parser/file-parser.ts +0 -67
- package/lib/file-parser/parse-row.ts +0 -46
- package/lib/file-parser/sanitizeRows.ts +0 -22
- package/lib/formatting/formatting.spec.js +0 -47
- package/lib/orm-helpers/ormHelpers.spec.js +0 -47
- package/lib/structured-file-parser/errors.ts +0 -25
- package/lib/structured-file-parser/parse-row.ts +0 -46
- package/lib/structured-file-parser/sanitize-rows.ts +0 -17
- package/lib/structured-file-parser/structured-file-parser.ts +0 -129
- package/lib/validations/validations.spec.js +0 -973
- package/project.json +0 -55
- package/tsconfig.json +0 -13
- package/tsconfig.lib.json +0 -14
- package/tsconfig.spec.json +0 -10
package/project.json
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "aml-utils",
|
|
3
|
-
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
4
|
-
"sourceRoot": "libs/aml-utils/lib",
|
|
5
|
-
"projectType": "library",
|
|
6
|
-
"targets": {
|
|
7
|
-
"build": {
|
|
8
|
-
"executor": "@nrwl/js:tsc",
|
|
9
|
-
"outputs": ["{options.outputPath}"],
|
|
10
|
-
"options": {
|
|
11
|
-
"outputPath": "dist/libs/aml-utils",
|
|
12
|
-
"main": "libs/aml-utils/lib/index.ts",
|
|
13
|
-
"packageJson": "libs/aml-utils/package.json",
|
|
14
|
-
"tsConfig": "libs/aml-utils/tsconfig.lib.json",
|
|
15
|
-
"assets": ["libs/aml-utils/*.md"],
|
|
16
|
-
"updateBuildableProjectDepsInPackageJson": true,
|
|
17
|
-
"buildableProjectDepsInPackageJsonType": "dependencies"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"lint": {
|
|
21
|
-
"executor": "@nx/linter:eslint",
|
|
22
|
-
"outputs": ["{options.outputFile}"],
|
|
23
|
-
"options": {
|
|
24
|
-
"lintFilePatterns": ["libs/aml-utils/**/*.{ts,tsx,js,jsx}"]
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"lint:fix": {
|
|
28
|
-
"executor": "@nx/linter:eslint",
|
|
29
|
-
"outputs": ["{options.outputFile}"],
|
|
30
|
-
"options": {
|
|
31
|
-
"lintFilePatterns": ["libs/aml-utils/**/*.{ts,tsx,js,jsx}"]
|
|
32
|
-
},
|
|
33
|
-
"fix": true
|
|
34
|
-
},
|
|
35
|
-
"test": {
|
|
36
|
-
"executor": "@nx/jest:jest",
|
|
37
|
-
"outputs": ["{workspaceRoot}/coverage/libs/aml-utils"],
|
|
38
|
-
"options": {
|
|
39
|
-
"jestConfig": "libs/aml-utils/jest.config.ts",
|
|
40
|
-
"testPathPattern": ["libs/aml-utils/lib/"],
|
|
41
|
-
"codeCoverage": true,
|
|
42
|
-
"reporters": ["default"],
|
|
43
|
-
"passWithNoTests": true,
|
|
44
|
-
"verbose": true
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
"publish": {
|
|
48
|
-
"executor": "nx:run-commands",
|
|
49
|
-
"options": {
|
|
50
|
-
"command": "npm publish dist/libs/aml-utils"
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
"tags": []
|
|
55
|
-
}
|
package/tsconfig.json
DELETED
package/tsconfig.lib.json
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "./tsconfig.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"module": "commonjs",
|
|
5
|
-
"outDir": "../../dist/out-tsc",
|
|
6
|
-
"declaration": true,
|
|
7
|
-
"types": ["node"],
|
|
8
|
-
"allowJs": true,
|
|
9
|
-
"esModuleInterop": true,
|
|
10
|
-
"inlineSources": true
|
|
11
|
-
},
|
|
12
|
-
"exclude": ["jest.config.ts", "**/*.spec.js"],
|
|
13
|
-
"include": ["**/*.ts", "**/*.js"]
|
|
14
|
-
}
|
package/tsconfig.spec.json
DELETED