From ae343419f4c78ec1b257d46d58ab26b7e51b1ade Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Sat, 17 Sep 2022 10:36:15 +0200 Subject: [PATCH 1/3] fix: code scanning alert --- packages/core/src/lib/parseLink.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/lib/parseLink.js b/packages/core/src/lib/parseLink.js index 0251ffada..be8ac61b5 100644 --- a/packages/core/src/lib/parseLink.js +++ b/packages/core/src/lib/parseLink.js @@ -7,7 +7,7 @@ const getPartial = require('./get'); module.exports = function (patternlab, obj, key) { //check for 'link.patternPartial' - const linkRE = /(?:'|")(link\.[A-z0-9-_]+)(?:'|")/g; + const linkRE = /(?:'|")(link\.[\w-]+)(?:'|")/g; //stringify the passed in object let dataObjAsString; From 77d828160a4c775dca6ba9396fec27bd3772e621 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Sat, 17 Sep 2022 10:41:48 +0200 Subject: [PATCH 2/3] fix: code scanning alert --- .../src/_includes/partials/components/demo-list.njk | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/docs/src/_includes/partials/components/demo-list.njk b/packages/docs/src/_includes/partials/components/demo-list.njk index 6d097b554..c351dde08 100644 --- a/packages/docs/src/_includes/partials/components/demo-list.njk +++ b/packages/docs/src/_includes/partials/components/demo-list.njk @@ -5,8 +5,8 @@ {% if item.data.category == demoListCategory %}
  • - - + +
    @@ -19,15 +19,15 @@
    - +

    - {{ item.data.title }} + {{ item.data.title }}

    - {{ item.data.description}} + {{ item.data.description}}

    - +
  • {% endif %} From 403019106328bbaf0aa03fddd94abf3bb5ced8fb Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Sat, 17 Sep 2022 10:45:30 +0200 Subject: [PATCH 3/3] fix: code scanning alert --- .github/gitgraph/branching-scheme.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/gitgraph/branching-scheme.html b/.github/gitgraph/branching-scheme.html index 32d2ffb80..bae1ee2b5 100644 --- a/.github/gitgraph/branching-scheme.html +++ b/.github/gitgraph/branching-scheme.html @@ -11,7 +11,7 @@ - +