loader-utils
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="1.2.2"></a> | ||
## [1.2.2](https://github.com/webpack/loader-utils/compare/v1.2.1...v1.2.2) (2018-12-27) | ||
### Bug Fixes | ||
* fixed a hash type extracting in interpolateName ([#137](https://github.com/webpack/loader-utils/issues/137)) ([f8a71f4](https://github.com/webpack/loader-utils/commit/f8a71f4)) | ||
<a name="1.2.1"></a> | ||
@@ -7,0 +17,0 @@ ## [1.2.1](https://github.com/webpack/loader-utils/compare/v1.2.0...v1.2.1) (2018-12-25) |
@@ -94,3 +94,3 @@ 'use strict'; | ||
.replace( | ||
/\[(?:([^:]+):)?(?:hash||contenthash)(?::([a-z]+\d*))?(?::(\d+))?\]/gi, | ||
/\[(?:([^:\]]+):)?(?:hash||contenthash)(?::([a-z]+\d*))?(?::(\d+))?\]/gi, | ||
(all, hashType, digestType, maxLength) => | ||
@@ -97,0 +97,0 @@ getHashDigest(content, hashType, digestType, parseInt(maxLength, 10)) |
{ | ||
"name": "loader-utils", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"author": "Tobias Koppers @sokra", | ||
@@ -5,0 +5,0 @@ "description": "utils for webpack loaders", |
26548