Remove hash.js dependency and re-enable noUnusedLocals

This commit is contained in:
Martijn Walraven 2018-09-05 14:25:32 +02:00 committed by Jesse Rosenberger
parent 49248329ca
commit 7fbf35cc1c
No known key found for this signature in database
GPG key ID: C0CCCF81AA6C08D8
4 changed files with 4 additions and 6 deletions

5
package-lock.json generated
View file

@ -2181,7 +2181,6 @@
"graphql-subscriptions": "^0.5.8",
"graphql-tag": "^2.9.2",
"graphql-tools": "^3.0.4",
"hash.js": "^1.1.3",
"lodash": "^4.17.10",
"subscriptions-transport-ws": "^0.9.11",
"ws": "^5.2.0"
@ -6430,6 +6429,7 @@
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.5.tgz",
"integrity": "sha512-eWI5HG9Np+eHV1KQhisXWwM+4EPPYe5dFX1UZZH7k/E3JzDEazVH+VGlZi6R94ZqImq+A3D1mCEtrFIfg/E7sA==",
"dev": true,
"requires": {
"inherits": "^2.0.3",
"minimalistic-assert": "^1.0.1"
@ -9243,7 +9243,8 @@
"minimalistic-assert": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz",
"integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A=="
"integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==",
"dev": true
},
"minimatch": {
"version": "3.0.4",

View file

@ -42,7 +42,6 @@
"graphql-subscriptions": "^0.5.8",
"graphql-tag": "^2.9.2",
"graphql-tools": "^3.0.4",
"hash.js": "^1.1.3",
"lodash": "^4.17.10",
"subscriptions-transport-ws": "^0.9.11",
"ws": "^5.2.0"

View file

@ -1,5 +1,4 @@
import { ExecutionResult } from 'graphql';
const sha256 = require('hash.js/lib/hash/sha/256');
import { CacheControlExtensionOptions } from 'apollo-cache-control';

View file

@ -2,8 +2,7 @@
"extends": "../../tsconfig",
"compilerOptions": {
"rootDir": "./src",
"outDir": "./dist",
"noUnusedLocals": false,
"outDir": "./dist"
},
"include": ["src/**/*"],
"exclude": ["**/__tests__", "**/__mocks__"]