File tree 3 files changed +17
-9
lines changed
3 files changed +17
-9
lines changed Original file line number Diff line number Diff line change 1
- # Head
1
+ # 1.1.0 - 2016-10-18
2
2
3
3
- Added: support ` js ` configuration.
4
+ - Chore: improve performance.
4
5
- Chore: update a minimal version of ` ajv-cli ` from ` 0.9.0 ` to ` 1.1.0 ` .
5
6
- Chore: update a minimal version of ` remark-preset-lint-itgalaxy ` from ` 1.0.0 ` to ` 2.0.0 ` .
7
+ - Chore: update a minimal version of ` eslint-plugin-import ` from ` 1.16.0 ` to ` 2.0.0 ` .
8
+ - Chore: update a minimal version of ` eslint-plugin-lodash ` from ` 1.10.0 ` to ` 2.1.0 ` .
9
+ - Chore: update a minimal version of ` eslint-plugin-promise ` from ` 2.0.0 ` to ` 3.0.0 ` .
10
+ - Chore: update a minimal version of ` eslint-plugin-itgalaxy ` from ` 13.0.0 ` to ` 23.0.0 ` .
6
11
7
12
# 1.0.0
8
13
Original file line number Diff line number Diff line change 1
1
/* eslint-disable strict, import/no-commonjs */
2
+
2
3
'use strict' ;
3
4
4
5
const figlet = require ( 'figlet' ) ;
@@ -68,9 +69,7 @@ module.exports = function (resolveConfig) {
68
69
69
70
const callback = this . async ( ) ;
70
71
71
- let externalConfig = resolveConfig && isJSON ( resolveConfig )
72
- ? JSON . parse ( resolveConfig )
73
- : this . exec ( resolveConfig , this . resource ) ;
72
+ let externalConfig = null ;
74
73
75
74
if ( this . query . length > 0 ) {
76
75
let parsedQuery = { } ;
@@ -82,6 +81,10 @@ module.exports = function (resolveConfig) {
82
81
if ( parsedQuery . config ) {
83
82
externalConfig = JSON . parse ( parsedQuery . config ) ;
84
83
}
84
+ } else {
85
+ externalConfig = resolveConfig && isJSON ( resolveConfig )
86
+ ? JSON . parse ( resolveConfig )
87
+ : this . exec ( resolveConfig , this . resource ) ;
85
88
}
86
89
87
90
const config = Object . assign (
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " figlet-loader" ,
3
- "version" : " 1.0 .0" ,
3
+ "version" : " 1.1 .0" ,
4
4
"description" : " Get your figlet build bundled with webpack, use figlet with webpack easily" ,
5
5
"repository" : {
6
6
"type" : " git" ,
32
32
"babel-register" : " ^6.14.0" ,
33
33
"eslint" : " ^3.4.0" ,
34
34
"eslint-plugin-ava" : " ^3.0.0" ,
35
- "eslint-plugin-import" : " ^1.14 .0" ,
36
- "eslint-plugin-itgalaxy" : " ^13 .0.0" ,
35
+ "eslint-plugin-import" : " ^2.0 .0" ,
36
+ "eslint-plugin-itgalaxy" : " ^23 .0.0" ,
37
37
"eslint-plugin-jsx-a11y" : " ^2.2.0" ,
38
- "eslint-plugin-lodash" : " ^1.10 .0" ,
38
+ "eslint-plugin-lodash" : " ^2.1 .0" ,
39
39
"eslint-plugin-node" : " ^2.0.0" ,
40
- "eslint-plugin-promise" : " ^2 .0.0" ,
40
+ "eslint-plugin-promise" : " ^3 .0.0" ,
41
41
"eslint-plugin-react" : " ^6.2.0" ,
42
42
"eslint-plugin-xo" : " ^0.5.0" ,
43
43
"npmpub" : " ^3.1.0" ,
You can’t perform that action at this time.
0 commit comments