Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
typescript-angular-utilities
Advanced tools
Contains a list of reusable TypeScript libraries, services, and general utilities. These are all defined as angular services and can be injected via the angular dependency injector.
Angular directives that are applied as attributes to an element in order to modify the element's behavior.
Contains Angular filters, which can be applied to bindings using the Angular pipe operator <span>{{myMoney | currency}}</span>
Contains a generic filter interface IFilter
Contains miscellaneous tools and utilities for working with objects and other useful tasks.
import { services } from 'typescript-angular-utilities';
import objectNamespace = services.object;
export class MyController {
static $inject: string[] = [objectNamespace.serviceName];
constructor(private objectService: objectNamespace.IObjectUtility): void {
}
...
private testForEmpty(): boolean {
return this.objectService.isNullOrEmpty(this.someValue);
}
}
angular.module('moduleName', [objectNamespace.moduleName])
.controller('controllerName', MyController);
Clone the repository into your working directory.
Node must be installed.
Install the karma client:
npm install karma -g
Install the typescript compiler:
npm install typescript -g
Navigate to the root of the repo in a cmd prompt and run:
npm run update
Please always test new builds to ensure non-breaking commits and PRs
To build: npm run build
To test: npm test
To debug tests: npm run test.debug
To run tests against additional browsers: npm run test.full
FAQs
Typescript utility classes published as angular services
The npm package typescript-angular-utilities receives a total of 11 weekly downloads. As such, typescript-angular-utilities popularity was classified as not popular.
We found that typescript-angular-utilities demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.