New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

amplify-cli-logger

Package Overview
Dependencies
Maintainers
3
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amplify-cli-logger - npm Package Compare versions

Comparing version 1.1.1-flutter-preview.525 to 1.1.3-beta.0

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [1.1.3-beta.0](https://github.com/aws-amplify/amplify-cli/compare/amplify-cli-logger@1.1.0...amplify-cli-logger@1.1.3-beta.0) (2022-05-09)
**Note:** Version bump only for package amplify-cli-logger
# 1.1.0 (2020-12-07)

@@ -8,0 +16,0 @@

8

lib/AmplifyLogger.js

@@ -39,4 +39,4 @@ "use strict";

this.logger.add(new winston_daily_rotate_file_1.default({
auditFile: getLogFilePath_1.getLogAuditFilePath(),
filename: getLogFilePath_1.getLogFilePath(),
auditFile: (0, getLogFilePath_1.getLogAuditFilePath)(),
filename: (0, getLogFilePath_1.getLogFilePath)(),
datePattern: constants_1.constants.DATE_PATTERN,

@@ -67,4 +67,4 @@ maxFiles: constants_1.constants.MAX_FILE_DAYS,

this.logger.add(new winston_daily_rotate_file_1.default({
auditFile: getLogFilePath_1.getLocalAuditLogFile(projecPath),
filename: getLogFilePath_1.getLocalLogFilePath(projecPath),
auditFile: (0, getLogFilePath_1.getLocalAuditLogFile)(projecPath),
filename: (0, getLogFilePath_1.getLocalLogFilePath)(projecPath),
datePattern: constants_1.constants.DATE_PATTERN,

@@ -71,0 +71,0 @@ maxFiles: constants_1.constants.MAX_FILE_DAYS,

@@ -11,17 +11,17 @@ "use strict";

function getLogFilePath() {
return path_1.default.join(baseLogFilePath_1.getLogDirectory(), constants_1.constants.LOG_FILENAME);
return path_1.default.join((0, baseLogFilePath_1.getLogDirectory)(), constants_1.constants.LOG_FILENAME);
}
exports.getLogFilePath = getLogFilePath;
function getLogAuditFilePath() {
return path_1.default.join(baseLogFilePath_1.getLogDirectory(), constants_1.constants.LOG_AUDIT_FOLDER, constants_1.constants.LOG_AUDIT_FILENAME);
return path_1.default.join((0, baseLogFilePath_1.getLogDirectory)(), constants_1.constants.LOG_AUDIT_FOLDER, constants_1.constants.LOG_AUDIT_FILENAME);
}
exports.getLogAuditFilePath = getLogAuditFilePath;
function getLocalLogFilePath(projectPath) {
return path_1.default.join(baseLogFilePath_1.getLocalLogFileDirectory(projectPath), constants_1.constants.LOG_FILENAME);
return path_1.default.join((0, baseLogFilePath_1.getLocalLogFileDirectory)(projectPath), constants_1.constants.LOG_FILENAME);
}
exports.getLocalLogFilePath = getLocalLogFilePath;
function getLocalAuditLogFile(filePath) {
return path_1.default.join(baseLogFilePath_1.getLocalLogFileDirectory(filePath), constants_1.constants.LOG_AUDIT_FOLDER, constants_1.constants.LOG_AUDIT_FILENAME);
return path_1.default.join((0, baseLogFilePath_1.getLocalLogFileDirectory)(filePath), constants_1.constants.LOG_AUDIT_FOLDER, constants_1.constants.LOG_AUDIT_FILENAME);
}
exports.getLocalAuditLogFile = getLocalAuditLogFile;
//# sourceMappingURL=getLogFilePath.js.map
{
"name": "amplify-cli-logger",
"version": "1.1.1-flutter-preview.525+37710261c",
"version": "1.1.3-beta.0",
"description": "Amplify CLI Logger",

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

"watch": "tsc -w",
"clean": "rimraf lib tsconfig.tsbuildinfo"
"clean": "rimraf lib tsconfig.tsbuildinfo node_modules"
},

@@ -47,3 +47,3 @@ "repository": {

},
"gitHead": "37710261cd3f413a2922982998eff635e8425041"
"gitHead": "a8df7a0babffaeff27ff9dfc6cf63ff2d788decf"
}

Sorry, the diff of this file is not supported yet

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