diff --git a/modules/ve-math/tools/makeSvgsAndCss.js b/modules/ve-math/tools/makeSvgsAndCss.js index b92c629..a75e32d 100755 --- a/modules/ve-math/tools/makeSvgsAndCss.js +++ b/modules/ve-math/tools/makeSvgsAndCss.js @@ -30,7 +30,7 @@ function encodeURIComponentForCSS( str ) { return encodeURIComponent( str ) - .replace( /[!'\(\)\*]/g, function ( chr ) { + .replace( /[!'*()]/g, function ( chr ) { return '%' + chr.charCodeAt( 0 ).toString( 16 ); } ); } diff --git a/package.json b/package.json index 5ffc29a..7abec17 100644 --- a/package.json +++ b/package.json @@ -6,11 +6,12 @@ "devDependencies": { "eslint-config-wikimedia": "0.4.0", "grunt": "1.0.1", - "grunt-banana-checker": "0.5.0", + "grunt-banana-checker": "0.6.0", "grunt-contrib-watch": "1.0.0", - "grunt-eslint": "19.0.0", - "grunt-jsonlint": "1.0.7", - "grunt-stylelint": "0.7.0", + "grunt-eslint": "20.0.0", + "grunt-jsonlint": "1.1.0", + "grunt-stylelint": "0.8.0", + "stylelint": "7.8.0", "stylelint-config-wikimedia": "0.4.1" } }