mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: update all non-major dependencies
See associated pull request for more information.
This commit is contained in:
committed by
Jessica Janiuk
parent
a0f943d53d
commit
b63b9032b4
+5
-5
@@ -31,7 +31,7 @@
|
||||
"@codemirror/lint": "6.9.7",
|
||||
"@codemirror/search": "6.7.1",
|
||||
"@codemirror/state": "6.7.1",
|
||||
"@codemirror/view": "6.43.6",
|
||||
"@codemirror/view": "6.43.7",
|
||||
"@lezer/common": "1.5.2",
|
||||
"@lezer/css": "1.3.4",
|
||||
"@lezer/highlight": "1.2.3",
|
||||
@@ -76,13 +76,13 @@
|
||||
"karma-coverage": "2.2.1",
|
||||
"karma-jasmine": "5.1.0",
|
||||
"karma-jasmine-html-reporter": "2.2.0",
|
||||
"marked": "18.0.6",
|
||||
"marked": "18.0.7",
|
||||
"mermaid": "11.16.0",
|
||||
"ngx-progressbar": "14.0.0",
|
||||
"playwright-core": "1.61.1",
|
||||
"playwright-core": "1.62.0",
|
||||
"preact": "10.29.7",
|
||||
"preact-render-to-string": "6.7.0",
|
||||
"prettier": "3.9.5",
|
||||
"prettier": "3.9.6",
|
||||
"property-information": "^7.1.0",
|
||||
"rxjs": "7.8.2",
|
||||
"shiki": "4.3.1",
|
||||
@@ -98,7 +98,7 @@
|
||||
"devDependencies": {
|
||||
"autoprefixer": "10.5.4",
|
||||
"karma": "~6.4.4",
|
||||
"postcss": "8.5.20",
|
||||
"postcss": "8.5.25",
|
||||
"tailwindcss": "3.4.19"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
* found in the LICENSE file at https://angular.dev/license
|
||||
*/
|
||||
|
||||
import {DocsCodeToken} from '../extensions/docs-code/docs-code.mjs';
|
||||
import {chromium} from 'playwright-core';
|
||||
import {Mermaid, MermaidConfig} from 'mermaid';
|
||||
import {resolve, join} from 'path';
|
||||
import {join, resolve} from 'path';
|
||||
import {chromium} from 'playwright-core';
|
||||
import {DocsCodeToken} from '../extensions/docs-code/docs-code.mjs';
|
||||
|
||||
const runfilesDir = process.env['JS_BINARY__RUNFILES']!;
|
||||
// Declare mermarid in the context of this file so that typescript doesn't get upset when we
|
||||
@@ -62,7 +62,7 @@ export async function processMermaidCodeBlock(token: DocsCodeToken) {
|
||||
/** The generated SVG element string for the provided token's code. */
|
||||
let {svg} = await page.evaluate(
|
||||
({diagram, config}) => {
|
||||
mermaid.initialize(config);
|
||||
mermaid.initialize(config as MermaidConfig);
|
||||
|
||||
return mermaid.render('mermaid-generated-diagram', diagram);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user