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

@gql.tada/internal

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gql.tada/internal - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3-canary-e42804ea2a1e64b58239cd45b152b047b9afcd17

7

CHANGELOG.md
# @gql.tada/internal
## 0.2.3-canary-e42804ea2a1e64b58239cd45b152b047b9afcd17
### Patch Changes
- ⚠️ Fix ESM build output file to be properly loadable
Submitted by [@kitten](https://github.com/kitten) (See [#247](https://github.com/0no-co/gql.tada/pull/247))
## 0.2.2

@@ -4,0 +11,0 @@

52

dist/gql-tada-internal.d.ts

@@ -1,45 +0,5 @@

import * as typescript from 'typescript';
import {
CompilerHost,
ScriptTarget,
CreateSourceFileOptions,
ResolvedModule,
Diagnostic,
} from 'typescript';
import { IntrospectionQuery, GraphQLSchema } from 'graphql';
import ts from 'typescript';
import { TsConfigJson } from 'type-fest';
declare function normalize(filename: string): string;
/** @internal */
declare function importModule(host: CompilerHost, id: string): Promise<void>;
/** @internal */
declare function importLib(host: CompilerHost): Promise<void>;
/** @internal */
declare function resolveModuleFile(from: string): Promise<string>;
/** @internal */
type VirtualCompilerHost = ReturnType<typeof createVirtualHost> & CompilerHost;
/** @internal */
declare const createProgram: (rootNames: string[], host: CompilerHost) => typescript.Program;
/** @internal */
declare function createVirtualHost(): {
getCanonicalFileName: typeof normalize;
getDefaultLibFileName(): string;
getCurrentDirectory(): '/' | '\\';
getNewLine(): string;
getModuleResolutionCache(): typescript.ModuleResolutionCache;
useCaseSensitiveFileNames(): true;
fileExists(filename: string): boolean;
directoryExists(directoryName: string): boolean;
writeFile(filename: string, content: Uint8Array | string): void;
getDirectories(directoryName: string): string[];
readFile(filename: string): string | undefined;
getSourceFile(
filename: string,
languageVersionOrOptions: ScriptTarget | CreateSourceFileOptions
): typescript.SourceFile | undefined;
resolveModuleNames(moduleNames: string[], containingFile: string): (ResolvedModule | undefined)[];
};
interface SchemaLoaderResult {

@@ -92,4 +52,4 @@ introspection: IntrospectionQuery;

readonly name: 'TSError';
readonly diagnostic: Diagnostic;
constructor(diagnostic: Diagnostic);
readonly diagnostic: ts.Diagnostic;
constructor(diagnostic: ts.Diagnostic);
}

@@ -172,9 +132,4 @@ declare class TadaError extends Error {

TadaError,
type VirtualCompilerHost,
createProgram,
createVirtualHost,
findTSConfigFile,
getURLConfig,
importLib,
importModule,
load,

@@ -189,4 +144,3 @@ loadConfig,

readTSConfigFile,
resolveModuleFile,
resolveTypeScriptRootDir,
};
{
"name": "@gql.tada/internal",
"version": "0.2.2",
"version": "0.2.3-canary-e42804ea2a1e64b58239cd45b152b047b9afcd17",
"public": true,

@@ -5,0 +5,0 @@ "description": "Internal logic for gql.tada’s CLI tool and GraphQLSP.",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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