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

@graphitation/graphql-codegen-supermassive-schema-extraction-plugin

Package Overview
Dependencies
Maintainers
5
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphitation/graphql-codegen-supermassive-schema-extraction-plugin - npm Package Compare versions

Comparing version 0.2.0 to 1.0.0

13

CHANGELOG.md
# Change Log - @graphitation/graphql-codegen-supermassive-schema-extraction-plugin
This log was last generated on Wed, 20 Jul 2022 09:48:03 GMT and should not be manually modified.
This log was last generated on Wed, 20 Jul 2022 16:31:49 GMT and should not be manually modified.
<!-- Start content -->
## 1.0.0
Wed, 20 Jul 2022 16:31:49 GMT
### Major changes
- importExplicitTypesFromTypescript is imported separately (jakubvejr@microsoft.com)
- Bump @graphitation/supermassive to v1.0.0
## 0.2.0
Wed, 20 Jul 2022 09:48:03 GMT
Wed, 20 Jul 2022 09:48:13 GMT

@@ -11,0 +20,0 @@ ### Minor changes

4

lib/index.js

@@ -49,6 +49,6 @@ var __create = Object.create;

var import_graphql2 = require("graphql");
var import_supermassive = require("@graphitation/supermassive");
var import_extractors = require("@graphitation/supermassive/lib/extractors");
var import_path = require("path");
const plugin = (schema) => {
const tsContents = (0, import_supermassive.extractImplicitTypesToTypescript)((0, import_graphql2.parse)((0, import_graphql2.printSchema)(schema)));
const tsContents = (0, import_extractors.extractImplicitTypesToTypescript)((0, import_graphql2.parse)((0, import_graphql2.printSchema)(schema)));
const printer = import_typescript.default.createPrinter();

@@ -55,0 +55,0 @@ return printer.printNode(import_typescript.default.EmitHint.SourceFile, tsContents, tsContents);

{
"name": "@graphitation/graphql-codegen-supermassive-schema-extraction-plugin",
"license": "MIT",
"version": "0.2.0",
"version": "1.0.0",
"main": "./lib/index",

@@ -26,3 +26,3 @@ "repository": {

"typescript": "^4.4.3 <4.5.0",
"@graphitation/supermassive": "^0.8.5"
"@graphitation/supermassive": "^1.0.0"
},

@@ -29,0 +29,0 @@ "dependencies": {

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