@types/babel__standalone
Advanced tools
Comparing version 7.1.4 to 7.1.5
@@ -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` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5383
26
57