diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4a2c8bb..2444def 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ jobs: build: strategy: matrix: - node-version: [10.x, 12.x, 14.x, 15.x] + node-version: [10.x, 12.x, 14.x, 16.x] platform: - os: ubuntu-latest - os: macos-latest diff --git a/__tests__/cases/0003 - simple_group/.vscode/launch.json b/__tests__/cases/0003 - simple_group/.vscode/launch.json deleted file mode 100644 index 3b4c23c..0000000 --- a/__tests__/cases/0003 - simple_group/.vscode/launch.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Launch via NPX", - "request": "launch", - "runtimeArgs": [ - "featws-transpiler" - ], - "runtimeExecutable": "npx", - "skipFiles": [ - "/**" - ], - "type": "pwa-node" - } - ] -} \ No newline at end of file diff --git a/__tests__/cases/0028 - positive_balance/.vscode/launch.json b/__tests__/cases/0028 - positive_balance/.vscode/launch.json deleted file mode 100644 index 3b4c23c..0000000 --- a/__tests__/cases/0028 - positive_balance/.vscode/launch.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Launch via NPX", - "request": "launch", - "runtimeArgs": [ - "featws-transpiler" - ], - "runtimeExecutable": "npx", - "skipFiles": [ - "/**" - ], - "type": "pwa-node" - } - ] -} \ No newline at end of file diff --git a/__tests__/cases/0030 - references_a_non-existing_group/.vscode/launch.json b/__tests__/cases/0030 - references_a_non-existing_group/.vscode/launch.json deleted file mode 100644 index 3b4c23c..0000000 --- a/__tests__/cases/0030 - references_a_non-existing_group/.vscode/launch.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Launch via NPX", - "request": "launch", - "runtimeArgs": [ - "featws-transpiler" - ], - "runtimeExecutable": "npx", - "skipFiles": [ - "/**" - ], - "type": "pwa-node" - } - ] -} \ No newline at end of file diff --git a/__tests__/cases/0031 - references_a_non-existing_type_context/.vscode/launch.json b/__tests__/cases/0031 - references_a_non-existing_type_context/.vscode/launch.json deleted file mode 100644 index 3b4c23c..0000000 --- a/__tests__/cases/0031 - references_a_non-existing_type_context/.vscode/launch.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Launch via NPX", - "request": "launch", - "runtimeArgs": [ - "featws-transpiler" - ], - "runtimeExecutable": "npx", - "skipFiles": [ - "/**" - ], - "type": "pwa-node" - } - ] -} \ No newline at end of file diff --git a/__tests__/cases/0032 - references_a_non-existing_type_result/.vscode/launch.json b/__tests__/cases/0032 - references_a_non-existing_type_result/.vscode/launch.json deleted file mode 100644 index 3b4c23c..0000000 --- a/__tests__/cases/0032 - references_a_non-existing_type_result/.vscode/launch.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Launch via NPX", - "request": "launch", - "runtimeArgs": [ - "featws-transpiler" - ], - "runtimeExecutable": "npx", - "skipFiles": [ - "/**" - ], - "type": "pwa-node" - } - ] -} \ No newline at end of file diff --git a/__tests__/cases/0033 - simple_feature_in_extended_format/.vscode/launch.json b/__tests__/cases/0033 - simple_feature_in_extended_format/.vscode/launch.json deleted file mode 100644 index 3b4c23c..0000000 --- a/__tests__/cases/0033 - simple_feature_in_extended_format/.vscode/launch.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Launch via NPX", - "request": "launch", - "runtimeArgs": [ - "featws-transpiler" - ], - "runtimeExecutable": "npx", - "skipFiles": [ - "/**" - ], - "type": "pwa-node" - } - ] -} \ No newline at end of file diff --git a/__tests__/cases/0034 - simple_feature_with_condition/.vscode/launch.json b/__tests__/cases/0034 - simple_feature_with_condition/.vscode/launch.json deleted file mode 100644 index 3b4c23c..0000000 --- a/__tests__/cases/0034 - simple_feature_with_condition/.vscode/launch.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Launch via NPX", - "request": "launch", - "runtimeArgs": [ - "featws-transpiler" - ], - "runtimeExecutable": "npx", - "skipFiles": [ - "/**" - ], - "type": "pwa-node" - } - ] -} \ No newline at end of file diff --git a/__tests__/cases/0035 - compose_feature_with_condition/.vscode/launch.json b/__tests__/cases/0035 - compose_feature_with_condition/.vscode/launch.json deleted file mode 100644 index 3b4c23c..0000000 --- a/__tests__/cases/0035 - compose_feature_with_condition/.vscode/launch.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Launch via NPX", - "request": "launch", - "runtimeArgs": [ - "featws-transpiler" - ], - "runtimeExecutable": "npx", - "skipFiles": [ - "/**" - ], - "type": "pwa-node" - } - ] -} \ No newline at end of file diff --git a/__tests__/cases/0036 - target_with_condition/.vscode/launch.json b/__tests__/cases/0036 - target_with_condition/.vscode/launch.json deleted file mode 100644 index 3b4c23c..0000000 --- a/__tests__/cases/0036 - target_with_condition/.vscode/launch.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Launch via NPX", - "request": "launch", - "runtimeArgs": [ - "featws-transpiler" - ], - "runtimeExecutable": "npx", - "skipFiles": [ - "/**" - ], - "type": "pwa-node" - } - ] -} \ No newline at end of file diff --git a/__tests__/cases/0037 - feature_with_condition_false/.vscode/launch.json b/__tests__/cases/0037 - feature_with_condition_false/.vscode/launch.json deleted file mode 100644 index 3b4c23c..0000000 --- a/__tests__/cases/0037 - feature_with_condition_false/.vscode/launch.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Launch via NPX", - "request": "launch", - "runtimeArgs": [ - "featws-transpiler" - ], - "runtimeExecutable": "npx", - "skipFiles": [ - "/**" - ], - "type": "pwa-node" - } - ] -} \ No newline at end of file diff --git a/__tests__/cases/0038 - string_feature_with_condition/.vscode/launch.json b/__tests__/cases/0038 - string_feature_with_condition/.vscode/launch.json deleted file mode 100644 index 3b4c23c..0000000 --- a/__tests__/cases/0038 - string_feature_with_condition/.vscode/launch.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Launch via NPX", - "request": "launch", - "runtimeArgs": [ - "featws-transpiler" - ], - "runtimeExecutable": "npx", - "skipFiles": [ - "/**" - ], - "type": "pwa-node" - } - ] -} \ No newline at end of file diff --git a/__tests__/cases/0039 - nested_4_feature_with_condition/.vscode/launch.json b/__tests__/cases/0039 - nested_4_feature_with_condition/.vscode/launch.json deleted file mode 100644 index 3b4c23c..0000000 --- a/__tests__/cases/0039 - nested_4_feature_with_condition/.vscode/launch.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Launch via NPX", - "request": "launch", - "runtimeArgs": [ - "featws-transpiler" - ], - "runtimeExecutable": "npx", - "skipFiles": [ - "/**" - ], - "type": "pwa-node" - } - ] -} \ No newline at end of file diff --git a/__tests__/cases/0040 - simple_resolver/.vscode/launch.json b/__tests__/cases/0040 - simple_resolver/.vscode/launch.json deleted file mode 100644 index 3b4c23c..0000000 --- a/__tests__/cases/0040 - simple_resolver/.vscode/launch.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Launch via NPX", - "request": "launch", - "runtimeArgs": [ - "featws-transpiler" - ], - "runtimeExecutable": "npx", - "skipFiles": [ - "/**" - ], - "type": "pwa-node" - } - ] -} \ No newline at end of file diff --git a/__tests__/cases/0041 - resolver_with_map/.vscode/launch.json b/__tests__/cases/0041 - resolver_with_map/.vscode/launch.json deleted file mode 100644 index 3b4c23c..0000000 --- a/__tests__/cases/0041 - resolver_with_map/.vscode/launch.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Launch via NPX", - "request": "launch", - "runtimeArgs": [ - "featws-transpiler" - ], - "runtimeExecutable": "npx", - "skipFiles": [ - "/**" - ], - "type": "pwa-node" - } - ] -} \ No newline at end of file diff --git a/__tests__/cases/0043 - return_json_extended_format/.vscode/launch.json b/__tests__/cases/0043 - return_json_extended_format/.vscode/launch.json deleted file mode 100644 index 3b4c23c..0000000 --- a/__tests__/cases/0043 - return_json_extended_format/.vscode/launch.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Launch via NPX", - "request": "launch", - "runtimeArgs": [ - "featws-transpiler" - ], - "runtimeExecutable": "npx", - "skipFiles": [ - "/**" - ], - "type": "pwa-node" - } - ] -} \ No newline at end of file diff --git a/__tests__/cases/0044 - return_json_extended_format_feat_slice/.vscode/launch.json b/__tests__/cases/0044 - return_json_extended_format_feat_slice/.vscode/launch.json deleted file mode 100644 index 3b4c23c..0000000 --- a/__tests__/cases/0044 - return_json_extended_format_feat_slice/.vscode/launch.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Launch via NPX", - "request": "launch", - "runtimeArgs": [ - "featws-transpiler" - ], - "runtimeExecutable": "npx", - "skipFiles": [ - "/**" - ], - "type": "pwa-node" - } - ] -} \ No newline at end of file diff --git a/__tests__/cases/0045 - resolver_with_map_with_required/.vscode/launch.json b/__tests__/cases/0045 - resolver_with_map_with_required/.vscode/launch.json deleted file mode 100644 index 3b4c23c..0000000 --- a/__tests__/cases/0045 - resolver_with_map_with_required/.vscode/launch.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Launch via NPX", - "request": "launch", - "runtimeArgs": [ - "featws-transpiler" - ], - "runtimeExecutable": "npx", - "skipFiles": [ - "/**" - ], - "type": "pwa-node" - } - ] -} \ No newline at end of file diff --git a/__tests__/cases/0046 - resolver_and_feature_required/.vscode/launch.json b/__tests__/cases/0046 - resolver_and_feature_required/.vscode/launch.json deleted file mode 100644 index 3b4c23c..0000000 --- a/__tests__/cases/0046 - resolver_and_feature_required/.vscode/launch.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Launch via NPX", - "request": "launch", - "runtimeArgs": [ - "featws-transpiler" - ], - "runtimeExecutable": "npx", - "skipFiles": [ - "/**" - ], - "type": "pwa-node" - } - ] -} \ No newline at end of file diff --git a/__tests__/cases/0048 - simple_feature_in_extended_format_with_default_object/.vscode/launch.json b/__tests__/cases/0048 - simple_feature_in_extended_format_with_default_object/.vscode/launch.json deleted file mode 100644 index 3b4c23c..0000000 --- a/__tests__/cases/0048 - simple_feature_in_extended_format_with_default_object/.vscode/launch.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Launch via NPX", - "request": "launch", - "runtimeArgs": [ - "featws-transpiler" - ], - "runtimeExecutable": "npx", - "skipFiles": [ - "/**" - ], - "type": "pwa-node" - } - ] -} \ No newline at end of file diff --git a/__tests__/cases/0049 - boolean_default_values/.vscode/launch.json b/__tests__/cases/0049 - boolean_default_values/.vscode/launch.json deleted file mode 100644 index 3b4c23c..0000000 --- a/__tests__/cases/0049 - boolean_default_values/.vscode/launch.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Launch via NPX", - "request": "launch", - "runtimeArgs": [ - "featws-transpiler" - ], - "runtimeExecutable": "npx", - "skipFiles": [ - "/**" - ], - "type": "pwa-node" - } - ] -} \ No newline at end of file diff --git a/__tests__/checker/cases/bad_formated/number-type/other_type_as_number/expected-checker.error b/__tests__/checker/cases/bad_formated/number-type/other_type_as_number/expected-checker.error new file mode 100644 index 0000000..43e159c --- /dev/null +++ b/__tests__/checker/cases/bad_formated/number-type/other_type_as_number/expected-checker.error @@ -0,0 +1 @@ +number-type: parameter 'mystr' isn't an 'integer' or 'decimal'! \ No newline at end of file diff --git a/__tests__/cases/0001 - one_parameter/features.json b/__tests__/checker/cases/bad_formated/number-type/other_type_as_number/features.json similarity index 100% rename from __tests__/cases/0001 - one_parameter/features.json rename to __tests__/checker/cases/bad_formated/number-type/other_type_as_number/features.json diff --git a/__tests__/checker/cases/bad_formated/number-type/other_type_as_number/parameters.json b/__tests__/checker/cases/bad_formated/number-type/other_type_as_number/parameters.json new file mode 100644 index 0000000..cdeff26 --- /dev/null +++ b/__tests__/checker/cases/bad_formated/number-type/other_type_as_number/parameters.json @@ -0,0 +1,6 @@ +[ + { + "name": "mystr", + "type": "string" + } +] \ No newline at end of file diff --git a/__tests__/checker/cases/bad_formated/number-type/other_type_as_number/rules.featws b/__tests__/checker/cases/bad_formated/number-type/other_type_as_number/rules.featws new file mode 100644 index 0000000..9f3455c --- /dev/null +++ b/__tests__/checker/cases/bad_formated/number-type/other_type_as_number/rules.featws @@ -0,0 +1 @@ +myboolfeat = $mystr < 12 \ No newline at end of file diff --git a/__tests__/checker/cases/bad_formated/number-type/other_type_as_number_non_defined/expected-checker.error b/__tests__/checker/cases/bad_formated/number-type/other_type_as_number_non_defined/expected-checker.error new file mode 100644 index 0000000..cbcd6e9 --- /dev/null +++ b/__tests__/checker/cases/bad_formated/number-type/other_type_as_number_non_defined/expected-checker.error @@ -0,0 +1 @@ +number-type: parameter 'mynonpredefined' isn't an 'integer' or 'decimal'! \ No newline at end of file diff --git a/__tests__/cases/0020 - age_greater_18_one_parameter/features.json b/__tests__/checker/cases/bad_formated/number-type/other_type_as_number_non_defined/features.json similarity index 100% rename from __tests__/cases/0020 - age_greater_18_one_parameter/features.json rename to __tests__/checker/cases/bad_formated/number-type/other_type_as_number_non_defined/features.json diff --git a/__tests__/cases/0048 - simple_feature_in_extended_format_with_default_object/parameters.json b/__tests__/checker/cases/bad_formated/number-type/other_type_as_number_non_defined/parameters.json similarity index 100% rename from __tests__/cases/0048 - simple_feature_in_extended_format_with_default_object/parameters.json rename to __tests__/checker/cases/bad_formated/number-type/other_type_as_number_non_defined/parameters.json diff --git a/__tests__/checker/cases/bad_formated/number-type/other_type_as_number_non_defined/rules.featws b/__tests__/checker/cases/bad_formated/number-type/other_type_as_number_non_defined/rules.featws new file mode 100644 index 0000000..d2c9fa8 --- /dev/null +++ b/__tests__/checker/cases/bad_formated/number-type/other_type_as_number_non_defined/rules.featws @@ -0,0 +1 @@ +myboolfeat = $mynonpredefined < 12 \ No newline at end of file diff --git a/__tests__/cases/0033 - simple_feature_in_extended_format/features.json b/__tests__/checker/cases/good_formated/equals_string/features.json similarity index 100% rename from __tests__/cases/0033 - simple_feature_in_extended_format/features.json rename to __tests__/checker/cases/good_formated/equals_string/features.json diff --git a/__tests__/checker/cases/good_formated/equals_string/parameters.json b/__tests__/checker/cases/good_formated/equals_string/parameters.json new file mode 100644 index 0000000..cdeff26 --- /dev/null +++ b/__tests__/checker/cases/good_formated/equals_string/parameters.json @@ -0,0 +1,6 @@ +[ + { + "name": "mystr", + "type": "string" + } +] \ No newline at end of file diff --git a/__tests__/checker/cases/good_formated/equals_string/rules.featws b/__tests__/checker/cases/good_formated/equals_string/rules.featws new file mode 100644 index 0000000..3644e05 --- /dev/null +++ b/__tests__/checker/cases/good_formated/equals_string/rules.featws @@ -0,0 +1 @@ +myboolfeat = $mystr == "test" \ No newline at end of file diff --git a/__tests__/checker/cases/good_formated/number-type/number_operator_equals/features.json b/__tests__/checker/cases/good_formated/number-type/number_operator_equals/features.json new file mode 100644 index 0000000..d96807c --- /dev/null +++ b/__tests__/checker/cases/good_formated/number-type/number_operator_equals/features.json @@ -0,0 +1,9 @@ +[ + { + "name": "myboolfeat", + "type": "boolean", + "expires": "1h", + "default": false, + "fallback": false + } +] \ No newline at end of file diff --git a/__tests__/cases/0001 - one_parameter/parameters.json b/__tests__/checker/cases/good_formated/number-type/number_operator_equals/parameters.json similarity index 100% rename from __tests__/cases/0001 - one_parameter/parameters.json rename to __tests__/checker/cases/good_formated/number-type/number_operator_equals/parameters.json diff --git a/__tests__/checker/cases/good_formated/number-type/number_operator_equals/rules.json b/__tests__/checker/cases/good_formated/number-type/number_operator_equals/rules.json new file mode 100644 index 0000000..a224c7b --- /dev/null +++ b/__tests__/checker/cases/good_formated/number-type/number_operator_equals/rules.json @@ -0,0 +1,3 @@ +{ + "myboolfeat": "$mynumber == 12" +} \ No newline at end of file diff --git a/__tests__/checker/test-engine.js b/__tests__/checker/test-engine.js new file mode 100644 index 0000000..685a761 --- /dev/null +++ b/__tests__/checker/test-engine.js @@ -0,0 +1,35 @@ +const fs = require("fs"); +const path = require("path"); +const { checker } = require('../../lib/checker'); + +const cases_dir = path.join(__dirname, "cases"); + +const isRulesheetFolder = (dir) => fs.existsSync(path.join(dir, "rules.featws")) || fs.existsSync(path.join(dir, "rules.json")); + +function scanDir(baseDir, baseName) { + const cases = fs.readdirSync(path.join(baseDir), "utf8"); + + cases.filter(entry => fs.lstatSync(path.join(baseDir, entry)).isDirectory()).map(dir => { + const name = [baseName, dir].join(" / "); + + if (isRulesheetFolder(path.join(baseDir, dir))) { + if (!fs.existsSync(path.join(baseDir, dir, "expected.error"))) { + test(name, async () => { + const errFile = path.join(baseDir, dir, "expected-checker.error"); + if (fs.existsSync(errFile)) { + const expected = fs.readFileSync(errFile).toString(); + return expect(checker(path.join(baseDir, dir))).resolves.toContain(expected); + } else { + return expect(checker(path.join(baseDir, dir))).resolves.toHaveLength(0); + } + }); + } + } else { + scanDir(path.join(baseDir, dir), name); + } + }); +} + +scanDir(cases_dir, "Checker"); + +scanDir(cases_dir + "../../../transpiler/cases", "Transpiler"); \ No newline at end of file diff --git a/__tests__/cases/0001 - one_parameter/expected.grl b/__tests__/transpiler/cases/0001 - one_parameter/expected.grl similarity index 100% rename from __tests__/cases/0001 - one_parameter/expected.grl rename to __tests__/transpiler/cases/0001 - one_parameter/expected.grl diff --git a/__tests__/transpiler/cases/0001 - one_parameter/features.json b/__tests__/transpiler/cases/0001 - one_parameter/features.json new file mode 100644 index 0000000..d96807c --- /dev/null +++ b/__tests__/transpiler/cases/0001 - one_parameter/features.json @@ -0,0 +1,9 @@ +[ + { + "name": "myboolfeat", + "type": "boolean", + "expires": "1h", + "default": false, + "fallback": false + } +] \ No newline at end of file diff --git a/__tests__/cases/0002 - without_default_parameter/parameters.json b/__tests__/transpiler/cases/0001 - one_parameter/parameters.json similarity index 100% rename from __tests__/cases/0002 - without_default_parameter/parameters.json rename to __tests__/transpiler/cases/0001 - one_parameter/parameters.json diff --git a/__tests__/cases/0001 - one_parameter/rules.featws b/__tests__/transpiler/cases/0001 - one_parameter/rules.featws similarity index 100% rename from __tests__/cases/0001 - one_parameter/rules.featws rename to __tests__/transpiler/cases/0001 - one_parameter/rules.featws diff --git a/__tests__/cases/0002 - without_default_parameter/expected.grl b/__tests__/transpiler/cases/0002 - without_default_parameter/expected.grl similarity index 100% rename from __tests__/cases/0002 - without_default_parameter/expected.grl rename to __tests__/transpiler/cases/0002 - without_default_parameter/expected.grl diff --git a/__tests__/cases/0002 - without_default_parameter/features.json b/__tests__/transpiler/cases/0002 - without_default_parameter/features.json similarity index 100% rename from __tests__/cases/0002 - without_default_parameter/features.json rename to __tests__/transpiler/cases/0002 - without_default_parameter/features.json diff --git a/__tests__/cases/0033 - simple_feature_in_extended_format/parameters.json b/__tests__/transpiler/cases/0002 - without_default_parameter/parameters.json similarity index 100% rename from __tests__/cases/0033 - simple_feature_in_extended_format/parameters.json rename to __tests__/transpiler/cases/0002 - without_default_parameter/parameters.json diff --git a/__tests__/cases/0002 - without_default_parameter/rules.featws b/__tests__/transpiler/cases/0002 - without_default_parameter/rules.featws similarity index 100% rename from __tests__/cases/0002 - without_default_parameter/rules.featws rename to __tests__/transpiler/cases/0002 - without_default_parameter/rules.featws diff --git a/__tests__/cases/0003 - simple_group/expected.grl b/__tests__/transpiler/cases/0003 - simple_group/expected.grl similarity index 100% rename from __tests__/cases/0003 - simple_group/expected.grl rename to __tests__/transpiler/cases/0003 - simple_group/expected.grl diff --git a/__tests__/cases/0003 - simple_group/features.json b/__tests__/transpiler/cases/0003 - simple_group/features.json similarity index 100% rename from __tests__/cases/0003 - simple_group/features.json rename to __tests__/transpiler/cases/0003 - simple_group/features.json diff --git a/__tests__/cases/0003 - simple_group/groups/mygroup.json b/__tests__/transpiler/cases/0003 - simple_group/groups/mygroup.json similarity index 100% rename from __tests__/cases/0003 - simple_group/groups/mygroup.json rename to __tests__/transpiler/cases/0003 - simple_group/groups/mygroup.json diff --git a/__tests__/cases/0003 - simple_group/parameters.json b/__tests__/transpiler/cases/0003 - simple_group/parameters.json similarity index 100% rename from __tests__/cases/0003 - simple_group/parameters.json rename to __tests__/transpiler/cases/0003 - simple_group/parameters.json diff --git a/__tests__/cases/0003 - simple_group/rules.featws b/__tests__/transpiler/cases/0003 - simple_group/rules.featws similarity index 100% rename from __tests__/cases/0003 - simple_group/rules.featws rename to __tests__/transpiler/cases/0003 - simple_group/rules.featws diff --git a/__tests__/cases/0004 - default_value_true/expected.grl b/__tests__/transpiler/cases/0004 - default_value_true/expected.grl similarity index 100% rename from __tests__/cases/0004 - default_value_true/expected.grl rename to __tests__/transpiler/cases/0004 - default_value_true/expected.grl diff --git a/__tests__/cases/0004 - default_value_true/features.json b/__tests__/transpiler/cases/0004 - default_value_true/features.json similarity index 100% rename from __tests__/cases/0004 - default_value_true/features.json rename to __tests__/transpiler/cases/0004 - default_value_true/features.json diff --git a/__tests__/cases/0004 - default_value_true/parameters.json b/__tests__/transpiler/cases/0004 - default_value_true/parameters.json similarity index 100% rename from __tests__/cases/0004 - default_value_true/parameters.json rename to __tests__/transpiler/cases/0004 - default_value_true/parameters.json diff --git a/__tests__/cases/0004 - default_value_true/rules.featws b/__tests__/transpiler/cases/0004 - default_value_true/rules.featws similarity index 100% rename from __tests__/cases/0004 - default_value_true/rules.featws rename to __tests__/transpiler/cases/0004 - default_value_true/rules.featws diff --git a/__tests__/cases/0005 - precedence_order/expected.grl b/__tests__/transpiler/cases/0005 - precedence_order/expected.grl similarity index 100% rename from __tests__/cases/0005 - precedence_order/expected.grl rename to __tests__/transpiler/cases/0005 - precedence_order/expected.grl diff --git a/__tests__/cases/0005 - precedence_order/features.json b/__tests__/transpiler/cases/0005 - precedence_order/features.json similarity index 100% rename from __tests__/cases/0005 - precedence_order/features.json rename to __tests__/transpiler/cases/0005 - precedence_order/features.json diff --git a/__tests__/cases/0005 - precedence_order/parameters.json b/__tests__/transpiler/cases/0005 - precedence_order/parameters.json similarity index 100% rename from __tests__/cases/0005 - precedence_order/parameters.json rename to __tests__/transpiler/cases/0005 - precedence_order/parameters.json diff --git a/__tests__/cases/0005 - precedence_order/rules.featws b/__tests__/transpiler/cases/0005 - precedence_order/rules.featws similarity index 100% rename from __tests__/cases/0005 - precedence_order/rules.featws rename to __tests__/transpiler/cases/0005 - precedence_order/rules.featws diff --git a/__tests__/cases/0006 - precedence_order2/expected.grl b/__tests__/transpiler/cases/0006 - precedence_order2/expected.grl similarity index 100% rename from __tests__/cases/0006 - precedence_order2/expected.grl rename to __tests__/transpiler/cases/0006 - precedence_order2/expected.grl diff --git a/__tests__/cases/0006 - precedence_order2/features.json b/__tests__/transpiler/cases/0006 - precedence_order2/features.json similarity index 100% rename from __tests__/cases/0006 - precedence_order2/features.json rename to __tests__/transpiler/cases/0006 - precedence_order2/features.json diff --git a/__tests__/cases/0006 - precedence_order2/parameters.json b/__tests__/transpiler/cases/0006 - precedence_order2/parameters.json similarity index 100% rename from __tests__/cases/0006 - precedence_order2/parameters.json rename to __tests__/transpiler/cases/0006 - precedence_order2/parameters.json diff --git a/__tests__/cases/0006 - precedence_order2/rules.featws b/__tests__/transpiler/cases/0006 - precedence_order2/rules.featws similarity index 100% rename from __tests__/cases/0006 - precedence_order2/rules.featws rename to __tests__/transpiler/cases/0006 - precedence_order2/rules.featws diff --git a/__tests__/cases/0007 - group _and_integer/expected.grl b/__tests__/transpiler/cases/0007 - group _and_integer/expected.grl similarity index 100% rename from __tests__/cases/0007 - group _and_integer/expected.grl rename to __tests__/transpiler/cases/0007 - group _and_integer/expected.grl diff --git a/__tests__/cases/0007 - group _and_integer/features.json b/__tests__/transpiler/cases/0007 - group _and_integer/features.json similarity index 100% rename from __tests__/cases/0007 - group _and_integer/features.json rename to __tests__/transpiler/cases/0007 - group _and_integer/features.json diff --git a/__tests__/cases/0007 - group _and_integer/groups/mygroup.json b/__tests__/transpiler/cases/0007 - group _and_integer/groups/mygroup.json similarity index 100% rename from __tests__/cases/0007 - group _and_integer/groups/mygroup.json rename to __tests__/transpiler/cases/0007 - group _and_integer/groups/mygroup.json diff --git a/__tests__/cases/0007 - group _and_integer/parameters.json b/__tests__/transpiler/cases/0007 - group _and_integer/parameters.json similarity index 100% rename from __tests__/cases/0007 - group _and_integer/parameters.json rename to __tests__/transpiler/cases/0007 - group _and_integer/parameters.json diff --git a/__tests__/cases/0007 - group _and_integer/rules.featws b/__tests__/transpiler/cases/0007 - group _and_integer/rules.featws similarity index 100% rename from __tests__/cases/0007 - group _and_integer/rules.featws rename to __tests__/transpiler/cases/0007 - group _and_integer/rules.featws diff --git a/__tests__/cases/0008 - group _intersection/expected.grl b/__tests__/transpiler/cases/0008 - group _intersection/expected.grl similarity index 100% rename from __tests__/cases/0008 - group _intersection/expected.grl rename to __tests__/transpiler/cases/0008 - group _intersection/expected.grl diff --git a/__tests__/cases/0008 - group _intersection/features.json b/__tests__/transpiler/cases/0008 - group _intersection/features.json similarity index 100% rename from __tests__/cases/0008 - group _intersection/features.json rename to __tests__/transpiler/cases/0008 - group _intersection/features.json diff --git a/__tests__/cases/0008 - group _intersection/groups/mygroup.json b/__tests__/transpiler/cases/0008 - group _intersection/groups/mygroup.json similarity index 100% rename from __tests__/cases/0008 - group _intersection/groups/mygroup.json rename to __tests__/transpiler/cases/0008 - group _intersection/groups/mygroup.json diff --git a/__tests__/cases/0008 - group _intersection/parameters.json b/__tests__/transpiler/cases/0008 - group _intersection/parameters.json similarity index 100% rename from __tests__/cases/0008 - group _intersection/parameters.json rename to __tests__/transpiler/cases/0008 - group _intersection/parameters.json diff --git a/__tests__/cases/0008 - group _intersection/rules.featws b/__tests__/transpiler/cases/0008 - group _intersection/rules.featws similarity index 100% rename from __tests__/cases/0008 - group _intersection/rules.featws rename to __tests__/transpiler/cases/0008 - group _intersection/rules.featws diff --git a/__tests__/cases/0009 - select_from_group/expected.grl b/__tests__/transpiler/cases/0009 - select_from_group/expected.grl similarity index 100% rename from __tests__/cases/0009 - select_from_group/expected.grl rename to __tests__/transpiler/cases/0009 - select_from_group/expected.grl diff --git a/__tests__/cases/0009 - select_from_group/features.json b/__tests__/transpiler/cases/0009 - select_from_group/features.json similarity index 100% rename from __tests__/cases/0009 - select_from_group/features.json rename to __tests__/transpiler/cases/0009 - select_from_group/features.json diff --git a/__tests__/cases/0009 - select_from_group/groups/client_occupation.json b/__tests__/transpiler/cases/0009 - select_from_group/groups/client_occupation.json similarity index 100% rename from __tests__/cases/0009 - select_from_group/groups/client_occupation.json rename to __tests__/transpiler/cases/0009 - select_from_group/groups/client_occupation.json diff --git a/__tests__/cases/0009 - select_from_group/parameters.json b/__tests__/transpiler/cases/0009 - select_from_group/parameters.json similarity index 100% rename from __tests__/cases/0009 - select_from_group/parameters.json rename to __tests__/transpiler/cases/0009 - select_from_group/parameters.json diff --git a/__tests__/cases/0009 - select_from_group/rules.featws b/__tests__/transpiler/cases/0009 - select_from_group/rules.featws similarity index 100% rename from __tests__/cases/0009 - select_from_group/rules.featws rename to __tests__/transpiler/cases/0009 - select_from_group/rules.featws diff --git a/__tests__/cases/0010 - compose_group/expected.grl b/__tests__/transpiler/cases/0010 - compose_group/expected.grl similarity index 100% rename from __tests__/cases/0010 - compose_group/expected.grl rename to __tests__/transpiler/cases/0010 - compose_group/expected.grl diff --git a/__tests__/cases/0010 - compose_group/features.json b/__tests__/transpiler/cases/0010 - compose_group/features.json similarity index 100% rename from __tests__/cases/0010 - compose_group/features.json rename to __tests__/transpiler/cases/0010 - compose_group/features.json diff --git a/__tests__/cases/0010 - compose_group/groups/integer_group.json b/__tests__/transpiler/cases/0010 - compose_group/groups/integer_group.json similarity index 100% rename from __tests__/cases/0010 - compose_group/groups/integer_group.json rename to __tests__/transpiler/cases/0010 - compose_group/groups/integer_group.json diff --git a/__tests__/cases/0010 - compose_group/groups/string_group.json b/__tests__/transpiler/cases/0010 - compose_group/groups/string_group.json similarity index 100% rename from __tests__/cases/0010 - compose_group/groups/string_group.json rename to __tests__/transpiler/cases/0010 - compose_group/groups/string_group.json diff --git a/__tests__/cases/0010 - compose_group/parameters.json b/__tests__/transpiler/cases/0010 - compose_group/parameters.json similarity index 100% rename from __tests__/cases/0010 - compose_group/parameters.json rename to __tests__/transpiler/cases/0010 - compose_group/parameters.json diff --git a/__tests__/cases/0010 - compose_group/rules.featws b/__tests__/transpiler/cases/0010 - compose_group/rules.featws similarity index 100% rename from __tests__/cases/0010 - compose_group/rules.featws rename to __tests__/transpiler/cases/0010 - compose_group/rules.featws diff --git a/__tests__/cases/0011 - condition_between/expected.grl b/__tests__/transpiler/cases/0011 - condition_between/expected.grl similarity index 100% rename from __tests__/cases/0011 - condition_between/expected.grl rename to __tests__/transpiler/cases/0011 - condition_between/expected.grl diff --git a/__tests__/cases/0011 - condition_between/features.json b/__tests__/transpiler/cases/0011 - condition_between/features.json similarity index 100% rename from __tests__/cases/0011 - condition_between/features.json rename to __tests__/transpiler/cases/0011 - condition_between/features.json diff --git a/__tests__/cases/0011 - condition_between/parameters.json b/__tests__/transpiler/cases/0011 - condition_between/parameters.json similarity index 100% rename from __tests__/cases/0011 - condition_between/parameters.json rename to __tests__/transpiler/cases/0011 - condition_between/parameters.json diff --git a/__tests__/cases/0011 - condition_between/rules.featws b/__tests__/transpiler/cases/0011 - condition_between/rules.featws similarity index 100% rename from __tests__/cases/0011 - condition_between/rules.featws rename to __tests__/transpiler/cases/0011 - condition_between/rules.featws diff --git a/__tests__/cases/0012 - increment_value/expected.grl b/__tests__/transpiler/cases/0012 - increment_value/expected.grl similarity index 100% rename from __tests__/cases/0012 - increment_value/expected.grl rename to __tests__/transpiler/cases/0012 - increment_value/expected.grl diff --git a/__tests__/cases/0012 - increment_value/features.json b/__tests__/transpiler/cases/0012 - increment_value/features.json similarity index 100% rename from __tests__/cases/0012 - increment_value/features.json rename to __tests__/transpiler/cases/0012 - increment_value/features.json diff --git a/__tests__/cases/0012 - increment_value/parameters.json b/__tests__/transpiler/cases/0012 - increment_value/parameters.json similarity index 100% rename from __tests__/cases/0012 - increment_value/parameters.json rename to __tests__/transpiler/cases/0012 - increment_value/parameters.json diff --git a/__tests__/cases/0012 - increment_value/rules.featws b/__tests__/transpiler/cases/0012 - increment_value/rules.featws similarity index 100% rename from __tests__/cases/0012 - increment_value/rules.featws rename to __tests__/transpiler/cases/0012 - increment_value/rules.featws diff --git a/__tests__/cases/0013 - two_subgroups/expected.grl b/__tests__/transpiler/cases/0013 - two_subgroups/expected.grl similarity index 100% rename from __tests__/cases/0013 - two_subgroups/expected.grl rename to __tests__/transpiler/cases/0013 - two_subgroups/expected.grl diff --git a/__tests__/cases/0013 - two_subgroups/features.json b/__tests__/transpiler/cases/0013 - two_subgroups/features.json similarity index 100% rename from __tests__/cases/0013 - two_subgroups/features.json rename to __tests__/transpiler/cases/0013 - two_subgroups/features.json diff --git a/__tests__/cases/0013 - two_subgroups/groups/car_group.json b/__tests__/transpiler/cases/0013 - two_subgroups/groups/car_group.json similarity index 100% rename from __tests__/cases/0013 - two_subgroups/groups/car_group.json rename to __tests__/transpiler/cases/0013 - two_subgroups/groups/car_group.json diff --git a/__tests__/cases/0013 - two_subgroups/parameters.json b/__tests__/transpiler/cases/0013 - two_subgroups/parameters.json similarity index 100% rename from __tests__/cases/0013 - two_subgroups/parameters.json rename to __tests__/transpiler/cases/0013 - two_subgroups/parameters.json diff --git a/__tests__/cases/0013 - two_subgroups/rules.featws b/__tests__/transpiler/cases/0013 - two_subgroups/rules.featws similarity index 100% rename from __tests__/cases/0013 - two_subgroups/rules.featws rename to __tests__/transpiler/cases/0013 - two_subgroups/rules.featws diff --git a/__tests__/cases/0014 - three_subgroups copy/expected.grl b/__tests__/transpiler/cases/0014 - three_subgroups copy/expected.grl similarity index 100% rename from __tests__/cases/0014 - three_subgroups copy/expected.grl rename to __tests__/transpiler/cases/0014 - three_subgroups copy/expected.grl diff --git a/__tests__/cases/0014 - three_subgroups copy/features.json b/__tests__/transpiler/cases/0014 - three_subgroups copy/features.json similarity index 100% rename from __tests__/cases/0014 - three_subgroups copy/features.json rename to __tests__/transpiler/cases/0014 - three_subgroups copy/features.json diff --git a/__tests__/cases/0014 - three_subgroups copy/groups/car_group.json b/__tests__/transpiler/cases/0014 - three_subgroups copy/groups/car_group.json similarity index 100% rename from __tests__/cases/0014 - three_subgroups copy/groups/car_group.json rename to __tests__/transpiler/cases/0014 - three_subgroups copy/groups/car_group.json diff --git a/__tests__/cases/0014 - three_subgroups copy/parameters.json b/__tests__/transpiler/cases/0014 - three_subgroups copy/parameters.json similarity index 100% rename from __tests__/cases/0014 - three_subgroups copy/parameters.json rename to __tests__/transpiler/cases/0014 - three_subgroups copy/parameters.json diff --git a/__tests__/cases/0014 - three_subgroups copy/rules.featws b/__tests__/transpiler/cases/0014 - three_subgroups copy/rules.featws similarity index 100% rename from __tests__/cases/0014 - three_subgroups copy/rules.featws rename to __tests__/transpiler/cases/0014 - three_subgroups copy/rules.featws diff --git a/__tests__/cases/0015 - target_group_integer/expected.grl b/__tests__/transpiler/cases/0015 - target_group_integer/expected.grl similarity index 100% rename from __tests__/cases/0015 - target_group_integer/expected.grl rename to __tests__/transpiler/cases/0015 - target_group_integer/expected.grl diff --git a/__tests__/cases/0015 - target_group_integer/features.json b/__tests__/transpiler/cases/0015 - target_group_integer/features.json similarity index 100% rename from __tests__/cases/0015 - target_group_integer/features.json rename to __tests__/transpiler/cases/0015 - target_group_integer/features.json diff --git a/__tests__/cases/0015 - target_group_integer/groups/south_brazil.json b/__tests__/transpiler/cases/0015 - target_group_integer/groups/south_brazil.json similarity index 100% rename from __tests__/cases/0015 - target_group_integer/groups/south_brazil.json rename to __tests__/transpiler/cases/0015 - target_group_integer/groups/south_brazil.json diff --git a/__tests__/cases/0015 - target_group_integer/parameters.json b/__tests__/transpiler/cases/0015 - target_group_integer/parameters.json similarity index 100% rename from __tests__/cases/0015 - target_group_integer/parameters.json rename to __tests__/transpiler/cases/0015 - target_group_integer/parameters.json diff --git a/__tests__/cases/0015 - target_group_integer/rules.featws b/__tests__/transpiler/cases/0015 - target_group_integer/rules.featws similarity index 100% rename from __tests__/cases/0015 - target_group_integer/rules.featws rename to __tests__/transpiler/cases/0015 - target_group_integer/rules.featws diff --git a/__tests__/cases/0016 - target_group_string/expected.grl b/__tests__/transpiler/cases/0016 - target_group_string/expected.grl similarity index 100% rename from __tests__/cases/0016 - target_group_string/expected.grl rename to __tests__/transpiler/cases/0016 - target_group_string/expected.grl diff --git a/__tests__/cases/0016 - target_group_string/features.json b/__tests__/transpiler/cases/0016 - target_group_string/features.json similarity index 100% rename from __tests__/cases/0016 - target_group_string/features.json rename to __tests__/transpiler/cases/0016 - target_group_string/features.json diff --git a/__tests__/cases/0016 - target_group_string/groups/south_brazil.json b/__tests__/transpiler/cases/0016 - target_group_string/groups/south_brazil.json similarity index 100% rename from __tests__/cases/0016 - target_group_string/groups/south_brazil.json rename to __tests__/transpiler/cases/0016 - target_group_string/groups/south_brazil.json diff --git a/__tests__/cases/0016 - target_group_string/parameters.json b/__tests__/transpiler/cases/0016 - target_group_string/parameters.json similarity index 100% rename from __tests__/cases/0016 - target_group_string/parameters.json rename to __tests__/transpiler/cases/0016 - target_group_string/parameters.json diff --git a/__tests__/cases/0016 - target_group_string/rules.featws b/__tests__/transpiler/cases/0016 - target_group_string/rules.featws similarity index 100% rename from __tests__/cases/0016 - target_group_string/rules.featws rename to __tests__/transpiler/cases/0016 - target_group_string/rules.featws diff --git a/__tests__/cases/0017 - target_group_string_and_integer/expected.grl b/__tests__/transpiler/cases/0017 - target_group_string_and_integer/expected.grl similarity index 100% rename from __tests__/cases/0017 - target_group_string_and_integer/expected.grl rename to __tests__/transpiler/cases/0017 - target_group_string_and_integer/expected.grl diff --git a/__tests__/cases/0017 - target_group_string_and_integer/features.json b/__tests__/transpiler/cases/0017 - target_group_string_and_integer/features.json similarity index 100% rename from __tests__/cases/0017 - target_group_string_and_integer/features.json rename to __tests__/transpiler/cases/0017 - target_group_string_and_integer/features.json diff --git a/__tests__/cases/0017 - target_group_string_and_integer/groups/south_brazil.json b/__tests__/transpiler/cases/0017 - target_group_string_and_integer/groups/south_brazil.json similarity index 100% rename from __tests__/cases/0017 - target_group_string_and_integer/groups/south_brazil.json rename to __tests__/transpiler/cases/0017 - target_group_string_and_integer/groups/south_brazil.json diff --git a/__tests__/cases/0017 - target_group_string_and_integer/parameters.json b/__tests__/transpiler/cases/0017 - target_group_string_and_integer/parameters.json similarity index 100% rename from __tests__/cases/0017 - target_group_string_and_integer/parameters.json rename to __tests__/transpiler/cases/0017 - target_group_string_and_integer/parameters.json diff --git a/__tests__/cases/0017 - target_group_string_and_integer/rules.featws b/__tests__/transpiler/cases/0017 - target_group_string_and_integer/rules.featws similarity index 100% rename from __tests__/cases/0017 - target_group_string_and_integer/rules.featws rename to __tests__/transpiler/cases/0017 - target_group_string_and_integer/rules.featws diff --git a/__tests__/cases/0018 - without_fallback/expected.grl b/__tests__/transpiler/cases/0018 - without_fallback/expected.grl similarity index 100% rename from __tests__/cases/0018 - without_fallback/expected.grl rename to __tests__/transpiler/cases/0018 - without_fallback/expected.grl diff --git a/__tests__/cases/0018 - without_fallback/features.json b/__tests__/transpiler/cases/0018 - without_fallback/features.json similarity index 100% rename from __tests__/cases/0018 - without_fallback/features.json rename to __tests__/transpiler/cases/0018 - without_fallback/features.json diff --git a/__tests__/cases/0018 - without_fallback/parameters.json b/__tests__/transpiler/cases/0018 - without_fallback/parameters.json similarity index 100% rename from __tests__/cases/0018 - without_fallback/parameters.json rename to __tests__/transpiler/cases/0018 - without_fallback/parameters.json diff --git a/__tests__/cases/0018 - without_fallback/rules.featws b/__tests__/transpiler/cases/0018 - without_fallback/rules.featws similarity index 100% rename from __tests__/cases/0018 - without_fallback/rules.featws rename to __tests__/transpiler/cases/0018 - without_fallback/rules.featws diff --git a/__tests__/cases/0019 - target_between_groups/expected.grl b/__tests__/transpiler/cases/0019 - target_between_groups/expected.grl similarity index 100% rename from __tests__/cases/0019 - target_between_groups/expected.grl rename to __tests__/transpiler/cases/0019 - target_between_groups/expected.grl diff --git a/__tests__/cases/0019 - target_between_groups/features.json b/__tests__/transpiler/cases/0019 - target_between_groups/features.json similarity index 100% rename from __tests__/cases/0019 - target_between_groups/features.json rename to __tests__/transpiler/cases/0019 - target_between_groups/features.json diff --git a/__tests__/cases/0019 - target_between_groups/groups/specific_code.json b/__tests__/transpiler/cases/0019 - target_between_groups/groups/specific_code.json similarity index 100% rename from __tests__/cases/0019 - target_between_groups/groups/specific_code.json rename to __tests__/transpiler/cases/0019 - target_between_groups/groups/specific_code.json diff --git a/__tests__/cases/0019 - target_between_groups/groups/transation_code.json b/__tests__/transpiler/cases/0019 - target_between_groups/groups/transation_code.json similarity index 100% rename from __tests__/cases/0019 - target_between_groups/groups/transation_code.json rename to __tests__/transpiler/cases/0019 - target_between_groups/groups/transation_code.json diff --git a/__tests__/cases/0019 - target_between_groups/parameters.json b/__tests__/transpiler/cases/0019 - target_between_groups/parameters.json similarity index 100% rename from __tests__/cases/0019 - target_between_groups/parameters.json rename to __tests__/transpiler/cases/0019 - target_between_groups/parameters.json diff --git a/__tests__/cases/0019 - target_between_groups/rules.featws b/__tests__/transpiler/cases/0019 - target_between_groups/rules.featws similarity index 100% rename from __tests__/cases/0019 - target_between_groups/rules.featws rename to __tests__/transpiler/cases/0019 - target_between_groups/rules.featws diff --git a/__tests__/cases/0020 - age_greater_18_one_parameter/expected.grl b/__tests__/transpiler/cases/0020 - age_greater_18_one_parameter/expected.grl similarity index 100% rename from __tests__/cases/0020 - age_greater_18_one_parameter/expected.grl rename to __tests__/transpiler/cases/0020 - age_greater_18_one_parameter/expected.grl diff --git a/__tests__/transpiler/cases/0020 - age_greater_18_one_parameter/features.json b/__tests__/transpiler/cases/0020 - age_greater_18_one_parameter/features.json new file mode 100644 index 0000000..d96807c --- /dev/null +++ b/__tests__/transpiler/cases/0020 - age_greater_18_one_parameter/features.json @@ -0,0 +1,9 @@ +[ + { + "name": "myboolfeat", + "type": "boolean", + "expires": "1h", + "default": false, + "fallback": false + } +] \ No newline at end of file diff --git a/__tests__/cases/0020 - age_greater_18_one_parameter/parameters.json b/__tests__/transpiler/cases/0020 - age_greater_18_one_parameter/parameters.json similarity index 100% rename from __tests__/cases/0020 - age_greater_18_one_parameter/parameters.json rename to __tests__/transpiler/cases/0020 - age_greater_18_one_parameter/parameters.json diff --git a/__tests__/cases/0020 - age_greater_18_one_parameter/rules.featws b/__tests__/transpiler/cases/0020 - age_greater_18_one_parameter/rules.featws similarity index 100% rename from __tests__/cases/0020 - age_greater_18_one_parameter/rules.featws rename to __tests__/transpiler/cases/0020 - age_greater_18_one_parameter/rules.featws diff --git a/__tests__/cases/0021 - age_greater_18_one_parameter_without_default/expected.grl b/__tests__/transpiler/cases/0021 - age_greater_18_one_parameter_without_default/expected.grl similarity index 100% rename from __tests__/cases/0021 - age_greater_18_one_parameter_without_default/expected.grl rename to __tests__/transpiler/cases/0021 - age_greater_18_one_parameter_without_default/expected.grl diff --git a/__tests__/cases/0021 - age_greater_18_one_parameter_without_default/features.json b/__tests__/transpiler/cases/0021 - age_greater_18_one_parameter_without_default/features.json similarity index 100% rename from __tests__/cases/0021 - age_greater_18_one_parameter_without_default/features.json rename to __tests__/transpiler/cases/0021 - age_greater_18_one_parameter_without_default/features.json diff --git a/__tests__/cases/0021 - age_greater_18_one_parameter_without_default/parameters.json b/__tests__/transpiler/cases/0021 - age_greater_18_one_parameter_without_default/parameters.json similarity index 100% rename from __tests__/cases/0021 - age_greater_18_one_parameter_without_default/parameters.json rename to __tests__/transpiler/cases/0021 - age_greater_18_one_parameter_without_default/parameters.json diff --git a/__tests__/cases/0021 - age_greater_18_one_parameter_without_default/rules.featws b/__tests__/transpiler/cases/0021 - age_greater_18_one_parameter_without_default/rules.featws similarity index 100% rename from __tests__/cases/0021 - age_greater_18_one_parameter_without_default/rules.featws rename to __tests__/transpiler/cases/0021 - age_greater_18_one_parameter_without_default/rules.featws diff --git a/__tests__/cases/0022 - age _6/expected.grl b/__tests__/transpiler/cases/0022 - age _6/expected.grl similarity index 100% rename from __tests__/cases/0022 - age _6/expected.grl rename to __tests__/transpiler/cases/0022 - age _6/expected.grl diff --git a/__tests__/cases/0022 - age _6/features.json b/__tests__/transpiler/cases/0022 - age _6/features.json similarity index 100% rename from __tests__/cases/0022 - age _6/features.json rename to __tests__/transpiler/cases/0022 - age _6/features.json diff --git a/__tests__/cases/0022 - age _6/parameters.json b/__tests__/transpiler/cases/0022 - age _6/parameters.json similarity index 100% rename from __tests__/cases/0022 - age _6/parameters.json rename to __tests__/transpiler/cases/0022 - age _6/parameters.json diff --git a/__tests__/cases/0022 - age _6/rules.featws b/__tests__/transpiler/cases/0022 - age _6/rules.featws similarity index 100% rename from __tests__/cases/0022 - age _6/rules.featws rename to __tests__/transpiler/cases/0022 - age _6/rules.featws diff --git a/__tests__/cases/0023 - age _8/expected.grl b/__tests__/transpiler/cases/0023 - age _8/expected.grl similarity index 100% rename from __tests__/cases/0023 - age _8/expected.grl rename to __tests__/transpiler/cases/0023 - age _8/expected.grl diff --git a/__tests__/cases/0023 - age _8/features.json b/__tests__/transpiler/cases/0023 - age _8/features.json similarity index 100% rename from __tests__/cases/0023 - age _8/features.json rename to __tests__/transpiler/cases/0023 - age _8/features.json diff --git a/__tests__/cases/0023 - age _8/parameters.json b/__tests__/transpiler/cases/0023 - age _8/parameters.json similarity index 100% rename from __tests__/cases/0023 - age _8/parameters.json rename to __tests__/transpiler/cases/0023 - age _8/parameters.json diff --git a/__tests__/cases/0023 - age _8/rules.featws b/__tests__/transpiler/cases/0023 - age _8/rules.featws similarity index 100% rename from __tests__/cases/0023 - age _8/rules.featws rename to __tests__/transpiler/cases/0023 - age _8/rules.featws diff --git a/__tests__/cases/0024 - age _10/expected.grl b/__tests__/transpiler/cases/0024 - age _10/expected.grl similarity index 100% rename from __tests__/cases/0024 - age _10/expected.grl rename to __tests__/transpiler/cases/0024 - age _10/expected.grl diff --git a/__tests__/cases/0024 - age _10/features.json b/__tests__/transpiler/cases/0024 - age _10/features.json similarity index 100% rename from __tests__/cases/0024 - age _10/features.json rename to __tests__/transpiler/cases/0024 - age _10/features.json diff --git a/__tests__/cases/0024 - age _10/parameters.json b/__tests__/transpiler/cases/0024 - age _10/parameters.json similarity index 100% rename from __tests__/cases/0024 - age _10/parameters.json rename to __tests__/transpiler/cases/0024 - age _10/parameters.json diff --git a/__tests__/cases/0024 - age _10/rules.featws b/__tests__/transpiler/cases/0024 - age _10/rules.featws similarity index 100% rename from __tests__/cases/0024 - age _10/rules.featws rename to __tests__/transpiler/cases/0024 - age _10/rules.featws diff --git a/__tests__/cases/0025 - age _squared/expected.grl b/__tests__/transpiler/cases/0025 - age _squared/expected.grl similarity index 100% rename from __tests__/cases/0025 - age _squared/expected.grl rename to __tests__/transpiler/cases/0025 - age _squared/expected.grl diff --git a/__tests__/cases/0025 - age _squared/features.json b/__tests__/transpiler/cases/0025 - age _squared/features.json similarity index 100% rename from __tests__/cases/0025 - age _squared/features.json rename to __tests__/transpiler/cases/0025 - age _squared/features.json diff --git a/__tests__/cases/0025 - age _squared/parameters.json b/__tests__/transpiler/cases/0025 - age _squared/parameters.json similarity index 100% rename from __tests__/cases/0025 - age _squared/parameters.json rename to __tests__/transpiler/cases/0025 - age _squared/parameters.json diff --git a/__tests__/cases/0025 - age _squared/rules.featws b/__tests__/transpiler/cases/0025 - age _squared/rules.featws similarity index 100% rename from __tests__/cases/0025 - age _squared/rules.featws rename to __tests__/transpiler/cases/0025 - age _squared/rules.featws diff --git a/__tests__/cases/0026 - age _cubed/expected.grl b/__tests__/transpiler/cases/0026 - age _cubed/expected.grl similarity index 100% rename from __tests__/cases/0026 - age _cubed/expected.grl rename to __tests__/transpiler/cases/0026 - age _cubed/expected.grl diff --git a/__tests__/cases/0026 - age _cubed/features.json b/__tests__/transpiler/cases/0026 - age _cubed/features.json similarity index 100% rename from __tests__/cases/0026 - age _cubed/features.json rename to __tests__/transpiler/cases/0026 - age _cubed/features.json diff --git a/__tests__/cases/0026 - age _cubed/parameters.json b/__tests__/transpiler/cases/0026 - age _cubed/parameters.json similarity index 100% rename from __tests__/cases/0026 - age _cubed/parameters.json rename to __tests__/transpiler/cases/0026 - age _cubed/parameters.json diff --git a/__tests__/cases/0026 - age _cubed/rules.featws b/__tests__/transpiler/cases/0026 - age _cubed/rules.featws similarity index 100% rename from __tests__/cases/0026 - age _cubed/rules.featws rename to __tests__/transpiler/cases/0026 - age _cubed/rules.featws diff --git a/__tests__/cases/0028 - positive_balance/expected.grl b/__tests__/transpiler/cases/0028 - positive_balance/expected.grl similarity index 100% rename from __tests__/cases/0028 - positive_balance/expected.grl rename to __tests__/transpiler/cases/0028 - positive_balance/expected.grl diff --git a/__tests__/cases/0028 - positive_balance/features.json b/__tests__/transpiler/cases/0028 - positive_balance/features.json similarity index 100% rename from __tests__/cases/0028 - positive_balance/features.json rename to __tests__/transpiler/cases/0028 - positive_balance/features.json diff --git a/__tests__/cases/0028 - positive_balance/parameters.json b/__tests__/transpiler/cases/0028 - positive_balance/parameters.json similarity index 100% rename from __tests__/cases/0028 - positive_balance/parameters.json rename to __tests__/transpiler/cases/0028 - positive_balance/parameters.json diff --git a/__tests__/cases/0028 - positive_balance/rules.featws b/__tests__/transpiler/cases/0028 - positive_balance/rules.featws similarity index 100% rename from __tests__/cases/0028 - positive_balance/rules.featws rename to __tests__/transpiler/cases/0028 - positive_balance/rules.featws diff --git a/__tests__/cases/0030 - references_a_non-existing_group/expected.error b/__tests__/transpiler/cases/0030 - references_a_non-existing_group/expected.error similarity index 100% rename from __tests__/cases/0030 - references_a_non-existing_group/expected.error rename to __tests__/transpiler/cases/0030 - references_a_non-existing_group/expected.error diff --git a/__tests__/cases/0030 - references_a_non-existing_group/features.json b/__tests__/transpiler/cases/0030 - references_a_non-existing_group/features.json similarity index 100% rename from __tests__/cases/0030 - references_a_non-existing_group/features.json rename to __tests__/transpiler/cases/0030 - references_a_non-existing_group/features.json diff --git a/__tests__/cases/0030 - references_a_non-existing_group/groups/wrong_group_name.json b/__tests__/transpiler/cases/0030 - references_a_non-existing_group/groups/wrong_group_name.json similarity index 100% rename from __tests__/cases/0030 - references_a_non-existing_group/groups/wrong_group_name.json rename to __tests__/transpiler/cases/0030 - references_a_non-existing_group/groups/wrong_group_name.json diff --git a/__tests__/cases/0030 - references_a_non-existing_group/parameters.json b/__tests__/transpiler/cases/0030 - references_a_non-existing_group/parameters.json similarity index 100% rename from __tests__/cases/0030 - references_a_non-existing_group/parameters.json rename to __tests__/transpiler/cases/0030 - references_a_non-existing_group/parameters.json diff --git a/__tests__/cases/0030 - references_a_non-existing_group/rules.featws b/__tests__/transpiler/cases/0030 - references_a_non-existing_group/rules.featws similarity index 100% rename from __tests__/cases/0030 - references_a_non-existing_group/rules.featws rename to __tests__/transpiler/cases/0030 - references_a_non-existing_group/rules.featws diff --git a/__tests__/cases/0031 - references_a_non-existing_type_context/expected.error b/__tests__/transpiler/cases/0031 - references_a_non-existing_type_context/expected.error similarity index 100% rename from __tests__/cases/0031 - references_a_non-existing_type_context/expected.error rename to __tests__/transpiler/cases/0031 - references_a_non-existing_type_context/expected.error diff --git a/__tests__/cases/0031 - references_a_non-existing_type_context/features.json b/__tests__/transpiler/cases/0031 - references_a_non-existing_type_context/features.json similarity index 100% rename from __tests__/cases/0031 - references_a_non-existing_type_context/features.json rename to __tests__/transpiler/cases/0031 - references_a_non-existing_type_context/features.json diff --git a/__tests__/cases/0031 - references_a_non-existing_type_context/groups/wrong_group_name.json b/__tests__/transpiler/cases/0031 - references_a_non-existing_type_context/groups/wrong_group_name.json similarity index 100% rename from __tests__/cases/0031 - references_a_non-existing_type_context/groups/wrong_group_name.json rename to __tests__/transpiler/cases/0031 - references_a_non-existing_type_context/groups/wrong_group_name.json diff --git a/__tests__/cases/0031 - references_a_non-existing_type_context/parameters.json b/__tests__/transpiler/cases/0031 - references_a_non-existing_type_context/parameters.json similarity index 100% rename from __tests__/cases/0031 - references_a_non-existing_type_context/parameters.json rename to __tests__/transpiler/cases/0031 - references_a_non-existing_type_context/parameters.json diff --git a/__tests__/cases/0031 - references_a_non-existing_type_context/rules.featws b/__tests__/transpiler/cases/0031 - references_a_non-existing_type_context/rules.featws similarity index 100% rename from __tests__/cases/0031 - references_a_non-existing_type_context/rules.featws rename to __tests__/transpiler/cases/0031 - references_a_non-existing_type_context/rules.featws diff --git a/__tests__/cases/0032 - references_a_non-existing_type_result/expected.error b/__tests__/transpiler/cases/0032 - references_a_non-existing_type_result/expected.error similarity index 100% rename from __tests__/cases/0032 - references_a_non-existing_type_result/expected.error rename to __tests__/transpiler/cases/0032 - references_a_non-existing_type_result/expected.error diff --git a/__tests__/cases/0032 - references_a_non-existing_type_result/features.json b/__tests__/transpiler/cases/0032 - references_a_non-existing_type_result/features.json similarity index 100% rename from __tests__/cases/0032 - references_a_non-existing_type_result/features.json rename to __tests__/transpiler/cases/0032 - references_a_non-existing_type_result/features.json diff --git a/__tests__/cases/0032 - references_a_non-existing_type_result/groups/wrong_group_name.json b/__tests__/transpiler/cases/0032 - references_a_non-existing_type_result/groups/wrong_group_name.json similarity index 100% rename from __tests__/cases/0032 - references_a_non-existing_type_result/groups/wrong_group_name.json rename to __tests__/transpiler/cases/0032 - references_a_non-existing_type_result/groups/wrong_group_name.json diff --git a/__tests__/cases/0032 - references_a_non-existing_type_result/parameters.json b/__tests__/transpiler/cases/0032 - references_a_non-existing_type_result/parameters.json similarity index 100% rename from __tests__/cases/0032 - references_a_non-existing_type_result/parameters.json rename to __tests__/transpiler/cases/0032 - references_a_non-existing_type_result/parameters.json diff --git a/__tests__/cases/0032 - references_a_non-existing_type_result/rules.featws b/__tests__/transpiler/cases/0032 - references_a_non-existing_type_result/rules.featws similarity index 100% rename from __tests__/cases/0032 - references_a_non-existing_type_result/rules.featws rename to __tests__/transpiler/cases/0032 - references_a_non-existing_type_result/rules.featws diff --git a/__tests__/cases/0033 - simple_feature_in_extended_format/expected.grl b/__tests__/transpiler/cases/0033 - simple_feature_in_extended_format/expected.grl similarity index 100% rename from __tests__/cases/0033 - simple_feature_in_extended_format/expected.grl rename to __tests__/transpiler/cases/0033 - simple_feature_in_extended_format/expected.grl diff --git a/__tests__/transpiler/cases/0033 - simple_feature_in_extended_format/features.json b/__tests__/transpiler/cases/0033 - simple_feature_in_extended_format/features.json new file mode 100644 index 0000000..d96807c --- /dev/null +++ b/__tests__/transpiler/cases/0033 - simple_feature_in_extended_format/features.json @@ -0,0 +1,9 @@ +[ + { + "name": "myboolfeat", + "type": "boolean", + "expires": "1h", + "default": false, + "fallback": false + } +] \ No newline at end of file diff --git a/__tests__/cases/0039 - nested_4_feature_with_condition/parameters.json b/__tests__/transpiler/cases/0033 - simple_feature_in_extended_format/parameters.json similarity index 100% rename from __tests__/cases/0039 - nested_4_feature_with_condition/parameters.json rename to __tests__/transpiler/cases/0033 - simple_feature_in_extended_format/parameters.json diff --git a/__tests__/cases/0033 - simple_feature_in_extended_format/rules.featws b/__tests__/transpiler/cases/0033 - simple_feature_in_extended_format/rules.featws similarity index 100% rename from __tests__/cases/0033 - simple_feature_in_extended_format/rules.featws rename to __tests__/transpiler/cases/0033 - simple_feature_in_extended_format/rules.featws diff --git a/__tests__/cases/0034 - simple_feature_with_condition/expected.grl b/__tests__/transpiler/cases/0034 - simple_feature_with_condition/expected.grl similarity index 100% rename from __tests__/cases/0034 - simple_feature_with_condition/expected.grl rename to __tests__/transpiler/cases/0034 - simple_feature_with_condition/expected.grl diff --git a/__tests__/cases/0034 - simple_feature_with_condition/features.json b/__tests__/transpiler/cases/0034 - simple_feature_with_condition/features.json similarity index 100% rename from __tests__/cases/0034 - simple_feature_with_condition/features.json rename to __tests__/transpiler/cases/0034 - simple_feature_with_condition/features.json diff --git a/__tests__/cases/0034 - simple_feature_with_condition/parameters.json b/__tests__/transpiler/cases/0034 - simple_feature_with_condition/parameters.json similarity index 100% rename from __tests__/cases/0034 - simple_feature_with_condition/parameters.json rename to __tests__/transpiler/cases/0034 - simple_feature_with_condition/parameters.json diff --git a/__tests__/cases/0034 - simple_feature_with_condition/rules.featws b/__tests__/transpiler/cases/0034 - simple_feature_with_condition/rules.featws similarity index 100% rename from __tests__/cases/0034 - simple_feature_with_condition/rules.featws rename to __tests__/transpiler/cases/0034 - simple_feature_with_condition/rules.featws diff --git a/__tests__/cases/0035 - compose_feature_with_condition/expected.grl b/__tests__/transpiler/cases/0035 - compose_feature_with_condition/expected.grl similarity index 100% rename from __tests__/cases/0035 - compose_feature_with_condition/expected.grl rename to __tests__/transpiler/cases/0035 - compose_feature_with_condition/expected.grl diff --git a/__tests__/cases/0035 - compose_feature_with_condition/features.json b/__tests__/transpiler/cases/0035 - compose_feature_with_condition/features.json similarity index 100% rename from __tests__/cases/0035 - compose_feature_with_condition/features.json rename to __tests__/transpiler/cases/0035 - compose_feature_with_condition/features.json diff --git a/__tests__/cases/0035 - compose_feature_with_condition/parameters.json b/__tests__/transpiler/cases/0035 - compose_feature_with_condition/parameters.json similarity index 100% rename from __tests__/cases/0035 - compose_feature_with_condition/parameters.json rename to __tests__/transpiler/cases/0035 - compose_feature_with_condition/parameters.json diff --git a/__tests__/cases/0035 - compose_feature_with_condition/rules.featws b/__tests__/transpiler/cases/0035 - compose_feature_with_condition/rules.featws similarity index 100% rename from __tests__/cases/0035 - compose_feature_with_condition/rules.featws rename to __tests__/transpiler/cases/0035 - compose_feature_with_condition/rules.featws diff --git a/__tests__/cases/0036 - target_with_condition/expected.grl b/__tests__/transpiler/cases/0036 - target_with_condition/expected.grl similarity index 100% rename from __tests__/cases/0036 - target_with_condition/expected.grl rename to __tests__/transpiler/cases/0036 - target_with_condition/expected.grl diff --git a/__tests__/cases/0036 - target_with_condition/features.json b/__tests__/transpiler/cases/0036 - target_with_condition/features.json similarity index 100% rename from __tests__/cases/0036 - target_with_condition/features.json rename to __tests__/transpiler/cases/0036 - target_with_condition/features.json diff --git a/__tests__/cases/0036 - target_with_condition/groups/simple_group.json b/__tests__/transpiler/cases/0036 - target_with_condition/groups/simple_group.json similarity index 100% rename from __tests__/cases/0036 - target_with_condition/groups/simple_group.json rename to __tests__/transpiler/cases/0036 - target_with_condition/groups/simple_group.json diff --git a/__tests__/cases/0036 - target_with_condition/parameters.json b/__tests__/transpiler/cases/0036 - target_with_condition/parameters.json similarity index 100% rename from __tests__/cases/0036 - target_with_condition/parameters.json rename to __tests__/transpiler/cases/0036 - target_with_condition/parameters.json diff --git a/__tests__/cases/0036 - target_with_condition/rules.featws b/__tests__/transpiler/cases/0036 - target_with_condition/rules.featws similarity index 100% rename from __tests__/cases/0036 - target_with_condition/rules.featws rename to __tests__/transpiler/cases/0036 - target_with_condition/rules.featws diff --git a/__tests__/cases/0037 - feature_with_condition_false/expected.grl b/__tests__/transpiler/cases/0037 - feature_with_condition_false/expected.grl similarity index 100% rename from __tests__/cases/0037 - feature_with_condition_false/expected.grl rename to __tests__/transpiler/cases/0037 - feature_with_condition_false/expected.grl diff --git a/__tests__/cases/0037 - feature_with_condition_false/features.json b/__tests__/transpiler/cases/0037 - feature_with_condition_false/features.json similarity index 100% rename from __tests__/cases/0037 - feature_with_condition_false/features.json rename to __tests__/transpiler/cases/0037 - feature_with_condition_false/features.json diff --git a/__tests__/cases/0037 - feature_with_condition_false/parameters.json b/__tests__/transpiler/cases/0037 - feature_with_condition_false/parameters.json similarity index 100% rename from __tests__/cases/0037 - feature_with_condition_false/parameters.json rename to __tests__/transpiler/cases/0037 - feature_with_condition_false/parameters.json diff --git a/__tests__/cases/0037 - feature_with_condition_false/rules.featws b/__tests__/transpiler/cases/0037 - feature_with_condition_false/rules.featws similarity index 100% rename from __tests__/cases/0037 - feature_with_condition_false/rules.featws rename to __tests__/transpiler/cases/0037 - feature_with_condition_false/rules.featws diff --git a/__tests__/cases/0038 - string_feature_with_condition/expected.grl b/__tests__/transpiler/cases/0038 - string_feature_with_condition/expected.grl similarity index 100% rename from __tests__/cases/0038 - string_feature_with_condition/expected.grl rename to __tests__/transpiler/cases/0038 - string_feature_with_condition/expected.grl diff --git a/__tests__/cases/0038 - string_feature_with_condition/features.json b/__tests__/transpiler/cases/0038 - string_feature_with_condition/features.json similarity index 100% rename from __tests__/cases/0038 - string_feature_with_condition/features.json rename to __tests__/transpiler/cases/0038 - string_feature_with_condition/features.json diff --git a/__tests__/cases/0038 - string_feature_with_condition/parameters.json b/__tests__/transpiler/cases/0038 - string_feature_with_condition/parameters.json similarity index 100% rename from __tests__/cases/0038 - string_feature_with_condition/parameters.json rename to __tests__/transpiler/cases/0038 - string_feature_with_condition/parameters.json diff --git a/__tests__/cases/0038 - string_feature_with_condition/rules.featws b/__tests__/transpiler/cases/0038 - string_feature_with_condition/rules.featws similarity index 100% rename from __tests__/cases/0038 - string_feature_with_condition/rules.featws rename to __tests__/transpiler/cases/0038 - string_feature_with_condition/rules.featws diff --git a/__tests__/cases/0039 - nested_4_feature_with_condition/expected.grl b/__tests__/transpiler/cases/0039 - nested_4_feature_with_condition/expected.grl similarity index 100% rename from __tests__/cases/0039 - nested_4_feature_with_condition/expected.grl rename to __tests__/transpiler/cases/0039 - nested_4_feature_with_condition/expected.grl diff --git a/__tests__/cases/0039 - nested_4_feature_with_condition/features.json b/__tests__/transpiler/cases/0039 - nested_4_feature_with_condition/features.json similarity index 100% rename from __tests__/cases/0039 - nested_4_feature_with_condition/features.json rename to __tests__/transpiler/cases/0039 - nested_4_feature_with_condition/features.json diff --git a/__tests__/transpiler/cases/0039 - nested_4_feature_with_condition/parameters.json b/__tests__/transpiler/cases/0039 - nested_4_feature_with_condition/parameters.json new file mode 100644 index 0000000..2290511 --- /dev/null +++ b/__tests__/transpiler/cases/0039 - nested_4_feature_with_condition/parameters.json @@ -0,0 +1,6 @@ +[ + { + "name": "mynumber", + "type": "integer" + } +] \ No newline at end of file diff --git a/__tests__/cases/0039 - nested_4_feature_with_condition/rules.featws b/__tests__/transpiler/cases/0039 - nested_4_feature_with_condition/rules.featws similarity index 100% rename from __tests__/cases/0039 - nested_4_feature_with_condition/rules.featws rename to __tests__/transpiler/cases/0039 - nested_4_feature_with_condition/rules.featws diff --git a/__tests__/cases/0040 - simple_resolver/expected.grl b/__tests__/transpiler/cases/0040 - simple_resolver/expected.grl similarity index 100% rename from __tests__/cases/0040 - simple_resolver/expected.grl rename to __tests__/transpiler/cases/0040 - simple_resolver/expected.grl diff --git a/__tests__/cases/0040 - simple_resolver/features.json b/__tests__/transpiler/cases/0040 - simple_resolver/features.json similarity index 100% rename from __tests__/cases/0040 - simple_resolver/features.json rename to __tests__/transpiler/cases/0040 - simple_resolver/features.json diff --git a/__tests__/cases/0040 - simple_resolver/parameters.json b/__tests__/transpiler/cases/0040 - simple_resolver/parameters.json similarity index 100% rename from __tests__/cases/0040 - simple_resolver/parameters.json rename to __tests__/transpiler/cases/0040 - simple_resolver/parameters.json diff --git a/__tests__/cases/0040 - simple_resolver/rules.featws b/__tests__/transpiler/cases/0040 - simple_resolver/rules.featws similarity index 100% rename from __tests__/cases/0040 - simple_resolver/rules.featws rename to __tests__/transpiler/cases/0040 - simple_resolver/rules.featws diff --git a/__tests__/cases/0041 - resolver_with_map/expected.grl b/__tests__/transpiler/cases/0041 - resolver_with_map/expected.grl similarity index 100% rename from __tests__/cases/0041 - resolver_with_map/expected.grl rename to __tests__/transpiler/cases/0041 - resolver_with_map/expected.grl diff --git a/__tests__/cases/0041 - resolver_with_map/features.json b/__tests__/transpiler/cases/0041 - resolver_with_map/features.json similarity index 100% rename from __tests__/cases/0041 - resolver_with_map/features.json rename to __tests__/transpiler/cases/0041 - resolver_with_map/features.json diff --git a/__tests__/cases/0041 - resolver_with_map/parameters.json b/__tests__/transpiler/cases/0041 - resolver_with_map/parameters.json similarity index 100% rename from __tests__/cases/0041 - resolver_with_map/parameters.json rename to __tests__/transpiler/cases/0041 - resolver_with_map/parameters.json diff --git a/__tests__/cases/0041 - resolver_with_map/rules.featws b/__tests__/transpiler/cases/0041 - resolver_with_map/rules.featws similarity index 100% rename from __tests__/cases/0041 - resolver_with_map/rules.featws rename to __tests__/transpiler/cases/0041 - resolver_with_map/rules.featws diff --git a/__tests__/cases/0042 - error_get_invalid_type/expected.grl b/__tests__/transpiler/cases/0042 - error_get_invalid_type/expected.grl similarity index 98% rename from __tests__/cases/0042 - error_get_invalid_type/expected.grl rename to __tests__/transpiler/cases/0042 - error_get_invalid_type/expected.grl index 959ce3f..dfc30d2 100644 --- a/__tests__/cases/0042 - error_get_invalid_type/expected.grl +++ b/__tests__/transpiler/cases/0042 - error_get_invalid_type/expected.grl @@ -82,7 +82,7 @@ rule feat_myage salience 1003 { when true then - ctx.Put("myage", ctx.GetString("age")); + ctx.Put("myage", ctx.GetInt("age")); result.Put("myage", ctx.GetInt("myage")); @@ -106,7 +106,7 @@ rule feat_menoridade salience 1003 { when true then - ctx.Put("menoridade", ctx.GetString("age") < 18); + ctx.Put("menoridade", ctx.GetInt("age") < 18); result.Put("menoridade", ctx.GetBool("menoridade")); diff --git a/__tests__/cases/0042 - error_get_invalid_type/features.json b/__tests__/transpiler/cases/0042 - error_get_invalid_type/features.json similarity index 100% rename from __tests__/cases/0042 - error_get_invalid_type/features.json rename to __tests__/transpiler/cases/0042 - error_get_invalid_type/features.json diff --git a/__tests__/cases/0042 - error_get_invalid_type/groups/mygroup.json b/__tests__/transpiler/cases/0042 - error_get_invalid_type/groups/mygroup.json similarity index 100% rename from __tests__/cases/0042 - error_get_invalid_type/groups/mygroup.json rename to __tests__/transpiler/cases/0042 - error_get_invalid_type/groups/mygroup.json diff --git a/__tests__/cases/0042 - error_get_invalid_type/groups/mymcigroup.json b/__tests__/transpiler/cases/0042 - error_get_invalid_type/groups/mymcigroup.json similarity index 100% rename from __tests__/cases/0042 - error_get_invalid_type/groups/mymcigroup.json rename to __tests__/transpiler/cases/0042 - error_get_invalid_type/groups/mymcigroup.json diff --git a/__tests__/cases/0042 - error_get_invalid_type/parameters.json b/__tests__/transpiler/cases/0042 - error_get_invalid_type/parameters.json similarity index 93% rename from __tests__/cases/0042 - error_get_invalid_type/parameters.json rename to __tests__/transpiler/cases/0042 - error_get_invalid_type/parameters.json index 6c7e5b8..62052d8 100644 --- a/__tests__/cases/0042 - error_get_invalid_type/parameters.json +++ b/__tests__/transpiler/cases/0042 - error_get_invalid_type/parameters.json @@ -6,7 +6,7 @@ { "name": "age", "resolver": "datacontroller", - "type": "string" + "type": "integer" }, { "name": "branch", diff --git a/__tests__/cases/0042 - error_get_invalid_type/rules.featws b/__tests__/transpiler/cases/0042 - error_get_invalid_type/rules.featws similarity index 100% rename from __tests__/cases/0042 - error_get_invalid_type/rules.featws rename to __tests__/transpiler/cases/0042 - error_get_invalid_type/rules.featws diff --git a/__tests__/cases/0043 - return_json_extended_format/expected.grl b/__tests__/transpiler/cases/0043 - return_json_extended_format/expected.grl similarity index 100% rename from __tests__/cases/0043 - return_json_extended_format/expected.grl rename to __tests__/transpiler/cases/0043 - return_json_extended_format/expected.grl diff --git a/__tests__/cases/0043 - return_json_extended_format/features.json b/__tests__/transpiler/cases/0043 - return_json_extended_format/features.json similarity index 100% rename from __tests__/cases/0043 - return_json_extended_format/features.json rename to __tests__/transpiler/cases/0043 - return_json_extended_format/features.json diff --git a/__tests__/cases/0043 - return_json_extended_format/parameters.json b/__tests__/transpiler/cases/0043 - return_json_extended_format/parameters.json similarity index 100% rename from __tests__/cases/0043 - return_json_extended_format/parameters.json rename to __tests__/transpiler/cases/0043 - return_json_extended_format/parameters.json diff --git a/__tests__/cases/0043 - return_json_extended_format/rules.featws b/__tests__/transpiler/cases/0043 - return_json_extended_format/rules.featws similarity index 100% rename from __tests__/cases/0043 - return_json_extended_format/rules.featws rename to __tests__/transpiler/cases/0043 - return_json_extended_format/rules.featws diff --git a/__tests__/cases/0044 - return_json_extended_format_feat_slice/expected.grl b/__tests__/transpiler/cases/0044 - return_json_extended_format_feat_slice/expected.grl similarity index 100% rename from __tests__/cases/0044 - return_json_extended_format_feat_slice/expected.grl rename to __tests__/transpiler/cases/0044 - return_json_extended_format_feat_slice/expected.grl diff --git a/__tests__/cases/0044 - return_json_extended_format_feat_slice/features.json b/__tests__/transpiler/cases/0044 - return_json_extended_format_feat_slice/features.json similarity index 100% rename from __tests__/cases/0044 - return_json_extended_format_feat_slice/features.json rename to __tests__/transpiler/cases/0044 - return_json_extended_format_feat_slice/features.json diff --git a/__tests__/cases/0044 - return_json_extended_format_feat_slice/parameters.json b/__tests__/transpiler/cases/0044 - return_json_extended_format_feat_slice/parameters.json similarity index 100% rename from __tests__/cases/0044 - return_json_extended_format_feat_slice/parameters.json rename to __tests__/transpiler/cases/0044 - return_json_extended_format_feat_slice/parameters.json diff --git a/__tests__/cases/0044 - return_json_extended_format_feat_slice/rules.featws b/__tests__/transpiler/cases/0044 - return_json_extended_format_feat_slice/rules.featws similarity index 100% rename from __tests__/cases/0044 - return_json_extended_format_feat_slice/rules.featws rename to __tests__/transpiler/cases/0044 - return_json_extended_format_feat_slice/rules.featws diff --git a/__tests__/cases/0045 - resolver_with_map_with_required/expected.grl b/__tests__/transpiler/cases/0045 - resolver_with_map_with_required/expected.grl similarity index 100% rename from __tests__/cases/0045 - resolver_with_map_with_required/expected.grl rename to __tests__/transpiler/cases/0045 - resolver_with_map_with_required/expected.grl diff --git a/__tests__/cases/0045 - resolver_with_map_with_required/features.json b/__tests__/transpiler/cases/0045 - resolver_with_map_with_required/features.json similarity index 100% rename from __tests__/cases/0045 - resolver_with_map_with_required/features.json rename to __tests__/transpiler/cases/0045 - resolver_with_map_with_required/features.json diff --git a/__tests__/cases/0045 - resolver_with_map_with_required/parameters.json b/__tests__/transpiler/cases/0045 - resolver_with_map_with_required/parameters.json similarity index 100% rename from __tests__/cases/0045 - resolver_with_map_with_required/parameters.json rename to __tests__/transpiler/cases/0045 - resolver_with_map_with_required/parameters.json diff --git a/__tests__/cases/0045 - resolver_with_map_with_required/rules.featws b/__tests__/transpiler/cases/0045 - resolver_with_map_with_required/rules.featws similarity index 100% rename from __tests__/cases/0045 - resolver_with_map_with_required/rules.featws rename to __tests__/transpiler/cases/0045 - resolver_with_map_with_required/rules.featws diff --git a/__tests__/cases/0046 - resolver_and_feature_required/expected.grl b/__tests__/transpiler/cases/0046 - resolver_and_feature_required/expected.grl similarity index 100% rename from __tests__/cases/0046 - resolver_and_feature_required/expected.grl rename to __tests__/transpiler/cases/0046 - resolver_and_feature_required/expected.grl diff --git a/__tests__/cases/0046 - resolver_and_feature_required/features.json b/__tests__/transpiler/cases/0046 - resolver_and_feature_required/features.json similarity index 100% rename from __tests__/cases/0046 - resolver_and_feature_required/features.json rename to __tests__/transpiler/cases/0046 - resolver_and_feature_required/features.json diff --git a/__tests__/cases/0046 - resolver_and_feature_required/parameters.json b/__tests__/transpiler/cases/0046 - resolver_and_feature_required/parameters.json similarity index 100% rename from __tests__/cases/0046 - resolver_and_feature_required/parameters.json rename to __tests__/transpiler/cases/0046 - resolver_and_feature_required/parameters.json diff --git a/__tests__/cases/0046 - resolver_and_feature_required/rules.featws b/__tests__/transpiler/cases/0046 - resolver_and_feature_required/rules.featws similarity index 100% rename from __tests__/cases/0046 - resolver_and_feature_required/rules.featws rename to __tests__/transpiler/cases/0046 - resolver_and_feature_required/rules.featws diff --git a/__tests__/cases/0047 - rules_json_return_json_extended_format_feat_slice/expected.grl b/__tests__/transpiler/cases/0047 - rules_json_return_json_extended_format_feat_slice/expected.grl similarity index 100% rename from __tests__/cases/0047 - rules_json_return_json_extended_format_feat_slice/expected.grl rename to __tests__/transpiler/cases/0047 - rules_json_return_json_extended_format_feat_slice/expected.grl diff --git a/__tests__/cases/0047 - rules_json_return_json_extended_format_feat_slice/features.json b/__tests__/transpiler/cases/0047 - rules_json_return_json_extended_format_feat_slice/features.json similarity index 100% rename from __tests__/cases/0047 - rules_json_return_json_extended_format_feat_slice/features.json rename to __tests__/transpiler/cases/0047 - rules_json_return_json_extended_format_feat_slice/features.json diff --git a/__tests__/cases/0047 - rules_json_return_json_extended_format_feat_slice/parameters.json b/__tests__/transpiler/cases/0047 - rules_json_return_json_extended_format_feat_slice/parameters.json similarity index 100% rename from __tests__/cases/0047 - rules_json_return_json_extended_format_feat_slice/parameters.json rename to __tests__/transpiler/cases/0047 - rules_json_return_json_extended_format_feat_slice/parameters.json diff --git a/__tests__/cases/0047 - rules_json_return_json_extended_format_feat_slice/rules.json b/__tests__/transpiler/cases/0047 - rules_json_return_json_extended_format_feat_slice/rules.json similarity index 100% rename from __tests__/cases/0047 - rules_json_return_json_extended_format_feat_slice/rules.json rename to __tests__/transpiler/cases/0047 - rules_json_return_json_extended_format_feat_slice/rules.json diff --git a/__tests__/cases/0048 - simple_feature_in_extended_format_with_default_object/expected.grl b/__tests__/transpiler/cases/0048 - simple_feature_in_extended_format_with_default_object/expected.grl similarity index 100% rename from __tests__/cases/0048 - simple_feature_in_extended_format_with_default_object/expected.grl rename to __tests__/transpiler/cases/0048 - simple_feature_in_extended_format_with_default_object/expected.grl diff --git a/__tests__/cases/0048 - simple_feature_in_extended_format_with_default_object/features.json b/__tests__/transpiler/cases/0048 - simple_feature_in_extended_format_with_default_object/features.json similarity index 100% rename from __tests__/cases/0048 - simple_feature_in_extended_format_with_default_object/features.json rename to __tests__/transpiler/cases/0048 - simple_feature_in_extended_format_with_default_object/features.json diff --git a/__tests__/cases/0049 - boolean_default_values/parameters.json b/__tests__/transpiler/cases/0048 - simple_feature_in_extended_format_with_default_object/parameters.json similarity index 100% rename from __tests__/cases/0049 - boolean_default_values/parameters.json rename to __tests__/transpiler/cases/0048 - simple_feature_in_extended_format_with_default_object/parameters.json diff --git a/__tests__/cases/0048 - simple_feature_in_extended_format_with_default_object/rules.featws b/__tests__/transpiler/cases/0048 - simple_feature_in_extended_format_with_default_object/rules.featws similarity index 100% rename from __tests__/cases/0048 - simple_feature_in_extended_format_with_default_object/rules.featws rename to __tests__/transpiler/cases/0048 - simple_feature_in_extended_format_with_default_object/rules.featws diff --git a/__tests__/cases/0049 - boolean_default_values/expected.grl b/__tests__/transpiler/cases/0049 - boolean_default_values/expected.grl similarity index 100% rename from __tests__/cases/0049 - boolean_default_values/expected.grl rename to __tests__/transpiler/cases/0049 - boolean_default_values/expected.grl diff --git a/__tests__/cases/0049 - boolean_default_values/features.json b/__tests__/transpiler/cases/0049 - boolean_default_values/features.json similarity index 100% rename from __tests__/cases/0049 - boolean_default_values/features.json rename to __tests__/transpiler/cases/0049 - boolean_default_values/features.json diff --git a/__tests__/cases/0051 - boolean_plain/parameters.json b/__tests__/transpiler/cases/0049 - boolean_default_values/parameters.json similarity index 100% rename from __tests__/cases/0051 - boolean_plain/parameters.json rename to __tests__/transpiler/cases/0049 - boolean_default_values/parameters.json diff --git a/__tests__/cases/0049 - boolean_default_values/rules.featws b/__tests__/transpiler/cases/0049 - boolean_default_values/rules.featws similarity index 100% rename from __tests__/cases/0049 - boolean_default_values/rules.featws rename to __tests__/transpiler/cases/0049 - boolean_default_values/rules.featws diff --git a/__tests__/cases/0050 - return_json_extended_format_feat_multiple_slices/expected.grl b/__tests__/transpiler/cases/0050 - return_json_extended_format_feat_multiple_slices/expected.grl similarity index 100% rename from __tests__/cases/0050 - return_json_extended_format_feat_multiple_slices/expected.grl rename to __tests__/transpiler/cases/0050 - return_json_extended_format_feat_multiple_slices/expected.grl diff --git a/__tests__/cases/0050 - return_json_extended_format_feat_multiple_slices/features.json b/__tests__/transpiler/cases/0050 - return_json_extended_format_feat_multiple_slices/features.json similarity index 100% rename from __tests__/cases/0050 - return_json_extended_format_feat_multiple_slices/features.json rename to __tests__/transpiler/cases/0050 - return_json_extended_format_feat_multiple_slices/features.json diff --git a/__tests__/cases/0050 - return_json_extended_format_feat_multiple_slices/parameters.json b/__tests__/transpiler/cases/0050 - return_json_extended_format_feat_multiple_slices/parameters.json similarity index 100% rename from __tests__/cases/0050 - return_json_extended_format_feat_multiple_slices/parameters.json rename to __tests__/transpiler/cases/0050 - return_json_extended_format_feat_multiple_slices/parameters.json diff --git a/__tests__/cases/0050 - return_json_extended_format_feat_multiple_slices/rules.featws b/__tests__/transpiler/cases/0050 - return_json_extended_format_feat_multiple_slices/rules.featws similarity index 100% rename from __tests__/cases/0050 - return_json_extended_format_feat_multiple_slices/rules.featws rename to __tests__/transpiler/cases/0050 - return_json_extended_format_feat_multiple_slices/rules.featws diff --git a/__tests__/cases/0051 - boolean_plain/expected.grl b/__tests__/transpiler/cases/0051 - boolean_plain/expected.grl similarity index 100% rename from __tests__/cases/0051 - boolean_plain/expected.grl rename to __tests__/transpiler/cases/0051 - boolean_plain/expected.grl diff --git a/__tests__/cases/0051 - boolean_plain/features.json b/__tests__/transpiler/cases/0051 - boolean_plain/features.json similarity index 100% rename from __tests__/cases/0051 - boolean_plain/features.json rename to __tests__/transpiler/cases/0051 - boolean_plain/features.json diff --git a/__tests__/transpiler/cases/0051 - boolean_plain/parameters.json b/__tests__/transpiler/cases/0051 - boolean_plain/parameters.json new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/__tests__/transpiler/cases/0051 - boolean_plain/parameters.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/__tests__/cases/0051 - boolean_plain/rules.json b/__tests__/transpiler/cases/0051 - boolean_plain/rules.json similarity index 100% rename from __tests__/cases/0051 - boolean_plain/rules.json rename to __tests__/transpiler/cases/0051 - boolean_plain/rules.json diff --git a/__tests__/test-engine.js b/__tests__/transpiler/test-engine.js similarity index 89% rename from __tests__/test-engine.js rename to __tests__/transpiler/test-engine.js index a5039ba..5e07e6b 100644 --- a/__tests__/test-engine.js +++ b/__tests__/transpiler/test-engine.js @@ -1,6 +1,6 @@ const fs = require("fs"); const path = require("path"); -const {compiler} = require('../index'); +const { transpiler } = require('../../lib/transpiler'); const grlNormalize = (grl) => { grl = grl.replace(/[\s]+[\n\r]/g, "\n"); @@ -26,11 +26,11 @@ cases.filter(entry => fs.lstatSync(path.join(cases_dir, entry)).isDirectory()).m if (fs.existsSync(path.join(cases_dir, dir, "expected.error"))) { const expected = fs.readFileSync(path.join(cases_dir, dir, "expected.error")).toString(); - return compiler(path.join(cases_dir, dir)).catch(e => { + return transpiler(path.join(cases_dir, dir)).catch(e => { expect(e).toStrictEqual(Error(expected)) }); } else { - await compiler(path.join(cases_dir, dir)); + await transpiler(path.join(cases_dir, dir)); const expected = grlNormalize(fs.readFileSync(path.join(cases_dir, dir, "expected.grl")).toString()); const generated = grlNormalize(fs.readFileSync(path.join(cases_dir, dir, "rules.grl")).toString()); //fs.unlinkSync(path.join(cases_dir, dir, "rules.grl")); diff --git a/bin/featws-cli.js b/bin/featws-cli.js new file mode 100755 index 0000000..b7171c7 --- /dev/null +++ b/bin/featws-cli.js @@ -0,0 +1,43 @@ +#!/usr/bin/env node + +const path = require("path"); + +const { version } = require('../package.json'); + +const { Command } = require('commander'); + +const { check } = require('../lib/checker'); +const { transpiler } = require('../lib/transpiler'); + +const program = new Command(); + +program + .name('featws-cli') + .description('FeatWS CLI') + .version(version); + +program.command('check') + .description('Execute the checker') + .option('-d, --directory ', 'rules directory', process.cwd()) + .action(async (options) => { + const dir = path.isAbsolute(options.directory) ? options.directory : path.join(process.cwd(), options.directory) + check(dir) + }); + +program.command('transpile') + .description('Execute the transpiler') + .option('--no-check', 'disable check') + .option('-d, --directory ', 'rules directory', process.cwd()) + .action(async (options) => { + const dir = path.isAbsolute(options.directory) ? options.directory : path.join(process.cwd(), options.directory) + try { + if (options.check) { + await check(dir); + } + await transpiler(dir); + } catch (e) { + console.error(e); + } + }); + +program.parse(); \ No newline at end of file diff --git a/bin/featws-transpiler.js b/bin/featws-transpiler.js deleted file mode 100755 index df7729a..0000000 --- a/bin/featws-transpiler.js +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env node - -const {compiler} = require('../index'); - -(async () => { - try { - await compiler(process.cwd()); - } catch (e) { - console.error(e); - } -})() \ No newline at end of file diff --git a/index.js b/index.js deleted file mode 100644 index 4f8b197..0000000 --- a/index.js +++ /dev/null @@ -1,408 +0,0 @@ -const featws = require("js-featws"); -const fs = require("fs"); -const ejs = require("ejs"); - -const toBool = (s) => { - if (typeof s === "string") { - s = s.toLowerCase(); - } - return s; -}; - -const compile = (expression, options) => { - if (typeof expression === "object" || typeof expression === "boolean") { - expression = JSON.stringify(expression); - } - - expression = expression.replace( - /([$#%@])(\w+)((\.?\w+)*)(::(\w+))?/g, - (all, scope, entryname, params) => { - let source = ""; - let type = ""; - - if (scope === "@") scope = "#"; - - if (scope === "#") { - source = "result"; - const feat = options.features.find((f) => f.name === entryname); - if (feat) { - type = feat.type; - if (typeof feat.result !== "undefined" && !feat.result) { - source = "ctx"; - } - } - } - if (scope === "$") { - source = "ctx"; - const param = options.parameters.find((p) => p.name === entryname); - if (param) { - type = param.type; - } - } - - if (scope === "%") { - return `processor.Contains(ctx.GetSlice("${entryname}_entries"), ctx.Get("${entryname}_value"))`; - } - - if (source === "") throw Error("Not implemented source: " + scope); - - let typeCast = all.match(/::(\w+)$/); - if (typeCast) { - typeCast = typeCast[1]; - } - - if (!params && typeCast) { - type = typeCast; - } - - let accessMethod = resolveAccessMethod(type); - if (accessMethod === "") - throw Error( - "Not implemented accessMethod: " + - JSON.stringify({ - scope, - entryname, - type, - required, - }) - ); - - let nestedAccess = ""; - if (params) { - nestedAccess = params.replace(/\.(\w+)\./g, `.GetMap("$1").`); - - let accessMethod = resolveAccessMethod(typeCast ? typeCast : ""); - - nestedAccess = nestedAccess.replace( - /\.(\w+)$/, - `.${accessMethod}("$1")` - ); - } - - return `${source}.${accessMethod}("${entryname}")${nestedAccess}`; - } - ); - - let outputType = options.outputType; - - if (outputType === "string") { - if (expression.startsWith("ctx.") || expression.startsWith("result.")) { - expression = `${expression} + ""`; - } else if (!expression.startsWith('"')) { - expression = `"${expression}"`; - } - } - if (outputType === "object") { - expression = JSON.stringify(expression); - expression = `processor.ToMap(${expression})`; - } - if ((outputType === "integer") || (outputType === "decimal")) { - expression = `${expression}`; - } - return expression; -}; - -const compiler = async (dir) => { - try { - let rulesPlain; - - if (fs.existsSync(dir + "/rules.featws")) { - const rulesFile = dir + "/rules.featws"; - const file = fs.readFileSync(rulesFile, "utf8"); - rulesPlain = featws.parse(file); - } - - if (fs.existsSync(dir + "/rules.json")) { - const rulesFile = dir + "/rules.json"; - rulesPlain = require(rulesFile); - } - - if (typeof rulesPlain === "undefined") { - throw new Error("Rules file not founded"); - } - - const parametersFile = dir + "/parameters.json"; - const parameters = require(parametersFile); - - const featuresFile = dir + "/features.json"; - const features = require(featuresFile); - - const groups = {}; - const groupsDir = dir + "/groups/"; - - if (fs.existsSync(groupsDir)) { - const groupFiles = fs.readdirSync(groupsDir, "utf8"); - groupFiles.forEach((gf) => { - groups[gf.substring(0, gf.length - 5)] = require(groupsDir + gf); - }); - } - - const outputFile = dir + "/rules.grl"; - - const grl = await compileGRL(rulesPlain, parameters, features, groups); - - fs.writeFileSync(outputFile, grl); - } catch (e) { - throw e; - } -}; - -function resolveAccessMethod(type) { - let accessMethod = "Get"; - if (type === "object") accessMethod = "GetMap"; - if (type === "string") accessMethod = "GetString"; - if (type === "boolean") accessMethod = "GetBool"; - if (type === "integer") accessMethod = "GetInt"; - if (type === "decimal") accessMethod = "GetFloat"; - if (type === "slice") accessMethod = "GetSlice"; - return accessMethod; -} - -async function compileGRL(rulesPlain, parameters, features, groups) { - try { - Object.entries(groups).forEach(([group, rules]) => { - const group_feats = Object.entries(rules).map(([rule, items], index) => { - const group_feat = `${group}_${index}`; - const group_feat_value = `${group_feat}_value`; - rule = compileGroupRule(rule); - rulesPlain[group_feat_value] = { - value: rule, - type: "string", - result: false, - }; - rulesPlain[group_feat] = { - value: `%${group_feat}`, - type: "boolean", - result: true, - }; - features = features.concat([ - { - name: group_feat, - type: "boolean", - }, - ]); - return `#${group_feat}`; - }); - features = features.concat([ - { - name: group, - type: "boolean", - }, - ]); - rulesPlain[group] = { - value: group_feats.join(" && "), - type: "boolean", - result: true, - }; - }); - - const slices = []; - - Object.keys(rulesPlain).forEach((feat) => { - const rule = rulesPlain[feat]; - if (Array.isArray(rule)) { - if (!slices.includes(feat)) { - slices.push(feat); - } - rule.forEach((r, i) => { - const entry_name = feat + "_" + i; - features = features.concat([ - { - name: entry_name, - type: r.type, - result: false, - }, - ]); - rulesPlain[entry_name] = { - ...r, - result: false, - }; - }); - delete rulesPlain[feat]; - const feature = { - name: feat, - type: "slice", - writeMethod: "AddItems", - result: true, - }; - rulesPlain[feat] = { - ...feature, - value: rule.map((_, i) => "#" + feat + "_" + i).join(", "), - }; - features = features.concat([feature]); - } - }); - - - const precedence = {}; - - Object.keys(rulesPlain).forEach((feat) => { - let rule = rulesPlain[feat]; - if (typeof rule === "object") { - const condition = rule.condition; - rule = JSON.stringify(rule.value); - - if (typeof condition != "undefined") { - rule += ` ${condition}`; - } - } - - if (typeof rule !== "string") rule = JSON.stringify(rule); - - precedence[feat] = []; - precedence[feat] = precedence[feat].concat( - rule.match(/[#@](\w+)/g) || [] - ); - precedence[feat] = precedence[feat].concat( - (rule.match(/%(\w+)/g) || []).map((g) => `$${g.substring(1)}_value`) - ); - }); - - const calcOrder = {}; - - const entries = features - .map((feat) => feat.name) - .concat(parameters.map((param) => param.name)) - .concat(Object.keys(rulesPlain)) - .filter((value, index, self) => { - return self.indexOf(value) === index; - }) - .sort(); - - while (Object.keys(precedence).length > 0) { - const feats = Object.keys(precedence); - for (const feat of feats) { - if (precedence[feat].length == 0) { - calcOrder[feat] = 0; - delete precedence[feat]; - } else { - const unresolvedPrecedences = precedence[feat].filter( - (p) => !Number.isInteger(p) - ); - if (unresolvedPrecedences.length != 0) { - // FIXME Tratar a referência cíclica - // const cyclic = unresolvedPrecedences.filter(value => Object.keys(precedence).includes(value.substring(1))); - // if (JSON.stringify(cyclic)==JSON.stringify(unresolvedPrecedences)) { - // throw Error("Referência cíclica"); - // } - precedence[feat] = await Promise.all( - precedence[feat].map(async (p) => { - if (Number.isInteger(p)) return p; - const name = p.substring(1); - - if (!entries.includes(name)) { - throw Error(`Unresolvable entry: ${name}`); - } - - if (name in calcOrder) return calcOrder[name]; - - return p; - }) - ); - } else { - calcOrder[feat] = Math.max(...precedence[feat]) + 1; - delete precedence[feat]; - } - } - } - - } - - const maxLevel = Math.max(...Object.values(calcOrder)); - - const base_salience = 1000; - const saliences = {}; - - Object.keys(calcOrder).forEach((feat) => { - saliences[feat] = base_salience + maxLevel - calcOrder[feat]; - }); - - const requiredParams = parameters.filter((p) => toBool(p.required)); - - const grl = await ejs.renderFile(__dirname + "/resources/rules.ejs", { - groups, - slices, - remoteLoadeds: parameters.filter((p) => !!p.resolver), - requiredParams, - setupReady: requiredParams.length == 0, - defaultValues: features - .filter((feat) => typeof feat.default !== "undefined") - .map((feat) => ({ - name: feat.name, - defaultValue: compile(feat.default, { - outputType: - typeof feat.default === "boolean" || feat["type"] === "boolean" - ? "string" - : feat["type"], - parameters, - features, - }), - })) - .filter((feat) => feat.defaultValue !== undefined), - featureRules: Object.keys(rulesPlain).map((feat) => { - const rule = rulesPlain[feat]; - let expression = rule; - const condition = `${typeof expression.condition == "undefined" - ? "true" - : expression.condition - }`; - let result = true; - const feature = features.find((f) => f.name == feat) || { - type: "boolean", - }; - let outputType = feature["type"]; - - if (typeof rule === "object") { - if (rule.type) { - outputType = expression.type; - } - if (rule.value) { - expression = expression.value; - } - if (typeof rule.result === "boolean") { - result = rule.result; - } - } - - return { - ...feature, - name: feat, - accessMethod: resolveAccessMethod(outputType), - condition: - condition != "true" - ? compile(condition, { - outputType: "boolean", - parameters, - features, - }) - : "true", - precedence: `${saliences[feat] || base_salience}`, - expression: compile(expression, { - outputType, - parameters, - features, - }), - result, - }; - }), - }); - - return grl; - } catch (e) { - throw e; - } -} - -function compileGroupRule(rule) { - rule = `"${rule}"`; - rule = rule.replace(/{/g, '"+'); - rule = rule.replace(/}/g, '+"'); - rule = rule.trim(); - rule = rule.replace(/^""\+/, ""); - rule = rule.replace(/\+""$/, ""); - return rule; -} - -module.exports = { - compiler, -}; diff --git a/lib/checker/index.js b/lib/checker/index.js new file mode 100644 index 0000000..7c03b6d --- /dev/null +++ b/lib/checker/index.js @@ -0,0 +1,40 @@ +const { parser } = require("../parser"); +const rules = require("./rules"); + +const checker = async (dir) => { + try { + const data = await parser(dir); + return (await Promise.all(Object.entries(rules).map(async ([ruleName, rule]) => + ( + await rule.validator(data)) + .map(e => `${ruleName}: ${e}`) + ))) + .filter(r => typeof r !== 'undefined') + .reduce((p, c) => { + if (!Array.isArray(c)) c = [c]; + return p.concat(c); + }, []) + + } catch (e) { + console.error(e) + throw e; + } +}; + +const check = async (dir) => { + try { + const errors = await checker(dir); + if (errors.length > 0) { + errors.forEach(e => console.error(e)); + process.exit(1); + } + } catch (e) { + console.error(e); + process.exit(1); + } +} + +module.exports = { + checker, + check, +}; \ No newline at end of file diff --git a/lib/checker/rules/index.js b/lib/checker/rules/index.js new file mode 100644 index 0000000..22b9a1f --- /dev/null +++ b/lib/checker/rules/index.js @@ -0,0 +1 @@ +exports["number-type"] = require("./number-type") \ No newline at end of file diff --git a/lib/checker/rules/number-type.js b/lib/checker/rules/number-type.js new file mode 100644 index 0000000..8b96007 --- /dev/null +++ b/lib/checker/rules/number-type.js @@ -0,0 +1,44 @@ +const MATH_OPERATORS = ["<", ">", ">=", "<="] + +const verifyFeatureRule = async (parsed, featureRule) => { + + const EXPRESSION_PATTERN = new RegExp('[$#](?\\w+)\\s*(?(' + MATH_OPERATORS.join('|') + '))', 'gm') + + const matches = EXPRESSION_PATTERN.exec(featureRule.expression); + + if (!matches || !matches.groups) return; + + let { variable } = matches.groups; + + let resolvedType = 'string'; + + const param = parsed.parameters.find(p => p.name == variable); + + if (typeof param !== 'undefined') { + resolvedType = param.type; + } else { + const feature = parsed.features.find(f => f.name == variable); + if (typeof feature !== 'undefined') { + resolvedType = feature.type; + } + } + + if (!['integer', 'decimal'].includes(resolvedType)) { + return `parameter '${variable}' isn't an 'integer' or 'decimal'!`; + } +}; + +module.exports = { + description: "", + validator: async (parsed) => { + + return (await Promise.all(parsed.featureRules.map(fr => verifyFeatureRule(parsed, fr)))) + .filter(r => typeof r !== 'undefined') + .reduce((p, c) => { + //console.log("p", p) + //console.log("c", c) + if (!Array.isArray(c)) c = [c]; + return p.concat(c); + }, []); + } +} \ No newline at end of file diff --git a/lib/parser/index.js b/lib/parser/index.js new file mode 100644 index 0000000..146ea16 --- /dev/null +++ b/lib/parser/index.js @@ -0,0 +1,313 @@ +const featws = require("js-featws"); +const fs = require("fs"); + +const base_salience = 1000; + +const toBool = (s) => { + if (typeof s === "string") { + s = s.toLowerCase(); + } + return s; +}; + +const parser = async (dir) => { + try { + let rulesPlain; + + if (fs.existsSync(dir + "/rules.featws")) { + const rulesFile = dir + "/rules.featws"; + const file = fs.readFileSync(rulesFile, "utf8"); + rulesPlain = featws.parse(file); + } else if (fs.existsSync(dir + "/rules.json")) { + const rulesFile = dir + "/rules.json"; + rulesPlain = require(rulesFile); + } + + if (typeof rulesPlain === "undefined") { + throw new Error("Rules file not founded"); + } + + const parametersFile = dir + "/parameters.json"; + const parameters = require(parametersFile); + + const featuresFile = dir + "/features.json"; + const features = require(featuresFile); + + const groups = {}; + const groupsDir = dir + "/groups/"; + + if (fs.existsSync(groupsDir)) { + const groupFiles = fs.readdirSync(groupsDir, "utf8"); + groupFiles.forEach((gf) => { + groups[gf.substring(0, gf.length - 5)] = require(groupsDir + gf); + }); + } + + return parse(rulesPlain, parameters, features, groups); + + } catch (e) { + throw e; + } +}; + + +async function parse(rulesPlain, parameters, features, groups) { + try { + features = setupGroups(groups, rulesPlain, features); + + const slices = []; + + features = setupSlices(rulesPlain, slices, features); + + const saliences = await calcSaliences(rulesPlain, features, parameters); + + const requiredParams = parameters.filter((p) => toBool(p.required)); + + return { + parameters, + features, + groups, + slices, + remoteLoadeds: parameters.filter((p) => !!p.resolver), + requiredParams, + setupReady: requiredParams.length == 0, + featureRules: buildRules(rulesPlain, features, parameters, saliences), + }; + } catch (e) { + throw e; + } +} + +function buildRules(rulesPlain, features, parameters, saliences) { + return Object.keys(rulesPlain).map((feat) => { + const rule = rulesPlain[feat]; + let expression = rule; + const condition = `${typeof expression.condition == "undefined" + ? "true" + : expression.condition}`; + let result = true; + const feature = features.find((f) => f.name == feat) || { + type: "boolean", + }; + let outputType = feature["type"]; + + if (typeof rule === "object") { + if (rule.type) { + outputType = expression.type; + } + if (rule.value) { + expression = expression.value; + } + if (typeof rule.result === "boolean") { + result = rule.result; + } + } + + return { + ...feature, + name: feat, + outputType, + condition, + precedence: `${saliences[feat] || base_salience}`, + expression, + result, + }; + }); +} + + + +async function calcSaliences(rulesPlain, features, parameters) { + const calcOrder = await calcOrders(rulesPlain, features, parameters); + + const maxLevel = Math.max(...Object.values(calcOrder)); + + const saliences = {}; + + Object.keys(calcOrder).forEach((feat) => { + saliences[feat] = base_salience + maxLevel - calcOrder[feat]; + }); + return saliences; +} + +async function calcOrders(rulesPlain, features, parameters) { + + const entries = buildVariables(features, parameters, rulesPlain); + + const calcOrder = {}; + + const precedence = calcPrecedences(rulesPlain); + + while (Object.keys(precedence).length > 0) { + const feats = Object.keys(precedence); + for (const feat of feats) { + if (precedence[feat].length == 0) { + calcOrder[feat] = 0; + delete precedence[feat]; + } else { + await calcOrderFeat(precedence, feat, calcOrder, entries); + } + } + + } + return calcOrder; +} + +async function calcOrderFeat(precedence, feat, calcOrder, entries) { + const unresolvedPrecedences = precedence[feat].filter( + (p) => !Number.isInteger(p) + ); + if (unresolvedPrecedences.length != 0) { + // FIXME Tratar a referência cíclica + // const cyclic = unresolvedPrecedences.filter(value => Object.keys(precedence).includes(value.substring(1))); + // if (JSON.stringify(cyclic)==JSON.stringify(unresolvedPrecedences)) { + // throw Error("Referência cíclica"); + // } + precedence[feat] = await Promise.all( + precedence[feat].map(async (p) => { + if (Number.isInteger(p)) return p; + const name = p.substring(1); + + if (!entries.includes(name)) { + throw Error(`Unresolvable entry: ${name}`); + } + + if (name in calcOrder) return calcOrder[name]; + + return p; + }) + ); + } else { + calcOrder[feat] = Math.max(...precedence[feat]) + 1; + delete precedence[feat]; + } +} + +function buildVariables(features, parameters, rulesPlain) { + return features + .map((feat) => feat.name) + .concat(parameters.map((param) => param.name)) + .concat(Object.keys(rulesPlain)) + .filter((value, index, self) => { + return self.indexOf(value) === index; + }) + .sort(); +} + +function calcPrecedences(rulesPlain) { + const precedence = {}; + + Object.keys(rulesPlain).forEach((feat) => { + let rule = rulesPlain[feat]; + if (typeof rule === "object") { + const condition = rule.condition; + rule = JSON.stringify(rule.value); + + if (typeof condition != "undefined") { + rule += ` ${condition}`; + } + } + + if (typeof rule !== "string") rule = JSON.stringify(rule); + + precedence[feat] = []; + precedence[feat] = precedence[feat].concat( + rule.match(/[#@](\w+)/g) || [] + ); + precedence[feat] = precedence[feat].concat( + (rule.match(/%(\w+)/g) || []).map((g) => `$${g.substring(1)}_value`) + ); + }); + return precedence; +} + +function setupSlices(rulesPlain, slices, features) { + Object.keys(rulesPlain).forEach((feat) => { + const rule = rulesPlain[feat]; + if (Array.isArray(rule)) { + if (!slices.includes(feat)) { + slices.push(feat); + } + rule.forEach((r, i) => { + const entry_name = feat + "_" + i; + features = features.concat([ + { + name: entry_name, + type: r.type, + result: false, + }, + ]); + rulesPlain[entry_name] = { + ...r, + result: false, + }; + }); + delete rulesPlain[feat]; + const feature = { + name: feat, + type: "slice", + writeMethod: "AddItems", + result: true, + }; + rulesPlain[feat] = { + ...feature, + value: rule.map((_, i) => "#" + feat + "_" + i).join(", "), + }; + features = features.concat([feature]); + } + }); + return features; +} + +function setupGroups(groups, rulesPlain, features) { + Object.entries(groups).forEach(([group, rules]) => { + const group_feats = Object.entries(rules).map(([rule, items], index) => { + const group_feat = `${group}_${index}`; + const group_feat_value = `${group_feat}_value`; + rule = transpileGroupRule(rule); + rulesPlain[group_feat_value] = { + value: rule, + type: "string", + result: false, + }; + rulesPlain[group_feat] = { + value: `%${group_feat}`, + type: "boolean", + result: true, + }; + features = features.concat([ + { + name: group_feat, + type: "boolean", + }, + ]); + return `#${group_feat}`; + }); + features = features.concat([ + { + name: group, + type: "boolean", + }, + ]); + rulesPlain[group] = { + value: group_feats.join(" && "), + type: "boolean", + result: true, + }; + }); + return features; +} + +function transpileGroupRule(rule) { + rule = `"${rule}"`; + rule = rule.replace(/{/g, '"+'); + rule = rule.replace(/}/g, '+"'); + rule = rule.trim(); + rule = rule.replace(/^""\+/, ""); + rule = rule.replace(/\+""$/, ""); + return rule; +} + +module.exports = { + parser, +}; diff --git a/lib/transpiler/index.js b/lib/transpiler/index.js new file mode 100644 index 0000000..07f922d --- /dev/null +++ b/lib/transpiler/index.js @@ -0,0 +1,178 @@ +const fs = require("fs"); +const ejs = require("ejs"); +const { parser } = require("../parser"); + +function resolveNestedAccess(params, typeCast) { + let nestedAccess = ""; + if (params) { + nestedAccess = params.replace(/\.(\w+)\./g, `.GetMap("$1").`); + + let accessMethod = resolveAccessMethod(typeCast ? typeCast : ""); + + nestedAccess = nestedAccess.replace( + /\.(\w+)$/, + `.${accessMethod}("$1")` + ); + } + return nestedAccess; +} + +function calcTypeAndSource(scope, options, entryname) { + let source = ""; + let type = ""; + + if (scope === "#") { + source = "result"; + const feat = options.features.find((f) => f.name === entryname); + if (feat) { + type = feat.type; + if (typeof feat.result !== "undefined" && !feat.result) { + source = "ctx"; + } + } + } + if (scope === "$") { + source = "ctx"; + const param = options.parameters.find((p) => p.name === entryname); + if (param) { + type = param.type; + } + } + + + if (source === "") throw Error("Not implemented source: " + scope); + return { type, source }; +} + +function transpileValue(outputType, expression) { + if (outputType === "string") { + if (expression.startsWith("ctx.") || expression.startsWith("result.")) { + return `${expression} + ""`; + } else if (!expression.startsWith('"')) { + return `"${expression}"`; + } + } + if (outputType === "object") { + return `processor.ToMap(${JSON.stringify(expression)})`; + } + if ((outputType === "integer") || (outputType === "decimal")) { + return `${expression}`; + } + return expression; +} + +function resolveAccessMethod(type) { + let accessMethod = "Get"; + if (type === "object") accessMethod = "GetMap"; + if (type === "string") accessMethod = "GetString"; + if (type === "boolean") accessMethod = "GetBool"; + if (type === "integer") accessMethod = "GetInt"; + if (type === "decimal") accessMethod = "GetFloat"; + if (type === "slice") accessMethod = "GetSlice"; + return accessMethod; +} + +const transpileReplacer = (options) => (all, scope, entryname, params) => { + + if (scope === "%") { + return `processor.Contains(ctx.GetSlice("${entryname}_entries"), ctx.Get("${entryname}_value"))`; + } + + if (scope === "@") scope = "#"; + + let { type, source } = calcTypeAndSource(scope, options, entryname); + + let typeCast = all.match(/::(\w+)$/); + if (typeCast) { + typeCast = typeCast[1]; + } + + if (!params && typeCast) { + type = typeCast; + } + + let accessMethod = resolveAccessMethod(type); + if (accessMethod === "") + throw Error( + "Not implemented accessMethod: " + + JSON.stringify({ + scope, + entryname, + type, + required, + }) + ); + + let nestedAccess = resolveNestedAccess(params, typeCast); + + return `${source}.${accessMethod}("${entryname}")${nestedAccess}`; +}; + +function buildDefaultValues(features, parameters) { + return features + .filter((feat) => typeof feat.default !== "undefined") + .map((feat) => ({ + name: feat.name, + defaultValue: transpile(feat.default, { + outputType: typeof feat.default === "boolean" || feat["type"] === "boolean" + ? "string" + : feat["type"], + parameters, + features, + }), + })) + .filter((feat) => feat.defaultValue !== undefined); +} + +const transpile = (expression, options) => { + if (typeof expression === "object" || typeof expression === "boolean") { + expression = JSON.stringify(expression); + } + + expression = expression.replace( + /([$#%@])(\w+)((\.?\w+)*)(::(\w+))?/g, + transpileReplacer(options) + ); + + expression = transpileValue(options.outputType, expression); + + return expression; +}; + +const transpiler = async (dir) => { + try { + const data = (await parser(dir)); + + data.featureRules = data.featureRules.map(fr => ({ + ...fr, + accessMethod: resolveAccessMethod(fr.outputType), + condition: fr.condition != "true" + ? transpile(fr.condition, { + outputType: "boolean", + parameters: data.parameters, + features: data.features, + }) + : "true", + expression: transpile(fr.expression, { + outputType: fr.outputType, + parameters: data.parameters, + features: data.features, + }), + })); + + data.defaultValues = buildDefaultValues(data.features, data.parameters); + + const grl = await ejs.renderFile(__dirname + "/resources/rules.ejs", data); + + const outputFile = dir + "/rules.grl"; + + fs.writeFileSync(outputFile, grl); + } catch (e) { + console.error(e); + throw e; + } +}; + +module.exports = { + transpiler, +}; diff --git a/resources/rules.ejs b/lib/transpiler/resources/rules.ejs similarity index 100% rename from resources/rules.ejs rename to lib/transpiler/resources/rules.ejs diff --git a/package.json b/package.json index 0285cae..408d0aa 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "name": "featws-transpiler", - "version": "0.7.4-rc1", - "description": "A FeatWS Transpiler to GRL", + "name": "featws-cli", + "version": "0.0.1-rc1", + "description": "A FeatWS CLI to GRL", "main": "index.js", "scripts": { "dev": "nodemon -w ./ -e js,json,feat index.js", @@ -9,24 +9,25 @@ "test": "jest" }, "bin": { - "featws-transpiler": "bin/featws-transpiler.js" + "featws-cli": "bin/featws-cli.js" }, "repository": { "type": "git", - "url": "git+https://github.com/bancodobrasil/featws-compiler.git" + "url": "git+https://github.com/bancodobrasil/featws-cli.git" }, "author": "Raphael Pinto", "license": "Apache-2.0", "bugs": { - "url": "https://github.com/bancodobrasil/featws-compiler/issues" + "url": "https://github.com/bancodobrasil/featws-cli/issues" }, - "homepage": "https://github.com/bancodobrasil/featws-compiler#readme", + "homepage": "https://github.com/bancodobrasil/featws-cli#readme", "devDependencies": { "jest": "^27.4.7", "nodemon": "^2.0.15" }, "dependencies": { + "commander": "^11.0.0", "ejs": "^3.1.7", "js-featws": "^1.1.0-rc1" } -} \ No newline at end of file +} diff --git a/yarn.lock b/yarn.lock new file mode 100644 index 0000000..8f63552 --- /dev/null +++ b/yarn.lock @@ -0,0 +1,2704 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@ampproject/remapping@^2.2.0": + version "2.2.1" + resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.2.1.tgz#99e8e11851128b8702cd57c33684f1d0f260b630" + integrity sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg== + dependencies: + "@jridgewell/gen-mapping" "^0.3.0" + "@jridgewell/trace-mapping" "^0.3.9" + +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.22.5.tgz#234d98e1551960604f1246e6475891a570ad5658" + integrity sha512-Xmwn266vad+6DAqEB2A6V/CcZVp62BbwVmcOJc2RPuwih1kw02TjQvWVWlcKGbBPd+8/0V5DEkOcizRGYsspYQ== + dependencies: + "@babel/highlight" "^7.22.5" + +"@babel/compat-data@^7.22.9": + version "7.22.9" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.22.9.tgz#71cdb00a1ce3a329ce4cbec3a44f9fef35669730" + integrity sha512-5UamI7xkUcJ3i9qVDS+KFDEK8/7oJ55/sJMB1Ge7IEapr7KfdfV/HErR+koZwOfd+SgtFKOKRhRakdg++DcJpQ== + +"@babel/core@^7.1.0", "@babel/core@^7.12.3", "@babel/core@^7.7.2", "@babel/core@^7.8.0": + version "7.22.9" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.22.9.tgz#bd96492c68822198f33e8a256061da3cf391f58f" + integrity sha512-G2EgeufBcYw27U4hhoIwFcgc1XU7TlXJ3mv04oOv1WCuo900U/anZSPzEqNjwdjgffkk2Gs0AN0dW1CKVLcG7w== + dependencies: + "@ampproject/remapping" "^2.2.0" + "@babel/code-frame" "^7.22.5" + "@babel/generator" "^7.22.9" + "@babel/helper-compilation-targets" "^7.22.9" + "@babel/helper-module-transforms" "^7.22.9" + "@babel/helpers" "^7.22.6" + "@babel/parser" "^7.22.7" + "@babel/template" "^7.22.5" + "@babel/traverse" "^7.22.8" + "@babel/types" "^7.22.5" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.2" + semver "^6.3.1" + +"@babel/generator@^7.22.7", "@babel/generator@^7.22.9", "@babel/generator@^7.7.2": + version "7.22.9" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.22.9.tgz#572ecfa7a31002fa1de2a9d91621fd895da8493d" + integrity sha512-KtLMbmicyuK2Ak/FTCJVbDnkN1SlT8/kceFTiuDiiRUUSMnHMidxSCdG4ndkTOHHpoomWe/4xkvHkEOncwjYIw== + dependencies: + "@babel/types" "^7.22.5" + "@jridgewell/gen-mapping" "^0.3.2" + "@jridgewell/trace-mapping" "^0.3.17" + jsesc "^2.5.1" + +"@babel/helper-compilation-targets@^7.22.9": + version "7.22.9" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.9.tgz#f9d0a7aaaa7cd32a3f31c9316a69f5a9bcacb892" + integrity sha512-7qYrNM6HjpnPHJbopxmb8hSPoZ0gsX8IvUS32JGVoy+pU9e5N0nLr1VjJoR6kA4d9dmGLxNYOjeB8sUDal2WMw== + dependencies: + "@babel/compat-data" "^7.22.9" + "@babel/helper-validator-option" "^7.22.5" + browserslist "^4.21.9" + lru-cache "^5.1.1" + semver "^6.3.1" + +"@babel/helper-environment-visitor@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.5.tgz#f06dd41b7c1f44e1f8da6c4055b41ab3a09a7e98" + integrity sha512-XGmhECfVA/5sAt+H+xpSg0mfrHq6FzNr9Oxh7PSEBBRUb/mL7Kz3NICXb194rCqAEdxkhPT1a88teizAFyvk8Q== + +"@babel/helper-function-name@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.22.5.tgz#ede300828905bb15e582c037162f99d5183af1be" + integrity sha512-wtHSq6jMRE3uF2otvfuD3DIvVhOsSNshQl0Qrd7qC9oQJzHvOL4qQXlQn2916+CXGywIjpGuIkoyZRRxHPiNQQ== + dependencies: + "@babel/template" "^7.22.5" + "@babel/types" "^7.22.5" + +"@babel/helper-hoist-variables@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz#c01a007dac05c085914e8fb652b339db50d823bb" + integrity sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw== + dependencies: + "@babel/types" "^7.22.5" + +"@babel/helper-module-imports@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.22.5.tgz#1a8f4c9f4027d23f520bd76b364d44434a72660c" + integrity sha512-8Dl6+HD/cKifutF5qGd/8ZJi84QeAKh+CEe1sBzz8UayBBGg1dAIJrdHOcOM5b2MpzWL2yuotJTtGjETq0qjXg== + dependencies: + "@babel/types" "^7.22.5" + +"@babel/helper-module-transforms@^7.22.9": + version "7.22.9" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.22.9.tgz#92dfcb1fbbb2bc62529024f72d942a8c97142129" + integrity sha512-t+WA2Xn5K+rTeGtC8jCsdAH52bjggG5TKRuRrAGNM/mjIbO4GxvlLMFOEz9wXY5I2XQ60PMFsAG2WIcG82dQMQ== + dependencies: + "@babel/helper-environment-visitor" "^7.22.5" + "@babel/helper-module-imports" "^7.22.5" + "@babel/helper-simple-access" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" + "@babel/helper-validator-identifier" "^7.22.5" + +"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.22.5", "@babel/helper-plugin-utils@^7.8.0": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz#dd7ee3735e8a313b9f7b05a773d892e88e6d7295" + integrity sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg== + +"@babel/helper-simple-access@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz#4938357dc7d782b80ed6dbb03a0fba3d22b1d5de" + integrity sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w== + dependencies: + "@babel/types" "^7.22.5" + +"@babel/helper-split-export-declaration@^7.22.6": + version "7.22.6" + resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz#322c61b7310c0997fe4c323955667f18fcefb91c" + integrity sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g== + dependencies: + "@babel/types" "^7.22.5" + +"@babel/helper-string-parser@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz#533f36457a25814cf1df6488523ad547d784a99f" + integrity sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw== + +"@babel/helper-validator-identifier@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.5.tgz#9544ef6a33999343c8740fa51350f30eeaaaf193" + integrity sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ== + +"@babel/helper-validator-option@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.22.5.tgz#de52000a15a177413c8234fa3a8af4ee8102d0ac" + integrity sha512-R3oB6xlIVKUnxNUxbmgq7pKjxpru24zlimpE8WK47fACIlM0II/Hm1RS8IaOI7NgCr6LNS+jl5l75m20npAziw== + +"@babel/helpers@^7.22.6": + version "7.22.6" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.22.6.tgz#8e61d3395a4f0c5a8060f309fb008200969b5ecd" + integrity sha512-YjDs6y/fVOYFV8hAf1rxd1QvR9wJe1pDBZ2AREKq/SDayfPzgk0PBnVuTCE5X1acEpMMNOVUqoe+OwiZGJ+OaA== + dependencies: + "@babel/template" "^7.22.5" + "@babel/traverse" "^7.22.6" + "@babel/types" "^7.22.5" + +"@babel/highlight@^7.22.5": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.22.5.tgz#aa6c05c5407a67ebce408162b7ede789b4d22031" + integrity sha512-BSKlD1hgnedS5XRnGOljZawtag7H1yPfQp0tdNJCHoH6AZ+Pcm9VvkrK59/Yy593Ypg0zMxH2BxD1VPYUQ7UIw== + dependencies: + "@babel/helper-validator-identifier" "^7.22.5" + chalk "^2.0.0" + js-tokens "^4.0.0" + +"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.22.5", "@babel/parser@^7.22.7": + version "7.22.7" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.22.7.tgz#df8cf085ce92ddbdbf668a7f186ce848c9036cae" + integrity sha512-7NF8pOkHP5o2vpmGgNGcfAeCvOYhGLyA3Z4eBQkT1RJlWu47n63bCs93QfJ2hIAFCil7L5P2IWhs1oToVgrL0Q== + +"@babel/plugin-syntax-async-generators@^7.8.4": + version "7.8.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d" + integrity sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-bigint@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz#4c9a6f669f5d0cdf1b90a1671e9a146be5300cea" + integrity sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-class-properties@^7.8.3": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz#b5c987274c4a3a82b89714796931a6b53544ae10" + integrity sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA== + dependencies: + "@babel/helper-plugin-utils" "^7.12.13" + +"@babel/plugin-syntax-import-meta@^7.8.3": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz#ee601348c370fa334d2207be158777496521fd51" + integrity sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-syntax-json-strings@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a" + integrity sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-logical-assignment-operators@^7.8.3": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699" + integrity sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz#167ed70368886081f74b5c36c65a88c03b66d1a9" + integrity sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-numeric-separator@^7.8.3": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz#b9b070b3e33570cd9fd07ba7fa91c0dd37b9af97" + integrity sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-syntax-object-rest-spread@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871" + integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-optional-catch-binding@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz#6111a265bcfb020eb9efd0fdfd7d26402b9ed6c1" + integrity sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-optional-chaining@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz#4f69c2ab95167e0180cd5336613f8c5788f7d48a" + integrity sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-top-level-await@^7.8.3": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz#c1cfdadc35a646240001f06138247b741c34d94c" + integrity sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + +"@babel/plugin-syntax-typescript@^7.7.2": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.22.5.tgz#aac8d383b062c5072c647a31ef990c1d0af90272" + integrity sha512-1mS2o03i7t1c6VzH6fdQ3OA8tcEIxwG18zIPRp+UY1Ihv6W+XZzBCVxExF9upussPXJ0xE9XRHwMoNs1ep/nRQ== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/template@^7.22.5", "@babel/template@^7.3.3": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.22.5.tgz#0c8c4d944509875849bd0344ff0050756eefc6ec" + integrity sha512-X7yV7eiwAxdj9k94NEylvbVHLiVG1nvzCV2EAowhxLTwODV1jl9UzZ48leOC0sH7OnuHrIkllaBgneUykIcZaw== + dependencies: + "@babel/code-frame" "^7.22.5" + "@babel/parser" "^7.22.5" + "@babel/types" "^7.22.5" + +"@babel/traverse@^7.22.6", "@babel/traverse@^7.22.8", "@babel/traverse@^7.7.2": + version "7.22.8" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.22.8.tgz#4d4451d31bc34efeae01eac222b514a77aa4000e" + integrity sha512-y6LPR+wpM2I3qJrsheCTwhIinzkETbplIgPBbwvqPKc+uljeA5gP+3nP8irdYt1mjQaDnlIcG+dw8OjAco4GXw== + dependencies: + "@babel/code-frame" "^7.22.5" + "@babel/generator" "^7.22.7" + "@babel/helper-environment-visitor" "^7.22.5" + "@babel/helper-function-name" "^7.22.5" + "@babel/helper-hoist-variables" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" + "@babel/parser" "^7.22.7" + "@babel/types" "^7.22.5" + debug "^4.1.0" + globals "^11.1.0" + +"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.22.5", "@babel/types@^7.3.3": + version "7.22.5" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.22.5.tgz#cd93eeaab025880a3a47ec881f4b096a5b786fbe" + integrity sha512-zo3MIHGOkPOfoRXitsgHLjEXmlDaD/5KU1Uzuc9GNiZPhSqVxVRtxuPaSBZDsYZ9qV88AjtMtWW7ww98loJ9KA== + dependencies: + "@babel/helper-string-parser" "^7.22.5" + "@babel/helper-validator-identifier" "^7.22.5" + to-fast-properties "^2.0.0" + +"@bcoe/v8-coverage@^0.2.3": + version "0.2.3" + resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" + integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== + +"@istanbuljs/load-nyc-config@^1.0.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz#fd3db1d59ecf7cf121e80650bb86712f9b55eced" + integrity sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ== + dependencies: + camelcase "^5.3.1" + find-up "^4.1.0" + get-package-type "^0.1.0" + js-yaml "^3.13.1" + resolve-from "^5.0.0" + +"@istanbuljs/schema@^0.1.2": + version "0.1.3" + resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98" + integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== + +"@jest/console@^27.5.1": + version "27.5.1" + resolved "https://registry.yarnpkg.com/@jest/console/-/console-27.5.1.tgz#260fe7239602fe5130a94f1aa386eff54b014bba" + integrity sha512-kZ/tNpS3NXn0mlXXXPNuDZnb4c0oZ20r4K5eemM2k30ZC3G0T02nXUvyhf5YdbXWHPEJLc9qGLxEZ216MdL+Zg== + dependencies: + "@jest/types" "^27.5.1" + "@types/node" "*" + chalk "^4.0.0" + jest-message-util "^27.5.1" + jest-util "^27.5.1" + slash "^3.0.0" + +"@jest/core@^27.5.1": + version "27.5.1" + resolved "https://registry.yarnpkg.com/@jest/core/-/core-27.5.1.tgz#267ac5f704e09dc52de2922cbf3af9edcd64b626" + integrity sha512-AK6/UTrvQD0Cd24NSqmIA6rKsu0tKIxfiCducZvqxYdmMisOYAsdItspT+fQDQYARPf8XgjAFZi0ogW2agH5nQ== + dependencies: + "@jest/console" "^27.5.1" + "@jest/reporters" "^27.5.1" + "@jest/test-result" "^27.5.1" + "@jest/transform" "^27.5.1" + "@jest/types" "^27.5.1" + "@types/node" "*" + ansi-escapes "^4.2.1" + chalk "^4.0.0" + emittery "^0.8.1" + exit "^0.1.2" + graceful-fs "^4.2.9" + jest-changed-files "^27.5.1" + jest-config "^27.5.1" + jest-haste-map "^27.5.1" + jest-message-util "^27.5.1" + jest-regex-util "^27.5.1" + jest-resolve "^27.5.1" + jest-resolve-dependencies "^27.5.1" + jest-runner "^27.5.1" + jest-runtime "^27.5.1" + jest-snapshot "^27.5.1" + jest-util "^27.5.1" + jest-validate "^27.5.1" + jest-watcher "^27.5.1" + micromatch "^4.0.4" + rimraf "^3.0.0" + slash "^3.0.0" + strip-ansi "^6.0.0" + +"@jest/environment@^27.5.1": + version "27.5.1" + resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-27.5.1.tgz#d7425820511fe7158abbecc010140c3fd3be9c74" + integrity sha512-/WQjhPJe3/ghaol/4Bq480JKXV/Rfw8nQdN7f41fM8VDHLcxKXou6QyXAh3EFr9/bVG3x74z1NWDkP87EiY8gA== + dependencies: + "@jest/fake-timers" "^27.5.1" + "@jest/types" "^27.5.1" + "@types/node" "*" + jest-mock "^27.5.1" + +"@jest/fake-timers@^27.5.1": + version "27.5.1" + resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-27.5.1.tgz#76979745ce0579c8a94a4678af7a748eda8ada74" + integrity sha512-/aPowoolwa07k7/oM3aASneNeBGCmGQsc3ugN4u6s4C/+s5M64MFo/+djTdiwcbQlRfFElGuDXWzaWj6QgKObQ== + dependencies: + "@jest/types" "^27.5.1" + "@sinonjs/fake-timers" "^8.0.1" + "@types/node" "*" + jest-message-util "^27.5.1" + jest-mock "^27.5.1" + jest-util "^27.5.1" + +"@jest/globals@^27.5.1": + version "27.5.1" + resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-27.5.1.tgz#7ac06ce57ab966566c7963431cef458434601b2b" + integrity sha512-ZEJNB41OBQQgGzgyInAv0UUfDDj3upmHydjieSxFvTRuZElrx7tXg/uVQ5hYVEwiXs3+aMsAeEc9X7xiSKCm4Q== + dependencies: + "@jest/environment" "^27.5.1" + "@jest/types" "^27.5.1" + expect "^27.5.1" + +"@jest/reporters@^27.5.1": + version "27.5.1" + resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-27.5.1.tgz#ceda7be96170b03c923c37987b64015812ffec04" + integrity sha512-cPXh9hWIlVJMQkVk84aIvXuBB4uQQmFqZiacloFuGiP3ah1sbCxCosidXFDfqG8+6fO1oR2dTJTlsOy4VFmUfw== + dependencies: + "@bcoe/v8-coverage" "^0.2.3" + "@jest/console" "^27.5.1" + "@jest/test-result" "^27.5.1" + "@jest/transform" "^27.5.1" + "@jest/types" "^27.5.1" + "@types/node" "*" + chalk "^4.0.0" + collect-v8-coverage "^1.0.0" + exit "^0.1.2" + glob "^7.1.2" + graceful-fs "^4.2.9" + istanbul-lib-coverage "^3.0.0" + istanbul-lib-instrument "^5.1.0" + istanbul-lib-report "^3.0.0" + istanbul-lib-source-maps "^4.0.0" + istanbul-reports "^3.1.3" + jest-haste-map "^27.5.1" + jest-resolve "^27.5.1" + jest-util "^27.5.1" + jest-worker "^27.5.1" + slash "^3.0.0" + source-map "^0.6.0" + string-length "^4.0.1" + terminal-link "^2.0.0" + v8-to-istanbul "^8.1.0" + +"@jest/source-map@^27.5.1": + version "27.5.1" + resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-27.5.1.tgz#6608391e465add4205eae073b55e7f279e04e8cf" + integrity sha512-y9NIHUYF3PJRlHk98NdC/N1gl88BL08aQQgu4k4ZopQkCw9t9cV8mtl3TV8b/YCB8XaVTFrmUTAJvjsntDireg== + dependencies: + callsites "^3.0.0" + graceful-fs "^4.2.9" + source-map "^0.6.0" + +"@jest/test-result@^27.5.1": + version "27.5.1" + resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-27.5.1.tgz#56a6585fa80f7cdab72b8c5fc2e871d03832f5bb" + integrity sha512-EW35l2RYFUcUQxFJz5Cv5MTOxlJIQs4I7gxzi2zVU7PJhOwfYq1MdC5nhSmYjX1gmMmLPvB3sIaC+BkcHRBfag== + dependencies: + "@jest/console" "^27.5.1" + "@jest/types" "^27.5.1" + "@types/istanbul-lib-coverage" "^2.0.0" + collect-v8-coverage "^1.0.0" + +"@jest/test-sequencer@^27.5.1": + version "27.5.1" + resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-27.5.1.tgz#4057e0e9cea4439e544c6353c6affe58d095745b" + integrity sha512-LCheJF7WB2+9JuCS7VB/EmGIdQuhtqjRNI9A43idHv3E4KltCTsPsLxvdaubFHSYwY/fNjMWjl6vNRhDiN7vpQ== + dependencies: + "@jest/test-result" "^27.5.1" + graceful-fs "^4.2.9" + jest-haste-map "^27.5.1" + jest-runtime "^27.5.1" + +"@jest/transform@^27.5.1": + version "27.5.1" + resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-27.5.1.tgz#6c3501dcc00c4c08915f292a600ece5ecfe1f409" + integrity sha512-ipON6WtYgl/1329g5AIJVbUuEh0wZVbdpGwC99Jw4LwuoBNS95MVphU6zOeD9pDkon+LLbFL7lOQRapbB8SCHw== + dependencies: + "@babel/core" "^7.1.0" + "@jest/types" "^27.5.1" + babel-plugin-istanbul "^6.1.1" + chalk "^4.0.0" + convert-source-map "^1.4.0" + fast-json-stable-stringify "^2.0.0" + graceful-fs "^4.2.9" + jest-haste-map "^27.5.1" + jest-regex-util "^27.5.1" + jest-util "^27.5.1" + micromatch "^4.0.4" + pirates "^4.0.4" + slash "^3.0.0" + source-map "^0.6.1" + write-file-atomic "^3.0.0" + +"@jest/types@^27.5.1": + version "27.5.1" + resolved "https://registry.yarnpkg.com/@jest/types/-/types-27.5.1.tgz#3c79ec4a8ba61c170bf937bcf9e98a9df175ec80" + integrity sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw== + dependencies: + "@types/istanbul-lib-coverage" "^2.0.0" + "@types/istanbul-reports" "^3.0.0" + "@types/node" "*" + "@types/yargs" "^16.0.0" + chalk "^4.0.0" + +"@jridgewell/gen-mapping@^0.3.0", "@jridgewell/gen-mapping@^0.3.2": + version "0.3.3" + resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz#7e02e6eb5df901aaedb08514203b096614024098" + integrity sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ== + dependencies: + "@jridgewell/set-array" "^1.0.1" + "@jridgewell/sourcemap-codec" "^1.4.10" + "@jridgewell/trace-mapping" "^0.3.9" + +"@jridgewell/resolve-uri@3.1.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz#2203b118c157721addfe69d47b70465463066d78" + integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w== + +"@jridgewell/set-array@^1.0.1": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.1.2.tgz#7c6cf998d6d20b914c0a55a91ae928ff25965e72" + integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw== + +"@jridgewell/sourcemap-codec@1.4.14": + version "1.4.14" + resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24" + integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== + +"@jridgewell/sourcemap-codec@^1.4.10": + version "1.4.15" + resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32" + integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg== + +"@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.9": + version "0.3.18" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.18.tgz#25783b2086daf6ff1dcb53c9249ae480e4dd4cd6" + integrity sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA== + dependencies: + "@jridgewell/resolve-uri" "3.1.0" + "@jridgewell/sourcemap-codec" "1.4.14" + +"@sinonjs/commons@^1.7.0": + version "1.8.6" + resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.8.6.tgz#80c516a4dc264c2a69115e7578d62581ff455ed9" + integrity sha512-Ky+XkAkqPZSm3NLBeUng77EBQl3cmeJhITaGHdYH8kjVB+aun3S4XBRti2zt17mtt0mIUDiNxYeoJm6drVvBJQ== + dependencies: + type-detect "4.0.8" + +"@sinonjs/fake-timers@^8.0.1": + version "8.1.0" + resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-8.1.0.tgz#3fdc2b6cb58935b21bfb8d1625eb1300484316e7" + integrity sha512-OAPJUAtgeINhh/TAlUID4QTs53Njm7xzddaVlEs/SXwgtiD1tW22zAB/W1wdqfrpmikgaWQ9Fw6Ws+hsiRm5Vg== + dependencies: + "@sinonjs/commons" "^1.7.0" + +"@tootallnate/once@1": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82" + integrity sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw== + +"@types/babel__core@^7.0.0", "@types/babel__core@^7.1.14": + version "7.20.1" + resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.20.1.tgz#916ecea274b0c776fec721e333e55762d3a9614b" + integrity sha512-aACu/U/omhdk15O4Nfb+fHgH/z3QsfQzpnvRZhYhThms83ZnAOZz7zZAWO7mn2yyNQaA4xTO8GLK3uqFU4bYYw== + dependencies: + "@babel/parser" "^7.20.7" + "@babel/types" "^7.20.7" + "@types/babel__generator" "*" + "@types/babel__template" "*" + "@types/babel__traverse" "*" + +"@types/babel__generator@*": + version "7.6.4" + resolved "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.6.4.tgz#1f20ce4c5b1990b37900b63f050182d28c2439b7" + integrity sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg== + dependencies: + "@babel/types" "^7.0.0" + +"@types/babel__template@*": + version "7.4.1" + resolved "https://registry.yarnpkg.com/@types/babel__template/-/babel__template-7.4.1.tgz#3d1a48fd9d6c0edfd56f2ff578daed48f36c8969" + integrity sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g== + dependencies: + "@babel/parser" "^7.1.0" + "@babel/types" "^7.0.0" + +"@types/babel__traverse@*", "@types/babel__traverse@^7.0.4", "@types/babel__traverse@^7.0.6": + version "7.20.1" + resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.20.1.tgz#dd6f1d2411ae677dcb2db008c962598be31d6acf" + integrity sha512-MitHFXnhtgwsGZWtT68URpOvLN4EREih1u3QtQiN4VdAxWKRVvGCSvw/Qth0M0Qq3pJpnGOu5JaM/ydK7OGbqg== + dependencies: + "@babel/types" "^7.20.7" + +"@types/graceful-fs@^4.1.2": + version "4.1.6" + resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.6.tgz#e14b2576a1c25026b7f02ede1de3b84c3a1efeae" + integrity sha512-Sig0SNORX9fdW+bQuTEovKj3uHcUL6LQKbCrrqb1X7J6/ReAbhCXRAhc+SMejhLELFj2QcyuxmUooZ4bt5ReSw== + dependencies: + "@types/node" "*" + +"@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz#8467d4b3c087805d63580480890791277ce35c44" + integrity sha512-z/QT1XN4K4KYuslS23k62yDIDLwLFkzxOuMplDtObz0+y7VqJCaO2o+SPwHCvLFZh7xazvvoor2tA/hPz9ee7g== + +"@types/istanbul-lib-report@*": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#c14c24f18ea8190c118ee7562b7ff99a36552686" + integrity sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg== + dependencies: + "@types/istanbul-lib-coverage" "*" + +"@types/istanbul-reports@^3.0.0": + version "3.0.1" + resolved "https://registry.yarnpkg.com/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz#9153fe98bba2bd565a63add9436d6f0d7f8468ff" + integrity sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw== + dependencies: + "@types/istanbul-lib-report" "*" + +"@types/node@*": + version "20.4.5" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.4.5.tgz#9dc0a5cb1ccce4f7a731660935ab70b9c00a5d69" + integrity sha512-rt40Nk13II9JwQBdeYqmbn2Q6IVTA5uPhvSO+JVqdXw/6/4glI6oR9ezty/A9Hg5u7JH4OmYmuQ+XvjKm0Datg== + +"@types/prettier@^2.1.5": + version "2.7.3" + resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.7.3.tgz#3e51a17e291d01d17d3fc61422015a933af7a08f" + integrity sha512-+68kP9yzs4LMp7VNh8gdzMSPZFL44MLGqiHWvttYJe+6qnuVr4Ek9wSBQoveqY/r+LwjCcU29kNVkidwim+kYA== + +"@types/stack-utils@^2.0.0": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.1.tgz#20f18294f797f2209b5f65c8e3b5c8e8261d127c" + integrity sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw== + +"@types/yargs-parser@*": + version "21.0.0" + resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.0.tgz#0c60e537fa790f5f9472ed2776c2b71ec117351b" + integrity sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA== + +"@types/yargs@^16.0.0": + version "16.0.5" + resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-16.0.5.tgz#12cc86393985735a283e387936398c2f9e5f88e3" + integrity sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ== + dependencies: + "@types/yargs-parser" "*" + +abab@^2.0.3, abab@^2.0.5: + version "2.0.6" + resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.6.tgz#41b80f2c871d19686216b82309231cfd3cb3d291" + integrity sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA== + +abbrev@1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" + integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== + +acorn-globals@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-6.0.0.tgz#46cdd39f0f8ff08a876619b55f5ac8a6dc770b45" + integrity sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg== + dependencies: + acorn "^7.1.1" + acorn-walk "^7.1.1" + +acorn-walk@^7.1.1: + version "7.2.0" + resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-7.2.0.tgz#0de889a601203909b0fbe07b8938dc21d2e967bc" + integrity sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA== + +acorn@^7.1.1: + version "7.4.1" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" + integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== + +acorn@^8.2.4: + version "8.10.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.10.0.tgz#8be5b3907a67221a81ab23c7889c4c5526b62ec5" + integrity sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw== + +agent-base@6: + version "6.0.2" + resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77" + integrity sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ== + dependencies: + debug "4" + +ansi-escapes@^4.2.1: + version "4.3.2" + resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e" + integrity sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ== + dependencies: + type-fest "^0.21.3" + +ansi-regex@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" + integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== + +ansi-styles@^3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" + integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== + dependencies: + color-convert "^1.9.0" + +ansi-styles@^4.0.0, ansi-styles@^4.1.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" + integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== + dependencies: + color-convert "^2.0.1" + +ansi-styles@^5.0.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b" + integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA== + +anymatch@^3.0.3, anymatch@~3.1.2: + version "3.1.3" + resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" + integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== + dependencies: + normalize-path "^3.0.0" + picomatch "^2.0.4" + +argparse@^1.0.7: + version "1.0.10" + resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" + integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg== + dependencies: + sprintf-js "~1.0.2" + +async@^3.2.3: + version "3.2.4" + resolved "https://registry.yarnpkg.com/async/-/async-3.2.4.tgz#2d22e00f8cddeb5fde5dd33522b56d1cf569a81c" + integrity sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ== + +asynckit@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" + integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== + +babel-jest@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-27.5.1.tgz#a1bf8d61928edfefd21da27eb86a695bfd691444" + integrity sha512-cdQ5dXjGRd0IBRATiQ4mZGlGlRE8kJpjPOixdNRdT+m3UcNqmYWN6rK6nvtXYfY3D76cb8s/O1Ss8ea24PIwcg== + dependencies: + "@jest/transform" "^27.5.1" + "@jest/types" "^27.5.1" + "@types/babel__core" "^7.1.14" + babel-plugin-istanbul "^6.1.1" + babel-preset-jest "^27.5.1" + chalk "^4.0.0" + graceful-fs "^4.2.9" + slash "^3.0.0" + +babel-plugin-istanbul@^6.1.1: + version "6.1.1" + resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz#fa88ec59232fd9b4e36dbbc540a8ec9a9b47da73" + integrity sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + "@istanbuljs/load-nyc-config" "^1.0.0" + "@istanbuljs/schema" "^0.1.2" + istanbul-lib-instrument "^5.0.4" + test-exclude "^6.0.0" + +babel-plugin-jest-hoist@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-27.5.1.tgz#9be98ecf28c331eb9f5df9c72d6f89deb8181c2e" + integrity sha512-50wCwD5EMNW4aRpOwtqzyZHIewTYNxLA4nhB+09d8BIssfNfzBRhkBIHiaPv1Si226TQSvp8gxAJm2iY2qs2hQ== + dependencies: + "@babel/template" "^7.3.3" + "@babel/types" "^7.3.3" + "@types/babel__core" "^7.0.0" + "@types/babel__traverse" "^7.0.6" + +babel-preset-current-node-syntax@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz#b4399239b89b2a011f9ddbe3e4f401fc40cff73b" + integrity sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ== + dependencies: + "@babel/plugin-syntax-async-generators" "^7.8.4" + "@babel/plugin-syntax-bigint" "^7.8.3" + "@babel/plugin-syntax-class-properties" "^7.8.3" + "@babel/plugin-syntax-import-meta" "^7.8.3" + "@babel/plugin-syntax-json-strings" "^7.8.3" + "@babel/plugin-syntax-logical-assignment-operators" "^7.8.3" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" + "@babel/plugin-syntax-numeric-separator" "^7.8.3" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" + "@babel/plugin-syntax-optional-chaining" "^7.8.3" + "@babel/plugin-syntax-top-level-await" "^7.8.3" + +babel-preset-jest@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-27.5.1.tgz#91f10f58034cb7989cb4f962b69fa6eef6a6bc81" + integrity sha512-Nptf2FzlPCWYuJg41HBqXVT8ym6bXOevuCTbhxlUpjwtysGaIWFvDEjp4y+G7fl13FgOdjs7P/DmErqH7da0Ag== + dependencies: + babel-plugin-jest-hoist "^27.5.1" + babel-preset-current-node-syntax "^1.0.0" + +balanced-match@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" + integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== + +binary-extensions@^2.0.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" + integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== + +brace-expansion@^1.1.7: + version "1.1.11" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" + integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== + dependencies: + balanced-match "^1.0.0" + concat-map "0.0.1" + +brace-expansion@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.0.1.tgz#1edc459e0f0c548486ecf9fc99f2221364b9a0ae" + integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA== + dependencies: + balanced-match "^1.0.0" + +braces@^3.0.2, braces@~3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" + integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== + dependencies: + fill-range "^7.0.1" + +browser-process-hrtime@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz#3c9b4b7d782c8121e56f10106d84c0d0ffc94626" + integrity sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow== + +browserslist@^4.21.9: + version "4.21.10" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.10.tgz#dbbac576628c13d3b2231332cb2ec5a46e015bb0" + integrity sha512-bipEBdZfVH5/pwrvqc+Ub0kUPVfGUhlKxbvfD+z1BDnPEO/X98ruXGA1WP5ASpAFKan7Qr6j736IacbZQuAlKQ== + dependencies: + caniuse-lite "^1.0.30001517" + electron-to-chromium "^1.4.477" + node-releases "^2.0.13" + update-browserslist-db "^1.0.11" + +bser@2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/bser/-/bser-2.1.1.tgz#e6787da20ece9d07998533cfd9de6f5c38f4bc05" + integrity sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ== + dependencies: + node-int64 "^0.4.0" + +buffer-from@^1.0.0: + version "1.1.2" + resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" + integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== + +callsites@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" + integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== + +camelcase@^5.3.1: + version "5.3.1" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" + integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== + +camelcase@^6.2.0: + version "6.3.0" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" + integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== + +caniuse-lite@^1.0.30001517: + version "1.0.30001517" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001517.tgz#90fabae294215c3495807eb24fc809e11dc2f0a8" + integrity sha512-Vdhm5S11DaFVLlyiKu4hiUTkpZu+y1KA/rZZqVQfOD5YdDT/eQKlkt7NaE0WGOFgX32diqt9MiP9CAiFeRklaA== + +chalk@^2.0.0: + version "2.4.2" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" + integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== + dependencies: + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" + +chalk@^4.0.0, chalk@^4.0.2: + version "4.1.2" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" + integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + +char-regex@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf" + integrity sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw== + +chokidar@^3.5.2: + version "3.5.3" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" + integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== + dependencies: + anymatch "~3.1.2" + braces "~3.0.2" + glob-parent "~5.1.2" + is-binary-path "~2.1.0" + is-glob "~4.0.1" + normalize-path "~3.0.0" + readdirp "~3.6.0" + optionalDependencies: + fsevents "~2.3.2" + +ci-info@^3.2.0: + version "3.8.0" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.8.0.tgz#81408265a5380c929f0bc665d62256628ce9ef91" + integrity sha512-eXTggHWSooYhq49F2opQhuHWgzucfF2YgODK4e1566GQs5BIfP30B0oenwBJHfWxAs2fyPB1s7Mg949zLf61Yw== + +cjs-module-lexer@^1.0.0: + version "1.2.3" + resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.2.3.tgz#6c370ab19f8a3394e318fe682686ec0ac684d107" + integrity sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ== + +cliui@^7.0.2: + version "7.0.4" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f" + integrity sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ== + dependencies: + string-width "^4.2.0" + strip-ansi "^6.0.0" + wrap-ansi "^7.0.0" + +co@^4.6.0: + version "4.6.0" + resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" + integrity sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ== + +collect-v8-coverage@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/collect-v8-coverage/-/collect-v8-coverage-1.0.2.tgz#c0b29bcd33bcd0779a1344c2136051e6afd3d9e9" + integrity sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q== + +color-convert@^1.9.0: + version "1.9.3" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" + integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== + dependencies: + color-name "1.1.3" + +color-convert@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" + integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== + dependencies: + color-name "~1.1.4" + +color-name@1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" + integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== + +color-name@~1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" + integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== + +combined-stream@^1.0.8: + version "1.0.8" + resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" + integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== + dependencies: + delayed-stream "~1.0.0" + +commander@^11.0.0: + version "11.0.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-11.0.0.tgz#43e19c25dbedc8256203538e8d7e9346877a6f67" + integrity sha512-9HMlXtt/BNoYr8ooyjjNRdIilOTkVJXB+GhxMTtOKwk0R4j4lS4NpjuqmRxroBfnfTSHQIHQB7wryHhXarNjmQ== + +concat-map@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" + integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== + +convert-source-map@^1.4.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0: + version "1.9.0" + resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" + integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== + +cross-spawn@^7.0.3: + version "7.0.3" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" + integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== + dependencies: + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" + +cssom@^0.4.4: + version "0.4.4" + resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.4.4.tgz#5a66cf93d2d0b661d80bf6a44fb65f5c2e4e0a10" + integrity sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw== + +cssom@~0.3.6: + version "0.3.8" + resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.3.8.tgz#9f1276f5b2b463f2114d3f2c75250af8c1a36f4a" + integrity sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg== + +cssstyle@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/cssstyle/-/cssstyle-2.3.0.tgz#ff665a0ddbdc31864b09647f34163443d90b0852" + integrity sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A== + dependencies: + cssom "~0.3.6" + +data-urls@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/data-urls/-/data-urls-2.0.0.tgz#156485a72963a970f5d5821aaf642bef2bf2db9b" + integrity sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ== + dependencies: + abab "^2.0.3" + whatwg-mimetype "^2.3.0" + whatwg-url "^8.0.0" + +debug@4, debug@^4.1.0, debug@^4.1.1: + version "4.3.4" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" + integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== + dependencies: + ms "2.1.2" + +debug@^3.2.7: + version "3.2.7" + resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a" + integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ== + dependencies: + ms "^2.1.1" + +decimal.js@^10.2.1: + version "10.4.3" + resolved "https://registry.yarnpkg.com/decimal.js/-/decimal.js-10.4.3.tgz#1044092884d245d1b7f65725fa4ad4c6f781cc23" + integrity sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA== + +dedent@^0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" + integrity sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA== + +deepmerge@^4.2.2: + version "4.3.1" + resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.3.1.tgz#44b5f2147cd3b00d4b56137685966f26fd25dd4a" + integrity sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A== + +delayed-stream@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" + integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== + +detect-newline@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651" + integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA== + +diff-sequences@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-27.5.1.tgz#eaecc0d327fd68c8d9672a1e64ab8dccb2ef5327" + integrity sha512-k1gCAXAsNgLwEL+Y8Wvl+M6oEFj5bgazfZULpS5CneoPPXRaCCW7dm+q21Ky2VEE5X+VeRDBVg1Pcvvsr4TtNQ== + +domexception@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/domexception/-/domexception-2.0.1.tgz#fb44aefba793e1574b0af6aed2801d057529f304" + integrity sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg== + dependencies: + webidl-conversions "^5.0.0" + +ejs@^3.1.7: + version "3.1.9" + resolved "https://registry.yarnpkg.com/ejs/-/ejs-3.1.9.tgz#03c9e8777fe12686a9effcef22303ca3d8eeb361" + integrity sha512-rC+QVNMJWv+MtPgkt0y+0rVEIdbtxVADApW9JXrUVlzHetgcyczP/E7DJmWJ4fJCZF2cPcBk0laWO9ZHMG3DmQ== + dependencies: + jake "^10.8.5" + +electron-to-chromium@^1.4.477: + version "1.4.477" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.477.tgz#05669aa6f161ee9076a6805457e9bd9fe6d0dfd1" + integrity sha512-shUVy6Eawp33dFBFIoYbIwLHrX0IZ857AlH9ug2o4rvbWmpaCUdBpQ5Zw39HRrfzAFm4APJE9V+E2A/WB0YqJw== + +emittery@^0.8.1: + version "0.8.1" + resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.8.1.tgz#bb23cc86d03b30aa75a7f734819dee2e1ba70860" + integrity sha512-uDfvUjVrfGJJhymx/kz6prltenw1u7WrCg1oa94zYY8xxVpLLUu045LAT0dhDZdXG58/EpPL/5kA180fQ/qudg== + +emoji-regex@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" + integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== + +error-ex@^1.3.1: + version "1.3.2" + resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" + integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== + dependencies: + is-arrayish "^0.2.1" + +escalade@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" + integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== + +escape-string-regexp@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" + integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== + +escape-string-regexp@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344" + integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w== + +escodegen@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-2.1.0.tgz#ba93bbb7a43986d29d6041f99f5262da773e2e17" + integrity sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w== + dependencies: + esprima "^4.0.1" + estraverse "^5.2.0" + esutils "^2.0.2" + optionalDependencies: + source-map "~0.6.1" + +esprima@^4.0.0, esprima@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" + integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== + +estraverse@^5.2.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" + integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== + +esutils@^2.0.2: + version "2.0.3" + resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" + integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== + +execa@^5.0.0: + version "5.1.1" + resolved "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd" + integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== + dependencies: + cross-spawn "^7.0.3" + get-stream "^6.0.0" + human-signals "^2.1.0" + is-stream "^2.0.0" + merge-stream "^2.0.0" + npm-run-path "^4.0.1" + onetime "^5.1.2" + signal-exit "^3.0.3" + strip-final-newline "^2.0.0" + +exit@^0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" + integrity sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ== + +expect@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/expect/-/expect-27.5.1.tgz#83ce59f1e5bdf5f9d2b94b61d2050db48f3fef74" + integrity sha512-E1q5hSUG2AmYQwQJ041nvgpkODHQvB+RKlB4IYdru6uJsyFTRyZAP463M+1lINorwbqAmUggi6+WwkD8lCS/Dw== + dependencies: + "@jest/types" "^27.5.1" + jest-get-type "^27.5.1" + jest-matcher-utils "^27.5.1" + jest-message-util "^27.5.1" + +fast-json-stable-stringify@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" + integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== + +fb-watchman@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.2.tgz#e9524ee6b5c77e9e5001af0f85f3adbb8623255c" + integrity sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA== + dependencies: + bser "2.1.1" + +filelist@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/filelist/-/filelist-1.0.4.tgz#f78978a1e944775ff9e62e744424f215e58352b5" + integrity sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q== + dependencies: + minimatch "^5.0.1" + +fill-range@^7.0.1: + version "7.0.1" + resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" + integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== + dependencies: + to-regex-range "^5.0.1" + +find-up@^4.0.0, find-up@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" + integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== + dependencies: + locate-path "^5.0.0" + path-exists "^4.0.0" + +form-data@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/form-data/-/form-data-3.0.1.tgz#ebd53791b78356a99af9a300d4282c4d5eb9755f" + integrity sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg== + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.8" + mime-types "^2.1.12" + +fs.realpath@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" + integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== + +fsevents@^2.3.2, fsevents@~2.3.2: + version "2.3.2" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" + integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== + +function-bind@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" + integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== + +gensync@^1.0.0-beta.2: + version "1.0.0-beta.2" + resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" + integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== + +get-caller-file@^2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" + integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== + +get-package-type@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a" + integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== + +get-stream@^6.0.0: + version "6.0.1" + resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" + integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== + +glob-parent@~5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" + integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== + dependencies: + is-glob "^4.0.1" + +glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4: + version "7.2.3" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" + integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.1.1" + once "^1.3.0" + path-is-absolute "^1.0.0" + +globals@^11.1.0: + version "11.12.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" + integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== + +graceful-fs@^4.2.9: + version "4.2.11" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" + integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== + +has-flag@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" + integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== + +has-flag@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" + integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== + +has@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" + integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== + dependencies: + function-bind "^1.1.1" + +html-encoding-sniffer@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz#42a6dc4fd33f00281176e8b23759ca4e4fa185f3" + integrity sha512-D5JbOMBIR/TVZkubHT+OyT2705QvogUW4IBn6nHd756OwieSF9aDYFj4dv6HHEVGYbHaLETa3WggZYWWMyy3ZQ== + dependencies: + whatwg-encoding "^1.0.5" + +html-escaper@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453" + integrity sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg== + +http-proxy-agent@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz#8a8c8ef7f5932ccf953c296ca8291b95aa74aa3a" + integrity sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg== + dependencies: + "@tootallnate/once" "1" + agent-base "6" + debug "4" + +https-proxy-agent@^5.0.0: + version "5.0.1" + resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6" + integrity sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA== + dependencies: + agent-base "6" + debug "4" + +human-signals@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" + integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== + +iconv-lite@0.4.24: + version "0.4.24" + resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" + integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== + dependencies: + safer-buffer ">= 2.1.2 < 3" + +ignore-by-default@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/ignore-by-default/-/ignore-by-default-1.0.1.tgz#48ca6d72f6c6a3af00a9ad4ae6876be3889e2b09" + integrity sha512-Ius2VYcGNk7T90CppJqcIkS5ooHUZyIQK+ClZfMfMNFEF9VSE73Fq+906u/CWu92x4gzZMWOwfFYckPObzdEbA== + +import-local@^3.0.2: + version "3.1.0" + resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.1.0.tgz#b4479df8a5fd44f6cdce24070675676063c95cb4" + integrity sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg== + dependencies: + pkg-dir "^4.2.0" + resolve-cwd "^3.0.0" + +imurmurhash@^0.1.4: + version "0.1.4" + resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" + integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== + +inflight@^1.0.4: + version "1.0.6" + resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" + integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== + dependencies: + once "^1.3.0" + wrappy "1" + +inherits@2: + version "2.0.4" + resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" + integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== + +is-arrayish@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" + integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== + +is-binary-path@~2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" + integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== + dependencies: + binary-extensions "^2.0.0" + +is-core-module@^2.11.0: + version "2.12.1" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.12.1.tgz#0c0b6885b6f80011c71541ce15c8d66cf5a4f9fd" + integrity sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg== + dependencies: + has "^1.0.3" + +is-extglob@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" + integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== + +is-fullwidth-code-point@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" + integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== + +is-generator-fn@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118" + integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ== + +is-glob@^4.0.1, is-glob@~4.0.1: + version "4.0.3" + resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" + integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== + dependencies: + is-extglob "^2.1.1" + +is-number@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" + integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== + +is-potential-custom-element-name@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz#171ed6f19e3ac554394edf78caa05784a45bebb5" + integrity sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ== + +is-stream@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077" + integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== + +is-typedarray@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" + integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== + +isexe@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" + integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== + +istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz#189e7909d0a39fa5a3dfad5b03f71947770191d3" + integrity sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw== + +istanbul-lib-instrument@^5.0.4, istanbul-lib-instrument@^5.1.0: + version "5.2.1" + resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz#d10c8885c2125574e1c231cacadf955675e1ce3d" + integrity sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg== + dependencies: + "@babel/core" "^7.12.3" + "@babel/parser" "^7.14.7" + "@istanbuljs/schema" "^0.1.2" + istanbul-lib-coverage "^3.2.0" + semver "^6.3.0" + +istanbul-lib-report@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz#908305bac9a5bd175ac6a74489eafd0fc2445a7d" + integrity sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw== + dependencies: + istanbul-lib-coverage "^3.0.0" + make-dir "^4.0.0" + supports-color "^7.1.0" + +istanbul-lib-source-maps@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz#895f3a709fcfba34c6de5a42939022f3e4358551" + integrity sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw== + dependencies: + debug "^4.1.1" + istanbul-lib-coverage "^3.0.0" + source-map "^0.6.1" + +istanbul-reports@^3.1.3: + version "3.1.6" + resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.1.6.tgz#2544bcab4768154281a2f0870471902704ccaa1a" + integrity sha512-TLgnMkKg3iTDsQ9PbPTdpfAK2DzjF9mqUG7RMgcQl8oFjad8ob4laGxv5XV5U9MAfx8D6tSJiUyuAwzLicaxlg== + dependencies: + html-escaper "^2.0.0" + istanbul-lib-report "^3.0.0" + +jake@^10.8.5: + version "10.8.7" + resolved "https://registry.yarnpkg.com/jake/-/jake-10.8.7.tgz#63a32821177940c33f356e0ba44ff9d34e1c7d8f" + integrity sha512-ZDi3aP+fG/LchyBzUM804VjddnwfSfsdeYkwt8NcbKRvo4rFkjhs456iLFn3k2ZUWvNe4i48WACDbza8fhq2+w== + dependencies: + async "^3.2.3" + chalk "^4.0.2" + filelist "^1.0.4" + minimatch "^3.1.2" + +jest-changed-files@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-27.5.1.tgz#a348aed00ec9bf671cc58a66fcbe7c3dfd6a68f5" + integrity sha512-buBLMiByfWGCoMsLLzGUUSpAmIAGnbR2KJoMN10ziLhOLvP4e0SlypHnAel8iqQXTrcbmfEY9sSqae5sgUsTvw== + dependencies: + "@jest/types" "^27.5.1" + execa "^5.0.0" + throat "^6.0.1" + +jest-circus@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-27.5.1.tgz#37a5a4459b7bf4406e53d637b49d22c65d125ecc" + integrity sha512-D95R7x5UtlMA5iBYsOHFFbMD/GVA4R/Kdq15f7xYWUfWHBto9NYRsOvnSauTgdF+ogCpJ4tyKOXhUifxS65gdw== + dependencies: + "@jest/environment" "^27.5.1" + "@jest/test-result" "^27.5.1" + "@jest/types" "^27.5.1" + "@types/node" "*" + chalk "^4.0.0" + co "^4.6.0" + dedent "^0.7.0" + expect "^27.5.1" + is-generator-fn "^2.0.0" + jest-each "^27.5.1" + jest-matcher-utils "^27.5.1" + jest-message-util "^27.5.1" + jest-runtime "^27.5.1" + jest-snapshot "^27.5.1" + jest-util "^27.5.1" + pretty-format "^27.5.1" + slash "^3.0.0" + stack-utils "^2.0.3" + throat "^6.0.1" + +jest-cli@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-27.5.1.tgz#278794a6e6458ea8029547e6c6cbf673bd30b145" + integrity sha512-Hc6HOOwYq4/74/c62dEE3r5elx8wjYqxY0r0G/nFrLDPMFRu6RA/u8qINOIkvhxG7mMQ5EJsOGfRpI8L6eFUVw== + dependencies: + "@jest/core" "^27.5.1" + "@jest/test-result" "^27.5.1" + "@jest/types" "^27.5.1" + chalk "^4.0.0" + exit "^0.1.2" + graceful-fs "^4.2.9" + import-local "^3.0.2" + jest-config "^27.5.1" + jest-util "^27.5.1" + jest-validate "^27.5.1" + prompts "^2.0.1" + yargs "^16.2.0" + +jest-config@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-27.5.1.tgz#5c387de33dca3f99ad6357ddeccd91bf3a0e4a41" + integrity sha512-5sAsjm6tGdsVbW9ahcChPAFCk4IlkQUknH5AvKjuLTSlcO/wCZKyFdn7Rg0EkC+OGgWODEy2hDpWB1PgzH0JNA== + dependencies: + "@babel/core" "^7.8.0" + "@jest/test-sequencer" "^27.5.1" + "@jest/types" "^27.5.1" + babel-jest "^27.5.1" + chalk "^4.0.0" + ci-info "^3.2.0" + deepmerge "^4.2.2" + glob "^7.1.1" + graceful-fs "^4.2.9" + jest-circus "^27.5.1" + jest-environment-jsdom "^27.5.1" + jest-environment-node "^27.5.1" + jest-get-type "^27.5.1" + jest-jasmine2 "^27.5.1" + jest-regex-util "^27.5.1" + jest-resolve "^27.5.1" + jest-runner "^27.5.1" + jest-util "^27.5.1" + jest-validate "^27.5.1" + micromatch "^4.0.4" + parse-json "^5.2.0" + pretty-format "^27.5.1" + slash "^3.0.0" + strip-json-comments "^3.1.1" + +jest-diff@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-27.5.1.tgz#a07f5011ac9e6643cf8a95a462b7b1ecf6680def" + integrity sha512-m0NvkX55LDt9T4mctTEgnZk3fmEg3NRYutvMPWM/0iPnkFj2wIeF45O1718cMSOFO1vINkqmxqD8vE37uTEbqw== + dependencies: + chalk "^4.0.0" + diff-sequences "^27.5.1" + jest-get-type "^27.5.1" + pretty-format "^27.5.1" + +jest-docblock@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-27.5.1.tgz#14092f364a42c6108d42c33c8cf30e058e25f6c0" + integrity sha512-rl7hlABeTsRYxKiUfpHrQrG4e2obOiTQWfMEH3PxPjOtdsfLQO4ReWSZaQ7DETm4xu07rl4q/h4zcKXyU0/OzQ== + dependencies: + detect-newline "^3.0.0" + +jest-each@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-27.5.1.tgz#5bc87016f45ed9507fed6e4702a5b468a5b2c44e" + integrity sha512-1Ff6p+FbhT/bXQnEouYy00bkNSY7OUpfIcmdl8vZ31A1UUaurOLPA8a8BbJOF2RDUElwJhmeaV7LnagI+5UwNQ== + dependencies: + "@jest/types" "^27.5.1" + chalk "^4.0.0" + jest-get-type "^27.5.1" + jest-util "^27.5.1" + pretty-format "^27.5.1" + +jest-environment-jsdom@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-27.5.1.tgz#ea9ccd1fc610209655a77898f86b2b559516a546" + integrity sha512-TFBvkTC1Hnnnrka/fUb56atfDtJ9VMZ94JkjTbggl1PEpwrYtUBKMezB3inLmWqQsXYLcMwNoDQwoBTAvFfsfw== + dependencies: + "@jest/environment" "^27.5.1" + "@jest/fake-timers" "^27.5.1" + "@jest/types" "^27.5.1" + "@types/node" "*" + jest-mock "^27.5.1" + jest-util "^27.5.1" + jsdom "^16.6.0" + +jest-environment-node@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-27.5.1.tgz#dedc2cfe52fab6b8f5714b4808aefa85357a365e" + integrity sha512-Jt4ZUnxdOsTGwSRAfKEnE6BcwsSPNOijjwifq5sDFSA2kesnXTvNqKHYgM0hDq3549Uf/KzdXNYn4wMZJPlFLw== + dependencies: + "@jest/environment" "^27.5.1" + "@jest/fake-timers" "^27.5.1" + "@jest/types" "^27.5.1" + "@types/node" "*" + jest-mock "^27.5.1" + jest-util "^27.5.1" + +jest-get-type@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-27.5.1.tgz#3cd613c507b0f7ace013df407a1c1cd578bcb4f1" + integrity sha512-2KY95ksYSaK7DMBWQn6dQz3kqAf3BB64y2udeG+hv4KfSOb9qwcYQstTJc1KCbsix+wLZWZYN8t7nwX3GOBLRw== + +jest-haste-map@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-27.5.1.tgz#9fd8bd7e7b4fa502d9c6164c5640512b4e811e7f" + integrity sha512-7GgkZ4Fw4NFbMSDSpZwXeBiIbx+t/46nJ2QitkOjvwPYyZmqttu2TDSimMHP1EkPOi4xUZAN1doE5Vd25H4Jng== + dependencies: + "@jest/types" "^27.5.1" + "@types/graceful-fs" "^4.1.2" + "@types/node" "*" + anymatch "^3.0.3" + fb-watchman "^2.0.0" + graceful-fs "^4.2.9" + jest-regex-util "^27.5.1" + jest-serializer "^27.5.1" + jest-util "^27.5.1" + jest-worker "^27.5.1" + micromatch "^4.0.4" + walker "^1.0.7" + optionalDependencies: + fsevents "^2.3.2" + +jest-jasmine2@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-27.5.1.tgz#a037b0034ef49a9f3d71c4375a796f3b230d1ac4" + integrity sha512-jtq7VVyG8SqAorDpApwiJJImd0V2wv1xzdheGHRGyuT7gZm6gG47QEskOlzsN1PG/6WNaCo5pmwMHDf3AkG2pQ== + dependencies: + "@jest/environment" "^27.5.1" + "@jest/source-map" "^27.5.1" + "@jest/test-result" "^27.5.1" + "@jest/types" "^27.5.1" + "@types/node" "*" + chalk "^4.0.0" + co "^4.6.0" + expect "^27.5.1" + is-generator-fn "^2.0.0" + jest-each "^27.5.1" + jest-matcher-utils "^27.5.1" + jest-message-util "^27.5.1" + jest-runtime "^27.5.1" + jest-snapshot "^27.5.1" + jest-util "^27.5.1" + pretty-format "^27.5.1" + throat "^6.0.1" + +jest-leak-detector@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-27.5.1.tgz#6ec9d54c3579dd6e3e66d70e3498adf80fde3fb8" + integrity sha512-POXfWAMvfU6WMUXftV4HolnJfnPOGEu10fscNCA76KBpRRhcMN2c8d3iT2pxQS3HLbA+5X4sOUPzYO2NUyIlHQ== + dependencies: + jest-get-type "^27.5.1" + pretty-format "^27.5.1" + +jest-matcher-utils@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-27.5.1.tgz#9c0cdbda8245bc22d2331729d1091308b40cf8ab" + integrity sha512-z2uTx/T6LBaCoNWNFWwChLBKYxTMcGBRjAt+2SbP929/Fflb9aa5LGma654Rz8z9HLxsrUaYzxE9T/EFIL/PAw== + dependencies: + chalk "^4.0.0" + jest-diff "^27.5.1" + jest-get-type "^27.5.1" + pretty-format "^27.5.1" + +jest-message-util@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-27.5.1.tgz#bdda72806da10d9ed6425e12afff38cd1458b6cf" + integrity sha512-rMyFe1+jnyAAf+NHwTclDz0eAaLkVDdKVHHBFWsBWHnnh5YeJMNWWsv7AbFYXfK3oTqvL7VTWkhNLu1jX24D+g== + dependencies: + "@babel/code-frame" "^7.12.13" + "@jest/types" "^27.5.1" + "@types/stack-utils" "^2.0.0" + chalk "^4.0.0" + graceful-fs "^4.2.9" + micromatch "^4.0.4" + pretty-format "^27.5.1" + slash "^3.0.0" + stack-utils "^2.0.3" + +jest-mock@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-27.5.1.tgz#19948336d49ef4d9c52021d34ac7b5f36ff967d6" + integrity sha512-K4jKbY1d4ENhbrG2zuPWaQBvDly+iZ2yAW+T1fATN78hc0sInwn7wZB8XtlNnvHug5RMwV897Xm4LqmPM4e2Og== + dependencies: + "@jest/types" "^27.5.1" + "@types/node" "*" + +jest-pnp-resolver@^1.2.2: + version "1.2.3" + resolved "https://registry.yarnpkg.com/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz#930b1546164d4ad5937d5540e711d4d38d4cad2e" + integrity sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w== + +jest-regex-util@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-27.5.1.tgz#4da143f7e9fd1e542d4aa69617b38e4a78365b95" + integrity sha512-4bfKq2zie+x16okqDXjXn9ql2B0dScQu+vcwe4TvFVhkVyuWLqpZrZtXxLLWoXYgn0E87I6r6GRYHF7wFZBUvg== + +jest-resolve-dependencies@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-27.5.1.tgz#d811ecc8305e731cc86dd79741ee98fed06f1da8" + integrity sha512-QQOOdY4PE39iawDn5rzbIePNigfe5B9Z91GDD1ae/xNDlu9kaat8QQ5EKnNmVWPV54hUdxCVwwj6YMgR2O7IOg== + dependencies: + "@jest/types" "^27.5.1" + jest-regex-util "^27.5.1" + jest-snapshot "^27.5.1" + +jest-resolve@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-27.5.1.tgz#a2f1c5a0796ec18fe9eb1536ac3814c23617b384" + integrity sha512-FFDy8/9E6CV83IMbDpcjOhumAQPDyETnU2KZ1O98DwTnz8AOBsW/Xv3GySr1mOZdItLR+zDZ7I/UdTFbgSOVCw== + dependencies: + "@jest/types" "^27.5.1" + chalk "^4.0.0" + graceful-fs "^4.2.9" + jest-haste-map "^27.5.1" + jest-pnp-resolver "^1.2.2" + jest-util "^27.5.1" + jest-validate "^27.5.1" + resolve "^1.20.0" + resolve.exports "^1.1.0" + slash "^3.0.0" + +jest-runner@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-27.5.1.tgz#071b27c1fa30d90540805c5645a0ec167c7b62e5" + integrity sha512-g4NPsM4mFCOwFKXO4p/H/kWGdJp9V8kURY2lX8Me2drgXqG7rrZAx5kv+5H7wtt/cdFIjhqYx1HrlqWHaOvDaQ== + dependencies: + "@jest/console" "^27.5.1" + "@jest/environment" "^27.5.1" + "@jest/test-result" "^27.5.1" + "@jest/transform" "^27.5.1" + "@jest/types" "^27.5.1" + "@types/node" "*" + chalk "^4.0.0" + emittery "^0.8.1" + graceful-fs "^4.2.9" + jest-docblock "^27.5.1" + jest-environment-jsdom "^27.5.1" + jest-environment-node "^27.5.1" + jest-haste-map "^27.5.1" + jest-leak-detector "^27.5.1" + jest-message-util "^27.5.1" + jest-resolve "^27.5.1" + jest-runtime "^27.5.1" + jest-util "^27.5.1" + jest-worker "^27.5.1" + source-map-support "^0.5.6" + throat "^6.0.1" + +jest-runtime@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-27.5.1.tgz#4896003d7a334f7e8e4a53ba93fb9bcd3db0a1af" + integrity sha512-o7gxw3Gf+H2IGt8fv0RiyE1+r83FJBRruoA+FXrlHw6xEyBsU8ugA6IPfTdVyA0w8HClpbK+DGJxH59UrNMx8A== + dependencies: + "@jest/environment" "^27.5.1" + "@jest/fake-timers" "^27.5.1" + "@jest/globals" "^27.5.1" + "@jest/source-map" "^27.5.1" + "@jest/test-result" "^27.5.1" + "@jest/transform" "^27.5.1" + "@jest/types" "^27.5.1" + chalk "^4.0.0" + cjs-module-lexer "^1.0.0" + collect-v8-coverage "^1.0.0" + execa "^5.0.0" + glob "^7.1.3" + graceful-fs "^4.2.9" + jest-haste-map "^27.5.1" + jest-message-util "^27.5.1" + jest-mock "^27.5.1" + jest-regex-util "^27.5.1" + jest-resolve "^27.5.1" + jest-snapshot "^27.5.1" + jest-util "^27.5.1" + slash "^3.0.0" + strip-bom "^4.0.0" + +jest-serializer@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-27.5.1.tgz#81438410a30ea66fd57ff730835123dea1fb1f64" + integrity sha512-jZCyo6iIxO1aqUxpuBlwTDMkzOAJS4a3eYz3YzgxxVQFwLeSA7Jfq5cbqCY+JLvTDrWirgusI/0KwxKMgrdf7w== + dependencies: + "@types/node" "*" + graceful-fs "^4.2.9" + +jest-snapshot@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-27.5.1.tgz#b668d50d23d38054a51b42c4039cab59ae6eb6a1" + integrity sha512-yYykXI5a0I31xX67mgeLw1DZ0bJB+gpq5IpSuCAoyDi0+BhgU/RIrL+RTzDmkNTchvDFWKP8lp+w/42Z3us5sA== + dependencies: + "@babel/core" "^7.7.2" + "@babel/generator" "^7.7.2" + "@babel/plugin-syntax-typescript" "^7.7.2" + "@babel/traverse" "^7.7.2" + "@babel/types" "^7.0.0" + "@jest/transform" "^27.5.1" + "@jest/types" "^27.5.1" + "@types/babel__traverse" "^7.0.4" + "@types/prettier" "^2.1.5" + babel-preset-current-node-syntax "^1.0.0" + chalk "^4.0.0" + expect "^27.5.1" + graceful-fs "^4.2.9" + jest-diff "^27.5.1" + jest-get-type "^27.5.1" + jest-haste-map "^27.5.1" + jest-matcher-utils "^27.5.1" + jest-message-util "^27.5.1" + jest-util "^27.5.1" + natural-compare "^1.4.0" + pretty-format "^27.5.1" + semver "^7.3.2" + +jest-util@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-27.5.1.tgz#3ba9771e8e31a0b85da48fe0b0891fb86c01c2f9" + integrity sha512-Kv2o/8jNvX1MQ0KGtw480E/w4fBCDOnH6+6DmeKi6LZUIlKA5kwY0YNdlzaWTiVgxqAqik11QyxDOKk543aKXw== + dependencies: + "@jest/types" "^27.5.1" + "@types/node" "*" + chalk "^4.0.0" + ci-info "^3.2.0" + graceful-fs "^4.2.9" + picomatch "^2.2.3" + +jest-validate@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-27.5.1.tgz#9197d54dc0bdb52260b8db40b46ae668e04df067" + integrity sha512-thkNli0LYTmOI1tDB3FI1S1RTp/Bqyd9pTarJwL87OIBFuqEb5Apv5EaApEudYg4g86e3CT6kM0RowkhtEnCBQ== + dependencies: + "@jest/types" "^27.5.1" + camelcase "^6.2.0" + chalk "^4.0.0" + jest-get-type "^27.5.1" + leven "^3.1.0" + pretty-format "^27.5.1" + +jest-watcher@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-27.5.1.tgz#71bd85fb9bde3a2c2ec4dc353437971c43c642a2" + integrity sha512-z676SuD6Z8o8qbmEGhoEUFOM1+jfEiL3DXHK/xgEiG2EyNYfFG60jluWcupY6dATjfEsKQuibReS1djInQnoVw== + dependencies: + "@jest/test-result" "^27.5.1" + "@jest/types" "^27.5.1" + "@types/node" "*" + ansi-escapes "^4.2.1" + chalk "^4.0.0" + jest-util "^27.5.1" + string-length "^4.0.1" + +jest-worker@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.5.1.tgz#8d146f0900e8973b106b6f73cc1e9a8cb86f8db0" + integrity sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg== + dependencies: + "@types/node" "*" + merge-stream "^2.0.0" + supports-color "^8.0.0" + +jest@^27.4.7: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest/-/jest-27.5.1.tgz#dadf33ba70a779be7a6fc33015843b51494f63fc" + integrity sha512-Yn0mADZB89zTtjkPJEXwrac3LHudkQMR+Paqa8uxJHCBr9agxztUifWCyiYrjhMPBoUVBjyny0I7XH6ozDr7QQ== + dependencies: + "@jest/core" "^27.5.1" + import-local "^3.0.2" + jest-cli "^27.5.1" + +js-featws@^1.1.0-rc1: + version "1.1.0-rc1" + resolved "https://registry.yarnpkg.com/js-featws/-/js-featws-1.1.0-rc1.tgz#fe41afe8f1a4ef95705acc158303ea9105223536" + integrity sha512-AVLwMLs6k8bw1poypNxGoWkxVdkglQPwErdg8rXDna/3Q47G++ozzw1zbrVwZceR/wW/3kQbXe9w1VSsUzyyjQ== + +js-tokens@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" + integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== + +js-yaml@^3.13.1: + version "3.14.1" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537" + integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== + dependencies: + argparse "^1.0.7" + esprima "^4.0.0" + +jsdom@^16.6.0: + version "16.7.0" + resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-16.7.0.tgz#918ae71965424b197c819f8183a754e18977b710" + integrity sha512-u9Smc2G1USStM+s/x1ru5Sxrl6mPYCbByG1U/hUmqaVsm4tbNyS7CicOSRyuGQYZhTu0h84qkZZQ/I+dzizSVw== + dependencies: + abab "^2.0.5" + acorn "^8.2.4" + acorn-globals "^6.0.0" + cssom "^0.4.4" + cssstyle "^2.3.0" + data-urls "^2.0.0" + decimal.js "^10.2.1" + domexception "^2.0.1" + escodegen "^2.0.0" + form-data "^3.0.0" + html-encoding-sniffer "^2.0.1" + http-proxy-agent "^4.0.1" + https-proxy-agent "^5.0.0" + is-potential-custom-element-name "^1.0.1" + nwsapi "^2.2.0" + parse5 "6.0.1" + saxes "^5.0.1" + symbol-tree "^3.2.4" + tough-cookie "^4.0.0" + w3c-hr-time "^1.0.2" + w3c-xmlserializer "^2.0.0" + webidl-conversions "^6.1.0" + whatwg-encoding "^1.0.5" + whatwg-mimetype "^2.3.0" + whatwg-url "^8.5.0" + ws "^7.4.6" + xml-name-validator "^3.0.0" + +jsesc@^2.5.1: + version "2.5.2" + resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" + integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== + +json-parse-even-better-errors@^2.3.0: + version "2.3.1" + resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" + integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== + +json5@^2.2.2: + version "2.2.3" + resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" + integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== + +kleur@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" + integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w== + +leven@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2" + integrity sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A== + +lines-and-columns@^1.1.6: + version "1.2.4" + resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" + integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== + +locate-path@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0" + integrity sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g== + dependencies: + p-locate "^4.1.0" + +lodash@^4.7.0: + version "4.17.21" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" + integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== + +lru-cache@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" + integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w== + dependencies: + yallist "^3.0.2" + +lru-cache@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" + integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== + dependencies: + yallist "^4.0.0" + +make-dir@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-4.0.0.tgz#c3c2307a771277cd9638305f915c29ae741b614e" + integrity sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw== + dependencies: + semver "^7.5.3" + +makeerror@1.0.12: + version "1.0.12" + resolved "https://registry.yarnpkg.com/makeerror/-/makeerror-1.0.12.tgz#3e5dd2079a82e812e983cc6610c4a2cb0eaa801a" + integrity sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg== + dependencies: + tmpl "1.0.5" + +merge-stream@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" + integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== + +micromatch@^4.0.4: + version "4.0.5" + resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" + integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== + dependencies: + braces "^3.0.2" + picomatch "^2.3.1" + +mime-db@1.52.0: + version "1.52.0" + resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" + integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== + +mime-types@^2.1.12: + version "2.1.35" + resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" + integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== + dependencies: + mime-db "1.52.0" + +mimic-fn@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" + integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== + +minimatch@^3.0.4, minimatch@^3.1.1, minimatch@^3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" + integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== + dependencies: + brace-expansion "^1.1.7" + +minimatch@^5.0.1: + version "5.1.6" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.6.tgz#1cfcb8cf5522ea69952cd2af95ae09477f122a96" + integrity sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g== + dependencies: + brace-expansion "^2.0.1" + +ms@2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" + integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== + +ms@^2.1.1: + version "2.1.3" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" + integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== + +natural-compare@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" + integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw== + +node-int64@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" + integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== + +node-releases@^2.0.13: + version "2.0.13" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.13.tgz#d5ed1627c23e3461e819b02e57b75e4899b1c81d" + integrity sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ== + +nodemon@^2.0.15: + version "2.0.22" + resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-2.0.22.tgz#182c45c3a78da486f673d6c1702e00728daf5258" + integrity sha512-B8YqaKMmyuCO7BowF1Z1/mkPqLk6cs/l63Ojtd6otKjMx47Dq1utxfRxcavH1I7VSaL8n5BUaoutadnsX3AAVQ== + dependencies: + chokidar "^3.5.2" + debug "^3.2.7" + ignore-by-default "^1.0.1" + minimatch "^3.1.2" + pstree.remy "^1.1.8" + semver "^5.7.1" + simple-update-notifier "^1.0.7" + supports-color "^5.5.0" + touch "^3.1.0" + undefsafe "^2.0.5" + +nopt@~1.0.10: + version "1.0.10" + resolved "https://registry.yarnpkg.com/nopt/-/nopt-1.0.10.tgz#6ddd21bd2a31417b92727dd585f8a6f37608ebee" + integrity sha512-NWmpvLSqUrgrAC9HCuxEvb+PSloHpqVu+FqcO4eeF2h5qYRhA7ev6KvelyQAKtegUbC6RypJnlEOhd8vloNKYg== + dependencies: + abbrev "1" + +normalize-path@^3.0.0, normalize-path@~3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" + integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== + +npm-run-path@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" + integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== + dependencies: + path-key "^3.0.0" + +nwsapi@^2.2.0: + version "2.2.7" + resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.7.tgz#738e0707d3128cb750dddcfe90e4610482df0f30" + integrity sha512-ub5E4+FBPKwAZx0UwIQOjYWGHTEq5sPqHQNRN8Z9e4A7u3Tj1weLJsL59yH9vmvqEtBHaOmT6cYQKIZOxp35FQ== + +once@^1.3.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" + integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== + dependencies: + wrappy "1" + +onetime@^5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" + integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== + dependencies: + mimic-fn "^2.1.0" + +p-limit@^2.2.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" + integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== + dependencies: + p-try "^2.0.0" + +p-locate@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07" + integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A== + dependencies: + p-limit "^2.2.0" + +p-try@^2.0.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" + integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== + +parse-json@^5.2.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd" + integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== + dependencies: + "@babel/code-frame" "^7.0.0" + error-ex "^1.3.1" + json-parse-even-better-errors "^2.3.0" + lines-and-columns "^1.1.6" + +parse5@6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/parse5/-/parse5-6.0.1.tgz#e1a1c085c569b3dc08321184f19a39cc27f7c30b" + integrity sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw== + +path-exists@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" + integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== + +path-is-absolute@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" + integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== + +path-key@^3.0.0, path-key@^3.1.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" + integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== + +path-parse@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" + integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== + +picocolors@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" + integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== + +picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3, picomatch@^2.3.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" + integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== + +pirates@^4.0.4: + version "4.0.6" + resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.6.tgz#3018ae32ecfcff6c29ba2267cbf21166ac1f36b9" + integrity sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg== + +pkg-dir@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3" + integrity sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ== + dependencies: + find-up "^4.0.0" + +pretty-format@^27.5.1: + version "27.5.1" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-27.5.1.tgz#2181879fdea51a7a5851fb39d920faa63f01d88e" + integrity sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ== + dependencies: + ansi-regex "^5.0.1" + ansi-styles "^5.0.0" + react-is "^17.0.1" + +prompts@^2.0.1: + version "2.4.2" + resolved "https://registry.yarnpkg.com/prompts/-/prompts-2.4.2.tgz#7b57e73b3a48029ad10ebd44f74b01722a4cb069" + integrity sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q== + dependencies: + kleur "^3.0.3" + sisteransi "^1.0.5" + +psl@^1.1.33: + version "1.9.0" + resolved "https://registry.yarnpkg.com/psl/-/psl-1.9.0.tgz#d0df2a137f00794565fcaf3b2c00cd09f8d5a5a7" + integrity sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag== + +pstree.remy@^1.1.8: + version "1.1.8" + resolved "https://registry.yarnpkg.com/pstree.remy/-/pstree.remy-1.1.8.tgz#c242224f4a67c21f686839bbdb4ac282b8373d3a" + integrity sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w== + +punycode@^2.1.1: + version "2.3.0" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.0.tgz#f67fa67c94da8f4d0cfff981aee4118064199b8f" + integrity sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA== + +querystringify@^2.1.1: + version "2.2.0" + resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.2.0.tgz#3345941b4153cb9d082d8eee4cda2016a9aef7f6" + integrity sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ== + +react-is@^17.0.1: + version "17.0.2" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" + integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w== + +readdirp@~3.6.0: + version "3.6.0" + resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" + integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA== + dependencies: + picomatch "^2.2.1" + +require-directory@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" + integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q== + +requires-port@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" + integrity sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ== + +resolve-cwd@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-3.0.0.tgz#0f0075f1bb2544766cf73ba6a6e2adfebcb13f2d" + integrity sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg== + dependencies: + resolve-from "^5.0.0" + +resolve-from@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" + integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== + +resolve.exports@^1.1.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-1.1.1.tgz#05cfd5b3edf641571fd46fa608b610dda9ead999" + integrity sha512-/NtpHNDN7jWhAaQ9BvBUYZ6YTXsRBgfqWFWP7BZBaoMJO/I3G5OFzvTuWNlZC3aPjins1F+TNrLKsGbH4rfsRQ== + +resolve@^1.20.0: + version "1.22.2" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.2.tgz#0ed0943d4e301867955766c9f3e1ae6d01c6845f" + integrity sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g== + dependencies: + is-core-module "^2.11.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + +rimraf@^3.0.0: + version "3.0.2" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" + integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== + dependencies: + glob "^7.1.3" + +"safer-buffer@>= 2.1.2 < 3": + version "2.1.2" + resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" + integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== + +saxes@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/saxes/-/saxes-5.0.1.tgz#eebab953fa3b7608dbe94e5dadb15c888fa6696d" + integrity sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw== + dependencies: + xmlchars "^2.2.0" + +semver@^5.7.1: + version "5.7.2" + resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.2.tgz#48d55db737c3287cd4835e17fa13feace1c41ef8" + integrity sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g== + +semver@^6.3.0, semver@^6.3.1: + version "6.3.1" + resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" + integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== + +semver@^7.3.2, semver@^7.5.3: + version "7.5.4" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e" + integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== + dependencies: + lru-cache "^6.0.0" + +semver@~7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.0.0.tgz#5f3ca35761e47e05b206c6daff2cf814f0316b8e" + integrity sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A== + +shebang-command@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" + integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== + dependencies: + shebang-regex "^3.0.0" + +shebang-regex@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" + integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== + +signal-exit@^3.0.2, signal-exit@^3.0.3: + version "3.0.7" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" + integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== + +simple-update-notifier@^1.0.7: + version "1.1.0" + resolved "https://registry.yarnpkg.com/simple-update-notifier/-/simple-update-notifier-1.1.0.tgz#67694c121de354af592b347cdba798463ed49c82" + integrity sha512-VpsrsJSUcJEseSbMHkrsrAVSdvVS5I96Qo1QAQ4FxQ9wXFcB+pjj7FB7/us9+GcgfW4ziHtYMc1J0PLczb55mg== + dependencies: + semver "~7.0.0" + +sisteransi@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed" + integrity sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg== + +slash@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" + integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== + +source-map-support@^0.5.6: + version "0.5.21" + resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f" + integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w== + dependencies: + buffer-from "^1.0.0" + source-map "^0.6.0" + +source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1: + version "0.6.1" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" + integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== + +source-map@^0.7.3: + version "0.7.4" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.4.tgz#a9bbe705c9d8846f4e08ff6765acf0f1b0898656" + integrity sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA== + +sprintf-js@~1.0.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" + integrity sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g== + +stack-utils@^2.0.3: + version "2.0.6" + resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-2.0.6.tgz#aaf0748169c02fc33c8232abccf933f54a1cc34f" + integrity sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ== + dependencies: + escape-string-regexp "^2.0.0" + +string-length@^4.0.1: + version "4.0.2" + resolved "https://registry.yarnpkg.com/string-length/-/string-length-4.0.2.tgz#a8a8dc7bd5c1a82b9b3c8b87e125f66871b6e57a" + integrity sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ== + dependencies: + char-regex "^1.0.2" + strip-ansi "^6.0.0" + +string-width@^4.1.0, string-width@^4.2.0: + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + +strip-bom@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-4.0.0.tgz#9c3505c1db45bcedca3d9cf7a16f5c5aa3901878" + integrity sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w== + +strip-final-newline@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" + integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== + +strip-json-comments@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" + integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== + +supports-color@^5.3.0, supports-color@^5.5.0: + version "5.5.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" + integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== + dependencies: + has-flag "^3.0.0" + +supports-color@^7.0.0, supports-color@^7.1.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" + integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== + dependencies: + has-flag "^4.0.0" + +supports-color@^8.0.0: + version "8.1.1" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" + integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== + dependencies: + has-flag "^4.0.0" + +supports-hyperlinks@^2.0.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz#3943544347c1ff90b15effb03fc14ae45ec10624" + integrity sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA== + dependencies: + has-flag "^4.0.0" + supports-color "^7.0.0" + +supports-preserve-symlinks-flag@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" + integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== + +symbol-tree@^3.2.4: + version "3.2.4" + resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" + integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== + +terminal-link@^2.0.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/terminal-link/-/terminal-link-2.1.1.tgz#14a64a27ab3c0df933ea546fba55f2d078edc994" + integrity sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ== + dependencies: + ansi-escapes "^4.2.1" + supports-hyperlinks "^2.0.0" + +test-exclude@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-6.0.0.tgz#04a8698661d805ea6fa293b6cb9e63ac044ef15e" + integrity sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w== + dependencies: + "@istanbuljs/schema" "^0.1.2" + glob "^7.1.4" + minimatch "^3.0.4" + +throat@^6.0.1: + version "6.0.2" + resolved "https://registry.yarnpkg.com/throat/-/throat-6.0.2.tgz#51a3fbb5e11ae72e2cf74861ed5c8020f89f29fe" + integrity sha512-WKexMoJj3vEuK0yFEapj8y64V0A6xcuPuK9Gt1d0R+dzCSJc0lHqQytAbSB4cDAK0dWh4T0E2ETkoLE2WZ41OQ== + +tmpl@1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc" + integrity sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw== + +to-fast-properties@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" + integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== + +to-regex-range@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" + integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== + dependencies: + is-number "^7.0.0" + +touch@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/touch/-/touch-3.1.0.tgz#fe365f5f75ec9ed4e56825e0bb76d24ab74af83b" + integrity sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA== + dependencies: + nopt "~1.0.10" + +tough-cookie@^4.0.0: + version "4.1.3" + resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-4.1.3.tgz#97b9adb0728b42280aa3d814b6b999b2ff0318bf" + integrity sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw== + dependencies: + psl "^1.1.33" + punycode "^2.1.1" + universalify "^0.2.0" + url-parse "^1.5.3" + +tr46@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/tr46/-/tr46-2.1.0.tgz#fa87aa81ca5d5941da8cbf1f9b749dc969a4e240" + integrity sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw== + dependencies: + punycode "^2.1.1" + +type-detect@4.0.8: + version "4.0.8" + resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c" + integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g== + +type-fest@^0.21.3: + version "0.21.3" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37" + integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== + +typedarray-to-buffer@^3.1.5: + version "3.1.5" + resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080" + integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q== + dependencies: + is-typedarray "^1.0.0" + +undefsafe@^2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/undefsafe/-/undefsafe-2.0.5.tgz#38733b9327bdcd226db889fb723a6efd162e6e2c" + integrity sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA== + +universalify@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.2.0.tgz#6451760566fa857534745ab1dde952d1b1761be0" + integrity sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg== + +update-browserslist-db@^1.0.11: + version "1.0.11" + resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz#9a2a641ad2907ae7b3616506f4b977851db5b940" + integrity sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA== + dependencies: + escalade "^3.1.1" + picocolors "^1.0.0" + +url-parse@^1.5.3: + version "1.5.10" + resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.5.10.tgz#9d3c2f736c1d75dd3bd2be507dcc111f1e2ea9c1" + integrity sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ== + dependencies: + querystringify "^2.1.1" + requires-port "^1.0.0" + +v8-to-istanbul@^8.1.0: + version "8.1.1" + resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-8.1.1.tgz#77b752fd3975e31bbcef938f85e9bd1c7a8d60ed" + integrity sha512-FGtKtv3xIpR6BYhvgH8MI/y78oT7d8Au3ww4QIxymrCtZEh5b8gCw2siywE+puhEmuWKDtmfrvF5UlB298ut3w== + dependencies: + "@types/istanbul-lib-coverage" "^2.0.1" + convert-source-map "^1.6.0" + source-map "^0.7.3" + +w3c-hr-time@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz#0a89cdf5cc15822df9c360543676963e0cc308cd" + integrity sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ== + dependencies: + browser-process-hrtime "^1.0.0" + +w3c-xmlserializer@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/w3c-xmlserializer/-/w3c-xmlserializer-2.0.0.tgz#3e7104a05b75146cc60f564380b7f683acf1020a" + integrity sha512-4tzD0mF8iSiMiNs30BiLO3EpfGLZUT2MSX/G+o7ZywDzliWQ3OPtTZ0PTC3B3ca1UAf4cJMHB+2Bf56EriJuRA== + dependencies: + xml-name-validator "^3.0.0" + +walker@^1.0.7: + version "1.0.8" + resolved "https://registry.yarnpkg.com/walker/-/walker-1.0.8.tgz#bd498db477afe573dc04185f011d3ab8a8d7653f" + integrity sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ== + dependencies: + makeerror "1.0.12" + +webidl-conversions@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-5.0.0.tgz#ae59c8a00b121543a2acc65c0434f57b0fc11aff" + integrity sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA== + +webidl-conversions@^6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-6.1.0.tgz#9111b4d7ea80acd40f5270d666621afa78b69514" + integrity sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w== + +whatwg-encoding@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz#5abacf777c32166a51d085d6b4f3e7d27113ddb0" + integrity sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw== + dependencies: + iconv-lite "0.4.24" + +whatwg-mimetype@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz#3d4b1e0312d2079879f826aff18dbeeca5960fbf" + integrity sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g== + +whatwg-url@^8.0.0, whatwg-url@^8.5.0: + version "8.7.0" + resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-8.7.0.tgz#656a78e510ff8f3937bc0bcbe9f5c0ac35941b77" + integrity sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg== + dependencies: + lodash "^4.7.0" + tr46 "^2.1.0" + webidl-conversions "^6.1.0" + +which@^2.0.1: + version "2.0.2" + resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" + integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== + dependencies: + isexe "^2.0.0" + +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + +wrappy@1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" + integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== + +write-file-atomic@^3.0.0: + version "3.0.3" + resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-3.0.3.tgz#56bd5c5a5c70481cd19c571bd39ab965a5de56e8" + integrity sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q== + dependencies: + imurmurhash "^0.1.4" + is-typedarray "^1.0.0" + signal-exit "^3.0.2" + typedarray-to-buffer "^3.1.5" + +ws@^7.4.6: + version "7.5.9" + resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" + integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== + +xml-name-validator@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a" + integrity sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw== + +xmlchars@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb" + integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw== + +y18n@^5.0.5: + version "5.0.8" + resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" + integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== + +yallist@^3.0.2: + version "3.1.1" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" + integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== + +yallist@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" + integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== + +yargs-parser@^20.2.2: + version "20.2.9" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" + integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== + +yargs@^16.2.0: + version "16.2.0" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66" + integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== + dependencies: + cliui "^7.0.2" + escalade "^3.1.1" + get-caller-file "^2.0.5" + require-directory "^2.1.1" + string-width "^4.2.0" + y18n "^5.0.5" + yargs-parser "^20.2.2"