@smithy/shared-ini-file-loader 2.2.1 → 2.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.parseIni = void 0;
4
4
  const types_1 = require("@smithy/types");
5
5
  const loadSharedConfigFiles_1 = require("./loadSharedConfigFiles");
6
- const prefixKeyRegex = /^([\w-]+)\s(["'])?([\w-@]+)\2$/;
6
+ const prefixKeyRegex = /^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/;
7
7
  const profileNameBlockList = ["__proto__", "profile __proto__"];
8
8
  const parseIni = (iniData) => {
9
9
  const map = {};
@@ -1,6 +1,6 @@
1
1
  import { IniSectionType } from "@smithy/types";
2
2
  import { CONFIG_PREFIX_SEPARATOR } from "./loadSharedConfigFiles";
3
- const prefixKeyRegex = /^([\w-]+)\s(["'])?([\w-@]+)\2$/;
3
+ const prefixKeyRegex = /^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/;
4
4
  const profileNameBlockList = ["__proto__", "profile __proto__"];
5
5
  export const parseIni = (iniData) => {
6
6
  const map = {};
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@smithy/shared-ini-file-loader",
3
- "version": "2.2.1",
3
+ "version": "2.2.3",
4
4
  "dependencies": {
5
- "@smithy/types": "^2.3.5",
5
+ "@smithy/types": "^2.4.0",
6
6
  "tslib": "^2.5.0"
7
7
  },
8
8
  "devDependencies": {