File tree 6 files changed +1
-15
lines changed
6 files changed +1
-15
lines changed Original file line number Diff line number Diff line change 15
15
"@hapi/joi" : " ^15.1.1" ,
16
16
"@types/common-tags" : " ^1.8.0" ,
17
17
"better-opn" : " ^1.0.0" ,
18
- "bluebird" : " ^3.7.2" ,
19
18
"chalk" : " ^2.4.2" ,
20
19
"clipboardy" : " ^2.3.0" ,
21
20
"common-tags" : " ^1.8.0" ,
22
21
"configstore" : " ^5.0.1" ,
23
22
"convert-hrtime" : " ^3.0.0" ,
24
- "core-js" : " ^2.6.11" ,
25
23
"envinfo" : " ^7.5.1" ,
26
24
"execa" : " ^3.4.0" ,
27
25
"fs-exists-cached" : " ^1.0.0" ,
36
34
"lodash" : " ^4.17.15" ,
37
35
"meant" : " ^1.0.1" ,
38
36
"node-fetch" : " ^2.6.0" ,
39
- "object.entries" : " ^1.1.2" ,
40
37
"opentracing" : " ^0.14.4" ,
41
38
"pretty-error" : " ^2.1.1" ,
42
39
"progress" : " ^2.0.3" ,
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env node
2
2
3
- import "@babel/polyfill"
4
3
import os from "os"
5
4
import semver from "semver"
6
5
import util from "util"
Original file line number Diff line number Diff line change 46
46
"ink-select-input" : " ^3.1.2" ,
47
47
"ink-spinner" : " ^3.1.0" ,
48
48
"is-binary-path" : " ^2.1.0" ,
49
- "is-blank" : " ^2.1.0" ,
50
- "is-string" : " ^1.0.5" ,
51
49
"is-url" : " ^1.2.4" ,
52
50
"jest-diff" : " ^25.5.0" ,
53
51
"lodash" : " ^4.17.15" ,
Original file line number Diff line number Diff line change 1
1
const fs = require ( `fs-extra` )
2
2
const path = require ( `path` )
3
3
const Joi = require ( `@hapi/joi` )
4
- const isBlank = require ( `is-blank` )
5
4
const singleTrailingNewline = require ( `single-trailing-newline` )
6
5
7
6
const getDiff = require ( `../utils/get-diff` )
@@ -20,7 +19,7 @@ const gitignoresAsArray = async root => {
20
19
const ignores = ignoresStr . split ( `\n` )
21
20
const last = ignores . pop ( )
22
21
23
- if ( isBlank ( last ) ) {
22
+ if ( last . trim ( ) === `` ) {
24
23
return ignores
25
24
} else {
26
25
return [ ...ignores , last ]
Original file line number Diff line number Diff line change 9
9
"dependencies" : {
10
10
"@babel/code-frame" : " ^7.10.3" ,
11
11
"@babel/runtime" : " ^7.10.3" ,
12
- "bluebird" : " ^3.7.2" ,
13
12
"boxen" : " ^4.2.0" ,
14
13
"configstore" : " ^5.0.1" ,
15
14
"envinfo" : " ^7.5.1" ,
19
18
"is-docker" : " 2.0.0" ,
20
19
"lodash" : " ^4.17.15" ,
21
20
"node-fetch" : " 2.6.0" ,
22
- "resolve-cwd" : " ^2.0.0" ,
23
- "source-map" : " ^0.7.3" ,
24
- "stack-trace" : " ^0.0.10" ,
25
- "stack-utils" : " 1.0.2" ,
26
21
"uuid" : " 3.4.0"
27
22
},
28
23
"devDependencies" : {
Original file line number Diff line number Diff line change 69
69
"express-graphql" : " ^0.9.0" ,
70
70
"fast-levenshtein" : " ^2.0.6" ,
71
71
"file-loader" : " ^1.1.11" ,
72
- "flat" : " ^4.1.0" ,
73
72
"fs-exists-cached" : " 1.0.0" ,
74
73
"fs-extra" : " ^8.1.0" ,
75
74
"gatsby-cli" : " ^2.12.57" ,
96
95
"json-stringify-safe" : " ^5.0.1" ,
97
96
"latest-version" : " 5.1.0" ,
98
97
"lodash" : " ^4.17.15" ,
99
- "md5" : " ^2.2.1" ,
100
98
"md5-file" : " ^3.2.3" ,
101
99
"meant" : " ^1.0.1" ,
102
100
"micromatch" : " ^3.1.10" ,
You can’t perform that action at this time.
0 commit comments