@aws-sdk/shared-ini-file-loader
Advanced tools
Comparing version 3.32.0 to 3.34.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24) | ||
### Features | ||
* **non-clients:** remove comments from transpiled JS files ([#2813](https://github.com/aws/aws-sdk-js-v3/issues/2813)) ([e6fc7f3](https://github.com/aws/aws-sdk-js-v3/commit/e6fc7f3e0fa74785590ac19e7ed143c916bb9b6e)) | ||
# [3.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17) | ||
@@ -8,0 +19,0 @@ |
@@ -33,3 +33,2 @@ "use strict"; | ||
else if ((matches = profileKeyRegex.exec(key))) { | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
const [_1, _2, normalizedKey] = matches; | ||
@@ -48,3 +47,3 @@ if (normalizedKey) { | ||
for (let line of iniData.split(/\r?\n/)) { | ||
line = line.split(/(^|\s)[;#]/)[0]; // remove comments | ||
line = line.split(/(^|\s)[;#]/)[0]; | ||
const section = line.match(/^\s*\[([^\[\]]+)]\s*$/); | ||
@@ -77,7 +76,2 @@ if (section) { | ||
}); | ||
/** | ||
* Get the HOME directory for the current runtime. | ||
* | ||
* @internal | ||
*/ | ||
const getHomeDir = () => { | ||
@@ -94,2 +88,2 @@ const { HOME, USERPROFILE, HOMEPATH, HOMEDRIVE = `C:${path_1.sep}` } = process.env; | ||
exports.getHomeDir = getHomeDir; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsMkJBQThCO0FBQzlCLDJCQUE2QjtBQUM3QiwrQkFBaUM7QUFFcEIsUUFBQSxvQkFBb0IsR0FBRyw2QkFBNkIsQ0FBQzt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biAgICAgIH0gZWxzZSB7XG4gICAgICAgIHJlc29sdmUoZGF0YSk7XG4gICAgICB9XG4gICAgfSk7XG4gIH0pO1xuXG4vKipcbiAqIEdldCB0aGUgSE9NRSBkaXJlY3RvcnkgZm9yIHRoZSBjdXJyZW50IHJ1bnRpbWUuXG4gKlxuICogQGludGVybmFsXG4gKi9cbmV4cG9ydCBjb25zdCBnZXRIb21lRGlyID0gKCk6IHN0cmluZyA9PiB7XG4gIGNvbnN0IHsgSE9NRSwgVVNFUlBST0ZJTEUsIEhPTUVQQVRILCBIT01FRFJJVkUgPSBgQzoke3NlcH1gIH0gPSBwcm9jZXNzLmVudjtcblxuICBpZiAoSE9NRSkgcmV0dXJuIEhPTUU7XG4gIGlmIChVU0VSUFJPRklMRSkgcmV0dXJuIFVTRVJQUk9GSUxFO1xuICBpZiAoSE9NRVBBVEgpIHJldHVybiBgJHtIT01FRFJJVkV9JHtIT01FUEFUSH1gO1xuXG4gIHJldHVybiBob21lZGlyKCk7XG59O1xuIl19 |
{ | ||
"name": "@aws-sdk/shared-ini-file-loader", | ||
"version": "3.32.0", | ||
"version": "3.34.0", | ||
"dependencies": { | ||
@@ -14,5 +14,6 @@ "tslib": "^2.3.0" | ||
"scripts": { | ||
"build": "yarn build:cjs && yarn build:es && yarn build:types", | ||
"build:cjs": "tsc -p tsconfig.cjs.json", | ||
"build:es": "tsc -p tsconfig.es.json", | ||
"build": "yarn build:es && yarn build:cjs", | ||
"build:types": "tsc -p tsconfig.types.json", | ||
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4", | ||
@@ -19,0 +20,0 @@ "test": "jest" |
{ | ||
"compilerOptions": { | ||
"declarationDir": "./dist/types", | ||
"rootDir": "./src", | ||
"outDir": "./dist/cjs", | ||
"baseUrl": "." | ||
"baseUrl": ".", | ||
"outDir": "dist/cjs", | ||
"rootDir": "src" | ||
}, | ||
@@ -8,0 +7,0 @@ "extends": "../../tsconfig.cjs.json", |
{ | ||
"compilerOptions": { | ||
"baseUrl": ".", | ||
"lib": ["es5", "es2015.promise", "es2015.collection"], | ||
"declarationDir": "./dist/types", | ||
"rootDir": "./src", | ||
"outDir": "./dist/es", | ||
"baseUrl": "." | ||
"outDir": "dist/es", | ||
"rootDir": "src" | ||
}, | ||
@@ -9,0 +8,0 @@ "extends": "../../tsconfig.es.json", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65532
12
396