├── .editorconfig ├── .gitlab-ci.yml ├── .pre-commit-config.yaml ├── .secrets.baseline ├── LICENSE.md ├── README.md ├── css ├── .stylelintrc.yaml ├── README.md ├── example.css ├── package-lock.json └── package.json ├── javascript ├── .eslintrc.yaml ├── README.md ├── example.js ├── package-lock.json └── package.json └── python ├── .flake8 ├── .isort.cfg ├── Pipfile ├── Pipfile.lock ├── README.md ├── example.py ├── example_utils.py └── setup.cfg /.editorconfig: -------------------------------------------------------------------------------- 1 | # See https://editorconfig.org for format details and 2 | # https://editorconfig.org/#download for editor / IDE integration 3 | 4 | root = true 5 | 6 | [*] 7 | indent_style = space 8 | indent_size = 4 9 | insert_final_newline = true 10 | trim_trailing_whitespace = true 11 | end_of_line = lf 12 | charset = utf-8 13 | 14 | # Makefiles always use tabs for indentation 15 | [Makefile] 16 | indent_style = tab 17 | 18 | # We don't want to apply our defaults to third-party code or minified bundles: 19 | [{**/{external,vendor}/**,**.min.{js,css}}] 20 | indent_style = ignore 21 | indent_size = ignore 22 | -------------------------------------------------------------------------------- /.gitlab-ci.yml: -------------------------------------------------------------------------------- 1 | stages: 2 | - validate 3 | - test 4 | 5 | include: 6 | - template: Security/Secret-Detection.gitlab-ci.yml 7 | - project: "DevOps/pre-commit-docker" 8 | file: templates/pre-commit.yml 9 | -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- 1 | exclude: ".*/vendor/.*" 2 | repos: 3 | - repo: https://github.com/pre-commit/mirrors-isort 4 | rev: v5.10.1 5 | hooks: 6 | - id: isort 7 | - repo: https://github.com/psf/black 8 | rev: 23.7.0 9 | hooks: 10 | - id: black 11 | - repo: https://github.com/pre-commit/pre-commit-hooks 12 | rev: v4.4.0 13 | hooks: 14 | - id: check-added-large-files 15 | args: ["--maxkb=256"] 16 | - id: check-ast 17 | - id: check-byte-order-marker 18 | - id: check-case-conflict 19 | - id: check-docstring-first 20 | - id: check-executables-have-shebangs 21 | - id: check-json 22 | - id: check-merge-conflict 23 | - id: check-symlinks 24 | - id: check-xml 25 | - id: check-yaml 26 | - id: debug-statements 27 | - id: detect-aws-credentials 28 | args: ["--allow-missing-credentials"] 29 | - id: detect-private-key 30 | - id: end-of-file-fixer 31 | - id: mixed-line-ending 32 | args: ["--fix=lf"] 33 | - id: pretty-format-json 34 | args: ["--autofix", "--no-sort-keys", "--indent=4"] 35 | - id: trailing-whitespace 36 | - repo: https://github.com/pre-commit/mirrors-prettier 37 | rev: v3.0.3 38 | hooks: 39 | - id: prettier 40 | files: \.(css|less|scss|ts|tsx|graphql|gql|js|jsx|md|yml|yaml)$ 41 | - repo: https://github.com/pre-commit/mirrors-eslint 42 | rev: v8.48.0 43 | hooks: 44 | - id: eslint 45 | additional_dependencies: 46 | - eslint@^8.48 47 | - eslint-config-prettier@^9.0 48 | - prettier@^3.0 49 | - repo: https://github.com/awebdeveloper/pre-commit-stylelint 50 | rev: 0.0.2 51 | hooks: 52 | - id: stylelint 53 | additional_dependencies: 54 | - prettier@^3.0 55 | - stylelint@^14.3 56 | - stylelint-config-recommended@^6.0 57 | - stylelint-config-prettier@^9.0 58 | - repo: https://github.com/pycqa/flake8 59 | rev: 6.1.0 60 | hooks: 61 | - id: flake8 62 | args: [--config=python/setup.cfg] 63 | additional_dependencies: 64 | - flake8-assertive 65 | - flake8-builtins 66 | - flake8-comprehensions 67 | - flake8-logging-format 68 | - flake8-eradicate 69 | - flake8-bugbear 70 | - repo: https://github.com/gruntwork-io/pre-commit 71 | rev: v0.1.22 72 | hooks: 73 | - id: shellcheck 74 | - repo: https://github.com/asottile/blacken-docs 75 | rev: 1.16.0 76 | hooks: 77 | - id: blacken-docs 78 | -------------------------------------------------------------------------------- /.secrets.baseline: -------------------------------------------------------------------------------- 1 | { 2 | "generated_at": "2020-11-17T21:58:48Z", 3 | "plugins_used": [ 4 | { 5 | "name": "AWSKeyDetector" 6 | }, 7 | { 8 | "name": "ArtifactoryDetector" 9 | }, 10 | { 11 | "name": "Base64HighEntropyString", 12 | "limit": 4.5 13 | }, 14 | { 15 | "name": "BasicAuthDetector" 16 | }, 17 | { 18 | "name": "CloudantDetector" 19 | }, 20 | { 21 | "name": "HexHighEntropyString", 22 | "limit": 3 23 | }, 24 | { 25 | "name": "IbmCloudIamDetector" 26 | }, 27 | { 28 | "name": "IbmCosHmacDetector" 29 | }, 30 | { 31 | "name": "JwtTokenDetector" 32 | }, 33 | { 34 | "keyword_exclude": null, 35 | "name": "KeywordDetector" 36 | }, 37 | { 38 | "name": "MailchimpDetector" 39 | }, 40 | { 41 | "name": "PrivateKeyDetector" 42 | }, 43 | { 44 | "name": "SlackDetector" 45 | }, 46 | { 47 | "name": "SoftlayerDetector" 48 | }, 49 | { 50 | "name": "StripeDetector" 51 | }, 52 | { 53 | "name": "TwilioKeyDetector" 54 | } 55 | ], 56 | "results": { 57 | "python/Pipfile.lock": [ 58 | { 59 | "type": "Hex High Entropy String", 60 | "filename": "python/Pipfile.lock", 61 | "hashed_secret": "47026d83585cf93f99216785159e8d541246ac49", 62 | "is_verified": false, 63 | "line_number": 4, 64 | "is_secret": false 65 | } 66 | ] 67 | }, 68 | "version": "1.1.0", 69 | "filters_used": [ 70 | { 71 | "path": "detect_secrets.filters.allowlist.is_line_allowlisted" 72 | }, 73 | { 74 | "path": "detect_secrets.filters.heuristic.is_sequential_string" 75 | }, 76 | { 77 | "path": "detect_secrets.filters.heuristic.is_potential_uuid" 78 | }, 79 | { 80 | "path": "detect_secrets.filters.heuristic.is_likely_id_string" 81 | }, 82 | { 83 | "path": "detect_secrets.filters.heuristic.is_templated_secret" 84 | }, 85 | { 86 | "path": "detect_secrets.filters.heuristic.is_prefixed_with_dollar_sign" 87 | }, 88 | { 89 | "path": "detect_secrets.filters.heuristic.is_indirect_reference" 90 | }, 91 | { 92 | "path": "detect_secrets.filters.common.is_ignored_due_to_verification_policies", 93 | "min_level": 2 94 | }, 95 | { 96 | "path": "detect_secrets.filters.heuristic.is_lock_file" 97 | }, 98 | { 99 | "path": "detect_secrets.filters.heuristic.is_not_alphanumeric_string" 100 | }, 101 | { 102 | "path": "detect_secrets.filters.heuristic.is_swagger_file" 103 | } 104 | ] 105 | } 106 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | As a work of the United States Government, this project is in the 2 | public domain within the United States. 3 | 4 | Additionally, we waive copyright and related rights in the work 5 | worldwide through the CC0 1.0 Universal public domain dedication. 6 | 7 | ## CC0 1.0 Universal Summary 8 | 9 | This is a human-readable summary of the 10 | [Legal Code (read the full text)](https://creativecommons.org/publicdomain/zero/1.0/legalcode). 11 | 12 | ### No Copyright 13 | 14 | The person who associated a work with this deed has dedicated the work to 15 | the public domain by waiving all of his or her rights to the work worldwide 16 | under copyright law, including all related and neighboring rights, to the 17 | extent allowed by law. 18 | 19 | You can copy, modify, distribute and perform the work, even for commercial 20 | purposes, all without asking permission. 21 | 22 | ### Other Information 23 | 24 | In no way are the patent or trademark rights of any person affected by CC0, 25 | nor are the rights that other persons may have in the work or in how the 26 | work is used, such as publicity or privacy rights. 27 | 28 | Unless expressly stated otherwise, the person who associated a work with 29 | this deed makes no warranties about the work, and disclaims liability for 30 | all uses of the work, to the fullest extent permitted by applicable law. 31 | When using or citing the work, you should not imply endorsement by the 32 | author or the affirmer. 33 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Code Style Guide 2 | 3 | This is a common baseline for coding standards suitable for all LC projects and 4 | is intended to avoid policies where many projects will reasonably disagree based 5 | on different needs and environments. 6 | 7 | ## Philosophy 8 | 9 | ### Goals 10 | 11 | 1. Reduce noise in commits, code-review, etc. 12 | 1. Make it easier for unfamiliar developers to participate 13 | 1. Provide immediate feedback to avoid extending the development cycle 14 | 15 | ### Anti-goals 16 | 17 | 1. Creating second jobs: we will rely on automation rather than asking humans to 18 | behave like robots 19 | 1. Picking sides in industry-wide debates without a strong consensus position 20 | 21 | All of the recommendations in this project have been focused on providing a high 22 | benefit-to-argument ratio. When in doubt, the most important guideline is to 23 | follow the spirit of the goals rather than any particular suggestion — for 24 | example, if a particular project uses an open-source framework which has an 25 | existing style guide it is almost certainly better to follow the community 26 | practice where it conflicts with our generic guidance since that will be the 27 | most familiar to developers proficient with that tool. 28 | 29 | In the spirit of the first anti-goal we strongly recommend relying on automation 30 | where possible. It matters far less whether you use 2 or 4 spaces to indent if 31 | your editor and other tools consistently follow that setting because the cost of 32 | following it is effectively nil if it happens automatically every time you hit 33 | save. 34 | 35 | # How this project is organized 36 | 37 | The top-level `.editorconfig` file is [Editor Config](https://editorconfig.org/) 38 | intended to set basic editor defaults which are intended to be suitable for all 39 | projects in all languages: 40 | 41 | - UTF-8 encoding 42 | - Unix line-termination 43 | - Spaces for indentation with a tab size of 4 44 | - Trailing whitespace is automatically trimmed (this will avoid Git 45 | highlighting extra whitespace and extra merge conflicts) 46 | 47 | Just copy it into your project's root directory and, if your editor doesn't have 48 | native support, [check for a plugin](https://editorconfig.org/#download). 49 | 50 | Where possible, configure tools to use `.editorconfig` rather than duplicating 51 | configuration in other files to avoid needing to synchronize customizations or 52 | exceptions. 53 | 54 | # General Practices 55 | 56 | - We strongly recommend the use of version control hooks and continuous 57 | integration tests for any change which can be made or tested automatically. 58 | This repository uses [`pre-commit`](https://pre-commit.com/) to manage Git 59 | pre-commit hooks for several languages. This makes it simple to setup a new 60 | copy of the repository by running `pre-commit install` after the first 61 | checkout to ensure that all subsequent commits will be reformatted and 62 | validated automatically, and CI tools can use `pre-commit run` to run all of 63 | the configured hooks during the build process as well. 64 | 65 | There are a number of similar tools which provide equivalent functionality. 66 | In accordance with the [philosophy](#Philosophy) above, consistency is more 67 | important than any particular tool: the part which matters most is that it's 68 | run regularly by everyone on a team with identical results. 69 | 70 | # Language-Specific Configuration 71 | 72 | Each language has a subdirectory which contains a README file with instructions 73 | for the tools and conventions popular in that language. For example, Python 74 | tooling will assume PEP-8 but Java will reasonably differ — as always, the most 75 | important thing is consistency. 76 | 77 | # General Policies 78 | 79 | ## Licensing and Third-Party Code 80 | 81 | The Library has a long history of using and 82 | [releasing open-source software](https://github.com/LibraryOfCongress) 83 | and usage continues to expand. If you intend to release your project as open 84 | source please see the official release process: 85 | 86 | https://staff.loc.gov/sites/webproduction/library-of-congress-web-policies/distribution-of-open-source-software/ 87 | 88 | All projects — whether internal and open-source — should make it easy to tell 89 | which license(s) apply to their code. The best way to do this is to avoid 90 | committing code which is not owned by the Library and instead using a package 91 | manager to download it as part of the build process. This keeps our repositories 92 | small, affirms that we are not modifying the code in question, and avoids having 93 | to document which third-part code is being redistributed and that we are legally 94 | allowed to do so. 95 | 96 | If there is a good reason why this cannot be done, such as an upstream project 97 | which does not cleanly package its code, third-party code should be stored in a 98 | `vendor` directory in a directory which contains both the code and a README or 99 | LICENSE file providing context and making it clear that the Library is not 100 | claiming ownership of the code in question. 101 | -------------------------------------------------------------------------------- /css/.stylelintrc.yaml: -------------------------------------------------------------------------------- 1 | extends: 2 | - stylelint-config-recommended 3 | - stylelint-config-prettier 4 | rules: 5 | indentation: 4 6 | -------------------------------------------------------------------------------- /css/README.md: -------------------------------------------------------------------------------- 1 | # CSS Guidelines 2 | 3 | ## Formatting 4 | 5 | Use Prettier — see the [JavaScript](../javascript/) guidelines for more details 6 | but the out-of-the-box defaults using our top-level `.editorconfig` are quite 7 | reasonable. The easiest way to start using Prettier is to follow the [official 8 | installation instructions](https://prettier.io/docs/en/install.html) with a 9 | global install using either NPM or Yarn: 10 | 11 | yarn global add prettier 12 | npm install --global prettier 13 | 14 | Once you have it installed, you can reformat JavaScript, CSS, SCSS/LESS, etc. 15 | from the shell using e.g. `yarn run prettier`, `npm run prettier`, or simply 16 | `prettier` if your PATH includes the install directory: 17 | 18 | ```bash 19 | $ prettier --write example.css 20 | example.css 81ms 21 | ✨ Done in 0.32s. 22 | ``` 23 | 24 | [Many editors](https://prettier.io/docs/en/editors.html) and build tools have 25 | integrated support and it's highly recommended that you enable it as a 26 | format-on-save action in your editor or a Git [`pre-commit` 27 | hook](https://prettier.io/docs/en/precommit.html). 28 | 29 | ## Linting 30 | 31 | The provided [`.stylelintrc`](..stylelintrc) configures 32 | [stylelint](https://stylelint.io/) using the Prettier plugin for consistency. 33 | You can enable this using either NPM or yarn: 34 | 35 | npm install --only=dev prettier stylelint-config-prettier stylelint stylelint-config-recommended 36 | yarn add --dev prettier stylelint-config-prettier stylelint stylelint-config-recommended 37 | 38 | This configuration uses [stylelint-config-recommended][scr] and 39 | [stylelint-config-prettier][sc-prettier] to match the Prettier defaults with 40 | very limited modification. Please consider the long-term maintenance cost versus 41 | the benefits of any local variations. 42 | 43 | Because coding standards vary more across projects based on the selected 44 | configuration options and differing levels of browser support, it's recommended 45 | that you install both the linters and configurations in your project so they'll 46 | be versioned in `package.json` and can follow a normal release process. 47 | 48 | ## Preprocessors 49 | 50 | Languages such as LESS and SCSS are extremely useful for large projects and are 51 | in daily use at the Library. If you use one on your project, please change the 52 | recommended configuration from [stylelint-config-recommended][scr] to e.g. 53 | [stylelint-config-recommended-scss][scr-scss]. 54 | 55 | [scr]: https://github.com/stylelint/stylelint-config-recommended 56 | [sc-prettier]: https://github.com/shannonmoeller/stylelint-config-prettier 57 | [scr-scss]: https://github.com/kristerkari/stylelint-config-recommended-scss 58 | -------------------------------------------------------------------------------- /css/example.css: -------------------------------------------------------------------------------- 1 | #element-id { 2 | display: grid; 3 | } 4 | 5 | .a, 6 | .b, 7 | .c, 8 | #d { 9 | display: none; 10 | } 11 | 12 | #foo { 13 | display: none; 14 | 15 | /* This will trigger a stylelint error which should be specifically disabled: */ 16 | made-up: bogus; /* stylelint-disable-line property-no-unknown */ 17 | } 18 | -------------------------------------------------------------------------------- /css/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "devDependencies": { 3 | "prettier": "^2.5.1", 4 | "stylelint": "^14.3.0", 5 | "stylelint-config-prettier": "^9.0.3", 6 | "stylelint-config-recommended": "^6.0.0" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /javascript/.eslintrc.yaml: -------------------------------------------------------------------------------- 1 | root: true 2 | extends: 3 | - eslint:recommended 4 | - prettier 5 | rules: 6 | indent: 7 | # https://eslint.org/docs/4.0.0/rules/indent 8 | # Match defaults & Crockford but enable indentation for switch statement cases: 9 | - 2 10 | - 4 11 | - SwitchCase: 1 12 | env: 13 | browser: true 14 | es6: true 15 | -------------------------------------------------------------------------------- /javascript/README.md: -------------------------------------------------------------------------------- 1 | # JavaScript Style Guidelines 2 | 3 | ## Formatting 4 | 5 | [Prettier](https://prettier.io) does an admirable job for JavaScript, CSS, and a 6 | number of variants (e.g. JSX, TypeScript, SCSS). The easiest way to start using 7 | Prettier is to follow the [official installation 8 | instructions](https://prettier.io/docs/en/install.html) with a global install 9 | using either NPM or Yarn: 10 | 11 | yarn global add prettier 12 | npm install --global prettier 13 | 14 | (By default, either of those commands will install `/usr/local/bin/prettier` on 15 | a Mac or Linux system) 16 | 17 | Once you have it installed, you can reformat JavaScript, CSS, SCSS/LESS, etc. 18 | from the shell using e.g. `yarn run prettier`, `npm run prettier`, or simply 19 | `prettier` if your PATH includes the install directory: 20 | 21 | ```bash 22 | $ prettier --write /path/to/my.js 23 | my.js 42ms 24 | ``` 25 | 26 | [Many editors](https://prettier.io/docs/en/editors.html) and build tools have 27 | integrated support and it's highly recommended that you enable it as a 28 | format-on-save action in your editor or a Git [`pre-commit` 29 | hook](https://prettier.io/docs/en/precommit.html). 30 | 31 | ### Prettier Configuration 32 | 33 | Pretter honors the top-level `.editorconfig`. We are intentionally not otherwise 34 | configuring it because the defaults reflect a reasonably broad portion of the 35 | JavaScript community and there is value in not having to manage or upgrade 36 | configuration. 37 | 38 | Because the JavaScript community is roughly evenly split in preference for 39 | single or double quotes, we consider either to be acceptable as long as your 40 | Prettier configuration matches the project's convention. By default Prettier 41 | uses double quotes so if you prefer single quotes make sure to set the 42 | [`singleQuote` option](https://prettier.io/docs/en/options.html#quotes): 43 | 44 | ```yaml 45 | singleQuote: true 46 | ``` 47 | 48 | ## Linting 49 | 50 | The provided [`.eslintrc.yaml`](.eslintrc.yaml) configures ESLint using the 51 | Prettier plugin for consistency. You can enable this for your projects or 52 | globally using either NPM or yarn: 53 | 54 | npm add --only=dev prettier eslint eslint-config-prettier 55 | yarn add --dev prettier eslint eslint-config-prettier 56 | 57 | The provided configuration is intentionally limited to the most basic ESLint 58 | recommended defaults. Please consider the long-term maintenance cost of any 59 | changes. 60 | 61 | # Dialects 62 | 63 | (Something TBD about use of vanilla JS, transpiled modern to ES5/6, etc.) 64 | -------------------------------------------------------------------------------- /javascript/example.js: -------------------------------------------------------------------------------- 1 | var foo = [1, 2, 3]; 2 | 3 | var bar = "foobar"; 4 | 5 | var baaz = { 6 | foo: bar, 7 | quux: foo + bar, 8 | }; 9 | 10 | let quux = { foo: 1, bar: 2 }; 11 | 12 | function foobar() { 13 | return bar; 14 | } 15 | 16 | let quuxFunction = () => { 17 | foobar; 18 | }; 19 | 20 | // Add a multi-line declaration to demonstrate ESLint rules: 21 | var dupFoo = 1, 22 | dupBar = baaz, 23 | dupBaaz = quuxFunction(quux); 24 | 25 | class Foo { 26 | bar(x) { 27 | return "Called with x=" + x; 28 | } 29 | } 30 | 31 | let f = new Foo(); 32 | f.bar(dupFoo + dupBar + dupBaaz); 33 | -------------------------------------------------------------------------------- /javascript/package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "javascript", 3 | "lockfileVersion": 2, 4 | "requires": true, 5 | "packages": { 6 | "": { 7 | "devDependencies": { 8 | "eslint": "^8.48.0", 9 | "eslint-config-prettier": "^9.0.0", 10 | "prettier": "^3.0.3" 11 | } 12 | }, 13 | "node_modules/@aashutoshrathi/word-wrap": { 14 | "version": "1.2.6", 15 | "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", 16 | "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", 17 | "dev": true, 18 | "engines": { 19 | "node": ">=0.10.0" 20 | } 21 | }, 22 | "node_modules/@eslint-community/eslint-utils": { 23 | "version": "4.4.0", 24 | "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", 25 | "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", 26 | "dev": true, 27 | "dependencies": { 28 | "eslint-visitor-keys": "^3.3.0" 29 | }, 30 | "engines": { 31 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 32 | }, 33 | "peerDependencies": { 34 | "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" 35 | } 36 | }, 37 | "node_modules/@eslint-community/regexpp": { 38 | "version": "4.8.0", 39 | "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.8.0.tgz", 40 | "integrity": "sha512-JylOEEzDiOryeUnFbQz+oViCXS0KsvR1mvHkoMiu5+UiBvy+RYX7tzlIIIEstF/gVa2tj9AQXk3dgnxv6KxhFg==", 41 | "dev": true, 42 | "engines": { 43 | "node": "^12.0.0 || ^14.0.0 || >=16.0.0" 44 | } 45 | }, 46 | "node_modules/@eslint/eslintrc": { 47 | "version": "2.1.2", 48 | "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.2.tgz", 49 | "integrity": "sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==", 50 | "dev": true, 51 | "dependencies": { 52 | "ajv": "^6.12.4", 53 | "debug": "^4.3.2", 54 | "espree": "^9.6.0", 55 | "globals": "^13.19.0", 56 | "ignore": "^5.2.0", 57 | "import-fresh": "^3.2.1", 58 | "js-yaml": "^4.1.0", 59 | "minimatch": "^3.1.2", 60 | "strip-json-comments": "^3.1.1" 61 | }, 62 | "engines": { 63 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 64 | }, 65 | "funding": { 66 | "url": "https://opencollective.com/eslint" 67 | } 68 | }, 69 | "node_modules/@eslint/js": { 70 | "version": "8.48.0", 71 | "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.48.0.tgz", 72 | "integrity": "sha512-ZSjtmelB7IJfWD2Fvb7+Z+ChTIKWq6kjda95fLcQKNS5aheVHn4IkfgRQE3sIIzTcSLwLcLZUD9UBt+V7+h+Pw==", 73 | "dev": true, 74 | "engines": { 75 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 76 | } 77 | }, 78 | "node_modules/@humanwhocodes/config-array": { 79 | "version": "0.11.11", 80 | "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.11.tgz", 81 | "integrity": "sha512-N2brEuAadi0CcdeMXUkhbZB84eskAc8MEX1By6qEchoVywSgXPIjou4rYsl0V3Hj0ZnuGycGCjdNgockbzeWNA==", 82 | "dev": true, 83 | "dependencies": { 84 | "@humanwhocodes/object-schema": "^1.2.1", 85 | "debug": "^4.1.1", 86 | "minimatch": "^3.0.5" 87 | }, 88 | "engines": { 89 | "node": ">=10.10.0" 90 | } 91 | }, 92 | "node_modules/@humanwhocodes/module-importer": { 93 | "version": "1.0.1", 94 | "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", 95 | "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", 96 | "dev": true, 97 | "engines": { 98 | "node": ">=12.22" 99 | }, 100 | "funding": { 101 | "type": "github", 102 | "url": "https://github.com/sponsors/nzakas" 103 | } 104 | }, 105 | "node_modules/@humanwhocodes/object-schema": { 106 | "version": "1.2.1", 107 | "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", 108 | "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", 109 | "dev": true 110 | }, 111 | "node_modules/@nodelib/fs.scandir": { 112 | "version": "2.1.5", 113 | "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", 114 | "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", 115 | "dev": true, 116 | "dependencies": { 117 | "@nodelib/fs.stat": "2.0.5", 118 | "run-parallel": "^1.1.9" 119 | }, 120 | "engines": { 121 | "node": ">= 8" 122 | } 123 | }, 124 | "node_modules/@nodelib/fs.stat": { 125 | "version": "2.0.5", 126 | "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", 127 | "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", 128 | "dev": true, 129 | "engines": { 130 | "node": ">= 8" 131 | } 132 | }, 133 | "node_modules/@nodelib/fs.walk": { 134 | "version": "1.2.8", 135 | "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", 136 | "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", 137 | "dev": true, 138 | "dependencies": { 139 | "@nodelib/fs.scandir": "2.1.5", 140 | "fastq": "^1.6.0" 141 | }, 142 | "engines": { 143 | "node": ">= 8" 144 | } 145 | }, 146 | "node_modules/acorn": { 147 | "version": "8.10.0", 148 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz", 149 | "integrity": "sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==", 150 | "dev": true, 151 | "bin": { 152 | "acorn": "bin/acorn" 153 | }, 154 | "engines": { 155 | "node": ">=0.4.0" 156 | } 157 | }, 158 | "node_modules/acorn-jsx": { 159 | "version": "5.3.2", 160 | "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", 161 | "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", 162 | "dev": true, 163 | "peerDependencies": { 164 | "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" 165 | } 166 | }, 167 | "node_modules/ajv": { 168 | "version": "6.12.6", 169 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", 170 | "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", 171 | "dev": true, 172 | "dependencies": { 173 | "fast-deep-equal": "^3.1.1", 174 | "fast-json-stable-stringify": "^2.0.0", 175 | "json-schema-traverse": "^0.4.1", 176 | "uri-js": "^4.2.2" 177 | }, 178 | "funding": { 179 | "type": "github", 180 | "url": "https://github.com/sponsors/epoberezkin" 181 | } 182 | }, 183 | "node_modules/ansi-regex": { 184 | "version": "5.0.1", 185 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 186 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 187 | "dev": true, 188 | "engines": { 189 | "node": ">=8" 190 | } 191 | }, 192 | "node_modules/ansi-styles": { 193 | "version": "4.3.0", 194 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 195 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 196 | "dev": true, 197 | "dependencies": { 198 | "color-convert": "^2.0.1" 199 | }, 200 | "engines": { 201 | "node": ">=8" 202 | }, 203 | "funding": { 204 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 205 | } 206 | }, 207 | "node_modules/argparse": { 208 | "version": "2.0.1", 209 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", 210 | "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", 211 | "dev": true 212 | }, 213 | "node_modules/balanced-match": { 214 | "version": "1.0.2", 215 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 216 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", 217 | "dev": true 218 | }, 219 | "node_modules/brace-expansion": { 220 | "version": "1.1.11", 221 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 222 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 223 | "dev": true, 224 | "dependencies": { 225 | "balanced-match": "^1.0.0", 226 | "concat-map": "0.0.1" 227 | } 228 | }, 229 | "node_modules/callsites": { 230 | "version": "3.1.0", 231 | "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", 232 | "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", 233 | "dev": true, 234 | "engines": { 235 | "node": ">=6" 236 | } 237 | }, 238 | "node_modules/chalk": { 239 | "version": "4.1.0", 240 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", 241 | "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", 242 | "dev": true, 243 | "dependencies": { 244 | "ansi-styles": "^4.1.0", 245 | "supports-color": "^7.1.0" 246 | }, 247 | "engines": { 248 | "node": ">=10" 249 | }, 250 | "funding": { 251 | "url": "https://github.com/chalk/chalk?sponsor=1" 252 | } 253 | }, 254 | "node_modules/color-convert": { 255 | "version": "2.0.1", 256 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 257 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 258 | "dev": true, 259 | "dependencies": { 260 | "color-name": "~1.1.4" 261 | }, 262 | "engines": { 263 | "node": ">=7.0.0" 264 | } 265 | }, 266 | "node_modules/color-name": { 267 | "version": "1.1.4", 268 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 269 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", 270 | "dev": true 271 | }, 272 | "node_modules/concat-map": { 273 | "version": "0.0.1", 274 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 275 | "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", 276 | "dev": true 277 | }, 278 | "node_modules/cross-spawn": { 279 | "version": "7.0.3", 280 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", 281 | "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", 282 | "dev": true, 283 | "dependencies": { 284 | "path-key": "^3.1.0", 285 | "shebang-command": "^2.0.0", 286 | "which": "^2.0.1" 287 | }, 288 | "engines": { 289 | "node": ">= 8" 290 | } 291 | }, 292 | "node_modules/debug": { 293 | "version": "4.3.4", 294 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 295 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 296 | "dev": true, 297 | "dependencies": { 298 | "ms": "2.1.2" 299 | }, 300 | "engines": { 301 | "node": ">=6.0" 302 | }, 303 | "peerDependenciesMeta": { 304 | "supports-color": { 305 | "optional": true 306 | } 307 | } 308 | }, 309 | "node_modules/deep-is": { 310 | "version": "0.1.4", 311 | "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", 312 | "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", 313 | "dev": true 314 | }, 315 | "node_modules/doctrine": { 316 | "version": "3.0.0", 317 | "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", 318 | "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", 319 | "dev": true, 320 | "dependencies": { 321 | "esutils": "^2.0.2" 322 | }, 323 | "engines": { 324 | "node": ">=6.0.0" 325 | } 326 | }, 327 | "node_modules/eslint": { 328 | "version": "8.48.0", 329 | "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.48.0.tgz", 330 | "integrity": "sha512-sb6DLeIuRXxeM1YljSe1KEx9/YYeZFQWcV8Rq9HfigmdDEugjLEVEa1ozDjL6YDjBpQHPJxJzze+alxi4T3OLg==", 331 | "dev": true, 332 | "dependencies": { 333 | "@eslint-community/eslint-utils": "^4.2.0", 334 | "@eslint-community/regexpp": "^4.6.1", 335 | "@eslint/eslintrc": "^2.1.2", 336 | "@eslint/js": "8.48.0", 337 | "@humanwhocodes/config-array": "^0.11.10", 338 | "@humanwhocodes/module-importer": "^1.0.1", 339 | "@nodelib/fs.walk": "^1.2.8", 340 | "ajv": "^6.12.4", 341 | "chalk": "^4.0.0", 342 | "cross-spawn": "^7.0.2", 343 | "debug": "^4.3.2", 344 | "doctrine": "^3.0.0", 345 | "escape-string-regexp": "^4.0.0", 346 | "eslint-scope": "^7.2.2", 347 | "eslint-visitor-keys": "^3.4.3", 348 | "espree": "^9.6.1", 349 | "esquery": "^1.4.2", 350 | "esutils": "^2.0.2", 351 | "fast-deep-equal": "^3.1.3", 352 | "file-entry-cache": "^6.0.1", 353 | "find-up": "^5.0.0", 354 | "glob-parent": "^6.0.2", 355 | "globals": "^13.19.0", 356 | "graphemer": "^1.4.0", 357 | "ignore": "^5.2.0", 358 | "imurmurhash": "^0.1.4", 359 | "is-glob": "^4.0.0", 360 | "is-path-inside": "^3.0.3", 361 | "js-yaml": "^4.1.0", 362 | "json-stable-stringify-without-jsonify": "^1.0.1", 363 | "levn": "^0.4.1", 364 | "lodash.merge": "^4.6.2", 365 | "minimatch": "^3.1.2", 366 | "natural-compare": "^1.4.0", 367 | "optionator": "^0.9.3", 368 | "strip-ansi": "^6.0.1", 369 | "text-table": "^0.2.0" 370 | }, 371 | "bin": { 372 | "eslint": "bin/eslint.js" 373 | }, 374 | "engines": { 375 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 376 | }, 377 | "funding": { 378 | "url": "https://opencollective.com/eslint" 379 | } 380 | }, 381 | "node_modules/eslint-config-prettier": { 382 | "version": "9.0.0", 383 | "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.0.0.tgz", 384 | "integrity": "sha512-IcJsTkJae2S35pRsRAwoCE+925rJJStOdkKnLVgtE+tEpqU0EVVM7OqrwxqgptKdX29NUwC82I5pXsGFIgSevw==", 385 | "dev": true, 386 | "bin": { 387 | "eslint-config-prettier": "bin/cli.js" 388 | }, 389 | "peerDependencies": { 390 | "eslint": ">=7.0.0" 391 | } 392 | }, 393 | "node_modules/eslint-scope": { 394 | "version": "7.2.2", 395 | "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", 396 | "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", 397 | "dev": true, 398 | "dependencies": { 399 | "esrecurse": "^4.3.0", 400 | "estraverse": "^5.2.0" 401 | }, 402 | "engines": { 403 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 404 | }, 405 | "funding": { 406 | "url": "https://opencollective.com/eslint" 407 | } 408 | }, 409 | "node_modules/eslint-visitor-keys": { 410 | "version": "3.4.3", 411 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", 412 | "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", 413 | "dev": true, 414 | "engines": { 415 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 416 | }, 417 | "funding": { 418 | "url": "https://opencollective.com/eslint" 419 | } 420 | }, 421 | "node_modules/eslint/node_modules/escape-string-regexp": { 422 | "version": "4.0.0", 423 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", 424 | "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", 425 | "dev": true, 426 | "engines": { 427 | "node": ">=10" 428 | }, 429 | "funding": { 430 | "url": "https://github.com/sponsors/sindresorhus" 431 | } 432 | }, 433 | "node_modules/espree": { 434 | "version": "9.6.1", 435 | "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", 436 | "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", 437 | "dev": true, 438 | "dependencies": { 439 | "acorn": "^8.9.0", 440 | "acorn-jsx": "^5.3.2", 441 | "eslint-visitor-keys": "^3.4.1" 442 | }, 443 | "engines": { 444 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 445 | }, 446 | "funding": { 447 | "url": "https://opencollective.com/eslint" 448 | } 449 | }, 450 | "node_modules/esquery": { 451 | "version": "1.5.0", 452 | "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", 453 | "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", 454 | "dev": true, 455 | "dependencies": { 456 | "estraverse": "^5.1.0" 457 | }, 458 | "engines": { 459 | "node": ">=0.10" 460 | } 461 | }, 462 | "node_modules/esrecurse": { 463 | "version": "4.3.0", 464 | "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", 465 | "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", 466 | "dev": true, 467 | "dependencies": { 468 | "estraverse": "^5.2.0" 469 | }, 470 | "engines": { 471 | "node": ">=4.0" 472 | } 473 | }, 474 | "node_modules/estraverse": { 475 | "version": "5.3.0", 476 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", 477 | "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", 478 | "dev": true, 479 | "engines": { 480 | "node": ">=4.0" 481 | } 482 | }, 483 | "node_modules/esutils": { 484 | "version": "2.0.3", 485 | "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", 486 | "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", 487 | "dev": true, 488 | "engines": { 489 | "node": ">=0.10.0" 490 | } 491 | }, 492 | "node_modules/fast-deep-equal": { 493 | "version": "3.1.3", 494 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", 495 | "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", 496 | "dev": true 497 | }, 498 | "node_modules/fast-json-stable-stringify": { 499 | "version": "2.1.0", 500 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", 501 | "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", 502 | "dev": true 503 | }, 504 | "node_modules/fast-levenshtein": { 505 | "version": "2.0.6", 506 | "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", 507 | "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", 508 | "dev": true 509 | }, 510 | "node_modules/fastq": { 511 | "version": "1.15.0", 512 | "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", 513 | "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", 514 | "dev": true, 515 | "dependencies": { 516 | "reusify": "^1.0.4" 517 | } 518 | }, 519 | "node_modules/file-entry-cache": { 520 | "version": "6.0.1", 521 | "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", 522 | "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", 523 | "dev": true, 524 | "dependencies": { 525 | "flat-cache": "^3.0.4" 526 | }, 527 | "engines": { 528 | "node": "^10.12.0 || >=12.0.0" 529 | } 530 | }, 531 | "node_modules/find-up": { 532 | "version": "5.0.0", 533 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", 534 | "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", 535 | "dev": true, 536 | "dependencies": { 537 | "locate-path": "^6.0.0", 538 | "path-exists": "^4.0.0" 539 | }, 540 | "engines": { 541 | "node": ">=10" 542 | }, 543 | "funding": { 544 | "url": "https://github.com/sponsors/sindresorhus" 545 | } 546 | }, 547 | "node_modules/flat-cache": { 548 | "version": "3.0.4", 549 | "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", 550 | "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", 551 | "dev": true, 552 | "dependencies": { 553 | "flatted": "^3.1.0", 554 | "rimraf": "^3.0.2" 555 | }, 556 | "engines": { 557 | "node": "^10.12.0 || >=12.0.0" 558 | } 559 | }, 560 | "node_modules/flatted": { 561 | "version": "3.1.1", 562 | "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.1.1.tgz", 563 | "integrity": "sha512-zAoAQiudy+r5SvnSw3KJy5os/oRJYHzrzja/tBDqrZtNhUw8bt6y8OBzMWcjWr+8liV8Eb6yOhw8WZ7VFZ5ZzA==", 564 | "dev": true 565 | }, 566 | "node_modules/fs.realpath": { 567 | "version": "1.0.0", 568 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 569 | "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", 570 | "dev": true 571 | }, 572 | "node_modules/glob": { 573 | "version": "7.1.6", 574 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", 575 | "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", 576 | "dev": true, 577 | "dependencies": { 578 | "fs.realpath": "^1.0.0", 579 | "inflight": "^1.0.4", 580 | "inherits": "2", 581 | "minimatch": "^3.0.4", 582 | "once": "^1.3.0", 583 | "path-is-absolute": "^1.0.0" 584 | }, 585 | "engines": { 586 | "node": "*" 587 | }, 588 | "funding": { 589 | "url": "https://github.com/sponsors/isaacs" 590 | } 591 | }, 592 | "node_modules/glob-parent": { 593 | "version": "6.0.2", 594 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", 595 | "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", 596 | "dev": true, 597 | "dependencies": { 598 | "is-glob": "^4.0.3" 599 | }, 600 | "engines": { 601 | "node": ">=10.13.0" 602 | } 603 | }, 604 | "node_modules/globals": { 605 | "version": "13.21.0", 606 | "resolved": "https://registry.npmjs.org/globals/-/globals-13.21.0.tgz", 607 | "integrity": "sha512-ybyme3s4yy/t/3s35bewwXKOf7cvzfreG2lH0lZl0JB7I4GxRP2ghxOK/Nb9EkRXdbBXZLfq/p/0W2JUONB/Gg==", 608 | "dev": true, 609 | "dependencies": { 610 | "type-fest": "^0.20.2" 611 | }, 612 | "engines": { 613 | "node": ">=8" 614 | }, 615 | "funding": { 616 | "url": "https://github.com/sponsors/sindresorhus" 617 | } 618 | }, 619 | "node_modules/graphemer": { 620 | "version": "1.4.0", 621 | "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", 622 | "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", 623 | "dev": true 624 | }, 625 | "node_modules/has-flag": { 626 | "version": "4.0.0", 627 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 628 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", 629 | "dev": true, 630 | "engines": { 631 | "node": ">=8" 632 | } 633 | }, 634 | "node_modules/ignore": { 635 | "version": "5.2.4", 636 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", 637 | "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", 638 | "dev": true, 639 | "engines": { 640 | "node": ">= 4" 641 | } 642 | }, 643 | "node_modules/import-fresh": { 644 | "version": "3.3.0", 645 | "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", 646 | "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", 647 | "dev": true, 648 | "dependencies": { 649 | "parent-module": "^1.0.0", 650 | "resolve-from": "^4.0.0" 651 | }, 652 | "engines": { 653 | "node": ">=6" 654 | }, 655 | "funding": { 656 | "url": "https://github.com/sponsors/sindresorhus" 657 | } 658 | }, 659 | "node_modules/imurmurhash": { 660 | "version": "0.1.4", 661 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", 662 | "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", 663 | "dev": true, 664 | "engines": { 665 | "node": ">=0.8.19" 666 | } 667 | }, 668 | "node_modules/inflight": { 669 | "version": "1.0.6", 670 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 671 | "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", 672 | "dev": true, 673 | "dependencies": { 674 | "once": "^1.3.0", 675 | "wrappy": "1" 676 | } 677 | }, 678 | "node_modules/inherits": { 679 | "version": "2.0.4", 680 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 681 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", 682 | "dev": true 683 | }, 684 | "node_modules/is-extglob": { 685 | "version": "2.1.1", 686 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 687 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", 688 | "dev": true, 689 | "engines": { 690 | "node": ">=0.10.0" 691 | } 692 | }, 693 | "node_modules/is-glob": { 694 | "version": "4.0.3", 695 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", 696 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", 697 | "dev": true, 698 | "dependencies": { 699 | "is-extglob": "^2.1.1" 700 | }, 701 | "engines": { 702 | "node": ">=0.10.0" 703 | } 704 | }, 705 | "node_modules/is-path-inside": { 706 | "version": "3.0.3", 707 | "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", 708 | "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", 709 | "dev": true, 710 | "engines": { 711 | "node": ">=8" 712 | } 713 | }, 714 | "node_modules/isexe": { 715 | "version": "2.0.0", 716 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", 717 | "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", 718 | "dev": true 719 | }, 720 | "node_modules/js-yaml": { 721 | "version": "4.1.0", 722 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", 723 | "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", 724 | "dev": true, 725 | "dependencies": { 726 | "argparse": "^2.0.1" 727 | }, 728 | "bin": { 729 | "js-yaml": "bin/js-yaml.js" 730 | } 731 | }, 732 | "node_modules/json-schema-traverse": { 733 | "version": "0.4.1", 734 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", 735 | "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", 736 | "dev": true 737 | }, 738 | "node_modules/json-stable-stringify-without-jsonify": { 739 | "version": "1.0.1", 740 | "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", 741 | "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", 742 | "dev": true 743 | }, 744 | "node_modules/levn": { 745 | "version": "0.4.1", 746 | "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", 747 | "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", 748 | "dev": true, 749 | "dependencies": { 750 | "prelude-ls": "^1.2.1", 751 | "type-check": "~0.4.0" 752 | }, 753 | "engines": { 754 | "node": ">= 0.8.0" 755 | } 756 | }, 757 | "node_modules/locate-path": { 758 | "version": "6.0.0", 759 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", 760 | "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", 761 | "dev": true, 762 | "dependencies": { 763 | "p-locate": "^5.0.0" 764 | }, 765 | "engines": { 766 | "node": ">=10" 767 | }, 768 | "funding": { 769 | "url": "https://github.com/sponsors/sindresorhus" 770 | } 771 | }, 772 | "node_modules/lodash.merge": { 773 | "version": "4.6.2", 774 | "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", 775 | "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", 776 | "dev": true 777 | }, 778 | "node_modules/minimatch": { 779 | "version": "3.1.2", 780 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 781 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 782 | "dev": true, 783 | "dependencies": { 784 | "brace-expansion": "^1.1.7" 785 | }, 786 | "engines": { 787 | "node": "*" 788 | } 789 | }, 790 | "node_modules/ms": { 791 | "version": "2.1.2", 792 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 793 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", 794 | "dev": true 795 | }, 796 | "node_modules/natural-compare": { 797 | "version": "1.4.0", 798 | "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", 799 | "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", 800 | "dev": true 801 | }, 802 | "node_modules/once": { 803 | "version": "1.4.0", 804 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 805 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", 806 | "dev": true, 807 | "dependencies": { 808 | "wrappy": "1" 809 | } 810 | }, 811 | "node_modules/optionator": { 812 | "version": "0.9.3", 813 | "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", 814 | "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", 815 | "dev": true, 816 | "dependencies": { 817 | "@aashutoshrathi/word-wrap": "^1.2.3", 818 | "deep-is": "^0.1.3", 819 | "fast-levenshtein": "^2.0.6", 820 | "levn": "^0.4.1", 821 | "prelude-ls": "^1.2.1", 822 | "type-check": "^0.4.0" 823 | }, 824 | "engines": { 825 | "node": ">= 0.8.0" 826 | } 827 | }, 828 | "node_modules/p-limit": { 829 | "version": "3.1.0", 830 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", 831 | "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", 832 | "dev": true, 833 | "dependencies": { 834 | "yocto-queue": "^0.1.0" 835 | }, 836 | "engines": { 837 | "node": ">=10" 838 | }, 839 | "funding": { 840 | "url": "https://github.com/sponsors/sindresorhus" 841 | } 842 | }, 843 | "node_modules/p-locate": { 844 | "version": "5.0.0", 845 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", 846 | "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", 847 | "dev": true, 848 | "dependencies": { 849 | "p-limit": "^3.0.2" 850 | }, 851 | "engines": { 852 | "node": ">=10" 853 | }, 854 | "funding": { 855 | "url": "https://github.com/sponsors/sindresorhus" 856 | } 857 | }, 858 | "node_modules/parent-module": { 859 | "version": "1.0.1", 860 | "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", 861 | "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", 862 | "dev": true, 863 | "dependencies": { 864 | "callsites": "^3.0.0" 865 | }, 866 | "engines": { 867 | "node": ">=6" 868 | } 869 | }, 870 | "node_modules/path-exists": { 871 | "version": "4.0.0", 872 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", 873 | "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", 874 | "dev": true, 875 | "engines": { 876 | "node": ">=8" 877 | } 878 | }, 879 | "node_modules/path-is-absolute": { 880 | "version": "1.0.1", 881 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 882 | "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", 883 | "dev": true, 884 | "engines": { 885 | "node": ">=0.10.0" 886 | } 887 | }, 888 | "node_modules/path-key": { 889 | "version": "3.1.1", 890 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", 891 | "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", 892 | "dev": true, 893 | "engines": { 894 | "node": ">=8" 895 | } 896 | }, 897 | "node_modules/prelude-ls": { 898 | "version": "1.2.1", 899 | "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", 900 | "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", 901 | "dev": true, 902 | "engines": { 903 | "node": ">= 0.8.0" 904 | } 905 | }, 906 | "node_modules/prettier": { 907 | "version": "3.0.3", 908 | "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz", 909 | "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==", 910 | "dev": true, 911 | "bin": { 912 | "prettier": "bin/prettier.cjs" 913 | }, 914 | "engines": { 915 | "node": ">=14" 916 | }, 917 | "funding": { 918 | "url": "https://github.com/prettier/prettier?sponsor=1" 919 | } 920 | }, 921 | "node_modules/punycode": { 922 | "version": "2.3.0", 923 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", 924 | "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", 925 | "dev": true, 926 | "engines": { 927 | "node": ">=6" 928 | } 929 | }, 930 | "node_modules/queue-microtask": { 931 | "version": "1.2.3", 932 | "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", 933 | "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", 934 | "dev": true, 935 | "funding": [ 936 | { 937 | "type": "github", 938 | "url": "https://github.com/sponsors/feross" 939 | }, 940 | { 941 | "type": "patreon", 942 | "url": "https://www.patreon.com/feross" 943 | }, 944 | { 945 | "type": "consulting", 946 | "url": "https://feross.org/support" 947 | } 948 | ] 949 | }, 950 | "node_modules/resolve-from": { 951 | "version": "4.0.0", 952 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", 953 | "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", 954 | "dev": true, 955 | "engines": { 956 | "node": ">=4" 957 | } 958 | }, 959 | "node_modules/reusify": { 960 | "version": "1.0.4", 961 | "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", 962 | "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", 963 | "dev": true, 964 | "engines": { 965 | "iojs": ">=1.0.0", 966 | "node": ">=0.10.0" 967 | } 968 | }, 969 | "node_modules/rimraf": { 970 | "version": "3.0.2", 971 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", 972 | "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", 973 | "dev": true, 974 | "dependencies": { 975 | "glob": "^7.1.3" 976 | }, 977 | "bin": { 978 | "rimraf": "bin.js" 979 | }, 980 | "funding": { 981 | "url": "https://github.com/sponsors/isaacs" 982 | } 983 | }, 984 | "node_modules/run-parallel": { 985 | "version": "1.2.0", 986 | "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", 987 | "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", 988 | "dev": true, 989 | "funding": [ 990 | { 991 | "type": "github", 992 | "url": "https://github.com/sponsors/feross" 993 | }, 994 | { 995 | "type": "patreon", 996 | "url": "https://www.patreon.com/feross" 997 | }, 998 | { 999 | "type": "consulting", 1000 | "url": "https://feross.org/support" 1001 | } 1002 | ], 1003 | "dependencies": { 1004 | "queue-microtask": "^1.2.2" 1005 | } 1006 | }, 1007 | "node_modules/shebang-command": { 1008 | "version": "2.0.0", 1009 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", 1010 | "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", 1011 | "dev": true, 1012 | "dependencies": { 1013 | "shebang-regex": "^3.0.0" 1014 | }, 1015 | "engines": { 1016 | "node": ">=8" 1017 | } 1018 | }, 1019 | "node_modules/shebang-regex": { 1020 | "version": "3.0.0", 1021 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", 1022 | "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", 1023 | "dev": true, 1024 | "engines": { 1025 | "node": ">=8" 1026 | } 1027 | }, 1028 | "node_modules/strip-ansi": { 1029 | "version": "6.0.1", 1030 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 1031 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 1032 | "dev": true, 1033 | "dependencies": { 1034 | "ansi-regex": "^5.0.1" 1035 | }, 1036 | "engines": { 1037 | "node": ">=8" 1038 | } 1039 | }, 1040 | "node_modules/strip-json-comments": { 1041 | "version": "3.1.1", 1042 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", 1043 | "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", 1044 | "dev": true, 1045 | "engines": { 1046 | "node": ">=8" 1047 | }, 1048 | "funding": { 1049 | "url": "https://github.com/sponsors/sindresorhus" 1050 | } 1051 | }, 1052 | "node_modules/supports-color": { 1053 | "version": "7.2.0", 1054 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 1055 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 1056 | "dev": true, 1057 | "dependencies": { 1058 | "has-flag": "^4.0.0" 1059 | }, 1060 | "engines": { 1061 | "node": ">=8" 1062 | } 1063 | }, 1064 | "node_modules/text-table": { 1065 | "version": "0.2.0", 1066 | "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", 1067 | "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", 1068 | "dev": true 1069 | }, 1070 | "node_modules/type-check": { 1071 | "version": "0.4.0", 1072 | "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", 1073 | "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", 1074 | "dev": true, 1075 | "dependencies": { 1076 | "prelude-ls": "^1.2.1" 1077 | }, 1078 | "engines": { 1079 | "node": ">= 0.8.0" 1080 | } 1081 | }, 1082 | "node_modules/type-fest": { 1083 | "version": "0.20.2", 1084 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", 1085 | "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", 1086 | "dev": true, 1087 | "engines": { 1088 | "node": ">=10" 1089 | }, 1090 | "funding": { 1091 | "url": "https://github.com/sponsors/sindresorhus" 1092 | } 1093 | }, 1094 | "node_modules/uri-js": { 1095 | "version": "4.4.1", 1096 | "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", 1097 | "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", 1098 | "dev": true, 1099 | "dependencies": { 1100 | "punycode": "^2.1.0" 1101 | } 1102 | }, 1103 | "node_modules/which": { 1104 | "version": "2.0.2", 1105 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", 1106 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", 1107 | "dev": true, 1108 | "dependencies": { 1109 | "isexe": "^2.0.0" 1110 | }, 1111 | "bin": { 1112 | "node-which": "bin/node-which" 1113 | }, 1114 | "engines": { 1115 | "node": ">= 8" 1116 | } 1117 | }, 1118 | "node_modules/wrappy": { 1119 | "version": "1.0.2", 1120 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 1121 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", 1122 | "dev": true 1123 | }, 1124 | "node_modules/yocto-queue": { 1125 | "version": "0.1.0", 1126 | "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", 1127 | "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", 1128 | "dev": true, 1129 | "engines": { 1130 | "node": ">=10" 1131 | }, 1132 | "funding": { 1133 | "url": "https://github.com/sponsors/sindresorhus" 1134 | } 1135 | } 1136 | }, 1137 | "dependencies": { 1138 | "@aashutoshrathi/word-wrap": { 1139 | "version": "1.2.6", 1140 | "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", 1141 | "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", 1142 | "dev": true 1143 | }, 1144 | "@eslint-community/eslint-utils": { 1145 | "version": "4.4.0", 1146 | "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", 1147 | "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", 1148 | "dev": true, 1149 | "requires": { 1150 | "eslint-visitor-keys": "^3.3.0" 1151 | } 1152 | }, 1153 | "@eslint-community/regexpp": { 1154 | "version": "4.8.0", 1155 | "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.8.0.tgz", 1156 | "integrity": "sha512-JylOEEzDiOryeUnFbQz+oViCXS0KsvR1mvHkoMiu5+UiBvy+RYX7tzlIIIEstF/gVa2tj9AQXk3dgnxv6KxhFg==", 1157 | "dev": true 1158 | }, 1159 | "@eslint/eslintrc": { 1160 | "version": "2.1.2", 1161 | "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.2.tgz", 1162 | "integrity": "sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==", 1163 | "dev": true, 1164 | "requires": { 1165 | "ajv": "^6.12.4", 1166 | "debug": "^4.3.2", 1167 | "espree": "^9.6.0", 1168 | "globals": "^13.19.0", 1169 | "ignore": "^5.2.0", 1170 | "import-fresh": "^3.2.1", 1171 | "js-yaml": "^4.1.0", 1172 | "minimatch": "^3.1.2", 1173 | "strip-json-comments": "^3.1.1" 1174 | } 1175 | }, 1176 | "@eslint/js": { 1177 | "version": "8.48.0", 1178 | "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.48.0.tgz", 1179 | "integrity": "sha512-ZSjtmelB7IJfWD2Fvb7+Z+ChTIKWq6kjda95fLcQKNS5aheVHn4IkfgRQE3sIIzTcSLwLcLZUD9UBt+V7+h+Pw==", 1180 | "dev": true 1181 | }, 1182 | "@humanwhocodes/config-array": { 1183 | "version": "0.11.11", 1184 | "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.11.tgz", 1185 | "integrity": "sha512-N2brEuAadi0CcdeMXUkhbZB84eskAc8MEX1By6qEchoVywSgXPIjou4rYsl0V3Hj0ZnuGycGCjdNgockbzeWNA==", 1186 | "dev": true, 1187 | "requires": { 1188 | "@humanwhocodes/object-schema": "^1.2.1", 1189 | "debug": "^4.1.1", 1190 | "minimatch": "^3.0.5" 1191 | } 1192 | }, 1193 | "@humanwhocodes/module-importer": { 1194 | "version": "1.0.1", 1195 | "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", 1196 | "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", 1197 | "dev": true 1198 | }, 1199 | "@humanwhocodes/object-schema": { 1200 | "version": "1.2.1", 1201 | "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", 1202 | "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", 1203 | "dev": true 1204 | }, 1205 | "@nodelib/fs.scandir": { 1206 | "version": "2.1.5", 1207 | "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", 1208 | "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", 1209 | "dev": true, 1210 | "requires": { 1211 | "@nodelib/fs.stat": "2.0.5", 1212 | "run-parallel": "^1.1.9" 1213 | } 1214 | }, 1215 | "@nodelib/fs.stat": { 1216 | "version": "2.0.5", 1217 | "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", 1218 | "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", 1219 | "dev": true 1220 | }, 1221 | "@nodelib/fs.walk": { 1222 | "version": "1.2.8", 1223 | "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", 1224 | "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", 1225 | "dev": true, 1226 | "requires": { 1227 | "@nodelib/fs.scandir": "2.1.5", 1228 | "fastq": "^1.6.0" 1229 | } 1230 | }, 1231 | "acorn": { 1232 | "version": "8.10.0", 1233 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz", 1234 | "integrity": "sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==", 1235 | "dev": true 1236 | }, 1237 | "acorn-jsx": { 1238 | "version": "5.3.2", 1239 | "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", 1240 | "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", 1241 | "dev": true, 1242 | "requires": {} 1243 | }, 1244 | "ajv": { 1245 | "version": "6.12.6", 1246 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", 1247 | "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", 1248 | "dev": true, 1249 | "requires": { 1250 | "fast-deep-equal": "^3.1.1", 1251 | "fast-json-stable-stringify": "^2.0.0", 1252 | "json-schema-traverse": "^0.4.1", 1253 | "uri-js": "^4.2.2" 1254 | } 1255 | }, 1256 | "ansi-regex": { 1257 | "version": "5.0.1", 1258 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 1259 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 1260 | "dev": true 1261 | }, 1262 | "ansi-styles": { 1263 | "version": "4.3.0", 1264 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 1265 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 1266 | "dev": true, 1267 | "requires": { 1268 | "color-convert": "^2.0.1" 1269 | } 1270 | }, 1271 | "argparse": { 1272 | "version": "2.0.1", 1273 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", 1274 | "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", 1275 | "dev": true 1276 | }, 1277 | "balanced-match": { 1278 | "version": "1.0.2", 1279 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 1280 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", 1281 | "dev": true 1282 | }, 1283 | "brace-expansion": { 1284 | "version": "1.1.11", 1285 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 1286 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 1287 | "dev": true, 1288 | "requires": { 1289 | "balanced-match": "^1.0.0", 1290 | "concat-map": "0.0.1" 1291 | } 1292 | }, 1293 | "callsites": { 1294 | "version": "3.1.0", 1295 | "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", 1296 | "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", 1297 | "dev": true 1298 | }, 1299 | "chalk": { 1300 | "version": "4.1.0", 1301 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", 1302 | "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", 1303 | "dev": true, 1304 | "requires": { 1305 | "ansi-styles": "^4.1.0", 1306 | "supports-color": "^7.1.0" 1307 | } 1308 | }, 1309 | "color-convert": { 1310 | "version": "2.0.1", 1311 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 1312 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 1313 | "dev": true, 1314 | "requires": { 1315 | "color-name": "~1.1.4" 1316 | } 1317 | }, 1318 | "color-name": { 1319 | "version": "1.1.4", 1320 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 1321 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", 1322 | "dev": true 1323 | }, 1324 | "concat-map": { 1325 | "version": "0.0.1", 1326 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 1327 | "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", 1328 | "dev": true 1329 | }, 1330 | "cross-spawn": { 1331 | "version": "7.0.3", 1332 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", 1333 | "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", 1334 | "dev": true, 1335 | "requires": { 1336 | "path-key": "^3.1.0", 1337 | "shebang-command": "^2.0.0", 1338 | "which": "^2.0.1" 1339 | } 1340 | }, 1341 | "debug": { 1342 | "version": "4.3.4", 1343 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 1344 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 1345 | "dev": true, 1346 | "requires": { 1347 | "ms": "2.1.2" 1348 | } 1349 | }, 1350 | "deep-is": { 1351 | "version": "0.1.4", 1352 | "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", 1353 | "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", 1354 | "dev": true 1355 | }, 1356 | "doctrine": { 1357 | "version": "3.0.0", 1358 | "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", 1359 | "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", 1360 | "dev": true, 1361 | "requires": { 1362 | "esutils": "^2.0.2" 1363 | } 1364 | }, 1365 | "eslint": { 1366 | "version": "8.48.0", 1367 | "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.48.0.tgz", 1368 | "integrity": "sha512-sb6DLeIuRXxeM1YljSe1KEx9/YYeZFQWcV8Rq9HfigmdDEugjLEVEa1ozDjL6YDjBpQHPJxJzze+alxi4T3OLg==", 1369 | "dev": true, 1370 | "requires": { 1371 | "@eslint-community/eslint-utils": "^4.2.0", 1372 | "@eslint-community/regexpp": "^4.6.1", 1373 | "@eslint/eslintrc": "^2.1.2", 1374 | "@eslint/js": "8.48.0", 1375 | "@humanwhocodes/config-array": "^0.11.10", 1376 | "@humanwhocodes/module-importer": "^1.0.1", 1377 | "@nodelib/fs.walk": "^1.2.8", 1378 | "ajv": "^6.12.4", 1379 | "chalk": "^4.0.0", 1380 | "cross-spawn": "^7.0.2", 1381 | "debug": "^4.3.2", 1382 | "doctrine": "^3.0.0", 1383 | "escape-string-regexp": "^4.0.0", 1384 | "eslint-scope": "^7.2.2", 1385 | "eslint-visitor-keys": "^3.4.3", 1386 | "espree": "^9.6.1", 1387 | "esquery": "^1.4.2", 1388 | "esutils": "^2.0.2", 1389 | "fast-deep-equal": "^3.1.3", 1390 | "file-entry-cache": "^6.0.1", 1391 | "find-up": "^5.0.0", 1392 | "glob-parent": "^6.0.2", 1393 | "globals": "^13.19.0", 1394 | "graphemer": "^1.4.0", 1395 | "ignore": "^5.2.0", 1396 | "imurmurhash": "^0.1.4", 1397 | "is-glob": "^4.0.0", 1398 | "is-path-inside": "^3.0.3", 1399 | "js-yaml": "^4.1.0", 1400 | "json-stable-stringify-without-jsonify": "^1.0.1", 1401 | "levn": "^0.4.1", 1402 | "lodash.merge": "^4.6.2", 1403 | "minimatch": "^3.1.2", 1404 | "natural-compare": "^1.4.0", 1405 | "optionator": "^0.9.3", 1406 | "strip-ansi": "^6.0.1", 1407 | "text-table": "^0.2.0" 1408 | }, 1409 | "dependencies": { 1410 | "escape-string-regexp": { 1411 | "version": "4.0.0", 1412 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", 1413 | "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", 1414 | "dev": true 1415 | } 1416 | } 1417 | }, 1418 | "eslint-config-prettier": { 1419 | "version": "9.0.0", 1420 | "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.0.0.tgz", 1421 | "integrity": "sha512-IcJsTkJae2S35pRsRAwoCE+925rJJStOdkKnLVgtE+tEpqU0EVVM7OqrwxqgptKdX29NUwC82I5pXsGFIgSevw==", 1422 | "dev": true, 1423 | "requires": {} 1424 | }, 1425 | "eslint-scope": { 1426 | "version": "7.2.2", 1427 | "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", 1428 | "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", 1429 | "dev": true, 1430 | "requires": { 1431 | "esrecurse": "^4.3.0", 1432 | "estraverse": "^5.2.0" 1433 | } 1434 | }, 1435 | "eslint-visitor-keys": { 1436 | "version": "3.4.3", 1437 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", 1438 | "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", 1439 | "dev": true 1440 | }, 1441 | "espree": { 1442 | "version": "9.6.1", 1443 | "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", 1444 | "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", 1445 | "dev": true, 1446 | "requires": { 1447 | "acorn": "^8.9.0", 1448 | "acorn-jsx": "^5.3.2", 1449 | "eslint-visitor-keys": "^3.4.1" 1450 | } 1451 | }, 1452 | "esquery": { 1453 | "version": "1.5.0", 1454 | "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", 1455 | "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", 1456 | "dev": true, 1457 | "requires": { 1458 | "estraverse": "^5.1.0" 1459 | } 1460 | }, 1461 | "esrecurse": { 1462 | "version": "4.3.0", 1463 | "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", 1464 | "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", 1465 | "dev": true, 1466 | "requires": { 1467 | "estraverse": "^5.2.0" 1468 | } 1469 | }, 1470 | "estraverse": { 1471 | "version": "5.3.0", 1472 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", 1473 | "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", 1474 | "dev": true 1475 | }, 1476 | "esutils": { 1477 | "version": "2.0.3", 1478 | "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", 1479 | "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", 1480 | "dev": true 1481 | }, 1482 | "fast-deep-equal": { 1483 | "version": "3.1.3", 1484 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", 1485 | "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", 1486 | "dev": true 1487 | }, 1488 | "fast-json-stable-stringify": { 1489 | "version": "2.1.0", 1490 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", 1491 | "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", 1492 | "dev": true 1493 | }, 1494 | "fast-levenshtein": { 1495 | "version": "2.0.6", 1496 | "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", 1497 | "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", 1498 | "dev": true 1499 | }, 1500 | "fastq": { 1501 | "version": "1.15.0", 1502 | "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", 1503 | "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", 1504 | "dev": true, 1505 | "requires": { 1506 | "reusify": "^1.0.4" 1507 | } 1508 | }, 1509 | "file-entry-cache": { 1510 | "version": "6.0.1", 1511 | "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", 1512 | "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", 1513 | "dev": true, 1514 | "requires": { 1515 | "flat-cache": "^3.0.4" 1516 | } 1517 | }, 1518 | "find-up": { 1519 | "version": "5.0.0", 1520 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", 1521 | "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", 1522 | "dev": true, 1523 | "requires": { 1524 | "locate-path": "^6.0.0", 1525 | "path-exists": "^4.0.0" 1526 | } 1527 | }, 1528 | "flat-cache": { 1529 | "version": "3.0.4", 1530 | "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", 1531 | "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", 1532 | "dev": true, 1533 | "requires": { 1534 | "flatted": "^3.1.0", 1535 | "rimraf": "^3.0.2" 1536 | } 1537 | }, 1538 | "flatted": { 1539 | "version": "3.1.1", 1540 | "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.1.1.tgz", 1541 | "integrity": "sha512-zAoAQiudy+r5SvnSw3KJy5os/oRJYHzrzja/tBDqrZtNhUw8bt6y8OBzMWcjWr+8liV8Eb6yOhw8WZ7VFZ5ZzA==", 1542 | "dev": true 1543 | }, 1544 | "fs.realpath": { 1545 | "version": "1.0.0", 1546 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 1547 | "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", 1548 | "dev": true 1549 | }, 1550 | "glob": { 1551 | "version": "7.1.6", 1552 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", 1553 | "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", 1554 | "dev": true, 1555 | "requires": { 1556 | "fs.realpath": "^1.0.0", 1557 | "inflight": "^1.0.4", 1558 | "inherits": "2", 1559 | "minimatch": "^3.0.4", 1560 | "once": "^1.3.0", 1561 | "path-is-absolute": "^1.0.0" 1562 | } 1563 | }, 1564 | "glob-parent": { 1565 | "version": "6.0.2", 1566 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", 1567 | "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", 1568 | "dev": true, 1569 | "requires": { 1570 | "is-glob": "^4.0.3" 1571 | } 1572 | }, 1573 | "globals": { 1574 | "version": "13.21.0", 1575 | "resolved": "https://registry.npmjs.org/globals/-/globals-13.21.0.tgz", 1576 | "integrity": "sha512-ybyme3s4yy/t/3s35bewwXKOf7cvzfreG2lH0lZl0JB7I4GxRP2ghxOK/Nb9EkRXdbBXZLfq/p/0W2JUONB/Gg==", 1577 | "dev": true, 1578 | "requires": { 1579 | "type-fest": "^0.20.2" 1580 | } 1581 | }, 1582 | "graphemer": { 1583 | "version": "1.4.0", 1584 | "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", 1585 | "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", 1586 | "dev": true 1587 | }, 1588 | "has-flag": { 1589 | "version": "4.0.0", 1590 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 1591 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", 1592 | "dev": true 1593 | }, 1594 | "ignore": { 1595 | "version": "5.2.4", 1596 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", 1597 | "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", 1598 | "dev": true 1599 | }, 1600 | "import-fresh": { 1601 | "version": "3.3.0", 1602 | "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", 1603 | "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", 1604 | "dev": true, 1605 | "requires": { 1606 | "parent-module": "^1.0.0", 1607 | "resolve-from": "^4.0.0" 1608 | } 1609 | }, 1610 | "imurmurhash": { 1611 | "version": "0.1.4", 1612 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", 1613 | "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", 1614 | "dev": true 1615 | }, 1616 | "inflight": { 1617 | "version": "1.0.6", 1618 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 1619 | "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", 1620 | "dev": true, 1621 | "requires": { 1622 | "once": "^1.3.0", 1623 | "wrappy": "1" 1624 | } 1625 | }, 1626 | "inherits": { 1627 | "version": "2.0.4", 1628 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 1629 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", 1630 | "dev": true 1631 | }, 1632 | "is-extglob": { 1633 | "version": "2.1.1", 1634 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 1635 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", 1636 | "dev": true 1637 | }, 1638 | "is-glob": { 1639 | "version": "4.0.3", 1640 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", 1641 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", 1642 | "dev": true, 1643 | "requires": { 1644 | "is-extglob": "^2.1.1" 1645 | } 1646 | }, 1647 | "is-path-inside": { 1648 | "version": "3.0.3", 1649 | "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", 1650 | "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", 1651 | "dev": true 1652 | }, 1653 | "isexe": { 1654 | "version": "2.0.0", 1655 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", 1656 | "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", 1657 | "dev": true 1658 | }, 1659 | "js-yaml": { 1660 | "version": "4.1.0", 1661 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", 1662 | "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", 1663 | "dev": true, 1664 | "requires": { 1665 | "argparse": "^2.0.1" 1666 | } 1667 | }, 1668 | "json-schema-traverse": { 1669 | "version": "0.4.1", 1670 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", 1671 | "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", 1672 | "dev": true 1673 | }, 1674 | "json-stable-stringify-without-jsonify": { 1675 | "version": "1.0.1", 1676 | "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", 1677 | "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", 1678 | "dev": true 1679 | }, 1680 | "levn": { 1681 | "version": "0.4.1", 1682 | "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", 1683 | "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", 1684 | "dev": true, 1685 | "requires": { 1686 | "prelude-ls": "^1.2.1", 1687 | "type-check": "~0.4.0" 1688 | } 1689 | }, 1690 | "locate-path": { 1691 | "version": "6.0.0", 1692 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", 1693 | "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", 1694 | "dev": true, 1695 | "requires": { 1696 | "p-locate": "^5.0.0" 1697 | } 1698 | }, 1699 | "lodash.merge": { 1700 | "version": "4.6.2", 1701 | "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", 1702 | "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", 1703 | "dev": true 1704 | }, 1705 | "minimatch": { 1706 | "version": "3.1.2", 1707 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 1708 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 1709 | "dev": true, 1710 | "requires": { 1711 | "brace-expansion": "^1.1.7" 1712 | } 1713 | }, 1714 | "ms": { 1715 | "version": "2.1.2", 1716 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 1717 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", 1718 | "dev": true 1719 | }, 1720 | "natural-compare": { 1721 | "version": "1.4.0", 1722 | "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", 1723 | "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", 1724 | "dev": true 1725 | }, 1726 | "once": { 1727 | "version": "1.4.0", 1728 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 1729 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", 1730 | "dev": true, 1731 | "requires": { 1732 | "wrappy": "1" 1733 | } 1734 | }, 1735 | "optionator": { 1736 | "version": "0.9.3", 1737 | "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", 1738 | "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", 1739 | "dev": true, 1740 | "requires": { 1741 | "@aashutoshrathi/word-wrap": "^1.2.3", 1742 | "deep-is": "^0.1.3", 1743 | "fast-levenshtein": "^2.0.6", 1744 | "levn": "^0.4.1", 1745 | "prelude-ls": "^1.2.1", 1746 | "type-check": "^0.4.0" 1747 | } 1748 | }, 1749 | "p-limit": { 1750 | "version": "3.1.0", 1751 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", 1752 | "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", 1753 | "dev": true, 1754 | "requires": { 1755 | "yocto-queue": "^0.1.0" 1756 | } 1757 | }, 1758 | "p-locate": { 1759 | "version": "5.0.0", 1760 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", 1761 | "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", 1762 | "dev": true, 1763 | "requires": { 1764 | "p-limit": "^3.0.2" 1765 | } 1766 | }, 1767 | "parent-module": { 1768 | "version": "1.0.1", 1769 | "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", 1770 | "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", 1771 | "dev": true, 1772 | "requires": { 1773 | "callsites": "^3.0.0" 1774 | } 1775 | }, 1776 | "path-exists": { 1777 | "version": "4.0.0", 1778 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", 1779 | "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", 1780 | "dev": true 1781 | }, 1782 | "path-is-absolute": { 1783 | "version": "1.0.1", 1784 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 1785 | "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", 1786 | "dev": true 1787 | }, 1788 | "path-key": { 1789 | "version": "3.1.1", 1790 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", 1791 | "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", 1792 | "dev": true 1793 | }, 1794 | "prelude-ls": { 1795 | "version": "1.2.1", 1796 | "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", 1797 | "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", 1798 | "dev": true 1799 | }, 1800 | "prettier": { 1801 | "version": "3.0.3", 1802 | "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz", 1803 | "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==", 1804 | "dev": true 1805 | }, 1806 | "punycode": { 1807 | "version": "2.3.0", 1808 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", 1809 | "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", 1810 | "dev": true 1811 | }, 1812 | "queue-microtask": { 1813 | "version": "1.2.3", 1814 | "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", 1815 | "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", 1816 | "dev": true 1817 | }, 1818 | "resolve-from": { 1819 | "version": "4.0.0", 1820 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", 1821 | "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", 1822 | "dev": true 1823 | }, 1824 | "reusify": { 1825 | "version": "1.0.4", 1826 | "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", 1827 | "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", 1828 | "dev": true 1829 | }, 1830 | "rimraf": { 1831 | "version": "3.0.2", 1832 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", 1833 | "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", 1834 | "dev": true, 1835 | "requires": { 1836 | "glob": "^7.1.3" 1837 | } 1838 | }, 1839 | "run-parallel": { 1840 | "version": "1.2.0", 1841 | "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", 1842 | "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", 1843 | "dev": true, 1844 | "requires": { 1845 | "queue-microtask": "^1.2.2" 1846 | } 1847 | }, 1848 | "shebang-command": { 1849 | "version": "2.0.0", 1850 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", 1851 | "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", 1852 | "dev": true, 1853 | "requires": { 1854 | "shebang-regex": "^3.0.0" 1855 | } 1856 | }, 1857 | "shebang-regex": { 1858 | "version": "3.0.0", 1859 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", 1860 | "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", 1861 | "dev": true 1862 | }, 1863 | "strip-ansi": { 1864 | "version": "6.0.1", 1865 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 1866 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 1867 | "dev": true, 1868 | "requires": { 1869 | "ansi-regex": "^5.0.1" 1870 | } 1871 | }, 1872 | "strip-json-comments": { 1873 | "version": "3.1.1", 1874 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", 1875 | "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", 1876 | "dev": true 1877 | }, 1878 | "supports-color": { 1879 | "version": "7.2.0", 1880 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 1881 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 1882 | "dev": true, 1883 | "requires": { 1884 | "has-flag": "^4.0.0" 1885 | } 1886 | }, 1887 | "text-table": { 1888 | "version": "0.2.0", 1889 | "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", 1890 | "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", 1891 | "dev": true 1892 | }, 1893 | "type-check": { 1894 | "version": "0.4.0", 1895 | "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", 1896 | "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", 1897 | "dev": true, 1898 | "requires": { 1899 | "prelude-ls": "^1.2.1" 1900 | } 1901 | }, 1902 | "type-fest": { 1903 | "version": "0.20.2", 1904 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", 1905 | "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", 1906 | "dev": true 1907 | }, 1908 | "uri-js": { 1909 | "version": "4.4.1", 1910 | "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", 1911 | "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", 1912 | "dev": true, 1913 | "requires": { 1914 | "punycode": "^2.1.0" 1915 | } 1916 | }, 1917 | "which": { 1918 | "version": "2.0.2", 1919 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", 1920 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", 1921 | "dev": true, 1922 | "requires": { 1923 | "isexe": "^2.0.0" 1924 | } 1925 | }, 1926 | "wrappy": { 1927 | "version": "1.0.2", 1928 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 1929 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", 1930 | "dev": true 1931 | }, 1932 | "yocto-queue": { 1933 | "version": "0.1.0", 1934 | "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", 1935 | "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", 1936 | "dev": true 1937 | } 1938 | } 1939 | } 1940 | -------------------------------------------------------------------------------- /javascript/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "devDependencies": { 3 | "eslint": "^8.48.0", 4 | "eslint-config-prettier": "^9.0.0", 5 | "prettier": "^3.0.3" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /python/.flake8: -------------------------------------------------------------------------------- 1 | [flake8] 2 | max-line-length = 88 3 | -------------------------------------------------------------------------------- /python/.isort.cfg: -------------------------------------------------------------------------------- 1 | [settings] 2 | default_section=THIRDPARTY 3 | force_grid_wrap=0 4 | include_trailing_comma=True 5 | known_first_party=example,example_utils 6 | line_length=88 7 | multi_line_output=3 8 | use_parentheses=True 9 | -------------------------------------------------------------------------------- /python/Pipfile: -------------------------------------------------------------------------------- 1 | [[source]] 2 | name = "pypi" 3 | url = "https://pypi.org/simple" 4 | verify_ssl = true 5 | 6 | [dev-packages] 7 | black = "==20.8b1" 8 | isort = "*" 9 | flake8 = "*" 10 | flake8-assertive = "*" 11 | flake8-builtins = "*" 12 | flake8-comprehensions = "*" 13 | flake8-logging-format = "*" 14 | flake8-bugbear = "*" 15 | flake8-eradicate = "*" 16 | bandit = "*" 17 | 18 | [packages] 19 | 20 | [requires] 21 | python_version = "3.9" 22 | -------------------------------------------------------------------------------- /python/Pipfile.lock: -------------------------------------------------------------------------------- 1 | { 2 | "_meta": { 3 | "hash": { 4 | "sha256": "6e14e865de8528b823f5317ad233968a0ca715492731fc6e82265d8621b7253b" 5 | }, 6 | "pipfile-spec": 6, 7 | "requires": { 8 | "python_version": "3.9" 9 | }, 10 | "sources": [ 11 | { 12 | "name": "pypi", 13 | "url": "https://pypi.org/simple", 14 | "verify_ssl": true 15 | } 16 | ] 17 | }, 18 | "default": {}, 19 | "develop": { 20 | "appdirs": { 21 | "hashes": [ 22 | "sha256:7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41", 23 | "sha256:a841dacd6b99318a741b166adb07e19ee71a274450e68237b4650ca1055ab128" 24 | ], 25 | "version": "==1.4.4" 26 | }, 27 | "attrs": { 28 | "hashes": [ 29 | "sha256:1f28b4522cdc2fb4256ac1a020c78acf9cba2c6b461ccd2c126f3aa8e8335d04", 30 | "sha256:6279836d581513a26f1bf235f9acd333bc9115683f14f7e8fae46c98fc50e015" 31 | ], 32 | "markers": "python_version >= '3.7'", 33 | "version": "==23.1.0" 34 | }, 35 | "bandit": { 36 | "hashes": [ 37 | "sha256:75665181dc1e0096369112541a056c59d1c5f66f9bb74a8d686c3c362b83f549", 38 | "sha256:bdfc739baa03b880c2d15d0431b31c658ffc348e907fe197e54e0389dd59e11e" 39 | ], 40 | "index": "pypi", 41 | "markers": "python_version >= '3.7'", 42 | "version": "==1.7.5" 43 | }, 44 | "black": { 45 | "hashes": [ 46 | "sha256:1c02557aa099101b9d21496f8a914e9ed2222ef70336404eeeac8edba836fbea" 47 | ], 48 | "index": "pypi", 49 | "markers": "python_version >= '3.6'", 50 | "version": "==20.8b1" 51 | }, 52 | "click": { 53 | "hashes": [ 54 | "sha256:ae74fb96c20a0277a1d615f1e4d73c8414f5a98db8b799a7931d1582f3390c28", 55 | "sha256:ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de" 56 | ], 57 | "markers": "python_version >= '3.7'", 58 | "version": "==8.1.7" 59 | }, 60 | "eradicate": { 61 | "hashes": [ 62 | "sha256:06df115be3b87d0fc1c483db22a2ebb12bcf40585722810d809cc770f5031c37", 63 | "sha256:2b29b3dd27171f209e4ddd8204b70c02f0682ae95eecb353f10e8d72b149c63e" 64 | ], 65 | "version": "==2.3.0" 66 | }, 67 | "flake8": { 68 | "hashes": [ 69 | "sha256:d5b3857f07c030bdb5bf41c7f53799571d75c4491748a3adcd47de929e34cd23", 70 | "sha256:ffdfce58ea94c6580c77888a86506937f9a1a227dfcd15f245d694ae20a6b6e5" 71 | ], 72 | "index": "pypi", 73 | "markers": "python_full_version >= '3.8.1'", 74 | "version": "==6.1.0" 75 | }, 76 | "flake8-assertive": { 77 | "hashes": [ 78 | "sha256:72a333fefe1af1f8d46359f4d083f8a8d42d7edb9db84406ce8de17bcffbbd10", 79 | "sha256:dc0c561010b2c00f7314f7fbf3b3de302efb24154316deb338d07e083fa30b26" 80 | ], 81 | "index": "pypi", 82 | "markers": "python_version >= '3.7'", 83 | "version": "==2.1.0" 84 | }, 85 | "flake8-bugbear": { 86 | "hashes": [ 87 | "sha256:0ebdc7d8ec1ca8bd49347694562381f099f4de2f8ec6bda7a7dca65555d9e0d4", 88 | "sha256:d99d005114020fbef47ed5e4aebafd22f167f9a0fbd0d8bf3c9e90612cb25c34" 89 | ], 90 | "index": "pypi", 91 | "markers": "python_full_version >= '3.8.1'", 92 | "version": "==23.7.10" 93 | }, 94 | "flake8-builtins": { 95 | "hashes": [ 96 | "sha256:12ff1ee96dd4e1f3141141ee6c45a5c7d3b3c440d0949e9b8d345c42b39c51d4", 97 | "sha256:469e8f03d6d0edf4b1e62b6d5a97dce4598592c8a13ec8f0952e7a185eba50a1" 98 | ], 99 | "index": "pypi", 100 | "markers": "python_version >= '3.7'", 101 | "version": "==2.1.0" 102 | }, 103 | "flake8-comprehensions": { 104 | "hashes": [ 105 | "sha256:7b9d07d94aa88e62099a6d1931ddf16c344d4157deedf90fe0d8ee2846f30e97", 106 | "sha256:81768c61bfc064e1a06222df08a2580d97de10cb388694becaf987c331c6c0cf" 107 | ], 108 | "index": "pypi", 109 | "markers": "python_version >= '3.8'", 110 | "version": "==3.14.0" 111 | }, 112 | "flake8-eradicate": { 113 | "hashes": [ 114 | "sha256:18acc922ad7de623f5247c7d5595da068525ec5437dd53b22ec2259b96ce9d22", 115 | "sha256:aee636cb9ecb5594a7cd92d67ad73eb69909e5cc7bd81710cf9d00970f3983a6" 116 | ], 117 | "index": "pypi", 118 | "markers": "python_version >= '3.8' and python_version < '4.0'", 119 | "version": "==1.5.0" 120 | }, 121 | "flake8-logging-format": { 122 | "hashes": [ 123 | "sha256:e830cc49091e4b8ab9ea3da69a3da074bd631ce9a7db300e5c89fb48ba4a6986" 124 | ], 125 | "index": "pypi", 126 | "version": "==0.9.0" 127 | }, 128 | "gitdb": { 129 | "hashes": [ 130 | "sha256:6eb990b69df4e15bad899ea868dc46572c3f75339735663b81de79b06f17eb9a", 131 | "sha256:c286cf298426064079ed96a9e4a9d39e7f3e9bf15ba60701e95f5492f28415c7" 132 | ], 133 | "markers": "python_version >= '3.7'", 134 | "version": "==4.0.10" 135 | }, 136 | "gitpython": { 137 | "hashes": [ 138 | "sha256:5f4c4187de49616d710a77e98ddf17b4782060a1788df441846bddefbb89ab33", 139 | "sha256:f9b9ddc0761c125d5780eab2d64be4873fc6817c2899cbcb34b02344bdc7bc54" 140 | ], 141 | "index": "pypi", 142 | "markers": "python_version >= '3.7'", 143 | "version": "==3.1.37" 144 | }, 145 | "isort": { 146 | "hashes": [ 147 | "sha256:8bef7dde241278824a6d83f44a544709b065191b95b6e50894bdc722fcba0504", 148 | "sha256:f84c2818376e66cf843d497486ea8fed8700b340f308f076c6fb1229dff318b6" 149 | ], 150 | "index": "pypi", 151 | "markers": "python_full_version >= '3.8.0'", 152 | "version": "==5.12.0" 153 | }, 154 | "markdown-it-py": { 155 | "hashes": [ 156 | "sha256:355216845c60bd96232cd8d8c40e8f9765cc86f46880e43a8fd22dc1a1a8cab1", 157 | "sha256:e3f60a94fa066dc52ec76661e37c851cb232d92f9886b15cb560aaada2df8feb" 158 | ], 159 | "markers": "python_version >= '3.8'", 160 | "version": "==3.0.0" 161 | }, 162 | "mccabe": { 163 | "hashes": [ 164 | "sha256:348e0240c33b60bbdf4e523192ef919f28cb2c3d7d5c7794f74009290f236325", 165 | "sha256:6c2d30ab6be0e4a46919781807b4f0d834ebdd6c6e3dca0bda5a15f863427b6e" 166 | ], 167 | "markers": "python_version >= '3.6'", 168 | "version": "==0.7.0" 169 | }, 170 | "mdurl": { 171 | "hashes": [ 172 | "sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8", 173 | "sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba" 174 | ], 175 | "markers": "python_version >= '3.7'", 176 | "version": "==0.1.2" 177 | }, 178 | "mypy-extensions": { 179 | "hashes": [ 180 | "sha256:4392f6c0eb8a5668a69e23d168ffa70f0be9ccfd32b5cc2d26a34ae5b844552d", 181 | "sha256:75dbf8955dc00442a438fc4d0666508a9a97b6bd41aa2f0ffe9d2f2725af0782" 182 | ], 183 | "markers": "python_version >= '3.5'", 184 | "version": "==1.0.0" 185 | }, 186 | "pathspec": { 187 | "hashes": [ 188 | "sha256:1d6ed233af05e679efb96b1851550ea95bbb64b7c490b0f5aa52996c11e92a20", 189 | "sha256:e0d8d0ac2f12da61956eb2306b69f9469b42f4deb0f3cb6ed47b9cce9996ced3" 190 | ], 191 | "markers": "python_version >= '3.7'", 192 | "version": "==0.11.2" 193 | }, 194 | "pbr": { 195 | "hashes": [ 196 | "sha256:567f09558bae2b3ab53cb3c1e2e33e726ff3338e7bae3db5dc954b3a44eef12b", 197 | "sha256:aefc51675b0b533d56bb5fd1c8c6c0522fe31896679882e1c4c63d5e4a0fccb3" 198 | ], 199 | "markers": "python_version >= '2.6'", 200 | "version": "==5.11.1" 201 | }, 202 | "pycodestyle": { 203 | "hashes": [ 204 | "sha256:259bcc17857d8a8b3b4a2327324b79e5f020a13c16074670f9c8c8f872ea76d0", 205 | "sha256:5d1013ba8dc7895b548be5afb05740ca82454fd899971563d2ef625d090326f8" 206 | ], 207 | "markers": "python_version >= '3.8'", 208 | "version": "==2.11.0" 209 | }, 210 | "pyflakes": { 211 | "hashes": [ 212 | "sha256:4132f6d49cb4dae6819e5379898f2b8cce3c5f23994194c24b77d5da2e36f774", 213 | "sha256:a0aae034c444db0071aa077972ba4768d40c830d9539fd45bf4cd3f8f6992efc" 214 | ], 215 | "markers": "python_version >= '3.8'", 216 | "version": "==3.1.0" 217 | }, 218 | "pygments": { 219 | "hashes": [ 220 | "sha256:13fc09fa63bc8d8671a6d247e1eb303c4b343eaee81d861f3404db2935653692", 221 | "sha256:1daff0494820c69bc8941e407aa20f577374ee88364ee10a98fdbe0aece96e29" 222 | ], 223 | "markers": "python_version >= '3.7'", 224 | "version": "==2.16.1" 225 | }, 226 | "pyyaml": { 227 | "hashes": [ 228 | "sha256:04ac92ad1925b2cff1db0cfebffb6ffc43457495c9b3c39d3fcae417d7125dc5", 229 | "sha256:062582fca9fabdd2c8b54a3ef1c978d786e0f6b3a1510e0ac93ef59e0ddae2bc", 230 | "sha256:0d3304d8c0adc42be59c5f8a4d9e3d7379e6955ad754aa9d6ab7a398b59dd1df", 231 | "sha256:1635fd110e8d85d55237ab316b5b011de701ea0f29d07611174a1b42f1444741", 232 | "sha256:184c5108a2aca3c5b3d3bf9395d50893a7ab82a38004c8f61c258d4428e80206", 233 | "sha256:18aeb1bf9a78867dc38b259769503436b7c72f7a1f1f4c93ff9a17de54319b27", 234 | "sha256:1d4c7e777c441b20e32f52bd377e0c409713e8bb1386e1099c2415f26e479595", 235 | "sha256:1e2722cc9fbb45d9b87631ac70924c11d3a401b2d7f410cc0e3bbf249f2dca62", 236 | "sha256:1fe35611261b29bd1de0070f0b2f47cb6ff71fa6595c077e42bd0c419fa27b98", 237 | "sha256:28c119d996beec18c05208a8bd78cbe4007878c6dd15091efb73a30e90539696", 238 | "sha256:326c013efe8048858a6d312ddd31d56e468118ad4cdeda36c719bf5bb6192290", 239 | "sha256:40df9b996c2b73138957fe23a16a4f0ba614f4c0efce1e9406a184b6d07fa3a9", 240 | "sha256:42f8152b8dbc4fe7d96729ec2b99c7097d656dc1213a3229ca5383f973a5ed6d", 241 | "sha256:49a183be227561de579b4a36efbb21b3eab9651dd81b1858589f796549873dd6", 242 | "sha256:4fb147e7a67ef577a588a0e2c17b6db51dda102c71de36f8549b6816a96e1867", 243 | "sha256:50550eb667afee136e9a77d6dc71ae76a44df8b3e51e41b77f6de2932bfe0f47", 244 | "sha256:510c9deebc5c0225e8c96813043e62b680ba2f9c50a08d3724c7f28a747d1486", 245 | "sha256:5773183b6446b2c99bb77e77595dd486303b4faab2b086e7b17bc6bef28865f6", 246 | "sha256:596106435fa6ad000c2991a98fa58eeb8656ef2325d7e158344fb33864ed87e3", 247 | "sha256:6965a7bc3cf88e5a1c3bd2e0b5c22f8d677dc88a455344035f03399034eb3007", 248 | "sha256:69b023b2b4daa7548bcfbd4aa3da05b3a74b772db9e23b982788168117739938", 249 | "sha256:6c22bec3fbe2524cde73d7ada88f6566758a8f7227bfbf93a408a9d86bcc12a0", 250 | "sha256:704219a11b772aea0d8ecd7058d0082713c3562b4e271b849ad7dc4a5c90c13c", 251 | "sha256:7e07cbde391ba96ab58e532ff4803f79c4129397514e1413a7dc761ccd755735", 252 | "sha256:81e0b275a9ecc9c0c0c07b4b90ba548307583c125f54d5b6946cfee6360c733d", 253 | "sha256:855fb52b0dc35af121542a76b9a84f8d1cd886ea97c84703eaa6d88e37a2ad28", 254 | "sha256:8d4e9c88387b0f5c7d5f281e55304de64cf7f9c0021a3525bd3b1c542da3b0e4", 255 | "sha256:9046c58c4395dff28dd494285c82ba00b546adfc7ef001486fbf0324bc174fba", 256 | "sha256:9eb6caa9a297fc2c2fb8862bc5370d0303ddba53ba97e71f08023b6cd73d16a8", 257 | "sha256:a0cd17c15d3bb3fa06978b4e8958dcdc6e0174ccea823003a106c7d4d7899ac5", 258 | "sha256:afd7e57eddb1a54f0f1a974bc4391af8bcce0b444685d936840f125cf046d5bd", 259 | "sha256:b1275ad35a5d18c62a7220633c913e1b42d44b46ee12554e5fd39c70a243d6a3", 260 | "sha256:b786eecbdf8499b9ca1d697215862083bd6d2a99965554781d0d8d1ad31e13a0", 261 | "sha256:ba336e390cd8e4d1739f42dfe9bb83a3cc2e80f567d8805e11b46f4a943f5515", 262 | "sha256:baa90d3f661d43131ca170712d903e6295d1f7a0f595074f151c0aed377c9b9c", 263 | "sha256:bc1bf2925a1ecd43da378f4db9e4f799775d6367bdb94671027b73b393a7c42c", 264 | "sha256:bd4af7373a854424dabd882decdc5579653d7868b8fb26dc7d0e99f823aa5924", 265 | "sha256:bf07ee2fef7014951eeb99f56f39c9bb4af143d8aa3c21b1677805985307da34", 266 | "sha256:bfdf460b1736c775f2ba9f6a92bca30bc2095067b8a9d77876d1fad6cc3b4a43", 267 | "sha256:c8098ddcc2a85b61647b2590f825f3db38891662cfc2fc776415143f599bb859", 268 | "sha256:d2b04aac4d386b172d5b9692e2d2da8de7bfb6c387fa4f801fbf6fb2e6ba4673", 269 | "sha256:d483d2cdf104e7c9fa60c544d92981f12ad66a457afae824d146093b8c294c54", 270 | "sha256:d858aa552c999bc8a8d57426ed01e40bef403cd8ccdd0fc5f6f04a00414cac2a", 271 | "sha256:e7d73685e87afe9f3b36c799222440d6cf362062f78be1013661b00c5c6f678b", 272 | "sha256:f003ed9ad21d6a4713f0a9b5a7a0a79e08dd0f221aff4525a2be4c346ee60aab", 273 | "sha256:f22ac1c3cac4dbc50079e965eba2c1058622631e526bd9afd45fedd49ba781fa", 274 | "sha256:faca3bdcf85b2fc05d06ff3fbc1f83e1391b3e724afa3feba7d13eeab355484c", 275 | "sha256:fca0e3a251908a499833aa292323f32437106001d436eca0e6e7833256674585", 276 | "sha256:fd1592b3fdf65fff2ad0004b5e363300ef59ced41c2e6b3a99d4089fa8c5435d", 277 | "sha256:fd66fc5d0da6d9815ba2cebeb4205f95818ff4b79c3ebe268e75d961704af52f" 278 | ], 279 | "markers": "python_version >= '3.6'", 280 | "version": "==6.0.1" 281 | }, 282 | "regex": { 283 | "hashes": [ 284 | "sha256:00ba3c9818e33f1fa974693fb55d24cdc8ebafcb2e4207680669d8f8d7cca79a", 285 | "sha256:00e871d83a45eee2f8688d7e6849609c2ca2a04a6d48fba3dff4deef35d14f07", 286 | "sha256:06e9abc0e4c9ab4779c74ad99c3fc10d3967d03114449acc2c2762ad4472b8ca", 287 | "sha256:0b9ac09853b2a3e0d0082104036579809679e7715671cfbf89d83c1cb2a30f58", 288 | "sha256:0d47840dc05e0ba04fe2e26f15126de7c755496d5a8aae4a08bda4dd8d646c54", 289 | "sha256:0f649fa32fe734c4abdfd4edbb8381c74abf5f34bc0b3271ce687b23729299ed", 290 | "sha256:107ac60d1bfdc3edb53be75e2a52aff7481b92817cfdddd9b4519ccf0e54a6ff", 291 | "sha256:11175910f62b2b8c055f2b089e0fedd694fe2be3941b3e2633653bc51064c528", 292 | "sha256:12bd4bc2c632742c7ce20db48e0d99afdc05e03f0b4c1af90542e05b809a03d9", 293 | "sha256:16f8740eb6dbacc7113e3097b0a36065a02e37b47c936b551805d40340fb9971", 294 | "sha256:1c0e8fae5b27caa34177bdfa5a960c46ff2f78ee2d45c6db15ae3f64ecadde14", 295 | "sha256:2c54e23836650bdf2c18222c87f6f840d4943944146ca479858404fedeb9f9af", 296 | "sha256:3367007ad1951fde612bf65b0dffc8fd681a4ab98ac86957d16491400d661302", 297 | "sha256:36362386b813fa6c9146da6149a001b7bd063dabc4d49522a1f7aa65b725c7ec", 298 | "sha256:39807cbcbe406efca2a233884e169d056c35aa7e9f343d4e78665246a332f597", 299 | "sha256:39cdf8d141d6d44e8d5a12a8569d5a227f645c87df4f92179bd06e2e2705e76b", 300 | "sha256:3b2c3502603fab52d7619b882c25a6850b766ebd1b18de3df23b2f939360e1bd", 301 | "sha256:3ccf2716add72f80714b9a63899b67fa711b654be3fcdd34fa391d2d274ce767", 302 | "sha256:3fef4f844d2290ee0ba57addcec17eec9e3df73f10a2748485dfd6a3a188cc0f", 303 | "sha256:4023e2efc35a30e66e938de5aef42b520c20e7eda7bb5fb12c35e5d09a4c43f6", 304 | "sha256:4a3ee019a9befe84fa3e917a2dd378807e423d013377a884c1970a3c2792d293", 305 | "sha256:4a8bf76e3182797c6b1afa5b822d1d5802ff30284abe4599e1247be4fd6b03be", 306 | "sha256:4a992f702c9be9c72fa46f01ca6e18d131906a7180950958f766c2aa294d4b41", 307 | "sha256:4c34d4f73ea738223a094d8e0ffd6d2c1a1b4c175da34d6b0de3d8d69bee6bcc", 308 | "sha256:4cd1bccf99d3ef1ab6ba835308ad85be040e6a11b0977ef7ea8c8005f01a3c29", 309 | "sha256:4ef80829117a8061f974b2fda8ec799717242353bff55f8a29411794d635d964", 310 | "sha256:58837f9d221744d4c92d2cf7201c6acd19623b50c643b56992cbd2b745485d3d", 311 | "sha256:5a8f91c64f390ecee09ff793319f30a0f32492e99f5dc1c72bc361f23ccd0a9a", 312 | "sha256:5addc9d0209a9afca5fc070f93b726bf7003bd63a427f65ef797a931782e7edc", 313 | "sha256:6239d4e2e0b52c8bd38c51b760cd870069f0bdf99700a62cd509d7a031749a55", 314 | "sha256:66e2fe786ef28da2b28e222c89502b2af984858091675044d93cb50e6f46d7af", 315 | "sha256:69c0771ca5653c7d4b65203cbfc5e66db9375f1078689459fe196fe08b7b4930", 316 | "sha256:6ac965a998e1388e6ff2e9781f499ad1eaa41e962a40d11c7823c9952c77123e", 317 | "sha256:6c56c3d47da04f921b73ff9415fbaa939f684d47293f071aa9cbb13c94afc17d", 318 | "sha256:6f85739e80d13644b981a88f529d79c5bdf646b460ba190bffcaf6d57b2a9863", 319 | "sha256:706e7b739fdd17cb89e1fbf712d9dc21311fc2333f6d435eac2d4ee81985098c", 320 | "sha256:741ba2f511cc9626b7561a440f87d658aabb3d6b744a86a3c025f866b4d19e7f", 321 | "sha256:7434a61b158be563c1362d9071358f8ab91b8d928728cd2882af060481244c9e", 322 | "sha256:76066d7ff61ba6bf3cb5efe2428fc82aac91802844c022d849a1f0f53820502d", 323 | "sha256:7979b834ec7a33aafae34a90aad9f914c41fd6eaa8474e66953f3f6f7cbd4368", 324 | "sha256:7eece6fbd3eae4a92d7c748ae825cbc1ee41a89bb1c3db05b5578ed3cfcfd7cb", 325 | "sha256:7ef1e014eed78ab650bef9a6a9cbe50b052c0aebe553fb2881e0453717573f52", 326 | "sha256:81dce2ddc9f6e8f543d94b05d56e70d03a0774d32f6cca53e978dc01e4fc75b8", 327 | "sha256:82fcc1f1cc3ff1ab8a57ba619b149b907072e750815c5ba63e7aa2e1163384a4", 328 | "sha256:8d1f21af4c1539051049796a0f50aa342f9a27cde57318f2fc41ed50b0dbc4ac", 329 | "sha256:90a79bce019c442604662d17bf69df99090e24cdc6ad95b18b6725c2988a490e", 330 | "sha256:9145f092b5d1977ec8c0ab46e7b3381b2fd069957b9862a43bd383e5c01d18c2", 331 | "sha256:91dc1d531f80c862441d7b66c4505cd6ea9d312f01fb2f4654f40c6fdf5cc37a", 332 | "sha256:979c24cbefaf2420c4e377ecd1f165ea08cc3d1fbb44bdc51bccbbf7c66a2cb4", 333 | "sha256:994645a46c6a740ee8ce8df7911d4aee458d9b1bc5639bc968226763d07f00fa", 334 | "sha256:9b98b7681a9437262947f41c7fac567c7e1f6eddd94b0483596d320092004533", 335 | "sha256:9c6b4d23c04831e3ab61717a707a5d763b300213db49ca680edf8bf13ab5d91b", 336 | "sha256:9c6d0ced3c06d0f183b73d3c5920727268d2201aa0fe6d55c60d68c792ff3588", 337 | "sha256:9fd88f373cb71e6b59b7fa597e47e518282455c2734fd4306a05ca219a1991b0", 338 | "sha256:a8f4e49fc3ce020f65411432183e6775f24e02dff617281094ba6ab079ef0915", 339 | "sha256:a9e908ef5889cda4de038892b9accc36d33d72fb3e12c747e2799a0e806ec841", 340 | "sha256:ad08a69728ff3c79866d729b095872afe1e0557251da4abb2c5faff15a91d19a", 341 | "sha256:adbccd17dcaff65704c856bd29951c58a1bd4b2b0f8ad6b826dbd543fe740988", 342 | "sha256:b0c7d2f698e83f15228ba41c135501cfe7d5740181d5903e250e47f617eb4292", 343 | "sha256:b3ab05a182c7937fb374f7e946f04fb23a0c0699c0450e9fb02ef567412d2fa3", 344 | "sha256:b6104f9a46bd8743e4f738afef69b153c4b8b592d35ae46db07fc28ae3d5fb7c", 345 | "sha256:ba7cd6dc4d585ea544c1412019921570ebd8a597fabf475acc4528210d7c4a6f", 346 | "sha256:bc72c231f5449d86d6c7d9cc7cd819b6eb30134bb770b8cfdc0765e48ef9c420", 347 | "sha256:bce8814b076f0ce5766dc87d5a056b0e9437b8e0cd351b9a6c4e1134a7dfbda9", 348 | "sha256:be5e22bbb67924dea15039c3282fa4cc6cdfbe0cbbd1c0515f9223186fc2ec5f", 349 | "sha256:be6b7b8d42d3090b6c80793524fa66c57ad7ee3fe9722b258aec6d0672543fd0", 350 | "sha256:bfe50b61bab1b1ec260fa7cd91106fa9fece57e6beba05630afe27c71259c59b", 351 | "sha256:bff507ae210371d4b1fe316d03433ac099f184d570a1a611e541923f78f05037", 352 | "sha256:c148bec483cc4b421562b4bcedb8e28a3b84fcc8f0aa4418e10898f3c2c0eb9b", 353 | "sha256:c15ad0aee158a15e17e0495e1e18741573d04eb6da06d8b84af726cfc1ed02ee", 354 | "sha256:c2169b2dcabf4e608416f7f9468737583ce5f0a6e8677c4efbf795ce81109d7c", 355 | "sha256:c55853684fe08d4897c37dfc5faeff70607a5f1806c8be148f1695be4a63414b", 356 | "sha256:c65a3b5330b54103e7d21cac3f6bf3900d46f6d50138d73343d9e5b2900b2353", 357 | "sha256:c7964c2183c3e6cce3f497e3a9f49d182e969f2dc3aeeadfa18945ff7bdd7051", 358 | "sha256:cc3f1c053b73f20c7ad88b0d1d23be7e7b3901229ce89f5000a8399746a6e039", 359 | "sha256:ce615c92d90df8373d9e13acddd154152645c0dc060871abf6bd43809673d20a", 360 | "sha256:d29338556a59423d9ff7b6eb0cb89ead2b0875e08fe522f3e068b955c3e7b59b", 361 | "sha256:d8a993c0a0ffd5f2d3bda23d0cd75e7086736f8f8268de8a82fbc4bd0ac6791e", 362 | "sha256:d9c727bbcf0065cbb20f39d2b4f932f8fa1631c3e01fcedc979bd4f51fe051c5", 363 | "sha256:dac37cf08fcf2094159922edc7a2784cfcc5c70f8354469f79ed085f0328ebdf", 364 | "sha256:dd829712de97753367153ed84f2de752b86cd1f7a88b55a3a775eb52eafe8a94", 365 | "sha256:e54ddd0bb8fb626aa1f9ba7b36629564544954fff9669b15da3610c22b9a0991", 366 | "sha256:e77c90ab5997e85901da85131fd36acd0ed2221368199b65f0d11bca44549711", 367 | "sha256:ebedc192abbc7fd13c5ee800e83a6df252bec691eb2c4bedc9f8b2e2903f5e2a", 368 | "sha256:ef71561f82a89af6cfcbee47f0fabfdb6e63788a9258e913955d89fdd96902ab", 369 | "sha256:f0a47efb1dbef13af9c9a54a94a0b814902e547b7f21acb29434504d18f36e3a", 370 | "sha256:f4f2ca6df64cbdd27f27b34f35adb640b5d2d77264228554e68deda54456eb11", 371 | "sha256:fb02e4257376ae25c6dd95a5aec377f9b18c09be6ebdefa7ad209b9137b73d48" 372 | ], 373 | "markers": "python_version >= '3.7'", 374 | "version": "==2023.10.3" 375 | }, 376 | "rich": { 377 | "hashes": [ 378 | "sha256:2b38e2fe9ca72c9a00170a1a2d20c63c790d0e10ef1fe35eba76e1e7b1d7d245", 379 | "sha256:5c14d22737e6d5084ef4771b62d5d4363165b403455a30a1c8ca39dc7b644bef" 380 | ], 381 | "markers": "python_full_version >= '3.7.0'", 382 | "version": "==13.6.0" 383 | }, 384 | "smmap": { 385 | "hashes": [ 386 | "sha256:dceeb6c0028fdb6734471eb07c0cd2aae706ccaecab45965ee83f11c8d3b1f62", 387 | "sha256:e6d8668fa5f93e706934a62d7b4db19c8d9eb8cf2adbb75ef1b675aa332b69da" 388 | ], 389 | "markers": "python_version >= '3.7'", 390 | "version": "==5.0.1" 391 | }, 392 | "stevedore": { 393 | "hashes": [ 394 | "sha256:8cc040628f3cea5d7128f2e76cf486b2251a4e543c7b938f58d9a377f6694a2d", 395 | "sha256:a54534acf9b89bc7ed264807013b505bf07f74dbe4bcfa37d32bd063870b087c" 396 | ], 397 | "markers": "python_version >= '3.8'", 398 | "version": "==5.1.0" 399 | }, 400 | "toml": { 401 | "hashes": [ 402 | "sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b", 403 | "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f" 404 | ], 405 | "markers": "python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2, 3.3'", 406 | "version": "==0.10.2" 407 | }, 408 | "typed-ast": { 409 | "hashes": [ 410 | "sha256:042eb665ff6bf020dd2243307d11ed626306b82812aba21836096d229fdc6a10", 411 | "sha256:045f9930a1550d9352464e5149710d56a2aed23a2ffe78946478f7b5416f1ede", 412 | "sha256:0635900d16ae133cab3b26c607586131269f88266954eb04ec31535c9a12ef1e", 413 | "sha256:118c1ce46ce58fda78503eae14b7664163aa735b620b64b5b725453696f2a35c", 414 | "sha256:16f7313e0a08c7de57f2998c85e2a69a642e97cb32f87eb65fbfe88381a5e44d", 415 | "sha256:1efebbbf4604ad1283e963e8915daa240cb4bf5067053cf2f0baadc4d4fb51b8", 416 | "sha256:2188bc33d85951ea4ddad55d2b35598b2709d122c11c75cffd529fbc9965508e", 417 | "sha256:2b946ef8c04f77230489f75b4b5a4a6f24c078be4aed241cfabe9cbf4156e7e5", 418 | "sha256:335f22ccb244da2b5c296e6f96b06ee9bed46526db0de38d2f0e5a6597b81155", 419 | "sha256:381eed9c95484ceef5ced626355fdc0765ab51d8553fec08661dce654a935db4", 420 | "sha256:429ae404f69dc94b9361bb62291885894b7c6fb4640d561179548c849f8492ba", 421 | "sha256:44f214394fc1af23ca6d4e9e744804d890045d1643dd7e8229951e0ef39429b5", 422 | "sha256:48074261a842acf825af1968cd912f6f21357316080ebaca5f19abbb11690c8a", 423 | "sha256:4bc1efe0ce3ffb74784e06460f01a223ac1f6ab31c6bc0376a21184bf5aabe3b", 424 | "sha256:57bfc3cf35a0f2fdf0a88a3044aafaec1d2f24d8ae8cd87c4f58d615fb5b6311", 425 | "sha256:597fc66b4162f959ee6a96b978c0435bd63791e31e4f410622d19f1686d5e769", 426 | "sha256:5f7a8c46a8b333f71abd61d7ab9255440d4a588f34a21f126bbfc95f6049e686", 427 | "sha256:5fe83a9a44c4ce67c796a1b466c270c1272e176603d5e06f6afbc101a572859d", 428 | "sha256:61443214d9b4c660dcf4b5307f15c12cb30bdfe9588ce6158f4a005baeb167b2", 429 | "sha256:622e4a006472b05cf6ef7f9f2636edc51bda670b7bbffa18d26b255269d3d814", 430 | "sha256:6eb936d107e4d474940469e8ec5b380c9b329b5f08b78282d46baeebd3692dc9", 431 | "sha256:7f58fabdde8dcbe764cef5e1a7fcb440f2463c1bbbec1cf2a86ca7bc1f95184b", 432 | "sha256:83509f9324011c9a39faaef0922c6f720f9623afe3fe220b6d0b15638247206b", 433 | "sha256:8c524eb3024edcc04e288db9541fe1f438f82d281e591c548903d5b77ad1ddd4", 434 | "sha256:94282f7a354f36ef5dbce0ef3467ebf6a258e370ab33d5b40c249fa996e590dd", 435 | "sha256:b445c2abfecab89a932b20bd8261488d574591173d07827c1eda32c457358b18", 436 | "sha256:be4919b808efa61101456e87f2d4c75b228f4e52618621c77f1ddcaae15904fa", 437 | "sha256:bfd39a41c0ef6f31684daff53befddae608f9daf6957140228a08e51f312d7e6", 438 | "sha256:c631da9710271cb67b08bd3f3813b7af7f4c69c319b75475436fcab8c3d21bee", 439 | "sha256:cc95ffaaab2be3b25eb938779e43f513e0e538a84dd14a5d844b8f2932593d88", 440 | "sha256:d09d930c2d1d621f717bb217bf1fe2584616febb5138d9b3e8cdd26506c3f6d4", 441 | "sha256:d40c10326893ecab8a80a53039164a224984339b2c32a6baf55ecbd5b1df6431", 442 | "sha256:d41b7a686ce653e06c2609075d397ebd5b969d821b9797d029fccd71fdec8e04", 443 | "sha256:d5c0c112a74c0e5db2c75882a0adf3133adedcdbfd8cf7c9d6ed77365ab90a1d", 444 | "sha256:e1a976ed4cc2d71bb073e1b2a250892a6e968ff02aa14c1f40eba4f365ffec02", 445 | "sha256:e48bf27022897577d8479eaed64701ecaf0467182448bd95759883300ca818c8", 446 | "sha256:ed4a1a42df8a3dfb6b40c3d2de109e935949f2f66b19703eafade03173f8f437", 447 | "sha256:f0aefdd66f1784c58f65b502b6cf8b121544680456d1cebbd300c2c813899274", 448 | "sha256:fc2b8c4e1bc5cd96c1a823a885e6b158f8451cf6f5530e1829390b4d27d0807f", 449 | "sha256:fd946abf3c31fb50eee07451a6aedbfff912fcd13cf357363f5b4e834cc5e71a", 450 | "sha256:fe58ef6a764de7b4b36edfc8592641f56e69b7163bba9f9c8089838ee596bfb2" 451 | ], 452 | "markers": "python_version >= '3.6'", 453 | "version": "==1.5.5" 454 | }, 455 | "typing-extensions": { 456 | "hashes": [ 457 | "sha256:8f92fc8806f9a6b641eaa5318da32b44d401efaac0f6678c9bc448ba3605faa0", 458 | "sha256:df8e4339e9cb77357558cbdbceca33c303714cf861d1eef15e1070055ae8b7ef" 459 | ], 460 | "markers": "python_version >= '3.8'", 461 | "version": "==4.8.0" 462 | } 463 | } 464 | } 465 | -------------------------------------------------------------------------------- /python/README.md: -------------------------------------------------------------------------------- 1 | # Python conventions 2 | 3 | - PEP-8, optionally relaxing the line-length slightly to allow for more 4 | verbose variable names. 5 | 6 | The [Black][black] code formatter has a good discussion about the merits of 7 | different approaches: 8 | 9 | > You probably noticed the peculiar default line length. Black defaults to 10 | > 88 characters per line, which happens to be 10% over 80. This number was 11 | > found to produce significantly shorter files than sticking with 80 (the 12 | > most popular), or even 79 (used by the standard library). In general, 13 | > 90-ish seems like the wise choice. 14 | > 15 | > … 16 | > 17 | > You can also increase it, but remember that people with sight disabilities 18 | > find it harder to work with line lengths exceeding 100 characters. It also 19 | > adversely affects side-by-side diff review on typical screen resolutions. 20 | > Long lines also make it harder to present code neatly in documentation or 21 | > talk slides. 22 | 23 | https://black.readthedocs.io/en/latest/the_black_code_style.html#line-length 24 | 25 | - Note that PEP-8 changed the rules regarding line breaks around binary 26 | operators to match the style which several of our projects had already been 27 | using, which means that it will soon no longer be necessary to disable 28 | flake8's W503 warning: 29 | 30 | https://github.com/python/peps/commit/c59c4376ad233a62ca4b3a6060c81368bd21e85b 31 | https://github.com/PyCQA/pycodestyle/pull/502 32 | 33 | ## Tools 34 | 35 | ### Code Style 36 | 37 | This project shows how to use [`isort`][isort] and [`black`][black] for 38 | consistency, and [`flake8`][flake8] to catch a variety of errors: 39 | 40 | pip install flake8 isort black 41 | 42 | - [`flake8`][flake8] audits for a number of style and correctness problems using PyFlakes 43 | and pycodestyle 44 | - [`isort`][isort] is used to sort imports into three sections (stdlib, third-party, 45 | first-party) with names sorted alphabetically and is highly reliable. It 46 | should be run on every file before committing. 47 | - [`black`][black] will safely apply consistent formatting to your Python code 48 | and should be run on every file before committing. Note that while Black 49 | only runs on Python 3, it can format Python 2 code when it does so. 50 | 51 | Since all of these tools honor `.editorconfig` we are avoiding duplicating the 52 | indentation and whitespace settings in the other tools. 53 | 54 | Additional configuration for tools should be stored in tool-specific files (e.g. 55 | `.isort.cfg` or `.flake8`) or collected in a top-level `setup.cfg` but not both 56 | to avoid needing to synchronize updates. The `.isort.cfg` in this directory is 57 | configured to produce the same output as [`black`][black] to avoid needing to 58 | run both tools in the same order. 59 | 60 | For convenience, this repository has examples which follow Black's conventions 61 | for formatting and line-length (88 vs. 80 characters). These are intended as a 62 | starting point for other project-level customization — for example, 63 | [`isort`][isort] can be configured to change the default section for unknown 64 | libraries or to add a known first-part namespace following the PEP-8 65 | recommendations: 66 | 67 | [isort] 68 | default_section=THIRDPARTY 69 | known_first_party=my_project_name 70 | 71 | ### Package Management 72 | 73 | To meet our security goals, it is recommended that you enable Pip's 74 | [hash-checking mode][pip hash checking mode]. This can be done using a tool such 75 | as [hashin][hashin] which updates requirements files or a tool such as 76 | [pipenv][pipenv] which includes a superset of that functionality. The important 77 | part is ensuring that version numbers are pinned for repeatable builds and 78 | corrupted packages will be quickly detected. 79 | 80 | ## Upgrading to Python 3 81 | 82 | In codebases which must support Python 2, Python 3 compatibility is anticipated 83 | and in many cases allows running on both. Tools such as [future][future] and 84 | [modernize][modernize] make it easy to ensure same-source compatibility so new 85 | code is ready for Python 3. 86 | 87 | The `futurize` utility included with `future` can be used to automatically 88 | convert many codebases. It is highly recommended to follow the staged conversion 89 | process described in the documentation to perform the safest bulk updates first 90 | before making changes which may require more review: 91 | 92 | https://python-future.org/futurize.html#forwards-conversion-stage1 93 | 94 | ### Opt-ing In to the future on Python 2 95 | 96 | - Files begin with `# encoding: utf-8` 97 | - `from __future__ import absolute_import, division, print_function` is used to 98 | enable the Python 3 behaviours. `unicode_literals` is not used because 99 | encoding handling can require more preparation but it is important to use the 100 | `u` literal prefix for text and `b` for bytes so tools know which will require 101 | encoding. 102 | - Use of the newer `io` imports (Python 2.6+) avoids needing conditional imports 103 | or use of different code paths. For example, instead of conditionally using 104 | `open(…, encoding="utf-8")` on Python 3 and `codecs.open(…, encoding="utf-8")` 105 | on Python 2, use `io` for both: 106 | 107 | ```python 108 | from io import open 109 | 110 | open(filename, encoding="utf-8") 111 | ``` 112 | 113 | See https://python-future.org/compatible_idioms.html#file-io-with-open 114 | 115 | [black]: https://pypi.python.org/pypi/black 116 | [flake8]: https://pypi.python.org/pypi/flake8 117 | [future]: https://pypi.python.org/pypi/future 118 | [hashin]: https://pypi.python.org/pypi/hashin 119 | [isort]: https://pypi.python.org/pypi/isort 120 | [modernize]: https://pypi.python.org/pypi/modernize 121 | [pipenv]: https://pypi.python.org/pypi/pipenv 122 | [pip hash checking mode]: https://pip.pypa.io/en/stable/reference/pip_install/#hash-checking-mode 123 | [unify]: https://pypi.python.org/pypi/unify 124 | -------------------------------------------------------------------------------- /python/example.py: -------------------------------------------------------------------------------- 1 | # encoding: utf-8 2 | # This is the sort order enforced by isort: future, stdlib, third-party, first-party: 3 | from __future__ import absolute_import, division, print_function 4 | 5 | from functools import partial 6 | 7 | from requests import session 8 | 9 | from example_utils import hello_world 10 | 11 | unused_session = partial(session) 12 | 13 | print(hello_world()) 14 | 15 | print({"a single key": "and value can be one line"}) 16 | 17 | print( 18 | { 19 | "but all keys": "and values which do not fit on one line", 20 | "should be indented": "at the same level", 21 | } 22 | ) 23 | 24 | print( 25 | { 26 | "this key is even longer and": ( 27 | "the value is a long literal which should be on multiple" 28 | " lines for clarity with parentheses to clearly denote that" 29 | " each of the implicit concatenations are at the same level" 30 | ) 31 | } 32 | ) 33 | -------------------------------------------------------------------------------- /python/example_utils.py: -------------------------------------------------------------------------------- 1 | # encoding: utf-8 2 | from __future__ import absolute_import, division, print_function 3 | 4 | 5 | def hello_world(): 6 | return "Hello World" 7 | -------------------------------------------------------------------------------- /python/setup.cfg: -------------------------------------------------------------------------------- 1 | [flake8] 2 | max-line-length = 88 3 | enable-extensions=G 4 | 5 | [isort] 6 | default_section=THIRDPARTY 7 | force_grid_wrap=0 8 | include_trailing_comma=True 9 | known_first_party=example,example_utils 10 | line_length=88 11 | multi_line_output=3 12 | use_parentheses=True 13 | --------------------------------------------------------------------------------