From b4614b13ef89b5e70a2b48d8ee6643d0a0e3f4e2 Mon Sep 17 00:00:00 2001 From: Eduard-Constantin Ibinceanu Date: Mon, 20 May 2024 15:55:10 +0000 Subject: [PATCH 1/3] Add new exams --- lib/exams.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/exams.json b/lib/exams.json index 8bbaac7..18b907e 100644 --- a/lib/exams.json +++ b/lib/exams.json @@ -19,11 +19,21 @@ "subtitle": "Microsoft Azure Administrator", "url": "https://raw.githubusercontent.com/Ditectrev/Microsoft-Azure-AZ-104-Microsoft-Azure-Administrator-Practice-Tests-Exams-Questions-Answers/main/README.md" }, + { + "name": "Microsoft Azure AZ-204", + "subtitle": "Developing Solutions for Azure", + "url": "https://raw.githubusercontent.com/Ditectrev/Microsoft-Azure-AZ-204-Developing-Solutions-for-Microsoft-Azure-Practice-Tests-Exams-Question-Answer/main/README.md" + }, { "name": "Microsoft Azure AZ-800", "subtitle": "Windows Server Hybrid Administrator", "url": "https://raw.githubusercontent.com/Ditectrev/Microsoft-Azure-AZ-800-Windows-Server-Hybrid-Administrator-Practice-Tests-Exams-Questions-Answers/main/README.md" }, + { + "name": "Microsoft Azure SC-900", + "subtitle": "Microsoft Security, Compliance, and Identity Fundamentals", + "url": "https://raw.githubusercontent.com/Ditectrev/Microsoft-SC-900-Microsoft-Security-Compliance-and-Identity-Fundamentals-Practice-Tests-Exams-QA/main/README.md" + }, { "name": "Microsoft Azure AZ-500", "subtitle": "Microsoft Azure Security Engineer", From a5bf02330c303fa3a51c704542229f6f1a013ed3 Mon Sep 17 00:00:00 2001 From: Eduard-Constantin Ibinceanu Date: Mon, 20 May 2024 15:55:23 +0000 Subject: [PATCH 2/3] Fix regex --- lib/graphql/repoQuestions.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/graphql/repoQuestions.tsx b/lib/graphql/repoQuestions.tsx index 9f2ca00..8822753 100644 --- a/lib/graphql/repoQuestions.tsx +++ b/lib/graphql/repoQuestions.tsx @@ -1,9 +1,8 @@ -//const url = "https://raw.githubusercontent.com/Ditectrev/Microsoft-Azure-AZ-900-Microsoft-Azure-Fundamentals-Exam-Questions-Answers/main/README.md"; - const scrapeQuestions = (markdownText: string) => { const regex = - /### (.*?)\s*\n\n((?:\!\[.*?\]\(.*?\)\s*\n\n)*?)((?:- \[(?:x| )\] .*?\n)+)/gs; - const optionsRegex = /- \[(x| )\] (.*?)(?=\n- \[|$)/g; + /### (.*?)\s*\r?\n\r?\n((?:\!\[.*?\]\(.*?\)\s*\r?\n\r?\n)*?)((?:- \[(?:x| )\] .*?\r?\n)+)/gs; + + const optionsRegex = /- \[(x| )\] (.*?)(?=\r?\n- \[|$)/g; const imageRegex = /\!\[(.*?)\]\((.*?)\)/g; const questions = []; let match; From 4e7b5685b07018abacadc77f2a946276b69eb737 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 12 Jul 2024 15:58:53 +0000 Subject: [PATCH 3/3] Bump ws from 8.14.2 to 8.18.0 Bumps [ws](https://github.com/websockets/ws) from 8.14.2 to 8.18.0. - [Release notes](https://github.com/websockets/ws/releases) - [Commits](https://github.com/websockets/ws/compare/8.14.2...8.18.0) --- updated-dependencies: - dependency-name: ws dependency-type: indirect ... Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index ce4a8e9..30dff12 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10617,9 +10617,9 @@ } }, "node_modules/ws": { - "version": "8.14.2", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.14.2.tgz", - "integrity": "sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz", + "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==", "dev": true, "engines": { "node": ">=10.0.0"