
Research
Malicious npm Package Brand-Squats TanStack to Exfiltrate Environment Variables
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.
@hugodcrq/ngx-skeleton
Advanced tools
⌛Angular library to easily create skeleton loadings without SVG.
⌛ Easily create skeleton loadings without SVG.
Live demo here.
Install ngx-skeleton via NPM, using the command below.
npm install @hugodcrq/ngx-skeleton
Import NgxSkeletonModule in your app.module.
import { NgxSkeletonModule } from "@hugodcrq/ngx-skeleton";
@NgModule({
imports: [NgxSkeletonModule],
})
class AppModule {}
Import library styles to your global styles.scss file
@use "node_modules/@hugodcrq/ngx-skeleton/src/styles/styles.scss";
or if you use CSS add this to your styles inside your angular.json:
{
// projects.[your_project].architect.build.options
"styles": ["node_modules/@hugodcrq/ngx-skeleton/src/styles/styles.css"]
}
In .ts component
import { Component, inject, OnInit } from "@angular/core";
import { NgxSkeletonService } from "@hugodcrq/ngx-skeleton";
@Component({})
export class AppComponent implements OnInit {
skeleton = inject(NgxSkeletonService); // You can also inject via the constructor
constructor() {}
ngOnInit() {
this.skeleton.show();
// simulate long task (3s) and hide
setTimeout(() => {
this.skeleton.hide();
}, 3000);
}
}
In .html use hdSkeleton directive
<!-- with <div></div> wrapper for element without children -->
<div hdSkeleton>
<h1>Title exemple</h1>
</div>
<!-- directly on parent if element has children or add <div></div> wrapper -->
<div class="card" hdSkeleton>
<div class="card-header">Github logo</div>
<div class="card-body">
<img src="https://www.vectorlogo.zone/logos/github/github-ar21.svg" alt="github" />
</div>
</div>
To respect the standard of Conventional Commits, things have been put in place, for more information see the git section below.
Currently runs with:
By default
git-commitis disable with apre-commithook to force usage ofnpm run commit
This command allow to create formatted commit message from prompt with commitizen & cz-git.
npm run commit
You can disable pre-commit hook with --no-verify flag. But respect these rules below ⬇️
git commit --no-verify
<type>[(<scope>)]: <emoji> <subject>
[BLANK LINE]
[body]
[BLANK LINE]
[breaking changes]
[BLANK LINE]
[footer]
feat — A new featurefix — A bug fixdocs — Documentation only changesstyle — Markup, white-space, formatting, missing semi-colons... not affect the meaning of the coderefactor — A code change that neither fixes a bug or adds a featureperf — A code change that improves performancetest — Adding missing testsbuild — Changes that affect the build system or external dependenciesci — CI related changeschore — Other changes that don't modify src or test filesrevert — Reverts a previous commitFAQs
⌛Angular library to easily create skeleton loadings without SVG.
The npm package @hugodcrq/ngx-skeleton receives a total of 9 weekly downloads. As such, @hugodcrq/ngx-skeleton popularity was classified as not popular.
We found that @hugodcrq/ngx-skeleton 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
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.

Research
Compromised SAP CAP npm packages download and execute unverified binaries, creating urgent supply chain risk for affected developers and CI/CD environments.

Company News
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.