File tree 3 files changed +15
-15
lines changed
3 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 38
38
},
39
39
"devDependencies" : {
40
40
"bootstrap-sass" : " ^3.3.5" ,
41
- "css-loader" : " ^0.24.0 " ,
42
- "eslint" : " ^3.12.2 " ,
41
+ "css-loader" : " ^0.26.1 " ,
42
+ "eslint" : " ^3.15.0 " ,
43
43
"eslint-config-peerigon" : " ^9.0.0" ,
44
44
"eslint-plugin-jsdoc" : " ^2.4.0" ,
45
- "file-loader" : " ^0.9 .0" ,
45
+ "file-loader" : " ^0.10 .0" ,
46
46
"mocha" : " ^3.0.2" ,
47
- "node-sass" : " ^4.0 .0" ,
47
+ "node-sass" : " ^4.5 .0" ,
48
48
"raw-loader" : " ^0.5.1" ,
49
- "should" : " ^11.1 .0" ,
49
+ "should" : " ^11.2 .0" ,
50
50
"style-loader" : " ^0.13.1" ,
51
- "webpack" : " ^2.2.0-rc.2 " ,
52
- "webpack-dev-server" : " ^2.2.0-rc .0" ,
53
- "webpack-merge" : " ^2.0.0 "
51
+ "webpack" : " ^2.2.1 " ,
52
+ "webpack-dev-server" : " ^2.3 .0" ,
53
+ "webpack-merge" : " ^2.6.1 "
54
54
}
55
55
}
Original file line number Diff line number Diff line change @@ -101,9 +101,8 @@ describe("sass-loader", () => {
101
101
runWebpack ( {
102
102
entry : pathToSassLoader + "!" + pathToErrorFile
103
103
} , ( err ) => {
104
- err . message . should . match ( / \. s y n t a x - e r r o r ' ' / ) ;
105
- err . message . should . match ( / I n v a l i d C S S a f t e r / ) ;
106
- err . message . should . match ( / \( l i n e 1 , c o l u m n 1 4 \) / ) ;
104
+ err . message . should . match ( / P r o p e r t y " s o m e - v a l u e " m u s t b e f o l l o w e d b y a ' : ' / ) ;
105
+ err . message . should . match ( / \( l i n e 2 , c o l u m n 5 \) / ) ;
107
106
err . message . indexOf ( pathToErrorFile ) . should . not . equal ( - 1 ) ;
108
107
done ( ) ;
109
108
} ) ;
@@ -113,9 +112,8 @@ describe("sass-loader", () => {
113
112
entry : pathToSassLoader + "!" + pathToErrorImport
114
113
} , ( err ) => {
115
114
// check for file excerpt
116
- err . message . should . match ( / \. s y n t a x - e r r o r ' ' / ) ;
117
- err . message . should . match ( / I n v a l i d C S S a f t e r " \. s y n t a x - e r r o r ' ' " : e x p e c t e d " \{ " , w a s " " / ) ;
118
- err . message . should . match ( / \( l i n e 1 , c o l u m n 1 4 \) / ) ;
115
+ err . message . should . match ( / P r o p e r t y " s o m e - v a l u e " m u s t b e f o l l o w e d b y a ' : ' / ) ;
116
+ err . message . should . match ( / \( l i n e 2 , c o l u m n 5 \) / ) ;
119
117
err . message . indexOf ( pathToErrorFile ) . should . not . equal ( - 1 ) ;
120
118
done ( ) ;
121
119
} ) ;
Original file line number Diff line number Diff line change 1
- .syntax-error''
1
+ .syntax-error {
2
+ some-value
3
+ }
You can’t perform that action at this time.
0 commit comments