Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/IgniteUI/ignite-ui into a…
Browse files Browse the repository at this point in the history
…lert-autofix-27
  • Loading branch information
kdinev committed Nov 5, 2024
2 parents c450397 + 63c065b commit c7b8043
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -50,7 +50,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -64,4 +64,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

- name: Publish to coveralls.io
if: github.repository == 'IgniteUI/ignite-ui' && matrix.node-version == '20.x'
uses: coverallsapp/github-action@v1.1.2
uses: coverallsapp/github-action@v1.2.1
with:
path-to-lcov: ./coverage/lcov.info
github-token: ${{ github.token }}
Expand Down
2 changes: 1 addition & 1 deletion src/js/modules/infragistics.templating.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
Use $.ig.regExp.sub.exec(tmpl) in order to get the substitution element in the tmpl string
*/
nonEncodeSub: /\{\{html\s+([^\s{}]+(\.|\s)?[^\s{}]*)+\}\}/,

Check failure

Code scanning / CodeQL

Inefficient regular expression High

This part of the regular expression may cause exponential backtracking on strings starting with '{{html ' and containing many repetitions of '!'.
forSub: /\$\{(([\w\$]+\.[\w\$]*)+)\}/,
forSub: /\$\{([\w\$]+\.[\w\$]+(?:\.[\w\$]+)*)\}/,
arg: /args\[\d+\](?!.*\+)/,
/* type="RegExp" Matches any block directive in the template
Use $.ig.regExp.block.exec(tmpl) in order to get the block directive in the tmpl string
Expand Down

0 comments on commit c7b8043

Please sign in to comment.