Skip to content

Commit 8b66815

Browse files
author
jack
committed
v1.5.2 fix package dependency. Close #45
1 parent c23fdcd commit 8b66815

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "graphql-schema-typescript",
3-
"version": "1.5.1",
3+
"version": "1.5.2",
44
"description": "Generate TypeScript from GraphQL's schema type definitions",
55
"main": "./lib/index.js",
66
"types": "./lib/index.d.ts",
@@ -31,12 +31,12 @@
3131
"graphql": "^15.5.0",
3232
"graphql-tools": "2.7.2",
3333
"jest": "^26.0.0",
34-
"lodash": "^4.17.13",
3534
"ts-jest": "^26.0.0",
3635
"tslint": "5.8.0",
3736
"typescript": "^4.1.3"
3837
},
3938
"dependencies": {
39+
"camelcase": "^6.2.0",
4040
"yargs": "^16.0.0"
4141
},
4242
"peerDependencies": {

src/utils.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ import {
1010
IntrospectionField,
1111
IntrospectionInputValue
1212
} from 'graphql';
13-
import {
14-
camelCase
15-
} from 'lodash';
13+
const camelCase = require('camelcase');
1614

1715
/**
1816
* Send introspection query to a graphql schema

yarn.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,7 +1072,7 @@ camelcase@^5.0.0, camelcase@^5.3.1:
10721072
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320"
10731073
integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==
10741074

1075-
camelcase@^6.0.0:
1075+
camelcase@^6.0.0, camelcase@^6.2.0:
10761076
version "6.2.0"
10771077
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.2.0.tgz#924af881c9d525ac9d87f40d964e5cea982a1809"
10781078
integrity sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg==
@@ -3077,7 +3077,7 @@ [email protected]:
30773077
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
30783078
integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==
30793079

3080-
lodash@^4.17.13, lodash@^4.17.19:
3080+
lodash@^4.17.19:
30813081
version "4.17.20"
30823082
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52"
30833083
integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==

0 commit comments

Comments
 (0)