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-763d7d4eac1ec1c726c1b7d0d1557f1c439e862e

9

CHANGELOG.md
# @gql.tada/internal
## 0.2.3-canary-763d7d4eac1ec1c726c1b7d0d1557f1c439e862e
### 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))
- ⚠️ Fix resolving `tsconfig.json`' `extends` option
Submitted by [@kitten](https://github.com/kitten) (See [#251](https://github.com/0no-co/gql.tada/pull/251))
## 0.2.2

@@ -4,0 +13,0 @@

63

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);
}

@@ -108,12 +68,3 @@ declare class TadaError extends Error {

}
declare const parseConfig: (
input: Record<string, unknown>,
rootPath?: string
) => {
tadaOutputLocation: string | undefined;
tadaTurboLocation: string | undefined;
tadaPersistedLocation: string | undefined;
schema: SchemaOrigin;
template?: string | undefined;
};
declare const parseConfig: (input: unknown, rootPath?: string) => GraphQLSPConfig;

@@ -173,9 +124,4 @@ declare const readTSConfigFile: (filePath: string) => Promise<TsConfigJson>;

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

@@ -190,4 +136,3 @@ loadConfig,

readTSConfigFile,
resolveModuleFile,
resolveTypeScriptRootDir,
};
{
"name": "@gql.tada/internal",
"version": "0.2.2",
"version": "0.2.3-canary-763d7d4eac1ec1c726c1b7d0d1557f1c439e862e",
"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