@mongosh/history
Advanced tools
Comparing version 0.6.1 to 0.7.7
@@ -1,3 +0,3 @@ | ||
export declare const HIDDEN_COMMANDS = "createUser|auth|updateUser|changeUserPassword|connect|Mongo"; | ||
export declare const HIDDEN_COMMANDS: string; | ||
export declare function removeCommand(history: string, redact?: boolean): string; | ||
export declare function changeHistory(history: string[], redact?: boolean): void; |
@@ -8,3 +8,3 @@ "use strict"; | ||
const mongodb_redact_1 = __importDefault(require("mongodb-redact")); | ||
exports.HIDDEN_COMMANDS = 'createUser|auth|updateUser|changeUserPassword|connect|Mongo'; | ||
exports.HIDDEN_COMMANDS = String.raw `\b(createUser|auth|updateUser|changeUserPassword|connect|Mongo)\b`; | ||
function removeCommand(history, redact = false) { | ||
@@ -11,0 +11,0 @@ if (redact) { |
{ | ||
"name": "@mongosh/history", | ||
"version": "0.6.1", | ||
"version": "0.7.7", | ||
"description": "MongoDB Shell History Package", | ||
@@ -31,3 +31,3 @@ "main": "./lib/index.js", | ||
}, | ||
"gitHead": "b8db879ff567d72cd0c040b04a2ee55bca0203b7" | ||
"gitHead": "9d8be6957c3ef53f4cdaa23547225806652f8ef9" | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
16342
1