| $ prettier -c 'src/**/*'; eslint src --ext .ts,.tsx | ||
| Checking formatting... | ||
| [error] No parser could be inferred for file: src/templates/functional/fc.component.mustache | ||
| [error] No parser could be inferred for file: src/templates/functional/fc.d.ts.mustache | ||
| [error] No parser could be inferred for file: src/templates/functional/pages.mustache | ||
| [error] No parser could be inferred for file: src/templates/functional/routes.mustache | ||
| [error] No parser could be inferred for file: src/templates/functional/style.component.mustache | ||
| All matched files use Prettier code style! |
+6
-0
| # Change Log | ||
| ## 0.3.3 | ||
| ### Patch Changes | ||
| - Add auth config | ||
| ## 0.3.2 | ||
@@ -4,0 +10,0 @@ |
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <coverage generated="1689824158605" clover="3.2.0"> | ||
| <project timestamp="1689824158606" name="All files"> | ||
| <coverage generated="1689843187555" clover="3.2.0"> | ||
| <project timestamp="1689843187556" name="All files"> | ||
| <metrics statements="0" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0" elements="0" coveredelements="0" complexity="0" loc="0" ncloc="0" packages="0" files="0" classes="0"/> | ||
| </project> | ||
| </coverage> |
@@ -66,2 +66,10 @@ /* eslint-disable */ | ||
| return function jump(event) { | ||
| if ( | ||
| document.getElementById('fileSearch') === document.activeElement && | ||
| document.activeElement != null | ||
| ) { | ||
| // if we're currently focused on the search input, we don't want to navigate | ||
| return; | ||
| } | ||
| switch (event.which) { | ||
@@ -68,0 +76,0 @@ case 78: // n |
@@ -57,2 +57,8 @@ | ||
| </p> | ||
| <template id="filterTemplate"> | ||
| <div class="quiet"> | ||
| Filter: | ||
| <input oninput="onInput()" type="search" id="fileSearch"> | ||
| </div> | ||
| </template> | ||
| </div> | ||
@@ -83,6 +89,5 @@ <div class='status-line medium'></div> | ||
| Code coverage generated by | ||
| <a href="https://istanbul.js.org/" target="_blank">istanbul</a> | ||
| at Thu Jul 20 2023 11:35:58 GMT+0800 (Taipei Standard Time) | ||
| <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a> | ||
| at 2023-07-20T08:53:07.551Z | ||
| </div> | ||
| </div> | ||
| <script src="prettify.js"></script> | ||
@@ -89,0 +94,0 @@ <script> |
@@ -27,2 +27,27 @@ /* eslint-disable */ | ||
| function onFilterInput() { | ||
| const searchValue = document.getElementById('fileSearch').value; | ||
| const rows = document.getElementsByTagName('tbody')[0].children; | ||
| for (let i = 0; i < rows.length; i++) { | ||
| const row = rows[i]; | ||
| if ( | ||
| row.textContent | ||
| .toLowerCase() | ||
| .includes(searchValue.toLowerCase()) | ||
| ) { | ||
| row.style.display = ''; | ||
| } else { | ||
| row.style.display = 'none'; | ||
| } | ||
| } | ||
| } | ||
| // loads the search box | ||
| function addSearchBox() { | ||
| var template = document.getElementById('filterTemplate'); | ||
| var templateClone = template.content.cloneNode(true); | ||
| templateClone.getElementById('fileSearch').oninput = onFilterInput; | ||
| template.parentElement.appendChild(templateClone); | ||
| } | ||
| // loads all columns | ||
@@ -166,2 +191,3 @@ function loadColumns() { | ||
| loadData(); | ||
| addSearchBox(); | ||
| addSortIndicators(); | ||
@@ -168,0 +194,0 @@ enableUI(); |
+3
-3
| { | ||
| "name": "@onr/cli", | ||
| "version": "0.3.2", | ||
| "version": "0.3.3", | ||
| "description": "", | ||
@@ -30,4 +30,4 @@ "main": "lib/index.js", | ||
| "devDependencies": { | ||
| "@onr/eslint-config": "^0.6.1", | ||
| "@onr/prettier-config": "^1.4.1", | ||
| "@onr/eslint-config": "^0.6.2", | ||
| "@onr/prettier-config": "^1.4.2", | ||
| "@types/figlet": "^1.5.4", | ||
@@ -34,0 +34,0 @@ "@types/inquirer": "^6.5.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
179739
1.02%49
2.08%1337
2.37%