
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
@ragempcommunity/types-server
Advanced tools
Remember to 🌟 this Github if you 💖 it.
This package contains types definitions for RAGE:MP server-side module.
SERVER-SIDE
:fire: Use github:ragempcommunity/ragemp-types#types-server
to latest build
# With npm
npm i --save-dev @ragempcommunity/types-server
# With yarn
yarn add -D @ragempcommunity/types-server
# With pnpm
pnpm add -D @ragempcommunity/types-server
To make these types detectable, you need to add the
types
property below totsconfig.json
on each side of your project.
// e.g server-side
{
"compilerOptions": {
"types": ["{RELATIVE_PATH_TO_NODE_MODULES}/@ragempcommunity/types-server"]
}
}
mp.Player.prototype.myMethod = function myMethod() {
// my method logic
};
// Usage
mp.events.add('playerReady', (player) => {
player.myProperty = 1;
player.myMethod();
});
// @types/index.d.ts
declare global {
interface PlayerMp {
myProperty: number;
myMethod(): void;
}
}
export {};
mp.events.add('playerReady', (player) => {
player.myProperty = 1;
player.myMethod = function myMethod() {
// my method logic
};
});
// @types/index.d.ts
declare global {
interface PlayerMp {
myProperty: number;
myMethod(): void;
}
}
export {};
See: RAGEMP Typescript Boilerplate
To contribute to this repository, feel free to create a new fork of the repository and submit a pull request.
main
branch.This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
Types definitions for RAGE:MP server-side module
The npm package @ragempcommunity/types-server receives a total of 340 weekly downloads. As such, @ragempcommunity/types-server popularity was classified as not popular.
We found that @ragempcommunity/types-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.