From 4e87195739f2a5d9a05451b48773c8afdc680765 Mon Sep 17 00:00:00 2001 From: akiyamn Date: Sun, 24 Sep 2023 23:22:21 +1000 Subject: Initial commit (by create-cloudflare CLI) --- .../rollup-pluginutils/dist/pluginutils.d.ts | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 node_modules/rollup-pluginutils/dist/pluginutils.d.ts (limited to 'node_modules/rollup-pluginutils/dist/pluginutils.d.ts') diff --git a/node_modules/rollup-pluginutils/dist/pluginutils.d.ts b/node_modules/rollup-pluginutils/dist/pluginutils.d.ts new file mode 100644 index 0000000..43ecabb --- /dev/null +++ b/node_modules/rollup-pluginutils/dist/pluginutils.d.ts @@ -0,0 +1,39 @@ +import { Node } from 'estree-walker'; + +export interface AttachedScope { + parent?: AttachedScope; + isBlockScope: boolean; + declarations: { [key: string]: boolean }; + addDeclaration(node: Node, isBlockDeclaration: boolean, isVar: boolean): void; + contains(name: string): boolean; +} + +export interface DataToEsmOptions { + compact?: boolean; + indent?: string; + namedExports?: boolean; + objectShorthand?: boolean; + preferConst?: boolean; +} + +export type AddExtension = (filename: string, ext?: string) => string; +export const addExtension: AddExtension; + +export type AttachScopes = (ast: Node, propertyName?: string) => AttachedScope; +export const attachScopes: AttachScopes; + +export type CreateFilter = ( + include?: Array | string | RegExp | null, + exclude?: Array | string | RegExp | null, + options?: { resolve?: string | false | null } +) => (id: string | any) => boolean; +export const createFilter: CreateFilter; + +export type MakeLegalIdentifier = (str: string) => string; +export const makeLegalIdentifier: MakeLegalIdentifier; + +export type DataToEsm = (data: any, options?: DataToEsmOptions) => string; +export const dataToEsm: DataToEsm; + +export type ExtractAssignedNames = (param: Node) => Array; +export const extractAssignedNames: ExtractAssignedNames; -- cgit v1.2.3