From c5332e066682c60f06f3a8a704047647687b9a7b Mon Sep 17 00:00:00 2001 From: Sashko Stubailo Date: Mon, 6 Feb 2017 23:57:18 -0800 Subject: [PATCH 1/2] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 593624f1..f2d60ee0 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # graphql-tag [![npm version](https://badge.fury.io/js/graphql-tag.svg)](https://badge.fury.io/js/graphql-tag) -[![Build Status](https://travis-ci.org/apollostack/graphql-tag.svg?branch=master)](https://travis-ci.org/apollostack/graphql-tag) -[![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](http://www.apollostack.com/#slack) +[![Build Status](https://travis-ci.org/apollographql/graphql-tag.svg?branch=master)](https://travis-ci.org/apollographql/graphql-tag) +[![Get on Slack](https://img.shields.io/badge/slack-join-orange.svg)](http://www.apollodata.com/#slack) GraphQL printing and parsing with bundled dependencies. Includes: From 086dc1d2811416e2441cb1f0df211e29ac371c21 Mon Sep 17 00:00:00 2001 From: Jon Wong Date: Wed, 1 Mar 2017 09:07:52 -0800 Subject: [PATCH 2/2] Skipping deprecation warning for internal use of the bundledParser --- CHANGELOG.md | 3 +++ index.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 92fa6675..a4669f94 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # Change log ### vNext +### v1.3.1 +- Making sure not to log deprecation warnings for internal use of deprecated module [jnwng](https://github.com/jnwng) addressing [#54](https://github.com/apollographql/graphql-tag/issues/54#issuecomment-283301475) + ### v1.3.0 - Bump bundled `graphql` packages to v0.9.1 [jnwng](https://github.com/jnwng) in [PR #55](https://github.com/apollographql/graphql-tag/pull/55). - Deprecate the `graphql/language/parser` and `graphql/language/printer` exports [jnwng](https://github.com/jnwng) in [PR #55](https://github.com/apollographql/graphql-tag/pull/55) diff --git a/index.js b/index.js index 34c1d0d3..0cbbb94f 100644 --- a/index.js +++ b/index.js @@ -1,4 +1,4 @@ -var parse = require('./parser').parse; +var parse = require('./bundledParser').parse; // Strip insignificant whitespace // Note that this could do a lot more, such as reorder fields etc.