Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-amplify/amplify-cli-logger

Package Overview
Dependencies
Maintainers
10
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-amplify/amplify-cli-logger - npm Package Compare versions

Comparing version 1.3.6-gfix.0 to 1.3.6-rc.0d5077acf100296.0

19

CHANGELOG.md

@@ -6,3 +6,3 @@ # Change Log

## [1.3.6-gfix.0](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/amplify-cli-logger@1.3.0...@aws-amplify/amplify-cli-logger@1.3.6-gfix.0) (2023-04-03)
## [1.3.6-rc.0d5077acf100296.0](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/amplify-cli-logger@1.3.5...@aws-amplify/amplify-cli-logger@1.3.6-rc.0d5077acf100296.0) (2023-09-21)

@@ -15,20 +15,15 @@ **Note:** Version bump only for package @aws-amplify/amplify-cli-logger

## [1.3.5](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/amplify-cli-logger@1.3.0...@aws-amplify/amplify-cli-logger@1.3.5) (2023-04-03)
## [1.3.5](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/amplify-cli-logger@1.3.4...@aws-amplify/amplify-cli-logger@1.3.5) (2023-08-31)
**Note:** Version bump only for package @aws-amplify/amplify-cli-logger
### Bug Fixes
* exclude tests from publish ([#13153](https://github.com/aws-amplify/amplify-cli/issues/13153)) ([1b1fe09](https://github.com/aws-amplify/amplify-cli/commit/1b1fe09a1c08be0262a1013f71354abd7160722a))
## [1.3.4](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/amplify-cli-logger@1.3.0...@aws-amplify/amplify-cli-logger@1.3.4) (2023-04-03)
**Note:** Version bump only for package @aws-amplify/amplify-cli-logger
## [1.3.4](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/amplify-cli-logger@1.3.3...@aws-amplify/amplify-cli-logger@1.3.4) (2023-08-17)
## [1.3.3](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/amplify-cli-logger@1.3.0...@aws-amplify/amplify-cli-logger@1.3.3) (2023-04-01)
**Note:** Version bump only for package @aws-amplify/amplify-cli-logger

@@ -40,3 +35,3 @@

## [1.3.2](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/amplify-cli-logger@1.3.0...@aws-amplify/amplify-cli-logger@1.3.2) (2023-03-31)
## [1.3.3](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/amplify-cli-logger@1.3.2...@aws-amplify/amplify-cli-logger@1.3.3) (2023-06-13)

@@ -49,3 +44,3 @@ **Note:** Version bump only for package @aws-amplify/amplify-cli-logger

## [1.3.1](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/amplify-cli-logger@1.3.0...@aws-amplify/amplify-cli-logger@1.3.1) (2023-03-31)
## [1.3.2](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/amplify-cli-logger@1.3.0...@aws-amplify/amplify-cli-logger@1.3.2) (2023-04-14)

@@ -52,0 +47,0 @@ **Note:** Version bump only for package @aws-amplify/amplify-cli-logger

@@ -8,20 +8,36 @@ "use strict";

const path_1 = __importDefault(require("path"));
const os_1 = __importDefault(require("os"));
const constants_1 = require("./constants");
const baseLogFilePath_1 = require("./baseLogFilePath");
function getFolder() {
let folder = constants_1.constants.LOG_DIRECTORY;
if (process.argv.length > 1) {
const executable = process.argv[1];
if (executable && executable.includes('dev')) {
folder += '-dev';
}
}
return folder;
}
function getLocalLogFileDirectory(projectPath) {
return path_1.default.join(projectPath, constants_1.constants.LOG_DIRECTORY);
}
function getLogDirectory() {
return path_1.default.join(os_1.default.homedir(), constants_1.constants.DOT_AMPLIFY, getFolder());
}
function getLogFilePath() {
return path_1.default.join((0, baseLogFilePath_1.getLogDirectory)(), constants_1.constants.LOG_FILENAME);
return path_1.default.join(getLogDirectory(), constants_1.constants.LOG_FILENAME);
}
exports.getLogFilePath = getLogFilePath;
function getLogAuditFilePath() {
return path_1.default.join((0, baseLogFilePath_1.getLogDirectory)(), constants_1.constants.LOG_AUDIT_FOLDER, constants_1.constants.LOG_AUDIT_FILENAME);
return path_1.default.join(getLogDirectory(), constants_1.constants.LOG_AUDIT_FOLDER, constants_1.constants.LOG_AUDIT_FILENAME);
}
exports.getLogAuditFilePath = getLogAuditFilePath;
function getLocalLogFilePath(projectPath) {
return path_1.default.join((0, baseLogFilePath_1.getLocalLogFileDirectory)(projectPath), constants_1.constants.LOG_FILENAME);
return path_1.default.join(getLocalLogFileDirectory(projectPath), constants_1.constants.LOG_FILENAME);
}
exports.getLocalLogFilePath = getLocalLogFilePath;
function getLocalAuditLogFile(filePath) {
return path_1.default.join((0, baseLogFilePath_1.getLocalLogFileDirectory)(filePath), constants_1.constants.LOG_AUDIT_FOLDER, constants_1.constants.LOG_AUDIT_FILENAME);
return path_1.default.join(getLocalLogFileDirectory(filePath), constants_1.constants.LOG_AUDIT_FOLDER, constants_1.constants.LOG_AUDIT_FILENAME);
}
exports.getLocalAuditLogFile = getLocalAuditLogFile;
//# sourceMappingURL=getLogFilePath.js.map
{
"name": "@aws-amplify/amplify-cli-logger",
"version": "1.3.6-gfix.0",
"version": "1.3.6-rc.0d5077acf100296.0",
"description": "Amplify CLI Logger",

@@ -54,3 +54,8 @@ "main": "lib/index.js",

},
"gitHead": "2e830bc87196b5e7bf89d2ebdd8638631e2838fd"
"berry": {
"plugins": [
"@yarn/plugin-typescript"
]
},
"gitHead": "2bf4dcc763df8abd94ba277bcfc8fb8afb586862"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc