You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When add the file node_modules/mermaid/dist/mermaid.min.js to angular.json scripts in angular 17 and init de server, I have this warning:
[WARNING] Comparison with -0 using the "==" operator will also match 0 [equals-negative-zero]
angular:script/global:scripts.js:4637:121911:
4637 │ ...t){var e;return Bo(t)?(e=t,e==-0?0:e):Lon(t)}function M$(t){v...
╵ ~~
Floating-point equality is defined such that 0 and -0 are equal, so "x === -0" returns true for both 0 and -0. You need to use "Object.is(x, -0)" instead to test for -0.
Steps to reproduce
Init a new app with angular cli version 17 ng new ....
Install ngx-markdown
Add the mermaid.min.js to angular.json scripts
Start the dev server.
Setup
Mermaid version: 10.6.1
Angular: 17.0.3
ngx-markdown: 17.1.1
npm: 8.19.4
node: v18.18.2
The text was updated successfully, but these errors were encountered:
Description
When add the file
node_modules/mermaid/dist/mermaid.min.js
to angular.json scripts in angular 17 and init de server, I have this warning:Steps to reproduce
ng new ....
mermaid.min.js
to angular.json scriptsSetup
The text was updated successfully, but these errors were encountered: