@e2y/bdd-dictionary-generator
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -83,6 +83,6 @@ "use strict"; | ||
exports.Dictionary = Dictionary; | ||
Dictionary.PARAMETERS_MATCHER = /(?<=function\s*\()(?:[\w:\s*],?)*\)?(?=\))/; | ||
Dictionary.PARAMETERS_MATCHER = /(?:(?<=\()(?:[\w:\s*],?)*\)?(?=\)\s=>)|(?<=function\s*\()(?:[\w:\s*],?)*\)?(?=\)))/; | ||
Dictionary.PATTERN_MATCHER = /(?<=\((?:\s*["']|\/\^))(?:.*)(?=(?:["']|\$\/),)/; | ||
Dictionary.STEP_DEFINITION_MATCHER = /(?:Given|When|Then)\(\s?.*,\s*?(\{.*\},)?\s*?(?:async\s)?function\s*\((?:[\w:\s+],?)*\)?(?=\s{)/gm; | ||
Dictionary.STEP_DEFINITION_MATCHER = /(?:Given|When|Then)\(\s?.*,\s*?(\{.*},)?\s*(?:async\s)?((function\s\((?:[\w:\s+],?)*\))|(\((?:[\w:\s+],?)*\)\s+=>))(?=\s+{|\s+)/gm; | ||
Dictionary.STEP_TYPE_MATCHER = /^(?:Given|When|Then)/; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRGljdGlvbmFyeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9EaWN0aW9uYXJ5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLDJCQUF1RDtBQUN2RCwrQkFBcUQ7QUFLckQsTUFBYSxVQUFVO0lBUXJCLFlBQVksUUFBZ0I7UUFGWCxlQUFVLEdBQWUsRUFBRSxDQUFDO1FBRzNDLElBQUksQ0FBQyxVQUFVLEdBQUcsVUFBVSxDQUFDLGVBQWUsQ0FBQyxRQUFRLENBQUMsQ0FBQztRQUN2RCxJQUFJLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQyxVQUFVLENBQUMsQ0FBQztJQUNoQyx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BQUMsSUFBSSxFQUFFLEVBQUUsQ0FBQyxJQUFJLENBQUMsUUFBUSxDQUFDLElBQUksQ0FBQyxDQUFDLENBQUMsQ0FBQztRQUVqRSxNQUFNLGtCQUFrQixHQUFHLENBQUMsTUFBYyxFQUFFLEVBQUU7WUFDNUMsTUFBTSxNQUFNLEdBQUcsR0FBRyxJQUFJLElBQUksTUFBTSxDQUFDLElBQUksRUFBRSxDQUFDO1lBQ3hDLEtBQUssQ0FBQyxJQUFJLENBQUMsR0FBRyxJQUFJLENBQUMsT0FBTyxDQUFDLE1BQU0sQ0FBQyxDQUFDLENBQUM7UUFDdEMsQ0FBQyxDQUFDO1FBQ0YsT0FBTyxDQUFDLE9BQU8sQ0FBQyxrQkFBa0IsQ0FBQyxDQUFDO1FBRXBDLE9BQU8sS0FBSyxDQUFDO0lBQ2YsQ0FBQztJQUVPLFFBQVEsQ0FBQyxJQUFZO1FBQzNCLE9BQU8sRUFBRSxLQUFLLEVBQUUsVUFBVSxDQUFDLGtCQUFrQixDQUFDLElBQUksQ0FBQyxFQUFFLEdBQUcsRUFBRSxlQUFRLENBQUMsSUFBSSxDQUFDLFVBQVUsRUFBRSxJQUFJLENBQUMsRUFBRSxDQUFDO0lBQzlGLENBQUM7O0FBckdILGdDQXNHQztBQXJHeUIsNkJBQWtCLEdBQUcsb0ZBQW9GLENBQUM7QUFDMUcsMEJBQWUsR0FBRyxpREFBaUQsQ0FBQztBQUNwRSxrQ0FBdUIsR0FBRyxtSUFBbUksQ0FBQztBQUM5Siw0QkFBaUIsR0FBRyxzQkFBc0IsQ0FBQyJ9 |
{ | ||
"name": "@e2y/bdd-dictionary-generator", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "This package generates a dictionary from our cucumber (or another) step definition collection.", | ||
@@ -40,3 +40,3 @@ "author": "e2y", | ||
}, | ||
"gitHead": "d012a5add7ce31b97f3a986d137d10c52175a82c" | ||
"gitHead": "9bb5b448423bc2ecd4a237853f03c7be2d61bfe5" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27794