From d5a69ceca1c3867700c32135c0da4788efdd2c0e Mon Sep 17 00:00:00 2001 From: Theron Voran Date: Mon, 23 Aug 2021 08:36:01 -0700 Subject: [PATCH] Update to v2.3.1 (#242) --- CHANGELOG.md | 6 ++++++ README.md | 2 +- dist/index.js | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1954034..d5edbf0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ ## Unreleased +## 2.3.1 (August 18th, 2021) + +Improvements: +* bump normalize-url from 4.5.0 to 4.5.1 [GH-227](https://github.com/hashicorp/vault-action/pull/227) +* bump path-parse from 1.0.6 to 1.0.7 [GH-239](https://github.com/hashicorp/vault-action/pull/239) + ## 2.3.0 (June 23rd, 2021) Features: diff --git a/README.md b/README.md index e2fb84b..15f4d6f 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ jobs: steps: # ... - name: Import Secrets - uses: hashicorp/vault-action@v2.3.0 + uses: hashicorp/vault-action@v2.3.1 with: url: https://vault.mycompany.com:8200 token: ${{ secrets.VaultToken }} diff --git a/dist/index.js b/dist/index.js index be8ee17..fc462b9 100644 --- a/dist/index.js +++ b/dist/index.js @@ -434,7 +434,7 @@ const testParameter = (name, filters) => { }; const normalizeDataURL = (urlString, {stripHash}) => { - const parts = urlString.match(/^data:(.*?),(.*?)(?:#(.*))?$/); + const parts = urlString.match(/^data:([^,]*?),([^#]*?)(?:#(.*))?$/); if (!parts) { throw new Error(`Invalid URL: ${urlString}`);