amplify-cli-core
Advanced tools
Comparing version 1.3.0 to 1.3.1-beta.0
@@ -6,2 +6,13 @@ # Change Log | ||
## [1.3.1-beta.0](https://github.com/aws-amplify/amplify-cli/compare/amplify-cli-core@1.3.0...amplify-cli-core@1.3.1-beta.0) (2020-09-09) | ||
### Bug Fixes | ||
* update default file permissions for credentials/config ([#5246](https://github.com/aws-amplify/amplify-cli/issues/5246)) ([b64f1bd](https://github.com/aws-amplify/amplify-cli/commit/b64f1bd784b0595f49241fdd89686c5f8a421ae3)) | ||
# [1.3.0](https://github.com/aws-amplify/amplify-cli/compare/amplify-cli-core@1.2.0...amplify-cli-core@1.3.0) (2020-08-31) | ||
@@ -8,0 +19,0 @@ |
@@ -21,2 +21,5 @@ export declare class PathManager { | ||
getCurrentBackendConfigFilePath: (projectPath?: string | undefined) => string; | ||
getDotAWSDirPath: () => string; | ||
getAWSCredentialsFilePath: () => string; | ||
getAWSConfigFilePath: () => string; | ||
private constructPath; | ||
@@ -23,0 +26,0 @@ private validateProjectPath; |
@@ -27,2 +27,5 @@ "use strict"; | ||
const PathConstants = { | ||
DotAWSDir: '.aws', | ||
AWSCredentials: 'credentials', | ||
AWSConfig: 'config', | ||
AmplifyDirName: 'amplify', | ||
@@ -70,2 +73,5 @@ DotAmplifyDirName: '.amplify', | ||
]); | ||
this.getDotAWSDirPath = () => path.normalize(path.join(os_1.homedir(), PathConstants.DotAWSDir)); | ||
this.getAWSCredentialsFilePath = () => path.normalize(path.join(this.getDotAWSDirPath(), PathConstants.AWSCredentials)); | ||
this.getAWSConfigFilePath = () => path.normalize(path.join(this.getDotAWSDirPath(), PathConstants.AWSConfig)); | ||
this.constructPath = (projectPath, segments = []) => { | ||
@@ -72,0 +78,0 @@ if (!projectPath) { |
{ | ||
"name": "amplify-cli-core", | ||
"version": "1.3.0", | ||
"version": "1.3.1-beta.0", | ||
"description": "Amplify CLI Core", | ||
@@ -58,3 +58,3 @@ "repository": { | ||
}, | ||
"gitHead": "c6233791e83ede69ec147a97435b27f7e854f776" | ||
"gitHead": "a0e9e01948ba8f517c11caf6241742bd04fc66d7" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
119731
1335
2