diff --git a/package.json b/package.json index cb433fe..2da7342 100644 --- a/package.json +++ b/package.json @@ -28,9 +28,9 @@ "typescript" ], "dependencies": { - "@types/lodash": "^4.14.50", - "lodash": "^4.17.4", - "tap-parser": "^5.2.0" + "lodash.debounce": "^4.0.8", + "tap-parser": "^5.2.0", + "tslib": "^1.5.0" }, "devDependencies": { "@types/mocha": "^2.2.37", diff --git a/src/TestRunner.ts b/src/TestRunner.ts index f6ebf80..081997a 100644 --- a/src/TestRunner.ts +++ b/src/TestRunner.ts @@ -1,7 +1,7 @@ import { spawn, ChildProcess } from 'child_process'; import { resolve } from 'path'; import { window, workspace, FileSystemWatcher } from 'vscode'; -import { debounce } from 'lodash'; +const debounce = require('lodash.debounce'); import { NodeTDD } from './NodeTDD'; import { messages, config } from './constants'; diff --git a/tsconfig.json b/tsconfig.json index ab9323c..66d5575 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,7 +12,8 @@ "alwaysStrict": true, "noImplicitAny": true, "noUnusedLocals": true, - "noUnusedParameters": true + "noUnusedParameters": true, + "importHelpers": true }, "exclude": [ "node_modules", diff --git a/yarn.lock b/yarn.lock index 1d40552..71f0840 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,10 +2,6 @@ # yarn lockfile v1 -"@types/lodash@^4.14.50": - version "4.14.50" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.50.tgz#2227da4d65fafe249bccd59c7b9396e27674c8f7" - "@types/mocha@^2.2.37": version "2.2.37" resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-2.2.37.tgz#8e0d5327ffa0734999c1010967853de917f3a38e" @@ -1303,6 +1299,10 @@ lodash.create@3.1.1: lodash._basecreate "^3.0.0" lodash._isiterateecall "^3.0.0" +lodash.debounce@^4.0.8: + version "4.0.8" + resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" + lodash.defaults@~2.4.1: version "2.4.1" resolved "https://registry.yarnpkg.com/lodash.defaults/-/lodash.defaults-2.4.1.tgz#a7e8885f05e68851144b6e12a8f3678026bc4c54" @@ -1408,7 +1408,7 @@ lodash.values@~2.4.1: dependencies: lodash.keys "~2.4.1" -lodash@^4.14.0, lodash@^4.17.4: +lodash@^4.14.0: version "4.17.4" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" @@ -2211,6 +2211,10 @@ trim-newlines@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-1.0.0.tgz#5887966bb582a4503a41eb524f7d35011815a613" +tslib@^1.5.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.5.0.tgz#3bb50f871e5fdf9a4555a9ff237b730860048fea" + tslint@^4.3.1: version "4.3.1" resolved "https://registry.yarnpkg.com/tslint/-/tslint-4.3.1.tgz#28f679c53ca4b273688bcb6fcf0dde7ff1bb2169"