Socket
Socket
Sign inDemoInstall

@secretlint/messages-to-markdown

Package Overview
Dependencies
4
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.1.0

11

CHANGELOG.md

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

# [2.1.0](https://github.com/secretlint/secretlint/compare/v2.0.0...v2.1.0) (2020-06-16)
### Features
* **secretlint-rule-no-homedir:** add new rule ([#136](https://github.com/secretlint/secretlint/issues/136)) ([447e2e0](https://github.com/secretlint/secretlint/commit/447e2e0b473e267934ea42ed8788de15dcea9cd8))
# [2.0.0](https://github.com/secretlint/secretlint/compare/v1.1.0...v2.0.0) (2020-04-27)

@@ -8,0 +19,0 @@

4

lib/index.js

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

get: function (_target, p, _receiver) {
return "{{" + String(p) + "}";
}
return "{{" + String(p) + "}}";
},
});

@@ -11,0 +11,0 @@ Object.keys(messages).forEach(function (messageId) {

{
"name": "@secretlint/messages-to-markdown",
"version": "2.0.0",
"version": "2.1.0",
"description": "Create Markdown text from rule's messages(ids)",

@@ -46,3 +46,3 @@ "keywords": [

"dependencies": {
"@secretlint/types": "^2.0.0",
"@secretlint/types": "^2.1.0",
"meow": "^6.1.0",

@@ -64,3 +64,3 @@ "ts-node": "^8.8.1",

},
"gitHead": "d961f968a46561ca424d54d6f34ce94e245a6e16"
"gitHead": "bd05e472ac9e4eb979070626b9a70e21950111e1"
}

@@ -8,8 +8,11 @@ import { SecretLintRuleLocalizeMessageMulti, SecretLintRuleLocalizeMessages } from "@secretlint/types";

let output = "";
const proxy = new Proxy({}, {
get(_target: {}, p: PropertyKey, _receiver: any): any {
return `{{${String(p)}}`;
const proxy = new Proxy(
{},
{
get(_target: {}, p: PropertyKey, _receiver: any): any {
return `{{${String(p)}}}`;
},
}
});
Object.keys(messages).forEach(messageId => {
);
Object.keys(messages).forEach((messageId) => {
const enMessage = (messages[messageId] as SecretLintRuleLocalizeMessageMulti<any>)["en"];

@@ -16,0 +19,0 @@ const shortDescription = enMessage(proxy).split("\n")[0];

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc