From 803ef5a3307fb75451086109379c51a6111b7128 Mon Sep 17 00:00:00 2001 From: Rikki Schulte Date: Wed, 12 Jun 2019 01:53:47 -0400 Subject: [PATCH] Change copyright to GraphQL Contributors, License to MIT --- LICENSE | 21 +++++++++ package.json | 1 + packages/codemirror-graphql/LICENSE | 43 ++++++++----------- packages/codemirror-graphql/PATENTS | 11 ----- packages/codemirror-graphql/package.json | 2 +- .../codemirror-graphql/resources/watch.js | 2 +- .../src/__tests__/hint-test.js | 2 +- .../src/__tests__/kitchen-sink.graphql | 2 +- .../src/__tests__/lint-test.js | 2 +- .../src/__tests__/mode-test.js | 2 +- .../src/__tests__/schema-kitchen-sink.graphql | 2 +- .../src/__tests__/testSchema.js | 2 +- packages/codemirror-graphql/src/hint.js | 2 +- packages/codemirror-graphql/src/info.js | 2 +- packages/codemirror-graphql/src/jump.js | 6 ++- packages/codemirror-graphql/src/lint.js | 2 +- packages/codemirror-graphql/src/mode.js | 2 +- .../src/results/__tests__/mode-test.js | 2 +- .../codemirror-graphql/src/results/mode.js | 2 +- .../src/utils/SchemaReference.js | 2 +- .../src/utils/__tests__/jsonParse-test.js | 2 +- .../src/utils/collectVariables.js | 2 +- .../src/utils/forEachState.js | 2 +- .../src/utils/getTypeInfo.js | 2 +- .../codemirror-graphql/src/utils/hintList.js | 2 +- .../src/utils/info-addon.js | 2 +- .../codemirror-graphql/src/utils/jsonParse.js | 2 +- .../src/utils/jump-addon.js | 2 +- .../codemirror-graphql/src/utils/runParser.js | 2 +- .../src/variables/__tests__/hint-test.js | 2 +- .../src/variables/__tests__/lint-test.js | 2 +- .../src/variables/__tests__/mode-test.js | 2 +- .../codemirror-graphql/src/variables/hint.js | 2 +- .../codemirror-graphql/src/variables/lint.js | 2 +- .../codemirror-graphql/src/variables/mode.js | 2 +- packages/graphiql/LICENSE | 2 +- packages/graphiql/example/index.html | 2 +- packages/graphiql/example/schema.js | 2 +- packages/graphiql/example/server.js | 2 +- packages/graphiql/resources/enzyme.config.js | 14 +++--- .../graphiql/resources/jestBabelTransform.js | 7 +++ .../graphiql/src/components/DocExplorer.js | 2 +- .../src/components/DocExplorer/Argument.js | 2 +- .../components/DocExplorer/DefaultValue.js | 2 +- .../src/components/DocExplorer/FieldDoc.js | 2 +- .../components/DocExplorer/MarkdownContent.js | 2 +- .../src/components/DocExplorer/SchemaDoc.js | 2 +- .../src/components/DocExplorer/SearchBox.js | 2 +- .../components/DocExplorer/SearchResults.js | 2 +- .../src/components/DocExplorer/TypeDoc.js | 2 +- .../src/components/DocExplorer/TypeLink.js | 2 +- .../DocExplorer/__tests__/FieldDoc.spec.js | 7 +++ .../{TypeDoc-.spec.js => TypeDoc.spec.js} | 7 +++ .../DocExplorer/__tests__/TypeLink.spec.js | 7 +++ .../graphiql/src/components/ExecuteButton.js | 2 +- packages/graphiql/src/components/GraphiQL.js | 2 +- .../graphiql/src/components/HistoryQuery.js | 2 +- .../graphiql/src/components/ImagePreview.js | 2 +- .../graphiql/src/components/QueryEditor.js | 2 +- .../graphiql/src/components/QueryHistory.js | 7 +++ .../graphiql/src/components/ResultViewer.js | 2 +- .../graphiql/src/components/ToolbarButton.js | 2 +- .../graphiql/src/components/ToolbarGroup.js | 2 +- .../graphiql/src/components/ToolbarMenu.js | 2 +- .../graphiql/src/components/ToolbarSelect.js | 2 +- .../graphiql/src/components/VariableEditor.js | 2 +- .../src/components/__tests__/GraphiQL.spec.js | 2 +- packages/graphiql/src/index.js | 2 +- .../graphiql/src/utility/CodeMirrorSizer.js | 2 +- packages/graphiql/src/utility/QueryStore.js | 9 +++- packages/graphiql/src/utility/StorageAPI.js | 2 +- .../utility/__tests__/getQueryFacts.spec.js | 2 +- .../src/utility/__tests__/mergeAst-fixture.js | 3 +- .../src/utility/__tests__/mergeAst.spec.js | 3 +- .../__tests__/normalizeWhitespace.spec.js | 2 +- packages/graphiql/src/utility/debounce.js | 2 +- .../graphiql/src/utility/elementPosition.js | 2 +- packages/graphiql/src/utility/fillLeafs.js | 2 +- packages/graphiql/src/utility/find.js | 6 ++- .../graphiql/src/utility/getQueryFacts.js | 2 +- .../src/utility/getSelectedOperationName.js | 2 +- .../src/utility/introspectionQueries.js | 3 +- packages/graphiql/src/utility/mergeAst.js | 3 +- .../src/utility/normalizeWhitespace.js | 2 +- .../graphiql/src/utility/onHasCompletion.js | 2 +- packages/graphiql/test/index.html | 2 +- packages/graphiql/test/schema.js | 2 +- packages/graphiql/test/server.js | 3 +- packages/graphql-language-server/LICENSE | 21 +++++++++ packages/graphql-language-server/package.json | 2 +- .../LICENSE | 21 +++++++++ .../package.json | 1 + .../src/GraphQLLanguageService.js | 2 +- .../__tests__/GraphQLLanguageService-test.js | 2 +- .../getAutocompleteSuggestions-test.js | 2 +- .../src/__tests__/getDefinition-test.js | 2 +- .../src/__tests__/getDiagnostics-test.js | 2 +- .../src/__tests__/getHoverInformation-test.js | 2 +- .../src/__tests__/getOutline-test.js | 2 +- .../src/__tests__/kitchen-sink.graphql | 2 +- .../src/autocompleteUtils.js | 2 +- .../src/getAutocompleteSuggestions.js | 2 +- .../src/getDefinition.js | 2 +- .../src/getDiagnostics.js | 2 +- .../src/getHoverInformation.js | 2 +- .../src/getOutline.js | 2 +- .../src/index.js | 2 +- .../graphql-language-service-parser/LICENSE | 21 +++++++++ .../package.json | 1 + .../src/CharacterStream.js | 2 +- .../src/RuleHelpers.js | 2 +- .../src/Rules.js | 2 +- .../src/index.js | 2 +- .../src/onlineParser.js | 2 +- .../graphql-language-service-server/LICENSE | 21 +++++++++ .../package.json | 1 + .../src/GraphQLCache.js | 2 +- .../src/GraphQLWatchman.js | 2 +- .../src/Logger.js | 2 +- .../src/MessageProcessor.js | 2 +- .../src/__mocks__/MockWatchmanClient.js | 2 +- .../src/__tests__/GraphQLCache-test.js | 2 +- .../src/__tests__/MessageProcessor-test.js | 2 +- .../__schema__/StarWarsSchema.graphql | 2 + .../src/findGraphQLTags.js | 2 +- .../src/index.js | 2 +- .../src/startServer.js | 2 +- .../src/stringToHash.js | 2 +- .../graphql-language-service-types/LICENSE | 21 +++++++++ .../package.json | 1 + .../src/index.js | 2 +- .../graphql-language-service-utils/LICENSE | 21 +++++++++ .../package.json | 1 + .../src/Range.js | 2 +- .../src/__tests__/Range-test.js | 2 +- .../__tests__/getASTNodeAtPosition-test.js | 2 +- .../__tests__/validateWithCustomRules-test.js | 2 +- .../src/getASTNodeAtPosition.js | 2 +- .../src/index.js | 2 +- .../src/validateWithCustomRules.js | 2 +- packages/graphql-language-service/LICENSE | 40 ++++++++--------- .../graphql-language-service/bin/graphql.js | 2 +- .../graphql-language-service/package.json | 1 + .../src/__tests__/index-test.js | 2 +- packages/graphql-language-service/src/cli.js | 2 +- .../graphql-language-service/src/client.js | 2 +- 146 files changed, 374 insertions(+), 189 deletions(-) create mode 100644 LICENSE delete mode 100644 packages/codemirror-graphql/PATENTS rename packages/graphiql/src/components/DocExplorer/__tests__/{TypeDoc-.spec.js => TypeDoc.spec.js} (95%) create mode 100644 packages/graphql-language-server/LICENSE create mode 100644 packages/graphql-language-service-interface/LICENSE create mode 100644 packages/graphql-language-service-parser/LICENSE create mode 100644 packages/graphql-language-service-server/LICENSE create mode 100644 packages/graphql-language-service-types/LICENSE create mode 100644 packages/graphql-language-service-utils/LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000000..cd2262e3a31 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2019 GraphQL Contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/package.json b/package.json index ce500a5f48b..06deb6d99b3 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { "private": true, + "license": "MIT", "workspaces": [ "packages/*" ], diff --git a/packages/codemirror-graphql/LICENSE b/packages/codemirror-graphql/LICENSE index f9de5303833..cd2262e3a31 100644 --- a/packages/codemirror-graphql/LICENSE +++ b/packages/codemirror-graphql/LICENSE @@ -1,30 +1,21 @@ -BSD License +MIT License -For CodeMirror-GraphQL software +Copyright (c) 2019 GraphQL Contributors -Copyright (c) 2015, Facebook, Inc. All rights reserved. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. - * Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - - * Neither the name Facebook nor the names of its contributors may be used to - endorse or promote products derived from this software without specific - prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/codemirror-graphql/PATENTS b/packages/codemirror-graphql/PATENTS deleted file mode 100644 index eac859aea16..00000000000 --- a/packages/codemirror-graphql/PATENTS +++ /dev/null @@ -1,11 +0,0 @@ -Additional Grant of Patent Rights Version 2 - -"Software" means the CodeMirror-GraphQL software distributed by Facebook, Inc. - -Facebook, Inc. (“Facebook”) hereby grants to each recipient of the Software (“you”) a perpetual, worldwide, royalty-free, non-exclusive, irrevocable (subject to the termination provision below) license under any Necessary Claims, to make, have made, use, sell, offer to sell, import, and otherwise transfer the Software. For avoidance of doubt, no license is granted under Facebook’s rights in any patent claims that are infringed by (i) modifications to the Software made by you or any third party or (ii) the Software in combination with any software or other technology. - -The license granted hereunder will terminate, automatically and without notice, if you (or any of your subsidiaries, corporate affiliates or agents) initiate directly or indirectly, or take a direct financial interest in, any Patent Assertion: (i) against Facebook or any of its subsidiaries or corporate affiliates, (ii) against any party if such Patent Assertion arises in whole or in part from any software, technology, product or service of Facebook or any of its subsidiaries or corporate affiliates, or (iii) against any party relating to the Software. Notwithstanding the foregoing, if Facebook or any of its subsidiaries or corporate affiliates files a lawsuit alleging patent infringement against you in the first instance, and you respond by filing a patent infringement counterclaim in that lawsuit against that party that is unrelated to the Software, the license granted hereunder will not terminate under section (i) of this paragraph due to such counterclaim. - -A “Necessary Claim” is a claim of a patent owned by Facebook that is necessarily infringed by the Software standing alone. - -A “Patent Assertion” is any lawsuit or other action alleging direct, indirect, or contributory infringement or inducement to infringe any patent, including a cross-claim or counterclaim. diff --git a/packages/codemirror-graphql/package.json b/packages/codemirror-graphql/package.json index cd5dd5d7beb..bbc729ac46d 100644 --- a/packages/codemirror-graphql/package.json +++ b/packages/codemirror-graphql/package.json @@ -12,7 +12,7 @@ "bugs": { "url": "https://github.com/graphql/graphiql/issues?q=issue+label:codemirror-graphql" }, - "license": "BSD-3-Clause", + "license": "MIT", "files": [ "hint.js", "info.js", diff --git a/packages/codemirror-graphql/resources/watch.js b/packages/codemirror-graphql/resources/watch.js index 45eba82ea13..49cb5f05822 100644 --- a/packages/codemirror-graphql/resources/watch.js +++ b/packages/codemirror-graphql/resources/watch.js @@ -1,5 +1,5 @@ /** - * Copyright (c) 2015, Facebook, Inc. + * Copyright (c) 2019 GraphQL Contributors * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/packages/codemirror-graphql/src/__tests__/hint-test.js b/packages/codemirror-graphql/src/__tests__/hint-test.js index 83cb2dcb6a8..6cf615cede5 100644 --- a/packages/codemirror-graphql/src/__tests__/hint-test.js +++ b/packages/codemirror-graphql/src/__tests__/hint-test.js @@ -1,5 +1,5 @@ /** - * Copyright (c) 2015, Facebook, Inc. + * Copyright (c) 2019 GraphQL Contributors * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/packages/codemirror-graphql/src/__tests__/kitchen-sink.graphql b/packages/codemirror-graphql/src/__tests__/kitchen-sink.graphql index 22c002b520f..7e980dc9bae 100644 --- a/packages/codemirror-graphql/src/__tests__/kitchen-sink.graphql +++ b/packages/codemirror-graphql/src/__tests__/kitchen-sink.graphql @@ -1,4 +1,4 @@ -# Copyright (c) 2015, Facebook, Inc. +# Copyright (c) 2019 GraphQL Contributors # All rights reserved. # # This source code is licensed under the BSD-style license found in the diff --git a/packages/codemirror-graphql/src/__tests__/lint-test.js b/packages/codemirror-graphql/src/__tests__/lint-test.js index d3e79e58198..5ddcb34a806 100644 --- a/packages/codemirror-graphql/src/__tests__/lint-test.js +++ b/packages/codemirror-graphql/src/__tests__/lint-test.js @@ -1,5 +1,5 @@ /** - * Copyright (c) 2015, Facebook, Inc. + * Copyright (c) 2019 GraphQL Contributors * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/packages/codemirror-graphql/src/__tests__/mode-test.js b/packages/codemirror-graphql/src/__tests__/mode-test.js index b3ebb29c8ce..8ec5554ab97 100644 --- a/packages/codemirror-graphql/src/__tests__/mode-test.js +++ b/packages/codemirror-graphql/src/__tests__/mode-test.js @@ -1,5 +1,5 @@ /** - * Copyright (c) 2015, Facebook, Inc. + * Copyright (c) 2019 GraphQL Contributors * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/packages/codemirror-graphql/src/__tests__/schema-kitchen-sink.graphql b/packages/codemirror-graphql/src/__tests__/schema-kitchen-sink.graphql index 7045428f40d..b6c49f3e209 100644 --- a/packages/codemirror-graphql/src/__tests__/schema-kitchen-sink.graphql +++ b/packages/codemirror-graphql/src/__tests__/schema-kitchen-sink.graphql @@ -1,4 +1,4 @@ -# Copyright (c) 2016, Facebook, Inc. +# Copyright (c) 2019 GraphQL Contributors # All rights reserved. # # This source code is licensed under the BSD-style license found in the diff --git a/packages/codemirror-graphql/src/__tests__/testSchema.js b/packages/codemirror-graphql/src/__tests__/testSchema.js index fbf051fd161..5b143f78792 100644 --- a/packages/codemirror-graphql/src/__tests__/testSchema.js +++ b/packages/codemirror-graphql/src/__tests__/testSchema.js @@ -1,5 +1,5 @@ /** - * Copyright (c) 2015, Facebook, Inc. + * Copyright (c) 2019 GraphQL Contributors * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/packages/codemirror-graphql/src/hint.js b/packages/codemirror-graphql/src/hint.js index cc7e7088dce..2c0c486c28b 100644 --- a/packages/codemirror-graphql/src/hint.js +++ b/packages/codemirror-graphql/src/hint.js @@ -1,5 +1,5 @@ /** - * Copyright (c) 2015, Facebook, Inc. + * Copyright (c) 2019 GraphQL Contributors * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/packages/codemirror-graphql/src/info.js b/packages/codemirror-graphql/src/info.js index 2444d49ee6d..8200c2db105 100644 --- a/packages/codemirror-graphql/src/info.js +++ b/packages/codemirror-graphql/src/info.js @@ -1,6 +1,6 @@ /* @flow */ /** - * Copyright (c) 2017, Facebook, Inc. + * Copyright (c) 2019 GraphQL Contributors * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/packages/codemirror-graphql/src/jump.js b/packages/codemirror-graphql/src/jump.js index d89c4991b6c..42bd8d03a80 100644 --- a/packages/codemirror-graphql/src/jump.js +++ b/packages/codemirror-graphql/src/jump.js @@ -1,11 +1,13 @@ -/* @flow */ /** - * Copyright (c) 2017, Facebook, Inc. + * Copyright (c) 2019 GraphQL Contributors * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. + * + * @flow + * */ import CodeMirror from 'codemirror'; diff --git a/packages/codemirror-graphql/src/lint.js b/packages/codemirror-graphql/src/lint.js index 604cbb3d524..f0d1a00eac2 100644 --- a/packages/codemirror-graphql/src/lint.js +++ b/packages/codemirror-graphql/src/lint.js @@ -1,5 +1,5 @@ /** - * Copyright (c) 2015, Facebook, Inc. + * Copyright (c) 2019 GraphQL Contributors * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/packages/codemirror-graphql/src/mode.js b/packages/codemirror-graphql/src/mode.js index 7b6f82a079b..23dad24a13d 100644 --- a/packages/codemirror-graphql/src/mode.js +++ b/packages/codemirror-graphql/src/mode.js @@ -1,5 +1,5 @@ /** - * Copyright (c) 2015, Facebook, Inc. + * Copyright (c) 2019 GraphQL Contributors * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/packages/codemirror-graphql/src/results/__tests__/mode-test.js b/packages/codemirror-graphql/src/results/__tests__/mode-test.js index c3a1ad570a5..a978eb5baf9 100644 --- a/packages/codemirror-graphql/src/results/__tests__/mode-test.js +++ b/packages/codemirror-graphql/src/results/__tests__/mode-test.js @@ -1,5 +1,5 @@ /** - * Copyright (c) 2015, Facebook, Inc. + * Copyright (c) 2019 GraphQL Contributors * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/packages/codemirror-graphql/src/results/mode.js b/packages/codemirror-graphql/src/results/mode.js index 2fcf6292af7..687f6314e7c 100644 --- a/packages/codemirror-graphql/src/results/mode.js +++ b/packages/codemirror-graphql/src/results/mode.js @@ -1,5 +1,5 @@ /** - * Copyright (c) 2015, Facebook, Inc. + * Copyright (c) 2019 GraphQL Contributors * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/packages/codemirror-graphql/src/utils/SchemaReference.js b/packages/codemirror-graphql/src/utils/SchemaReference.js index f9636380cfc..a04501d3da0 100644 --- a/packages/codemirror-graphql/src/utils/SchemaReference.js +++ b/packages/codemirror-graphql/src/utils/SchemaReference.js @@ -1,6 +1,6 @@ /** @flow */ /** - * Copyright (c), Facebook, Inc. + * Copyright (c) 2019 GraphQL Contributors * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/packages/codemirror-graphql/src/utils/__tests__/jsonParse-test.js b/packages/codemirror-graphql/src/utils/__tests__/jsonParse-test.js index deaa5e2f26d..934c2e3e298 100644 --- a/packages/codemirror-graphql/src/utils/__tests__/jsonParse-test.js +++ b/packages/codemirror-graphql/src/utils/__tests__/jsonParse-test.js @@ -1,5 +1,5 @@ /** - * Copyright (c) 2015, Facebook, Inc. + * Copyright (c) 2019 GraphQL Contributors * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/packages/codemirror-graphql/src/utils/collectVariables.js b/packages/codemirror-graphql/src/utils/collectVariables.js index 9b6411d1d64..14c8ea6092b 100644 --- a/packages/codemirror-graphql/src/utils/collectVariables.js +++ b/packages/codemirror-graphql/src/utils/collectVariables.js @@ -1,5 +1,5 @@ /** - * Copyright (c) 2015, Facebook, Inc. + * Copyright (c) 2019 GraphQL Contributors * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/packages/codemirror-graphql/src/utils/forEachState.js b/packages/codemirror-graphql/src/utils/forEachState.js index 4b5bf7429d3..14a64434dd5 100644 --- a/packages/codemirror-graphql/src/utils/forEachState.js +++ b/packages/codemirror-graphql/src/utils/forEachState.js @@ -1,5 +1,5 @@ /** - * Copyright (c) 2015, Facebook, Inc. + * Copyright (c) 2019 GraphQL Contributors * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/packages/codemirror-graphql/src/utils/getTypeInfo.js b/packages/codemirror-graphql/src/utils/getTypeInfo.js index 93af3eeab60..8d3291891fd 100644 --- a/packages/codemirror-graphql/src/utils/getTypeInfo.js +++ b/packages/codemirror-graphql/src/utils/getTypeInfo.js @@ -1,5 +1,5 @@ /** - * Copyright (c) 2015, Facebook, Inc. + * Copyright (c) 2019 GraphQL Contributors * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/packages/codemirror-graphql/src/utils/hintList.js b/packages/codemirror-graphql/src/utils/hintList.js index e7806400743..7aeb4765e03 100644 --- a/packages/codemirror-graphql/src/utils/hintList.js +++ b/packages/codemirror-graphql/src/utils/hintList.js @@ -1,5 +1,5 @@ /** - * Copyright (c) 2015, Facebook, Inc. + * Copyright (c) 2019 GraphQL Contributors * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/packages/codemirror-graphql/src/utils/info-addon.js b/packages/codemirror-graphql/src/utils/info-addon.js index b1099ba43c1..85a40517684 100644 --- a/packages/codemirror-graphql/src/utils/info-addon.js +++ b/packages/codemirror-graphql/src/utils/info-addon.js @@ -1,5 +1,5 @@ /** - * Copyright (c) 2017, Facebook, Inc. + * Copyright (c) 2019 GraphQL Contributors * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/packages/codemirror-graphql/src/utils/jsonParse.js b/packages/codemirror-graphql/src/utils/jsonParse.js index 83e079bf61c..3ccfb055d76 100644 --- a/packages/codemirror-graphql/src/utils/jsonParse.js +++ b/packages/codemirror-graphql/src/utils/jsonParse.js @@ -1,5 +1,5 @@ /** - * Copyright (c) 2015, Facebook, Inc. + * Copyright (c) 2019 GraphQL Contributors * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/packages/codemirror-graphql/src/utils/jump-addon.js b/packages/codemirror-graphql/src/utils/jump-addon.js index ed2d02a8260..653e95f6066 100644 --- a/packages/codemirror-graphql/src/utils/jump-addon.js +++ b/packages/codemirror-graphql/src/utils/jump-addon.js @@ -1,5 +1,5 @@ /** - * Copyright (c) 2017, Facebook, Inc. + * Copyright (c) 2019 GraphQL Contributors * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/packages/codemirror-graphql/src/utils/runParser.js b/packages/codemirror-graphql/src/utils/runParser.js index ac100bc1f87..0283de2a755 100644 --- a/packages/codemirror-graphql/src/utils/runParser.js +++ b/packages/codemirror-graphql/src/utils/runParser.js @@ -1,5 +1,5 @@ /** - * Copyright (c) 2015, Facebook, Inc. + * Copyright (c) 2019 GraphQL Contributors * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/packages/codemirror-graphql/src/variables/__tests__/hint-test.js b/packages/codemirror-graphql/src/variables/__tests__/hint-test.js index c6e30ee8a98..ee98c590624 100644 --- a/packages/codemirror-graphql/src/variables/__tests__/hint-test.js +++ b/packages/codemirror-graphql/src/variables/__tests__/hint-test.js @@ -1,5 +1,5 @@ /** - * Copyright (c) 2015, Facebook, Inc. + * Copyright (c) 2019 GraphQL Contributors * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/packages/codemirror-graphql/src/variables/__tests__/lint-test.js b/packages/codemirror-graphql/src/variables/__tests__/lint-test.js index 8408115dec8..ab0c7b02a1f 100644 --- a/packages/codemirror-graphql/src/variables/__tests__/lint-test.js +++ b/packages/codemirror-graphql/src/variables/__tests__/lint-test.js @@ -1,5 +1,5 @@ /** - * Copyright (c) 2015, Facebook, Inc. + * Copyright (c) 2019 GraphQL Contributors * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/packages/codemirror-graphql/src/variables/__tests__/mode-test.js b/packages/codemirror-graphql/src/variables/__tests__/mode-test.js index 7707968568a..df8fc25287c 100644 --- a/packages/codemirror-graphql/src/variables/__tests__/mode-test.js +++ b/packages/codemirror-graphql/src/variables/__tests__/mode-test.js @@ -1,5 +1,5 @@ /** - * Copyright (c) 2015, Facebook, Inc. + * Copyright (c) 2019 GraphQL Contributors * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/packages/codemirror-graphql/src/variables/hint.js b/packages/codemirror-graphql/src/variables/hint.js index baee274d2de..c5ef86e781e 100644 --- a/packages/codemirror-graphql/src/variables/hint.js +++ b/packages/codemirror-graphql/src/variables/hint.js @@ -1,5 +1,5 @@ /** - * Copyright (c) 2015, Facebook, Inc. + * Copyright (c) 2019 GraphQL Contributors * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/packages/codemirror-graphql/src/variables/lint.js b/packages/codemirror-graphql/src/variables/lint.js index e2d40eaa80d..bca860c35e8 100644 --- a/packages/codemirror-graphql/src/variables/lint.js +++ b/packages/codemirror-graphql/src/variables/lint.js @@ -1,5 +1,5 @@ /** - * Copyright (c) 2015, Facebook, Inc. + * Copyright (c) 2019 GraphQL Contributors * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/packages/codemirror-graphql/src/variables/mode.js b/packages/codemirror-graphql/src/variables/mode.js index 8a7411bd973..ad5ec844d03 100644 --- a/packages/codemirror-graphql/src/variables/mode.js +++ b/packages/codemirror-graphql/src/variables/mode.js @@ -1,5 +1,5 @@ /** - * Copyright (c) 2015, Facebook, Inc. + * Copyright (c) 2019 GraphQL Contributors * All rights reserved. * * This source code is licensed under the BSD-style license found in the diff --git a/packages/graphiql/LICENSE b/packages/graphiql/LICENSE index b96dcb0480a..cd2262e3a31 100644 --- a/packages/graphiql/LICENSE +++ b/packages/graphiql/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) Facebook, Inc. and its affiliates. +Copyright (c) 2019 GraphQL Contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/packages/graphiql/example/index.html b/packages/graphiql/example/index.html index 4062cf8fb94..d316db2ffd6 100644 --- a/packages/graphiql/example/index.html +++ b/packages/graphiql/example/index.html @@ -1,5 +1,5 @@