Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
ng2-awesome-disqus
Advanced tools
Angular 2 Disqus comment system, coming soon on npm
Install it with npm
npm install ng2-awesome-disqus --save
<disqus [shortname]="disqusShortname" [identifier]="pageIdentifier" ></disqus>
It's highly recommended to read the official Disqus docs JavaScript configuration variables before setting these inputs.
<disqus [shortname]="disqusShortname" [identifier]="pageIdentifier"
[url]="customUrl" [categoryId]="catId"
[lang]="'en'"
[removeOnDestroy]="true"
></disqus>
ng2-awesome-disqus module uses ChangeDetectionStrategy.OnPush
, so the inputs won't detect changes if bound to variables (why would you need change detection here anyway!).
The input [removeOnDestroy]
explains it self, you should ONLY set it to true if your app has dynamic theme, this will load Disqus script every time the component initializes and it will let Disqus to decide the appropriate colors for you, just like in this Demo
If you identify any errors in this component, or have an idea for an improvement, please open an issue. I am excited to see what the community thinks of this project, and I would love your input!
Murhaf Sousli
FAQs
Angular Disqus Module
The npm package ng2-awesome-disqus receives a total of 2 weekly downloads. As such, ng2-awesome-disqus popularity was classified as not popular.
We found that ng2-awesome-disqus demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.