Socket
Socket
Sign inDemoInstall

merge-graphql-schemas

Package Overview
Dependencies
Maintainers
2
Versions
269
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

merge-graphql-schemas - npm Package Compare versions

Comparing version 0.0.19 to 0.0.20

7

CHANGELOG.md

@@ -9,2 +9,9 @@ # Change Log

## [0.0.20] - 2017-06-18
### Changed
- No longer passing schema to gql for validation
### Fixed
- Fixed multiline comments parsing
## [0.0.19] - 2017-06-14

@@ -11,0 +18,0 @@ ### Changed

5

dist/merge_types.js

@@ -31,6 +31,2 @@ 'use strict';

var _validate_schema = require('./validate_schema');
var _validate_schema2 = _interopRequireDefault(_validate_schema);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -113,3 +109,2 @@

(0, _validate_schema2.default)(schema, rest);
return [schema].concat((0, _toConsumableArray3.default)(rest));

@@ -116,0 +111,0 @@ };

2

package.json
{
"name": "merge-graphql-schemas",
"author": "OK GROW!",
"version": "0.0.19",
"version": "0.0.20",
"description": "Better organize your GraphQL server.",

@@ -6,0 +6,0 @@ "repository": {

@@ -6,3 +6,2 @@ import { parse } from 'graphql';

import { makeSchema, mergeableTypes } from './utilities/makeSchema';
import validateSchema from './validate_schema';

@@ -107,3 +106,2 @@ const _isMergeableTypeDefinition = def =>

validateSchema(schema, rest);
return [schema, ...rest];

@@ -110,0 +108,0 @@ };

@@ -10,4 +10,5 @@ export default `

}
# Comments on top of type definition
# Second comment line
type ClientWithCommentOnTop {

@@ -19,3 +20,3 @@ # ClientID

}
type ClientWithComment {

@@ -22,0 +23,0 @@ # ClientID

@@ -444,3 +444,3 @@ import mergeTypes from '../src/merge_types';

const expectedClientType = normalizeWhitespace(`
# Comments on top of type definition
# Comments on top of type definition Second comment line
type ClientWithCommentOnTop {

@@ -447,0 +447,0 @@ # ClientID

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