Comparing version 0.0.15 to 0.1.0
@@ -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 |
@@ -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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
453056
136
0
11361
12
9
8
1
+ Added@graphql-tools/merge@^6.2.7
+ Added@types/inquirer@^7.3.1
+ Addedbabylon@^7.0.0-beta.47
+ Addedcommander@^7.1.0
+ Addedestree-walker@^2.0.2
+ Addedglob@^7.1.6
+ Addedgraphql@^15.5.0
+ Addedhoudini-common@^0.1.0
+ Addedinquirer@^7.3.3
+ Addedmkdirp@^1.0.4
+ Addednode-fetch@^2.6.1
+ Addedrecast@^0.20.4
+ Added@babel/helper-string-parser@7.25.9(transitive)
+ Added@babel/helper-validator-identifier@7.25.9(transitive)
+ Added@babel/parser@7.26.9(transitive)
+ Added@babel/types@7.26.9(transitive)
+ Added@graphql-tools/merge@6.2.178.3.1(transitive)
+ Added@graphql-tools/schema@8.5.1(transitive)
+ Added@graphql-tools/utils@8.0.28.9.0(transitive)
+ Added@types/inquirer@7.3.3(transitive)
+ Added@types/node@22.13.5(transitive)
+ Added@types/through@0.0.33(transitive)
+ Addedansi-escapes@4.3.2(transitive)
+ Addedansi-regex@5.0.1(transitive)
+ Addedansi-styles@4.3.0(transitive)
+ Addedast-types@0.14.2(transitive)
+ Addedbabylon@7.0.0-beta.47(transitive)
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbrace-expansion@1.1.11(transitive)
+ Addedchalk@4.1.2(transitive)
+ Addedchardet@0.7.0(transitive)
+ Addedcli-cursor@3.1.0(transitive)
+ Addedcli-width@3.0.0(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedcommander@7.2.0(transitive)
+ Addedconcat-map@0.0.1(transitive)
+ Addedemoji-regex@8.0.0(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedesprima@4.0.1(transitive)
+ Addedestree-walker@2.0.2(transitive)
+ Addedexternal-editor@3.1.0(transitive)
+ Addedfigures@3.2.0(transitive)
+ Addedfs.realpath@1.0.0(transitive)
+ Addedglob@7.2.3(transitive)
+ Addedgraphql@15.10.1(transitive)
+ Addedhas-flag@4.0.0(transitive)
+ Addedhoudini-common@0.1.3(transitive)
+ Addediconv-lite@0.4.24(transitive)
+ Addedinflight@1.0.6(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedinquirer@7.3.3(transitive)
+ Addedis-fullwidth-code-point@3.0.0(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedmimic-fn@2.1.0(transitive)
+ Addedminimatch@3.1.2(transitive)
+ Addedmkdirp@1.0.4(transitive)
+ Addedmute-stream@0.0.8(transitive)
+ Addednode-fetch@2.7.0(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedonetime@5.1.2(transitive)
+ Addedos-tmpdir@1.0.2(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedrecast@0.20.5(transitive)
+ Addedrestore-cursor@3.1.0(transitive)
+ Addedrun-async@2.4.1(transitive)
+ Addedrxjs@6.6.7(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsignal-exit@3.0.7(transitive)
+ Addedsource-map@0.6.1(transitive)
+ Addedstring-width@4.2.3(transitive)
+ Addedstrip-ansi@6.0.1(transitive)
+ Addedsupports-color@7.2.0(transitive)
+ Addedthrough@2.3.8(transitive)
+ Addedtmp@0.0.33(transitive)
+ Addedtr46@0.0.3(transitive)
+ Addedtslib@1.14.12.3.12.8.1(transitive)
+ Addedtype-fest@0.21.3(transitive)
+ Addedundici-types@6.20.0(transitive)
+ Addedvalue-or-promise@1.0.11(transitive)
+ Addedwebidl-conversions@3.0.1(transitive)
+ Addedwhatwg-url@5.0.0(transitive)
+ Addedwrappy@1.0.2(transitive)