Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/babel__standalone

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/babel__standalone - npm Package Compare versions

Comparing version 7.1.4 to 7.1.5

13

babel__standalone/index.d.ts

@@ -7,7 +7,12 @@ // Type definitions for @babel/standalone 7.1

import { TransformOptions, types, FileResultCallback, BabelFileResult } from '@babel/core';
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 transformFromAst(
ast: types.Node,
code: string | undefined,
opts: TransformOptions | undefined,
callback?: FileResultCallback,
): void;

@@ -17,3 +22,3 @@ export function registerPlugin(name: string, plugin: object | (() => void)): void;

export function registerPlugins(newPlugins: {
[key: string]: object | (() => void)
[key: string]: object | (() => void);
}): void;

@@ -23,3 +28,3 @@

export function registerPresets(newPresets: {
[key: string]: object | (() => void),
[key: string]: object | (() => void);
}): void;

@@ -26,0 +31,0 @@

{
"name": "@types/babel__standalone",
"version": "7.1.4",
"version": "7.1.5",
"description": "TypeScript definitions for @babel/standalone",

@@ -25,4 +25,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/babel__standalone",

},
"typesPublisherContentHash": "ddf414bc8c82c8fc65b81613a9f73c43059f44559803dcd97924ced9c1830158",
"typeScriptVersion": "3.8"
"typesPublisherContentHash": "a10f3539627ede4f7ace970d4d759f1ab438f1e23a7c47e0552cf0a148c3294b",
"typeScriptVersion": "4.5"
}

@@ -17,7 +17,12 @@ # Installation

import { TransformOptions, types, FileResultCallback, BabelFileResult } from '@babel/core';
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 transformFromAst(
ast: types.Node,
code: string | undefined,
opts: TransformOptions | undefined,
callback?: FileResultCallback,
): void;

@@ -27,3 +32,3 @@ export function registerPlugin(name: string, plugin: object | (() => void)): void;

export function registerPlugins(newPlugins: {
[key: string]: object | (() => void)
[key: string]: object | (() => void);
}): void;

@@ -33,3 +38,3 @@

export function registerPresets(newPresets: {
[key: string]: object | (() => void),
[key: string]: object | (() => void);
}): void;

@@ -49,3 +54,3 @@

### Additional Details
* Last updated: Thu, 23 Dec 2021 23:34:18 GMT
* Last updated: Fri, 15 Sep 2023 19:06:48 GMT
* Dependencies: [@types/babel__core](https://npmjs.com/package/@types/babel__core)

@@ -52,0 +57,0 @@ * Global values: `babel`

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc