svelte-preprocess-cssmodules
Advanced tools
Comparing version 2.2.1 to 2.2.2
@@ -42,3 +42,3 @@ "use strict"; | ||
const getHashDigest = (buffer, hashType, digestType, maxLength = 9999) => { | ||
const hash = crypto_1.createHash(hashType || 'md4'); | ||
const hash = crypto_1.createHash(hashType || 'md5'); | ||
hash.update(buffer); | ||
@@ -45,0 +45,0 @@ if (digestType === 'base26' || |
{ | ||
"name": "svelte-preprocess-cssmodules", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"description": "Svelte preprocessor to generate CSS Modules classname on Svelte components", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -1009,5 +1009,5 @@ # Svelte preprocess CSS Modules | ||
- `[folder]` the folder the resource is in | ||
- `[contenthash]` or `[hash]` *(they are the same)* the hash of the resource content (by default it's the hex digest of the md4 hash) | ||
- `[contenthash]` or `[hash]` *(they are the same)* the hash of the resource content (by default it's the hex digest of the md5 hash) | ||
- `[<hashType>:contenthash:<digestType>:<length>]` optionally one can configure | ||
- other hashTypes, i. e. `sha1`, `md4`, `md5`, `sha256`, `sha512` | ||
- other hashTypes, i. e. `sha1`, `md5`, `sha256`, `sha512` | ||
- other digestTypes, i. e. `hex`, `base26`, `base32`, `base36`, `base49`, `base52`, `base58`, `base62`, `base64` | ||
@@ -1014,0 +1014,0 @@ - and `length` the length in chars |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
102808