Skip to content

Commit 9d502dc

Browse files
author
Kent C. Dodds
authored
fix(deps): remove bluebird (#102)
**What**: this removes the `bluebird` dependency **Why**: we're dropping support for <= Node v4, so we can use native Promises **How**: remove all references to `bluebird` BREAKING CHANGE: This package now depends on native promises.
1 parent 296bfac commit 9d502dc

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"license": "MIT",
2323
"dependencies": {
2424
"arrify": "^1.0.1",
25-
"bluebird": "^3.4.7",
2625
"chalk": "^1.1.3",
2726
"commander": "^2.9.0",
2827
"find-up": "^2.1.0",
@@ -48,6 +47,7 @@
4847
"cli-tester": "^2.0.0",
4948
"codecov": "^1.0.1",
5049
"commitizen": "^2.9.5",
50+
"concurrently": "^3.1.0",
5151
"condition-node-version": "^1.3.0",
5252
"cross-env": "^3.1.4",
5353
"cz-conventional-changelog": "^1.2.0",
@@ -56,7 +56,6 @@
5656
"husky": "^0.13.1",
5757
"jest-cli": "^18.1.0",
5858
"opt-cli": "^1.5.1",
59-
"concurrently": "^3.1.0",
6059
"p-s": "*",
6160
"rimraf": "^2.5.4",
6261
"semantic-release": "^6.3.6",

src/index.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import spawn from 'spawn-command-with-kill'
2-
import Promise from 'bluebird'
32
import chalk from 'chalk'
43
import {isString, clone} from 'lodash'
54
import {sync as findUpSync} from 'find-up'

src/index.test.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/* eslint import/newline-after-import:0, global-require:0 */
22
import {resolve} from 'path'
3-
import Promise from 'bluebird'
43
import {spy} from 'sinon'
54
import chalk from 'chalk'
65
import managePath from 'manage-path'

yarn.lock

+5-1
Original file line numberDiff line numberDiff line change
@@ -936,7 +936,7 @@ [email protected]:
936936
version "2.9.6"
937937
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-2.9.6.tgz#1fc3a6b1685267dc121b5ec89b32ce069d81ab7d"
938938

939-
[email protected], bluebird@^3.4.1, bluebird@^3.4.6, bluebird@^3.4.7:
939+
[email protected], bluebird@^3.4.1, bluebird@^3.4.6:
940940
version "3.4.7"
941941
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.4.7.tgz#f72d760be09b7f76d08ed8fae98b289a8d05fab3"
942942

@@ -4725,6 +4725,10 @@ strip-json-comments@~1.0.4:
47254725
version "1.0.4"
47264726
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-1.0.4.tgz#1e15fbcac97d3ee99bf2d73b4c656b082bbafb91"
47274727

4728+
supports-color@^0.2.0:
4729+
version "0.2.0"
4730+
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-0.2.0.tgz#d92de2694eb3f67323973d7ae3d8b55b4c22190a"
4731+
47284732
supports-color@^2.0.0:
47294733
version "2.0.0"
47304734
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7"

0 commit comments

Comments
 (0)