From c6dbf0450566c40efc4a26f4f0717452b6ef95cd Mon Sep 17 00:00:00 2001 From: Minteck Date: Wed, 10 Aug 2022 10:38:44 +0200 Subject: Initial commit --- node_modules/ua-parser/CONTRIBUTING.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 node_modules/ua-parser/CONTRIBUTING.md (limited to 'node_modules/ua-parser/CONTRIBUTING.md') diff --git a/node_modules/ua-parser/CONTRIBUTING.md b/node_modules/ua-parser/CONTRIBUTING.md new file mode 100644 index 0000000..468086c --- /dev/null +++ b/node_modules/ua-parser/CONTRIBUTING.md @@ -0,0 +1,18 @@ +Contributing Changes to regexes.yaml +------------------------------------ + +Contributing to the project, especially `regexes.yaml`, is both welcomed and encouraged. To do so just do the following: + +1. Fork the project +2. Create a branch for your changes +3. Modify `regexes.yaml` as appropriate +4. Add tests to the following files and follow their format: + * `test_resources/test_device.yaml` + * `test_resources/test_user_agent_parser.yaml` + * `test_resources/test_user_agent_parser_os.yaml` +5. Push your branch to GitHub and submit a pull request +6. Monitor the pull request to make sure the Travis build succeeds. If it fails simply make the necessary changes to your branch and push it. Travis will re-test the changes. + +That's it. If you don't feel comfortable forking the project or modifying the YAML you can also [submit an issue](https://github.com/tobie/ua-parser/issues) that includes the appropriate user agent string and the expected results of parsing. + +Thanks! \ No newline at end of file -- cgit