Skip to content
This repository has been archived by the owner on Dec 1, 2019. It is now read-only.

Commit

Permalink
cleanup dependencies (#536)
Browse files Browse the repository at this point in the history
* depends on the latest source-map-support
* no need to depend on object-assign
* add "typescript" to peerDependencies
  • Loading branch information
gfx authored and s-panferov committed Feb 24, 2018
1 parent bec43a0 commit d4e7398
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@
"lodash": "^4.17.4",
"micromatch": "^3.0.3",
"mkdirp": "^0.5.1",
"object-assign": "^4.1.1",
"source-map-support": "^0.4.15"
"source-map-support": "^0.5.3"
},
"peerDependencies": {
"typescript": "^2"
},
"devDependencies": {
"@types/chai": "^4.0.1",
Expand Down
2 changes: 1 addition & 1 deletion src/instance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ function setupWatchRun(compiler, instanceName: string) {
instance.watchedFiles = set;

const instanceTimes = instance.times;
instance.times = Object.assign({}, times) as any;
instance.times = { ...times } as any;

const changedFiles = Object.keys(times)
.filter(fileName => {
Expand Down
14 changes: 9 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2170,7 +2170,7 @@ oauth-sign@~0.8.1:
version "0.8.2"
resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43"

object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1:
object-assign@^4.0.1, object-assign@^4.1.0:
version "4.1.1"
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"

Expand Down Expand Up @@ -2755,11 +2755,11 @@ source-map-resolve@^0.5.0:
source-map-url "^0.4.0"
urix "^0.1.0"

source-map-support@^0.4.15:
version "0.4.18"
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.18.tgz#0286a6de8be42641338594e97ccea75f0a2c585f"
source-map-support@^0.5.3:
version "0.5.3"
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.3.tgz#2b3d5fff298cfa4d1afd7d4352d569e9a0158e76"
dependencies:
source-map "^0.5.6"
source-map "^0.6.0"

source-map-url@^0.4.0:
version "0.4.0"
Expand All @@ -2779,6 +2779,10 @@ source-map@^0.5.6:
version "0.5.7"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"

source-map@^0.6.0:
version "0.6.1"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"

spdx-correct@~1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-1.0.2.tgz#4b3073d933ff51f3912f03ac5519498a4150db40"
Expand Down

0 comments on commit d4e7398

Please sign in to comment.