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

@ts-gql/tag

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ts-gql/tag - npm Package Compare versions

Comparing version 0.5.3 to 0.6.0

no-transform.d.ts

12

CHANGELOG.md
# @ts-gql/tag
## 0.6.0
### Minor Changes
- [#90](https://github.com/Thinkmill/ts-gql/pull/90) [`dc22e45`](https://github.com/Thinkmill/ts-gql/commit/dc22e457d14c816274037010a627d10bcb30f11d) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removed unused `Documents` export.
* [#90](https://github.com/Thinkmill/ts-gql/pull/90) [`dc22e45`](https://github.com/Thinkmill/ts-gql/commit/dc22e457d14c816274037010a627d10bcb30f11d) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Added `name` property to `BaseTypedFragment` and `fragments` property to `BaseTypedDocument`
- [#90](https://github.com/Thinkmill/ts-gql/pull/90) [`dc22e45`](https://github.com/Thinkmill/ts-gql/commit/dc22e457d14c816274037010a627d10bcb30f11d) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Added support for `"mode": "no-transform"` and `"mode": "mixed"`. See https://github.com/Thinkmill/ts-gql/blob/main/docs/no-transform.md for more details
* [#90](https://github.com/Thinkmill/ts-gql/pull/90) [`dc22e45`](https://github.com/Thinkmill/ts-gql/commit/dc22e457d14c816274037010a627d10bcb30f11d) Thanks [@mitchellhamilton](https://github.com/mitchellhamilton)! - Removed spread parameter from `gql` export to align with the fact that `gql` from the `@ts-gql/tag` entrypoint does not allow interpolations.
## 0.5.3

@@ -4,0 +16,0 @@

16

dist/tag.cjs.prod.js

@@ -1,11 +0,13 @@

"use strict";
'use strict';
Object.defineProperty(exports, "__esModule", {
value: !0
});
Object.defineProperty(exports, '__esModule', { value: true });
const gql = () => {
throw new Error("Unexpected runtime `gql` call.");
}, getDocumentNode = node => node;
{
throw new Error("Unexpected runtime `gql` call.");
}
};
const getDocumentNode = node => node;
exports.getDocumentNode = getDocumentNode, exports.gql = gql;
exports.getDocumentNode = getDocumentNode;
exports.gql = gql;

@@ -8,2 +8,3 @@ import { DocumentNode } from "graphql";

documents: Record<string, TypedDocumentNode<BaseDocumentTypes>>;
fragments: (a: any) => any;
};

@@ -24,2 +25,3 @@

export type BaseTypedFragment = BaseTypedDocument & {
name: string;
type: "fragment";

@@ -34,23 +36,16 @@ };

export type OperationData<
Node extends TypedDocumentNode<BaseOperations>
> = Node["___type"]["result"];
export type OperationData<Node extends TypedDocumentNode<BaseOperations>> =
Node["___type"]["result"];
export type OperationVariables<
Node extends TypedDocumentNode<BaseOperations>
> = Node["___type"]["variables"];
export type OperationVariables<Node extends TypedDocumentNode<BaseOperations>> =
Node["___type"]["variables"];
export type FragmentData<
Node extends TypedDocumentNode<BaseTypedFragment>
> = Node["___type"]["result"];
export type FragmentData<Node extends TypedDocumentNode<BaseTypedFragment>> =
Node["___type"]["result"];
export type AllDocuments<
Node extends TypedDocumentNode<BaseDocumentTypes>
> = Node["___type"]["documents"];
export type AllDocuments<Node extends TypedDocumentNode<BaseDocumentTypes>> =
Node["___type"]["documents"];
interface GqlTag {
(
strings: readonly string[],
...interpolations: TypedDocumentNode<BaseTypedFragment>[]
): never;
(strings: TemplateStringsArray): never;
___isTsGqlTag: true;

@@ -64,3 +59,1 @@ }

): DocumentNode;
export interface Documents {}
{
"name": "@ts-gql/tag",
"version": "0.5.3",
"main": "dist/tag.cjs.js",
"module": "dist/tag.esm.js",
"license": "MIT",
"types": "index.d.ts",
"dependencies": {
"graphql-tag": "^2.10.3"
},
"peerDependencies": {
"graphql": "^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"
},
"devDependencies": {
"graphql": "^14.0.0"
},
"repository": "https://github.com/Thinkmill/ts-gql/tree/master/packages/tag"
}
"name": "@ts-gql/tag",
"version": "0.6.0",
"main": "dist/tag.cjs.js",
"module": "dist/tag.esm.js",
"license": "MIT",
"types": "index.d.ts",
"dependencies": {
"graphql-tag": "^2.12.5"
},
"peerDependencies": {
"graphql": "^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"
},
"devDependencies": {
"graphql": "^15.7.2"
},
"repository": "https://github.com/Thinkmill/ts-gql/tree/main/packages/tag",
"preconstruct": {
"entrypoints": [
"index.js",
"no-transform.js"
]
}
}
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