diff --git a/config/tsconfig.json b/config/tsconfig.json index 7a29316..4a28d40 100755 --- a/config/tsconfig.json +++ b/config/tsconfig.json @@ -2,7 +2,7 @@ "compileOnSave": false, "compilerOptions": { "allowJs": true, - "allowSyntheticDefaultImports": false, + "allowSyntheticDefaultImports": true, "baseUrl": "../", "emitDecoratorMetadata": true, "experimentalDecorators": true, diff --git a/package.json b/package.json index b3ba2bf..864b290 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,7 @@ "@types/lodash": "4.14.138", "@types/mocha": "5.2.7", "@types/sinon": "7.0.13", + "@types/source-map-support": "^0.5.0", "@types/yargs": "13.0.2", "ajv": "6.10.2", "bunyan": "1.8.12", @@ -57,6 +58,7 @@ "rollup-plugin-replace": "2.2.0", "rollup-plugin-typescript2": "0.24.0", "sinon": "7.4.1", + "source-map-support": "^0.5.13", "standard-version": "7.0.0", "tslint": "5.19.0", "typescript": "3.6.2", diff --git a/yarn.lock b/yarn.lock index 48d3048..bbae2a6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -122,6 +122,13 @@ resolved "https://registry.yarnpkg.com/@types/sinon/-/sinon-7.0.13.tgz#ca039c23a9e27ebea53e0901ef928ea2a1a6d313" integrity sha512-d7c/C/+H/knZ3L8/cxhicHUiTDxdgap0b/aNJfsmLwFu/iOP17mdgbQsbHA3SJmrzsjD0l3UEE5SN4xxuz5ung== +"@types/source-map-support@^0.5.0": + version "0.5.0" + resolved "https://registry.yarnpkg.com/@types/source-map-support/-/source-map-support-0.5.0.tgz#40f47e68bc0bdf54d19dddad4550f521cdb9968c" + integrity sha512-OrnAz5K5dXDgMdeRRoXIjDAvkodQ9ESvVJCyzrhzUJKmCkXgmYx/KLUBcVFe5eS4FiohfcY7YPxsdkmSwJz9wA== + dependencies: + "@types/node" "*" + "@types/yargs-parser@*": version "13.0.0" resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-13.0.0.tgz#453743c5bbf9f1bed61d959baab5b06be029b2d0" @@ -2134,7 +2141,15 @@ sinon@7.4.1: nise "^1.5.1" supports-color "^5.5.0" -source-map@^0.6.1, source-map@~0.6.1: +source-map-support@^0.5.13: + version "0.5.13" + resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.13.tgz#31b24a9c2e73c2de85066c0feb7d44767ed52932" + integrity sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w== + dependencies: + buffer-from "^1.0.0" + source-map "^0.6.0" + +source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==