New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

houdini

Package Overview
Dependencies
Maintainers
1
Versions
630
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

houdini - npm Package Compare versions

Comparing version 0.0.15 to 0.1.0

build/compile.d.ts

6

build/index.d.ts

@@ -1,8 +0,2 @@

export * from './environment';
export * from './runtime';
export * from './types';
export { default as query } from './query';
export { default as mutation } from './mutation';
export { default as fragment } from './fragment';
export declare function graphql(str: TemplateStringsArray): import('houdini-preprocess').GraphQLTagResult;
//# sourceMappingURL=index.d.ts.map

19

build/index.js

@@ -10,22 +10,5 @@ "use strict";

var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.graphql = void 0;
__exportStar(require("./environment"), exports);
__exportStar(require("./runtime"), exports);
__exportStar(require("./types"), exports);
var query_1 = require("./query");
Object.defineProperty(exports, "query", { enumerable: true, get: function () { return query_1.default; } });
var mutation_1 = require("./mutation");
Object.defineProperty(exports, "mutation", { enumerable: true, get: function () { return mutation_1.default; } });
var fragment_1 = require("./fragment");
Object.defineProperty(exports, "fragment", { enumerable: true, get: function () { return fragment_1.default; } });
// this template tag gets removed by the preprocessor so it should never be invoked.
// this function needs to return the same value as what the preprocessor leaves behind for type consistency
function graphql(str) {
// if this is executed, the preprocessor is not enabled
throw new Error("Looks like you don't have the preprocessor enabled. Encountered it at runtime wrapping: \n " +
str[0]);
}
exports.graphql = graphql;

@@ -1,9 +0,28 @@

export declare type Fragment<_Result> = {
readonly shape?: _Result;
import * as graphql from 'graphql';
export { PatchAtom, Patch, ConnectionWhen } from './generators/runtime/template/types';
declare type BaseCompiledDocument = {
name: string;
raw: string;
hash: string;
};
export declare type Operation<_Result, _Input> = {
readonly result: _Result;
readonly input: _Input;
export declare const CompiledFragmentKind = "HoudiniFragment";
export declare const CompiledMutationKind = "HoudiniMutation";
export declare const CompiledQueryKind = "HoudiniQuery";
export declare type QueryArtifact = BaseCompiledDocument & {
kind: 'HoudiniQuery';
};
export declare type Session = any;
export declare type MutationArtifact = BaseCompiledDocument & {
kind: 'HoudiniMutation';
};
export declare type FragmentArtifact = BaseCompiledDocument & {
kind: 'HoudiniFragment';
};
export declare type DocumentArtifact = FragmentArtifact | QueryArtifact | MutationArtifact;
export declare type CollectedGraphQLDocument = {
filename: string;
name: string;
document: graphql.DocumentNode;
originalDocument: graphql.DocumentNode;
printed: string;
};
//# sourceMappingURL=types.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CompiledQueryKind = exports.CompiledMutationKind = exports.CompiledFragmentKind = void 0;
exports.CompiledFragmentKind = 'HoudiniFragment';
exports.CompiledMutationKind = 'HoudiniMutation';
exports.CompiledQueryKind = 'HoudiniQuery';
{
"name": "houdini",
"version": "0.0.15",
"version": "0.1.0",
"description": "",
"scripts": {

@@ -8,8 +9,33 @@ "build": "tsc",

},
"main": "build/index.js",
"bin": "build/main.js",
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"houdini-compiler": "^0.0.15",
"houdini-preprocess": "^0.0.15"
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@babel/preset-typescript": "^7.12.7",
"@types/glob": "^7.1.3",
"@types/jest": "^26.0.20",
"@types/mkdirp": "^1.0.1",
"babel-jest": "^26.6.3",
"jest": "^26.6.3",
"typescript": "^4.0.0"
},
"main": "build/index.js",
"gitHead": "e60ad89ec8cd2a617133f3bce355e8f8e6d67aea"
"dependencies": {
"@graphql-tools/merge": "^6.2.7",
"@types/inquirer": "^7.3.1",
"babylon": "^7.0.0-beta.47",
"commander": "^7.1.0",
"estree-walker": "^2.0.2",
"glob": "^7.1.6",
"graphql": "^15.5.0",
"houdini-common": "^0.1.0",
"inquirer": "^7.3.3",
"mkdirp": "^1.0.4",
"node-fetch": "^2.6.1",
"recast": "^0.20.4"
},
"gitHead": "be27a571a6129944df5ac45415655ce625bdeaa5"
}

@@ -1,17 +0,1 @@

export * from './environment'
export * from './runtime'
export * from './types'
export { default as query } from './query'
export { default as mutation } from './mutation'
export { default as fragment } from './fragment'
// this template tag gets removed by the preprocessor so it should never be invoked.
// this function needs to return the same value as what the preprocessor leaves behind for type consistency
export function graphql(str: TemplateStringsArray): import('houdini-preprocess').GraphQLTagResult {
// if this is executed, the preprocessor is not enabled
throw new Error(
"Looks like you don't have the preprocessor enabled. Encountered it at runtime wrapping: \n " +
str[0]
)
}

@@ -1,10 +0,39 @@

export type Fragment<_Result> = {
readonly shape?: _Result
import * as graphql from 'graphql'
export { PatchAtom, Patch, ConnectionWhen } from './generators/runtime/template/types'
// the compiled version of an operation
type BaseCompiledDocument = {
name: string
raw: string
hash: string
}
export type Operation<_Result, _Input> = {
readonly result: _Result
readonly input: _Input
export const CompiledFragmentKind = 'HoudiniFragment'
export const CompiledMutationKind = 'HoudiniMutation'
export const CompiledQueryKind = 'HoudiniQuery'
// the information that the compiler leaves behind after processing an operation
export type QueryArtifact = BaseCompiledDocument & {
kind: 'HoudiniQuery'
}
export type Session = any
export type MutationArtifact = BaseCompiledDocument & {
kind: 'HoudiniMutation'
}
// the information that the compiler leaves behind after processing a fragment
export type FragmentArtifact = BaseCompiledDocument & {
kind: 'HoudiniFragment'
}
// any compiled result
export type DocumentArtifact = FragmentArtifact | QueryArtifact | MutationArtifact
// the result of collecting documents from source code
export type CollectedGraphQLDocument = {
filename: string
name: string
document: graphql.DocumentNode
originalDocument: graphql.DocumentNode
printed: string
}

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