├── .all-contributorsrc ├── .devcontainer └── devcontainer.json ├── .editorconfig ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── config.yml │ ├── feature_request.md │ └── new-source.md ├── pull_request_template.md └── workflows │ ├── build.yml │ ├── release-to-github.yml │ └── version-bump.yml ├── .gitignore ├── .jshintrc ├── .npmrc ├── .nvmrc ├── .snyk ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── SECURITY.md ├── action.yml ├── biome.json ├── dist └── blog-post-workflow.js ├── local-run.js ├── package.json ├── src ├── blog-post-workflow.js ├── filters.js └── utils.js ├── test ├── .gitignore ├── categories-template.js ├── categories.js ├── counter.js ├── custom-template.js ├── default.js ├── disable-sort-reverse.js ├── disable-sort.js ├── duplicate.js ├── emojikey.js ├── feed-names.js ├── js-manipulation.js ├── max-post-count.js ├── multiple.js ├── random-emoji.js ├── retry.js ├── snapshots │ ├── Readme.categories.md.snap │ ├── Readme.categories.template.md.snap │ ├── Readme.comments.md.snap │ ├── Readme.counter.md.snap │ ├── Readme.custom-tags.md.snap │ ├── Readme.custom.md.snap │ ├── Readme.disable-sort-reverse-order.md.snap │ ├── Readme.emojiKey.md.snap │ ├── Readme.emptyTags.md.snap │ ├── Readme.exec.md.snap │ ├── Readme.feedNames.md.snap │ ├── Readme.maxPostCount.md.snap │ ├── Readme.md.snap │ ├── Readme.multi.1.md.snap │ ├── Readme.multi.2.md.snap │ ├── Readme.randomEmoji.md.snap │ ├── Readme.removeDuplicates.md.snap │ ├── Readme.retry.md.snap │ ├── Readme.sort-order-asc.md.snap │ ├── Readme.sort.md.snap │ ├── Readme.truncate.description.md.snap │ └── Readme.truncate.title.md.snap ├── sort-order-asc.js ├── testUtils │ ├── default-env.js │ ├── sample.duplicate.xml │ ├── sample.xml │ ├── test-server.js │ └── testUtils.js ├── truncated description.js ├── truncated-title.js ├── util.test.js ├── validation-flag.js ├── without-custom-elements.js └── without-filters.js └── yarn.lock /.all-contributorsrc: -------------------------------------------------------------------------------- 1 | { 2 | "files": [ 3 | "README.md" 4 | ], 5 | "imageSize": 100, 6 | "commit": false, 7 | "commitType": "docs", 8 | "commitConvention": "angular", 9 | "contributors": [ 10 | { 11 | "login": "khaosdoctor", 12 | "name": "Lucas Santos", 13 | "avatar_url": "https://avatars.githubusercontent.com/u/3200560?v=4", 14 | "profile": "https://github.com/khaosdoctor", 15 | "contributions": [ 16 | "code", 17 | "doc" 18 | ] 19 | }, 20 | { 21 | "login": "MichaelCurrin", 22 | "name": "Michael Currin", 23 | "avatar_url": "https://avatars.githubusercontent.com/u/18750745?v=4", 24 | "profile": "https://github.com/MichaelCurrin", 25 | "contributions": [ 26 | "doc" 27 | ] 28 | }, 29 | { 30 | "login": "Curious-Yu", 31 | "name": "WY", 32 | "avatar_url": "https://avatars.githubusercontent.com/u/22830590?v=4", 33 | "profile": "https://curious-yu.github.io/", 34 | "contributions": [ 35 | "doc" 36 | ] 37 | }, 38 | { 39 | "login": "hexxdump", 40 | "name": "Hussaina Begum", 41 | "avatar_url": "https://avatars.githubusercontent.com/u/631835?v=4", 42 | "profile": "https://github.com/hexxdump", 43 | "contributions": [ 44 | "doc" 45 | ] 46 | }, 47 | { 48 | "login": "riginoommen", 49 | "name": "Rigin Oommen", 50 | "avatar_url": "https://avatars.githubusercontent.com/u/3840244?v=4", 51 | "profile": "https://github.com/riginoommen", 52 | "contributions": [ 53 | "doc" 54 | ] 55 | }, 56 | { 57 | "login": "polilluminato", 58 | "name": "Alberto Bonacina", 59 | "avatar_url": "https://avatars.githubusercontent.com/u/202140?v=4", 60 | "profile": "https://github.com/polilluminato", 61 | "contributions": [ 62 | "doc" 63 | ] 64 | }, 65 | { 66 | "login": "Vadorequest", 67 | "name": "Vadorequest", 68 | "avatar_url": "https://avatars.githubusercontent.com/u/3807458?v=4", 69 | "profile": "https://www.linkedin.com/in/ambroise-dhenain/", 70 | "contributions": [ 71 | "doc" 72 | ] 73 | }, 74 | { 75 | "login": "DenverCoder1", 76 | "name": "Jonah Lawrence", 77 | "avatar_url": "https://avatars.githubusercontent.com/u/20955511?v=4", 78 | "profile": "https://freshidea.com/jonah", 79 | "contributions": [ 80 | "code" 81 | ] 82 | }, 83 | { 84 | "login": "denvercoder", 85 | "name": "Tim Myers", 86 | "avatar_url": "https://avatars.githubusercontent.com/u/22165183?v=4", 87 | "profile": "https://denvercoder.com/", 88 | "contributions": [ 89 | "doc" 90 | ] 91 | }, 92 | { 93 | "login": "kaustubhgupta", 94 | "name": "Kaustubh Gupta", 95 | "avatar_url": "https://avatars.githubusercontent.com/u/43691873?v=4", 96 | "profile": "https://linktr.ee/kaustubhgupta", 97 | "contributions": [ 98 | "doc" 99 | ] 100 | }, 101 | { 102 | "login": "matyo91", 103 | "name": "Mathieu Ledru", 104 | "avatar_url": "https://avatars.githubusercontent.com/u/1254025?v=4", 105 | "profile": "https://darkwood.com/", 106 | "contributions": [ 107 | "doc" 108 | ] 109 | }, 110 | { 111 | "login": "adityadees", 112 | "name": "Aditya Dharmawan Saputra", 113 | "avatar_url": "https://avatars.githubusercontent.com/u/37553901?v=4", 114 | "profile": "https://adityadees.com/", 115 | "contributions": [ 116 | "doc" 117 | ] 118 | }, 119 | { 120 | "login": "minnczi", 121 | "name": "Minji", 122 | "avatar_url": "https://avatars.githubusercontent.com/u/32619843?v=4", 123 | "profile": "https://velog.io/@minnczi", 124 | "contributions": [ 125 | "doc" 126 | ] 127 | }, 128 | { 129 | "login": "madushadhanushka", 130 | "name": "Dhanushka Madushan", 131 | "avatar_url": "https://avatars.githubusercontent.com/u/7068605?v=4", 132 | "profile": "https://dhanushka.netlify.com/", 133 | "contributions": [ 134 | "doc" 135 | ] 136 | }, 137 | { 138 | "login": "curtiscde", 139 | "name": "Curtis Timson", 140 | "avatar_url": "https://avatars.githubusercontent.com/u/15653985?v=4", 141 | "profile": "https://curtiscode.dev/", 142 | "contributions": [ 143 | "code" 144 | ] 145 | }, 146 | { 147 | "login": "mdobydullah", 148 | "name": "Md Obydullah", 149 | "avatar_url": "https://avatars.githubusercontent.com/u/13184472?v=4", 150 | "profile": "https://bio.link/obydul", 151 | "contributions": [ 152 | "doc" 153 | ] 154 | }, 155 | { 156 | "login": "davidaparicio", 157 | "name": "David Aparicio", 158 | "avatar_url": "https://avatars.githubusercontent.com/u/809982?v=4", 159 | "profile": "http://david.aparicio.eu/", 160 | "contributions": [ 161 | "doc" 162 | ] 163 | }, 164 | { 165 | "login": "banyudu", 166 | "name": "Yudu", 167 | "avatar_url": "https://avatars.githubusercontent.com/u/2416493?v=4", 168 | "profile": "https://github.com/banyudu", 169 | "contributions": [ 170 | "doc" 171 | ] 172 | }, 173 | { 174 | "login": "TLOWAC", 175 | "name": "Changhun Lee", 176 | "avatar_url": "https://avatars.githubusercontent.com/u/58043975?v=4", 177 | "profile": "https://github.com/TLOWAC", 178 | "contributions": [ 179 | "doc" 180 | ] 181 | }, 182 | { 183 | "login": "adrianpaniagualeon", 184 | "name": "Adrián Paniagua", 185 | "avatar_url": "https://avatars.githubusercontent.com/u/66434978?v=4", 186 | "profile": "https://cv.adrianpaniagua.es/", 187 | "contributions": [ 188 | "doc" 189 | ] 190 | }, 191 | { 192 | "login": "muktoakash", 193 | "name": "Mukto Akash", 194 | "avatar_url": "https://avatars.githubusercontent.com/u/73410983?v=4", 195 | "profile": "https://github.com/muktoakash", 196 | "contributions": [ 197 | "doc" 198 | ] 199 | }, 200 | { 201 | "login": "joshjohanning", 202 | "name": "Josh Johanning", 203 | "avatar_url": "https://avatars.githubusercontent.com/u/19912012?v=4", 204 | "profile": "https://josh-ops.com", 205 | "contributions": [ 206 | "code" 207 | ] 208 | }, 209 | { 210 | "login": "kakkoyun", 211 | "name": "Kemal Akkoyun", 212 | "avatar_url": "https://avatars.githubusercontent.com/u/536449?v=4", 213 | "profile": "https://kakkoyun.me", 214 | "contributions": [ 215 | "code" 216 | ] 217 | } 218 | ], 219 | "contributorsPerLine": 7, 220 | "skipCi": true, 221 | "repoType": "github", 222 | "repoHost": "https://github.com", 223 | "projectName": "blog-post-workflow", 224 | "projectOwner": "gautamkrishnar" 225 | } 226 | -------------------------------------------------------------------------------- /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- 1 | { 2 | "image":"mcr.microsoft.com/devcontainers/universal:2", 3 | "features":{ 4 | "ghcr.io/devcontainers/features/node:1":{ 5 | "version":"16" 6 | } 7 | }, 8 | "customizations":{ 9 | "codespaces":{ 10 | "openFiles":[ 11 | "README.md", 12 | "CONTRIBUTING.md" 13 | ] 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # http://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | charset = utf-8 6 | end_of_line = lf 7 | indent_size = 2 8 | indent_style = space 9 | insert_final_newline = true 10 | max_line_length = 120 11 | trim_trailing_whitespace = true 12 | 13 | [*.md] 14 | max_line_length = off 15 | trim_trailing_whitespace = false 16 | 17 | [COMMIT_EDITMSG] 18 | max_line_length = off 19 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: gautamkrishnar 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: "[Bug]: " 5 | labels: bug 6 | assignees: '' 7 | 8 | --- 9 | 10 | ### Describe the bug 11 | A clear and concise description of what the bug is. 12 | 13 | ### Expected behavior 14 | A clear and concise description of what you expected to happen. 15 | 16 | ### Screenshots 17 | If applicable, add screenshots to help explain your problem. 18 | 19 | ### Workflow Yml Used 20 | ```yml 21 | Insert the workflow's yml file you used 22 | ``` 23 | 24 | ### Additional context 25 | Add any other context about the problem here. 26 | 27 | ### Double check the following 28 | Before opening a bug, Please make sure that you had done the following, add a checkmark if done by marking it with `[x]`: 29 | 30 | - [ ] I had gone through the [FAQs](https://github.com/gautamkrishnar/blog-post-workflow#faqs-and-common-issues) 31 | - [ ] I had followed all the steps mentioned in the [documentation](https://github.com/gautamkrishnar/blog-post-workflow) 32 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | contact_links: 3 | - name: Blog Post Workflow Community Support 4 | url: https://github.com/gautamkrishnar/blog-post-workflow/discussions 5 | about: You can ask and answer the questions here 6 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: "[Feature]: " 5 | labels: enhancement 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. e.g. I'm always frustrated when [...] 12 | 13 | **Describe the solution you'd like** 14 | A clear and concise description of what you want to happen. 15 | 16 | **Describe alternatives you've considered** 17 | A clear and concise description of any alternative solutions or features you've considered. 18 | 19 | **Additional context** 20 | Add any other context or screenshots about the feature request here. 21 | 22 | ### Double check the following 23 | Before creating a feature request, Please make sure that you had done the following, add a checkmark if done by marking it with `[x]`: 24 | 25 | - [ ] This feature cannot be accomplished using any of the available [options](https://github.com/gautamkrishnar/blog-post-workflow#options) provided by the workflow. 26 | - [ ] I had followed all the steps mentioned in the [documentation](https://github.com/gautamkrishnar/blog-post-workflow) 27 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/new-source.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: New Source 3 | about: Use this for adding new sources to the Popular Sources section on the readme. 4 | title: "[New Source]: Source-Name" 5 | labels: enhancement 6 | assignees: '' 7 | 8 | --- 9 | 10 | Source Name: 11 | Source URL: 12 | Comments: 13 | Example: 14 | -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- 1 | * **Please check if the PR fulfills these requirements** 2 | - [ ] The commit message follows our contribution guidelines 3 | - [ ] Tests for the changes have been added (for bug fixes / features) 4 | - [ ] Docs have been added / updated (for bug fixes / features) 5 | 6 | 7 | * **What kind of change does this PR introduce?** (Bug fix, feature, docs update, ...) 8 | 9 | 10 | 11 | * **What is the current behavior?** (You can also link to an open issue here) 12 | 13 | 14 | 15 | * **What is the new behavior (if this is a feature change)?** 16 | 17 | 18 | 19 | * **Does this PR introduce a breaking change?** (What changes might users need to make in their application due to this PR?) 20 | 21 | 22 | 23 | * **Other information**: 24 | -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- 1 | name: Build and test 2 | on: 3 | workflow_dispatch: 4 | push: 5 | paths: 6 | - '**.js' 7 | - 'package.json' 8 | - '.github/workflows/build.yml' 9 | pull_request: 10 | paths: 11 | - '**.js' 12 | - 'package.json' 13 | permissions: 14 | contents: read 15 | actions: read 16 | checks: write 17 | jobs: 18 | test: 19 | if: | 20 | !contains(toJSON(github.event.commits.*.message), '[skip-ci]') && 21 | !startsWith(github.ref, 'refs/tags') 22 | name: Generate build and test 23 | runs-on: ubuntu-latest 24 | steps: 25 | - uses: actions/checkout@v4 26 | - uses: actions/setup-node@v4 27 | with: 28 | node-version: "20" 29 | cache: "yarn" 30 | - run: yarn install --frozen-lockfile 31 | - run: yarn test 32 | - run: yarn build && yarn run test-dist 33 | - name: Test Report 34 | uses: dorny/test-reporter@v1 35 | if: ${{ github.repository == 'gautamkrishnar/blog-post-workflow' && github.event_name != 'pull_request' && (success() || failure()) }} 36 | with: 37 | name: Mocha Tests 38 | path: "*-report.json" 39 | reporter: mocha-json 40 | -------------------------------------------------------------------------------- /.github/workflows/release-to-github.yml: -------------------------------------------------------------------------------- 1 | name: Publish release to GitHub 2 | on: 3 | workflow_dispatch: 4 | workflow_run: 5 | workflows: ["Version bump"] 6 | branches: [master] 7 | types: 8 | - completed 9 | permissions: 10 | contents: write 11 | jobs: 12 | version-bump: 13 | name: Release to github releases 14 | runs-on: ubuntu-latest 15 | steps: 16 | - uses: actions/checkout@v4 17 | - name: Set env 18 | run: echo "pkg_version=$(awk '/version/{gsub(/("|",)/,"",$2);print $2}' package.json)" >> $GITHUB_ENV 19 | - name: Create Release 20 | id: create_release 21 | uses: actions/create-release@v1 22 | env: 23 | GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} 24 | with: 25 | tag_name: ${{ env.pkg_version }} 26 | release_name: ${{ env.pkg_version }} 27 | body: | 28 | - 29 | draft: true 30 | prerelease: false 31 | - name: Update v1 release with the latest code 32 | run: | 33 | git config user.name gkr-bot 34 | git config user.email gkr@tuta.io 35 | git tag -fa v1 -m "Updated v1 tag with the latest code" 36 | git push origin v1 --force 37 | -------------------------------------------------------------------------------- /.github/workflows/version-bump.yml: -------------------------------------------------------------------------------- 1 | name: Version bump 2 | on: 3 | workflow_dispatch: 4 | inputs: 5 | tag_name: 6 | description: 'Version' 7 | required: true 8 | permissions: 9 | contents: write 10 | jobs: 11 | version-bump: 12 | name: Update dist 13 | runs-on: ubuntu-latest 14 | steps: 15 | - uses: actions/checkout@v4 16 | - uses: actions/setup-node@v4 17 | with: 18 | node-version: "20" 19 | - name: Install dependancies 20 | run: yarn install 21 | - name: Build source code 22 | run: yarn build 23 | - name: Test built source code 24 | run: yarn run test-dist 25 | - name: Setup Git 26 | run: | 27 | git config user.name gkr-bot 28 | git config user.email gkr@tuta.io 29 | - name: Version bump on package.json 30 | run: yarn version --new-version ${{ github.event.inputs.tag_name }} --no-git-tag-version 31 | - name: Commit the changes 32 | run: | 33 | git add ./dist/blog-post-workflow.js ./package.json 34 | git commit -m "[skip-ci] Published ${{ github.event.inputs.tag_name }}" 35 | - name: Push to repository 36 | run: git push --quiet 37 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | lerna-debug.log* 8 | 9 | # Diagnostic reports (https://nodejs.org/api/report.html) 10 | report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json 11 | 12 | # Runtime data 13 | pids 14 | *.pid 15 | *.seed 16 | *.pid.lock 17 | 18 | # Directory for instrumented libs generated by jscoverage/JSCover 19 | lib-cov 20 | 21 | # Coverage directory used by tools like istanbul 22 | coverage 23 | *.lcov 24 | 25 | # nyc test coverage 26 | .nyc_output 27 | 28 | # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) 29 | .grunt 30 | 31 | # Bower dependency directory (https://bower.io/) 32 | bower_components 33 | 34 | # node-waf configuration 35 | .lock-wscript 36 | 37 | # Compiled binary addons (https://nodejs.org/api/addons.html) 38 | build/Release 39 | 40 | # Dependency directories 41 | node_modules/ 42 | jspm_packages/ 43 | 44 | # Snowpack dependency directory (https://snowpack.dev/) 45 | web_modules/ 46 | 47 | # TypeScript cache 48 | *.tsbuildinfo 49 | 50 | # Optional npm cache directory 51 | .npm 52 | 53 | # Optional eslint cache 54 | .eslintcache 55 | 56 | # Microbundle cache 57 | .rpt2_cache/ 58 | .rts2_cache_cjs/ 59 | .rts2_cache_es/ 60 | .rts2_cache_umd/ 61 | 62 | # Optional REPL history 63 | .node_repl_history 64 | 65 | # Output of 'npm pack' 66 | *.tgz 67 | 68 | # Yarn Integrity file 69 | .yarn-integrity 70 | 71 | # dotenv environment variables file 72 | .env 73 | .env.test 74 | 75 | # parcel-bundler cache (https://parceljs.org/) 76 | .cache 77 | .parcel-cache 78 | 79 | # Next.js build output 80 | .next 81 | out 82 | 83 | # Nuxt.js build / generate output 84 | .nuxt 85 | 86 | # Gatsby files 87 | .cache/ 88 | # Comment in the public line in if your project uses Gatsby and not Next.js 89 | # https://nextjs.org/blog/next-9-1#public-directory-support 90 | # public 91 | 92 | # vuepress build output 93 | .vuepress/dist 94 | 95 | # Serverless directories 96 | .serverless/ 97 | 98 | # FuseBox cache 99 | .fusebox/ 100 | 101 | # DynamoDB Local files 102 | .dynamodb/ 103 | 104 | # TernJS port file 105 | .tern-port 106 | 107 | # Stores VSCode versions used for testing VSCode extensions 108 | .vscode-test 109 | 110 | # yarn v2 111 | .yarn/cache 112 | .yarn/unplugged 113 | .yarn/build-state.yml 114 | .yarn/install-state.gz 115 | .pnp.* 116 | 117 | # reports 118 | src-report.json 119 | dist-report.json 120 | -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "node": true, 3 | "esversion": 9, 4 | "camelcase": true, 5 | "curly": true, 6 | "eqeqeq": true, 7 | "evil": true, 8 | "freeze": true, 9 | "indent": 2, 10 | "newcap": true, 11 | "quotmark": "single", 12 | "maxlen": 120, 13 | "eqnull": true, 14 | "funcscope": true, 15 | "globals": {} 16 | } 17 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | scripts-prepend-node-path=true 2 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | v20 2 | -------------------------------------------------------------------------------- /.snyk: -------------------------------------------------------------------------------- 1 | ignore: 2 | - dist/ 3 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Contributor Covenant Code of Conduct 2 | 3 | ## Our Pledge 4 | 5 | In the interest of fostering an open and welcoming environment, we as 6 | contributors and maintainers pledge to making participation in our project and 7 | our community a harassment-free experience for everyone, regardless of age, body 8 | size, disability, ethnicity, sex characteristics, gender identity and expression, 9 | level of experience, education, socio-economic status, nationality, personal 10 | appearance, race, religion, or sexual identity and orientation. 11 | 12 | ## Our Standards 13 | 14 | Examples of behavior that contributes to creating a positive environment 15 | include: 16 | 17 | * Using welcoming and inclusive language 18 | * Being respectful of differing viewpoints and experiences 19 | * Gracefully accepting constructive criticism 20 | * Focusing on what is best for the community 21 | * Showing empathy towards other community members 22 | 23 | Examples of unacceptable behavior by participants include: 24 | 25 | * The use of sexualized language or imagery and unwelcome sexual attention or 26 | advances 27 | * Trolling, insulting/derogatory comments, and personal or political attacks 28 | * Public or private harassment 29 | * Publishing others' private information, such as a physical or electronic 30 | address, without explicit permission 31 | * Other conduct which could reasonably be considered inappropriate in a 32 | professional setting 33 | 34 | ## Our Responsibilities 35 | 36 | Project maintainers are responsible for clarifying the standards of acceptable 37 | behavior and are expected to take appropriate and fair corrective action in 38 | response to any instances of unacceptable behavior. 39 | 40 | Project maintainers have the right and responsibility to remove, edit, or 41 | reject comments, commits, code, wiki edits, issues, and other contributions 42 | that are not aligned to this Code of Conduct, or to ban temporarily or 43 | permanently any contributor for other behaviors that they deem inappropriate, 44 | threatening, offensive, or harmful. 45 | 46 | ## Scope 47 | 48 | This Code of Conduct applies both within project spaces and in public spaces 49 | when an individual is representing the project or its community. Examples of 50 | representing a project or community include using an official project e-mail 51 | address, posting via an official social media account, or acting as an appointed 52 | representative at an online or offline event. Representation of a project may be 53 | further defined and clarified by project maintainers. 54 | 55 | ## Enforcement 56 | 57 | Instances of abusive, harassing, or otherwise unacceptable behavior may be 58 | reported by contacting the project maintainer at r.gautamkrishna@gmail.com. All 59 | complaints will be reviewed and investigated and will result in a response that 60 | is deemed necessary and appropriate to the circumstances. The project maintainer is 61 | obligated to maintain confidentiality with regard to the reporter of an incident. 62 | Further details of specific enforcement policies may be posted separately. 63 | 64 | Project maintainers who do not follow or enforce the Code of Conduct in good 65 | faith may face temporary or permanent repercussions as determined by other 66 | members of the project's leadership. 67 | 68 | ## Attribution 69 | 70 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, 71 | available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html 72 | 73 | [homepage]: https://www.contributor-covenant.org 74 | 75 | For answers to common questions about this code of conduct, see 76 | https://www.contributor-covenant.org/faq 77 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | ### Getting started locally 3 | - Fork the project 4 | - Clone your fork locally 5 | ```bash 6 | git clone https://github.com//blog-post-workflow 7 | cd blog-post-workflow 8 | ``` 9 | - Create a new branch 10 | ```bash 11 | git checkout -b new-feature 12 | ``` 13 | - Install the dependencies 14 | ```bash 15 | yarn 16 | ``` 17 | - To test the workflow locally run 18 | ```bash 19 | yarn local-run 20 | ``` 21 | - Do required changes and make sure that the tests are passing by running: 22 | ```bash 23 | yarn test 24 | ``` 25 | 26 | Please run `export TEST_MODE=true` before running the [blog-post-workflow.js](src/blog-post-workflow.js) directly, to prevent accidental 27 | automated committing and pushing to your fork. 28 | 29 | Please note we have a [code of conduct](CODE_OF_CONDUCT.md), please follow it in all your interactions with the project. 30 | 31 | ## Pull Request Requirements 32 | 33 | 1. Update the README.md with details of changes to the API if you made those changes. Add an example as well 34 | 2. Add proper comments to the code you have added. You should use the `yarn lint` to check linting of the code, 35 | make sure that you dont add/remove any linting rules. Discuss with the maintainer if you require any of such changes. 36 | 3. Do not run `yarn build`, It will be done by the maintainer's bot when he release a new version. Revert the changes if you had 37 | accidentally done it. 38 | 4. Add descriptive title and description to the PRs 39 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU AFFERO GENERAL PUBLIC LICENSE 2 | Version 3, 19 November 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU Affero General Public License is a free, copyleft license for 11 | software and other kinds of works, specifically designed to ensure 12 | cooperation with the community in the case of network server software. 13 | 14 | The licenses for most software and other practical works are designed 15 | to take away your freedom to share and change the works. By contrast, 16 | our General Public Licenses are intended to guarantee your freedom to 17 | share and change all versions of a program--to make sure it remains free 18 | software for all its users. 19 | 20 | When we speak of free software, we are referring to freedom, not 21 | price. Our General Public Licenses are designed to make sure that you 22 | have the freedom to distribute copies of free software (and charge for 23 | them if you wish), that you receive source code or can get it if you 24 | want it, that you can change the software or use pieces of it in new 25 | free programs, and that you know you can do these things. 26 | 27 | Developers that use our General Public Licenses protect your rights 28 | with two steps: (1) assert copyright on the software, and (2) offer 29 | you this License which gives you legal permission to copy, distribute 30 | and/or modify the software. 31 | 32 | A secondary benefit of defending all users' freedom is that 33 | improvements made in alternate versions of the program, if they 34 | receive widespread use, become available for other developers to 35 | incorporate. Many developers of free software are heartened and 36 | encouraged by the resulting cooperation. However, in the case of 37 | software used on network servers, this result may fail to come about. 38 | The GNU General Public License permits making a modified version and 39 | letting the public access it on a server without ever releasing its 40 | source code to the public. 41 | 42 | The GNU Affero General Public License is designed specifically to 43 | ensure that, in such cases, the modified source code becomes available 44 | to the community. It requires the operator of a network server to 45 | provide the source code of the modified version running there to the 46 | users of that server. Therefore, public use of a modified version, on 47 | a publicly accessible server, gives the public access to the source 48 | code of the modified version. 49 | 50 | An older license, called the Affero General Public License and 51 | published by Affero, was designed to accomplish similar goals. This is 52 | a different license, not a version of the Affero GPL, but Affero has 53 | released a new version of the Affero GPL which permits relicensing under 54 | this license. 55 | 56 | The precise terms and conditions for copying, distribution and 57 | modification follow. 58 | 59 | TERMS AND CONDITIONS 60 | 61 | 0. Definitions. 62 | 63 | "This License" refers to version 3 of the GNU Affero General Public License. 64 | 65 | "Copyright" also means copyright-like laws that apply to other kinds of 66 | works, such as semiconductor masks. 67 | 68 | "The Program" refers to any copyrightable work licensed under this 69 | License. Each licensee is addressed as "you". "Licensees" and 70 | "recipients" may be individuals or organizations. 71 | 72 | To "modify" a work means to copy from or adapt all or part of the work 73 | in a fashion requiring copyright permission, other than the making of an 74 | exact copy. The resulting work is called a "modified version" of the 75 | earlier work or a work "based on" the earlier work. 76 | 77 | A "covered work" means either the unmodified Program or a work based 78 | on the Program. 79 | 80 | To "propagate" a work means to do anything with it that, without 81 | permission, would make you directly or secondarily liable for 82 | infringement under applicable copyright law, except executing it on a 83 | computer or modifying a private copy. Propagation includes copying, 84 | distribution (with or without modification), making available to the 85 | public, and in some countries other activities as well. 86 | 87 | To "convey" a work means any kind of propagation that enables other 88 | parties to make or receive copies. Mere interaction with a user through 89 | a computer network, with no transfer of a copy, is not conveying. 90 | 91 | An interactive user interface displays "Appropriate Legal Notices" 92 | to the extent that it includes a convenient and prominently visible 93 | feature that (1) displays an appropriate copyright notice, and (2) 94 | tells the user that there is no warranty for the work (except to the 95 | extent that warranties are provided), that licensees may convey the 96 | work under this License, and how to view a copy of this License. If 97 | the interface presents a list of user commands or options, such as a 98 | menu, a prominent item in the list meets this criterion. 99 | 100 | 1. Source Code. 101 | 102 | The "source code" for a work means the preferred form of the work 103 | for making modifications to it. "Object code" means any non-source 104 | form of a work. 105 | 106 | A "Standard Interface" means an interface that either is an official 107 | standard defined by a recognized standards body, or, in the case of 108 | interfaces specified for a particular programming language, one that 109 | is widely used among developers working in that language. 110 | 111 | The "System Libraries" of an executable work include anything, other 112 | than the work as a whole, that (a) is included in the normal form of 113 | packaging a Major Component, but which is not part of that Major 114 | Component, and (b) serves only to enable use of the work with that 115 | Major Component, or to implement a Standard Interface for which an 116 | implementation is available to the public in source code form. A 117 | "Major Component", in this context, means a major essential component 118 | (kernel, window system, and so on) of the specific operating system 119 | (if any) on which the executable work runs, or a compiler used to 120 | produce the work, or an object code interpreter used to run it. 121 | 122 | The "Corresponding Source" for a work in object code form means all 123 | the source code needed to generate, install, and (for an executable 124 | work) run the object code and to modify the work, including scripts to 125 | control those activities. However, it does not include the work's 126 | System Libraries, or general-purpose tools or generally available free 127 | programs which are used unmodified in performing those activities but 128 | which are not part of the work. For example, Corresponding Source 129 | includes interface definition files associated with source files for 130 | the work, and the source code for shared libraries and dynamically 131 | linked subprograms that the work is specifically designed to require, 132 | such as by intimate data communication or control flow between those 133 | subprograms and other parts of the work. 134 | 135 | The Corresponding Source need not include anything that users 136 | can regenerate automatically from other parts of the Corresponding 137 | Source. 138 | 139 | The Corresponding Source for a work in source code form is that 140 | same work. 141 | 142 | 2. Basic Permissions. 143 | 144 | All rights granted under this License are granted for the term of 145 | copyright on the Program, and are irrevocable provided the stated 146 | conditions are met. This License explicitly affirms your unlimited 147 | permission to run the unmodified Program. The output from running a 148 | covered work is covered by this License only if the output, given its 149 | content, constitutes a covered work. This License acknowledges your 150 | rights of fair use or other equivalent, as provided by copyright law. 151 | 152 | You may make, run and propagate covered works that you do not 153 | convey, without conditions so long as your license otherwise remains 154 | in force. You may convey covered works to others for the sole purpose 155 | of having them make modifications exclusively for you, or provide you 156 | with facilities for running those works, provided that you comply with 157 | the terms of this License in conveying all material for which you do 158 | not control copyright. Those thus making or running the covered works 159 | for you must do so exclusively on your behalf, under your direction 160 | and control, on terms that prohibit them from making any copies of 161 | your copyrighted material outside their relationship with you. 162 | 163 | Conveying under any other circumstances is permitted solely under 164 | the conditions stated below. Sublicensing is not allowed; section 10 165 | makes it unnecessary. 166 | 167 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 168 | 169 | No covered work shall be deemed part of an effective technological 170 | measure under any applicable law fulfilling obligations under article 171 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 172 | similar laws prohibiting or restricting circumvention of such 173 | measures. 174 | 175 | When you convey a covered work, you waive any legal power to forbid 176 | circumvention of technological measures to the extent such circumvention 177 | is effected by exercising rights under this License with respect to 178 | the covered work, and you disclaim any intention to limit operation or 179 | modification of the work as a means of enforcing, against the work's 180 | users, your or third parties' legal rights to forbid circumvention of 181 | technological measures. 182 | 183 | 4. Conveying Verbatim Copies. 184 | 185 | You may convey verbatim copies of the Program's source code as you 186 | receive it, in any medium, provided that you conspicuously and 187 | appropriately publish on each copy an appropriate copyright notice; 188 | keep intact all notices stating that this License and any 189 | non-permissive terms added in accord with section 7 apply to the code; 190 | keep intact all notices of the absence of any warranty; and give all 191 | recipients a copy of this License along with the Program. 192 | 193 | You may charge any price or no price for each copy that you convey, 194 | and you may offer support or warranty protection for a fee. 195 | 196 | 5. Conveying Modified Source Versions. 197 | 198 | You may convey a work based on the Program, or the modifications to 199 | produce it from the Program, in the form of source code under the 200 | terms of section 4, provided that you also meet all of these conditions: 201 | 202 | a) The work must carry prominent notices stating that you modified 203 | it, and giving a relevant date. 204 | 205 | b) The work must carry prominent notices stating that it is 206 | released under this License and any conditions added under section 207 | 7. This requirement modifies the requirement in section 4 to 208 | "keep intact all notices". 209 | 210 | c) You must license the entire work, as a whole, under this 211 | License to anyone who comes into possession of a copy. This 212 | License will therefore apply, along with any applicable section 7 213 | additional terms, to the whole of the work, and all its parts, 214 | regardless of how they are packaged. This License gives no 215 | permission to license the work in any other way, but it does not 216 | invalidate such permission if you have separately received it. 217 | 218 | d) If the work has interactive user interfaces, each must display 219 | Appropriate Legal Notices; however, if the Program has interactive 220 | interfaces that do not display Appropriate Legal Notices, your 221 | work need not make them do so. 222 | 223 | A compilation of a covered work with other separate and independent 224 | works, which are not by their nature extensions of the covered work, 225 | and which are not combined with it such as to form a larger program, 226 | in or on a volume of a storage or distribution medium, is called an 227 | "aggregate" if the compilation and its resulting copyright are not 228 | used to limit the access or legal rights of the compilation's users 229 | beyond what the individual works permit. Inclusion of a covered work 230 | in an aggregate does not cause this License to apply to the other 231 | parts of the aggregate. 232 | 233 | 6. Conveying Non-Source Forms. 234 | 235 | You may convey a covered work in object code form under the terms 236 | of sections 4 and 5, provided that you also convey the 237 | machine-readable Corresponding Source under the terms of this License, 238 | in one of these ways: 239 | 240 | a) Convey the object code in, or embodied in, a physical product 241 | (including a physical distribution medium), accompanied by the 242 | Corresponding Source fixed on a durable physical medium 243 | customarily used for software interchange. 244 | 245 | b) Convey the object code in, or embodied in, a physical product 246 | (including a physical distribution medium), accompanied by a 247 | written offer, valid for at least three years and valid for as 248 | long as you offer spare parts or customer support for that product 249 | model, to give anyone who possesses the object code either (1) a 250 | copy of the Corresponding Source for all the software in the 251 | product that is covered by this License, on a durable physical 252 | medium customarily used for software interchange, for a price no 253 | more than your reasonable cost of physically performing this 254 | conveying of source, or (2) access to copy the 255 | Corresponding Source from a network server at no charge. 256 | 257 | c) Convey individual copies of the object code with a copy of the 258 | written offer to provide the Corresponding Source. This 259 | alternative is allowed only occasionally and noncommercially, and 260 | only if you received the object code with such an offer, in accord 261 | with subsection 6b. 262 | 263 | d) Convey the object code by offering access from a designated 264 | place (gratis or for a charge), and offer equivalent access to the 265 | Corresponding Source in the same way through the same place at no 266 | further charge. You need not require recipients to copy the 267 | Corresponding Source along with the object code. If the place to 268 | copy the object code is a network server, the Corresponding Source 269 | may be on a different server (operated by you or a third party) 270 | that supports equivalent copying facilities, provided you maintain 271 | clear directions next to the object code saying where to find the 272 | Corresponding Source. Regardless of what server hosts the 273 | Corresponding Source, you remain obligated to ensure that it is 274 | available for as long as needed to satisfy these requirements. 275 | 276 | e) Convey the object code using peer-to-peer transmission, provided 277 | you inform other peers where the object code and Corresponding 278 | Source of the work are being offered to the general public at no 279 | charge under subsection 6d. 280 | 281 | A separable portion of the object code, whose source code is excluded 282 | from the Corresponding Source as a System Library, need not be 283 | included in conveying the object code work. 284 | 285 | A "User Product" is either (1) a "consumer product", which means any 286 | tangible personal property which is normally used for personal, family, 287 | or household purposes, or (2) anything designed or sold for incorporation 288 | into a dwelling. In determining whether a product is a consumer product, 289 | doubtful cases shall be resolved in favor of coverage. For a particular 290 | product received by a particular user, "normally used" refers to a 291 | typical or common use of that class of product, regardless of the status 292 | of the particular user or of the way in which the particular user 293 | actually uses, or expects or is expected to use, the product. A product 294 | is a consumer product regardless of whether the product has substantial 295 | commercial, industrial or non-consumer uses, unless such uses represent 296 | the only significant mode of use of the product. 297 | 298 | "Installation Information" for a User Product means any methods, 299 | procedures, authorization keys, or other information required to install 300 | and execute modified versions of a covered work in that User Product from 301 | a modified version of its Corresponding Source. The information must 302 | suffice to ensure that the continued functioning of the modified object 303 | code is in no case prevented or interfered with solely because 304 | modification has been made. 305 | 306 | If you convey an object code work under this section in, or with, or 307 | specifically for use in, a User Product, and the conveying occurs as 308 | part of a transaction in which the right of possession and use of the 309 | User Product is transferred to the recipient in perpetuity or for a 310 | fixed term (regardless of how the transaction is characterized), the 311 | Corresponding Source conveyed under this section must be accompanied 312 | by the Installation Information. But this requirement does not apply 313 | if neither you nor any third party retains the ability to install 314 | modified object code on the User Product (for example, the work has 315 | been installed in ROM). 316 | 317 | The requirement to provide Installation Information does not include a 318 | requirement to continue to provide support service, warranty, or updates 319 | for a work that has been modified or installed by the recipient, or for 320 | the User Product in which it has been modified or installed. Access to a 321 | network may be denied when the modification itself materially and 322 | adversely affects the operation of the network or violates the rules and 323 | protocols for communication across the network. 324 | 325 | Corresponding Source conveyed, and Installation Information provided, 326 | in accord with this section must be in a format that is publicly 327 | documented (and with an implementation available to the public in 328 | source code form), and must require no special password or key for 329 | unpacking, reading or copying. 330 | 331 | 7. Additional Terms. 332 | 333 | "Additional permissions" are terms that supplement the terms of this 334 | License by making exceptions from one or more of its conditions. 335 | Additional permissions that are applicable to the entire Program shall 336 | be treated as though they were included in this License, to the extent 337 | that they are valid under applicable law. If additional permissions 338 | apply only to part of the Program, that part may be used separately 339 | under those permissions, but the entire Program remains governed by 340 | this License without regard to the additional permissions. 341 | 342 | When you convey a copy of a covered work, you may at your option 343 | remove any additional permissions from that copy, or from any part of 344 | it. (Additional permissions may be written to require their own 345 | removal in certain cases when you modify the work.) You may place 346 | additional permissions on material, added by you to a covered work, 347 | for which you have or can give appropriate copyright permission. 348 | 349 | Notwithstanding any other provision of this License, for material you 350 | add to a covered work, you may (if authorized by the copyright holders of 351 | that material) supplement the terms of this License with terms: 352 | 353 | a) Disclaiming warranty or limiting liability differently from the 354 | terms of sections 15 and 16 of this License; or 355 | 356 | b) Requiring preservation of specified reasonable legal notices or 357 | author attributions in that material or in the Appropriate Legal 358 | Notices displayed by works containing it; or 359 | 360 | c) Prohibiting misrepresentation of the origin of that material, or 361 | requiring that modified versions of such material be marked in 362 | reasonable ways as different from the original version; or 363 | 364 | d) Limiting the use for publicity purposes of names of licensors or 365 | authors of the material; or 366 | 367 | e) Declining to grant rights under trademark law for use of some 368 | trade names, trademarks, or service marks; or 369 | 370 | f) Requiring indemnification of licensors and authors of that 371 | material by anyone who conveys the material (or modified versions of 372 | it) with contractual assumptions of liability to the recipient, for 373 | any liability that these contractual assumptions directly impose on 374 | those licensors and authors. 375 | 376 | All other non-permissive additional terms are considered "further 377 | restrictions" within the meaning of section 10. If the Program as you 378 | received it, or any part of it, contains a notice stating that it is 379 | governed by this License along with a term that is a further 380 | restriction, you may remove that term. If a license document contains 381 | a further restriction but permits relicensing or conveying under this 382 | License, you may add to a covered work material governed by the terms 383 | of that license document, provided that the further restriction does 384 | not survive such relicensing or conveying. 385 | 386 | If you add terms to a covered work in accord with this section, you 387 | must place, in the relevant source files, a statement of the 388 | additional terms that apply to those files, or a notice indicating 389 | where to find the applicable terms. 390 | 391 | Additional terms, permissive or non-permissive, may be stated in the 392 | form of a separately written license, or stated as exceptions; 393 | the above requirements apply either way. 394 | 395 | 8. Termination. 396 | 397 | You may not propagate or modify a covered work except as expressly 398 | provided under this License. Any attempt otherwise to propagate or 399 | modify it is void, and will automatically terminate your rights under 400 | this License (including any patent licenses granted under the third 401 | paragraph of section 11). 402 | 403 | However, if you cease all violation of this License, then your 404 | license from a particular copyright holder is reinstated (a) 405 | provisionally, unless and until the copyright holder explicitly and 406 | finally terminates your license, and (b) permanently, if the copyright 407 | holder fails to notify you of the violation by some reasonable means 408 | prior to 60 days after the cessation. 409 | 410 | Moreover, your license from a particular copyright holder is 411 | reinstated permanently if the copyright holder notifies you of the 412 | violation by some reasonable means, this is the first time you have 413 | received notice of violation of this License (for any work) from that 414 | copyright holder, and you cure the violation prior to 30 days after 415 | your receipt of the notice. 416 | 417 | Termination of your rights under this section does not terminate the 418 | licenses of parties who have received copies or rights from you under 419 | this License. If your rights have been terminated and not permanently 420 | reinstated, you do not qualify to receive new licenses for the same 421 | material under section 10. 422 | 423 | 9. Acceptance Not Required for Having Copies. 424 | 425 | You are not required to accept this License in order to receive or 426 | run a copy of the Program. Ancillary propagation of a covered work 427 | occurring solely as a consequence of using peer-to-peer transmission 428 | to receive a copy likewise does not require acceptance. However, 429 | nothing other than this License grants you permission to propagate or 430 | modify any covered work. These actions infringe copyright if you do 431 | not accept this License. Therefore, by modifying or propagating a 432 | covered work, you indicate your acceptance of this License to do so. 433 | 434 | 10. Automatic Licensing of Downstream Recipients. 435 | 436 | Each time you convey a covered work, the recipient automatically 437 | receives a license from the original licensors, to run, modify and 438 | propagate that work, subject to this License. You are not responsible 439 | for enforcing compliance by third parties with this License. 440 | 441 | An "entity transaction" is a transaction transferring control of an 442 | organization, or substantially all assets of one, or subdividing an 443 | organization, or merging organizations. If propagation of a covered 444 | work results from an entity transaction, each party to that 445 | transaction who receives a copy of the work also receives whatever 446 | licenses to the work the party's predecessor in interest had or could 447 | give under the previous paragraph, plus a right to possession of the 448 | Corresponding Source of the work from the predecessor in interest, if 449 | the predecessor has it or can get it with reasonable efforts. 450 | 451 | You may not impose any further restrictions on the exercise of the 452 | rights granted or affirmed under this License. For example, you may 453 | not impose a license fee, royalty, or other charge for exercise of 454 | rights granted under this License, and you may not initiate litigation 455 | (including a cross-claim or counterclaim in a lawsuit) alleging that 456 | any patent claim is infringed by making, using, selling, offering for 457 | sale, or importing the Program or any portion of it. 458 | 459 | 11. Patents. 460 | 461 | A "contributor" is a copyright holder who authorizes use under this 462 | License of the Program or a work on which the Program is based. The 463 | work thus licensed is called the contributor's "contributor version". 464 | 465 | A contributor's "essential patent claims" are all patent claims 466 | owned or controlled by the contributor, whether already acquired or 467 | hereafter acquired, that would be infringed by some manner, permitted 468 | by this License, of making, using, or selling its contributor version, 469 | but do not include claims that would be infringed only as a 470 | consequence of further modification of the contributor version. For 471 | purposes of this definition, "control" includes the right to grant 472 | patent sublicenses in a manner consistent with the requirements of 473 | this License. 474 | 475 | Each contributor grants you a non-exclusive, worldwide, royalty-free 476 | patent license under the contributor's essential patent claims, to 477 | make, use, sell, offer for sale, import and otherwise run, modify and 478 | propagate the contents of its contributor version. 479 | 480 | In the following three paragraphs, a "patent license" is any express 481 | agreement or commitment, however denominated, not to enforce a patent 482 | (such as an express permission to practice a patent or covenant not to 483 | sue for patent infringement). To "grant" such a patent license to a 484 | party means to make such an agreement or commitment not to enforce a 485 | patent against the party. 486 | 487 | If you convey a covered work, knowingly relying on a patent license, 488 | and the Corresponding Source of the work is not available for anyone 489 | to copy, free of charge and under the terms of this License, through a 490 | publicly available network server or other readily accessible means, 491 | then you must either (1) cause the Corresponding Source to be so 492 | available, or (2) arrange to deprive yourself of the benefit of the 493 | patent license for this particular work, or (3) arrange, in a manner 494 | consistent with the requirements of this License, to extend the patent 495 | license to downstream recipients. "Knowingly relying" means you have 496 | actual knowledge that, but for the patent license, your conveying the 497 | covered work in a country, or your recipient's use of the covered work 498 | in a country, would infringe one or more identifiable patents in that 499 | country that you have reason to believe are valid. 500 | 501 | If, pursuant to or in connection with a single transaction or 502 | arrangement, you convey, or propagate by procuring conveyance of, a 503 | covered work, and grant a patent license to some of the parties 504 | receiving the covered work authorizing them to use, propagate, modify 505 | or convey a specific copy of the covered work, then the patent license 506 | you grant is automatically extended to all recipients of the covered 507 | work and works based on it. 508 | 509 | A patent license is "discriminatory" if it does not include within 510 | the scope of its coverage, prohibits the exercise of, or is 511 | conditioned on the non-exercise of one or more of the rights that are 512 | specifically granted under this License. You may not convey a covered 513 | work if you are a party to an arrangement with a third party that is 514 | in the business of distributing software, under which you make payment 515 | to the third party based on the extent of your activity of conveying 516 | the work, and under which the third party grants, to any of the 517 | parties who would receive the covered work from you, a discriminatory 518 | patent license (a) in connection with copies of the covered work 519 | conveyed by you (or copies made from those copies), or (b) primarily 520 | for and in connection with specific products or compilations that 521 | contain the covered work, unless you entered into that arrangement, 522 | or that patent license was granted, prior to 28 March 2007. 523 | 524 | Nothing in this License shall be construed as excluding or limiting 525 | any implied license or other defenses to infringement that may 526 | otherwise be available to you under applicable patent law. 527 | 528 | 12. No Surrender of Others' Freedom. 529 | 530 | If conditions are imposed on you (whether by court order, agreement or 531 | otherwise) that contradict the conditions of this License, they do not 532 | excuse you from the conditions of this License. If you cannot convey a 533 | covered work so as to satisfy simultaneously your obligations under this 534 | License and any other pertinent obligations, then as a consequence you may 535 | not convey it at all. For example, if you agree to terms that obligate you 536 | to collect a royalty for further conveying from those to whom you convey 537 | the Program, the only way you could satisfy both those terms and this 538 | License would be to refrain entirely from conveying the Program. 539 | 540 | 13. Remote Network Interaction; Use with the GNU General Public License. 541 | 542 | Notwithstanding any other provision of this License, if you modify the 543 | Program, your modified version must prominently offer all users 544 | interacting with it remotely through a computer network (if your version 545 | supports such interaction) an opportunity to receive the Corresponding 546 | Source of your version by providing access to the Corresponding Source 547 | from a network server at no charge, through some standard or customary 548 | means of facilitating copying of software. This Corresponding Source 549 | shall include the Corresponding Source for any work covered by version 3 550 | of the GNU General Public License that is incorporated pursuant to the 551 | following paragraph. 552 | 553 | Notwithstanding any other provision of this License, you have 554 | permission to link or combine any covered work with a work licensed 555 | under version 3 of the GNU General Public License into a single 556 | combined work, and to convey the resulting work. The terms of this 557 | License will continue to apply to the part which is the covered work, 558 | but the work with which it is combined will remain governed by version 559 | 3 of the GNU General Public License. 560 | 561 | 14. Revised Versions of this License. 562 | 563 | The Free Software Foundation may publish revised and/or new versions of 564 | the GNU Affero General Public License from time to time. Such new versions 565 | will be similar in spirit to the present version, but may differ in detail to 566 | address new problems or concerns. 567 | 568 | Each version is given a distinguishing version number. If the 569 | Program specifies that a certain numbered version of the GNU Affero General 570 | Public License "or any later version" applies to it, you have the 571 | option of following the terms and conditions either of that numbered 572 | version or of any later version published by the Free Software 573 | Foundation. If the Program does not specify a version number of the 574 | GNU Affero General Public License, you may choose any version ever published 575 | by the Free Software Foundation. 576 | 577 | If the Program specifies that a proxy can decide which future 578 | versions of the GNU Affero General Public License can be used, that proxy's 579 | public statement of acceptance of a version permanently authorizes you 580 | to choose that version for the Program. 581 | 582 | Later license versions may give you additional or different 583 | permissions. However, no additional obligations are imposed on any 584 | author or copyright holder as a result of your choosing to follow a 585 | later version. 586 | 587 | 15. Disclaimer of Warranty. 588 | 589 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 590 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 591 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 592 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 593 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 594 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 595 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 596 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 597 | 598 | 16. Limitation of Liability. 599 | 600 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 601 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 602 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 603 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 604 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 605 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 606 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 607 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 608 | SUCH DAMAGES. 609 | 610 | 17. Interpretation of Sections 15 and 16. 611 | 612 | If the disclaimer of warranty and limitation of liability provided 613 | above cannot be given local legal effect according to their terms, 614 | reviewing courts shall apply local law that most closely approximates 615 | an absolute waiver of all civil liability in connection with the 616 | Program, unless a warranty or assumption of liability accompanies a 617 | copy of the Program in return for a fee. 618 | 619 | END OF TERMS AND CONDITIONS 620 | 621 | How to Apply These Terms to Your New Programs 622 | 623 | If you develop a new program, and you want it to be of the greatest 624 | possible use to the public, the best way to achieve this is to make it 625 | free software which everyone can redistribute and change under these terms. 626 | 627 | To do so, attach the following notices to the program. It is safest 628 | to attach them to the start of each source file to most effectively 629 | state the exclusion of warranty; and each file should have at least 630 | the "copyright" line and a pointer to where the full notice is found. 631 | 632 | 633 | Copyright (C) 634 | 635 | This program is free software: you can redistribute it and/or modify 636 | it under the terms of the GNU Affero General Public License as published 637 | by the Free Software Foundation, either version 3 of the License, or 638 | (at your option) any later version. 639 | 640 | This program is distributed in the hope that it will be useful, 641 | but WITHOUT ANY WARRANTY; without even the implied warranty of 642 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 643 | GNU Affero General Public License for more details. 644 | 645 | You should have received a copy of the GNU Affero General Public License 646 | along with this program. If not, see . 647 | 648 | Also add information on how to contact you by electronic and paper mail. 649 | 650 | If your software can interact with users remotely through a computer 651 | network, you should also make sure that it provides a way for users to 652 | get its source. For example, if your program is a web application, its 653 | interface could display a "Source" link that leads users to an archive 654 | of the code. There are many ways you could offer source, and different 655 | solutions will be better for different programs; see section 13 for the 656 | specific requirements. 657 | 658 | You should also get your employer (if you work as a programmer) or school, 659 | if any, to sign a "copyright disclaimer" for the program, if necessary. 660 | For more information on this, and how to apply and follow the GNU AGPL, see 661 | . 662 | -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- 1 | # Security Policy 2 | 3 | ## Supported Versions 4 | 5 | | Version | Supported | 6 | | ------- | ------------------ | 7 | | > 1.x.x | :white_check_mark: | 8 | | < 0.x.x | :x: | 9 | 10 | ## Reporting a Vulnerability 11 | 12 | If you discover a security vulnerability in this project, we strongly encourage you to report it privately. 13 | 14 | **Please do not create public GitHub issues or pull requests that contain security-related information.** 15 | 16 | Instead, please email your report via GitHub Vulnerability reporting: https://github.com/gautamkrishnar/blog-post-workflow/security/advisories/new 17 | 18 | I will review your report as quickly as possible and take appropriate action. 19 | 20 | ## Preferred Reporting Guidelines 21 | 22 | When reporting a vulnerability, please include as much information as possible, such as: 23 | 24 | - A clear description of the vulnerability 25 | - Steps to reproduce the issue 26 | - Potential impact 27 | - Any known mitigations or workarounds 28 | 29 | We appreciate your efforts in making this project more secure! 30 | 31 | --- 32 | 33 | Thank you for helping improve the security of this project. 34 | -------------------------------------------------------------------------------- /action.yml: -------------------------------------------------------------------------------- 1 | name: 'Blog Post Workflow' 2 | author: 'Gautam Krishna R' 3 | description: 'Allows you to show your latest blog posts on your github profile or project readme' 4 | 5 | inputs: 6 | gh_token: 7 | description: 'GitHub access token with Repo scope' 8 | required: false 9 | default: ${{ github.token }} 10 | readme_path: 11 | description: 'Comma separated paths of the readme files you want to update' 12 | default: './README.md' 13 | required: false 14 | max_post_count: 15 | description: 'Maximum number of posts you want to show on your readme, all feeds combined' 16 | default: '5' 17 | required: false 18 | feed_list: 19 | description: "Comma separated list of RSS feed urls" 20 | default: "" 21 | required: true 22 | disable_sort: 23 | description: "Disables the sorting of list based on publish date" 24 | default: "false" 25 | required: false 26 | sort_order: 27 | description: "Specifies the sort order of posts when date sorting is enabled (disable_sort is 'false'). Supports 'asc' (ascending, oldest first) and 'desc' (descending, newest first). Has no effect if disable_sort is 'true'." 28 | default: "desc" 29 | required: false 30 | reverse_order: 31 | description: "Reverses the order of posts when `disable_sort` is set to true" 32 | default: "false" 33 | required: false 34 | filter_comments: 35 | description: "Comma separated list of platforms you want to enable the comment filter" 36 | default: "stackoverflow/Comment by $author/,stackexchange/Comment by $author/" 37 | required: false 38 | tag_post_pre_newline: 39 | description: "Inserts newline before the closing tag and after the opening tag when using the template option, for formatting" 40 | required: false 41 | template: 42 | description: "Template to use while creating the list of posts. It can contain $title,$url, $newline and $date as variables" 43 | default: "default" 44 | required: false 45 | date_format: 46 | description: "Allows you to change the format of the date or time displayed when using the $date in the template option" 47 | default: "UTC:ddd mmm dd yyyy h:MM TT" 48 | required: false 49 | comment_tag_name: 50 | description: "Override the default comment tag name, if you want to show multiple instances of the action on the same repo" 51 | required: false 52 | user_agent: 53 | description: "Allows you to customize the user agent used by the RSS feed crawler" 54 | default: "rss-parser" 55 | required: false 56 | accept_header: 57 | description: "Allows you to customize the accept header of the http request" 58 | default: "application/rss+xml" 59 | required: false 60 | custom_tags: 61 | description: "Allows you to use the custom tags from your feed items in your template" 62 | default: "" 63 | required: false 64 | title_max_length: 65 | description: "Allows you to trim the title in the posts list" 66 | default: "" 67 | required: false 68 | description_max_length: 69 | description: "Allows you to trim the description in the posts list" 70 | default: "" 71 | required: false 72 | item_exec: 73 | description: "Allows you to execute custom JavaScript code on each item to do advanced text manipulation" 74 | default: "" 75 | required: false 76 | commit_message: 77 | description: "Commit message used while committing to the repo" 78 | default: "Updated with the latest blog posts" 79 | required: false 80 | committer_username: 81 | description: "Username used while committing to the repo" 82 | default: "blog-post-bot" 83 | required: false 84 | committer_email: 85 | description: "Email id used while committing to the repo" 86 | default: "blog-post-bot@example.com" 87 | required: false 88 | output_only: 89 | description: "Prevent updating the readme, instead sets the output to the output variable named `results`" 90 | default: "false" 91 | required: false 92 | enable_keepalive: 93 | description: "Enables the feature that keeps the repo active by automatically committing to it even though there is no change" 94 | default: "true" 95 | required: false 96 | retry_count: 97 | description: "Maximum number of times to retry the fetch operation if it fails" 98 | default: "0" 99 | required: false 100 | retry_wait_time: 101 | description: "Time to wait before each retry operation in seconds" 102 | default: "1" 103 | required: false 104 | feed_names: 105 | description: "Comma separated name of the feeds to show on template" 106 | default: "" 107 | required: false 108 | disable_html_encoding: 109 | description: "Disables html encoding of the feed contents" 110 | default: "false" 111 | required: false 112 | categories_template: 113 | description: "Allows you to specify a template for the individual items in the category list" 114 | default: "default" 115 | required: false 116 | disable_item_validation: 117 | description: "Disables the validation checks for Title, publish date and URL" 118 | default: "false" 119 | required: false 120 | filter_dates: 121 | description: "Enables date filters" 122 | default: "" 123 | required: false 124 | rand_seed: 125 | description: "Provide your own seeding string for the randomness" 126 | default: "" 127 | required: false 128 | remove_duplicates: 129 | description: "Allows you to remove duplicate blog posts from multiple sources" 130 | default: "" 131 | required: false 132 | skip_commit: 133 | description: "Skips committing the changes to repo" 134 | default: "false" 135 | required: false 136 | dummy_commit_message: 137 | description: "Dummy commit message, This is when the workflow is doing automated commits to keep the repository active" 138 | default: "dummy commit to keep the repository active, see https://git.io/Jtm4V" 139 | required: false 140 | outputs: 141 | results: 142 | description: "JSON stringified array of posts" 143 | 144 | runs: 145 | using: node20 146 | main: dist/blog-post-workflow.js 147 | branding: 148 | icon: 'activity' 149 | color: 'blue' 150 | -------------------------------------------------------------------------------- /biome.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", 3 | "vcs": { 4 | "enabled": false, 5 | "clientKind": "git", 6 | "useIgnoreFile": false 7 | }, 8 | "files": { 9 | "ignoreUnknown": false, 10 | "ignore": [], 11 | "include": ["src/**/*.js", "test/**/*.js"] 12 | }, 13 | "formatter": { 14 | "enabled": true, 15 | "indentStyle": "tab", 16 | "useEditorconfig": true 17 | }, 18 | "organizeImports": { 19 | "enabled": true 20 | }, 21 | "linter": { 22 | "enabled": true, 23 | "rules": { 24 | "recommended": true 25 | } 26 | }, 27 | "javascript": { 28 | "formatter": { 29 | "quoteStyle": "single" 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /local-run.js: -------------------------------------------------------------------------------- 1 | const process = require('process'); 2 | const path = require('path'); 3 | const fs = require('fs'); 4 | const {DEFAULT_TEST_ENV} = require('./test/testUtils/default-env'); 5 | // language=markdown 6 | const template = `# Readme test 7 | Post list example: 8 | 9 | 10 | 11 | # Other contents 12 | Test content 13 | `; 14 | fs.writeFile(path.join(__dirname, 'test', 'Readme.md'), template, () => { 15 | console.log('Written test file....'); 16 | Object.assign(process.env, { 17 | ...DEFAULT_TEST_ENV, 18 | INPUT_README_PATH: path.join(__dirname, 'test', 'Readme.md') 19 | }); 20 | const testFile = process.env.DIST ? './dist/blog-post-workflow' : './src/blog-post-workflow'; 21 | console.log('Testing: ', testFile); 22 | const action = require(testFile); 23 | action.runWorkflow(); 24 | }); 25 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "blog-post-workflow", 3 | "version": "1.9.3", 4 | "description": "Allows you to show your latest blog posts on your github profile or project readme", 5 | "main": "blog-post-workflow.js", 6 | "scripts": { 7 | "build": "esbuild ./src/blog-post-workflow.js --bundle --platform=node --outfile=dist/blog-post-workflow.js", 8 | "lint": "biome check", 9 | "lint:fix": "biome check --write", 10 | "start-server": "node test/testUtils/test-server.js", 11 | "local-run-script": "node local-run.js", 12 | "local-run": "start-server-and-test start-server http://localhost:8080 local-run-script", 13 | "test-run": "mocha --parallel --reporter json --reporter-option output=src-report.json --jobs 100 test/**.js", 14 | "test": "yarn run lint && start-server-and-test start-server http://localhost:8080 test-run", 15 | "test-run-dist": "DIST=true mocha --parallel --reporter json --reporter-option output=dist-report.json --jobs 100 test/**.js", 16 | "test-dist": "yarn run lint && start-server-and-test start-server http://localhost:8080 test-run-dist" 17 | }, 18 | "repository": { 19 | "type": "git", 20 | "url": "git+https://github.com/gautamkrishnar/blog-post-workflow.git" 21 | }, 22 | "keywords": [ 23 | "github", 24 | "workflow", 25 | "blog", 26 | "posts" 27 | ], 28 | "author": "Gautam krishna R (https://www.github.com/gautamkrishnar)", 29 | "license": "GPL-3.0", 30 | "bugs": { 31 | "url": "https://github.com/gautamkrishnar/blog-post-workflow/issues" 32 | }, 33 | "homepage": "https://github.com/gautamkrishnar/blog-post-workflow#readme", 34 | "dependencies": { 35 | "@actions/core": "^1.11.1", 36 | "dateformat": "^3.0.3", 37 | "esbuild": "^0.25.2", 38 | "keepalive-workflow": "^2.0.9", 39 | "process": "latest", 40 | "promise-retry": "^2.0.1", 41 | "random-seed": "^0.3.0", 42 | "rss-parser": "^3.13.0" 43 | }, 44 | "devDependencies": { 45 | "@biomejs/biome": "1.9.4", 46 | "mocha": "^11.1.0", 47 | "start-server-and-test": "^2.0.11" 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /src/blog-post-workflow.js: -------------------------------------------------------------------------------- 1 | const process = require('process'); 2 | const Parser = require('rss-parser'); 3 | const core = require('@actions/core'); 4 | const fs = require('node:fs'); 5 | const dateFormat = require('dateformat'); 6 | const rand = require('random-seed'); 7 | const promiseRetry = require('promise-retry'); 8 | const keepaliveWorkflow = require('keepalive-workflow'); 9 | const { 10 | updateAndParseCompoundParams, 11 | commitReadme, 12 | truncateString, 13 | buildReadme, 14 | exec, 15 | getParameterisedTemplate, 16 | escapeHTML, 17 | categoriesToArray, 18 | } = require('./utils'); 19 | const { 20 | ignoreStackExchangeComments, 21 | ignoreMediumComments, 22 | ignoreStackOverflowComments, 23 | dateFilter, 24 | } = require('./filters'); 25 | const path = require('node:path'); 26 | 27 | // Blog workflow code 28 | const userAgent = core.getInput('user_agent'); 29 | const acceptHeader = core.getInput('accept_header'); 30 | 31 | // Total no of posts to display on readme, all sources combined, default: 5 32 | const TOTAL_POST_COUNT = Number.parseInt(core.getInput('max_post_count')); 33 | 34 | // Disables sort 35 | const ENABLE_SORT = core.getInput('disable_sort') === 'false'; 36 | 37 | // Specifies sort order 38 | const SORT_ORDER = core.getInput('sort_order'); // 'asc' or 'desc 39 | 40 | // Specifies sort order 41 | const REVERSE_ORDER = core.getInput('reverse_order') !== 'false'; 42 | 43 | // Disables validation checks 44 | const ENABLE_VALIDATION = core.getInput('disable_item_validation') === 'false'; 45 | 46 | // Title trimming parameter, default: "" 47 | const TITLE_MAX_LENGTH = core.getInput('title_max_length') ? Number.parseInt(core.getInput('title_max_length')) : null; 48 | 49 | // Description trimming parameter, default: "" 50 | const DESCRIPTION_MAX_LENGTH = core.getInput('description_max_length') 51 | ? Number.parseInt(core.getInput('description_max_length')) 52 | : null; 53 | 54 | // Advanced content modification parameter, default: "" 55 | const ITEM_EXEC = core.getInput('item_exec'); 56 | 57 | // Readme path, default: ./README.md 58 | const README_FILE_PATH_LIST = core 59 | .getInput('readme_path') 60 | .split(',') 61 | .map((item) => item.trim()); 62 | const GITHUB_TOKEN = core.getInput('gh_token'); 63 | 64 | // Custom tags 65 | const CUSTOM_TAGS = {}; 66 | 67 | // Keepalive flag 68 | const ENABLE_KEEPALIVE = core.getInput('enable_keepalive') === 'true'; 69 | 70 | // Skip commit flag 71 | const SKIP_COMMITS = core.getInput('skip_commit') === 'true'; 72 | 73 | // Retry configuration 74 | const retryConfig = { 75 | retries: Number.parseInt(core.getInput('retry_count')), 76 | factor: 1, 77 | minTimeout: Number.parseInt(core.getInput('retry_wait_time')) * 1000, 78 | }; 79 | 80 | core.setSecret(GITHUB_TOKEN); 81 | 82 | for (let item of core.getInput('custom_tags').trim().split(',')) { 83 | item = item.trim(); 84 | updateAndParseCompoundParams(item, CUSTOM_TAGS); // Creates custom tag object 85 | } 86 | 87 | const promiseArray = []; // Runner 88 | const runnerNameArray = []; // To show the error/success message 89 | let postsArray = []; // Array to store posts 90 | let jobFailFlag = false; // Job status flag 91 | 92 | const feedObjString = core.getInput('feed_list').trim(); 93 | 94 | // Reading feed list from the workflow input 95 | const feedList = feedObjString.split(',').map((item) => item.trim()); 96 | if (feedList.length === 0) { 97 | core.error('Please double check the value of feed_list'); 98 | process.exit(1); 99 | } 100 | 101 | // Grabbing feed names and converting it into array 102 | const feedNames = core.getInput('feed_names').trim(); 103 | const feedNamesList = feedNames.split(',').map((item) => item.trim()); 104 | 105 | const customTagArgs = Object.keys(CUSTOM_TAGS).map((item) => [CUSTOM_TAGS[item], item]); 106 | 107 | const parser = new Parser({ 108 | headers: { 109 | 'User-Agent': userAgent, 110 | Accept: acceptHeader, 111 | }, 112 | customFields: { 113 | item: [...customTagArgs], 114 | }, 115 | }); 116 | 117 | // Generating promise array 118 | for (const siteUrl of feedList) { 119 | runnerNameArray.push(siteUrl); 120 | promiseArray.push( 121 | new Promise((resolve, reject) => { 122 | promiseRetry((retry, tryNumber) => { 123 | // Retry block 124 | if (tryNumber > 1) { 125 | core.info(`Previous try for ${siteUrl} failed, retrying: ${tryNumber - 1}`); 126 | } 127 | return parser.parseURL(siteUrl).catch(retry); 128 | }, retryConfig).then( 129 | (data) => { 130 | if (!data.items) { 131 | reject('Cannot read response->item'); 132 | } else { 133 | const responsePosts = data.items; 134 | // To handle duplicate filter 135 | const appendedPostTitles = []; 136 | const appendedPostDesc = []; 137 | const posts = responsePosts 138 | .filter(ignoreStackOverflowComments) 139 | .filter(ignoreStackExchangeComments) 140 | .filter(dateFilter) 141 | .map((item) => { 142 | // Validating keys to avoid errors 143 | if (ENABLE_SORT && ENABLE_VALIDATION && !item.pubDate) { 144 | reject('Cannot read response->item->pubDate'); 145 | } 146 | 147 | // Handle missing titles gracefully 148 | if (ENABLE_VALIDATION && !item.title) { 149 | // Either skip the item by returning null 150 | // or use a fallback title (from URL or a default value) 151 | core.warning(`Missing title for item with link: ${item.link || 'unknown'}`); 152 | if (core.getInput('skip_items_without_title') === 'true') { 153 | return null; // This item will be filtered out later 154 | } 155 | // Use URL as fallback or a default text 156 | item.title = item.link 157 | ? `[No Title] - ${item.link.split('/').pop() || 'Post'}` 158 | : 'Post without title'; 159 | } 160 | 161 | if (ENABLE_VALIDATION && !item.link) { 162 | reject('Cannot read response->item->link'); 163 | } 164 | // Custom tags 165 | const customTags = {}; 166 | for (const tag of Object.keys(CUSTOM_TAGS)) { 167 | if (item[tag]) { 168 | Object.assign(customTags, { [tag]: item[tag] }); 169 | } 170 | } 171 | const categories = item.categories ? categoriesToArray(item.categories) : []; 172 | let post = { 173 | title: item.title ? item.title.trim() : item.title, // Handle null safely 174 | url: item.link.trim(), 175 | description: item.content ? item.content : '', 176 | ...customTags, 177 | categories, 178 | }; 179 | 180 | if (ENABLE_SORT) { 181 | post.date = new Date(item.pubDate.trim()); 182 | } 183 | 184 | if (TITLE_MAX_LENGTH && post && post.title) { 185 | // Trimming the title 186 | post.title = truncateString(post.title, TITLE_MAX_LENGTH); 187 | } 188 | 189 | if (DESCRIPTION_MAX_LENGTH && post && post.description) { 190 | // Trimming the description 191 | post.description = truncateString(post.description, DESCRIPTION_MAX_LENGTH); 192 | } 193 | 194 | // Advanced content manipulation using javascript code 195 | if (ITEM_EXEC) { 196 | try { 197 | // biome-ignore lint/security/noGlobalEval: its needed here 198 | eval(ITEM_EXEC); 199 | } catch (e) { 200 | core.error('Failure in executing `item_exec` parameter'); 201 | core.error(e); 202 | process.exit(1); 203 | } 204 | } 205 | if (post && core.getInput('remove_duplicates') === 'true') { 206 | if ( 207 | appendedPostTitles.indexOf(post.title.trim()) !== -1 || 208 | appendedPostDesc.indexOf(post.description.trim()) !== -1 209 | ) { 210 | post = null; 211 | } else { 212 | if (post.title) { 213 | appendedPostTitles.push(post.title.trim()); 214 | } 215 | if (post.description) { 216 | appendedPostDesc.push(post.description.trim()); 217 | } 218 | } 219 | } 220 | 221 | // Doing HTML encoding at last ref: #117 222 | const disableHtmlEncoding = core.getInput('disable_html_encoding') !== 'false'; 223 | if (!disableHtmlEncoding && post) { 224 | for (const key of Object.keys(post)) { 225 | if (typeof post[key] === 'string' && key !== 'url') { 226 | post[key] = escapeHTML(post[key]); 227 | } 228 | } 229 | } 230 | return post; 231 | }); 232 | resolve(posts); 233 | } 234 | }, 235 | (err) => { 236 | reject(err); 237 | }, 238 | ); 239 | }), 240 | ); 241 | } 242 | 243 | const runWorkflow = async () => { 244 | // Processing the generated promises 245 | await Promise.allSettled(promiseArray) 246 | .then((results) => { 247 | results.forEach((result, index) => { 248 | if (result.status === 'fulfilled') { 249 | // Succeeded 250 | core.info(`${runnerNameArray[index]} runner succeeded. Post count: ${result.value.length}`); 251 | // Adds feed name to the items 252 | if (typeof feedNamesList[index] !== 'undefined' && feedNamesList[index]) { 253 | result.value = result.value.map((item) => { 254 | item.feedName = feedNamesList[index]; 255 | return item; 256 | }); 257 | } 258 | postsArray.push(...result.value); 259 | } else { 260 | jobFailFlag = true; 261 | // Rejected 262 | core.error(`${runnerNameArray[index]} runner failed, please verify the configuration. Error:`); 263 | if (result?.reason?.message?.startsWith('Status code')) { 264 | const code = result.reason.message.replace('Status code ', ''); 265 | core.error( 266 | `Looks like your website returned ${code}, There is nothing blog post workflow can do to fix it. Please check your website's RSS feed generation source code. Also double check the URL. If you are using a third party blogging platform, please reach out to the platform's support team and ask them why this is failing.`, 267 | ); 268 | if (code === '503') { 269 | core.error( 270 | `If you are using Cloudflare or Akamai, make sure that you have the user agent ${userAgent} or GitHub actions IP ranges whitelisted in your firewall.`, 271 | ); 272 | } 273 | } else { 274 | core.error(result.reason || result.reason.message); 275 | } 276 | } 277 | }); 278 | }) 279 | .finally(async () => { 280 | // Ignore null items, allows you to ignore items by setting null in post via `item_exec` 281 | postsArray = postsArray.filter((item) => item !== null); 282 | 283 | // Sorting posts based on date 284 | if (ENABLE_SORT) { 285 | postsArray.sort((a, b) => { 286 | // Handle items without dates consistently by moving them to the end 287 | const aHasDate = !!a.date; 288 | const bHasDate = !!b.date; 289 | 290 | if (!aHasDate && !bHasDate) return 0; // Keep original relative order for items without dates 291 | if (!aHasDate) return 1; // 'a' (no date) comes after 'b' (has date) 292 | if (!bHasDate) return -1; // 'b' (no date) comes after 'a' (has date) 293 | 294 | // Both items have dates, sort according to SORT_ORDER 295 | if (SORT_ORDER === 'asc') { 296 | return a.date - b.date; // Sorts ascending by date (oldest first) 297 | } 298 | return b.date - a.date; // Sorts descending by date (newest first) by default 299 | }); 300 | } 301 | // If ENABLE_SORT is false 302 | else if (REVERSE_ORDER) { 303 | postsArray.reverse(); 304 | } 305 | 306 | // Slicing with the max count 307 | postsArray = postsArray.slice(0, TOTAL_POST_COUNT); 308 | if (postsArray.length > 0) { 309 | try { 310 | if (!process.env.TEST_MODE) { 311 | await exec('git', ['config', 'pull.rebase', 'true'], { 312 | stdio: ['pipe', 'pipe', 'pipe'], 313 | }); 314 | // Pulling the latest changes from upstream 315 | await exec('git', ['pull'], { stdio: ['pipe', 'pipe', 'pipe'] }); 316 | } 317 | const template = core.getInput('template'); 318 | const randEmojiArr = getParameterisedTemplate(template, 'randomEmoji'); 319 | const constEmojiArr = getParameterisedTemplate(template, 'emojiKey'); 320 | const postListMarkdown = postsArray.reduce((acc, cur, index) => { 321 | if (template === 'default') { 322 | // Default template: - [$title]($url) 323 | return `${acc}\n- [${cur.title}](${cur.url})${index + 1 === postsArray.length ? '\n' : ''}`; 324 | } 325 | // Building categories listing 326 | const categoryTemplate = core.getInput('categories_template'); 327 | const categoryList = 328 | categoryTemplate === 'default' 329 | ? cur.categories.join(', ') 330 | : cur.categories.reduce( 331 | (prev, current) => prev + categoryTemplate.replace(/\$category\b/g, current.toString()), 332 | '', 333 | ); 334 | // Building with custom template 335 | const date = dateFormat(cur.date, core.getInput('date_format')); // Formatting date 336 | let content = template 337 | .replace(/\$title\b/g, cur.title) 338 | .replace(/\$url\b/g, cur.url) 339 | .replace(/\$description\b/g, cur.description) 340 | .replace(/\$date\b/g, date) 341 | .replace(/\$counter\b/g, (index + 1).toString()) 342 | .replace(/\$feedName\b/g, cur.feedName ? cur.feedName : '') 343 | .replace(/\$categories\b/g, categoryList.toString()) 344 | .replace(/\$newline/g, '\n'); 345 | 346 | // Setting Custom tags to the template 347 | for (const tag of Object.keys(CUSTOM_TAGS)) { 348 | const replaceValue = cur[tag] ? cur[tag] : ''; 349 | content = content.replace(new RegExp(`\\$${tag}\\b`, 'g'), replaceValue); 350 | } 351 | 352 | // Emoji implementation: Random 353 | if (randEmojiArr) { 354 | // For making randomness unique for each repos 355 | let seed = 356 | (process.env.GITHUB_REPOSITORY && !process.env.TEST_MODE ? process.env.GITHUB_REPOSITORY : 'example') + 357 | index; 358 | if (core.getInput('rand_seed')) { 359 | // If manual seed is provided, use it 360 | seed = core.getInput('rand_seed') + index; 361 | } 362 | const emoji = randEmojiArr[rand.create(seed).range(randEmojiArr.length)]; 363 | content = content.replace(/\$randomEmoji\((\S)*\)/g, emoji); 364 | } 365 | 366 | // Emoji implementation: Static 367 | if (constEmojiArr) { 368 | // using modulus 369 | content = content.replace(/\$emojiKey\((\S)*\)/g, constEmojiArr[index % constEmojiArr.length]); 370 | } 371 | 372 | return acc + content; 373 | }, ''); 374 | 375 | // Output only mode 376 | const outputOnly = core.getInput('output_only') !== 'false'; 377 | if (outputOnly) { 378 | // Sets output as output as `results` variable in github action 379 | core.info('outputOnly mode: set `results` variable. Readme not committed.'); 380 | core.setOutput('results', postsArray); 381 | const outputFilePath = path.join('/', 'tmp', 'blog_post_workflow_output.json'); 382 | if (fs.existsSync(outputFilePath)) { 383 | fs.rmSync(outputFilePath); 384 | } 385 | fs.writeFileSync(outputFilePath, JSON.stringify(postsArray), { 386 | encoding: 'utf-8', 387 | }); 388 | process.exit(jobFailFlag ? 1 : 0); 389 | } 390 | 391 | // Writing to each readme file 392 | let changedReadmeCount = 0; 393 | for (const README_FILE_PATH of README_FILE_PATH_LIST) { 394 | const readmeData = fs.readFileSync(README_FILE_PATH, 'utf8'); 395 | const newReadme = buildReadme(readmeData, postListMarkdown); 396 | // if there's change in readme file update it 397 | if (newReadme !== readmeData) { 398 | core.info(`Writing to ${README_FILE_PATH}`); 399 | fs.writeFileSync(README_FILE_PATH, newReadme); 400 | changedReadmeCount = changedReadmeCount + 1; 401 | } 402 | } 403 | 404 | if (changedReadmeCount > 0 && !SKIP_COMMITS) { 405 | if (!process.env.TEST_MODE) { 406 | // Commit to readme 407 | await commitReadme(GITHUB_TOKEN, README_FILE_PATH_LIST).then(() => { 408 | // Making job fail if one of the source fails 409 | process.exit(jobFailFlag ? 1 : 0); 410 | }); 411 | } 412 | } else { 413 | // Calculating last commit date, please see https://git.io/Jtm4V 414 | if (!process.env.TEST_MODE && ENABLE_KEEPALIVE) { 415 | // Do dummy commit if elapsed time is greater than 50 days 416 | const committerUsername = core.getInput('committer_username'); 417 | const committerEmail = core.getInput('committer_email'); 418 | const message = await keepaliveWorkflow.KeepAliveWorkflow( 419 | GITHUB_TOKEN, 420 | committerUsername, 421 | committerEmail, 422 | core.getInput('dummy_commit_message'), 423 | 50, 424 | true, 425 | ); 426 | core.info(message.toString()); 427 | } else { 428 | core.info('No change detected, skipping'); 429 | } 430 | process.exit(jobFailFlag ? 1 : 0); 431 | } 432 | } catch (e) { 433 | core.error(e); 434 | process.exit(1); 435 | } 436 | } else { 437 | core.info('0 blog posts fetched'); 438 | process.exit(jobFailFlag ? 1 : 0); 439 | } 440 | }); 441 | }; 442 | 443 | module.exports = { 444 | runWorkflow, 445 | }; 446 | 447 | if (require.main === module) { 448 | runWorkflow().then(); 449 | } 450 | -------------------------------------------------------------------------------- /src/filters.js: -------------------------------------------------------------------------------- 1 | const { updateAndParseCompoundParams } = require('./utils'); 2 | const core = require('@actions/core'); 3 | 4 | const FILTER_PARAMS = { 5 | stackoverflow: 'Comment by $author', 6 | stackexchange: 'Comment by $author', 7 | }; 8 | 9 | const COMMENT_FILTERS = core 10 | .getInput('filter_comments') 11 | .trim() 12 | .split(',') 13 | .map((item) => { 14 | if (item.trim().startsWith('stackoverflow') || item.startsWith('stackexchange')) { 15 | return updateAndParseCompoundParams(item, FILTER_PARAMS); 16 | } 17 | return item.trim(); 18 | }); 19 | 20 | const parseUrlAndCheckItem = (item, domain) => { 21 | try { 22 | return new URL(item.link).host === domain; 23 | } catch (e) { 24 | return false; 25 | } 26 | }; 27 | 28 | // filters out stackOverflow comments (#16) 29 | const ignoreStackOverflowComments = (item) => 30 | !( 31 | COMMENT_FILTERS.indexOf('stackoverflow') !== -1 && 32 | item.link && 33 | parseUrlAndCheckItem(item, 'stackoverflow.com') && 34 | item.title.startsWith(FILTER_PARAMS.stackoverflow.replace(/\$author/g, item.author)) 35 | ); 36 | 37 | // filters out stackExchange comments (#16) 38 | const ignoreStackExchangeComments = (item) => 39 | !( 40 | COMMENT_FILTERS.indexOf('stackexchange') !== -1 && 41 | item.link && 42 | parseUrlAndCheckItem(item, 'stackexchange.com') && 43 | item.title.startsWith(FILTER_PARAMS.stackexchange.replace(/\$author/g, item.author)) 44 | ); 45 | 46 | const dateFilter = (item) => { 47 | if (!item.pubDate) { 48 | return true; 49 | } 50 | const today = new Date(); 51 | const itemDate = new Date(item.pubDate.trim()); 52 | const dateFilter = core.getInput('filter_dates').trim(); 53 | 54 | if (dateFilter.indexOf('daysAgo') !== -1) { 55 | // Filters out posts that are older than n days 56 | const filterParam = { 57 | daysAgo: '', 58 | }; 59 | updateAndParseCompoundParams(dateFilter, filterParam); 60 | const dayInMilliSeconds = 24 * 60 * 60 * 1000; 61 | const daysAgo = Number(filterParam.daysAgo); 62 | const dateObj = new Date(Date.now() - dayInMilliSeconds * daysAgo); 63 | return itemDate >= dateObj; 64 | } 65 | if (dateFilter.indexOf('currentMonth') !== -1) { 66 | // Filters out current month's posts 67 | return itemDate.getMonth() === today.getMonth() && itemDate.getFullYear() === today.getFullYear(); 68 | } 69 | if (dateFilter.indexOf('currentYear') !== -1) { 70 | // Filters out current year's posts 71 | return itemDate.getFullYear() === today.getFullYear(); 72 | } 73 | return true; 74 | }; 75 | module.exports = { 76 | ignoreStackOverflowComments, 77 | ignoreStackExchangeComments, 78 | dateFilter, 79 | }; 80 | -------------------------------------------------------------------------------- /src/utils.js: -------------------------------------------------------------------------------- 1 | const { spawn } = require('node:child_process'); 2 | const core = require('@actions/core'); 3 | 4 | /** 5 | * Executes a command and returns its result as promise 6 | * @param cmd {string} command to execute 7 | * @param args {array} command line args 8 | * @param options {Object} extra options 9 | * @return {Promise} 10 | */ 11 | const exec = (cmd, args = [], options = {}) => 12 | new Promise((resolve, reject) => { 13 | let outputData = ''; 14 | const optionsToCLI = { 15 | ...options, 16 | }; 17 | if (!optionsToCLI.stdio) { 18 | Object.assign(optionsToCLI, { stdio: ['inherit', 'inherit', 'inherit'] }); 19 | } 20 | const app = spawn(cmd, args, optionsToCLI); 21 | if (app.stdout) { 22 | // Only needed for pipes 23 | app.stdout.on('data', (data) => { 24 | outputData += data.toString(); 25 | }); 26 | } 27 | 28 | app.on('close', (code) => { 29 | if (code !== 0) { 30 | return reject({ code, outputData }); 31 | } 32 | return resolve({ code, outputData }); 33 | }); 34 | app.on('error', () => reject({ code: 1, outputData })); 35 | }); 36 | 37 | /** 38 | * Builds the new readme by replacing the readme's tags 39 | * @param previousContent {string} actual readme content 40 | * @param newContent {string} content to add 41 | * @return {string}: content after combining previousContent and newContent 42 | */ 43 | const buildReadme = (previousContent, newContent) => { 44 | const tagNameInput = core.getInput('comment_tag_name'); 45 | const tagToLookFor = tagNameInput ? `'; 47 | const tagNewlineFlag = core.getInput('tag_post_pre_newline') === 'true'; 48 | const startOfOpeningTagIndex = previousContent.indexOf(`${tagToLookFor}START`); 49 | const endOfOpeningTagIndex = previousContent.indexOf(closingTag, startOfOpeningTagIndex); 50 | const startOfClosingTagIndex = previousContent.indexOf(`${tagToLookFor}END`, endOfOpeningTagIndex); 51 | if (startOfOpeningTagIndex === -1 || endOfOpeningTagIndex === -1 || startOfClosingTagIndex === -1) { 52 | // Exit with error if comment is not found on the readme 53 | core.error(`Cannot find the comment tag on the readme:\n${tagToLookFor}START -->\n${tagToLookFor}END -->`); 54 | process.exit(1); 55 | } 56 | return [ 57 | previousContent.slice(0, endOfOpeningTagIndex + closingTag.length), 58 | tagNewlineFlag ? '\n' : '', 59 | newContent, 60 | tagNewlineFlag ? '\n' : '', 61 | previousContent.slice(startOfClosingTagIndex), 62 | ].join(''); 63 | }; 64 | 65 | /** 66 | * Unicode aware javascript truncate 67 | * @param str {string} string to truncated 68 | * @param length {number} length to truncate 69 | * @return {string} truncated value 70 | */ 71 | const truncateString = (str, length) => { 72 | const trimmedString = str.trim(); 73 | const truncatedString = [...trimmedString].slice(0, length).join(''); 74 | return truncatedString === trimmedString ? trimmedString : `${truncatedString.trim()}...`; 75 | }; 76 | 77 | /** 78 | * Code to do git commit 79 | * @param githubToken {string} github token 80 | * @param readmeFilePaths {string[]} path to the readme file 81 | * @return {Promise} 82 | */ 83 | const commitReadme = async (githubToken, readmeFilePaths) => { 84 | // Getting config 85 | const committerUsername = core.getInput('committer_username'); 86 | const committerEmail = core.getInput('committer_email'); 87 | const commitMessage = core.getInput('commit_message'); 88 | // Doing commit and push 89 | await exec('git', ['config', '--global', 'user.email', committerEmail]); 90 | if (githubToken) { 91 | // git remote set-url origin 92 | await exec('git', [ 93 | 'remote', 94 | 'set-url', 95 | 'origin', 96 | `https://${githubToken}@github.com/${process.env.GITHUB_REPOSITORY}.git`, 97 | ]); 98 | } 99 | await exec('git', ['config', '--global', 'user.name', committerUsername]); 100 | await exec('git', ['add', ...readmeFilePaths]); 101 | await exec('git', ['commit', '-m', commitMessage]); 102 | await exec('git', ['push']); 103 | core.info('Readme updated successfully in the upstream repository'); 104 | }; 105 | 106 | /** 107 | * Compound parameter parser, Updates obj with compound parameters and returns item name 108 | * @param sourceWithParam filter source with compound param eg: stackoverflow/Comment by $author/ 109 | * @param obj {Object} object to update 110 | * @return {string} actual source name eg: stackoverflow 111 | */ 112 | const updateAndParseCompoundParams = (sourceWithParam, obj) => { 113 | const param = sourceWithParam.split('/'); // Reading params ['stackoverflow','Comment by $author', ''] 114 | if (param.length === 3) { 115 | Object.assign(obj, { [param[0]]: param[1] }); 116 | return param[0]; // Returning source name 117 | } 118 | return sourceWithParam; 119 | }; 120 | 121 | /** 122 | * Returns parsed parameterized templates as array or return null 123 | * @param template 124 | * @param keyName 125 | * @return {null|string[]} 126 | */ 127 | const getParameterisedTemplate = (template, keyName) => { 128 | const key = `$${keyName}(`; 129 | if (template.indexOf(key) > -1) { 130 | const startIndex = template.indexOf(key) + key.length; 131 | const endIndex = template.indexOf(')', startIndex); 132 | if (endIndex === -1) { 133 | return null; 134 | } 135 | return template 136 | .slice(startIndex, endIndex) 137 | .split(',') 138 | .map((item) => item.trim()); 139 | } 140 | return null; 141 | }; 142 | 143 | /*** 144 | * Returns html encoded version of some of the conflicting markdown special characters 145 | * @param str {string} string to escape 146 | * @return string 147 | */ 148 | const escapeHTML = (str) => 149 | str.replace( 150 | /[&<>')("]/g, 151 | (tag) => 152 | ({ 153 | '&': '&', 154 | '<': '<', 155 | '>': '>', 156 | "'": ''', 157 | '"': '"', 158 | ')': ')', 159 | '(': '(', 160 | })[tag], 161 | ); 162 | 163 | /** 164 | * @typedef CategoryObj 165 | * @property {string} _ 166 | */ 167 | 168 | /*** 169 | * Converts categories from RSS Spec to parseable arrays 170 | * https://validator.w3.org/feed/docs/rss2.html#ltcategorygtSubelementOfLtitemgt 171 | * @param categories {[CategoryObj] | [string]} 172 | * @returns {[string]} 173 | */ 174 | const categoriesToArray = (categories) => { 175 | const categoriesStr = []; 176 | if (Array.isArray(categories)) { 177 | for (const item of categories) { 178 | // C# 179 | // Controller 180 | if (typeof item === 'string') { 181 | categoriesStr.push(item); 182 | } 183 | // C# 184 | // Controller 185 | else if (typeof item === 'object' && item._) { 186 | categoriesStr.push(item._); 187 | } 188 | } 189 | } 190 | return categoriesStr; 191 | }; 192 | 193 | module.exports = { 194 | updateAndParseCompoundParams, 195 | commitReadme, 196 | truncateString, 197 | buildReadme, 198 | exec, 199 | getParameterisedTemplate, 200 | escapeHTML, 201 | categoriesToArray, 202 | }; 203 | -------------------------------------------------------------------------------- /test/.gitignore: -------------------------------------------------------------------------------- 1 | *.md 2 | snapshots/*.md 3 | -------------------------------------------------------------------------------- /test/categories-template.js: -------------------------------------------------------------------------------- 1 | const { DEFAULT_TEST_ENV } = require('./testUtils/default-env'); 2 | const { runAndCompareSnap } = require('./testUtils/testUtils'); 3 | describe('Generated readme with categories template', () => { 4 | it('should match the snapshot', async () => { 5 | const envObj = { 6 | ...process.env, 7 | ...DEFAULT_TEST_ENV, 8 | INPUT_FEED_LIST: 'http://localhost:8080', 9 | INPUT_TEMPLATE: '$categories', 10 | INPUT_CATEGORIES_TEMPLATE: '$category
', 11 | }; 12 | await runAndCompareSnap('Readme.categories.template.md', envObj); 13 | }); 14 | }); 15 | -------------------------------------------------------------------------------- /test/categories.js: -------------------------------------------------------------------------------- 1 | const { DEFAULT_TEST_ENV } = require('./testUtils/default-env'); 2 | const { runAndCompareSnap } = require('./testUtils/testUtils'); 3 | describe('Generated readme with categories names', () => { 4 | it('should match the snapshot', async () => { 5 | const envObj = { 6 | ...process.env, 7 | ...DEFAULT_TEST_ENV, 8 | INPUT_FEED_LIST: 'http://localhost:8080', 9 | INPUT_TEMPLATE: '$categories', 10 | }; 11 | await runAndCompareSnap('Readme.categories.md', envObj); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /test/counter.js: -------------------------------------------------------------------------------- 1 | const { DEFAULT_TEST_ENV } = require('./testUtils/default-env'); 2 | const { runAndCompareSnap } = require('./testUtils/testUtils'); 3 | describe('Generated readme with $counter template', () => { 4 | it('should match the snapshot', async () => { 5 | const envObj = { 6 | ...process.env, 7 | ...DEFAULT_TEST_ENV, 8 | INPUT_TEMPLATE: '- $counter $title', 9 | }; 10 | await runAndCompareSnap('Readme.counter.md', envObj); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /test/custom-template.js: -------------------------------------------------------------------------------- 1 | const { DEFAULT_TEST_ENV } = require('./testUtils/default-env'); 2 | const { runAndCompareSnap } = require('./testUtils/testUtils'); 3 | describe('Custom template readme generated', () => { 4 | it('should match the snapshot', async () => { 5 | const envObj = { 6 | ...process.env, 7 | ...DEFAULT_TEST_ENV, 8 | INPUT_TEMPLATE: '$newline[$title]($url): $date $description $newline', 9 | }; 10 | await runAndCompareSnap('Readme.custom.md', envObj); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /test/default.js: -------------------------------------------------------------------------------- 1 | const { DEFAULT_TEST_ENV } = require('./testUtils/default-env'); 2 | const { runAndCompareSnap } = require('./testUtils/testUtils'); 3 | describe('Default template readme generated', () => { 4 | it('should match the snapshot', async () => { 5 | const envObj = { 6 | ...DEFAULT_TEST_ENV, 7 | }; 8 | await runAndCompareSnap('Readme.md', envObj); 9 | }); 10 | }); 11 | -------------------------------------------------------------------------------- /test/disable-sort-reverse.js: -------------------------------------------------------------------------------- 1 | const { DEFAULT_TEST_ENV } = require('./testUtils/default-env'); 2 | const { runAndCompareSnap } = require('./testUtils/testUtils'); 3 | 4 | describe('Disabled sort with desc order (disable_sort: true, sort_order: desc)', () => { 5 | it('should reverse feed order and be equal to the saved snapshot', async () => { 6 | const envObj = { 7 | ...process.env, 8 | ...DEFAULT_TEST_ENV, 9 | INPUT_DISABLE_SORT: 'true', 10 | INPUT_REVERSE_ORDER: 'true', 11 | INPUT_MAX_POST_COUNT: '3', 12 | }; 13 | await runAndCompareSnap('Readme.disable-sort-reverse-order.md', envObj); 14 | }); 15 | }); 16 | -------------------------------------------------------------------------------- /test/disable-sort.js: -------------------------------------------------------------------------------- 1 | const { DEFAULT_TEST_ENV } = require('./testUtils/default-env'); 2 | const { runAndCompareSnap } = require('./testUtils/testUtils'); 3 | describe('Sorting disabled readme', () => { 4 | it('should be equal to the saved snapshot', async () => { 5 | const envObj = { 6 | ...process.env, 7 | ...DEFAULT_TEST_ENV, 8 | INPUT_DISABLE_SORT: 'true', 9 | }; 10 | await runAndCompareSnap('Readme.sort.md', envObj); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /test/duplicate.js: -------------------------------------------------------------------------------- 1 | const { DEFAULT_TEST_ENV } = require('./testUtils/default-env'); 2 | const { runAndCompareSnap } = require('./testUtils/testUtils'); 3 | describe('Generated readme with remove duplicates flag', () => { 4 | it('should match the snapshot', async () => { 5 | const envObj = { 6 | ...process.env, 7 | ...DEFAULT_TEST_ENV, 8 | INPUT_FEED_LIST: 'http://localhost:8080/duplicates', 9 | INPUT_REMOVE_DUPLICATES: 'true', 10 | }; 11 | await runAndCompareSnap('Readme.removeDuplicates.md', envObj); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /test/emojikey.js: -------------------------------------------------------------------------------- 1 | const { DEFAULT_TEST_ENV } = require('./testUtils/default-env'); 2 | const { runAndCompareSnap } = require('./testUtils/testUtils'); 3 | describe('Generated readme with $emojiKey template', () => { 4 | it('should match the snapshot', async () => { 5 | const envObj = { 6 | ...process.env, 7 | ...DEFAULT_TEST_ENV, 8 | INPUT_TEMPLATE: '- $emojiKey(💯,🔥)', 9 | }; 10 | await runAndCompareSnap('Readme.emojiKey.md', envObj); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /test/feed-names.js: -------------------------------------------------------------------------------- 1 | const { DEFAULT_TEST_ENV } = require('./testUtils/default-env'); 2 | const { runAndCompareSnap } = require('./testUtils/testUtils'); 3 | describe('Generated readme with feed names', () => { 4 | it('should match the snapshot', async () => { 5 | const envObj = { 6 | ...process.env, 7 | ...DEFAULT_TEST_ENV, 8 | INPUT_FEED_LIST: 'http://localhost:8080,http://localhost:8080,http://localhost:8080', 9 | INPUT_FEED_NAMES: 'hello,,world', 10 | INPUT_TEMPLATE: '$newline - $feedName -> $title ', 11 | INPUT_MAX_POST_COUNT: '100', 12 | }; 13 | await runAndCompareSnap('Readme.feedNames.md', envObj); 14 | }); 15 | }); 16 | -------------------------------------------------------------------------------- /test/js-manipulation.js: -------------------------------------------------------------------------------- 1 | const { DEFAULT_TEST_ENV } = require('./testUtils/default-env'); 2 | const { runAndCompareSnap } = require('./testUtils/testUtils'); 3 | describe('Generated readme with advanced manipulation via JS', () => { 4 | it('should match the snapshot', async () => { 5 | const envObj = { 6 | ...process.env, 7 | ...DEFAULT_TEST_ENV, 8 | INPUT_ITEM_EXEC: 'post.title=post.title.replace("Gautam",""); post.title=post.title.replace("browser","");', 9 | }; 10 | await runAndCompareSnap('Readme.exec.md', envObj); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /test/max-post-count.js: -------------------------------------------------------------------------------- 1 | const { DEFAULT_TEST_ENV } = require('./testUtils/default-env'); 2 | const { runAndCompareSnap } = require('./testUtils/testUtils'); 3 | describe('Generated readme with max post count', () => { 4 | it('should match the snapshot', async () => { 5 | const envObj = { 6 | ...process.env, 7 | ...DEFAULT_TEST_ENV, 8 | INPUT_MAX_POST_COUNT: '1', 9 | }; 10 | await runAndCompareSnap('Readme.maxPostCount.md', envObj); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /test/multiple.js: -------------------------------------------------------------------------------- 1 | const { DEFAULT_TEST_ENV } = require('./testUtils/default-env'); 2 | const path = require('node:path'); 3 | const fs = require('node:fs'); 4 | const assert = require('node:assert'); 5 | const { TEST_SNAP_DIR, TEMPLATE, TEST_FILE } = require('./testUtils/testUtils'); 6 | describe('Multiple readme generated via readme_path', () => { 7 | it('should match the snapshots', async () => { 8 | const readme1 = path.join(TEST_SNAP_DIR, 'Readme.multi.1.md'); 9 | const readme2 = path.join(TEST_SNAP_DIR, 'Readme.multi.2.md'); 10 | const envObj = { 11 | ...DEFAULT_TEST_ENV, 12 | INPUT_README_PATH: `${readme1},${readme2}`, 13 | }; 14 | process.env = { 15 | ...process.env, 16 | ...envObj, 17 | }; 18 | fs.writeFileSync(readme1, TEMPLATE); 19 | fs.writeFileSync(readme2, TEMPLATE); 20 | const workflow = await require(TEST_FILE); 21 | await workflow.runWorkflow(); 22 | const snapshot1 = fs.readFileSync(`${readme1}.snap`, 'utf-8'); 23 | const snapshot2 = fs.readFileSync(`${readme2}.snap`, 'utf-8'); 24 | const newReadme1 = fs.readFileSync(readme1, 'utf-8'); 25 | const newReadme2 = fs.readFileSync(readme2, 'utf-8'); 26 | assert.strictEqual(snapshot1, newReadme1); 27 | assert.strictEqual(snapshot2, newReadme2); 28 | }); 29 | }); 30 | -------------------------------------------------------------------------------- /test/random-emoji.js: -------------------------------------------------------------------------------- 1 | const { DEFAULT_TEST_ENV } = require('./testUtils/default-env'); 2 | const { runAndCompareSnap } = require('./testUtils/testUtils'); 3 | describe('Default template readme generated', () => { 4 | it('Generated readme with $randomEmoji template should match the snapshot', async () => { 5 | const envObj = { 6 | ...process.env, 7 | ...DEFAULT_TEST_ENV, 8 | INPUT_TEMPLATE: '- $randomEmoji(💯,🔥,💫,🚀,🌮)', 9 | }; 10 | await runAndCompareSnap('Readme.randomEmoji.md', envObj); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /test/retry.js: -------------------------------------------------------------------------------- 1 | const { DEFAULT_TEST_ENV } = require('./testUtils/default-env'); 2 | const { runAndCompareSnap } = require('./testUtils/testUtils'); 3 | describe('Readme generated after retry', () => { 4 | it('should match the snapshot', async () => { 5 | const envObj = { 6 | ...process.env, 7 | ...DEFAULT_TEST_ENV, 8 | INPUT_FEED_LIST: 'http://localhost:8080/failtest', 9 | INPUT_RETRY_COUNT: '5', 10 | }; 11 | await runAndCompareSnap('Readme.retry.md', envObj); 12 | }).timeout(20 * 1000); 13 | }); 14 | -------------------------------------------------------------------------------- /test/snapshots/Readme.categories.md.snap: -------------------------------------------------------------------------------- 1 | # Readme test 2 | Post list example: 3 | chrome, firefox, devtools, webdevtrick, chrome, privacy, httpsmicrosoft, student, partner, mspnumpy, python, introductionintroductionsduckduckgo, searching, tips, privacy 4 | 5 | # Other contents 6 | Test content 7 | -------------------------------------------------------------------------------- /test/snapshots/Readme.categories.template.md.snap: -------------------------------------------------------------------------------- 1 | # Readme test 2 | Post list example: 3 | chrome
firefox
devtools
webdev
trick
chrome
privacy
https
microsoft
student
partner
msp
numpy
python
introduction
introductions
duckduckgo
searching
tips
privacy
4 | 5 | # Other contents 6 | Test content 7 | -------------------------------------------------------------------------------- /test/snapshots/Readme.comments.md.snap: -------------------------------------------------------------------------------- 1 | # Readme test 2 | Post list example: 3 | 4 | - [God Mode in browsers: document.designMode = "on"](https://dev.to/gautamkrishnar/god-mode-in-browsers-document-designmode-on-2pmo) 5 | - [Skipping the Chrome "Your connection is not private" warning](https://dev.to/gautamkrishnar/quickbits-1-skipping-the-chrome-your-connection-is-not-private-warning-4kp1) 6 | - [Microsoft Student Partners – Geek is the new rockstar](https://dev.to/gautamkrishnar/microsoft-student-partners--geek-is-the-new-rockstar) 7 | - [An Introduction to NumPy](https://dev.to/gautamkrishnar/an-introduction-to-numpy) 8 | - [Comment by Gautam Krishna R on test](https://stackoverflow.com/questions/49310909/omniauth-facebook-login-does-not-work/49311637?cid=85720166#49311637) 9 | - [Hi, I'm Gautam krishna.R](https://dev.to/gautamkrishnar/hi-im-gautam-krishnar) 10 | - [DuckDuckGo – The search engine redefined](https://dev.to/gautamkrishnar/duckduckgo-the-search-engine-redefined-4c7d) 11 | 12 | 13 | # Other contents 14 | Test content 15 | -------------------------------------------------------------------------------- /test/snapshots/Readme.counter.md.snap: -------------------------------------------------------------------------------- 1 | # Readme test 2 | Post list example: 3 | - 1 God Mode in browsers: document.designMode = "on"- 2 Skipping the Chrome "Your connection is not private" warning- 3 Microsoft Student Partners – Geek is the new rockstar- 4 An Introduction to NumPy- 5 Hi, I'm Gautam krishna.R- 6 DuckDuckGo – The search engine redefined 4 | 5 | # Other contents 6 | Test content 7 | -------------------------------------------------------------------------------- /test/snapshots/Readme.custom-tags.md.snap: -------------------------------------------------------------------------------- 1 | # Readme test 2 | Post list example: 3 | God Mode in browsers: document.designMode = "on" https://dev.to/gautamkrishnar/god-mode-in-browsers-document-designmode-on-2pmo world 4 | Skipping the Chrome "Your connection is not private" warning https://dev.to/gautamkrishnar/quickbits-1-skipping-the-chrome-your-connection-is-not-private-warning-4kp1 5 | Microsoft Student Partners – Geek is the new rockstar https://dev.to/gautamkrishnar/microsoft-student-partners--geek-is-the-new-rockstar 6 | An Introduction to NumPy https://dev.to/gautamkrishnar/an-introduction-to-numpy 7 | Hi, I'm Gautam krishna.R https://dev.to/gautamkrishnar/hi-im-gautam-krishnar hello apple 8 | DuckDuckGo – The search engine redefined https://dev.to/gautamkrishnar/duckduckgo-the-search-engine-redefined-4c7d 9 | 10 | 11 | # Other contents 12 | Test content 13 | -------------------------------------------------------------------------------- /test/snapshots/Readme.disable-sort-reverse-order.md.snap: -------------------------------------------------------------------------------- 1 | # Readme test 2 | Post list example: 3 | 4 | - [An Introduction to NumPy](https://dev.to/gautamkrishnar/an-introduction-to-numpy) 5 | - [Skipping the Chrome "Your connection is not private" warning](https://dev.to/gautamkrishnar/quickbits-1-skipping-the-chrome-your-connection-is-not-private-warning-4kp1) 6 | - [DuckDuckGo – The search engine redefined](https://dev.to/gautamkrishnar/duckduckgo-the-search-engine-redefined-4c7d) 7 | 8 | 9 | # Other contents 10 | Test content 11 | -------------------------------------------------------------------------------- /test/snapshots/Readme.emojiKey.md.snap: -------------------------------------------------------------------------------- 1 | # Readme test 2 | Post list example: 3 | - 💯- 🔥- 💯- 🔥- 💯- 🔥 4 | 5 | # Other contents 6 | Test content 7 | -------------------------------------------------------------------------------- /test/snapshots/Readme.emptyTags.md.snap: -------------------------------------------------------------------------------- 1 | # Readme test 2 | Post list example: 3 | 4 | - []() 5 | 6 | 7 | # Other contents 8 | Test content 9 | -------------------------------------------------------------------------------- /test/snapshots/Readme.exec.md.snap: -------------------------------------------------------------------------------- 1 | # Readme test 2 | Post list example: 3 | 4 | - [God Mode in s: document.designMode = "on"](https://dev.to/gautamkrishnar/god-mode-in-browsers-document-designmode-on-2pmo) 5 | - [Skipping the Chrome "Your connection is not private" warning](https://dev.to/gautamkrishnar/quickbits-1-skipping-the-chrome-your-connection-is-not-private-warning-4kp1) 6 | - [Microsoft Student Partners – Geek is the new rockstar](https://dev.to/gautamkrishnar/microsoft-student-partners--geek-is-the-new-rockstar) 7 | - [An Introduction to NumPy](https://dev.to/gautamkrishnar/an-introduction-to-numpy) 8 | - [Hi, I'm krishna.R](https://dev.to/gautamkrishnar/hi-im-gautam-krishnar) 9 | - [DuckDuckGo – The search engine redefined](https://dev.to/gautamkrishnar/duckduckgo-the-search-engine-redefined-4c7d) 10 | 11 | 12 | # Other contents 13 | Test content 14 | -------------------------------------------------------------------------------- /test/snapshots/Readme.feedNames.md.snap: -------------------------------------------------------------------------------- 1 | # Readme test 2 | Post list example: 3 | 4 | - hello -> God Mode in browsers: document.designMode = "on" 5 | - -> God Mode in browsers: document.designMode = "on" 6 | - world -> God Mode in browsers: document.designMode = "on" 7 | - hello -> Skipping the Chrome "Your connection is not private" warning 8 | - -> Skipping the Chrome "Your connection is not private" warning 9 | - world -> Skipping the Chrome "Your connection is not private" warning 10 | - hello -> Microsoft Student Partners – Geek is the new rockstar 11 | - -> Microsoft Student Partners – Geek is the new rockstar 12 | - world -> Microsoft Student Partners – Geek is the new rockstar 13 | - hello -> An Introduction to NumPy 14 | - -> An Introduction to NumPy 15 | - world -> An Introduction to NumPy 16 | - hello -> Hi, I'm Gautam krishna.R 17 | - -> Hi, I'm Gautam krishna.R 18 | - world -> Hi, I'm Gautam krishna.R 19 | - hello -> DuckDuckGo – The search engine redefined 20 | - -> DuckDuckGo – The search engine redefined 21 | - world -> DuckDuckGo – The search engine redefined 22 | 23 | # Other contents 24 | Test content 25 | -------------------------------------------------------------------------------- /test/snapshots/Readme.maxPostCount.md.snap: -------------------------------------------------------------------------------- 1 | # Readme test 2 | Post list example: 3 | 4 | - [God Mode in browsers: document.designMode = "on"](https://dev.to/gautamkrishnar/god-mode-in-browsers-document-designmode-on-2pmo) 5 | 6 | 7 | # Other contents 8 | Test content 9 | -------------------------------------------------------------------------------- /test/snapshots/Readme.md.snap: -------------------------------------------------------------------------------- 1 | # Readme test 2 | Post list example: 3 | 4 | - [God Mode in browsers: document.designMode = "on"](https://dev.to/gautamkrishnar/god-mode-in-browsers-document-designmode-on-2pmo) 5 | - [Skipping the Chrome "Your connection is not private" warning](https://dev.to/gautamkrishnar/quickbits-1-skipping-the-chrome-your-connection-is-not-private-warning-4kp1) 6 | - [Microsoft Student Partners – Geek is the new rockstar](https://dev.to/gautamkrishnar/microsoft-student-partners--geek-is-the-new-rockstar) 7 | - [An Introduction to NumPy](https://dev.to/gautamkrishnar/an-introduction-to-numpy) 8 | - [Hi, I'm Gautam krishna.R](https://dev.to/gautamkrishnar/hi-im-gautam-krishnar) 9 | - [DuckDuckGo – The search engine redefined](https://dev.to/gautamkrishnar/duckduckgo-the-search-engine-redefined-4c7d) 10 | 11 | 12 | # Other contents 13 | Test content 14 | -------------------------------------------------------------------------------- /test/snapshots/Readme.multi.1.md.snap: -------------------------------------------------------------------------------- 1 | # Readme test 2 | Post list example: 3 | 4 | - [God Mode in browsers: document.designMode = "on"](https://dev.to/gautamkrishnar/god-mode-in-browsers-document-designmode-on-2pmo) 5 | - [Skipping the Chrome "Your connection is not private" warning](https://dev.to/gautamkrishnar/quickbits-1-skipping-the-chrome-your-connection-is-not-private-warning-4kp1) 6 | - [Microsoft Student Partners – Geek is the new rockstar](https://dev.to/gautamkrishnar/microsoft-student-partners--geek-is-the-new-rockstar) 7 | - [An Introduction to NumPy](https://dev.to/gautamkrishnar/an-introduction-to-numpy) 8 | - [Hi, I'm Gautam krishna.R](https://dev.to/gautamkrishnar/hi-im-gautam-krishnar) 9 | - [DuckDuckGo – The search engine redefined](https://dev.to/gautamkrishnar/duckduckgo-the-search-engine-redefined-4c7d) 10 | 11 | 12 | # Other contents 13 | Test content 14 | -------------------------------------------------------------------------------- /test/snapshots/Readme.multi.2.md.snap: -------------------------------------------------------------------------------- 1 | # Readme test 2 | Post list example: 3 | 4 | - [God Mode in browsers: document.designMode = "on"](https://dev.to/gautamkrishnar/god-mode-in-browsers-document-designmode-on-2pmo) 5 | - [Skipping the Chrome "Your connection is not private" warning](https://dev.to/gautamkrishnar/quickbits-1-skipping-the-chrome-your-connection-is-not-private-warning-4kp1) 6 | - [Microsoft Student Partners – Geek is the new rockstar](https://dev.to/gautamkrishnar/microsoft-student-partners--geek-is-the-new-rockstar) 7 | - [An Introduction to NumPy](https://dev.to/gautamkrishnar/an-introduction-to-numpy) 8 | - [Hi, I'm Gautam krishna.R](https://dev.to/gautamkrishnar/hi-im-gautam-krishnar) 9 | - [DuckDuckGo – The search engine redefined](https://dev.to/gautamkrishnar/duckduckgo-the-search-engine-redefined-4c7d) 10 | 11 | 12 | # Other contents 13 | Test content 14 | -------------------------------------------------------------------------------- /test/snapshots/Readme.randomEmoji.md.snap: -------------------------------------------------------------------------------- 1 | # Readme test 2 | Post list example: 3 | - 🌮- 💫- 🌮- 🚀- 🔥- 🚀 4 | 5 | # Other contents 6 | Test content 7 | -------------------------------------------------------------------------------- /test/snapshots/Readme.removeDuplicates.md.snap: -------------------------------------------------------------------------------- 1 | # Readme test 2 | Post list example: 3 | 4 | - [God Mode in browsers: document.designMode = "on"](https://dev.to/gautamkrishnar/god-mode-in-browsers-document-designmode-on-2pmo) 5 | - [Hi, I'm Gautam krishna.R](https://dev.to/gautamkrishnar/hi-im-gautam-krishnar) 6 | 7 | 8 | # Other contents 9 | Test content 10 | -------------------------------------------------------------------------------- /test/snapshots/Readme.retry.md.snap: -------------------------------------------------------------------------------- 1 | # Readme test 2 | Post list example: 3 | 4 | - [God Mode in browsers: document.designMode = "on"](https://dev.to/gautamkrishnar/god-mode-in-browsers-document-designmode-on-2pmo) 5 | - [Skipping the Chrome "Your connection is not private" warning](https://dev.to/gautamkrishnar/quickbits-1-skipping-the-chrome-your-connection-is-not-private-warning-4kp1) 6 | - [Microsoft Student Partners – Geek is the new rockstar](https://dev.to/gautamkrishnar/microsoft-student-partners--geek-is-the-new-rockstar) 7 | - [An Introduction to NumPy](https://dev.to/gautamkrishnar/an-introduction-to-numpy) 8 | - [Hi, I'm Gautam krishna.R](https://dev.to/gautamkrishnar/hi-im-gautam-krishnar) 9 | - [DuckDuckGo – The search engine redefined](https://dev.to/gautamkrishnar/duckduckgo-the-search-engine-redefined-4c7d) 10 | 11 | 12 | # Other contents 13 | Test content 14 | -------------------------------------------------------------------------------- /test/snapshots/Readme.sort-order-asc.md.snap: -------------------------------------------------------------------------------- 1 | # Readme test 2 | Post list example: 3 | 4 | - [DuckDuckGo – The search engine redefined](https://dev.to/gautamkrishnar/duckduckgo-the-search-engine-redefined-4c7d) 5 | - [Hi, I'm Gautam krishna.R](https://dev.to/gautamkrishnar/hi-im-gautam-krishnar) 6 | - [An Introduction to NumPy](https://dev.to/gautamkrishnar/an-introduction-to-numpy) 7 | - [Microsoft Student Partners – Geek is the new rockstar](https://dev.to/gautamkrishnar/microsoft-student-partners--geek-is-the-new-rockstar) 8 | - [Skipping the Chrome "Your connection is not private" warning](https://dev.to/gautamkrishnar/quickbits-1-skipping-the-chrome-your-connection-is-not-private-warning-4kp1) 9 | - [God Mode in browsers: document.designMode = "on"](https://dev.to/gautamkrishnar/god-mode-in-browsers-document-designmode-on-2pmo) 10 | 11 | 12 | # Other contents 13 | Test content 14 | -------------------------------------------------------------------------------- /test/snapshots/Readme.sort.md.snap: -------------------------------------------------------------------------------- 1 | # Readme test 2 | Post list example: 3 | 4 | - [Hi, I'm Gautam krishna.R](https://dev.to/gautamkrishnar/hi-im-gautam-krishnar) 5 | - [God Mode in browsers: document.designMode = "on"](https://dev.to/gautamkrishnar/god-mode-in-browsers-document-designmode-on-2pmo) 6 | - [Microsoft Student Partners – Geek is the new rockstar](https://dev.to/gautamkrishnar/microsoft-student-partners--geek-is-the-new-rockstar) 7 | - [DuckDuckGo – The search engine redefined](https://dev.to/gautamkrishnar/duckduckgo-the-search-engine-redefined-4c7d) 8 | - [Skipping the Chrome "Your connection is not private" warning](https://dev.to/gautamkrishnar/quickbits-1-skipping-the-chrome-your-connection-is-not-private-warning-4kp1) 9 | - [An Introduction to NumPy](https://dev.to/gautamkrishnar/an-introduction-to-numpy) 10 | 11 | 12 | # Other contents 13 | Test content 14 | -------------------------------------------------------------------------------- /test/snapshots/Readme.truncate.description.md.snap: -------------------------------------------------------------------------------- 1 | # Readme test 2 | Post list example: 3 | <p>Just ty... 4 | <p>You guy... 5 | <p><a href... 6 | <p><a href... 7 | <p>I have... 8 | <p><a href... 9 | 10 | 11 | # Other contents 12 | Test content 13 | -------------------------------------------------------------------------------- /test/snapshots/Readme.truncate.title.md.snap: -------------------------------------------------------------------------------- 1 | # Readme test 2 | Post list example: 3 | 4 | - [God Mode i...](https://dev.to/gautamkrishnar/god-mode-in-browsers-document-designmode-on-2pmo) 5 | - [Skipping t...](https://dev.to/gautamkrishnar/quickbits-1-skipping-the-chrome-your-connection-is-not-private-warning-4kp1) 6 | - [Microsoft...](https://dev.to/gautamkrishnar/microsoft-student-partners--geek-is-the-new-rockstar) 7 | - [An Introdu...](https://dev.to/gautamkrishnar/an-introduction-to-numpy) 8 | - [Hi, I'm Ga...](https://dev.to/gautamkrishnar/hi-im-gautam-krishnar) 9 | - [DuckDuckGo...](https://dev.to/gautamkrishnar/duckduckgo-the-search-engine-redefined-4c7d) 10 | 11 | 12 | # Other contents 13 | Test content 14 | -------------------------------------------------------------------------------- /test/sort-order-asc.js: -------------------------------------------------------------------------------- 1 | const { DEFAULT_TEST_ENV } = require('./testUtils/default-env'); 2 | const { runAndCompareSnap } = require('./testUtils/testUtils'); 3 | 4 | describe('Ascending sort order readme (sort_order: asc)', () => { 5 | it('should be equal to the saved snapshot', async () => { 6 | const envObj = { 7 | ...process.env, 8 | ...DEFAULT_TEST_ENV, 9 | INPUT_SORT_ORDER: 'asc', 10 | }; 11 | // Snapshot name will also need to be changed to Readme.sort-order-asc.md 12 | await runAndCompareSnap('Readme.sort-order-asc.md', envObj); 13 | }); 14 | }); 15 | -------------------------------------------------------------------------------- /test/testUtils/default-env.js: -------------------------------------------------------------------------------- 1 | const DEFAULT_TEST_ENV = { 2 | INPUT_MAX_POST_COUNT: '10', 3 | INPUT_FEED_LIST: 'http://localhost:8080', 4 | INPUT_DISABLE_SORT: 'false', 5 | INPUT_SORT_ORDER: 'desc', 6 | INPUT_TEMPLATE: 'default', 7 | INPUT_FILTER_COMMENTS: 'medium,stackoverflow/Comment by $author/,stackexchange/Comment by $author/', 8 | INPUT_USER_AGENT: 'rss-parser', 9 | INPUT_ACCEPT_HEADER: 'application/rss+xml', 10 | INPUT_GH_TOKEN: 'secret-test', 11 | INPUT_DATE_FORMAT: 'UTC:ddd mmm dd yyyy h:MM TT', 12 | INPUT_CUSTOM_TAGS: '', 13 | INPUT_TITLE_MAX_LENGTH: '', 14 | INPUT_DESCRIPTION_MAX_LENGTH: '', 15 | INPUT_ITEM_EXEC: '', 16 | INPUT_OUTPUT_ONLY: 'false', 17 | INPUT_ENABLE_KEEPALIVE: 'true', 18 | INPUT_TAG_POST_PRE_NEWLINE: 'false', 19 | INPUT_RETRY_COUNT: '0', 20 | INPUT_RETRY_WAIT_TIME: '1', 21 | INPUT_FEED_NAMES: '', 22 | INPUT_DISABLE_HTML_ENCODING: 'false', 23 | TEST_MODE: 'true', 24 | INPUT_CATEGORIES_TEMPLATE: 'default', 25 | INPUT_DISABLE_ITEM_VALIDATION: 'false', 26 | INPUT_FILTER_DATES: '', 27 | INPUT_RAND_SEED: '', 28 | INPUT_REMOVE_DUPLICATES: 'false', 29 | INPUT_SKIP_COMMIT: 'false', 30 | INPUT_REVERSE_ORDER: 'false', 31 | }; 32 | 33 | module.exports = { 34 | DEFAULT_TEST_ENV, 35 | }; 36 | -------------------------------------------------------------------------------- /test/testUtils/sample.duplicate.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Gautam krishna.R 5 | Gautam krishna.R 6 | Developer, open source lover and after all a wonderful human being... Software Engineer at Red Hat | DuckDuckGo Community Leader | Polygot 7 | https://dev.to/gautamkrishnar 8 | en 9 | 10 | Hi, I'm Gautam krishna.R 11 | Gautam krishna.R 12 | Sun, 02 Apr 2017 19:04:43 +0000 13 | https://dev.to/gautamkrishnar/hi-im-gautam-krishnar 14 | https://dev.to/gautamkrishnar/hi-im-gautam-krishnar 15 | <p>I have been coding for 9 years, I am a Microsoft student partner and DuckDuckGo community leader who's actively involved in several open source projects.</p> 16 | 17 | <p>You can find me on GitHub at <a href="https://github.com/gautamkrishnar">@gautamkrishnar</a></p> 18 | 19 | <p>You can also find me on Twitter as <a href="https://twitter.com/gautamkrishnar">@gautamkrishnar</a></p> 20 | 21 | <p>I live in Kollam.</p> 22 | 23 | <p>I mostly program in these languages: Phython, NodeJS, PHP, C, C#, Java.</p> 24 | 25 | <p>I am currently learning more about ML.</p> 26 | 27 | <p>Nice to meet you.</p> 28 | 29 | 30 | hello 31 | apple 32 | introductions 33 | 34 | 35 | God Mode in browsers: document.designMode = "on" 36 | Gautam krishna.R 37 | Thu, 16 Jul 2020 10:40:11 +0000 38 | world 39 | https://dev.to/gautamkrishnar/god-mode-in-browsers-document-designmode-on-2pmo 40 | https://dev.to/gautamkrishnar/god-mode-in-browsers-document-designmode-on-2pmo 41 | <p>Just type <code>document.designMode = "on"</code> on you favourite browser devtools and see the magic. </p> 42 | 43 | <p>It will make any website editable:</p> 44 | 45 | <p><a href="https://i.giphy.com/media/iDByhJJoZGSac2RH5z/giphy.gif" class="article-body-image-wrapper"><img src="https://i.giphy.com/media/iDByhJJoZGSac2RH5z/giphy.gif" alt="preview"></a></p> 46 | 47 | 48 | chrome 49 | firefox 50 | devtools 51 | webdev 52 | 53 | 54 | God Mode in browsers: document.designMode = "on" 55 | Gautam krishna.R 56 | Thu, 16 Jul 2020 10:40:11 +0000 57 | world 58 | https://dev.to/gautamkrishnar/god-mode-in-browsers-document-designmode-on-2pmo 59 | https://dev.to/gautamkrishnar/god-mode-in-browsers-document-designmode-on-2pmo 60 | <p>Just type <code>document.designMode = "on"</code> on you favourite browser devtools and see the magic. </p> 61 | 62 | <p>It will make any website editable:</p> 63 | 64 | <p><a href="https://i.giphy.com/media/iDByhJJoZGSac2RH5z/giphy.gif" class="article-body-image-wrapper"><img src="https://i.giphy.com/media/iDByhJJoZGSac2RH5z/giphy.gif" alt="preview"></a></p> 65 | 66 | 67 | chrome 68 | firefox 69 | devtools 70 | webdev 71 | 72 | 73 | Comment by Gautam Krishna R on test 74 | Gautam Krishna R 75 | Wed, 19 Apr 2017 12:24:15 +0000 76 | https://stackoverflow.com/questions/49310909/omniauth-facebook-login-does-not-work/49311637?cid=85720166#49311637 77 | https://stackoverflow.com/questions/49310909/omniauth-facebook-login-does-not-work/49311637?cid=85720166#49311637 78 | desc 79 | 80 | 81 | Comment by Gautam Krishna R on test 82 | Gautam Krishna R 83 | Wed, 19 Apr 2017 12:24:15 +0000 84 | https://stackoverflow.com/questions/49310909/omniauth-facebook-login-does-not-work/49311637?cid=85720166#49311637 85 | https://stackoverflow.com/questions/49310909/omniauth-facebook-login-does-not-work/49311637?cid=85720166#49311637 86 | desc 87 | 88 | 89 | 90 | 91 | -------------------------------------------------------------------------------- /test/testUtils/test-server.js: -------------------------------------------------------------------------------- 1 | const http = require('node:http'); 2 | const fs = require('node:fs'); 3 | const path = require('node:path'); 4 | let failCounter = 0; 5 | const MAX_FAIL_COUNT = 5; 6 | 7 | const sendResponse = (res, statusCode, data) => { 8 | res.writeHead(statusCode, { 'Content-Type': 'text/plain' }); 9 | res.write(data); 10 | res.end(); 11 | }; 12 | 13 | const xmlData = fs.readFileSync(path.join(__dirname, 'sample.xml'), 'utf-8'); 14 | const duplicateXmlData = fs.readFileSync(path.join(__dirname, 'sample.duplicate.xml'), 'utf-8'); 15 | 16 | http 17 | .createServer((req, res) => { 18 | if (req.url === '/failtest') { 19 | const showError = failCounter !== MAX_FAIL_COUNT; 20 | sendResponse(res, showError ? 500 : 200, showError ? 'error!' : xmlData); 21 | failCounter = failCounter + 1; 22 | } else if (req.url === '/empty-tags') { 23 | const emptyTagResponse = ` 24 | 25 | 26 | 27 | Gautam krishna.R 28 | Gautam krishna.R 29 | test 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | https://dev.to/gautamkrishnar/hi-im-gautam-krishnar 38 | 39 | hello 40 | apple 41 | introductions 42 | 43 | 44 | 45 | `; 46 | sendResponse(res, 200, emptyTagResponse); 47 | } else if (req.url === '/duplicates') { 48 | sendResponse(res, 200, duplicateXmlData); 49 | } else { 50 | sendResponse(res, 200, xmlData); 51 | } 52 | }) 53 | .listen(8080); 54 | -------------------------------------------------------------------------------- /test/testUtils/testUtils.js: -------------------------------------------------------------------------------- 1 | const path = require('node:path'); 2 | const fs = require('node:fs'); 3 | const assert = require('node:assert'); 4 | 5 | // Folder with readme snapshots 6 | const TEST_SNAP_DIR = path.join(path.dirname(__dirname), 'snapshots'); 7 | // language=markdown 8 | const TEMPLATE = `# Readme test 9 | Post list example: 10 | 11 | 12 | 13 | # Other contents 14 | Test content 15 | `; 16 | const projectDir = path.dirname(path.dirname(__dirname)); 17 | 18 | const TEST_FILE = process.env.DIST 19 | ? path.join(projectDir, 'dist/blog-post-workflow') 20 | : path.join(projectDir, 'src/blog-post-workflow'); 21 | console.log('Testing: ', TEST_FILE); 22 | 23 | const runAndCompareSnap = async (README_FILE, envObjParam) => { 24 | const readmePath = path.join(TEST_SNAP_DIR, README_FILE); 25 | const envObj = { 26 | ...envObjParam, 27 | INPUT_README_PATH: readmePath, 28 | }; 29 | if (fs.existsSync(readmePath)) { 30 | console.log('Removing stale test readme', readmePath); 31 | fs.rmSync(readmePath); 32 | } 33 | fs.writeFileSync(readmePath, TEMPLATE); 34 | process.env = { 35 | ...process.env, 36 | ...envObj, 37 | }; 38 | const workflow = await require(TEST_FILE); 39 | await workflow.runWorkflow(); 40 | const snapshot = fs.readFileSync(path.join(TEST_SNAP_DIR, `${README_FILE}.snap`), 'utf-8'); 41 | const newReadme = fs.readFileSync(readmePath, 'utf-8'); 42 | assert.strictEqual(snapshot, newReadme); 43 | }; 44 | 45 | module.exports = { 46 | runAndCompareSnap, 47 | TEST_SNAP_DIR, 48 | TEMPLATE, 49 | TEST_FILE, 50 | }; 51 | -------------------------------------------------------------------------------- /test/truncated description.js: -------------------------------------------------------------------------------- 1 | const { DEFAULT_TEST_ENV } = require('./testUtils/default-env'); 2 | const { runAndCompareSnap } = require('./testUtils/testUtils'); 3 | describe('Generated readme with truncated description', () => { 4 | it('should match the snapshot', async () => { 5 | const envObj = { 6 | ...process.env, 7 | ...DEFAULT_TEST_ENV, 8 | INPUT_DESCRIPTION_MAX_LENGTH: '10', 9 | INPUT_TEMPLATE: '$description $newline', 10 | }; 11 | await runAndCompareSnap('Readme.truncate.description.md', envObj); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /test/truncated-title.js: -------------------------------------------------------------------------------- 1 | const { DEFAULT_TEST_ENV } = require('./testUtils/default-env'); 2 | const { runAndCompareSnap } = require('./testUtils/testUtils'); 3 | describe('Generated readme with truncated title', () => { 4 | it('should match the snapshot', async () => { 5 | const envObj = { 6 | ...process.env, 7 | ...DEFAULT_TEST_ENV, 8 | INPUT_TITLE_MAX_LENGTH: '10', 9 | }; 10 | await runAndCompareSnap('Readme.truncate.title.md', envObj); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /test/util.test.js: -------------------------------------------------------------------------------- 1 | const assert = require('node:assert'); 2 | const { 3 | truncateString, 4 | updateAndParseCompoundParams, 5 | getParameterisedTemplate, 6 | escapeHTML, 7 | categoriesToArray, 8 | } = require('../src/utils'); 9 | // Skip utils check on dist tests because it is a bundle that do not export these functions 10 | if (process.env.DIST !== 'true') { 11 | describe('truncateString', () => { 12 | it('should return the original string if its length is less than or equal to the specified length', () => { 13 | const result = truncateString('Hello', 10); 14 | assert.strictEqual(result, 'Hello'); 15 | }); 16 | 17 | it('should truncate the string and add "..." if the string is longer than the specified length', () => { 18 | const result = truncateString('Hello, world!', 5); 19 | assert.strictEqual(result, 'Hello...'); 20 | }); 21 | 22 | it('should handle strings with leading and trailing spaces correctly', () => { 23 | const result = truncateString(' Hello, world! ', 5); 24 | assert.strictEqual(result, 'Hello...'); 25 | }); 26 | 27 | it('should return an empty string if an empty string is provided', () => { 28 | const result = truncateString('', 5); 29 | assert.strictEqual(result, ''); 30 | }); 31 | 32 | it('should return "..." if the specified length is zero', () => { 33 | const result = truncateString('Hello', 0); 34 | assert.strictEqual(result, '...'); 35 | }); 36 | 37 | it('should return "H..." if the specified length is 1 after trimming leading spaces', () => { 38 | const result = truncateString(' Hello', 1); 39 | assert.strictEqual(result, 'H...'); 40 | }); 41 | 42 | it('should correctly handle multi-byte characters', () => { 43 | const result = truncateString('こんにちは世界', 5); 44 | assert.strictEqual(result, 'こんにちは...'); 45 | }); 46 | }); 47 | 48 | describe('updateAndParseCompoundParams', () => { 49 | it('should update the object with the correct key-value pair and return the source name when the source has compound parameters', () => { 50 | const obj = {}; 51 | const result = updateAndParseCompoundParams('stackoverflow/Comment by $author/', obj); 52 | assert.strictEqual(result, 'stackoverflow'); 53 | assert.deepStrictEqual(obj, { stackoverflow: 'Comment by $author' }); 54 | }); 55 | 56 | it('should return the original source name if the source does not contain exactly 3 parts', () => { 57 | const obj = {}; 58 | const result = updateAndParseCompoundParams('github', obj); 59 | assert.strictEqual(result, 'github'); 60 | assert.deepStrictEqual(obj, {}); // Ensure obj is not modified 61 | }); 62 | 63 | it('should handle cases where the source has only 2 parts and return the original source', () => { 64 | const obj = {}; 65 | const result = updateAndParseCompoundParams('github/Issue', obj); 66 | assert.strictEqual(result, 'github/Issue'); 67 | assert.deepStrictEqual(obj, {}); // Ensure obj is not modified 68 | }); 69 | 70 | it('should handle cases where the source has more than 3 parts and return the original source', () => { 71 | const obj = {}; 72 | const result = updateAndParseCompoundParams('stackoverflow/Comment by $author/extra/part', obj); 73 | assert.strictEqual(result, 'stackoverflow/Comment by $author/extra/part'); 74 | assert.deepStrictEqual(obj, {}); // Ensure obj is not modified 75 | }); 76 | 77 | it('should handle an empty string as the source and not update the object', () => { 78 | const obj = {}; 79 | const result = updateAndParseCompoundParams('', obj); 80 | assert.strictEqual(result, ''); 81 | assert.deepStrictEqual(obj, {}); // Ensure obj is not modified 82 | }); 83 | 84 | it('should handle cases where the object is pre-populated', () => { 85 | const obj = { existingKey: 'existingValue' }; 86 | const result = updateAndParseCompoundParams('stackoverflow/Comment by $author/', obj); 87 | assert.strictEqual(result, 'stackoverflow'); 88 | assert.deepStrictEqual(obj, { existingKey: 'existingValue', stackoverflow: 'Comment by $author' }); 89 | }); 90 | }); 91 | 92 | describe('getParameterisedTemplate', () => { 93 | it('should return an array of parameters when the template contains a valid key with parameters', () => { 94 | const template = '$randomEmoji(💯,🔥,💫,🚀,🌮) $emojiKey(💯,🔥,💫)'; 95 | const result = getParameterisedTemplate(template, 'randomEmoji'); 96 | assert.deepStrictEqual(result, ['💯', '🔥', '💫', '🚀', '🌮']); 97 | }); 98 | 99 | it('should return an array of parameters when the template contains another valid key with parameters', () => { 100 | const template = '$randomEmoji(💯,🔥,💫,🚀,🌮) $emojiKey(💯,🔥,💫)'; 101 | const result = getParameterisedTemplate(template, 'emojiKey'); 102 | assert.deepStrictEqual(result, ['💯', '🔥', '💫']); 103 | }); 104 | 105 | it('should return null if the key does not exist in the template', () => { 106 | const template = '$randomEmoji(💯,🔥,💫,🚀,🌮) $emojiKey(💯,🔥,💫)'; 107 | const result = getParameterisedTemplate(template, 'missingKey'); 108 | assert.strictEqual(result, null); 109 | }); 110 | 111 | it('should return null if the key exists but is not followed by an opening parenthesis', () => { 112 | const template = '$randomEmoji💯,🔥,💫,🚀,🌮 $emojiKey(💯,🔥,💫)'; 113 | const result = getParameterisedTemplate(template, 'randomEmoji'); 114 | assert.strictEqual(result, null); 115 | }); 116 | 117 | it('should handle templates with multiple occurrences of the same key', () => { 118 | const template = '$randomEmoji(💯,🔥) and again $randomEmoji(💫,🚀)'; 119 | const result = getParameterisedTemplate(template, 'randomEmoji'); 120 | assert.deepStrictEqual(result, ['💯', '🔥']); // Only the first occurrence should be processed 121 | }); 122 | 123 | it('should correctly parse keys with spaces around parameters', () => { 124 | const template = '$randomEmoji( 💯 , 🔥 , 💫 ) $emojiKey( 💯,🔥 ,💫)'; 125 | const result = getParameterisedTemplate(template, 'randomEmoji'); 126 | assert.deepStrictEqual(result, ['💯', '🔥', '💫']); // Spaces should be trimmed 127 | }); 128 | 129 | it('should return null if the template is empty', () => { 130 | const template = ''; 131 | const result = getParameterisedTemplate(template, 'randomEmoji'); 132 | assert.strictEqual(result, null); 133 | }); 134 | 135 | it('should return null if the key is empty', () => { 136 | const template = '$randomEmoji(💯,🔥,💫,🚀,🌮)'; 137 | const result = getParameterisedTemplate(template, ''); 138 | assert.strictEqual(result, null); 139 | }); 140 | }); 141 | 142 | describe('escapeHTML', () => { 143 | it('should escape the ampersand character (&)', () => { 144 | const result = escapeHTML('Rock & Roll'); 145 | assert.strictEqual(result, 'Rock & Roll'); 146 | }); 147 | 148 | it('should escape the less-than character (<)', () => { 149 | const result = escapeHTML('5 < 10'); 150 | assert.strictEqual(result, '5 < 10'); 151 | }); 152 | 153 | it('should escape the greater-than character (>)', () => { 154 | const result = escapeHTML('10 > 5'); 155 | assert.strictEqual(result, '10 > 5'); 156 | }); 157 | 158 | it("should escape the single quote character (')", () => { 159 | const result = escapeHTML("It's a test"); 160 | assert.strictEqual(result, 'It's a test'); 161 | }); 162 | 163 | it('should escape the double quote character (")', () => { 164 | const result = escapeHTML('She said "Hello"'); 165 | assert.strictEqual(result, 'She said "Hello"'); 166 | }); 167 | 168 | it('should escape the opening parenthesis character (()', () => { 169 | const result = escapeHTML('3 * (2 + 1)'); 170 | assert.strictEqual(result, '3 * (2 + 1)'); 171 | }); 172 | 173 | it('should escape the closing parenthesis character ())', () => { 174 | const result = escapeHTML('Math.PI = 3.14'); 175 | assert.strictEqual(result, 'Math.PI = 3.14'); 176 | }); 177 | 178 | it('should escape multiple conflicting characters', () => { 179 | const result = escapeHTML('if (a < b) { return "yes"; } else { return "no"; }'); 180 | assert.strictEqual(result, 'if (a < b) { return "yes"; } else { return "no"; }'); 181 | }); 182 | 183 | it('should return the original string if there are no conflicting characters', () => { 184 | const result = escapeHTML('No special characters'); 185 | assert.strictEqual(result, 'No special characters'); 186 | }); 187 | 188 | it('should return an empty string if the input is an empty string', () => { 189 | const result = escapeHTML(''); 190 | assert.strictEqual(result, ''); 191 | }); 192 | }); 193 | 194 | describe('categoriesToArray', () => { 195 | it('should return an array of strings when the input is an array of strings', () => { 196 | const categories = ['C#', 'Controller']; 197 | const result = categoriesToArray(categories); 198 | assert.deepStrictEqual(result, ['C#', 'Controller']); 199 | }); 200 | it('should return an array of strings when the input is an array of CategoryObj objects', () => { 201 | const categories = [{ _: 'C#' }, { _: 'Controller' }]; 202 | const result = categoriesToArray(categories); 203 | assert.deepStrictEqual(result, ['C#', 'Controller']); 204 | }); 205 | 206 | it('should return an array of strings when the input is a mixed array of strings and CategoryObj objects', () => { 207 | const categories = ['Programming', { _: 'C#' }, { _: 'Controller' }, 'Tech']; 208 | const result = categoriesToArray(categories); 209 | assert.deepStrictEqual(result, ['Programming', 'C#', 'Controller', 'Tech']); 210 | }); 211 | 212 | it('should return an empty array when the input is an empty array', () => { 213 | const categories = []; 214 | const result = categoriesToArray(categories); 215 | assert.deepStrictEqual(result, []); 216 | }); 217 | 218 | it('should return an empty array when the input is not an array', () => { 219 | const categories = null; 220 | const result = categoriesToArray(categories); 221 | assert.deepStrictEqual(result, []); 222 | }); 223 | 224 | it('should ignore objects without the "_" property', () => { 225 | const categories = [{ _: 'C#' }, { domain: 'http://example.com' }]; 226 | const result = categoriesToArray(categories); 227 | assert.deepStrictEqual(result, ['C#']); 228 | }); 229 | 230 | it('should return an empty array when the input array contains only objects without the "_" property', () => { 231 | const categories = [{ domain: 'http://example.com' }, { domain: 'http://example.org' }]; 232 | const result = categoriesToArray(categories); 233 | assert.deepStrictEqual(result, []); 234 | }); 235 | 236 | it('should handle a mix of valid and invalid objects', () => { 237 | const categories = ['Programming', { _: 'C#' }, { domain: 'http://example.com' }, 'Tech']; 238 | const result = categoriesToArray(categories); 239 | assert.deepStrictEqual(result, ['Programming', 'C#', 'Tech']); 240 | }); 241 | }); 242 | } 243 | -------------------------------------------------------------------------------- /test/validation-flag.js: -------------------------------------------------------------------------------- 1 | const { DEFAULT_TEST_ENV } = require('./testUtils/default-env'); 2 | const { runAndCompareSnap } = require('./testUtils/testUtils'); 3 | describe('Generated readme with no validation flag', () => { 4 | it('should match the snapshot', async () => { 5 | const envObj = { 6 | ...process.env, 7 | ...DEFAULT_TEST_ENV, 8 | INPUT_FEED_LIST: 'http://localhost:8080/empty-tags', 9 | INPUT_DISABLE_ITEM_VALIDATION: 'true', 10 | }; 11 | await runAndCompareSnap('Readme.emptyTags.md', envObj); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /test/without-custom-elements.js: -------------------------------------------------------------------------------- 1 | const { DEFAULT_TEST_ENV } = require('./testUtils/default-env'); 2 | const { runAndCompareSnap } = require('./testUtils/testUtils'); 3 | describe('Generated readme without custom elements', () => { 4 | it('should match the snapshot', async () => { 5 | const envObj = { 6 | ...process.env, 7 | ...DEFAULT_TEST_ENV, 8 | INPUT_CUSTOM_TAGS: 'testingTag/testingTag/,testingTag2/testingTag2/', 9 | INPUT_TEMPLATE: '$title $url $testingTag $testingTag2 $newline', 10 | }; 11 | await runAndCompareSnap('Readme.custom-tags.md', envObj); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /test/without-filters.js: -------------------------------------------------------------------------------- 1 | const { DEFAULT_TEST_ENV } = require('./testUtils/default-env'); 2 | const { runAndCompareSnap } = require('./testUtils/testUtils'); 3 | describe('Generated readme without filters', () => { 4 | it('should match the snapshot', async () => { 5 | const envObj = { 6 | ...process.env, 7 | ...DEFAULT_TEST_ENV, 8 | INPUT_FILTER_COMMENTS: '', 9 | }; 10 | await runAndCompareSnap('Readme.comments.md', envObj); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | "@actions/core@^1.10.1", "@actions/core@^1.11.1": 6 | version "1.11.1" 7 | resolved "https://registry.yarnpkg.com/@actions/core/-/core-1.11.1.tgz#ae683aac5112438021588030efb53b1adb86f172" 8 | integrity sha512-hXJCSrkwfA46Vd9Z3q4cpEpHB1rL5NG04+/rbqW9d3+CSvtB1tYe8UTpAlixa1vj0m/ULglfEK2UKxMGxCxv5A== 9 | dependencies: 10 | "@actions/exec" "^1.1.1" 11 | "@actions/http-client" "^2.0.1" 12 | 13 | "@actions/exec@^1.1.1": 14 | version "1.1.1" 15 | resolved "https://registry.yarnpkg.com/@actions/exec/-/exec-1.1.1.tgz#2e43f28c54022537172819a7cf886c844221a611" 16 | integrity sha512-+sCcHHbVdk93a0XT19ECtO/gIXoxvdsgQLzb2fE2/5sIZmWQuluYyjPQtrtTHdU1YzTZ7bAPN4sITq2xi1679w== 17 | dependencies: 18 | "@actions/io" "^1.0.1" 19 | 20 | "@actions/http-client@^2.0.1": 21 | version "2.2.3" 22 | resolved "https://registry.yarnpkg.com/@actions/http-client/-/http-client-2.2.3.tgz#31fc0b25c0e665754ed39a9f19a8611fc6dab674" 23 | integrity sha512-mx8hyJi/hjFvbPokCg4uRd4ZX78t+YyRPtnKWwIl+RzNaVuFpQHfmlGVfsKEJN8LwTCvL+DfVgAM04XaHkm6bA== 24 | dependencies: 25 | tunnel "^0.0.6" 26 | undici "^5.25.4" 27 | 28 | "@actions/io@^1.0.1": 29 | version "1.1.3" 30 | resolved "https://registry.yarnpkg.com/@actions/io/-/io-1.1.3.tgz#4cdb6254da7962b07473ff5c335f3da485d94d71" 31 | integrity sha512-wi9JjgKLYS7U/z8PPbco+PvTb/nRWjeoFlJ1Qer83k/3C5PHQi28hiVdeE2kHXmIL99mQFawx8qt/JPjZilJ8Q== 32 | 33 | "@biomejs/biome@1.9.4": 34 | version "1.9.4" 35 | resolved "https://registry.yarnpkg.com/@biomejs/biome/-/biome-1.9.4.tgz#89766281cbc3a0aae865a7ff13d6aaffea2842bf" 36 | integrity sha512-1rkd7G70+o9KkTn5KLmDYXihGoTaIGO9PIIN2ZB7UJxFrWw04CZHPYiMRjYsaDvVV7hP1dYNRLxSANLaBFGpog== 37 | optionalDependencies: 38 | "@biomejs/cli-darwin-arm64" "1.9.4" 39 | "@biomejs/cli-darwin-x64" "1.9.4" 40 | "@biomejs/cli-linux-arm64" "1.9.4" 41 | "@biomejs/cli-linux-arm64-musl" "1.9.4" 42 | "@biomejs/cli-linux-x64" "1.9.4" 43 | "@biomejs/cli-linux-x64-musl" "1.9.4" 44 | "@biomejs/cli-win32-arm64" "1.9.4" 45 | "@biomejs/cli-win32-x64" "1.9.4" 46 | 47 | "@biomejs/cli-darwin-arm64@1.9.4": 48 | version "1.9.4" 49 | resolved "https://registry.yarnpkg.com/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-1.9.4.tgz#dfa376d23a54a2d8f17133c92f23c1bf2e62509f" 50 | integrity sha512-bFBsPWrNvkdKrNCYeAp+xo2HecOGPAy9WyNyB/jKnnedgzl4W4Hb9ZMzYNbf8dMCGmUdSavlYHiR01QaYR58cw== 51 | 52 | "@biomejs/cli-darwin-x64@1.9.4": 53 | version "1.9.4" 54 | resolved "https://registry.yarnpkg.com/@biomejs/cli-darwin-x64/-/cli-darwin-x64-1.9.4.tgz#eafc2ce3849d385fc02238aad1ca4a73395a64d9" 55 | integrity sha512-ngYBh/+bEedqkSevPVhLP4QfVPCpb+4BBe2p7Xs32dBgs7rh9nY2AIYUL6BgLw1JVXV8GlpKmb/hNiuIxfPfZg== 56 | 57 | "@biomejs/cli-linux-arm64-musl@1.9.4": 58 | version "1.9.4" 59 | resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-1.9.4.tgz#d780c3e01758fc90f3268357e3f19163d1f84fca" 60 | integrity sha512-v665Ct9WCRjGa8+kTr0CzApU0+XXtRgwmzIf1SeKSGAv+2scAlW6JR5PMFo6FzqqZ64Po79cKODKf3/AAmECqA== 61 | 62 | "@biomejs/cli-linux-arm64@1.9.4": 63 | version "1.9.4" 64 | resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-arm64/-/cli-linux-arm64-1.9.4.tgz#8ed1dd0e89419a4b66a47f95aefb8c46ae6041c9" 65 | integrity sha512-fJIW0+LYujdjUgJJuwesP4EjIBl/N/TcOX3IvIHJQNsAqvV2CHIogsmA94BPG6jZATS4Hi+xv4SkBBQSt1N4/g== 66 | 67 | "@biomejs/cli-linux-x64-musl@1.9.4": 68 | version "1.9.4" 69 | resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-1.9.4.tgz#f36982b966bd671a36671e1de4417963d7db15fb" 70 | integrity sha512-gEhi/jSBhZ2m6wjV530Yy8+fNqG8PAinM3oV7CyO+6c3CEh16Eizm21uHVsyVBEB6RIM8JHIl6AGYCv6Q6Q9Tg== 71 | 72 | "@biomejs/cli-linux-x64@1.9.4": 73 | version "1.9.4" 74 | resolved "https://registry.yarnpkg.com/@biomejs/cli-linux-x64/-/cli-linux-x64-1.9.4.tgz#a0a7f56680c76b8034ddc149dbf398bdd3a462e8" 75 | integrity sha512-lRCJv/Vi3Vlwmbd6K+oQ0KhLHMAysN8lXoCI7XeHlxaajk06u7G+UsFSO01NAs5iYuWKmVZjmiOzJ0OJmGsMwg== 76 | 77 | "@biomejs/cli-win32-arm64@1.9.4": 78 | version "1.9.4" 79 | resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-arm64/-/cli-win32-arm64-1.9.4.tgz#e2ef4e0084e76b7e26f0fc887c5ef1265ea56200" 80 | integrity sha512-tlbhLk+WXZmgwoIKwHIHEBZUwxml7bRJgk0X2sPyNR3S93cdRq6XulAZRQJ17FYGGzWne0fgrXBKpl7l4M87Hg== 81 | 82 | "@biomejs/cli-win32-x64@1.9.4": 83 | version "1.9.4" 84 | resolved "https://registry.yarnpkg.com/@biomejs/cli-win32-x64/-/cli-win32-x64-1.9.4.tgz#4c7afa90e3970213599b4095e62f87e5972b2340" 85 | integrity sha512-8Y5wMhVIPaWe6jw2H+KlEm4wP/f7EW3810ZLmDlrEEy5KvBsb9ECEfu/kMWD484ijfQ8+nIi0giMgu9g1UAuuA== 86 | 87 | "@esbuild/aix-ppc64@0.25.2": 88 | version "0.25.2" 89 | resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.25.2.tgz#b87036f644f572efb2b3c75746c97d1d2d87ace8" 90 | integrity sha512-wCIboOL2yXZym2cgm6mlA742s9QeJ8DjGVaL39dLN4rRwrOgOyYSnOaFPhKZGLb2ngj4EyfAFjsNJwPXZvseag== 91 | 92 | "@esbuild/android-arm64@0.25.2": 93 | version "0.25.2" 94 | resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.25.2.tgz#5ca7dc20a18f18960ad8d5e6ef5cf7b0a256e196" 95 | integrity sha512-5ZAX5xOmTligeBaeNEPnPaeEuah53Id2tX4c2CVP3JaROTH+j4fnfHCkr1PjXMd78hMst+TlkfKcW/DlTq0i4w== 96 | 97 | "@esbuild/android-arm@0.25.2": 98 | version "0.25.2" 99 | resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.25.2.tgz#3c49f607b7082cde70c6ce0c011c362c57a194ee" 100 | integrity sha512-NQhH7jFstVY5x8CKbcfa166GoV0EFkaPkCKBQkdPJFvo5u+nGXLEH/ooniLb3QI8Fk58YAx7nsPLozUWfCBOJA== 101 | 102 | "@esbuild/android-x64@0.25.2": 103 | version "0.25.2" 104 | resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.25.2.tgz#8a00147780016aff59e04f1036e7cb1b683859e2" 105 | integrity sha512-Ffcx+nnma8Sge4jzddPHCZVRvIfQ0kMsUsCMcJRHkGJ1cDmhe4SsrYIjLUKn1xpHZybmOqCWwB0zQvsjdEHtkg== 106 | 107 | "@esbuild/darwin-arm64@0.25.2": 108 | version "0.25.2" 109 | resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.25.2.tgz#486efe7599a8d90a27780f2bb0318d9a85c6c423" 110 | integrity sha512-MpM6LUVTXAzOvN4KbjzU/q5smzryuoNjlriAIx+06RpecwCkL9JpenNzpKd2YMzLJFOdPqBpuub6eVRP5IgiSA== 111 | 112 | "@esbuild/darwin-x64@0.25.2": 113 | version "0.25.2" 114 | resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.25.2.tgz#95ee222aacf668c7a4f3d7ee87b3240a51baf374" 115 | integrity sha512-5eRPrTX7wFyuWe8FqEFPG2cU0+butQQVNcT4sVipqjLYQjjh8a8+vUTfgBKM88ObB85ahsnTwF7PSIt6PG+QkA== 116 | 117 | "@esbuild/freebsd-arm64@0.25.2": 118 | version "0.25.2" 119 | resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.2.tgz#67efceda8554b6fc6a43476feba068fb37fa2ef6" 120 | integrity sha512-mLwm4vXKiQ2UTSX4+ImyiPdiHjiZhIaE9QvC7sw0tZ6HoNMjYAqQpGyui5VRIi5sGd+uWq940gdCbY3VLvsO1w== 121 | 122 | "@esbuild/freebsd-x64@0.25.2": 123 | version "0.25.2" 124 | resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.25.2.tgz#88a9d7ecdd3adadbfe5227c2122d24816959b809" 125 | integrity sha512-6qyyn6TjayJSwGpm8J9QYYGQcRgc90nmfdUb0O7pp1s4lTY+9D0H9O02v5JqGApUyiHOtkz6+1hZNvNtEhbwRQ== 126 | 127 | "@esbuild/linux-arm64@0.25.2": 128 | version "0.25.2" 129 | resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.25.2.tgz#87be1099b2bbe61282333b084737d46bc8308058" 130 | integrity sha512-gq/sjLsOyMT19I8obBISvhoYiZIAaGF8JpeXu1u8yPv8BE5HlWYobmlsfijFIZ9hIVGYkbdFhEqC0NvM4kNO0g== 131 | 132 | "@esbuild/linux-arm@0.25.2": 133 | version "0.25.2" 134 | resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.25.2.tgz#72a285b0fe64496e191fcad222185d7bf9f816f6" 135 | integrity sha512-UHBRgJcmjJv5oeQF8EpTRZs/1knq6loLxTsjc3nxO9eXAPDLcWW55flrMVc97qFPbmZP31ta1AZVUKQzKTzb0g== 136 | 137 | "@esbuild/linux-ia32@0.25.2": 138 | version "0.25.2" 139 | resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.25.2.tgz#337a87a4c4dd48a832baed5cbb022be20809d737" 140 | integrity sha512-bBYCv9obgW2cBP+2ZWfjYTU+f5cxRoGGQ5SeDbYdFCAZpYWrfjjfYwvUpP8MlKbP0nwZ5gyOU/0aUzZ5HWPuvQ== 141 | 142 | "@esbuild/linux-loong64@0.25.2": 143 | version "0.25.2" 144 | resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.25.2.tgz#1b81aa77103d6b8a8cfa7c094ed3d25c7579ba2a" 145 | integrity sha512-SHNGiKtvnU2dBlM5D8CXRFdd+6etgZ9dXfaPCeJtz+37PIUlixvlIhI23L5khKXs3DIzAn9V8v+qb1TRKrgT5w== 146 | 147 | "@esbuild/linux-mips64el@0.25.2": 148 | version "0.25.2" 149 | resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.25.2.tgz#afbe380b6992e7459bf7c2c3b9556633b2e47f30" 150 | integrity sha512-hDDRlzE6rPeoj+5fsADqdUZl1OzqDYow4TB4Y/3PlKBD0ph1e6uPHzIQcv2Z65u2K0kpeByIyAjCmjn1hJgG0Q== 151 | 152 | "@esbuild/linux-ppc64@0.25.2": 153 | version "0.25.2" 154 | resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.25.2.tgz#6bf8695cab8a2b135cca1aa555226dc932d52067" 155 | integrity sha512-tsHu2RRSWzipmUi9UBDEzc0nLc4HtpZEI5Ba+Omms5456x5WaNuiG3u7xh5AO6sipnJ9r4cRWQB2tUjPyIkc6g== 156 | 157 | "@esbuild/linux-riscv64@0.25.2": 158 | version "0.25.2" 159 | resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.25.2.tgz#43c2d67a1a39199fb06ba978aebb44992d7becc3" 160 | integrity sha512-k4LtpgV7NJQOml/10uPU0s4SAXGnowi5qBSjaLWMojNCUICNu7TshqHLAEbkBdAszL5TabfvQ48kK84hyFzjnw== 161 | 162 | "@esbuild/linux-s390x@0.25.2": 163 | version "0.25.2" 164 | resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.25.2.tgz#419e25737ec815c6dce2cd20d026e347cbb7a602" 165 | integrity sha512-GRa4IshOdvKY7M/rDpRR3gkiTNp34M0eLTaC1a08gNrh4u488aPhuZOCpkF6+2wl3zAN7L7XIpOFBhnaE3/Q8Q== 166 | 167 | "@esbuild/linux-x64@0.25.2": 168 | version "0.25.2" 169 | resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.25.2.tgz#22451f6edbba84abe754a8cbd8528ff6e28d9bcb" 170 | integrity sha512-QInHERlqpTTZ4FRB0fROQWXcYRD64lAoiegezDunLpalZMjcUcld3YzZmVJ2H/Cp0wJRZ8Xtjtj0cEHhYc/uUg== 171 | 172 | "@esbuild/netbsd-arm64@0.25.2": 173 | version "0.25.2" 174 | resolved "https://registry.yarnpkg.com/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.2.tgz#744affd3b8d8236b08c5210d828b0698a62c58ac" 175 | integrity sha512-talAIBoY5M8vHc6EeI2WW9d/CkiO9MQJ0IOWX8hrLhxGbro/vBXJvaQXefW2cP0z0nQVTdQ/eNyGFV1GSKrxfw== 176 | 177 | "@esbuild/netbsd-x64@0.25.2": 178 | version "0.25.2" 179 | resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.25.2.tgz#dbbe7521fd6d7352f34328d676af923fc0f8a78f" 180 | integrity sha512-voZT9Z+tpOxrvfKFyfDYPc4DO4rk06qamv1a/fkuzHpiVBMOhpjK+vBmWM8J1eiB3OLSMFYNaOaBNLXGChf5tg== 181 | 182 | "@esbuild/openbsd-arm64@0.25.2": 183 | version "0.25.2" 184 | resolved "https://registry.yarnpkg.com/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.2.tgz#f9caf987e3e0570500832b487ce3039ca648ce9f" 185 | integrity sha512-dcXYOC6NXOqcykeDlwId9kB6OkPUxOEqU+rkrYVqJbK2hagWOMrsTGsMr8+rW02M+d5Op5NNlgMmjzecaRf7Tg== 186 | 187 | "@esbuild/openbsd-x64@0.25.2": 188 | version "0.25.2" 189 | resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.25.2.tgz#d2bb6a0f8ffea7b394bb43dfccbb07cabd89f768" 190 | integrity sha512-t/TkWwahkH0Tsgoq1Ju7QfgGhArkGLkF1uYz8nQS/PPFlXbP5YgRpqQR3ARRiC2iXoLTWFxc6DJMSK10dVXluw== 191 | 192 | "@esbuild/sunos-x64@0.25.2": 193 | version "0.25.2" 194 | resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.25.2.tgz#49b437ed63fe333b92137b7a0c65a65852031afb" 195 | integrity sha512-cfZH1co2+imVdWCjd+D1gf9NjkchVhhdpgb1q5y6Hcv9TP6Zi9ZG/beI3ig8TvwT9lH9dlxLq5MQBBgwuj4xvA== 196 | 197 | "@esbuild/win32-arm64@0.25.2": 198 | version "0.25.2" 199 | resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.25.2.tgz#081424168463c7d6c7fb78f631aede0c104373cf" 200 | integrity sha512-7Loyjh+D/Nx/sOTzV8vfbB3GJuHdOQyrOryFdZvPHLf42Tk9ivBU5Aedi7iyX+x6rbn2Mh68T4qq1SDqJBQO5Q== 201 | 202 | "@esbuild/win32-ia32@0.25.2": 203 | version "0.25.2" 204 | resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.25.2.tgz#3f9e87143ddd003133d21384944a6c6cadf9693f" 205 | integrity sha512-WRJgsz9un0nqZJ4MfhabxaD9Ft8KioqU3JMinOTvobbX6MOSUigSBlogP8QB3uxpJDsFS6yN+3FDBdqE5lg9kg== 206 | 207 | "@esbuild/win32-x64@0.25.2": 208 | version "0.25.2" 209 | resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.25.2.tgz#839f72c2decd378f86b8f525e1979a97b920c67d" 210 | integrity sha512-kM3HKb16VIXZyIeVrM1ygYmZBKybX8N4p754bw390wGO3Tf2j4L2/WYL+4suWujpgf6GBYs3jv7TyUivdd05JA== 211 | 212 | "@fastify/busboy@^2.0.0": 213 | version "2.1.1" 214 | resolved "https://registry.yarnpkg.com/@fastify/busboy/-/busboy-2.1.1.tgz#b9da6a878a371829a0502c9b6c1c143ef6663f4d" 215 | integrity sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA== 216 | 217 | "@hapi/hoek@^9.0.0", "@hapi/hoek@^9.3.0": 218 | version "9.3.0" 219 | resolved "https://registry.yarnpkg.com/@hapi/hoek/-/hoek-9.3.0.tgz#8368869dcb735be2e7f5cb7647de78e167a251fb" 220 | integrity sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ== 221 | 222 | "@hapi/topo@^5.1.0": 223 | version "5.1.0" 224 | resolved "https://registry.yarnpkg.com/@hapi/topo/-/topo-5.1.0.tgz#dc448e332c6c6e37a4dc02fd84ba8d44b9afb012" 225 | integrity sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg== 226 | dependencies: 227 | "@hapi/hoek" "^9.0.0" 228 | 229 | "@isaacs/cliui@^8.0.2": 230 | version "8.0.2" 231 | resolved "https://registry.yarnpkg.com/@isaacs/cliui/-/cliui-8.0.2.tgz#b37667b7bc181c168782259bab42474fbf52b550" 232 | integrity sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA== 233 | dependencies: 234 | string-width "^5.1.2" 235 | string-width-cjs "npm:string-width@^4.2.0" 236 | strip-ansi "^7.0.1" 237 | strip-ansi-cjs "npm:strip-ansi@^6.0.1" 238 | wrap-ansi "^8.1.0" 239 | wrap-ansi-cjs "npm:wrap-ansi@^7.0.0" 240 | 241 | "@octokit/auth-token@^4.0.0": 242 | version "4.0.0" 243 | resolved "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-4.0.0.tgz#40d203ea827b9f17f42a29c6afb93b7745ef80c7" 244 | integrity sha512-tY/msAuJo6ARbK6SPIxZrPBms3xPbfwBrulZe0Wtr/DIY9lje2HeV1uoebShn6mx7SjCHif6EjMvoREj+gZ+SA== 245 | 246 | "@octokit/core@^5.0.2": 247 | version "5.2.1" 248 | resolved "https://registry.yarnpkg.com/@octokit/core/-/core-5.2.1.tgz#58c21a5f689ee81e0b883b5aa77573a7ff1b4ea1" 249 | integrity sha512-dKYCMuPO1bmrpuogcjQ8z7ICCH3FP6WmxpwC03yjzGfZhj9fTJg6+bS1+UAplekbN2C+M61UNllGOOoAfGCrdQ== 250 | dependencies: 251 | "@octokit/auth-token" "^4.0.0" 252 | "@octokit/graphql" "^7.1.0" 253 | "@octokit/request" "^8.4.1" 254 | "@octokit/request-error" "^5.1.1" 255 | "@octokit/types" "^13.0.0" 256 | before-after-hook "^2.2.0" 257 | universal-user-agent "^6.0.0" 258 | 259 | "@octokit/endpoint@^9.0.6": 260 | version "9.0.6" 261 | resolved "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-9.0.6.tgz#114d912108fe692d8b139cfe7fc0846dfd11b6c0" 262 | integrity sha512-H1fNTMA57HbkFESSt3Y9+FBICv+0jFceJFPWDePYlR/iMGrwM5ph+Dd4XRQs+8X+PUFURLQgX9ChPfhJ/1uNQw== 263 | dependencies: 264 | "@octokit/types" "^13.1.0" 265 | universal-user-agent "^6.0.0" 266 | 267 | "@octokit/graphql@^7.1.0": 268 | version "7.1.1" 269 | resolved "https://registry.yarnpkg.com/@octokit/graphql/-/graphql-7.1.1.tgz#79d9f3d0c96a8fd13d64186fe5c33606d48b79cc" 270 | integrity sha512-3mkDltSfcDUoa176nlGoA32RGjeWjl3K7F/BwHwRMJUW/IteSa4bnSV8p2ThNkcIcZU2umkZWxwETSSCJf2Q7g== 271 | dependencies: 272 | "@octokit/request" "^8.4.1" 273 | "@octokit/types" "^13.0.0" 274 | universal-user-agent "^6.0.0" 275 | 276 | "@octokit/openapi-types@^24.2.0": 277 | version "24.2.0" 278 | resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-24.2.0.tgz#3d55c32eac0d38da1a7083a9c3b0cca77924f7d3" 279 | integrity sha512-9sIH3nSUttelJSXUrmGzl7QUBFul0/mB8HRYl3fOlgHbIWG+WnYDXU3v/2zMtAvuzZ/ed00Ei6on975FhBfzrg== 280 | 281 | "@octokit/plugin-paginate-rest@11.4.4-cjs.2": 282 | version "11.4.4-cjs.2" 283 | resolved "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-11.4.4-cjs.2.tgz#979a10d577bce7a393e8e65953887e42b0a05000" 284 | integrity sha512-2dK6z8fhs8lla5PaOTgqfCGBxgAv/le+EhPs27KklPhm1bKObpu6lXzwfUEQ16ajXzqNrKMujsFyo9K2eaoISw== 285 | dependencies: 286 | "@octokit/types" "^13.7.0" 287 | 288 | "@octokit/plugin-request-log@^4.0.0": 289 | version "4.0.1" 290 | resolved "https://registry.yarnpkg.com/@octokit/plugin-request-log/-/plugin-request-log-4.0.1.tgz#98a3ca96e0b107380664708111864cb96551f958" 291 | integrity sha512-GihNqNpGHorUrO7Qa9JbAl0dbLnqJVrV8OXe2Zm5/Y4wFkZQDfTreBzVmiRfJVfE4mClXdihHnbpyyO9FSX4HA== 292 | 293 | "@octokit/plugin-rest-endpoint-methods@13.3.2-cjs.1": 294 | version "13.3.2-cjs.1" 295 | resolved "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-13.3.2-cjs.1.tgz#d0a142ff41d8f7892b6ccef45979049f51ecaa8d" 296 | integrity sha512-VUjIjOOvF2oELQmiFpWA1aOPdawpyaCUqcEBc/UOUnj3Xp6DJGrJ1+bjUIIDzdHjnFNO6q57ODMfdEZnoBkCwQ== 297 | dependencies: 298 | "@octokit/types" "^13.8.0" 299 | 300 | "@octokit/request-error@^5.1.1": 301 | version "5.1.1" 302 | resolved "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-5.1.1.tgz#b9218f9c1166e68bb4d0c89b638edc62c9334805" 303 | integrity sha512-v9iyEQJH6ZntoENr9/yXxjuezh4My67CBSu9r6Ve/05Iu5gNgnisNWOsoJHTP6k0Rr0+HQIpnH+kyammu90q/g== 304 | dependencies: 305 | "@octokit/types" "^13.1.0" 306 | deprecation "^2.0.0" 307 | once "^1.4.0" 308 | 309 | "@octokit/request@^8.4.1": 310 | version "8.4.1" 311 | resolved "https://registry.yarnpkg.com/@octokit/request/-/request-8.4.1.tgz#715a015ccf993087977ea4365c44791fc4572486" 312 | integrity sha512-qnB2+SY3hkCmBxZsR/MPCybNmbJe4KAlfWErXq+rBKkQJlbjdJeS85VI9r8UqeLYLvnAenU8Q1okM/0MBsAGXw== 313 | dependencies: 314 | "@octokit/endpoint" "^9.0.6" 315 | "@octokit/request-error" "^5.1.1" 316 | "@octokit/types" "^13.1.0" 317 | universal-user-agent "^6.0.0" 318 | 319 | "@octokit/rest@^20.0.2": 320 | version "20.1.2" 321 | resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-20.1.2.tgz#1d74d0c72ade0d64f7c5416448d5c885f5e3ccc4" 322 | integrity sha512-GmYiltypkHHtihFwPRxlaorG5R9VAHuk/vbszVoRTGXnAsY60wYLkh/E2XiFmdZmqrisw+9FaazS1i5SbdWYgA== 323 | dependencies: 324 | "@octokit/core" "^5.0.2" 325 | "@octokit/plugin-paginate-rest" "11.4.4-cjs.2" 326 | "@octokit/plugin-request-log" "^4.0.0" 327 | "@octokit/plugin-rest-endpoint-methods" "13.3.2-cjs.1" 328 | 329 | "@octokit/types@^13.0.0", "@octokit/types@^13.1.0", "@octokit/types@^13.7.0", "@octokit/types@^13.8.0": 330 | version "13.10.0" 331 | resolved "https://registry.yarnpkg.com/@octokit/types/-/types-13.10.0.tgz#3e7c6b19c0236c270656e4ea666148c2b51fd1a3" 332 | integrity sha512-ifLaO34EbbPj0Xgro4G5lP5asESjwHracYJvVaPIyXMuiuXLlhic3S47cBdTb+jfODkTE5YtGCLt3Ay3+J97sA== 333 | dependencies: 334 | "@octokit/openapi-types" "^24.2.0" 335 | 336 | "@pkgjs/parseargs@^0.11.0": 337 | version "0.11.0" 338 | resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" 339 | integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== 340 | 341 | "@sideway/address@^4.1.5": 342 | version "4.1.5" 343 | resolved "https://registry.yarnpkg.com/@sideway/address/-/address-4.1.5.tgz#4bc149a0076623ced99ca8208ba780d65a99b9d5" 344 | integrity sha512-IqO/DUQHUkPeixNQ8n0JA6102hT9CmaljNTPmQ1u8MEhBo/R4Q8eKLN/vGZxuebwOroDB4cbpjheD4+/sKFK4Q== 345 | dependencies: 346 | "@hapi/hoek" "^9.0.0" 347 | 348 | "@sideway/formula@^3.0.1": 349 | version "3.0.1" 350 | resolved "https://registry.yarnpkg.com/@sideway/formula/-/formula-3.0.1.tgz#80fcbcbaf7ce031e0ef2dd29b1bfc7c3f583611f" 351 | integrity sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg== 352 | 353 | "@sideway/pinpoint@^2.0.0": 354 | version "2.0.0" 355 | resolved "https://registry.yarnpkg.com/@sideway/pinpoint/-/pinpoint-2.0.0.tgz#cff8ffadc372ad29fd3f78277aeb29e632cc70df" 356 | integrity sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ== 357 | 358 | ansi-colors@^4.1.3: 359 | version "4.1.3" 360 | resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.3.tgz#37611340eb2243e70cc604cad35d63270d48781b" 361 | integrity sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw== 362 | 363 | ansi-regex@^5.0.1: 364 | version "5.0.1" 365 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" 366 | integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== 367 | 368 | ansi-regex@^6.0.1: 369 | version "6.1.0" 370 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-6.1.0.tgz#95ec409c69619d6cb1b8b34f14b660ef28ebd654" 371 | integrity sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA== 372 | 373 | ansi-styles@^4.0.0, ansi-styles@^4.1.0: 374 | version "4.3.0" 375 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" 376 | integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== 377 | dependencies: 378 | color-convert "^2.0.1" 379 | 380 | ansi-styles@^6.1.0: 381 | version "6.2.1" 382 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.2.1.tgz#0e62320cf99c21afff3b3012192546aacbfb05c5" 383 | integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug== 384 | 385 | anymatch@~3.1.2: 386 | version "3.1.3" 387 | resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" 388 | integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== 389 | dependencies: 390 | normalize-path "^3.0.0" 391 | picomatch "^2.0.4" 392 | 393 | arg@^5.0.2: 394 | version "5.0.2" 395 | resolved "https://registry.yarnpkg.com/arg/-/arg-5.0.2.tgz#c81433cc427c92c4dcf4865142dbca6f15acd59c" 396 | integrity sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg== 397 | 398 | argparse@^2.0.1: 399 | version "2.0.1" 400 | resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" 401 | integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== 402 | 403 | asynckit@^0.4.0: 404 | version "0.4.0" 405 | resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" 406 | integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== 407 | 408 | axios@^1.8.2: 409 | version "1.8.4" 410 | resolved "https://registry.yarnpkg.com/axios/-/axios-1.8.4.tgz#78990bb4bc63d2cae072952d374835950a82f447" 411 | integrity sha512-eBSYY4Y68NNlHbHBMdeDmKNtDgXWhQsJcGqzO3iLUM0GraQFSS9cVgPX5I9b3lbdFKyYoAEGAZF1DwhTaljNAw== 412 | dependencies: 413 | follow-redirects "^1.15.6" 414 | form-data "^4.0.0" 415 | proxy-from-env "^1.1.0" 416 | 417 | balanced-match@^1.0.0: 418 | version "1.0.2" 419 | resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" 420 | integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== 421 | 422 | before-after-hook@^2.2.0: 423 | version "2.2.3" 424 | resolved "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-2.2.3.tgz#c51e809c81a4e354084422b9b26bad88249c517c" 425 | integrity sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ== 426 | 427 | binary-extensions@^2.0.0: 428 | version "2.3.0" 429 | resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.3.0.tgz#f6e14a97858d327252200242d4ccfe522c445522" 430 | integrity sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw== 431 | 432 | bluebird@3.7.2: 433 | version "3.7.2" 434 | resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" 435 | integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== 436 | 437 | brace-expansion@^2.0.1: 438 | version "2.0.1" 439 | resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.0.1.tgz#1edc459e0f0c548486ecf9fc99f2221364b9a0ae" 440 | integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA== 441 | dependencies: 442 | balanced-match "^1.0.0" 443 | 444 | braces@~3.0.2: 445 | version "3.0.3" 446 | resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789" 447 | integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA== 448 | dependencies: 449 | fill-range "^7.1.1" 450 | 451 | browser-stdout@^1.3.1: 452 | version "1.3.1" 453 | resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.1.tgz#baa559ee14ced73452229bad7326467c61fabd60" 454 | integrity sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw== 455 | 456 | call-bind-apply-helpers@^1.0.1, call-bind-apply-helpers@^1.0.2: 457 | version "1.0.2" 458 | resolved "https://registry.yarnpkg.com/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz#4b5428c222be985d79c3d82657479dbe0b59b2d6" 459 | integrity sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ== 460 | dependencies: 461 | es-errors "^1.3.0" 462 | function-bind "^1.1.2" 463 | 464 | camelcase@^6.0.0: 465 | version "6.3.0" 466 | resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" 467 | integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== 468 | 469 | chalk@^4.1.0: 470 | version "4.1.2" 471 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" 472 | integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== 473 | dependencies: 474 | ansi-styles "^4.1.0" 475 | supports-color "^7.1.0" 476 | 477 | check-more-types@2.24.0: 478 | version "2.24.0" 479 | resolved "https://registry.yarnpkg.com/check-more-types/-/check-more-types-2.24.0.tgz#1420ffb10fd444dcfc79b43891bbfffd32a84600" 480 | integrity sha512-Pj779qHxV2tuapviy1bSZNEL1maXr13bPYpsvSDB68HlYcYuhlDrmGd63i0JHMCLKzc7rUSNIrpdJlhVlNwrxA== 481 | 482 | chokidar@^3.5.3: 483 | version "3.6.0" 484 | resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.6.0.tgz#197c6cc669ef2a8dc5e7b4d97ee4e092c3eb0d5b" 485 | integrity sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw== 486 | dependencies: 487 | anymatch "~3.1.2" 488 | braces "~3.0.2" 489 | glob-parent "~5.1.2" 490 | is-binary-path "~2.1.0" 491 | is-glob "~4.0.1" 492 | normalize-path "~3.0.0" 493 | readdirp "~3.6.0" 494 | optionalDependencies: 495 | fsevents "~2.3.2" 496 | 497 | cliui@^8.0.1: 498 | version "8.0.1" 499 | resolved "https://registry.yarnpkg.com/cliui/-/cliui-8.0.1.tgz#0c04b075db02cbfe60dc8e6cf2f5486b1a3608aa" 500 | integrity sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ== 501 | dependencies: 502 | string-width "^4.2.0" 503 | strip-ansi "^6.0.1" 504 | wrap-ansi "^7.0.0" 505 | 506 | color-convert@^2.0.1: 507 | version "2.0.1" 508 | resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" 509 | integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== 510 | dependencies: 511 | color-name "~1.1.4" 512 | 513 | color-name@~1.1.4: 514 | version "1.1.4" 515 | resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" 516 | integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== 517 | 518 | combined-stream@^1.0.8: 519 | version "1.0.8" 520 | resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" 521 | integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== 522 | dependencies: 523 | delayed-stream "~1.0.0" 524 | 525 | cross-spawn@^7.0.3, cross-spawn@^7.0.6: 526 | version "7.0.6" 527 | resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f" 528 | integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA== 529 | dependencies: 530 | path-key "^3.1.0" 531 | shebang-command "^2.0.0" 532 | which "^2.0.1" 533 | 534 | dateformat@^3.0.3: 535 | version "3.0.3" 536 | resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae" 537 | integrity sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q== 538 | 539 | debug@4.4.0, debug@^4.3.5: 540 | version "4.4.0" 541 | resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.0.tgz#2b3f2aea2ffeb776477460267377dc8710faba8a" 542 | integrity sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA== 543 | dependencies: 544 | ms "^2.1.3" 545 | 546 | decamelize@^4.0.0: 547 | version "4.0.0" 548 | resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-4.0.0.tgz#aa472d7bf660eb15f3494efd531cab7f2a709837" 549 | integrity sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ== 550 | 551 | delayed-stream@~1.0.0: 552 | version "1.0.0" 553 | resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" 554 | integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== 555 | 556 | deprecation@^2.0.0: 557 | version "2.3.1" 558 | resolved "https://registry.yarnpkg.com/deprecation/-/deprecation-2.3.1.tgz#6368cbdb40abf3373b525ac87e4a260c3a700919" 559 | integrity sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ== 560 | 561 | diff@^5.2.0: 562 | version "5.2.0" 563 | resolved "https://registry.yarnpkg.com/diff/-/diff-5.2.0.tgz#26ded047cd1179b78b9537d5ef725503ce1ae531" 564 | integrity sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A== 565 | 566 | dunder-proto@^1.0.1: 567 | version "1.0.1" 568 | resolved "https://registry.yarnpkg.com/dunder-proto/-/dunder-proto-1.0.1.tgz#d7ae667e1dc83482f8b70fd0f6eefc50da30f58a" 569 | integrity sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A== 570 | dependencies: 571 | call-bind-apply-helpers "^1.0.1" 572 | es-errors "^1.3.0" 573 | gopd "^1.2.0" 574 | 575 | duplexer@~0.1.1: 576 | version "0.1.2" 577 | resolved "https://registry.yarnpkg.com/duplexer/-/duplexer-0.1.2.tgz#3abe43aef3835f8ae077d136ddce0f276b0400e6" 578 | integrity sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg== 579 | 580 | eastasianwidth@^0.2.0: 581 | version "0.2.0" 582 | resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" 583 | integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== 584 | 585 | emoji-regex@^8.0.0: 586 | version "8.0.0" 587 | resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" 588 | integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== 589 | 590 | emoji-regex@^9.2.2: 591 | version "9.2.2" 592 | resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72" 593 | integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== 594 | 595 | entities@^2.0.3: 596 | version "2.2.0" 597 | resolved "https://registry.yarnpkg.com/entities/-/entities-2.2.0.tgz#098dc90ebb83d8dffa089d55256b351d34c4da55" 598 | integrity sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A== 599 | 600 | err-code@^2.0.2: 601 | version "2.0.3" 602 | resolved "https://registry.yarnpkg.com/err-code/-/err-code-2.0.3.tgz#23c2f3b756ffdfc608d30e27c9a941024807e7f9" 603 | integrity sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA== 604 | 605 | es-define-property@^1.0.1: 606 | version "1.0.1" 607 | resolved "https://registry.yarnpkg.com/es-define-property/-/es-define-property-1.0.1.tgz#983eb2f9a6724e9303f61addf011c72e09e0b0fa" 608 | integrity sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g== 609 | 610 | es-errors@^1.3.0: 611 | version "1.3.0" 612 | resolved "https://registry.yarnpkg.com/es-errors/-/es-errors-1.3.0.tgz#05f75a25dab98e4fb1dcd5e1472c0546d5057c8f" 613 | integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw== 614 | 615 | es-object-atoms@^1.0.0, es-object-atoms@^1.1.1: 616 | version "1.1.1" 617 | resolved "https://registry.yarnpkg.com/es-object-atoms/-/es-object-atoms-1.1.1.tgz#1c4f2c4837327597ce69d2ca190a7fdd172338c1" 618 | integrity sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA== 619 | dependencies: 620 | es-errors "^1.3.0" 621 | 622 | es-set-tostringtag@^2.1.0: 623 | version "2.1.0" 624 | resolved "https://registry.yarnpkg.com/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz#f31dbbe0c183b00a6d26eb6325c810c0fd18bd4d" 625 | integrity sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA== 626 | dependencies: 627 | es-errors "^1.3.0" 628 | get-intrinsic "^1.2.6" 629 | has-tostringtag "^1.0.2" 630 | hasown "^2.0.2" 631 | 632 | esbuild@^0.25.2: 633 | version "0.25.2" 634 | resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.25.2.tgz#55a1d9ebcb3aa2f95e8bba9e900c1a5061bc168b" 635 | integrity sha512-16854zccKPnC+toMywC+uKNeYSv+/eXkevRAfwRD/G9Cleq66m8XFIrigkbvauLLlCfDL45Q2cWegSg53gGBnQ== 636 | optionalDependencies: 637 | "@esbuild/aix-ppc64" "0.25.2" 638 | "@esbuild/android-arm" "0.25.2" 639 | "@esbuild/android-arm64" "0.25.2" 640 | "@esbuild/android-x64" "0.25.2" 641 | "@esbuild/darwin-arm64" "0.25.2" 642 | "@esbuild/darwin-x64" "0.25.2" 643 | "@esbuild/freebsd-arm64" "0.25.2" 644 | "@esbuild/freebsd-x64" "0.25.2" 645 | "@esbuild/linux-arm" "0.25.2" 646 | "@esbuild/linux-arm64" "0.25.2" 647 | "@esbuild/linux-ia32" "0.25.2" 648 | "@esbuild/linux-loong64" "0.25.2" 649 | "@esbuild/linux-mips64el" "0.25.2" 650 | "@esbuild/linux-ppc64" "0.25.2" 651 | "@esbuild/linux-riscv64" "0.25.2" 652 | "@esbuild/linux-s390x" "0.25.2" 653 | "@esbuild/linux-x64" "0.25.2" 654 | "@esbuild/netbsd-arm64" "0.25.2" 655 | "@esbuild/netbsd-x64" "0.25.2" 656 | "@esbuild/openbsd-arm64" "0.25.2" 657 | "@esbuild/openbsd-x64" "0.25.2" 658 | "@esbuild/sunos-x64" "0.25.2" 659 | "@esbuild/win32-arm64" "0.25.2" 660 | "@esbuild/win32-ia32" "0.25.2" 661 | "@esbuild/win32-x64" "0.25.2" 662 | 663 | escalade@^3.1.1: 664 | version "3.2.0" 665 | resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.2.0.tgz#011a3f69856ba189dffa7dc8fcce99d2a87903e5" 666 | integrity sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA== 667 | 668 | escape-string-regexp@^4.0.0: 669 | version "4.0.0" 670 | resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" 671 | integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== 672 | 673 | event-stream@=3.3.4: 674 | version "3.3.4" 675 | resolved "https://registry.yarnpkg.com/event-stream/-/event-stream-3.3.4.tgz#4ab4c9a0f5a54db9338b4c34d86bfce8f4b35571" 676 | integrity sha512-QHpkERcGsR0T7Qm3HNJSyXKEEj8AHNxkY3PK8TS2KJvQ7NiSHe3DDpwVKKtoYprL/AreyzFBeIkBIWChAqn60g== 677 | dependencies: 678 | duplexer "~0.1.1" 679 | from "~0" 680 | map-stream "~0.1.0" 681 | pause-stream "0.0.11" 682 | split "0.3" 683 | stream-combiner "~0.0.4" 684 | through "~2.3.1" 685 | 686 | execa@5.1.1: 687 | version "5.1.1" 688 | resolved "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd" 689 | integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== 690 | dependencies: 691 | cross-spawn "^7.0.3" 692 | get-stream "^6.0.0" 693 | human-signals "^2.1.0" 694 | is-stream "^2.0.0" 695 | merge-stream "^2.0.0" 696 | npm-run-path "^4.0.1" 697 | onetime "^5.1.2" 698 | signal-exit "^3.0.3" 699 | strip-final-newline "^2.0.0" 700 | 701 | fill-range@^7.1.1: 702 | version "7.1.1" 703 | resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.1.1.tgz#44265d3cac07e3ea7dc247516380643754a05292" 704 | integrity sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg== 705 | dependencies: 706 | to-regex-range "^5.0.1" 707 | 708 | find-up@^5.0.0: 709 | version "5.0.0" 710 | resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" 711 | integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== 712 | dependencies: 713 | locate-path "^6.0.0" 714 | path-exists "^4.0.0" 715 | 716 | flat@^5.0.2: 717 | version "5.0.2" 718 | resolved "https://registry.yarnpkg.com/flat/-/flat-5.0.2.tgz#8ca6fe332069ffa9d324c327198c598259ceb241" 719 | integrity sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ== 720 | 721 | follow-redirects@^1.15.6: 722 | version "1.15.9" 723 | resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.9.tgz#a604fa10e443bf98ca94228d9eebcc2e8a2c8ee1" 724 | integrity sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ== 725 | 726 | foreground-child@^3.1.0: 727 | version "3.3.1" 728 | resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-3.3.1.tgz#32e8e9ed1b68a3497befb9ac2b6adf92a638576f" 729 | integrity sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw== 730 | dependencies: 731 | cross-spawn "^7.0.6" 732 | signal-exit "^4.0.1" 733 | 734 | form-data@^4.0.0: 735 | version "4.0.2" 736 | resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.2.tgz#35cabbdd30c3ce73deb2c42d3c8d3ed9ca51794c" 737 | integrity sha512-hGfm/slu0ZabnNt4oaRZ6uREyfCj6P4fT/n6A1rGV+Z0VdGXjfOhVUpkn6qVQONHGIFwmveGXyDs75+nr6FM8w== 738 | dependencies: 739 | asynckit "^0.4.0" 740 | combined-stream "^1.0.8" 741 | es-set-tostringtag "^2.1.0" 742 | mime-types "^2.1.12" 743 | 744 | from@~0: 745 | version "0.1.7" 746 | resolved "https://registry.yarnpkg.com/from/-/from-0.1.7.tgz#83c60afc58b9c56997007ed1a768b3ab303a44fe" 747 | integrity sha512-twe20eF1OxVxp/ML/kq2p1uc6KvFK/+vs8WjEbeKmV2He22MKm7YF2ANIt+EOqhJ5L3K/SuuPhk0hWQDjOM23g== 748 | 749 | fsevents@~2.3.2: 750 | version "2.3.3" 751 | resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" 752 | integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== 753 | 754 | function-bind@^1.1.2: 755 | version "1.1.2" 756 | resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" 757 | integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== 758 | 759 | get-caller-file@^2.0.5: 760 | version "2.0.5" 761 | resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" 762 | integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== 763 | 764 | get-intrinsic@^1.2.6: 765 | version "1.3.0" 766 | resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.3.0.tgz#743f0e3b6964a93a5491ed1bffaae054d7f98d01" 767 | integrity sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ== 768 | dependencies: 769 | call-bind-apply-helpers "^1.0.2" 770 | es-define-property "^1.0.1" 771 | es-errors "^1.3.0" 772 | es-object-atoms "^1.1.1" 773 | function-bind "^1.1.2" 774 | get-proto "^1.0.1" 775 | gopd "^1.2.0" 776 | has-symbols "^1.1.0" 777 | hasown "^2.0.2" 778 | math-intrinsics "^1.1.0" 779 | 780 | get-proto@^1.0.1: 781 | version "1.0.1" 782 | resolved "https://registry.yarnpkg.com/get-proto/-/get-proto-1.0.1.tgz#150b3f2743869ef3e851ec0c49d15b1d14d00ee1" 783 | integrity sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g== 784 | dependencies: 785 | dunder-proto "^1.0.1" 786 | es-object-atoms "^1.0.0" 787 | 788 | get-stream@^6.0.0: 789 | version "6.0.1" 790 | resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" 791 | integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== 792 | 793 | glob-parent@~5.1.2: 794 | version "5.1.2" 795 | resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" 796 | integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== 797 | dependencies: 798 | is-glob "^4.0.1" 799 | 800 | glob@^10.4.5: 801 | version "10.4.5" 802 | resolved "https://registry.yarnpkg.com/glob/-/glob-10.4.5.tgz#f4d9f0b90ffdbab09c9d77f5f29b4262517b0956" 803 | integrity sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg== 804 | dependencies: 805 | foreground-child "^3.1.0" 806 | jackspeak "^3.1.2" 807 | minimatch "^9.0.4" 808 | minipass "^7.1.2" 809 | package-json-from-dist "^1.0.0" 810 | path-scurry "^1.11.1" 811 | 812 | gopd@^1.2.0: 813 | version "1.2.0" 814 | resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.2.0.tgz#89f56b8217bdbc8802bd299df6d7f1081d7e51a1" 815 | integrity sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg== 816 | 817 | has-flag@^4.0.0: 818 | version "4.0.0" 819 | resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" 820 | integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== 821 | 822 | has-symbols@^1.0.3, has-symbols@^1.1.0: 823 | version "1.1.0" 824 | resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.1.0.tgz#fc9c6a783a084951d0b971fe1018de813707a338" 825 | integrity sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ== 826 | 827 | has-tostringtag@^1.0.2: 828 | version "1.0.2" 829 | resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.2.tgz#2cdc42d40bef2e5b4eeab7c01a73c54ce7ab5abc" 830 | integrity sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw== 831 | dependencies: 832 | has-symbols "^1.0.3" 833 | 834 | hasown@^2.0.2: 835 | version "2.0.2" 836 | resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003" 837 | integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ== 838 | dependencies: 839 | function-bind "^1.1.2" 840 | 841 | he@^1.2.0: 842 | version "1.2.0" 843 | resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" 844 | integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw== 845 | 846 | human-signals@^2.1.0: 847 | version "2.1.0" 848 | resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" 849 | integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== 850 | 851 | is-binary-path@~2.1.0: 852 | version "2.1.0" 853 | resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" 854 | integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== 855 | dependencies: 856 | binary-extensions "^2.0.0" 857 | 858 | is-extglob@^2.1.1: 859 | version "2.1.1" 860 | resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" 861 | integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== 862 | 863 | is-fullwidth-code-point@^3.0.0: 864 | version "3.0.0" 865 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" 866 | integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== 867 | 868 | is-glob@^4.0.1, is-glob@~4.0.1: 869 | version "4.0.3" 870 | resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" 871 | integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== 872 | dependencies: 873 | is-extglob "^2.1.1" 874 | 875 | is-number@^7.0.0: 876 | version "7.0.0" 877 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" 878 | integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== 879 | 880 | is-plain-obj@^2.1.0: 881 | version "2.1.0" 882 | resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-2.1.0.tgz#45e42e37fccf1f40da8e5f76ee21515840c09287" 883 | integrity sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA== 884 | 885 | is-stream@^2.0.0: 886 | version "2.0.1" 887 | resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077" 888 | integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== 889 | 890 | is-unicode-supported@^0.1.0: 891 | version "0.1.0" 892 | resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz#3f26c76a809593b52bfa2ecb5710ed2779b522a7" 893 | integrity sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw== 894 | 895 | isexe@^2.0.0: 896 | version "2.0.0" 897 | resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" 898 | integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== 899 | 900 | jackspeak@^3.1.2: 901 | version "3.4.3" 902 | resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-3.4.3.tgz#8833a9d89ab4acde6188942bd1c53b6390ed5a8a" 903 | integrity sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw== 904 | dependencies: 905 | "@isaacs/cliui" "^8.0.2" 906 | optionalDependencies: 907 | "@pkgjs/parseargs" "^0.11.0" 908 | 909 | joi@^17.13.3: 910 | version "17.13.3" 911 | resolved "https://registry.yarnpkg.com/joi/-/joi-17.13.3.tgz#0f5cc1169c999b30d344366d384b12d92558bcec" 912 | integrity sha512-otDA4ldcIx+ZXsKHWmp0YizCweVRZG96J10b0FevjfuncLO1oX59THoAmHkNubYJ+9gWsYsp5k8v4ib6oDv1fA== 913 | dependencies: 914 | "@hapi/hoek" "^9.3.0" 915 | "@hapi/topo" "^5.1.0" 916 | "@sideway/address" "^4.1.5" 917 | "@sideway/formula" "^3.0.1" 918 | "@sideway/pinpoint" "^2.0.0" 919 | 920 | js-yaml@^4.1.0: 921 | version "4.1.0" 922 | resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" 923 | integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== 924 | dependencies: 925 | argparse "^2.0.1" 926 | 927 | json-stringify-safe@^5.0.1: 928 | version "5.0.1" 929 | resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" 930 | integrity sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA== 931 | 932 | keepalive-workflow@^2.0.9: 933 | version "2.0.9" 934 | resolved "https://registry.yarnpkg.com/keepalive-workflow/-/keepalive-workflow-2.0.9.tgz#f6de0dc4b8e9c72a28a69fbcd2f9aa572c7aefaf" 935 | integrity sha512-xr8q/Qf8lqSarJyL7JKmx51pW/EMjty46OAjU+InVdrhurtZIKaK0Sqxghhz3nCGxlF+M/f04Zdcy9jIuTbW1Q== 936 | dependencies: 937 | "@actions/core" "^1.10.1" 938 | "@octokit/rest" "^20.0.2" 939 | 940 | lazy-ass@1.6.0: 941 | version "1.6.0" 942 | resolved "https://registry.yarnpkg.com/lazy-ass/-/lazy-ass-1.6.0.tgz#7999655e8646c17f089fdd187d150d3324d54513" 943 | integrity sha512-cc8oEVoctTvsFZ/Oje/kGnHbpWHYBe8IAJe4C0QNc3t8uM/0Y8+erSz/7Y1ALuXTEZTMvxXwO6YbX1ey3ujiZw== 944 | 945 | locate-path@^6.0.0: 946 | version "6.0.0" 947 | resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286" 948 | integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw== 949 | dependencies: 950 | p-locate "^5.0.0" 951 | 952 | lodash@^4.17.21: 953 | version "4.17.21" 954 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" 955 | integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== 956 | 957 | log-symbols@^4.1.0: 958 | version "4.1.0" 959 | resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.1.0.tgz#3fbdbb95b4683ac9fc785111e792e558d4abd503" 960 | integrity sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg== 961 | dependencies: 962 | chalk "^4.1.0" 963 | is-unicode-supported "^0.1.0" 964 | 965 | lru-cache@^10.2.0: 966 | version "10.4.3" 967 | resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.4.3.tgz#410fc8a17b70e598013df257c2446b7f3383f119" 968 | integrity sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ== 969 | 970 | map-stream@~0.1.0: 971 | version "0.1.0" 972 | resolved "https://registry.yarnpkg.com/map-stream/-/map-stream-0.1.0.tgz#e56aa94c4c8055a16404a0674b78f215f7c8e194" 973 | integrity sha512-CkYQrPYZfWnu/DAmVCpTSX/xHpKZ80eKh2lAkyA6AJTef6bW+6JpbQZN5rofum7da+SyN1bi5ctTm+lTfcCW3g== 974 | 975 | math-intrinsics@^1.1.0: 976 | version "1.1.0" 977 | resolved "https://registry.yarnpkg.com/math-intrinsics/-/math-intrinsics-1.1.0.tgz#a0dd74be81e2aa5c2f27e65ce283605ee4e2b7f9" 978 | integrity sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g== 979 | 980 | merge-stream@^2.0.0: 981 | version "2.0.0" 982 | resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" 983 | integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== 984 | 985 | mime-db@1.52.0: 986 | version "1.52.0" 987 | resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" 988 | integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== 989 | 990 | mime-types@^2.1.12: 991 | version "2.1.35" 992 | resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" 993 | integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== 994 | dependencies: 995 | mime-db "1.52.0" 996 | 997 | mimic-fn@^2.1.0: 998 | version "2.1.0" 999 | resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" 1000 | integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== 1001 | 1002 | minimatch@^5.1.6: 1003 | version "5.1.6" 1004 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.6.tgz#1cfcb8cf5522ea69952cd2af95ae09477f122a96" 1005 | integrity sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g== 1006 | dependencies: 1007 | brace-expansion "^2.0.1" 1008 | 1009 | minimatch@^9.0.4: 1010 | version "9.0.5" 1011 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5" 1012 | integrity sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow== 1013 | dependencies: 1014 | brace-expansion "^2.0.1" 1015 | 1016 | minimist@^1.2.8: 1017 | version "1.2.8" 1018 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" 1019 | integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== 1020 | 1021 | "minipass@^5.0.0 || ^6.0.2 || ^7.0.0", minipass@^7.1.2: 1022 | version "7.1.2" 1023 | resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.2.tgz#93a9626ce5e5e66bd4db86849e7515e92340a707" 1024 | integrity sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw== 1025 | 1026 | mocha@^11.1.0: 1027 | version "11.1.0" 1028 | resolved "https://registry.yarnpkg.com/mocha/-/mocha-11.1.0.tgz#20d7c6ac4d6d6bcb60a8aa47971fca74c65c3c66" 1029 | integrity sha512-8uJR5RTC2NgpY3GrYcgpZrsEd9zKbPDpob1RezyR2upGHRQtHWofmzTMzTMSV6dru3tj5Ukt0+Vnq1qhFEEwAg== 1030 | dependencies: 1031 | ansi-colors "^4.1.3" 1032 | browser-stdout "^1.3.1" 1033 | chokidar "^3.5.3" 1034 | debug "^4.3.5" 1035 | diff "^5.2.0" 1036 | escape-string-regexp "^4.0.0" 1037 | find-up "^5.0.0" 1038 | glob "^10.4.5" 1039 | he "^1.2.0" 1040 | js-yaml "^4.1.0" 1041 | log-symbols "^4.1.0" 1042 | minimatch "^5.1.6" 1043 | ms "^2.1.3" 1044 | serialize-javascript "^6.0.2" 1045 | strip-json-comments "^3.1.1" 1046 | supports-color "^8.1.1" 1047 | workerpool "^6.5.1" 1048 | yargs "^17.7.2" 1049 | yargs-parser "^21.1.1" 1050 | yargs-unparser "^2.0.0" 1051 | 1052 | ms@^2.1.3: 1053 | version "2.1.3" 1054 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" 1055 | integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== 1056 | 1057 | normalize-path@^3.0.0, normalize-path@~3.0.0: 1058 | version "3.0.0" 1059 | resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" 1060 | integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== 1061 | 1062 | npm-run-path@^4.0.1: 1063 | version "4.0.1" 1064 | resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" 1065 | integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== 1066 | dependencies: 1067 | path-key "^3.0.0" 1068 | 1069 | once@^1.4.0: 1070 | version "1.4.0" 1071 | resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" 1072 | integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== 1073 | dependencies: 1074 | wrappy "1" 1075 | 1076 | onetime@^5.1.2: 1077 | version "5.1.2" 1078 | resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" 1079 | integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== 1080 | dependencies: 1081 | mimic-fn "^2.1.0" 1082 | 1083 | p-limit@^3.0.2: 1084 | version "3.1.0" 1085 | resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" 1086 | integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== 1087 | dependencies: 1088 | yocto-queue "^0.1.0" 1089 | 1090 | p-locate@^5.0.0: 1091 | version "5.0.0" 1092 | resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834" 1093 | integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw== 1094 | dependencies: 1095 | p-limit "^3.0.2" 1096 | 1097 | package-json-from-dist@^1.0.0: 1098 | version "1.0.1" 1099 | resolved "https://registry.yarnpkg.com/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz#4f1471a010827a86f94cfd9b0727e36d267de505" 1100 | integrity sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw== 1101 | 1102 | path-exists@^4.0.0: 1103 | version "4.0.0" 1104 | resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" 1105 | integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== 1106 | 1107 | path-key@^3.0.0, path-key@^3.1.0: 1108 | version "3.1.1" 1109 | resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" 1110 | integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== 1111 | 1112 | path-scurry@^1.11.1: 1113 | version "1.11.1" 1114 | resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.11.1.tgz#7960a668888594a0720b12a911d1a742ab9f11d2" 1115 | integrity sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA== 1116 | dependencies: 1117 | lru-cache "^10.2.0" 1118 | minipass "^5.0.0 || ^6.0.2 || ^7.0.0" 1119 | 1120 | pause-stream@0.0.11: 1121 | version "0.0.11" 1122 | resolved "https://registry.yarnpkg.com/pause-stream/-/pause-stream-0.0.11.tgz#fe5a34b0cbce12b5aa6a2b403ee2e73b602f1445" 1123 | integrity sha512-e3FBlXLmN/D1S+zHzanP4E/4Z60oFAa3O051qt1pxa7DEJWKAyil6upYVXCWadEnuoqa4Pkc9oUx9zsxYeRv8A== 1124 | dependencies: 1125 | through "~2.3" 1126 | 1127 | picomatch@^2.0.4, picomatch@^2.2.1: 1128 | version "2.3.1" 1129 | resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" 1130 | integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== 1131 | 1132 | process@latest: 1133 | version "0.11.10" 1134 | resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" 1135 | integrity sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A== 1136 | 1137 | promise-retry@^2.0.1: 1138 | version "2.0.1" 1139 | resolved "https://registry.yarnpkg.com/promise-retry/-/promise-retry-2.0.1.tgz#ff747a13620ab57ba688f5fc67855410c370da22" 1140 | integrity sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g== 1141 | dependencies: 1142 | err-code "^2.0.2" 1143 | retry "^0.12.0" 1144 | 1145 | proxy-from-env@^1.1.0: 1146 | version "1.1.0" 1147 | resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" 1148 | integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg== 1149 | 1150 | ps-tree@1.2.0: 1151 | version "1.2.0" 1152 | resolved "https://registry.yarnpkg.com/ps-tree/-/ps-tree-1.2.0.tgz#5e7425b89508736cdd4f2224d028f7bb3f722ebd" 1153 | integrity sha512-0VnamPPYHl4uaU/nSFeZZpR21QAWRz+sRv4iW9+v/GS/J5U5iZB5BNN6J0RMoOvdx2gWM2+ZFMIm58q24e4UYA== 1154 | dependencies: 1155 | event-stream "=3.3.4" 1156 | 1157 | random-seed@^0.3.0: 1158 | version "0.3.0" 1159 | resolved "https://registry.yarnpkg.com/random-seed/-/random-seed-0.3.0.tgz#d945f2e1f38f49e8d58913431b8bf6bb937556cd" 1160 | integrity sha512-y13xtn3kcTlLub3HKWXxJNeC2qK4mB59evwZ5EkeRlolx+Bp2ztF7LbcZmyCnOqlHQrLnfuNbi1sVmm9lPDlDA== 1161 | dependencies: 1162 | json-stringify-safe "^5.0.1" 1163 | 1164 | randombytes@^2.1.0: 1165 | version "2.1.0" 1166 | resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" 1167 | integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== 1168 | dependencies: 1169 | safe-buffer "^5.1.0" 1170 | 1171 | readdirp@~3.6.0: 1172 | version "3.6.0" 1173 | resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" 1174 | integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA== 1175 | dependencies: 1176 | picomatch "^2.2.1" 1177 | 1178 | require-directory@^2.1.1: 1179 | version "2.1.1" 1180 | resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" 1181 | integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q== 1182 | 1183 | retry@^0.12.0: 1184 | version "0.12.0" 1185 | resolved "https://registry.yarnpkg.com/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b" 1186 | integrity sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow== 1187 | 1188 | rss-parser@^3.13.0: 1189 | version "3.13.0" 1190 | resolved "https://registry.yarnpkg.com/rss-parser/-/rss-parser-3.13.0.tgz#f1f83b0a85166b8310ec531da6fbaa53ff0f50f0" 1191 | integrity sha512-7jWUBV5yGN3rqMMj7CZufl/291QAhvrrGpDNE4k/02ZchL0npisiYYqULF71jCEKoIiHvK/Q2e6IkDwPziT7+w== 1192 | dependencies: 1193 | entities "^2.0.3" 1194 | xml2js "^0.5.0" 1195 | 1196 | rxjs@^7.8.2: 1197 | version "7.8.2" 1198 | resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.8.2.tgz#955bc473ed8af11a002a2be52071bf475638607b" 1199 | integrity sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA== 1200 | dependencies: 1201 | tslib "^2.1.0" 1202 | 1203 | safe-buffer@^5.1.0: 1204 | version "5.2.1" 1205 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" 1206 | integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== 1207 | 1208 | sax@>=0.6.0: 1209 | version "1.4.1" 1210 | resolved "https://registry.yarnpkg.com/sax/-/sax-1.4.1.tgz#44cc8988377f126304d3b3fc1010c733b929ef0f" 1211 | integrity sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg== 1212 | 1213 | serialize-javascript@^6.0.2: 1214 | version "6.0.2" 1215 | resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.2.tgz#defa1e055c83bf6d59ea805d8da862254eb6a6c2" 1216 | integrity sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g== 1217 | dependencies: 1218 | randombytes "^2.1.0" 1219 | 1220 | shebang-command@^2.0.0: 1221 | version "2.0.0" 1222 | resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" 1223 | integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== 1224 | dependencies: 1225 | shebang-regex "^3.0.0" 1226 | 1227 | shebang-regex@^3.0.0: 1228 | version "3.0.0" 1229 | resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" 1230 | integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== 1231 | 1232 | signal-exit@^3.0.3: 1233 | version "3.0.7" 1234 | resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" 1235 | integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== 1236 | 1237 | signal-exit@^4.0.1: 1238 | version "4.1.0" 1239 | resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-4.1.0.tgz#952188c1cbd546070e2dd20d0f41c0ae0530cb04" 1240 | integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw== 1241 | 1242 | split@0.3: 1243 | version "0.3.3" 1244 | resolved "https://registry.yarnpkg.com/split/-/split-0.3.3.tgz#cd0eea5e63a211dfff7eb0f091c4133e2d0dd28f" 1245 | integrity sha512-wD2AeVmxXRBoX44wAycgjVpMhvbwdI2aZjCkvfNcH1YqHQvJVa1duWc73OyVGJUc05fhFaTZeQ/PYsrmyH0JVA== 1246 | dependencies: 1247 | through "2" 1248 | 1249 | start-server-and-test@^2.0.11: 1250 | version "2.0.11" 1251 | resolved "https://registry.yarnpkg.com/start-server-and-test/-/start-server-and-test-2.0.11.tgz#e04da9206acc80960339c04171f82c3a4d0a568c" 1252 | integrity sha512-TN39gLzPhHAflxyOkE/oMfQGj+pj3JgF6qVicFH/JrXt7xXktidKXwqfRga+ve7lVA8+RgPZVc25VrEPRScaDw== 1253 | dependencies: 1254 | arg "^5.0.2" 1255 | bluebird "3.7.2" 1256 | check-more-types "2.24.0" 1257 | debug "4.4.0" 1258 | execa "5.1.1" 1259 | lazy-ass "1.6.0" 1260 | ps-tree "1.2.0" 1261 | wait-on "8.0.3" 1262 | 1263 | stream-combiner@~0.0.4: 1264 | version "0.0.4" 1265 | resolved "https://registry.yarnpkg.com/stream-combiner/-/stream-combiner-0.0.4.tgz#4d5e433c185261dde623ca3f44c586bcf5c4ad14" 1266 | integrity sha512-rT00SPnTVyRsaSz5zgSPma/aHSOic5U1prhYdRy5HS2kTZviFpmDgzilbtsJsxiroqACmayynDN/9VzIbX5DOw== 1267 | dependencies: 1268 | duplexer "~0.1.1" 1269 | 1270 | "string-width-cjs@npm:string-width@^4.2.0": 1271 | version "4.2.3" 1272 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" 1273 | integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== 1274 | dependencies: 1275 | emoji-regex "^8.0.0" 1276 | is-fullwidth-code-point "^3.0.0" 1277 | strip-ansi "^6.0.1" 1278 | 1279 | string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: 1280 | version "4.2.3" 1281 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" 1282 | integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== 1283 | dependencies: 1284 | emoji-regex "^8.0.0" 1285 | is-fullwidth-code-point "^3.0.0" 1286 | strip-ansi "^6.0.1" 1287 | 1288 | string-width@^5.0.1, string-width@^5.1.2: 1289 | version "5.1.2" 1290 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" 1291 | integrity sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA== 1292 | dependencies: 1293 | eastasianwidth "^0.2.0" 1294 | emoji-regex "^9.2.2" 1295 | strip-ansi "^7.0.1" 1296 | 1297 | "strip-ansi-cjs@npm:strip-ansi@^6.0.1": 1298 | version "6.0.1" 1299 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" 1300 | integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== 1301 | dependencies: 1302 | ansi-regex "^5.0.1" 1303 | 1304 | strip-ansi@^6.0.0, strip-ansi@^6.0.1: 1305 | version "6.0.1" 1306 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" 1307 | integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== 1308 | dependencies: 1309 | ansi-regex "^5.0.1" 1310 | 1311 | strip-ansi@^7.0.1: 1312 | version "7.1.0" 1313 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" 1314 | integrity sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ== 1315 | dependencies: 1316 | ansi-regex "^6.0.1" 1317 | 1318 | strip-final-newline@^2.0.0: 1319 | version "2.0.0" 1320 | resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" 1321 | integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== 1322 | 1323 | strip-json-comments@^3.1.1: 1324 | version "3.1.1" 1325 | resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" 1326 | integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== 1327 | 1328 | supports-color@^7.1.0: 1329 | version "7.2.0" 1330 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" 1331 | integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== 1332 | dependencies: 1333 | has-flag "^4.0.0" 1334 | 1335 | supports-color@^8.1.1: 1336 | version "8.1.1" 1337 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" 1338 | integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== 1339 | dependencies: 1340 | has-flag "^4.0.0" 1341 | 1342 | through@2, through@~2.3, through@~2.3.1: 1343 | version "2.3.8" 1344 | resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" 1345 | integrity sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg== 1346 | 1347 | to-regex-range@^5.0.1: 1348 | version "5.0.1" 1349 | resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" 1350 | integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== 1351 | dependencies: 1352 | is-number "^7.0.0" 1353 | 1354 | tslib@^2.1.0: 1355 | version "2.8.1" 1356 | resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f" 1357 | integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w== 1358 | 1359 | tunnel@^0.0.6: 1360 | version "0.0.6" 1361 | resolved "https://registry.yarnpkg.com/tunnel/-/tunnel-0.0.6.tgz#72f1314b34a5b192db012324df2cc587ca47f92c" 1362 | integrity sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg== 1363 | 1364 | undici@^5.25.4: 1365 | version "5.29.0" 1366 | resolved "https://registry.yarnpkg.com/undici/-/undici-5.29.0.tgz#419595449ae3f2cdcba3580a2e8903399bd1f5a3" 1367 | integrity sha512-raqeBD6NQK4SkWhQzeYKd1KmIG6dllBOTt55Rmkt4HtI9mwdWtJljnrXjAFUBLTSN67HWrOIZ3EPF4kjUw80Bg== 1368 | dependencies: 1369 | "@fastify/busboy" "^2.0.0" 1370 | 1371 | universal-user-agent@^6.0.0: 1372 | version "6.0.1" 1373 | resolved "https://registry.yarnpkg.com/universal-user-agent/-/universal-user-agent-6.0.1.tgz#15f20f55da3c930c57bddbf1734c6654d5fd35aa" 1374 | integrity sha512-yCzhz6FN2wU1NiiQRogkTQszlQSlpWaw8SvVegAc+bDxbzHgh1vX8uIe8OYyMH6DwH+sdTJsgMl36+mSMdRJIQ== 1375 | 1376 | wait-on@8.0.3: 1377 | version "8.0.3" 1378 | resolved "https://registry.yarnpkg.com/wait-on/-/wait-on-8.0.3.tgz#a23c684115d68059d739ce4eb18a3f88088d2d16" 1379 | integrity sha512-nQFqAFzZDeRxsu7S3C7LbuxslHhk+gnJZHyethuGKAn2IVleIbTB9I3vJSQiSR+DifUqmdzfPMoMPJfLqMF2vw== 1380 | dependencies: 1381 | axios "^1.8.2" 1382 | joi "^17.13.3" 1383 | lodash "^4.17.21" 1384 | minimist "^1.2.8" 1385 | rxjs "^7.8.2" 1386 | 1387 | which@^2.0.1: 1388 | version "2.0.2" 1389 | resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" 1390 | integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== 1391 | dependencies: 1392 | isexe "^2.0.0" 1393 | 1394 | workerpool@^6.5.1: 1395 | version "6.5.1" 1396 | resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.5.1.tgz#060f73b39d0caf97c6db64da004cd01b4c099544" 1397 | integrity sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA== 1398 | 1399 | "wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": 1400 | version "7.0.0" 1401 | resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" 1402 | integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== 1403 | dependencies: 1404 | ansi-styles "^4.0.0" 1405 | string-width "^4.1.0" 1406 | strip-ansi "^6.0.0" 1407 | 1408 | wrap-ansi@^7.0.0: 1409 | version "7.0.0" 1410 | resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" 1411 | integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== 1412 | dependencies: 1413 | ansi-styles "^4.0.0" 1414 | string-width "^4.1.0" 1415 | strip-ansi "^6.0.0" 1416 | 1417 | wrap-ansi@^8.1.0: 1418 | version "8.1.0" 1419 | resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" 1420 | integrity sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ== 1421 | dependencies: 1422 | ansi-styles "^6.1.0" 1423 | string-width "^5.0.1" 1424 | strip-ansi "^7.0.1" 1425 | 1426 | wrappy@1: 1427 | version "1.0.2" 1428 | resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" 1429 | integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== 1430 | 1431 | xml2js@^0.5.0: 1432 | version "0.5.0" 1433 | resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.5.0.tgz#d9440631fbb2ed800203fad106f2724f62c493b7" 1434 | integrity sha512-drPFnkQJik/O+uPKpqSgr22mpuFHqKdbS835iAQrUC73L2F5WkboIRd63ai/2Yg6I1jzifPFKH2NTK+cfglkIA== 1435 | dependencies: 1436 | sax ">=0.6.0" 1437 | xmlbuilder "~11.0.0" 1438 | 1439 | xmlbuilder@~11.0.0: 1440 | version "11.0.1" 1441 | resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-11.0.1.tgz#be9bae1c8a046e76b31127726347d0ad7002beb3" 1442 | integrity sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA== 1443 | 1444 | y18n@^5.0.5: 1445 | version "5.0.8" 1446 | resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" 1447 | integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== 1448 | 1449 | yargs-parser@^21.1.1: 1450 | version "21.1.1" 1451 | resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" 1452 | integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== 1453 | 1454 | yargs-unparser@^2.0.0: 1455 | version "2.0.0" 1456 | resolved "https://registry.yarnpkg.com/yargs-unparser/-/yargs-unparser-2.0.0.tgz#f131f9226911ae5d9ad38c432fe809366c2325eb" 1457 | integrity sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA== 1458 | dependencies: 1459 | camelcase "^6.0.0" 1460 | decamelize "^4.0.0" 1461 | flat "^5.0.2" 1462 | is-plain-obj "^2.1.0" 1463 | 1464 | yargs@^17.7.2: 1465 | version "17.7.2" 1466 | resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269" 1467 | integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w== 1468 | dependencies: 1469 | cliui "^8.0.1" 1470 | escalade "^3.1.1" 1471 | get-caller-file "^2.0.5" 1472 | require-directory "^2.1.1" 1473 | string-width "^4.2.3" 1474 | y18n "^5.0.5" 1475 | yargs-parser "^21.1.1" 1476 | 1477 | yocto-queue@^0.1.0: 1478 | version "0.1.0" 1479 | resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" 1480 | integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== 1481 | --------------------------------------------------------------------------------