Skip to content

Commit

Permalink
(opreg) Switch to fast-json-stable-stringify, same as #2065 / ccba8c8.
Browse files Browse the repository at this point in the history
I've switched this to the same library used by the main repository for
consistency and licensing purposes.

The local depdendency by the operation registry will actually go away in a
future update now that it's supported by the core server implementation.
  • Loading branch information
abernix committed Jan 15, 2019
1 parent 4740c59 commit 94dceff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
15 changes: 1 addition & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"apollo-server-caching": "file:../apollo-server-caching",
"apollo-server-errors": "file:../apollo-server-errors",
"apollo-server-plugin-base": "file:../apollo-server-plugin-base",
"json-stable-stringify": "1.0.1",
"fast-json-stable-stringify": "2.0.0",
"node-fetch": "2.2.0"
},
"peerDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { pluginName } from './common';
import { parse } from 'graphql/language';
import { execute, ExecutionResult } from 'graphql/execution';
import { getIntrospectionQuery, IntrospectionSchema } from 'graphql/utilities';
import stableStringify from 'json-stable-stringify';
import stableStringify from 'fast-json-stable-stringify';
import { GraphQLSchema } from 'graphql/type';
import { createHash } from 'crypto';

Expand Down

0 comments on commit 94dceff

Please sign in to comment.