+23
| Interface to manage Foobar data. | ||
| https://backoffice.Foobar.com/ | ||
| ## Table of Contents | ||
| --- | ||
| ## Configuration | ||
| ### Environment variables | ||
| Name | Description | Example Format | ||
| ---- | ----------- | -------------- | ||
| ALGOLIA_API_KEY | Algolia API key | Foobar | ||
| ALGOLIA_APP_ID | Algolia Application ID | Foobar | ||
| ALGOLIA_RECIPE_INDEX_NAME | Algolia index name | Foobar | ||
| ANALYTICS_DATABASE_HOST | analytics db: Mysql hostname | 127.0.0.1 | ||
| ANALYTICS_DATABASE_NAME | analytics db: Mysql database name | Foobar | ||
| ANALYTICS_DATABASE_PASSWORD | analytics db: Mysql password | mypass | ||
| ANALYTICS_DATABASE_USER | analytics db: Mysql user name | myusername | ||
| DATABASE_HOST | default db: Postgres hostname | 127.0.0.1 | ||
| DATABASE_NAME | default db: name | Foobar |
+2
-2
@@ -42,3 +42,3 @@ #!/usr/bin/env node | ||
| function transform(source, title, maxDepth, soft) { | ||
| var tocPattern = new RegExp(`## ${title}([\\s\\S])+\\n---`); | ||
| var tocPattern = new RegExp(`## ${title}([\\s\\S])+\\n---\\n`); | ||
| if (!tocPattern.test(source) && !soft) { | ||
@@ -116,2 +116,2 @@ console.error(`Couldn't find expected TOC pattern: ${tocPattern}`); | ||
| }); | ||
| }); | ||
| }); |
+1
-1
| { | ||
| "name": "toctoc", | ||
| "version": "0.3.0", | ||
| "version": "0.3.1", | ||
| "description": "Generates and maintain a table of contents of your README.md.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
+0
-1
@@ -21,3 +21,2 @@ toctoc | ||
| --- | ||
| ## Installation | ||
@@ -24,0 +23,0 @@ |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
7301
11.18%4
33.33%103
0.98%123
-0.81%