cda-schematron-validator 1.1.11 → 2.0.0-preview.1

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.
Files changed (48) hide show
  1. package/LICENSE.md +9 -9
  2. package/README.md +222 -239
  3. package/bin/cda-validate.js +36 -0
  4. package/docs/api.md +134 -0
  5. package/docs/architecture.md +102 -0
  6. package/docs/coverage.md +112 -0
  7. package/docs/deployment.md +126 -0
  8. package/docs/history.md +245 -0
  9. package/docs/legacy-api.md +70 -0
  10. package/lib/checkIfFileOrPath.js +27 -28
  11. package/lib/checkRule.js +97 -98
  12. package/lib/createClient.js +35 -0
  13. package/lib/getAssertionObject.js +23 -23
  14. package/lib/getErrorsAndWarnings.js +41 -41
  15. package/lib/getFailedAssertions.js +24 -25
  16. package/lib/getIgnored.js +27 -27
  17. package/lib/getResults.js +22 -22
  18. package/lib/getReturnObject.js +20 -20
  19. package/lib/getSchematronMap.js +34 -31
  20. package/lib/getSelectXmlChunk.js +27 -27
  21. package/lib/includeExternalDocument.js +113 -107
  22. package/lib/initializeProcess.js +34 -40
  23. package/lib/parseSchematron.js +122 -122
  24. package/lib/processFailedAssertions.js +17 -17
  25. package/lib/processRules.js +20 -20
  26. package/lib/processRulesAsync.js +18 -30
  27. package/lib/testAssertion.js +74 -74
  28. package/package.json +67 -59
  29. package/validateAsync.js +103 -117
  30. package/validateSync.js +51 -55
  31. package/validator.d.ts +87 -0
  32. package/validator.js +17 -16
  33. package/.eslintrc.js +0 -30
  34. package/.github/workflows/codeql-analysis.yml +0 -70
  35. package/.husky/pre-commit +0 -5
  36. package/.jshintrc +0 -96
  37. package/.vscode/launch.json +0 -37
  38. package/Gruntfile.js +0 -28
  39. package/SECURITY.md +0 -21
  40. package/test/CDAR2_IG_CCDA_CLINNOTES_R1_DSTU2.1_2015AUG_Vol2_2019JUNwith_errata.sch +0 -71
  41. package/test/VitalSigns.xml +0 -856
  42. package/test/async.test.js +0 -124
  43. package/test/asyncFileList.test.js +0 -61
  44. package/test/test.sch +0 -47
  45. package/test/test.xml +0 -80
  46. package/test/tests.js +0 -140
  47. package/test/vitalSigns.test.js +0 -34
  48. package/test/voc.xml +0 -44
package/validateSync.js CHANGED
@@ -1,55 +1,51 @@
1
- // crypto is now built-in node
2
- const initializeProcess = require('./lib/initializeProcess');
3
- const processRules = require('./lib/processRules');
4
- const getReturnObject = require('./lib/getReturnObject');
5
-
6
- // Parsed object cache
7
- let parsedMap = Object.create({});
8
- let contextMap = Object.create({});
9
- let schematronMap = Object.create({});
10
-
11
- function clearCache() {
12
- parsedMap = Object.create({});
13
- contextMap = Object.create({});
14
- schematronMap = Object.create({});
15
- }
16
-
17
-
18
- /**
19
- * @method validate The entry method called to validate an xml with schematron. Calls `initializeProcess` and `processRules` methods, and gets the results
20
- * @param {string} xml string content of an xml file or path to an xml file
21
- * @param {string} schematron string content of a schematron file or path to a schematron file
22
- * @param {object} options object that takes parameters
23
- * `resourceDir`: Where additional documents with added rules such as value set restrictions are present. Default value is the same directory of the code being executed './'.,
24
- * `xmlSnippetMaxLength`: Restrict the length of the xpath mapped xml snippet when returning the error/warning data to the user. Default value is 200 characters.,
25
- * `includeWarnings`: User can choose to look for warnings and include them in the report. The default value is false.,
26
- * `parsedSchematronMap`: User can choose to supply the schematron map instead of a schematron file avoiding the parsing of the schematron file for multiple xml files or check for cache.
27
- * @returns Calls `getReturnObject` and gets the results (errors, warning, and ignored) as javascript objects
28
- */
29
-
30
- function validateSync(xml, schematron, options = {}) {
31
- const resultInfo = {
32
- errors: [],
33
- warnings: [],
34
- ignored: []
35
- };
36
- options.parsedMap = parsedMap;
37
- options.contextMap = contextMap;
38
- options.schematronMap = schematronMap;
39
- initializeProcess(xml, schematron, options);
40
- for (const patternId in options.schematronMap.patternRuleMap) {
41
- if (!options.schematronMap.patternRuleMap.hasOwnProperty(patternId)) {
42
- continue;
43
- }
44
- const assertionInfo = Object.create({});
45
- assertionInfo.patternId = patternId;
46
- const rules = options.schematronMap.patternRuleMap[patternId];
47
- processRules(rules, assertionInfo, resultInfo, options);
48
- }
49
- return getReturnObject(resultInfo);
50
- }
51
-
52
- module.exports = {
53
- validateSync,
54
- clearCache
55
- };
1
+ // crypto is now built-in node
2
+ const initializeProcess = require('./lib/initializeProcess');
3
+ const processRules = require('./lib/processRules');
4
+ const getReturnObject = require('./lib/getReturnObject');
5
+
6
+ // Parsed object cache
7
+ let parsedMap = Object.create(null);
8
+
9
+ function clearCache() {
10
+ parsedMap = Object.create(null);
11
+ }
12
+
13
+
14
+ /**
15
+ * @method validate The entry method called to validate an xml with schematron. Calls `initializeProcess` and `processRules` methods, and gets the results
16
+ * @param {string} xml string content of an xml file or path to an xml file
17
+ * @param {string} schematron string content of a schematron file or path to a schematron file
18
+ * @param {object} options object that takes parameters
19
+ * `resourceDir`: Where additional documents with added rules such as value set restrictions are present. Default value is the same directory of the code being executed './'.,
20
+ * `xmlSnippetMaxLength`: Restrict the length of the xpath mapped xml snippet when returning the error/warning data to the user. Default value is 200 characters.,
21
+ * `includeWarnings`: User can choose to look for warnings and include them in the report. The default value is false.,
22
+ * `parsedSchematronMap`: User can choose to supply the schematron map instead of a schematron file avoiding the parsing of the schematron file for multiple xml files or check for cache.
23
+ * @returns Calls `getReturnObject` and gets the results (errors, warning, and ignored) as javascript objects
24
+ */
25
+
26
+ function validateSync(xml, schematron, options = {}) {
27
+ options = Object.assign({}, options);
28
+ const resultInfo = {
29
+ errors: [],
30
+ warnings: [],
31
+ ignored: []
32
+ };
33
+ options.parsedMap = parsedMap;
34
+ options.contextMap = Object.create(null);
35
+ initializeProcess(xml, schematron, options);
36
+ for (const patternId in options.schematronMap.patternRuleMap) {
37
+ if (!Object.hasOwn(options.schematronMap.patternRuleMap, patternId)) {
38
+ continue;
39
+ }
40
+ const assertionInfo = Object.create(null);
41
+ assertionInfo.patternId = patternId;
42
+ const rules = options.schematronMap.patternRuleMap[patternId];
43
+ processRules(rules, assertionInfo, resultInfo, options);
44
+ }
45
+ return getReturnObject(resultInfo);
46
+ }
47
+
48
+ module.exports = {
49
+ validateSync,
50
+ clearCache
51
+ };
package/validator.d.ts ADDED
@@ -0,0 +1,87 @@
1
+ export interface LegacyOptions {
2
+ includeWarnings?: boolean;
3
+ resourceDir?: string;
4
+ xmlSnippetMaxLength?: number;
5
+ parsedSchematronMap?: SchematronMap;
6
+ }
7
+ export interface SchematronMap {
8
+ namespaceMap: Record<string, string>;
9
+ patternRuleMap: Record<string, string[]>;
10
+ ruleAssertionMap: Record<string, unknown>;
11
+ }
12
+ export interface LegacyFinding {
13
+ type: 'error' | 'warning';
14
+ test: string;
15
+ simplifiedTest: string | null;
16
+ description: string;
17
+ line?: number | null;
18
+ path?: string;
19
+ patternId?: string;
20
+ ruleId?: string;
21
+ assertionId?: string;
22
+ context?: string | null;
23
+ xml?: string | null;
24
+ errorMessage?: string;
25
+ }
26
+ export interface LegacyResult {
27
+ errorCount: number;
28
+ warningCount: number;
29
+ ignoredCount: number;
30
+ errors: LegacyFinding[];
31
+ warnings: LegacyFinding[];
32
+ ignored: LegacyFinding[];
33
+ }
34
+ export function validate(xml: string, schematron: string | null, options?: LegacyOptions): LegacyResult;
35
+ export function validateAsync(xml: string, schematron: string | null, options?: LegacyOptions): Promise<LegacyResult>;
36
+ export function validateFileListAsync(xml: string[], schematron: string | null, options?: LegacyOptions): Promise<Array<LegacyResult & {fileIndex: number}>>;
37
+ export function validateFileObjectAsync(xml: Record<string, string>, schematron: string | null, options?: LegacyOptions): Promise<Array<LegacyResult & {fileInfo: string}>>;
38
+ export function parseSchematron(document: unknown, options?: LegacyOptions): SchematronMap;
39
+ export function clearCache(): void;
40
+ export function clearCacheAsync(): void;
41
+ export interface Profile {
42
+ id: string;
43
+ name: string;
44
+ release: string;
45
+ schemaRelease: string;
46
+ limitations: string[];
47
+ artifactChecksums: Record<string, string>;
48
+ generationCoverage?: Record<string, number>;
49
+ generationReport?: Record<string, unknown>;
50
+ }
51
+ export interface Finding {
52
+ messageTruncated?: boolean;
53
+ severity: 'error' | 'warning';
54
+ stage: 'xml' | 'xsd' | 'schematron' | 'coverage' | 'engine';
55
+ message: string;
56
+ line?: number;
57
+ column?: number;
58
+ xpath?: string;
59
+ ruleId?: string;
60
+ patternId?: string;
61
+ context?: string;
62
+ test?: string;
63
+ }
64
+ export interface ValidationReport {
65
+ applicationVersion: string;
66
+ requestId: string;
67
+ status: 'valid' | 'invalid' | 'incomplete';
68
+ validationComplete: boolean;
69
+ executionComplete: boolean;
70
+ truncated: boolean;
71
+ options: {includeWarnings: boolean};
72
+ summary: {errors: number; warnings: number; findings: number; firedRules: number};
73
+ findings: Finding[];
74
+ stages: Array<{name: string; status: string; firedRules?: number}>;
75
+ profile: Profile;
76
+ engine: Record<string, string>;
77
+ sources: Array<{id: string; release: string; url: string; sha256: string}>;
78
+ uploadQueueWaitMs?: number;
79
+ durationMs: number;
80
+ validatedAt: string;
81
+ }
82
+ export interface Client {
83
+ validate(xml: string, options?: {profile?: string; includeWarnings?: boolean}): Promise<ValidationReport>;
84
+ profiles(): Promise<{profiles: Profile[]; sources: ValidationReport['sources']; limits?: {maxXmlBytes: number; maxRequestBytes: number; uploadMemoryBudgetBytes: number; maxConcurrentUploads: number; requestCapacity: number; uploadQueueWaitSeconds: number}}>;
85
+ version(): Promise<{version: string; engine: string}>;
86
+ }
87
+ export function createClient(options?: {baseUrl?: string; token?: string; timeoutMs?: number}): Client;
package/validator.js CHANGED
@@ -1,16 +1,17 @@
1
- // jshint node:true
2
- // jshint shadow:true
3
-
4
- /**
5
- * Export all the main methods
6
- */
7
-
8
- module.exports = {
9
- validate: require('./validateSync').validateSync,
10
- validateAsync: require('./validateAsync').validateAsync,
11
- validateFileListAsync: require('./validateAsync').validateFileListAsync,
12
- validateFileObjectAsync: require('./validateAsync').validateFileObjectAsync,
13
- clearCache: require('./validateSync').clearCache,
14
- clearCacheAsync: require('./validateAsync').clearCache,
15
- parseSchematron: require('./lib/parseSchematron')
16
- };
1
+ // jshint node:true
2
+ // jshint shadow:true
3
+
4
+ /**
5
+ * Export all the main methods
6
+ */
7
+
8
+ module.exports = {
9
+ createClient: require('./lib/createClient'),
10
+ validate: require('./validateSync').validateSync,
11
+ validateAsync: require('./validateAsync').validateAsync,
12
+ validateFileListAsync: require('./validateAsync').validateFileListAsync,
13
+ validateFileObjectAsync: require('./validateAsync').validateFileObjectAsync,
14
+ clearCache: require('./validateSync').clearCache,
15
+ clearCacheAsync: require('./validateAsync').clearCache,
16
+ parseSchematron: require('./lib/parseSchematron')
17
+ };
package/.eslintrc.js DELETED
@@ -1,30 +0,0 @@
1
- module.exports = {
2
- 'env': {
3
- 'browser': true,
4
- 'commonjs': true,
5
- 'es2021': true
6
- },
7
- 'extends': [
8
- 'google'
9
- ],
10
- 'parserOptions': {
11
- 'ecmaVersion': 'latest'
12
- },
13
- 'rules': {
14
- 'comma-dangle': ['error', 'never'],
15
- 'linebreak-style': 0,
16
- 'indent': ['error', 4],
17
- 'require-jsdoc': 0,
18
- 'object-curly-spacing': 0,
19
- 'func-call-spacing': 0,
20
- 'max-len': [2, {
21
- 'code': 200,
22
- 'tabWidth': 4,
23
- 'ignoreUrls': true,
24
- 'ignorePattern': 'goog\.(module|require)',
25
- 'ignoreStrings': true,
26
- 'ignoreComments': true
27
- }],
28
- 'brace-style': ['error', 'stroustrup']
29
- }
30
- };
@@ -1,70 +0,0 @@
1
- # For most projects, this workflow file will not need changing; you simply need
2
- # to commit it to your repository.
3
- #
4
- # You may wish to alter this file to override the set of languages analyzed,
5
- # or to provide custom queries or build logic.
6
- #
7
- # ******** NOTE ********
8
- # We have attempted to detect the languages in your repository. Please check
9
- # the `language` matrix defined below to confirm you have the correct set of
10
- # supported CodeQL languages.
11
- #
12
- name: "CodeQL"
13
-
14
- on:
15
- push:
16
- branches: [ main ]
17
- pull_request:
18
- # The branches below must be a subset of the branches above
19
- branches: [ main ]
20
- schedule:
21
- - cron: '34 18 * * 4'
22
-
23
- jobs:
24
- analyze:
25
- name: Analyze
26
- runs-on: ubuntu-latest
27
- permissions:
28
- actions: read
29
- contents: read
30
- security-events: write
31
-
32
- strategy:
33
- fail-fast: false
34
- matrix:
35
- language: [ 'javascript' ]
36
- # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
37
- # Learn more about CodeQL language support at https://git.io/codeql-language-support
38
-
39
- steps:
40
- - name: Checkout repository
41
- uses: actions/checkout@v3
42
-
43
- # Initializes the CodeQL tools for scanning.
44
- - name: Initialize CodeQL
45
- uses: github/codeql-action/init@v2
46
- with:
47
- languages: ${{ matrix.language }}
48
- # If you wish to specify custom queries, you can do so here or in a config file.
49
- # By default, queries listed here will override any specified in a config file.
50
- # Prefix the list here with "+" to use these queries and those in the config file.
51
- # queries: ./path/to/local/query, your-org/your-repo/queries@main
52
-
53
- # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
54
- # If this step fails, then you should remove it and run the build manually (see below)
55
- - name: Autobuild
56
- uses: github/codeql-action/autobuild@v2
57
-
58
- # ℹ️ Command-line programs to run using the OS shell.
59
- # 📚 https://git.io/JvXDl
60
-
61
- # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
62
- # and modify them (or add more) to build your code if your project
63
- # uses a compiled language
64
-
65
- #- run: |
66
- # make bootstrap
67
- # make release
68
-
69
- - name: Perform CodeQL Analysis
70
- uses: github/codeql-action/analyze@v2
package/.husky/pre-commit DELETED
@@ -1,5 +0,0 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
-
4
- npm test
5
- eslint . --ext .js --fix
package/.jshintrc DELETED
@@ -1,96 +0,0 @@
1
- /*jshint :esversion 8 */
2
- {
3
- // JSHint Default Configuration File (as on JSHint website)
4
- // See http://jshint.com/docs/ for more details
5
-
6
- "maxerr": 500, // {int} Maximum error before stopping
7
-
8
- // Enforcing
9
- "bitwise": true, // true: Prohibit bitwise operators (&, |, ^, etc.)
10
- "camelcase": false, // true: Identifiers must be in camelCase
11
- "curly": false, // true: Require {} for every new block or scope
12
- "eqeqeq": true, // true: Require triple equals (===) for comparison
13
- "forin": true, // true: Require filtering for..in loops with obj.hasOwnProperty()
14
- "immed": true, // true: Require immediate invocations to be wrapped in parens e.g. `(function () { } ());`
15
- "indent": false, // {int} Number of spaces to use for indentation
16
- "latedef": false, // true: Require variables/functions to be defined before being used
17
- "newcap": false, // true: Require capitalization of all constructor functions e.g. `new F()`
18
- "noarg": true, // true: Prohibit use of `arguments.caller` and `arguments.callee`
19
- "noempty": true, // true: Prohibit use of empty blocks
20
- "nonew": false, // true: Prohibit use of constructors for side-effects (without assignment)
21
- "plusplus": false, // true: Prohibit use of `++` & `--`
22
- "quotmark": "single", // Quotation mark consistency:
23
- // false : do nothing (default)
24
- // true : ensure whatever is used is consistent
25
- // "single" : require single quotes
26
- // "double" : require double quotes
27
- "undef": true, // true: Require all non-global variables to be declared (prevents global leaks)
28
- "unused": true, // true: Require all defined variables be used
29
- "strict": false, // true: Requires all functions run in ES5 Strict Mode
30
- "trailing": false, // true: Prohibit trailing whitespaces
31
- "maxparams": false, // {int} Max number of formal params allowed per function
32
- "maxdepth": false, // {int} Max depth of nested blocks (within functions)
33
- "maxstatements": false, // {int} Max number statements per function
34
- "maxcomplexity": false, // {int} Max cyclomatic complexity per function
35
- "maxlen": false, // {int} Max number of characters per line
36
-
37
- // Relaxing
38
- "asi": false, // true: Tolerate Automatic Semicolon Insertion (no semicolons)
39
- "boss": false, // true: Tolerate assignments where comparisons would be expected
40
- "debug": true, // true: Allow debugger statements e.g. browser breakpoints.
41
- "eqnull": false, // true: Tolerate use of `== null`
42
- "es5": false, // true: Allow ES5 syntax (ex: getters and setters)
43
- "esversion": 8,
44
- "esnext": false, // true: Allow ES.next (ES6) syntax (ex: `const`)
45
- "moz": false, // true: Allow Mozilla specific syntax (extends and overrides esnext features)
46
- // (ex: `for each`, multiple try/catch, function expression...)
47
- "evil": false, // true: Tolerate use of `eval` and `new Function()`
48
- "expr": true, // true: Tolerate `ExpressionStatement` as Programs
49
- "funcscope": false, // true: Tolerate defining variables inside control statements"
50
- "globalstrict": false, // true: Allow global "use strict" (also enables 'strict')
51
- "iterator": false, // true: Tolerate using the `__iterator__` property
52
- "lastsemic": false, // true: Tolerate omitting a semicolon for the last statement of a 1-line block
53
- "laxbreak": true, // true: Tolerate possibly unsafe line breakings
54
- "laxcomma": true, // true: Tolerate comma-first style coding
55
- "loopfunc": false, // true: Tolerate functions being defined in loops
56
- "multistr": false, // true: Tolerate multi-line strings
57
- "proto": false, // true: Tolerate using the `__proto__` property
58
- "scripturl": false, // true: Tolerate script-targeted URLs
59
- "smarttabs": true, // true: Tolerate mixed tabs/spaces when used for alignment
60
- "shadow": false, // true: Allows re-define variables later in code e.g. `var x=1; x=2;`
61
- "sub": false, // true: Tolerate using `[]` notation when it can still be expressed in dot notation
62
- "supernew": false, // true: Tolerate `new function () { ... };` and `new Object;`
63
- "validthis": false, // true: Tolerate using this in a non-constructor function
64
-
65
- // Environments
66
- "browser": true, // Web Browser (window, document, etc)
67
- "couch": false, // CouchDB
68
- "devel": true, // Development/debugging (alert, confirm, etc)
69
- "dojo": false, // Dojo Toolkit
70
- "jquery": true, // jQuery
71
- "mootools": false, // MooTools
72
- "node": true, // Node.js
73
- "nonstandard": false, // Widely adopted globals (escape, unescape, etc)
74
- "prototypejs": false, // Prototype and Scriptaculous
75
- "rhino": false, // Rhino
76
- "worker": false, // Web Workers
77
- "wsh": false, // Windows Scripting Host
78
- "yui": false, // Yahoo User Interface
79
-
80
- // Legacy
81
- "nomen": false, // true: Prohibit dangling `_` in variables
82
- "onevar": false, // true: Allow only one `var` statement per function
83
- "passfail": false, // true: Stop on first error
84
- "white": false, // true: Check against strict whitespace and indentation rules
85
-
86
- // Custom Globals
87
- "globals": {
88
- "describe": false,
89
- "it": false,
90
- "before": false,
91
- "beforeEach": false,
92
- "after": false,
93
- "afterEach": false,
94
- "module" : false
95
- }
96
- }
@@ -1,37 +0,0 @@
1
- {
2
- "version": "0.2.0",
3
- "configurations": [
4
- {
5
- "args": [
6
- "--timeout",
7
- "999999",
8
- "--colors",
9
- "${workspaceFolder}/test"
10
- ],
11
- "internalConsoleOptions": "openOnSessionStart",
12
- "name": "Mocha Tests",
13
- "program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
14
- "request": "launch",
15
- "skipFiles": [
16
- "<node_internals>/**"
17
- ],
18
- "type": "pwa-node"
19
- },
20
- {
21
- "args": [
22
- "--timeout",
23
- "999999",
24
- "--colors",
25
- "${relativeFile}"
26
- ],
27
- "internalConsoleOptions": "openOnSessionStart",
28
- "name": "Mocha Test Current File",
29
- "program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
30
- "request": "launch",
31
- "skipFiles": [
32
- "<node_internals>/**"
33
- ],
34
- "type": "pwa-node"
35
- }
36
- ]
37
- }
package/Gruntfile.js DELETED
@@ -1,28 +0,0 @@
1
- // jshint node:true
2
- const path = require('path');
3
- module.exports = function(grunt) {
4
- grunt.initConfig({
5
- jshint: {
6
- options: {
7
- jshintrc: path.resolve(__dirname, '.jshintrc')
8
- },
9
- files: {
10
- src: [path.resolve(__dirname, '*.js')]},
11
- gruntfile: {
12
- src: path.resolve(__dirname, 'Gruntfile.js')
13
- }
14
- },
15
- mochaTest: {
16
- api: {
17
- src: [path.resolve(__dirname, 'test/*test*.js')],
18
- options: {
19
- reporter: 'spec'
20
- }
21
- }
22
- }
23
- });
24
- grunt.loadNpmTasks('grunt-contrib-jshint');
25
- grunt.loadNpmTasks('grunt-mocha-test');
26
- grunt.registerTask('default', ['jshint', 'mochaTest']);
27
- grunt.registerTask('api', ['mochaTest']);
28
- };
package/SECURITY.md DELETED
@@ -1,21 +0,0 @@
1
- # Security Policy
2
-
3
- ## Supported Versions
4
-
5
- All releases within a major version will be supported with security updates. The first release from 1.x.x version is 1.0.7.
6
-
7
- | Version | Supported |
8
- | ------- | ------------------ |
9
- | 1.0.7 | :white_check_mark: |
10
- | 1.0.6 | :x: |
11
- | 1.0.5 | :x: |
12
- | 1.0.4 | :x: |
13
- | 1.0.3 | :x: |
14
- | 1.0.2 | :x: |
15
- | 1.0.1 | :x: |
16
- | 1.0.0 | :x: |
17
-
18
- ## Reporting a Vulnerability
19
-
20
- Please, open an issue with the vulnerability discovered. If possible open a branch from main,
21
- add a fix, and open a PR. I will review the security vulnerability and merge the PR if it is accepted.