Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@types/babel__standalone
Advanced tools
TypeScript definitions for @babel/standalone
npm install --save @types/babel__standalone
This package contains type definitions for @babel/standalone (https://github.com/babel/babel/tree/master/packages/babel-standalone).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babel__standalone.
import { BabelFileResult, FileResultCallback, TransformOptions, types } from "@babel/core";
export function transform(code: string, options: TransformOptions): BabelFileResult;
export function transformFromAst(
ast: types.Node,
code: string | undefined,
opts: TransformOptions | undefined,
callback?: FileResultCallback,
): void;
export function registerPlugin(name: string, plugin: object | (() => void)): void;
export function registerPlugins(newPlugins: {
[key: string]: object | (() => void);
}): void;
export function registerPreset(name: string, preset: object | (() => void)): void;
export function registerPresets(newPresets: {
[key: string]: object | (() => void);
}): void;
export const availablePlugins: Record<string, object | (() => void)>;
export const availablePresets: Record<string, object | (() => void)>;
export function transformScriptTags(scriptTags?: HTMLCollection): void;
export function disableScriptTags(): void;
export as namespace babel;
import * as generator from "@babel/generator";
import parser from "@babel/parser";
import * as template from "@babel/template";
import * as traverse from "@babel/traverse";
import type t from "@babel/types";
export const packages: {
generator: typeof generator;
parser: typeof parser;
template: typeof template;
traverse: typeof traverse;
types: typeof t;
};
These definitions were written by .
FAQs
TypeScript definitions for @babel/standalone
We found that @types/babel__standalone 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.