File tree Expand file tree Collapse file tree 4 files changed +3
-3
lines changed Expand file tree Collapse file tree 4 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 4
4
],
5
5
"plugins" : [
6
6
" add-module-exports" ,
7
+ " transform-runtime" ,
7
8
" transform-class-properties" ,
8
9
" transform-function-bind" ,
9
10
" transform-object-rest-spread" ,
Original file line number Diff line number Diff line change 36
36
"url" : " https://github.com/zeroturnaround/sql-formatter.git"
37
37
},
38
38
"dependencies" : {
39
- "babel-polyfill" : " ^6.9.1" ,
40
39
"lodash" : " ^4.14.0"
41
40
},
42
41
"devDependencies" : {
51
50
"babel-plugin-transform-es3-property-literals" : " ^6.5.0" ,
52
51
"babel-plugin-transform-function-bind" : " ^6.8.0" ,
53
52
"babel-plugin-transform-object-rest-spread" : " ^6.8.0" ,
53
+ "babel-plugin-transform-runtime" : " ^6.8.0" ,
54
54
"babel-preset-es2015" : " ^6.14.0" ,
55
55
"check-es3-syntax-cli" : " ^0.1.1" ,
56
56
"cross-env" : " ^1.0.7" ,
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export default class Indentation {
25
25
* @return {String }
26
26
*/
27
27
getIndent ( ) {
28
- return this . indent . repeat ( this . indentTypes . length ) ;
28
+ return _ . repeat ( this . indent , this . indentTypes . length ) ;
29
29
}
30
30
31
31
/**
Original file line number Diff line number Diff line change 1
- import "babel-polyfill" ;
2
1
import N1qlFormatter from "./languages/N1qlFormatter" ;
3
2
import StandardSqlFormatter from "./languages/StandardSqlFormatter" ;
4
3
You can’t perform that action at this time.
0 commit comments