diff --git a/package-lock.json b/package-lock.json index 686025d5ec4e..3f227eba4ccb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,6 +25,7 @@ "@angular/platform-server": "^12.2.16", "@angular/router": "~12.2.16", "core-js": "^2.6.12", + "marked": "^4.2.5", "parse5": "^6.0.1", "rxjs": "~6.6.3", "zone.js": "~0.11.4" @@ -20018,6 +20019,18 @@ "node": ">=4" } }, + "node_modules/firebase-tools/node_modules/marked": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/marked/-/marked-0.7.0.tgz", + "integrity": "sha512-c+yYdCZJQrsRjTPhUx7VKkApw9bwDkNbHUKo1ovgcfDjb2kc8rLuRbIFyXL5WOEUwzSSKo3IXpph2K6DqB/KZg==", + "dev": true, + "bin": { + "marked": "bin/marked" + }, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/firebase-tools/node_modules/mime": { "version": "2.6.0", "dev": true, @@ -29224,14 +29237,14 @@ } }, "node_modules/marked": { - "version": "0.7.0", - "dev": true, - "license": "MIT", + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/marked/-/marked-4.2.5.tgz", + "integrity": "sha512-jPueVhumq7idETHkb203WDD4fMA3yV9emQ5vLwop58lu8bTclMghBWcYAavlDqIEMaisADinV1TooIFCfqOsYQ==", "bin": { - "marked": "bin/marked" + "marked": "bin/marked.js" }, "engines": { - "node": ">=0.10.0" + "node": ">= 12" } }, "node_modules/marked-terminal": { @@ -30104,32 +30117,23 @@ } }, "node_modules/ngx-markdown": { - "version": "11.2.0", - "license": "MIT", + "version": "12.1.0", + "resolved": "https://registry.npmjs.org/ngx-markdown/-/ngx-markdown-12.1.0.tgz", + "integrity": "sha512-Ut+CqLg+3UbYSix3/e+1PJBdFFbH9d9CyPnPUSnh7euVDbVOWw/cy/kwTW7uV3fX6HtTitmstc++nO38MLUr0Q==", "dependencies": { "@types/marked": "^4.0.2", - "emoji-toolkit": "^6.0.1", + "emoji-toolkit": "^6.5.0", "katex": "^0.13.0", "marked": "^4.0.10", "prismjs": "^1.23.0", - "tslib": "^2.0.0" + "tslib": "^2.1.0" }, "peerDependencies": { - "@angular/common": "^11.0.0", - "@angular/core": "^11.0.0", - "@angular/platform-browser": "^11.0.0", + "@angular/common": "^12.0.0", + "@angular/core": "^12.0.0", + "@angular/platform-browser": "^12.0.0", "rxjs": "^6.6.0", - "zone.js": "^0.10.2 || ^0.11.3" - } - }, - "node_modules/ngx-markdown/node_modules/marked": { - "version": "4.2.5", - "license": "MIT", - "bin": { - "marked": "bin/marked.js" - }, - "engines": { - "node": ">= 12" + "zone.js": "^0.10.2 || ^0.11.4" } }, "node_modules/nice-napi": { @@ -42440,7 +42444,7 @@ "date-fns": "2.29.3", "dompurify": "^2.4.3", "ng-yandex-metrika": "^4.0.0", - "ngx-markdown": "^11.2.0" + "ngx-markdown": "^12.1.0" }, "devDependencies": { "@nguniversal/builders": "~12.1.3", @@ -48149,7 +48153,7 @@ "express": "^4.18.2", "less-plugin-npm-import": "^2.1.0", "ng-yandex-metrika": "^4.0.0", - "ngx-markdown": "^11.2.0", + "ngx-markdown": "^12.1.0", "showdown": "~2.1.0" } }, @@ -56153,6 +56157,12 @@ "chalk": "^2.0.1" } }, + "marked": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/marked/-/marked-0.7.0.tgz", + "integrity": "sha512-c+yYdCZJQrsRjTPhUx7VKkApw9bwDkNbHUKo1ovgcfDjb2kc8rLuRbIFyXL5WOEUwzSSKo3IXpph2K6DqB/KZg==", + "dev": true + }, "mime": { "version": "2.6.0", "dev": true @@ -62501,8 +62511,9 @@ } }, "marked": { - "version": "0.7.0", - "dev": true + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/marked/-/marked-4.2.5.tgz", + "integrity": "sha512-jPueVhumq7idETHkb203WDD4fMA3yV9emQ5vLwop58lu8bTclMghBWcYAavlDqIEMaisADinV1TooIFCfqOsYQ==" }, "marked-terminal": { "version": "3.3.0", @@ -63094,19 +63105,16 @@ } }, "ngx-markdown": { - "version": "11.2.0", + "version": "12.1.0", + "resolved": "https://registry.npmjs.org/ngx-markdown/-/ngx-markdown-12.1.0.tgz", + "integrity": "sha512-Ut+CqLg+3UbYSix3/e+1PJBdFFbH9d9CyPnPUSnh7euVDbVOWw/cy/kwTW7uV3fX6HtTitmstc++nO38MLUr0Q==", "requires": { "@types/marked": "^4.0.2", - "emoji-toolkit": "^6.0.1", + "emoji-toolkit": "^6.5.0", "katex": "^0.13.0", "marked": "^4.0.10", "prismjs": "^1.23.0", - "tslib": "^2.0.0" - }, - "dependencies": { - "marked": { - "version": "4.2.5" - } + "tslib": "^2.1.0" } }, "nice-napi": { diff --git a/package.json b/package.json index 96fb4bf8e2d9..899b8f5fac5b 100644 --- a/package.json +++ b/package.json @@ -73,6 +73,7 @@ "@angular/platform-server": "^12.2.16", "@angular/router": "~12.2.16", "core-js": "^2.6.12", + "marked": "^4.2.5", "parse5": "^6.0.1", "rxjs": "~6.6.3", "zone.js": "~0.11.4" diff --git a/projects/demo/package.json b/projects/demo/package.json index 3e13fafe7817..0cd56e98a489 100644 --- a/projects/demo/package.json +++ b/projects/demo/package.json @@ -10,7 +10,7 @@ "date-fns": "2.29.3", "dompurify": "^2.4.3", "ng-yandex-metrika": "^4.0.0", - "ngx-markdown": "^11.2.0" + "ngx-markdown": "^12.1.0" }, "devDependencies": { "@nguniversal/builders": "~12.1.3", diff --git a/projects/demo/project.json b/projects/demo/project.json index 16524ec58702..f5af7963641e 100644 --- a/projects/demo/project.json +++ b/projects/demo/project.json @@ -61,7 +61,7 @@ "includePaths": ["projects/core/styles"] }, "scripts": [ - "node_modules/marked/lib/marked.js", + "node_modules/marked/marked.min.js", "node_modules/prismjs/prism.js", "node_modules/prismjs/components/prism-less.min.js", "node_modules/prismjs/components/prism-markup.min.js",